Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 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-ssh17980124732986443385.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-ssh4737853318267498271.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-ssh10282182372866014966.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-ssh10828019384480723608.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-ssh8104528457644582270.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1216 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#415)" > 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 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 > git rev-list --no-walk e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:13:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:13:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:13:21 ========================================================= 21:13:21 EdgeX Global Pipelines Version Info 21:13:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:13:22 ------------------- 21:13:22 stable info: 21:13:22 ------------------- 21:13:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:13:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:13:22 Message: update stable to v1.0.239 21:13:23 ------------------- 21:13:23 experimental info: 21:13:23 ------------------- 21:13:23 Commited By: **** collab-it+edgex@linuxfoundation.org 21:13:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:13:23 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57f44df [Pipeline] echo 21:13:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:23 provisioning config files... 21:13:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15392532606846570432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:23 ---> docker-login.sh 21:13:23 nexus3.edgexfoundry.org:10001 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 nexus3.edgexfoundry.org:10002 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 nexus3.edgexfoundry.org:10003 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 nexus3.edgexfoundry.org:10004 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 docker.io 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 ---> docker-login.sh ends [Pipeline] } 21:13:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:13:25 + git rev-list -1 --merges 57f44dfb208181fe6cb075f759c071dd5c5ec6f2~1..57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] echo 21:13:25 -----------> git rev-list -1 --merges 57f44dfb208181fe6cb075f759c071dd5c5ec6f2~1..57f44dfb208181fe6cb075f759c071dd5c5ec6f2 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [false] [Pipeline] sh 21:13:25 + git log --format=format:%s -1 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] echo 21:13:25 ========================================================= 21:13:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:13:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:25 + git log --format=format:%s -1 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] echo 21:13:25 [semverPrep] GIT_COMMIT: 57f44dfb208181fe6cb075f759c071dd5c5ec6f2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#415) [Pipeline] echo 21:13:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:13:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:13:26 + grep -v github /etc/ssh/ssh_known_hosts 21:13:26 + [ -e /tmp/ssh_known_hosts ] 21:13:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:13:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:13:26 + sudo tee -a /etc/ssh/ssh_known_hosts 21:13:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:26 21:13:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:26 0.1.4: Pulling from edgex-devops/py-git-semver 21:13:26 b85a868b505f: Pulling fs layer 21:13:26 e2be974225ed: Pulling fs layer 21:13:26 339a4e72a1f5: Pulling fs layer 21:13:26 988bab9f4d93: Pulling fs layer 21:13:26 1469e6f7b9e6: Pulling fs layer 21:13:26 eaf3925da568: Pulling fs layer 21:13:26 bab4dde63d76: Pulling fs layer 21:13:26 bde34c3a00c8: Pulling fs layer 21:13:26 b352a97aabf1: Pulling fs layer 21:13:26 4872d77fe225: Pulling fs layer 21:13:26 5851b861e8e6: Pulling fs layer 21:13:26 bab4dde63d76: Waiting 21:13:26 bde34c3a00c8: Waiting 21:13:26 b352a97aabf1: Waiting 21:13:26 4872d77fe225: Waiting 21:13:26 5851b861e8e6: Waiting 21:13:26 988bab9f4d93: Waiting 21:13:26 1469e6f7b9e6: Waiting 21:13:26 eaf3925da568: Waiting 21:13:26 e2be974225ed: Download complete 21:13:26 988bab9f4d93: Verifying Checksum 21:13:26 988bab9f4d93: Download complete 21:13:27 1469e6f7b9e6: Verifying Checksum 21:13:27 1469e6f7b9e6: Download complete 21:13:27 339a4e72a1f5: Verifying Checksum 21:13:27 339a4e72a1f5: Download complete 21:13:27 eaf3925da568: Verifying Checksum 21:13:27 eaf3925da568: Download complete 21:13:27 bde34c3a00c8: Verifying Checksum 21:13:27 bde34c3a00c8: Download complete 21:13:27 b352a97aabf1: Download complete 21:13:27 4872d77fe225: Verifying Checksum 21:13:27 4872d77fe225: Download complete 21:13:27 5851b861e8e6: Verifying Checksum 21:13:27 5851b861e8e6: Download complete 21:13:27 b85a868b505f: Download complete 21:13:27 bab4dde63d76: Verifying Checksum 21:13:27 bab4dde63d76: Download complete 21:13:28 b85a868b505f: Pull complete 21:13:28 e2be974225ed: Pull complete 21:13:29 339a4e72a1f5: Pull complete 21:13:29 988bab9f4d93: Pull complete 21:13:29 1469e6f7b9e6: Pull complete 21:13:29 eaf3925da568: Pull complete 21:13:31 bab4dde63d76: Pull complete 21:13:31 bde34c3a00c8: Pull complete 21:13:31 b352a97aabf1: Pull complete 21:13:31 4872d77fe225: Pull complete 21:13:31 5851b861e8e6: Pull complete 21:13:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:31 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:13:31 $ 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 21:13:34 $ docker top cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 -eo pid,comm 21:13: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). 21:13:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:34 [ssh-agent] Looking for ssh-agent implementation... 21:13:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:34 $ docker exec cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 ssh-agent 21:13:34 SSH_AUTH_SOCK=/tmp/ssh-jTjNfGBGQbhg/agent.31 21:13:34 SSH_AGENT_PID=37 21:13:34 Running ssh-add (command line suppressed) 21:13:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9680776770290994798.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9680776770290994798.key) 21:13:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:35 + git tag --points-at HEAD [Pipeline] } 21:13:35 $ docker exec --env ******** --env ******** cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 ssh-agent -k 21:13:35 unset SSH_AUTH_SOCK; 21:13:35 unset SSH_AGENT_PID; 21:13:35 echo Agent pid 37 killed; 21:13:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:13:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:35 [ssh-agent] Looking for ssh-agent implementation... 21:13:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:35 $ docker exec cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 ssh-agent 21:13:35 SSH_AUTH_SOCK=/tmp/ssh-QYCxFDc7hypl/agent.69 21:13:35 SSH_AGENT_PID=75 21:13:35 Running ssh-add (command line suppressed) 21:13:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16381716278999066105.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16381716278999066105.key) 21:13:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:35 + git semver init 21:13:36 2022-09-26 21:13:36,058 [run_init] DEBUG init version:0.0.0 force:False 21:13:36 2022-09-26 21:13:36,059 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:13:36 2022-09-26 21:13:36,060 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:13:36 2022-09-26 21:13:36,060 [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) 21:13:37 2022-09-26 21:13:36,978 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 21:13:37 2022-09-26 21:13:36,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 21:13:37 2022-09-26 21:13:36,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:13:37 2022-09-26 21:13:36,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:13:37 2.3.0-dev.17 [Pipeline] } 21:13:37 $ docker exec --env ******** --env ******** cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 ssh-agent -k 21:13:37 unset SSH_AUTH_SOCK; 21:13:37 unset SSH_AGENT_PID; 21:13:37 echo Agent pid 75 killed; 21:13:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:37 + git semver [Pipeline] } 21:13:37 $ docker stop --time=1 cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 21:13:39 $ docker rm -f cfb485a083157b9c71358f8042c9e3cf41a4b5da5d22ebeaa1d2ca11dd75d2f7 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:13:39 Stashed 1 file(s) [Pipeline] echo 21:13:39 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 21:13:39 provisioning config files... 21:13:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7339037340044232037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:40 ---> docker-login.sh 21:13:40 nexus3.edgexfoundry.org:10001 21:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:40 Configure a credential helper to remove this warning. See 21:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:40 21:13:40 Login Succeeded 21:13:40 nexus3.edgexfoundry.org:10002 21:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:40 Configure a credential helper to remove this warning. See 21:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:40 21:13:40 Login Succeeded 21:13:40 nexus3.edgexfoundry.org:10003 21:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:40 Configure a credential helper to remove this warning. See 21:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:40 21:13:40 Login Succeeded 21:13:40 nexus3.edgexfoundry.org:10004 21:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:40 Configure a credential helper to remove this warning. See 21:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:40 21:13:40 Login Succeeded 21:13:40 docker.io 21:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:40 Configure a credential helper to remove this warning. See 21:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:40 21:13:40 Login Succeeded 21:13:40 ---> docker-login.sh ends [Pipeline] } 21:13:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:40 ========================================================= 21:13:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:13:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:41 + 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 . 21:13:41 Sending build context to Docker daemon 6.099MB 21:13:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:13:41 Step 2/12 : FROM ${BASE} AS builder 21:13:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:13:41 2408cc74d12b: Pulling fs layer 21:13:41 ea60b727a1ce: Pulling fs layer 21:13:41 30c4a7721957: Pulling fs layer 21:13:41 370296b7ddb6: Pulling fs layer 21:13:41 7c6cee850709: Pulling fs layer 21:13:41 39a5fcdaea64: Pulling fs layer 21:13:41 d94ebbe4e438: Pulling fs layer 21:13:41 bcfd1f05c69d: Pulling fs layer 21:13:41 59ccb84bbe0f: Pulling fs layer 21:13:41 370296b7ddb6: Waiting 21:13:41 7c6cee850709: Waiting 21:13:41 39a5fcdaea64: Waiting 21:13:41 d94ebbe4e438: Waiting 21:13:41 bcfd1f05c69d: Waiting 21:13:41 59ccb84bbe0f: Waiting 21:13:41 30c4a7721957: Verifying Checksum 21:13:41 30c4a7721957: Download complete 21:13:41 ea60b727a1ce: Download complete 21:13:41 7c6cee850709: Verifying Checksum 21:13:41 7c6cee850709: Download complete 21:13:41 39a5fcdaea64: Download complete 21:13:41 2408cc74d12b: Verifying Checksum 21:13:41 2408cc74d12b: Download complete 21:13:41 d94ebbe4e438: Verifying Checksum 21:13:41 d94ebbe4e438: Download complete 21:13:41 2408cc74d12b: Pull complete 21:13:41 ea60b727a1ce: Pull complete 21:13:41 30c4a7721957: Pull complete 21:13:42 59ccb84bbe0f: Verifying Checksum 21:13:42 59ccb84bbe0f: Download complete 21:13:42 bcfd1f05c69d: Download complete 21:13:42 370296b7ddb6: Verifying Checksum 21:13:42 370296b7ddb6: Download complete 21:13:46 370296b7ddb6: Pull complete 21:13:46 7c6cee850709: Pull complete 21:13:46 39a5fcdaea64: Pull complete 21:13:46 d94ebbe4e438: Pull complete 21:13:49 bcfd1f05c69d: Pull complete 21:13:49 59ccb84bbe0f: Pull complete 21:13:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:13:49 ---> a4fb48ad2a94 21:13:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:13:53 ---> Running in ac4afa2eda54 21:13:53 Removing intermediate container ac4afa2eda54 21:13:53 ---> bff6d46e16f4 21:13:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:13:53 ---> Running in f3d0ef1880a7 21:13:53 Removing intermediate container f3d0ef1880a7 21:13:53 ---> 3b590abbfac4 21:13:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:53 ---> Running in 4907b2c1e561 21:13:53 Removing intermediate container 4907b2c1e561 21:13:53 ---> 22aa44b9154d 21:13:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:53 ---> Running in 5c16fac41502 21:13:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:13:54 Still waiting to schedule task 21:13:54 ‘prd-ubuntu18.04-docker-8c-8g-1211’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:13:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1217’ is offline 21:13:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:13:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:13:55 (2/4) Installing libedit (20210910.3.1-r0) 21:13:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:13:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:13:55 Executing busybox-1.35.0-r13.trigger 21:13:55 OK: 216 MiB in 55 packages 21:13:56 Removing intermediate container 5c16fac41502 21:13:56 ---> 6a30c7ca3d84 21:13:56 Step 7/12 : WORKDIR /device-mqtt-go 21:13:56 ---> Running in defd9dc47fda 21:13:56 Removing intermediate container defd9dc47fda 21:13:56 ---> 6b925849f0a0 21:13:56 Step 8/12 : COPY go.mod vendor* ./ 21:13:56 ---> 9f1897d2987d 21:13:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:56 ---> Running in 46dd4f4851f8 21:14:14 Removing intermediate container 46dd4f4851f8 21:14:14 ---> 9c4a83bf4bcd 21:14:14 Step 10/12 : COPY . . 21:14:15 ---> fc2ed855c9c6 21:14:15 Step 11/12 : ARG MAKE='make build' 21:14:15 ---> Running in 997627ab2e88 21:14:15 Removing intermediate container 997627ab2e88 21:14:15 ---> 6e06863c6dd4 21:14:15 Step 12/12 : RUN $MAKE 21:14:15 ---> Running in 6a5a0e8e0d16 21:14:15 noop 21:14:15 Removing intermediate container 6a5a0e8e0d16 21:14:15 ---> b72b04d9be4a 21:14:15 Successfully built b72b04d9be4a 21:14:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:16 + docker inspect -f . ci-base-image-x86_64 21:14:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:16 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:14:16 $ 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 21:14:16 $ docker top a9546ca75f7e4d5e2ddfaab2c6e2c47f9de285bae5905c01917e852b77ce9d51 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:17 + go version 21:14:17 go version go1.18.3 linux/amd64 [Pipeline] } 21:14:17 $ docker stop --time=1 a9546ca75f7e4d5e2ddfaab2c6e2c47f9de285bae5905c01917e852b77ce9d51 21:14:18 $ docker rm -f a9546ca75f7e4d5e2ddfaab2c6e2c47f9de285bae5905c01917e852b77ce9d51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker inspect -f . ci-base-image-x86_64 21:14:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:18 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:14:18 $ 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 21:14:19 $ docker top 18351e7a2ea0819319f11e4691e21dd0e0ece6d816b7beb4edbf7afbafbfc855 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 21:14:19 + make test 21:14:19 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:14:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:14:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:14:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.022s coverage: 21.8% of statements 21:14:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:14:35 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." 21:14:35 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:14:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:39 ./bin/test-attribution-txt.sh 21:14:39 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:14:39 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:14:39 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:14:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:14:39 $ docker stop --time=1 18351e7a2ea0819319f11e4691e21dd0e0ece6d816b7beb4edbf7afbafbfc855 21:14:41 $ docker rm -f 18351e7a2ea0819319f11e4691e21dd0e0ece6d816b7beb4edbf7afbafbfc855 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:14:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:42 + ls -al . 21:14:42 total 184 21:14:42 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 21:14 . 21:14:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:13 .. 21:14:42 -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 21:13 .dockerignore 21:14:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:14 .git 21:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:13 .github 21:14:42 -rw-rw-r-- 1 jenkins jenkins 329 Sep 26 21:13 .gitignore 21:14:42 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:13 .golangci.yml 21:14:42 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:13 .semver 21:14:42 -rw-rw-r-- 1 jenkins jenkins 8917 Sep 26 21:13 Attribution.txt 21:14:42 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 26 21:13 CHANGELOG.md 21:14:42 -rw-rw-r-- 1 jenkins jenkins 1932 Sep 26 21:13 Dockerfile 21:14:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:13 GOVERNANCE.md 21:14:42 -rw-rw-r-- 1 jenkins jenkins 678 Sep 26 21:13 Jenkinsfile 21:14:42 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:13 LICENSE 21:14:42 -rw-rw-r-- 1 jenkins jenkins 1917 Sep 26 21:13 Makefile 21:14:42 -rw-rw-r-- 1 jenkins jenkins 620 Sep 26 21:13 OWNERS.md 21:14:42 -rw-rw-r-- 1 jenkins jenkins 2501 Sep 26 21:13 README.md 21:14:42 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:13 VERSION 21:14:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:13 bin 21:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:13 cmd 21:14:42 -rw-r--r-- 1 jenkins jenkins 17887 Sep 26 21:14 coverage.out 21:14:42 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 26 21:13 go.mod 21:14:42 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 26 21:13 go.sum 21:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:13 internal 21:14:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:13 mock 21:14:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:13 snap 21:14:42 -rw-rw-r-- 1 jenkins jenkins 227 Sep 26 21:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:43 + 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=57f44dfb208181fe6cb075f759c071dd5c5ec6f2 --label arch=amd64 --label version=2.3.0-dev.17 . 21:14:43 Sending build context to Docker daemon 6.118MB 21:14:43 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:14:43 Step 2/24 : FROM ${BASE} AS builder 21:14:43 ---> b72b04d9be4a 21:14:43 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:14:43 ---> Running in a54833dd7e4d 21:14:43 Removing intermediate container a54833dd7e4d 21:14:43 ---> b644212f1025 21:14:43 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 21:14:43 ---> Running in e4a25bf81542 21:14:43 Removing intermediate container e4a25bf81542 21:14:43 ---> e280bc74c367 21:14:43 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:14:43 ---> Running in 100311fc8e0d 21:14:44 Removing intermediate container 100311fc8e0d 21:14:44 ---> 0db0b1c47d54 21:14:44 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:44 ---> Running in aa1ee94df4f5 21:14:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:14:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:14:45 OK: 216 MiB in 55 packages 21:14:46 Removing intermediate container aa1ee94df4f5 21:14:46 ---> 1f12c7d9fede 21:14:46 Step 7/24 : WORKDIR /device-mqtt-go 21:14:46 ---> Running in 82f399b88de1 21:14:46 Removing intermediate container 82f399b88de1 21:14:46 ---> 1e593738ece1 21:14:46 Step 8/24 : COPY go.mod vendor* ./ 21:14:46 ---> 26b4dfc06884 21:14:46 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:46 ---> Running in 70a7358fe25d 21:14:46 Removing intermediate container 70a7358fe25d 21:14:46 ---> beccadf07194 21:14:46 Step 10/24 : COPY . . 21:14:47 ---> 9bd0d1c3e5e7 21:14:47 Step 11/24 : ARG MAKE='make build' 21:14:47 ---> Running in b8b8ea7b51f5 21:14:47 Removing intermediate container b8b8ea7b51f5 21:14:47 ---> 12af3356deff 21:14:47 Step 12/24 : RUN $MAKE 21:14:47 ---> Running in d0a7cb274246 21:14:47 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 21:15:09 Removing intermediate container d0a7cb274246 21:15:09 ---> 1fccc306f88b 21:15:09 Step 13/24 : FROM alpine:3.16 21:15:09 3.16: Pulling from library/alpine 21:15:09 213ec9aee27d: Pulling fs layer 21:15:09 213ec9aee27d: Verifying Checksum 21:15:09 213ec9aee27d: Download complete 21:15:09 213ec9aee27d: Pull complete 21:15:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:15:09 Status: Downloaded newer image for alpine:3.16 21:15:09 ---> 9c6f07244728 21:15:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:15:09 ---> Running in 6cc246f2412c 21:15:09 Removing intermediate container 6cc246f2412c 21:15:09 ---> cbb3be9056f2 21:15:09 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:15:09 ---> Running in 2a3a5a06dbe0 21:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:15:09 (1/6) Installing dumb-init (1.2.5-r1) 21:15:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:15:09 (3/6) Installing libsodium (1.0.18-r0) 21:15:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:15:09 (5/6) Installing libzmq (4.3.4-r0) 21:15:09 (6/6) Installing zeromq (4.3.4-r0) 21:15:09 Executing busybox-1.35.0-r17.trigger 21:15:09 OK: 8 MiB in 20 packages 21:15:09 Removing intermediate container 2a3a5a06dbe0 21:15:09 ---> 3a78a79508b2 21:15:09 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:15:10 ---> b5e32909def1 21:15:10 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:15:10 ---> ef1612a995dc 21:15:10 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:15:10 ---> f07b63200f5a 21:15:10 Step 19/24 : EXPOSE 59982 21:15:10 ---> Running in e84beaf6927f 21:15:10 Removing intermediate container e84beaf6927f 21:15:10 ---> 4f808779a3be 21:15:10 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:15:10 ---> Running in d9d719bc23ef 21:15:10 Removing intermediate container d9d719bc23ef 21:15:10 ---> 6d9ad562168c 21:15:10 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:15:10 ---> Running in 3b8b3809f579 21:15:10 Removing intermediate container 3b8b3809f579 21:15:10 ---> 2a63386af2e7 21:15:10 Step 22/24 : LABEL arch=amd64 21:15:10 ---> Running in 5eb08ee49776 21:15:10 Removing intermediate container 5eb08ee49776 21:15:10 ---> a481b1646946 21:15:10 Step 23/24 : LABEL git_sha=57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:15:10 ---> Running in 94346d6006e9 21:15:10 Removing intermediate container 94346d6006e9 21:15:10 ---> 6b654e8e2597 21:15:10 Step 24/24 : LABEL version=2.3.0-dev.17 21:15:10 ---> Running in 29e70b74edc3 21:15:10 Removing intermediate container 29e70b74edc3 21:15:10 ---> 3b47853bbc35 21:15:10 [Warning] One or more build-args [ARCH] were not consumed 21:15:10 Successfully built 3b47853bbc35 21:15:10 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:10 provisioning config files... 21:15:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11809387333096076747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:11 ---> docker-login.sh 21:15:11 nexus3.edgexfoundry.org:10001 21:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:11 Configure a credential helper to remove this warning. See 21:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:11 21:15:11 Login Succeeded 21:15:11 nexus3.edgexfoundry.org:10002 21:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:11 Configure a credential helper to remove this warning. See 21:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:11 21:15:11 Login Succeeded 21:15:11 nexus3.edgexfoundry.org:10003 21:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:11 Configure a credential helper to remove this warning. See 21:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:11 21:15:11 Login Succeeded 21:15:11 nexus3.edgexfoundry.org:10004 21:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:11 Configure a credential helper to remove this warning. See 21:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:11 21:15:11 Login Succeeded 21:15:11 docker.io 21:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:12 Configure a credential helper to remove this warning. See 21:15:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:12 21:15:12 Login Succeeded 21:15:12 ---> docker-login.sh ends [Pipeline] } 21:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:12 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 21:15:12 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:15:12 latest 21:15:12 2.3.0-dev.17 21:15:12 57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 21:15:12 main 21:15:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:15:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:15:12 a4ca91f7cd83: Preparing 21:15:12 dd9b4ab20468: Preparing 21:15:12 4745a452dc88: Preparing 21:15:12 19766b271fe4: Preparing 21:15:12 994393dc58e7: Preparing 21:15:12 994393dc58e7: Layer already exists 21:15:12 a4ca91f7cd83: Pushed 21:15:12 dd9b4ab20468: Pushed 21:15:12 19766b271fe4: Pushed 21:15:15 4745a452dc88: Pushed 21:15:15 57f44dfb208181fe6cb075f759c071dd5c5ec6f2: digest: sha256:d826c280b9c39b15be21869003845a8c5d9b9feab76d8a22555cdbb5e0670ae8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:15:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:15:16 a4ca91f7cd83: Preparing 21:15:16 dd9b4ab20468: Preparing 21:15:16 4745a452dc88: Preparing 21:15:16 19766b271fe4: Preparing 21:15:16 994393dc58e7: Preparing 21:15:16 dd9b4ab20468: Layer already exists 21:15:16 4745a452dc88: Layer already exists 21:15:16 a4ca91f7cd83: Layer already exists 21:15:16 19766b271fe4: Layer already exists 21:15:16 994393dc58e7: Layer already exists 21:15:16 latest: digest: sha256:d826c280b9c39b15be21869003845a8c5d9b9feab76d8a22555cdbb5e0670ae8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.17 21:15:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:15:16 a4ca91f7cd83: Preparing 21:15:16 dd9b4ab20468: Preparing 21:15:16 4745a452dc88: Preparing 21:15:16 19766b271fe4: Preparing 21:15:16 994393dc58e7: Preparing 21:15:16 19766b271fe4: Layer already exists 21:15:16 994393dc58e7: Layer already exists 21:15:16 4745a452dc88: Layer already exists 21:15:16 a4ca91f7cd83: Layer already exists 21:15:16 dd9b4ab20468: Layer already exists 21:15:16 2.3.0-dev.17: digest: sha256:d826c280b9c39b15be21869003845a8c5d9b9feab76d8a22555cdbb5e0670ae8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 21:15:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:15:17 a4ca91f7cd83: Preparing 21:15:17 dd9b4ab20468: Preparing 21:15:17 4745a452dc88: Preparing 21:15:17 19766b271fe4: Preparing 21:15:17 994393dc58e7: Preparing 21:15:17 4745a452dc88: Layer already exists 21:15:17 dd9b4ab20468: Layer already exists 21:15:17 19766b271fe4: Layer already exists 21:15:17 994393dc58e7: Layer already exists 21:15:17 a4ca91f7cd83: Layer already exists 21:15:17 57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17: digest: sha256:d826c280b9c39b15be21869003845a8c5d9b9feab76d8a22555cdbb5e0670ae8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 21:15:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:15:17 a4ca91f7cd83: Preparing 21:15:17 dd9b4ab20468: Preparing 21:15:17 4745a452dc88: Preparing 21:15:17 19766b271fe4: Preparing 21:15:17 994393dc58e7: Preparing 21:15:17 dd9b4ab20468: Layer already exists 21:15:17 a4ca91f7cd83: Layer already exists 21:15:17 994393dc58e7: Layer already exists 21:15:17 19766b271fe4: Layer already exists 21:15:17 4745a452dc88: Layer already exists 21:15:17 main: digest: sha256:d826c280b9c39b15be21869003845a8c5d9b9feab76d8a22555cdbb5e0670ae8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:18 ===================================================== [Pipeline] echo 21:15:18 taggedImages: 21:15:18 - nexus3.edgexfoundry.org:10004/device-mqtt:57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:15:18 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:15:18 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.17 21:15:18 - nexus3.edgexfoundry.org:10004/device-mqtt:57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 21:15:18 - 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 21:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:18 21:15:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:18 latest: Pulling from edgex-lftools-log-publisher 21:15:18 5eb5b503b376: Pulling fs layer 21:15:18 5c69ac0246d0: Pulling fs layer 21:15:18 ec43610c2a17: Pulling fs layer 21:15:18 3a2ae6a8a46f: Pulling fs layer 21:15:18 33b1e0a273af: Pulling fs layer 21:15:18 5d3b04190fa2: Pulling fs layer 21:15:18 2f39f015ded8: Pulling fs layer 21:15:18 33b1e0a273af: Waiting 21:15:18 2f39f015ded8: Waiting 21:15:18 5d3b04190fa2: Waiting 21:15:18 3a2ae6a8a46f: Waiting 21:15:18 5c69ac0246d0: Verifying Checksum 21:15:18 5c69ac0246d0: Download complete 21:15:18 3a2ae6a8a46f: Verifying Checksum 21:15:18 3a2ae6a8a46f: Download complete 21:15:18 33b1e0a273af: Verifying Checksum 21:15:19 5d3b04190fa2: Verifying Checksum 21:15:19 5d3b04190fa2: Download complete 21:15:19 ec43610c2a17: Verifying Checksum 21:15:19 ec43610c2a17: Download complete 21:15:19 5eb5b503b376: Download complete 21:15:19 2f39f015ded8: Download complete 21:15:20 5eb5b503b376: Pull complete 21:15:20 5c69ac0246d0: Pull complete 21:15:21 ec43610c2a17: Pull complete 21:15:21 3a2ae6a8a46f: Pull complete 21:15:21 33b1e0a273af: Pull complete 21:15:21 5d3b04190fa2: Pull complete 21:15:25 2f39f015ded8: Pull complete 21:15:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:25 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:15:25 $ 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 21:15:28 $ docker top 9d7f0d27a1d3e6ed86ee8b3df103f07b6a9bc852a8f65d486f751e9a8b4e4451 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:28 ---> job-cost.sh 21:15:28 lf-activate-venv: SKIPPING 21:15:28 INFO: No Stack... 21:15:29 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:29 INFO: Archiving Costs [Pipeline] sh 21:15:29 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 21:15:29 + cut -d, -f6 [Pipeline] lock 21:15:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] 21:15:29 Resource [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] did not exist. Created. 21:15:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:30 + echo total: 0.2199999988079071 [Pipeline] stash 21:15:30 Stashed 1 file(s) [Pipeline] } 21:15:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 21:15:30 $ docker stop --time=1 9d7f0d27a1d3e6ed86ee8b3df103f07b6a9bc852a8f65d486f751e9a8b4e4451 21:15:31 $ docker rm -f 9d7f0d27a1d3e6ed86ee8b3df103f07b6a9bc852a8f65d486f751e9a8b4e4451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:16:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1221 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 21:16:04 Running in /w/workspace/device-mqtt-go/64 [Pipeline] { [Pipeline] checkout 21:16:04 Selected Git installation does not exist. Using Default 21:16:04 The recommended git tool is: NONE 21:16:10 using credential edgex-jenkins-ssh 21:16:10 Cloning the remote Git repository 21:16:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:16:10 > git init /w/workspace/device-mqtt-go/64 # timeout=10 21:16:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:16:10 > git --version # timeout=10 21:16:10 > git --version # 'git version 2.25.1' 21:16:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:16:10 Verifying host key using known hosts file 21:16:11 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. 21:16:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:16:13 Avoid second fetch 21:16:13 Checking out Revision 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 (main) 21:16:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:16:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:16:13 > git config core.sparsecheckout # timeout=10 21:16:13 > git checkout -f 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 21:16:13 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#415)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:16:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:14 Dload Upload Total Spent Left Speed 21:16:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 91985 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 21:16:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:16:15 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 21:16:15 21:16:15 { 21:16:15 "registry-mirrors": [ 21:16:15 "https://nexus3.edgexfoundry.org:10001" 21:16:15 ], 21:16:15 "bip": "10.250.0.254/24", 21:16:15 "hosts": [ 21:16:15 "tcp://0.0.0.0:5555", 21:16:15 "unix:///var/run/docker.sock" 21:16:15 ], 21:16:15 "mtu": 1458, 21:16:15 "selinux-enabled": true, 21:16:15 "seccomp-profile": "/etc/docker/seccomp.json" 21:16:15 } [Pipeline] sh 21:16:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:16:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:34 provisioning config files... 21:16:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/64@tmp/config9098691837075381185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:35 ---> docker-login.sh 21:16:35 nexus3.edgexfoundry.org:10001 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:35 Configure a credential helper to remove this warning. See 21:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:35 21:16:35 Login Succeeded 21:16:35 nexus3.edgexfoundry.org:10002 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:36 Configure a credential helper to remove this warning. See 21:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:36 21:16:36 Login Succeeded 21:16:36 nexus3.edgexfoundry.org:10003 21:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:36 Configure a credential helper to remove this warning. See 21:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:36 21:16:36 Login Succeeded 21:16:36 nexus3.edgexfoundry.org:10004 21:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:36 Configure a credential helper to remove this warning. See 21:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:36 21:16:36 Login Succeeded 21:16:36 docker.io 21:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:37 Configure a credential helper to remove this warning. See 21:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:37 21:16:37 Login Succeeded 21:16:37 ---> docker-login.sh ends [Pipeline] } 21:16:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:16:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:37 ========================================================= 21:16:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:16:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:38 + 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 . 21:16:38 Sending build context to Docker daemon 3.15MB 21:16:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:16:38 Step 2/12 : FROM ${BASE} AS builder 21:16:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:16:38 b3c136eddcbf: Pulling fs layer 21:16:38 c0a3192eca97: Pulling fs layer 21:16:38 a050256f5b6f: Pulling fs layer 21:16:38 656be50a0ddc: Pulling fs layer 21:16:38 2bbca73fdf42: Pulling fs layer 21:16:38 46d945488cbd: Pulling fs layer 21:16:38 8a5474983e97: Pulling fs layer 21:16:38 329c88fbcd65: Pulling fs layer 21:16:38 656be50a0ddc: Waiting 21:16:38 2bbca73fdf42: Waiting 21:16:38 46d945488cbd: Waiting 21:16:38 8a5474983e97: Waiting 21:16:38 a050256f5b6f: Download complete 21:16:38 c0a3192eca97: Verifying Checksum 21:16:38 c0a3192eca97: Download complete 21:16:38 2bbca73fdf42: Verifying Checksum 21:16:38 2bbca73fdf42: Download complete 21:16:38 46d945488cbd: Verifying Checksum 21:16:38 46d945488cbd: Download complete 21:16:38 b3c136eddcbf: Verifying Checksum 21:16:38 b3c136eddcbf: Download complete 21:16:39 b3c136eddcbf: Pull complete 21:16:39 329c88fbcd65: Verifying Checksum 21:16:39 329c88fbcd65: Download complete 21:16:40 c0a3192eca97: Pull complete 21:16:40 a050256f5b6f: Pull complete 21:16:41 8a5474983e97: Verifying Checksum 21:16:41 8a5474983e97: Download complete 21:16:42 656be50a0ddc: Verifying Checksum 21:16:42 656be50a0ddc: Download complete 21:16:54 656be50a0ddc: Pull complete 21:16:54 2bbca73fdf42: Pull complete 21:16:54 46d945488cbd: Pull complete 21:17:01 8a5474983e97: Pull complete 21:17:02 329c88fbcd65: Pull complete 21:17:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:17:02 ---> ff4287adb874 21:17:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:17:04 ---> Running in 333f5f0b1401 21:17:04 Removing intermediate container 333f5f0b1401 21:17:04 ---> 5f85bbb8504a 21:17:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:17:04 ---> Running in ef09afec9c8a 21:17:04 Removing intermediate container ef09afec9c8a 21:17:04 ---> 92a9f1343a11 21:17:04 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:17:04 ---> Running in 0d4c0d2d5c06 21:17:07 Removing intermediate container 0d4c0d2d5c06 21:17:07 ---> f560744e5475 21:17:07 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:07 ---> Running in 84031926f2f9 21:17:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:17:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:17:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:17:09 (2/4) Installing libedit (20210910.3.1-r0) 21:17:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:17:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:17:10 Executing busybox-1.35.0-r13.trigger 21:17:10 OK: 226 MiB in 55 packages 21:17:11 Removing intermediate container 84031926f2f9 21:17:11 ---> e1a37c969004 21:17:11 Step 7/12 : WORKDIR /device-mqtt-go 21:17:11 ---> Running in d0d51b489fd9 21:17:11 Removing intermediate container d0d51b489fd9 21:17:11 ---> 49a7b6880b36 21:17:11 Step 8/12 : COPY go.mod vendor* ./ 21:17:12 ---> 65affe1f30e9 21:17:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:12 ---> Running in 50bf893bb42b 21:18:08 Removing intermediate container 50bf893bb42b 21:18:08 ---> 0fa7edd33f6e 21:18:08 Step 10/12 : COPY . . 21:18:08 ---> 5037fdf0935f 21:18:08 Step 11/12 : ARG MAKE='make build' 21:18:08 ---> Running in d69040c309b6 21:18:08 Removing intermediate container d69040c309b6 21:18:08 ---> 2cfeda6c892a 21:18:08 Step 12/12 : RUN $MAKE 21:18:08 ---> Running in cfafe8d8a3dc 21:18:08 noop 21:18:08 Removing intermediate container cfafe8d8a3dc 21:18:08 ---> dfd74f07c4d5 21:18:08 Successfully built dfd74f07c4d5 21:18:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:09 + docker inspect -f . ci-base-image-arm64 21:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:09 prd-ubuntu20.04-docker-arm64-4c-16g-1221 does not seem to be running inside a container 21:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/64 -v /w/workspace/device-mqtt-go/64:/w/workspace/device-mqtt-go/64:rw,z -v /w/workspace/device-mqtt-go/64@tmp:/w/workspace/device-mqtt-go/64@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 21:18:10 $ docker top c09574173903f19946197a0a3489fa380cc0f14fe9ee8b16805ee6d78ef871a6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:11 + go version 21:18:11 go version go1.18.3 linux/arm64 [Pipeline] } 21:18:11 $ docker stop --time=1 c09574173903f19946197a0a3489fa380cc0f14fe9ee8b16805ee6d78ef871a6 21:18:13 $ docker rm -f c09574173903f19946197a0a3489fa380cc0f14fe9ee8b16805ee6d78ef871a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:13 + docker inspect -f . ci-base-image-arm64 21:18:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-1221 does not seem to be running inside a container 21:18:14 $ 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/64 -v /w/workspace/device-mqtt-go/64:/w/workspace/device-mqtt-go/64:rw,z -v /w/workspace/device-mqtt-go/64@tmp:/w/workspace/device-mqtt-go/64@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 21:18:15 $ docker top 6b6c81c52ecc10c19f7232177b6bc976d773def7e0e8b6b5fba5095b7e7fdc27 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:16 + git config --global --add safe.directory /w/workspace/device-mqtt-go/64 [Pipeline] fileExists [Pipeline] sh 21:18:16 + make test 21:18:16 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:18:18 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:19:54 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:19:54 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.8% of statements 21:19:54 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:19:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:19:54 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:20:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:20:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:20:21 ./bin/test-attribution-txt.sh 21:20:21 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:20:21 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:20:21 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:20:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:20:21 $ docker stop --time=1 6b6c81c52ecc10c19f7232177b6bc976d773def7e0e8b6b5fba5095b7e7fdc27 21:20:23 $ docker rm -f 6b6c81c52ecc10c19f7232177b6bc976d773def7e0e8b6b5fba5095b7e7fdc27 [Pipeline] // withDockerContainer [Pipeline] sh 21:20:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:20:24 Warning: overwriting stash ‘coverage-report’ 21:20:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:20:26 + ls -al . 21:20:26 total 180 21:20:26 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 21:18 . 21:20:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:16 .. 21:20:26 -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 21:16 .dockerignore 21:20:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:16 .git 21:20:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:16 .github 21:20:26 -rw-rw-r-- 1 jenkins jenkins 329 Sep 26 21:16 .gitignore 21:20:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:16 .golangci.yml 21:20:26 -rw-rw-r-- 1 jenkins jenkins 8917 Sep 26 21:16 Attribution.txt 21:20:26 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 26 21:16 CHANGELOG.md 21:20:26 -rw-rw-r-- 1 jenkins jenkins 1932 Sep 26 21:16 Dockerfile 21:20:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:16 GOVERNANCE.md 21:20:26 -rw-rw-r-- 1 jenkins jenkins 678 Sep 26 21:16 Jenkinsfile 21:20:26 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:16 LICENSE 21:20:26 -rw-rw-r-- 1 jenkins jenkins 1917 Sep 26 21:16 Makefile 21:20:26 -rw-rw-r-- 1 jenkins jenkins 620 Sep 26 21:16 OWNERS.md 21:20:26 -rw-rw-r-- 1 jenkins jenkins 2501 Sep 26 21:16 README.md 21:20:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:13 VERSION 21:20:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:16 bin 21:20:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:16 cmd 21:20:26 -rw-r--r-- 1 jenkins jenkins 17887 Sep 26 21:19 coverage.out 21:20:26 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 26 21:16 go.mod 21:20:26 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 26 21:16 go.sum 21:20:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:16 internal 21:20:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:16 mock 21:20:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:16 snap 21:20:26 -rw-rw-r-- 1 jenkins jenkins 227 Sep 26 21:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:26 + 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=57f44dfb208181fe6cb075f759c071dd5c5ec6f2 --label arch=arm64 --label version=2.3.0-dev.17 . 21:20:26 Sending build context to Docker daemon 3.169MB 21:20:26 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:20:26 Step 2/24 : FROM ${BASE} AS builder 21:20:26 ---> dfd74f07c4d5 21:20:26 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:20:27 ---> Running in 30354f6f52a2 21:20:27 Removing intermediate container 30354f6f52a2 21:20:27 ---> f5916a7967bc 21:20:27 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 21:20:27 ---> Running in 2f8af0c15c17 21:20:28 Removing intermediate container 2f8af0c15c17 21:20:28 ---> f351cc4d67ac 21:20:28 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:20:28 ---> Running in 60fedc317b8a 21:20:30 Removing intermediate container 60fedc317b8a 21:20:30 ---> 548953bf3bbf 21:20:30 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:31 ---> Running in d228284900e8 21:20:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:20:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:20:34 OK: 226 MiB in 55 packages 21:20:35 Removing intermediate container d228284900e8 21:20:35 ---> ad9aaa3867f7 21:20:35 Step 7/24 : WORKDIR /device-mqtt-go 21:20:35 ---> Running in 592360c4bedd 21:20:35 Removing intermediate container 592360c4bedd 21:20:35 ---> 2cd3b85ba135 21:20:35 Step 8/24 : COPY go.mod vendor* ./ 21:20:36 ---> 8b387417d512 21:20:36 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:36 ---> Running in cec84d5b90e5 21:20:39 Removing intermediate container cec84d5b90e5 21:20:39 ---> 344359abcd1d 21:20:39 Step 10/24 : COPY . . 21:20:39 ---> a01fd8e7a555 21:20:39 Step 11/24 : ARG MAKE='make build' 21:20:39 ---> Running in 611691e479aa 21:20:40 Removing intermediate container 611691e479aa 21:20:40 ---> c749226cf2d6 21:20:40 Step 12/24 : RUN $MAKE 21:20:40 ---> Running in c420b4bccdda 21:20:41 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 21:23:33 Removing intermediate container c420b4bccdda 21:23:33 ---> c059edbdfe0d 21:23:33 Step 13/24 : FROM alpine:3.16 21:23:33 3.16: Pulling from library/alpine 21:23:33 9b18e9b68314: Pulling fs layer 21:23:33 9b18e9b68314: Download complete 21:23:33 9b18e9b68314: Pull complete 21:23:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:23:33 Status: Downloaded newer image for alpine:3.16 21:23:33 ---> a6215f271958 21:23:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:23:33 ---> Running in d080022dc492 21:23:33 Removing intermediate container d080022dc492 21:23:33 ---> 6036a67567aa 21:23:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:23:33 ---> Running in 9e977bcbacc4 21:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:23:33 (1/6) Installing dumb-init (1.2.5-r1) 21:23:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:23:33 (3/6) Installing libsodium (1.0.18-r0) 21:23:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:23:33 (5/6) Installing libzmq (4.3.4-r0) 21:23:33 (6/6) Installing zeromq (4.3.4-r0) 21:23:33 Executing busybox-1.35.0-r17.trigger 21:23:33 OK: 8 MiB in 20 packages 21:23:33 Removing intermediate container 9e977bcbacc4 21:23:33 ---> 00a4e36cdfcb 21:23:33 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:23:33 ---> dea1339a8b06 21:23:33 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:23:33 ---> dc59ae7ee6c2 21:23:33 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:23:34 ---> ca74df48bdad 21:23:34 Step 19/24 : EXPOSE 59982 21:23:34 ---> Running in 7b713e3b80ed 21:23:34 Removing intermediate container 7b713e3b80ed 21:23:34 ---> caacb2d57f44 21:23:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:23:34 ---> Running in 35f9c033e27b 21:23:34 Removing intermediate container 35f9c033e27b 21:23:34 ---> bee07862a1e8 21:23:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:23:34 ---> Running in cada405a2563 21:23:35 Removing intermediate container cada405a2563 21:23:35 ---> e2fe62a720d4 21:23:35 Step 22/24 : LABEL arch=arm64 21:23:35 ---> Running in dfef4ad87979 21:23:35 Removing intermediate container dfef4ad87979 21:23:35 ---> eb2f709d930a 21:23:35 Step 23/24 : LABEL git_sha=57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:23:35 ---> Running in 8473f59bd5e4 21:23:35 Removing intermediate container 8473f59bd5e4 21:23:35 ---> fab168633a11 21:23:35 Step 24/24 : LABEL version=2.3.0-dev.17 21:23:36 ---> Running in 57da6e339d91 21:23:36 Removing intermediate container 57da6e339d91 21:23:36 ---> d832deb5dba6 21:23:36 [Warning] One or more build-args [ARCH] were not consumed 21:23:36 Successfully built d832deb5dba6 21:23:36 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 21:23:36 provisioning config files... 21:23:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/64@tmp/config6766236386378800395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:37 ---> docker-login.sh 21:23:37 nexus3.edgexfoundry.org:10001 21:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:37 Configure a credential helper to remove this warning. See 21:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:37 21:23:37 Login Succeeded 21:23:37 nexus3.edgexfoundry.org:10002 21:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:37 Configure a credential helper to remove this warning. See 21:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:37 21:23:37 Login Succeeded 21:23:37 nexus3.edgexfoundry.org:10003 21:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:38 Configure a credential helper to remove this warning. See 21:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:38 21:23:38 Login Succeeded 21:23:38 nexus3.edgexfoundry.org:10004 21:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:38 Configure a credential helper to remove this warning. See 21:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:38 21:23:38 Login Succeeded 21:23:38 docker.io 21:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:39 Configure a credential helper to remove this warning. See 21:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:39 21:23:39 Login Succeeded 21:23:39 ---> docker-login.sh ends [Pipeline] } 21:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:23:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:39 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:23:39 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:23:39 latest 21:23:39 2.3.0-dev.17 21:23:39 57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 21:23:39 main 21:23:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:23:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:23:39 14bd17804a7d: Preparing 21:23:39 04a512f32d8f: Preparing 21:23:39 99cf8a3d1ad8: Preparing 21:23:39 141691febee3: Preparing 21:23:39 5d3e392a13a0: Preparing 21:23:39 5d3e392a13a0: Layer already exists 21:23:40 14bd17804a7d: Pushed 21:23:40 04a512f32d8f: Pushed 21:23:40 141691febee3: Pushed 21:23:46 99cf8a3d1ad8: Pushed 21:23:46 57f44dfb208181fe6cb075f759c071dd5c5ec6f2: digest: sha256:bebd72174e6164b36d0eb3a1409979422ec72e6189bd08efe2b84622f867b5a7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:23:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:23:46 14bd17804a7d: Preparing 21:23:46 04a512f32d8f: Preparing 21:23:46 99cf8a3d1ad8: Preparing 21:23:46 141691febee3: Preparing 21:23:46 5d3e392a13a0: Preparing 21:23:46 5d3e392a13a0: Layer already exists 21:23:46 14bd17804a7d: Layer already exists 21:23:46 99cf8a3d1ad8: Layer already exists 21:23:46 04a512f32d8f: Layer already exists 21:23:46 141691febee3: Layer already exists 21:23:46 latest: digest: sha256:bebd72174e6164b36d0eb3a1409979422ec72e6189bd08efe2b84622f867b5a7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.17 21:23:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:23:47 14bd17804a7d: Preparing 21:23:47 04a512f32d8f: Preparing 21:23:47 99cf8a3d1ad8: Preparing 21:23:47 141691febee3: Preparing 21:23:47 5d3e392a13a0: Preparing 21:23:47 141691febee3: Layer already exists 21:23:47 14bd17804a7d: Layer already exists 21:23:47 04a512f32d8f: Layer already exists 21:23:47 5d3e392a13a0: Layer already exists 21:23:47 99cf8a3d1ad8: Layer already exists 21:23:48 2.3.0-dev.17: digest: sha256:bebd72174e6164b36d0eb3a1409979422ec72e6189bd08efe2b84622f867b5a7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 21:23:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:23:48 14bd17804a7d: Preparing 21:23:48 04a512f32d8f: Preparing 21:23:48 99cf8a3d1ad8: Preparing 21:23:48 141691febee3: Preparing 21:23:48 5d3e392a13a0: Preparing 21:23:48 141691febee3: Layer already exists 21:23:48 14bd17804a7d: Layer already exists 21:23:48 5d3e392a13a0: Layer already exists 21:23:48 99cf8a3d1ad8: Layer already exists 21:23:48 04a512f32d8f: Layer already exists 21:23:48 57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17: digest: sha256:bebd72174e6164b36d0eb3a1409979422ec72e6189bd08efe2b84622f867b5a7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 21:23:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:23:49 14bd17804a7d: Preparing 21:23:49 04a512f32d8f: Preparing 21:23:49 99cf8a3d1ad8: Preparing 21:23:49 141691febee3: Preparing 21:23:49 5d3e392a13a0: Preparing 21:23:49 99cf8a3d1ad8: Layer already exists 21:23:49 5d3e392a13a0: Layer already exists 21:23:49 04a512f32d8f: Layer already exists 21:23:49 141691febee3: Layer already exists 21:23:49 14bd17804a7d: Layer already exists 21:23:49 main: digest: sha256:bebd72174e6164b36d0eb3a1409979422ec72e6189bd08efe2b84622f867b5a7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:23:49 ===================================================== [Pipeline] echo 21:23:49 taggedImages: 21:23:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57f44dfb208181fe6cb075f759c071dd5c5ec6f2 21:23:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:23:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.17 21:23:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:57f44dfb208181fe6cb075f759c071dd5c5ec6f2-2.3.0-dev.17 21:23:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:50 21:23:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:50 arm64: Pulling from edgex-lftools-log-publisher 21:23:50 8998bd30e6a1: Pulling fs layer 21:23:50 04944245beec: Pulling fs layer 21:23:50 699f458cf7ca: Pulling fs layer 21:23:50 765212b225bb: Pulling fs layer 21:23:50 f23df028b6ca: Pulling fs layer 21:23:50 d65c8cfc05b1: Pulling fs layer 21:23:50 2437ff75d9bd: Pulling fs layer 21:23:50 f23df028b6ca: Waiting 21:23:50 d65c8cfc05b1: Waiting 21:23:50 2437ff75d9bd: Waiting 21:23:50 765212b225bb: Waiting 21:23:50 04944245beec: Verifying Checksum 21:23:50 04944245beec: Download complete 21:23:50 765212b225bb: Verifying Checksum 21:23:50 765212b225bb: Download complete 21:23:50 f23df028b6ca: Verifying Checksum 21:23:50 f23df028b6ca: Download complete 21:23:50 d65c8cfc05b1: Verifying Checksum 21:23:50 d65c8cfc05b1: Download complete 21:23:51 699f458cf7ca: Verifying Checksum 21:23:51 699f458cf7ca: Download complete 21:23:51 8998bd30e6a1: Download complete 21:23:53 2437ff75d9bd: Verifying Checksum 21:23:53 2437ff75d9bd: Download complete 21:23:55 8998bd30e6a1: Pull complete 21:23:56 04944245beec: Pull complete 21:23:57 699f458cf7ca: Pull complete 21:23:57 765212b225bb: Pull complete 21:23:58 f23df028b6ca: Pull complete 21:23:58 d65c8cfc05b1: Pull complete 21:24:13 2437ff75d9bd: Pull complete 21:24:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:24:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:13 prd-ubuntu20.04-docker-arm64-4c-16g-1221 does not seem to be running inside a container 21:24:13 $ 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/64 -v /w/workspace/device-mqtt-go/64:/w/workspace/device-mqtt-go/64:rw,z -v /w/workspace/device-mqtt-go/64@tmp:/w/workspace/device-mqtt-go/64@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 21:24:16 $ docker top efa2174042d0084f203f59f2675b8f395e20748f84536150008c898475b8435c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:17 ---> job-cost.sh 21:24:17 lf-activate-venv: SKIPPING 21:24:17 INFO: No Stack... 21:24:17 INFO: Retrieving Pricing Info for: v3-standard-4 21:24:18 INFO: Archiving Costs [Pipeline] sh 21:24:19 + cat /w/workspace/device-mqtt-go/64/archives/cost.csv 21:24:19 + cut -d, -f6 [Pipeline] lock 21:24:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] 21:24:19 Resource [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] did not exist. Created. 21:24:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:19 /w/workspace/device-mqtt-go/64@tmp/durable-564e98c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:24:20 + echo total: 0.10999999940395355 [Pipeline] stash 21:24:20 Warning: overwriting stash ‘stack-cost’ 21:24:20 Stashed 1 file(s) [Pipeline] } 21:24:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:20 $ docker stop --time=1 efa2174042d0084f203f59f2675b8f395e20748f84536150008c898475b8435c 21:24:22 $ docker rm -f efa2174042d0084f203f59f2675b8f395e20748f84536150008c898475b8435c [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 21:24:22 provisioning config files... 21:24:22 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3318807446230059764tmp [Pipeline] { [Pipeline] sh 21:24:22 + set +x 21:24:22 + curl -s https://codecov.io/bash+ 21:24:22 bash -s -- 21:24:22 21:24:22 _____ _ 21:24:22 / ____| | | 21:24:22 | | ___ __| | ___ ___ _____ __ 21:24:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:24:22 | |___| (_) | (_| | __/ (_| (_) \ V / 21:24:22 \_____\___/ \__,_|\___|\___\___/ \_/ 21:24:22 Bash-1.0.6 21:24:22 21:24:22 21:24:22 ==> git version 2.25.1 found 21:24:22 ==> 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 21:24:22 Release-Date: 2020-01-08 21:24:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:24:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:24:22 ==> Jenkins CI detected. 21:24:22 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 21:24:22 project root: . 21:24:22 --> token set from env 21:24:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:24:22 ==> Running gcov in . (disable via -X gcov) 21:24:22 ==> Python coveragepy not found 21:24:22 ==> Searching for coverage reports in: 21:24:22 + . 21:24:22 -> Found 1 reports 21:24:22 ==> Detecting git/mercurial file structure 21:24:22 ==> Reading reports 21:24:22 + ./coverage.out bytes=17887 21:24:22 ==> Appending adjustments 21:24:22 https://docs.codecov.io/docs/fixing-reports 21:24:23 + Found adjustments 21:24:23 ==> Gzipping contents 21:24:23 4.0K /tmp/codecov.6cubMa.gz 21:24:23 ==> Uploading reports 21:24:23 url: https://codecov.io 21:24:23 query: branch=main&commit=57f44dfb208181fe6cb075f759c071dd5c5ec6f2&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:24:23 -> Pinging Codecov 21:24:23 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=57f44dfb208181fe6cb075f759c071dd5c5ec6f2&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:24:23 -> Uploading to 21:24:23 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/7D719EC7BBE17E464838252E33014C33/57f44dfb208181fe6cb075f759c071dd5c5ec6f2/c8903f70-e0a3-4ab2-a741-1d36fc3ae95c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T212423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ecbf4ac062e0c3189c8ab6d67a05721ab6cc281e24dd6cc217a80d00c3df250 21:24:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:24:23 Dload Upload Total Spent Left Speed 21:24:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 12373 --:--:-- --:--:-- --:--:-- 12420 21:24:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] } 21:24:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:24:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:24:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:24:24 21:24:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:24:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:24:24 df9b9388f04a: Pulling fs layer 21:24:24 52dc419b0ee2: Pulling fs layer 21:24:24 25bc292e5bac: Pulling fs layer 21:24:24 114826534d7a: Pulling fs layer 21:24:24 4657fd5d0bcf: Pulling fs layer 21:24:24 6ad1cebc031e: Pulling fs layer 21:24:24 8a3aa393b2d8: Pulling fs layer 21:24:24 4657fd5d0bcf: Waiting 21:24:24 6ad1cebc031e: Waiting 21:24:24 8a3aa393b2d8: Waiting 21:24:24 114826534d7a: Waiting 21:24:24 25bc292e5bac: Verifying Checksum 21:24:24 25bc292e5bac: Download complete 21:24:24 52dc419b0ee2: Verifying Checksum 21:24:24 52dc419b0ee2: Download complete 21:24:24 4657fd5d0bcf: Download complete 21:24:24 df9b9388f04a: Verifying Checksum 21:24:24 df9b9388f04a: Download complete 21:24:24 df9b9388f04a: Pull complete 21:24:24 6ad1cebc031e: Verifying Checksum 21:24:24 6ad1cebc031e: Download complete 21:24:24 52dc419b0ee2: Pull complete 21:24:24 25bc292e5bac: Pull complete 21:24:25 114826534d7a: Verifying Checksum 21:24:25 114826534d7a: Download complete 21:24:25 8a3aa393b2d8: Verifying Checksum 21:24:28 114826534d7a: Pull complete 21:24:28 4657fd5d0bcf: Pull complete 21:24:28 6ad1cebc031e: Pull complete 21:24:31 8a3aa393b2d8: Pull complete 21:24:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:24:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:31 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:24:31 $ 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 21:24:33 $ docker top 2bdffd0d653ec6ff8e5e252930408a8e205065efffb72612011227a31b187f14 -eo pid,comm [Pipeline] { [Pipeline] echo 21:24:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 21:24:34 + set -o pipefail 21:24:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 21:24:39 21:24:39 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 21:24:39 21:24:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/058c7d39-853b-4259-ab01-41db728f3b4d 21:24:39 21:24:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:24:39 21:24:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:24:39 21:24:39 [Pipeline] } 21:24:39 $ docker stop --time=1 2bdffd0d653ec6ff8e5e252930408a8e205065efffb72612011227a31b187f14 21:24:42 $ docker rm -f 2bdffd0d653ec6ff8e5e252930408a8e205065efffb72612011227a31b187f14 [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 21:24:43 + git log --format=format:%s -1 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 [Pipeline] sh 21:24:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:24:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:24:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:43 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:24:43 $ 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 21:24:44 $ docker top 0cc8ebe7a84df090552d7e35e3ae1f726fd85fed9e408a857801e279b580de08 -eo pid,comm 21:24:44 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). 21:24:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:24:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:44 [ssh-agent] Looking for ssh-agent implementation... 21:24:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:44 $ docker exec 0cc8ebe7a84df090552d7e35e3ae1f726fd85fed9e408a857801e279b580de08 ssh-agent 21:24:44 SSH_AUTH_SOCK=/tmp/ssh-vUkjD9a4rkk0/agent.32 21:24:44 SSH_AGENT_PID=38 21:24:44 Running ssh-add (command line suppressed) 21:24:44 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1012759766609850323.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1012759766609850323.key) 21:24:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:44 + git semver tag 21:24:45 2022-09-26 21:24:45,121 [run_tag] DEBUG tag force:False 21:24:45 2022-09-26 21:24:45,121 [check_head_tag] DEBUG check head tag 21:24:45 2022-09-26 21:24:45,122 [execute] INFO git cat-file --batch-check 21:24:45 2022-09-26 21:24:45,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:24:45 2022-09-26 21:24:45,127 [execute] INFO git cat-file --batch 21:24:45 2022-09-26 21:24:45,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:24:45 2022-09-26 21:24:45,140 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:24:45 2022-09-26 21:24:45,140 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 21:24:45 2022-09-26 21:24:45,140 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:24:45 2022-09-26 21:24:45,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:24:45 2.3.0-dev.17 [Pipeline] } 21:24:45 $ docker exec --env ******** --env ******** 0cc8ebe7a84df090552d7e35e3ae1f726fd85fed9e408a857801e279b580de08 ssh-agent -k 21:24:45 unset SSH_AUTH_SOCK; 21:24:45 unset SSH_AGENT_PID; 21:24:45 echo Agent pid 38 killed; 21:24:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:24:45 + git semver [Pipeline] } 21:24:45 $ docker stop --time=1 0cc8ebe7a84df090552d7e35e3ae1f726fd85fed9e408a857801e279b580de08 21:24:47 $ docker rm -f 0cc8ebe7a84df090552d7e35e3ae1f726fd85fed9e408a857801e279b580de08 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:24:47 21:24:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:24:47 0.23.1-centos7: Pulling from edgex-lftools 21:24:47 ab5ef0e58194: Pulling fs layer 21:24:47 9712f1f96733: Pulling fs layer 21:24:47 63f879dbbcfc: Pulling fs layer 21:24:47 0d9ebad4ef96: Pulling fs layer 21:24:47 e9a5061849ea: Pulling fs layer 21:24:47 d747dcd14b5f: Pulling fs layer 21:24:47 2de7ff778b66: Pulling fs layer 21:24:47 0d9ebad4ef96: Waiting 21:24:47 e9a5061849ea: Waiting 21:24:47 d747dcd14b5f: Waiting 21:24:47 2de7ff778b66: Waiting 21:24:47 9712f1f96733: Download complete 21:24:48 63f879dbbcfc: Verifying Checksum 21:24:48 63f879dbbcfc: Download complete 21:24:48 0d9ebad4ef96: Verifying Checksum 21:24:48 0d9ebad4ef96: Download complete 21:24:48 d747dcd14b5f: Verifying Checksum 21:24:48 d747dcd14b5f: Download complete 21:24:48 e9a5061849ea: Verifying Checksum 21:24:48 e9a5061849ea: Download complete 21:24:48 ab5ef0e58194: Verifying Checksum 21:24:48 ab5ef0e58194: Download complete 21:24:48 2de7ff778b66: Verifying Checksum 21:24:48 2de7ff778b66: Download complete 21:24:51 ab5ef0e58194: Pull complete 21:24:51 9712f1f96733: Pull complete 21:24:52 63f879dbbcfc: Pull complete 21:24:55 0d9ebad4ef96: Pull complete 21:24:56 e9a5061849ea: Pull complete 21:24:56 d747dcd14b5f: Pull complete 21:24:57 2de7ff778b66: Pull complete 21:24:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:24:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:24:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:57 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:24:57 $ 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 21:25:00 $ docker top d8c787a2351068aee0bddebb2467a5754d18fd2a01513e49f85e7d964653f281 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:25:00 provisioning config files... 21:25:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15639028853684649099tmp 21:25:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11617069351742279750tmp 21:25:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17255108372119967337tmp [Pipeline] { [Pipeline] echo 21:25:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:25:01 ---> sigul-configuration.sh 21:25:01 gpg: directory `/root/.gnupg' created 21:25:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:25:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:25:01 gpg: keyring `/root/.gnupg/secring.gpg' created 21:25:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:25:01 gpg: CAST5 encrypted data 21:25:01 gpg: encrypted with 1 passphrase 21:25:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:25:01 + mkdir /home/jenkins 21:25:01 + mkdir /home/jenkins/sigul [Pipeline] sh 21:25:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:25:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:25:01 ---> sigul-install.sh 21:25:01 Sigul already installed; skipping installation. [Pipeline] sh 21:25:02 + git tag --list 21:25:02 0.7.1 21:25:02 v1.0.0 21:25:02 v1.1.0 21:25:02 v1.1.1 21:25:02 v1.2.2 21:25:02 v1.3.0 21:25:02 v1.3.1 21:25:02 v2.0.0 21:25:02 v2.1.0 21:25:02 v2.1.1 21:25:02 v2.1.1-dev.1 21:25:02 v2.1.1-dev.2 21:25:02 v2.2.0 21:25:02 v2.2.1-dev.1 21:25:02 v2.2.1-dev.10 21:25:02 v2.2.1-dev.2 21:25:02 v2.2.1-dev.3 21:25:02 v2.2.1-dev.4 21:25:02 v2.2.1-dev.5 21:25:02 v2.2.1-dev.6 21:25:02 v2.2.1-dev.7 21:25:02 v2.2.1-dev.8 21:25:02 v2.2.1-dev.9 21:25:02 v2.3.0-dev.10 21:25:02 v2.3.0-dev.11 21:25:02 v2.3.0-dev.12 21:25:02 v2.3.0-dev.13 21:25:02 v2.3.0-dev.14 21:25:02 v2.3.0-dev.15 21:25:02 v2.3.0-dev.16 21:25:02 v2.3.0-dev.17 [Pipeline] sh 21:25:02 + lftools sign git-tag v2.3.0-dev.17 21:25:03 Signing Git tag with Sigul... 21:25:03 Signing v2.3.0-dev.17 [Pipeline] echo 21:25:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:25:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:25:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:25:03 $ docker stop --time=1 d8c787a2351068aee0bddebb2467a5754d18fd2a01513e49f85e7d964653f281 21:25:04 $ docker rm -f d8c787a2351068aee0bddebb2467a5754d18fd2a01513e49f85e7d964653f281 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:25:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:05 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:25:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:25:06 $ docker top 889391b7db2240392acf5147ae51d5213eb15a7cb2e97bc14b8a68983e0fb8d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:25:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:06 [ssh-agent] Looking for ssh-agent implementation... 21:25:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:06 $ docker exec 889391b7db2240392acf5147ae51d5213eb15a7cb2e97bc14b8a68983e0fb8d1 ssh-agent 21:25:06 SSH_AUTH_SOCK=/tmp/ssh-Av5IvONvb751/agent.33 21:25:06 SSH_AGENT_PID=39 21:25:06 Running ssh-add (command line suppressed) 21:25:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11793910727933972804.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11793910727933972804.key) 21:25:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:06 + git semver bump pre 21:25:07 2022-09-26 21:25:07,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:25:07 2022-09-26 21:25:07,005 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 21:25:07 2022-09-26 21:25:07,005 [bump_version] DEBUG bumped version:2.3.0-dev.18 21:25:07 2022-09-26 21:25:07,006 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 21:25:07 2022-09-26 21:25:07,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:25:07 2022-09-26 21:25:07,006 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:25:07 2022-09-26 21:25:07,007 [execute] INFO git cat-file --batch-check 21:25:07 2022-09-26 21:25:07,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:25:07 2022-09-26 21:25:07,013 [execute] INFO git cat-file --batch 21:25:07 2022-09-26 21:25:07,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:25:07 2022-09-26 21:25:07,018 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:25:07 2.3.0-dev.18 [Pipeline] } 21:25:07 $ docker exec --env ******** --env ******** 889391b7db2240392acf5147ae51d5213eb15a7cb2e97bc14b8a68983e0fb8d1 ssh-agent -k 21:25:07 unset SSH_AUTH_SOCK; 21:25:07 unset SSH_AGENT_PID; 21:25:07 echo Agent pid 39 killed; 21:25:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:25:07 + git semver [Pipeline] } 21:25:07 $ docker stop --time=1 889391b7db2240392acf5147ae51d5213eb15a7cb2e97bc14b8a68983e0fb8d1 21:25:09 $ docker rm -f 889391b7db2240392acf5147ae51d5213eb15a7cb2e97bc14b8a68983e0fb8d1 [Pipeline] // withDockerContainer [Pipeline] sh 21:25:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:09 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:25:10 $ docker top 4426c31feaf26f8e97f122e11003a276e6c50484fc398e8332ce530704f86885 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:25:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:10 [ssh-agent] Looking for ssh-agent implementation... 21:25:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:10 $ docker exec 4426c31feaf26f8e97f122e11003a276e6c50484fc398e8332ce530704f86885 ssh-agent 21:25:10 SSH_AUTH_SOCK=/tmp/ssh-hpXqIBv4nh4G/agent.32 21:25:10 SSH_AGENT_PID=38 21:25:10 Running ssh-add (command line suppressed) 21:25:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5060771289600273419.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5060771289600273419.key) 21:25:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:10 + git semver push 21:25:11 2022-09-26 21:25:11,017 [run_push] DEBUG push 21:25:11 2022-09-26 21:25:11,018 [execute] INFO git cat-file --batch-check 21:25:11 2022-09-26 21:25:11,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:25:11 2022-09-26 21:25:11,022 [execute] INFO git rev-list 793ab6532f920a3839aa000fb4e8e0827e10d46b -- 21:25:11 2022-09-26 21:25:11,022 [execute] DEBUG Popen(['git', 'rev-list', '793ab6532f920a3839aa000fb4e8e0827e10d46b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:25:11 2022-09-26 21:25:11,029 [execute] INFO git fetch -v origin 21:25:11 2022-09-26 21:25:11,029 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:25:11 2022-09-26 21:25:11,568 [run_push] DEBUG no remote changes detected 21:25:11 2022-09-26 21:25:11,568 [execute] INFO git push origin semver 21:25:11 2022-09-26 21:25:11,569 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:25:12 2022-09-26 21:25:12,339 [run_push] DEBUG push all version tags 21:25:12 2022-09-26 21:25:12,339 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:25:12 2022-09-26 21:25:12,340 [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) 21:25:13 2022-09-26 21:25:13,086 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:25:13 2.3.0-dev.18 [Pipeline] } 21:25:13 $ docker exec --env ******** --env ******** 4426c31feaf26f8e97f122e11003a276e6c50484fc398e8332ce530704f86885 ssh-agent -k 21:25:13 unset SSH_AUTH_SOCK; 21:25:13 unset SSH_AGENT_PID; 21:25:13 echo Agent pid 38 killed; 21:25:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:25:13 + git semver [Pipeline] } 21:25:13 $ docker stop --time=1 4426c31feaf26f8e97f122e11003a276e6c50484fc398e8332ce530704f86885 21:25:15 $ docker rm -f 4426c31feaf26f8e97f122e11003a276e6c50484fc398e8332ce530704f86885 [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 21:25:15 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 21:25:15 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:25:15 total 16 21:25:15 drwxr-xr-x 3 root root 4096 Sep 26 21:15 . 21:25:15 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 21:25 .. 21:25:15 drwxr-xr-x 2 root root 4096 Sep 26 21:15 cost 21:25:15 -rw-r--r-- 1 root root 85 Sep 26 21:15 cost.csv 21:25:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:25:15 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:25:15 total 16 21:25:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:15 . 21:25:15 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 21:25 .. 21:25:15 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 21:15 cost 21:25:15 -rw-r--r-- 1 jenkins jenkins 85 Sep 26 21:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:25:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:25:16 ---> package-listing.sh 21:25:16 ++ facter osfamily 21:25:16 ++ tr '[:upper:]' '[:lower:]' 21:25:17 + OS_FAMILY=debian 21:25:17 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 21:25:17 + START_PACKAGES=/tmp/packages_start.txt 21:25:17 + END_PACKAGES=/tmp/packages_end.txt 21:25:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:25:17 + PACKAGES=/tmp/packages_start.txt 21:25:17 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:25:17 + PACKAGES=/tmp/packages_end.txt 21:25:17 + case "${OS_FAMILY}" in 21:25:17 + dpkg -l 21:25:17 + grep '^ii' 21:25:17 + '[' -f /tmp/packages_start.txt ']' 21:25:17 + '[' -f /tmp/packages_end.txt ']' 21:25:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:25:17 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:25:17 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 21:25:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 21:25:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:25:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:18 prd-ubuntu20.04-docker-8c-8g-1216 does not seem to be running inside a container 21:25:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:25:18 $ docker top 2e2a439f56a1ea94b439742bc7c0f46245f975998b49c2d9829a392dd44b7ec6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:18 + touch /tmp/pre-build-complete [Pipeline] sh 21:25:18 + mkdir -p /var/log/sysstat [Pipeline] sh 21:25:19 + ls /var/log/sa-host 21:25:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:19 provisioning config files... 21:25:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1829271704905481881tmp [Pipeline] { [Pipeline] echo 21:25:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:25:19 ---> create-netrc.sh [Pipeline] } 21:25:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:25:19 ---> python-tools-install.sh [Pipeline] echo 21:25:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:25:20 ---> sudo-logs.sh 21:25:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:25:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:25:20 ---> job-cost.sh 21:25:20 lf-activate-venv: SKIPPING 21:25:20 DEBUG: total: 0.2199999988079071 21:25:20 INFO: Retrieving Stack Cost... 21:25:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:25:21 INFO: Archiving Costs [Pipeline] echo 21:25:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:25:21 ---> logs-deploy.sh 21:25:21 lf-activate-venv: SKIPPING 21:25:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/64 21:25:21 INFO: archiving workspace using pattern(s): 21:25:22 Archives upload complete. 21:25:22 INFO: archiving logs to Nexus