Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 24031f99736a1500bd59a57df778730f3b803153 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-ssh2310176248759045908.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh8722551590514330223.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9838343165809855415.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13731080901267649801.key > 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-ssh9123817958326580198.key > 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.20 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 ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4559’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4564 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 24031f99736a1500bd59a57df778730f3b803153 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 Commit message: "Merge pull request #619 from FelixTing/update-sdk" > git rev-list --no-walk 40a9b3b3de2a21918c6f1028b85f8a29e149216d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:00:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:00:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:00:28 ========================================================= 11:00:28 EdgeX Global Pipelines Version Info 11:00:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:00:28 ------------------- 11:00:28 stable info: 11:00:28 ------------------- 11:00:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:00:28 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:00:28 Message: update stable to v1.0.253 11:00:29 ------------------- 11:00:29 experimental info: 11:00:29 ------------------- 11:00:29 Commited By: **** collab-it+edgex@linuxfoundation.org 11:00:29 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:00:29 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:00:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:00:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo 11:00:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24031f9 [Pipeline] echo 11:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:00:30 provisioning config files... 11:00:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12930494112946042988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:30 ---> docker-login.sh 11:00:30 nexus3.edgexfoundry.org:10001 11:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:30 Configure a credential helper to remove this warning. See 11:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:30 11:00:30 Login Succeeded 11:00:30 nexus3.edgexfoundry.org:10002 11:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:30 Configure a credential helper to remove this warning. See 11:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:30 11:00:30 Login Succeeded 11:00:30 nexus3.edgexfoundry.org:10003 11:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:30 Configure a credential helper to remove this warning. See 11:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:30 11:00:30 Login Succeeded 11:00:30 nexus3.edgexfoundry.org:10004 11:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:30 Configure a credential helper to remove this warning. See 11:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:30 11:00:30 Login Succeeded 11:00:30 docker.io 11:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:31 Configure a credential helper to remove this warning. See 11:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:31 11:00:31 Login Succeeded 11:00:31 ---> docker-login.sh ends [Pipeline] } 11:00:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:00:31 + git rev-list -1 --merges 24031f99736a1500bd59a57df778730f3b803153~1..24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo 11:00:31 -----------> git rev-list -1 --merges 24031f99736a1500bd59a57df778730f3b803153~1..24031f99736a1500bd59a57df778730f3b803153 24031f99736a1500bd59a57df778730f3b803153 11:00:31 24031f99736a1500bd59a57df778730f3b803153 [false] [Pipeline] sh 11:00:31 + git log --format=format:%s -1 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo 11:00:31 ========================================================= 11:00:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:00:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:00:32 + git log --format=format:%s -1 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo 11:00:32 [semverPrep] GIT_COMMIT: 24031f99736a1500bd59a57df778730f3b803153, Commit Message: Merge pull request #619 from FelixTing/update-sdk [Pipeline] echo 11:00:32 [semverPrep] This is not a build commit. [Pipeline] sh 11:00:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:00:32 + grep -v github /etc/ssh/ssh_known_hosts 11:00:32 + [ -e /tmp/ssh_known_hosts ] 11:00:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:00:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:00:32 + sudo tee -a /etc/ssh/ssh_known_hosts 11:00:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:32 11:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:33 0.1.4: Pulling from edgex-devops/py-git-semver 11:00:33 b85a868b505f: Pulling fs layer 11:00:33 e2be974225ed: Pulling fs layer 11:00:33 339a4e72a1f5: Pulling fs layer 11:00:33 988bab9f4d93: Pulling fs layer 11:00:33 1469e6f7b9e6: Pulling fs layer 11:00:33 eaf3925da568: Pulling fs layer 11:00:33 988bab9f4d93: Waiting 11:00:33 1469e6f7b9e6: Waiting 11:00:33 bab4dde63d76: Pulling fs layer 11:00:33 bde34c3a00c8: Pulling fs layer 11:00:33 b352a97aabf1: Pulling fs layer 11:00:33 eaf3925da568: Waiting 11:00:33 bde34c3a00c8: Waiting 11:00:33 bab4dde63d76: Waiting 11:00:33 4872d77fe225: Pulling fs layer 11:00:33 b352a97aabf1: Waiting 11:00:33 5851b861e8e6: Pulling fs layer 11:00:33 4872d77fe225: Waiting 11:00:33 5851b861e8e6: Waiting 11:00:33 e2be974225ed: Download complete 11:00:33 988bab9f4d93: Verifying Checksum 11:00:33 988bab9f4d93: Download complete 11:00:33 1469e6f7b9e6: Verifying Checksum 11:00:33 1469e6f7b9e6: Download complete 11:00:33 eaf3925da568: Verifying Checksum 11:00:33 eaf3925da568: Download complete 11:00:33 339a4e72a1f5: Verifying Checksum 11:00:33 339a4e72a1f5: Download complete 11:00:33 bde34c3a00c8: Verifying Checksum 11:00:33 bde34c3a00c8: Download complete 11:00:33 b352a97aabf1: Download complete 11:00:33 4872d77fe225: Download complete 11:00:33 5851b861e8e6: Verifying Checksum 11:00:33 5851b861e8e6: Download complete 11:00:33 b85a868b505f: Download complete 11:00:33 bab4dde63d76: Verifying Checksum 11:00:33 bab4dde63d76: Download complete 11:00:34 b85a868b505f: Pull complete 11:00:34 e2be974225ed: Pull complete 11:00:35 339a4e72a1f5: Pull complete 11:00:35 988bab9f4d93: Pull complete 11:00:35 1469e6f7b9e6: Pull complete 11:00:35 eaf3925da568: Pull complete 11:00:37 bab4dde63d76: Pull complete 11:00:37 bde34c3a00c8: Pull complete 11:00:37 b352a97aabf1: Pull complete 11:00:37 4872d77fe225: Pull complete 11:00:37 5851b861e8e6: Pull complete 11:00:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:00:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:37 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:00:37 $ 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 11:00:40 $ docker top a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d -eo pid,comm 11:00:40 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). 11:00:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:00:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:40 [ssh-agent] Looking for ssh-agent implementation... 11:00:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:40 $ docker exec a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent 11:00:40 SSH_AUTH_SOCK=/tmp/ssh-L3PEeHHZbW6R/agent.32 11:00:40 SSH_AGENT_PID=38 11:00:40 Running ssh-add (command line suppressed) 11:00:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2129584049528775844.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2129584049528775844.key) 11:00:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:41 + git tag --points-at HEAD [Pipeline] } 11:00:41 $ docker exec --env ******** --env ******** a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent -k 11:00:41 unset SSH_AUTH_SOCK; 11:00:41 unset SSH_AGENT_PID; 11:00:41 echo Agent pid 38 killed; 11:00:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:00:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:41 [ssh-agent] Looking for ssh-agent implementation... 11:00:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:41 $ docker exec a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent 11:00:41 SSH_AUTH_SOCK=/tmp/ssh-5eq9YeIHwnnt/agent.70 11:00:41 SSH_AGENT_PID=76 11:00:41 Running ssh-add (command line suppressed) 11:00:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8423413859750011621.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8423413859750011621.key) 11:00:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:42 + git semver init 11:00:42 2023-08-25 11:00:42,310 [run_init] DEBUG init version:0.0.0 force:False 11:00:42 2023-08-25 11:00:42,311 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:00:42 2023-08-25 11:00:42,311 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:00:42 2023-08-25 11:00:42,312 [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) 11:00:43 2023-08-25 11:00:43,074 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 11:00:43 2023-08-25 11:00:43,075 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 11:00:43 2023-08-25 11:00:43,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:00:43 2023-08-25 11:00:43,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:00:43 3.1.0-dev.5 [Pipeline] } 11:00:43 $ docker exec --env ******** --env ******** a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent -k 11:00:43 unset SSH_AUTH_SOCK; 11:00:43 unset SSH_AGENT_PID; 11:00:43 echo Agent pid 76 killed; 11:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:00:43 + git semver [Pipeline] } 11:00:44 $ docker stop --time=1 a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d 11:00:45 $ docker rm -f --volumes a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d [Pipeline] // withDockerContainer [Pipeline] sh 11:00:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:00:45 Stashed 1 file(s) [Pipeline] echo 11:00:45 [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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 11:00:45 provisioning config files... 11:00:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12458970080665146037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:46 ---> docker-login.sh 11:00:46 nexus3.edgexfoundry.org:10001 11:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:46 Configure a credential helper to remove this warning. See 11:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:46 11:00:46 Login Succeeded 11:00:46 nexus3.edgexfoundry.org:10002 11:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:46 Configure a credential helper to remove this warning. See 11:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:46 11:00:46 Login Succeeded 11:00:46 nexus3.edgexfoundry.org:10003 11:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:46 Configure a credential helper to remove this warning. See 11:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:46 11:00:46 Login Succeeded 11:00:46 nexus3.edgexfoundry.org:10004 11:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:46 Configure a credential helper to remove this warning. See 11:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:46 11:00:46 Login Succeeded 11:00:46 docker.io 11:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:46 Configure a credential helper to remove this warning. See 11:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:46 11:00:46 Login Succeeded 11:00:46 ---> docker-login.sh ends [Pipeline] } 11:00:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:00:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:46 ========================================================= 11:00:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:00:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:00:47 Sending build context to Docker daemon 6.445MB 11:00:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:00:47 Step 2/12 : FROM ${BASE} AS builder 11:00:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:00:47 4db1b89c0bd1: Pulling fs layer 11:00:47 6911f1a30b25: Pulling fs layer 11:00:47 e194b8c5c2a9: Pulling fs layer 11:00:47 6863d3e3a2b1: Pulling fs layer 11:00:47 ec0bb842ea78: Pulling fs layer 11:00:47 40a00589a448: Pulling fs layer 11:00:47 6c08303d61cc: Pulling fs layer 11:00:47 798269fcf238: Pulling fs layer 11:00:47 ec0bb842ea78: Waiting 11:00:47 40a00589a448: Waiting 11:00:47 6c08303d61cc: Waiting 11:00:47 798269fcf238: Waiting 11:00:47 6863d3e3a2b1: Waiting 11:00:47 6911f1a30b25: Verifying Checksum 11:00:47 6911f1a30b25: Download complete 11:00:47 6863d3e3a2b1: Download complete 11:00:47 ec0bb842ea78: Download complete 11:00:47 4db1b89c0bd1: Verifying Checksum 11:00:47 4db1b89c0bd1: Download complete 11:00:47 40a00589a448: Verifying Checksum 11:00:47 40a00589a448: Download complete 11:00:47 4db1b89c0bd1: Pull complete 11:00:47 6911f1a30b25: Pull complete 11:00:48 798269fcf238: Verifying Checksum 11:00:48 798269fcf238: Download complete 11:00:48 e194b8c5c2a9: Verifying Checksum 11:00:48 e194b8c5c2a9: Download complete 11:00:48 6c08303d61cc: Verifying Checksum 11:00:48 6c08303d61cc: Download complete 11:00:51 e194b8c5c2a9: Pull complete 11:00:51 6863d3e3a2b1: Pull complete 11:00:51 ec0bb842ea78: Pull complete 11:00:51 40a00589a448: Pull complete 11:00:53 6c08303d61cc: Pull complete 11:00:54 798269fcf238: Pull complete 11:00:54 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 11:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:00:54 ---> ec979cd7f677 11:00:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:00:58 ---> Running in d3206a2e22de 11:00:58 Removing intermediate container d3206a2e22de 11:00:58 ---> f0b3c53380bd 11:00:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:00:58 ---> Running in 04c7e822bd89 11:00:58 Removing intermediate container 04c7e822bd89 11:00:58 ---> 62feec7e181c 11:00:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:00:58 ---> Running in a94d9857ee15 11:00:58 Removing intermediate container a94d9857ee15 11:00:58 ---> df78c3b8d34f 11:00:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:00:58 ---> Running in 8265d88ef1fa 11:00:58 Removing intermediate container 8265d88ef1fa 11:00:58 ---> fc1f7234781a 11:00:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:00:58 ---> Running in 89effce53d62 11:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:00:59 (1/4) Installing openssh-keygen (9.1_p1-r4) 11:00:59 (2/4) Installing libedit (20221030.3.1-r0) 11:00:59 (3/4) Installing openssh-client-common (9.1_p1-r4) 11:00:59 (4/4) Installing openssh-client-default (9.1_p1-r4) 11:00:59 Executing busybox-1.35.0-r29.trigger 11:00:59 OK: 269 MiB in 57 packages 11:00:59 Removing intermediate container 89effce53d62 11:00:59 ---> e603510a6107 11:00:59 Step 8/12 : WORKDIR /device-mqtt-go 11:00:59 ---> Running in 8973f7ef8b22 11:00:59 Removing intermediate container 8973f7ef8b22 11:00:59 ---> 169a79bb1368 11:00:59 Step 9/12 : COPY go.mod vendor* ./ 11:00:59 ---> 8ef31f5eb925 11:00:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:00:59 ---> Running in 56f687625830 11:01:00 Still waiting to schedule task 11:01:00 ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 11:01:00 ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 11:01:00 ‘prd-ubuntu20.04-docker-8c-8g-4566’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 11:01:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4565’ is offline 11:01:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4567’ is offline 11:01:32 Removing intermediate container 56f687625830 11:01:32 ---> 69c34ffdfeaa 11:01:32 Step 11/12 : COPY . . 11:01:32 ---> 357038fa82b4 11:01:32 Step 12/12 : RUN $MAKE 11:01:32 ---> Running in fc77e88cba95 11:01:32 noop 11:01:32 Removing intermediate container fc77e88cba95 11:01:32 ---> 5bdcb9a26082 11:01:32 Successfully built 5bdcb9a26082 11:01:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:32 + docker inspect -f . ci-base-image-x86_64 11:01:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:32 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:01:32 $ 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 11:01:32 $ docker top bc439fc252998915bf8e95707c83ff0fb9b537b1c31763cb6e58380588a47335 -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:33 + go version 11:01:33 go version go1.20.6 linux/amd64 [Pipeline] } 11:01:33 $ docker stop --time=1 bc439fc252998915bf8e95707c83ff0fb9b537b1c31763cb6e58380588a47335 11:01:34 $ docker rm -f --volumes bc439fc252998915bf8e95707c83ff0fb9b537b1c31763cb6e58380588a47335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:34 + docker inspect -f . ci-base-image-x86_64 11:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:34 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:01:34 $ 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 11:01:35 $ docker top f8c1f2a67e9b8566cb3ed9b4278bea1cbc2c330cee966571edc2a3b93254820a -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 11:01:35 + make test 11:01:35 go test ./... -coverprofile=coverage.out ./... 11:01:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:01:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:01:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:01:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements 11:01:55 go vet ./... 11:01:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:01:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:01:59 ./bin/test-attribution-txt.sh [Pipeline] echo 11:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:01:59 $ docker stop --time=1 f8c1f2a67e9b8566cb3ed9b4278bea1cbc2c330cee966571edc2a3b93254820a 11:02:03 $ docker rm -f --volumes f8c1f2a67e9b8566cb3ed9b4278bea1cbc2c330cee966571edc2a3b93254820a [Pipeline] // withDockerContainer [Pipeline] sh 11:02:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:02:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:02:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:02:04 + ls -al . 11:02:04 total 188 11:02:04 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 11:01 . 11:02:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 .. 11:02:04 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 11:00 .dockerignore 11:02:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:00 .git 11:02:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 .github 11:02:04 -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 11:00 .gitignore 11:02:04 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:00 .golangci.yml 11:02:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:00 .semver 11:02:04 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 25 11:00 Attribution.txt 11:02:04 -rw-rw-r-- 1 jenkins jenkins 17522 Aug 25 11:00 CHANGELOG.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 1689 Aug 25 11:00 Dockerfile 11:02:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:00 GOVERNANCE.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 11:00 Jenkinsfile 11:02:04 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:00 LICENSE 11:02:04 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 25 11:00 Makefile 11:02:04 -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 11:00 OWNERS.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 3695 Aug 25 11:00 README.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 11:00 VERSION 11:02:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 bin 11:02:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 cmd 11:02:04 -rw-r--r-- 1 jenkins jenkins 18506 Aug 25 11:01 coverage.out 11:02:04 -rw-rw-r-- 1 jenkins jenkins 3820 Aug 25 11:00 go.mod 11:02:04 -rw-rw-r-- 1 jenkins jenkins 34092 Aug 25 11:00 go.sum 11:02:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 internal 11:02:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 mock 11:02:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 snap 11:02:04 -rw-rw-r-- 1 jenkins jenkins 227 Aug 25 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:04 + 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=24031f99736a1500bd59a57df778730f3b803153 --label arch=amd64 --label version=3.1.0-dev.5 . 11:02:04 Sending build context to Docker daemon 6.464MB 11:02:04 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 11:02:04 Step 2/24 : FROM ${BASE} AS builder 11:02:04 ---> 5bdcb9a26082 11:02:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 11:02:04 ---> Running in ff14fdcf3c14 11:02:04 Removing intermediate container ff14fdcf3c14 11:02:04 ---> 4cec18b350d0 11:02:04 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:02:04 ---> Running in 1b41c6682f8d 11:02:04 Removing intermediate container 1b41c6682f8d 11:02:04 ---> 00f039b1ef55 11:02:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:02:04 ---> Running in 509e29391989 11:02:05 Removing intermediate container 509e29391989 11:02:05 ---> a3a62762509b 11:02:05 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 11:02:05 ---> Running in 0a8993f6079c 11:02:05 Removing intermediate container 0a8993f6079c 11:02:05 ---> 3be4c91dac27 11:02:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:02:05 ---> Running in 4f1e0288384e 11:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:02:05 OK: 269 MiB in 57 packages 11:02:06 Removing intermediate container 4f1e0288384e 11:02:06 ---> 1dba5756c7bc 11:02:06 Step 8/24 : WORKDIR /device-mqtt-go 11:02:06 ---> Running in a80bd50d7e90 11:02:06 Removing intermediate container a80bd50d7e90 11:02:06 ---> 6af7992ae868 11:02:06 Step 9/24 : COPY go.mod vendor* ./ 11:02:06 ---> 1ded0a17d15b 11:02:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:02:06 ---> Running in 7d5b8275589a 11:02:07 Removing intermediate container 7d5b8275589a 11:02:07 ---> a609edf69a9b 11:02:07 Step 11/24 : COPY . . 11:02:07 ---> f5cdfcfe220d 11:02:07 Step 12/24 : RUN $MAKE 11:02:07 ---> Running in ea26ca8ce777 11:02:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 11:02:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4568 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 11:02:27 Running in /w/workspace/device-mqtt-go/133 [Pipeline] { [Pipeline] checkout 11:02:27 The recommended git tool is: git 11:02:29 Removing intermediate container ea26ca8ce777 11:02:29 ---> 889c56898d5d 11:02:29 Step 13/24 : FROM alpine:3.17 11:02:29 3.17: Pulling from library/alpine 11:02:29 9398808236ff: Pulling fs layer 11:02:29 9398808236ff: Verifying Checksum 11:02:29 9398808236ff: Download complete 11:02:29 9398808236ff: Pull complete 11:02:29 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:02:29 Status: Downloaded newer image for alpine:3.17 11:02:29 ---> 1e0b8b5322fc 11:02:29 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:02:29 ---> Running in 20bd2f268063 11:02:29 Removing intermediate container 20bd2f268063 11:02:29 ---> 331c42327c77 11:02:29 Step 15/24 : RUN apk add --update --no-cache dumb-init 11:02:29 ---> Running in 97c4a76abb5b 11:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:02:29 (1/1) Installing dumb-init (1.2.5-r2) 11:02:29 Executing busybox-1.35.0-r29.trigger 11:02:29 OK: 7 MiB in 16 packages 11:02:30 Removing intermediate container 97c4a76abb5b 11:02:30 ---> 601fe9746ad3 11:02:30 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 11:02:30 ---> cf23eb2d7341 11:02:30 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 11:02:30 ---> 6e3fc53b2183 11:02:30 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:02:31 ---> 18678e51ad24 11:02:31 Step 19/24 : EXPOSE 59982 11:02:31 ---> Running in 0e6f17080861 11:02:31 Removing intermediate container 0e6f17080861 11:02:31 ---> 1d9106a437a4 11:02:31 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 11:02:31 ---> Running in 4e7068b6e5a6 11:02:31 Removing intermediate container 4e7068b6e5a6 11:02:31 ---> 34d4cd208f53 11:02:31 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 11:02:31 ---> Running in 9f45c4949c77 11:02:31 Removing intermediate container 9f45c4949c77 11:02:31 ---> d1771cbd5d32 11:02:31 Step 22/24 : LABEL arch=amd64 11:02:31 ---> Running in 1752bc39cdd9 11:02:31 Removing intermediate container 1752bc39cdd9 11:02:31 ---> 798b30ba0775 11:02:31 Step 23/24 : LABEL git_sha=24031f99736a1500bd59a57df778730f3b803153 11:02:31 ---> Running in 0c69231f922d 11:02:31 Removing intermediate container 0c69231f922d 11:02:31 ---> 6e490606715c 11:02:31 Step 24/24 : LABEL version=3.1.0-dev.5 11:02:31 ---> Running in 11e8231cc0b8 11:02:31 Removing intermediate container 11e8231cc0b8 11:02:31 ---> 357fc9a4f621 11:02:31 [Warning] One or more build-args [ARCH] were not consumed 11:02:31 Successfully built 357fc9a4f621 11:02:31 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:31 provisioning config files... 11:02:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18144039943541189516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:32 ---> docker-login.sh 11:02:32 nexus3.edgexfoundry.org:10001 11:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:32 Configure a credential helper to remove this warning. See 11:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:32 11:02:32 Login Succeeded 11:02:32 nexus3.edgexfoundry.org:10002 11:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:32 Configure a credential helper to remove this warning. See 11:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:32 11:02:32 Login Succeeded 11:02:32 nexus3.edgexfoundry.org:10003 11:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:32 Configure a credential helper to remove this warning. See 11:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:32 11:02:32 Login Succeeded 11:02:32 nexus3.edgexfoundry.org:10004 11:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:32 Configure a credential helper to remove this warning. See 11:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:32 11:02:32 Login Succeeded 11:02:32 docker.io 11:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:32 Configure a credential helper to remove this warning. See 11:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:32 11:02:32 Login Succeeded 11:02:32 ---> docker-login.sh ends [Pipeline] } 11:02:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:02:32 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 11:02:32 24031f99736a1500bd59a57df778730f3b803153 11:02:32 latest 11:02:32 3.1.0-dev.5 11:02:32 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 11:02:32 main 11:02:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153 11:02:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:02:33 c493d206bf57: Preparing 11:02:33 ffbb74c15f48: Preparing 11:02:33 79c3bc57228a: Preparing 11:02:33 c201c5b35894: Preparing 11:02:33 36b50b131297: Preparing 11:02:33 36b50b131297: Layer already exists 11:02:33 c493d206bf57: Pushed 11:02:33 c201c5b35894: Pushed 11:02:33 ffbb74c15f48: Pushed 11:02:34 using credential edgex-jenkins-ssh 11:02:34 Cloning the remote Git repository 11:02:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:02:35 79c3bc57228a: Pushed 11:02:36 24031f99736a1500bd59a57df778730f3b803153: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv 11:02:34 > git init /w/workspace/device-mqtt-go/133 # timeout=10 11:02:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:02:35 > git --version # timeout=10 11:02:35 > git --version # 'git version 2.25.1' 11:02:35 using GIT_SSH to set credentials SSH Credentials for GitHub 11:02:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:02:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:02:36 c493d206bf57: Preparing 11:02:36 ffbb74c15f48: Preparing 11:02:36 79c3bc57228a: Preparing 11:02:36 c201c5b35894: Preparing 11:02:36 36b50b131297: Preparing 11:02:36 79c3bc57228a: Layer already exists 11:02:36 ffbb74c15f48: Layer already exists 11:02:36 c493d206bf57: Layer already exists 11:02:36 36b50b131297: Layer already exists 11:02:36 c201c5b35894: Layer already exists 11:02:36 latest: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.5 11:02:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:02:37 c493d206bf57: Preparing 11:02:37 ffbb74c15f48: Preparing 11:02:37 79c3bc57228a: Preparing 11:02:37 c201c5b35894: Preparing 11:02:37 36b50b131297: Preparing 11:02:37 c201c5b35894: Layer already exists 11:02:37 36b50b131297: Layer already exists 11:02:37 79c3bc57228a: Layer already exists 11:02:37 c493d206bf57: Layer already exists 11:02:37 ffbb74c15f48: Layer already exists 11:02:37 3.1.0-dev.5: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:02:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:02:37 Avoid second fetch 11:02:37 Checking out Revision 24031f99736a1500bd59a57df778730f3b803153 (main) 11:02:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 11:02:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:02:38 c493d206bf57: Preparing 11:02:38 ffbb74c15f48: Preparing 11:02:38 79c3bc57228a: Preparing 11:02:38 c201c5b35894: Preparing 11:02:38 36b50b131297: Preparing 11:02:38 c493d206bf57: Layer already exists 11:02:38 c201c5b35894: Layer already exists 11:02:38 79c3bc57228a: Layer already exists 11:02:38 36b50b131297: Layer already exists 11:02:38 ffbb74c15f48: Layer already exists 11:02:38 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:38 Commit message: "Merge pull request #619 from FelixTing/update-sdk" 11:02:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 11:02:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:02:38 c493d206bf57: Preparing 11:02:38 ffbb74c15f48: Preparing 11:02:38 79c3bc57228a: Preparing 11:02:38 c201c5b35894: Preparing 11:02:38 36b50b131297: Preparing 11:02:38 c201c5b35894: Layer already exists 11:02:38 ffbb74c15f48: Layer already exists 11:02:38 c493d206bf57: Layer already exists 11:02:38 79c3bc57228a: Layer already exists 11:02:38 36b50b131297: Layer already exists 11:02:38 main: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:02:38 ===================================================== [Pipeline] echo 11:02:38 taggedImages: 11:02:38 - nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153 11:02:38 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:02:38 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.5 11:02:38 - nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 11:02:38 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:37 > git config core.sparsecheckout # timeout=10 11:02:37 > git checkout -f 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 11:02:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:39 11:02:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:02:39 % Total % Received % Xferd Average Speed Time Time Time Current 11:02:39 Dload Upload Total Spent Left Speed 11:02:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k 11:02:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:39 latest: Pulling from edgex-lftools-log-publisher 11:02:39 5eb5b503b376: Pulling fs layer 11:02:39 5c69ac0246d0: Pulling fs layer 11:02:39 ec43610c2a17: Pulling fs layer 11:02:39 3a2ae6a8a46f: Pulling fs layer 11:02:39 33b1e0a273af: Pulling fs layer 11:02:39 5d3b04190fa2: Pulling fs layer 11:02:39 2f39f015ded8: Pulling fs layer 11:02:39 33b1e0a273af: Waiting 11:02:39 5d3b04190fa2: Waiting 11:02:39 2f39f015ded8: Waiting 11:02:39 3a2ae6a8a46f: Waiting 11:02:39 5c69ac0246d0: Verifying Checksum 11:02:39 5c69ac0246d0: Download complete 11:02:39 3a2ae6a8a46f: Verifying Checksum 11:02:39 3a2ae6a8a46f: Download complete 11:02:39 33b1e0a273af: Verifying Checksum 11:02:39 33b1e0a273af: Download complete 11:02:39 5d3b04190fa2: Verifying Checksum 11:02:39 5d3b04190fa2: Download complete 11:02:39 ec43610c2a17: Verifying Checksum 11:02:39 ec43610c2a17: Download complete 11:02:39 5eb5b503b376: Verifying Checksum 11:02:39 5eb5b503b376: Download complete [Pipeline] sh 11:02:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:02:40 2f39f015ded8: Download complete 11:02:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:02:40 + sudo tee /etc/docker/daemon.new 11:02:40 { 11:02:40 "registry-mirrors": [ 11:02:40 "https://nexus3.edgexfoundry.org:10001" 11:02:40 ], 11:02:40 "bip": "10.250.0.254/24", 11:02:40 "hosts": [ 11:02:40 "tcp://0.0.0.0:5555", 11:02:40 "unix:///var/run/docker.sock" 11:02:40 ], 11:02:40 "mtu": 1458, 11:02:40 "selinux-enabled": true, 11:02:40 "seccomp-profile": "/etc/docker/seccomp.json" 11:02:40 } [Pipeline] sh 11:02:40 5eb5b503b376: Pull complete 11:02:40 5c69ac0246d0: Pull complete 11:02:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:02:41 + sudo service docker restart 11:02:41 ec43610c2a17: Pull complete 11:02:41 3a2ae6a8a46f: Pull complete 11:02:41 33b1e0a273af: Pull complete 11:02:41 5d3b04190fa2: Pull complete 11:02:45 2f39f015ded8: Pull complete 11:02:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:45 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:02:45 $ 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 11:02:49 $ docker top 39b816a40480a28ef0f29e414a875d279437c5358ae92be0e01c922d4de3002d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:49 ---> job-cost.sh 11:02:49 lf-activate-venv: SKIPPING 11:02:49 INFO: No Stack... 11:02:50 INFO: Retrieving Pricing Info for: v3-standard-8 11:02:50 INFO: Archiving Costs [Pipeline] sh 11:02:51 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 11:02:51 + cut -d, -f6 [Pipeline] lock 11:02:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] 11:02:51 Resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] did not exist. Created. 11:02:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:02:51 + echo total: 0.2199999988079071 [Pipeline] stash 11:02:51 Stashed 1 file(s) [Pipeline] } 11:02:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 11:02:51 $ docker stop --time=1 39b816a40480a28ef0f29e414a875d279437c5358ae92be0e01c922d4de3002d 11:02:52 $ docker rm -f --volumes 39b816a40480a28ef0f29e414a875d279437c5358ae92be0e01c922d4de3002d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:59 provisioning config files... 11:02:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/133@tmp/config16552466675465222861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:59 ---> docker-login.sh 11:02:59 nexus3.edgexfoundry.org:10001 11:03:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:00 Configure a credential helper to remove this warning. See 11:03:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:00 11:03:00 Login Succeeded 11:03:00 nexus3.edgexfoundry.org:10002 11:03:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:01 Configure a credential helper to remove this warning. See 11:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:01 11:03:01 Login Succeeded 11:03:01 nexus3.edgexfoundry.org:10003 11:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:01 Configure a credential helper to remove this warning. See 11:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:01 11:03:01 Login Succeeded 11:03:01 nexus3.edgexfoundry.org:10004 11:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:01 Configure a credential helper to remove this warning. See 11:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:01 11:03:01 Login Succeeded 11:03:01 docker.io 11:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:02 Configure a credential helper to remove this warning. See 11:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:02 11:03:02 Login Succeeded 11:03:02 ---> docker-login.sh ends [Pipeline] } 11:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:03:02 ========================================================= 11:03:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:03:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:03:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:03:03 Sending build context to Docker daemon 3.332MB 11:03:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:03:03 Step 2/12 : FROM ${BASE} AS builder 11:03:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:03:03 edb6bdbacee9: Pulling fs layer 11:03:03 5f9638ab2659: Pulling fs layer 11:03:03 8d51d6327a98: Pulling fs layer 11:03:03 8b374f2dd631: Pulling fs layer 11:03:03 ec14aa9079de: Pulling fs layer 11:03:03 2f466654f4bb: Pulling fs layer 11:03:03 554e91adad29: Pulling fs layer 11:03:03 ec14aa9079de: Waiting 11:03:03 2f466654f4bb: Waiting 11:03:03 554e91adad29: Waiting 11:03:03 8b374f2dd631: Waiting 11:03:03 5f9638ab2659: Verifying Checksum 11:03:03 5f9638ab2659: Download complete 11:03:03 8b374f2dd631: Verifying Checksum 11:03:03 8b374f2dd631: Download complete 11:03:03 ec14aa9079de: Verifying Checksum 11:03:03 ec14aa9079de: Download complete 11:03:03 edb6bdbacee9: Verifying Checksum 11:03:03 edb6bdbacee9: Download complete 11:03:05 edb6bdbacee9: Pull complete 11:03:05 554e91adad29: Verifying Checksum 11:03:05 554e91adad29: Download complete 11:03:05 5f9638ab2659: Pull complete 11:03:07 2f466654f4bb: Download complete 11:03:07 8d51d6327a98: Verifying Checksum 11:03:07 8d51d6327a98: Download complete 11:03:19 8d51d6327a98: Pull complete 11:03:19 8b374f2dd631: Pull complete 11:03:19 ec14aa9079de: Pull complete 11:03:27 2f466654f4bb: Pull complete 11:03:29 554e91adad29: Pull complete 11:03:29 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 11:03:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:03:29 ---> 1e15ea492957 11:03:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:03:31 ---> Running in cca9bfbd1c41 11:03:32 Removing intermediate container cca9bfbd1c41 11:03:32 ---> 50848fc45155 11:03:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:03:32 ---> Running in e0717f5b6619 11:03:32 Removing intermediate container e0717f5b6619 11:03:32 ---> 6ee1e09c34c7 11:03:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:03:32 ---> Running in ea610a502b5a 11:03:32 Removing intermediate container ea610a502b5a 11:03:32 ---> 0e16fe57011d 11:03:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:03:32 ---> Running in cf86bd9c79c4 11:03:33 Removing intermediate container cf86bd9c79c4 11:03:33 ---> bc2e88d9ef1c 11:03:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:03:33 ---> Running in a9291f9a39ff 11:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:03:36 (1/4) Installing openssh-keygen (9.1_p1-r4) 11:03:36 (2/4) Installing libedit (20221030.3.1-r0) 11:03:36 (3/4) Installing openssh-client-common (9.1_p1-r4) 11:03:36 (4/4) Installing openssh-client-default (9.1_p1-r4) 11:03:36 Executing busybox-1.35.0-r29.trigger 11:03:36 OK: 268 MiB in 57 packages 11:03:37 Removing intermediate container a9291f9a39ff 11:03:37 ---> 4d4b2a172fda 11:03:37 Step 8/12 : WORKDIR /device-mqtt-go 11:03:37 ---> Running in 1713a5a3cf0b 11:03:38 Removing intermediate container 1713a5a3cf0b 11:03:38 ---> 9d6750deee5c 11:03:38 Step 9/12 : COPY go.mod vendor* ./ 11:03:38 ---> 2bbf38878fd4 11:03:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:03:38 ---> Running in 35821d2da6e4 11:05:00 Removing intermediate container 35821d2da6e4 11:05:00 ---> 49c106294ff0 11:05:00 Step 11/12 : COPY . . 11:05:00 ---> 2790888b61c4 11:05:00 Step 12/12 : RUN $MAKE 11:05:00 ---> Running in ce86697586e9 11:05:00 noop 11:05:00 Removing intermediate container ce86697586e9 11:05:00 ---> 1ef07484f722 11:05:00 Successfully built 1ef07484f722 11:05:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:00 + docker inspect -f . ci-base-image-arm64 11:05:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:00 prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container 11:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/133 -v /w/workspace/device-mqtt-go/133:/w/workspace/device-mqtt-go/133:rw,z -v /w/workspace/device-mqtt-go/133@tmp:/w/workspace/device-mqtt-go/133@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 11:05:02 $ docker top dc9189cf15c010a7967e2534b99adf5c80bc45f47b7b49e61fdcd1db2c12e183 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:03 + go version 11:05:03 go version go1.20.6 linux/arm64 [Pipeline] } 11:05:03 $ docker stop --time=1 dc9189cf15c010a7967e2534b99adf5c80bc45f47b7b49e61fdcd1db2c12e183 11:05:05 $ docker rm -f --volumes dc9189cf15c010a7967e2534b99adf5c80bc45f47b7b49e61fdcd1db2c12e183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:05 + docker inspect -f . ci-base-image-arm64 11:05:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:06 prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container 11:05:06 $ 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/133 -v /w/workspace/device-mqtt-go/133:/w/workspace/device-mqtt-go/133:rw,z -v /w/workspace/device-mqtt-go/133@tmp:/w/workspace/device-mqtt-go/133@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 11:05:07 $ docker top 968a57b7e0053b7e6378b77950417968ed5a3cb0aa7e34a65df532a813738d36 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/133 [Pipeline] fileExists [Pipeline] sh 11:05:09 + make test 11:05:09 go test ./... -coverprofile=coverage.out ./... 11:05:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:08:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:08:26 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:08:26 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.089s coverage: 22.8% of statements 11:08:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:08:27 go vet ./... 11:09:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:09:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:09:00 ./bin/test-attribution-txt.sh [Pipeline] echo 11:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:09:00 $ docker stop --time=1 968a57b7e0053b7e6378b77950417968ed5a3cb0aa7e34a65df532a813738d36 11:09:02 $ docker rm -f --volumes 968a57b7e0053b7e6378b77950417968ed5a3cb0aa7e34a65df532a813738d36 [Pipeline] // withDockerContainer [Pipeline] sh 11:09:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:09:03 Warning: overwriting stash ‘coverage-report’ 11:09:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:09:05 + ls -al . 11:09:05 total 184 11:09:05 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 11:05 . 11:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:02 .. 11:09:05 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 11:02 .dockerignore 11:09:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:02 .git 11:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 .github 11:09:05 -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 11:02 .gitignore 11:09:05 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:02 .golangci.yml 11:09:05 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 25 11:02 Attribution.txt 11:09:05 -rw-rw-r-- 1 jenkins jenkins 17522 Aug 25 11:02 CHANGELOG.md 11:09:05 -rw-rw-r-- 1 jenkins jenkins 1689 Aug 25 11:02 Dockerfile 11:09:05 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:02 GOVERNANCE.md 11:09:05 -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 11:02 Jenkinsfile 11:09:05 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:02 LICENSE 11:09:05 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 25 11:02 Makefile 11:09:05 -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 11:02 OWNERS.md 11:09:05 -rw-rw-r-- 1 jenkins jenkins 3695 Aug 25 11:02 README.md 11:09:05 -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 11:00 VERSION 11:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:02 bin 11:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 cmd 11:09:05 -rw-r--r-- 1 jenkins jenkins 18506 Aug 25 11:08 coverage.out 11:09:05 -rw-rw-r-- 1 jenkins jenkins 3820 Aug 25 11:02 go.mod 11:09:05 -rw-rw-r-- 1 jenkins jenkins 34092 Aug 25 11:02 go.sum 11:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 internal 11:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:02 mock 11:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:02 snap 11:09:05 -rw-rw-r-- 1 jenkins jenkins 227 Aug 25 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:05 + 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=24031f99736a1500bd59a57df778730f3b803153 --label arch=arm64 --label version=3.1.0-dev.5 . 11:09:05 Sending build context to Docker daemon 3.351MB 11:09:05 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 11:09:05 Step 2/24 : FROM ${BASE} AS builder 11:09:05 ---> 1ef07484f722 11:09:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 11:09:08 ---> Running in 54774bad56e7 11:09:08 Removing intermediate container 54774bad56e7 11:09:08 ---> ebb27e3c0e52 11:09:08 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:09:08 ---> Running in 3ca919488333 11:09:09 Removing intermediate container 3ca919488333 11:09:09 ---> 6d0419f16940 11:09:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:09:09 ---> Running in b0806591c652 11:09:09 Removing intermediate container b0806591c652 11:09:09 ---> 9c73cced0e4d 11:09:09 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 11:09:09 ---> Running in d59a0b112bdc 11:09:09 Removing intermediate container d59a0b112bdc 11:09:09 ---> b3d62fca5ed9 11:09:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:09 ---> Running in 988b94b950a8 11:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:09:13 OK: 268 MiB in 57 packages 11:09:14 Removing intermediate container 988b94b950a8 11:09:14 ---> eeb4f73b3430 11:09:14 Step 8/24 : WORKDIR /device-mqtt-go 11:09:14 ---> Running in 0b1cb0286872 11:09:14 Removing intermediate container 0b1cb0286872 11:09:14 ---> 469fb5b7e4e7 11:09:14 Step 9/24 : COPY go.mod vendor* ./ 11:09:15 ---> be827733e592 11:09:15 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:09:15 ---> Running in dabc6f5b9d75 11:09:17 Removing intermediate container dabc6f5b9d75 11:09:17 ---> 980ce4709c62 11:09:17 Step 11/24 : COPY . . 11:09:18 ---> 6700cd09d6b3 11:09:18 Step 12/24 : RUN $MAKE 11:09:18 ---> Running in 68924d6d16d6 11:09:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 11:12:11 Removing intermediate container 68924d6d16d6 11:12:11 ---> 4869a899410c 11:12:11 Step 13/24 : FROM alpine:3.17 11:12:11 3.17: Pulling from library/alpine 11:12:11 4060ece20d7a: Pulling fs layer 11:12:11 4060ece20d7a: Verifying Checksum 11:12:11 4060ece20d7a: Download complete 11:12:11 4060ece20d7a: Pull complete 11:12:11 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:12:11 Status: Downloaded newer image for alpine:3.17 11:12:11 ---> 8650cd65339b 11:12:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:12:11 ---> Running in 20f1d8684676 11:12:11 Removing intermediate container 20f1d8684676 11:12:11 ---> ef52a1b293db 11:12:11 Step 15/24 : RUN apk add --update --no-cache dumb-init 11:12:11 ---> Running in e219af2aa19f 11:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:12:11 (1/1) Installing dumb-init (1.2.5-r2) 11:12:11 Executing busybox-1.35.0-r29.trigger 11:12:11 OK: 8 MiB in 16 packages 11:12:11 Removing intermediate container e219af2aa19f 11:12:11 ---> f95b8d50a3a0 11:12:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 11:12:11 ---> 7ea38de5afd1 11:12:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 11:12:11 ---> 80e0e6ece349 11:12:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:12:11 ---> 29f1a33fbb95 11:12:11 Step 19/24 : EXPOSE 59982 11:12:11 ---> Running in c8042d2f8336 11:12:11 Removing intermediate container c8042d2f8336 11:12:11 ---> 90d2fb786860 11:12:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 11:12:11 ---> Running in d0f1908518d7 11:12:11 Removing intermediate container d0f1908518d7 11:12:11 ---> 660bb72a0f5a 11:12:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 11:12:11 ---> Running in 9a315b8529c2 11:12:11 Removing intermediate container 9a315b8529c2 11:12:11 ---> 421f10d74faf 11:12:11 Step 22/24 : LABEL arch=arm64 11:12:11 ---> Running in 4047c7835031 11:12:11 Removing intermediate container 4047c7835031 11:12:11 ---> 1404d350be27 11:12:11 Step 23/24 : LABEL git_sha=24031f99736a1500bd59a57df778730f3b803153 11:12:11 ---> Running in 9abca3c06db9 11:12:11 Removing intermediate container 9abca3c06db9 11:12:11 ---> dc2ed0e0006b 11:12:11 Step 24/24 : LABEL version=3.1.0-dev.5 11:12:11 ---> Running in 766985067eb6 11:12:12 Removing intermediate container 766985067eb6 11:12:12 ---> d74889cb8ec7 11:12:12 [Warning] One or more build-args [ARCH] were not consumed 11:12:12 Successfully built d74889cb8ec7 11:12:12 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 11:12:12 provisioning config files... 11:12:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/133@tmp/config7664311975376200486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:12 ---> docker-login.sh 11:12:12 nexus3.edgexfoundry.org:10001 11:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:12 Configure a credential helper to remove this warning. See 11:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:12 11:12:12 Login Succeeded 11:12:12 nexus3.edgexfoundry.org:10002 11:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:13 Configure a credential helper to remove this warning. See 11:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:13 11:12:13 Login Succeeded 11:12:13 nexus3.edgexfoundry.org:10003 11:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:13 Configure a credential helper to remove this warning. See 11:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:13 11:12:13 Login Succeeded 11:12:13 nexus3.edgexfoundry.org:10004 11:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:13 Configure a credential helper to remove this warning. See 11:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:13 11:12:13 Login Succeeded 11:12:13 docker.io 11:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:14 Configure a credential helper to remove this warning. See 11:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:14 11:12:14 Login Succeeded 11:12:14 ---> docker-login.sh ends [Pipeline] } 11:12:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:12:14 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 11:12:14 24031f99736a1500bd59a57df778730f3b803153 11:12:14 latest 11:12:14 3.1.0-dev.5 11:12:14 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 11:12:14 main 11:12:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153 11:12:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:12:15 0a3926c651f6: Preparing 11:12:15 87fc46ca5ae1: Preparing 11:12:15 daf49e504e17: Preparing 11:12:15 a9a2b6508e99: Preparing 11:12:15 d2d9d24a8c2a: Preparing 11:12:15 d2d9d24a8c2a: Layer already exists 11:12:15 a9a2b6508e99: Pushed 11:12:15 87fc46ca5ae1: Pushed 11:12:15 0a3926c651f6: Pushed 11:12:20 daf49e504e17: Pushed 11:12:20 24031f99736a1500bd59a57df778730f3b803153: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:12:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:12:21 0a3926c651f6: Preparing 11:12:21 87fc46ca5ae1: Preparing 11:12:21 daf49e504e17: Preparing 11:12:21 a9a2b6508e99: Preparing 11:12:21 d2d9d24a8c2a: Preparing 11:12:21 d2d9d24a8c2a: Layer already exists 11:12:21 87fc46ca5ae1: Layer already exists 11:12:21 0a3926c651f6: Layer already exists 11:12:21 a9a2b6508e99: Layer already exists 11:12:21 daf49e504e17: Layer already exists 11:12:21 latest: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.5 11:12:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:12:22 0a3926c651f6: Preparing 11:12:22 87fc46ca5ae1: Preparing 11:12:22 daf49e504e17: Preparing 11:12:22 a9a2b6508e99: Preparing 11:12:22 d2d9d24a8c2a: Preparing 11:12:22 0a3926c651f6: Layer already exists 11:12:22 daf49e504e17: Layer already exists 11:12:22 87fc46ca5ae1: Layer already exists 11:12:22 d2d9d24a8c2a: Layer already exists 11:12:22 a9a2b6508e99: Layer already exists 11:12:22 3.1.0-dev.5: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 11:12:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:12:23 0a3926c651f6: Preparing 11:12:23 87fc46ca5ae1: Preparing 11:12:23 daf49e504e17: Preparing 11:12:23 a9a2b6508e99: Preparing 11:12:23 d2d9d24a8c2a: Preparing 11:12:23 0a3926c651f6: Layer already exists 11:12:23 d2d9d24a8c2a: Layer already exists 11:12:23 a9a2b6508e99: Layer already exists 11:12:23 87fc46ca5ae1: Layer already exists 11:12:23 daf49e504e17: Layer already exists 11:12:23 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 11:12:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:12:24 0a3926c651f6: Preparing 11:12:24 87fc46ca5ae1: Preparing 11:12:24 daf49e504e17: Preparing 11:12:24 a9a2b6508e99: Preparing 11:12:24 d2d9d24a8c2a: Preparing 11:12:24 0a3926c651f6: Layer already exists 11:12:24 a9a2b6508e99: Layer already exists 11:12:24 87fc46ca5ae1: Layer already exists 11:12:24 d2d9d24a8c2a: Layer already exists 11:12:24 daf49e504e17: Layer already exists 11:12:24 main: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:24 ===================================================== [Pipeline] echo 11:12:24 taggedImages: 11:12:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153 11:12:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:12:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.5 11:12:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 11:12:24 - 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 11:12:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:12:24 11:12:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:12:25 arm64: Pulling from edgex-lftools-log-publisher 11:12:25 8998bd30e6a1: Pulling fs layer 11:12:25 04944245beec: Pulling fs layer 11:12:25 699f458cf7ca: Pulling fs layer 11:12:25 765212b225bb: Pulling fs layer 11:12:25 f23df028b6ca: Pulling fs layer 11:12:25 d65c8cfc05b1: Pulling fs layer 11:12:25 2437ff75d9bd: Pulling fs layer 11:12:25 765212b225bb: Waiting 11:12:25 d65c8cfc05b1: Waiting 11:12:25 f23df028b6ca: Waiting 11:12:25 04944245beec: Verifying Checksum 11:12:25 04944245beec: Download complete 11:12:25 765212b225bb: Verifying Checksum 11:12:25 765212b225bb: Download complete 11:12:25 f23df028b6ca: Download complete 11:12:25 d65c8cfc05b1: Verifying Checksum 11:12:25 d65c8cfc05b1: Download complete 11:12:25 699f458cf7ca: Verifying Checksum 11:12:25 699f458cf7ca: Download complete 11:12:26 8998bd30e6a1: Verifying Checksum 11:12:26 8998bd30e6a1: Download complete 11:12:28 2437ff75d9bd: Verifying Checksum 11:12:28 2437ff75d9bd: Download complete 11:12:30 8998bd30e6a1: Pull complete 11:12:31 04944245beec: Pull complete 11:12:32 699f458cf7ca: Pull complete 11:12:32 765212b225bb: Pull complete 11:12:33 f23df028b6ca: Pull complete 11:12:33 d65c8cfc05b1: Pull complete 11:12:48 2437ff75d9bd: Pull complete 11:12:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:12:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:48 prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container 11:12:48 $ 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/133 -v /w/workspace/device-mqtt-go/133:/w/workspace/device-mqtt-go/133:rw,z -v /w/workspace/device-mqtt-go/133@tmp:/w/workspace/device-mqtt-go/133@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 11:12:51 $ docker top 1502cec35fb3b4caaf6c273cdab7f114f872fc0f4bce20463068da6a69668c88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:52 ---> job-cost.sh 11:12:52 lf-activate-venv: SKIPPING 11:12:52 INFO: No Stack... 11:12:52 INFO: Retrieving Pricing Info for: v3-standard-4 11:12:53 INFO: Archiving Costs [Pipeline] sh 11:12:53 + cat /w/workspace/device-mqtt-go/133/archives/cost.csv 11:12:53 + cut -d, -f6 [Pipeline] lock 11:12:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] 11:12:54 Resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] did not exist. Created. 11:12:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:12:54 /w/workspace/device-mqtt-go/133@tmp/durable-4f4be1c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:12:55 + echo total: 0.10999999940395355 [Pipeline] stash 11:12:55 Warning: overwriting stash ‘stack-cost’ 11:12:55 Stashed 1 file(s) [Pipeline] } 11:12:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 11:12:55 $ docker stop --time=1 1502cec35fb3b4caaf6c273cdab7f114f872fc0f4bce20463068da6a69668c88 11:12:57 $ docker rm -f --volumes 1502cec35fb3b4caaf6c273cdab7f114f872fc0f4bce20463068da6a69668c88 [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 11:12:57 provisioning config files... 11:12:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9136481797544409287tmp [Pipeline] { [Pipeline] sh 11:12:57 + set +x 11:12:57 + curl -s https://codecov.io/bash 11:12:57 + bash -s -- 11:12:57 11:12:57 _____ _ 11:12:57 / ____| | | 11:12:57 | | ___ __| | ___ ___ _____ __ 11:12:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:12:57 | |___| (_) | (_| | __/ (_| (_) \ V / 11:12:57 \_____\___/ \__,_|\___|\___\___/ \_/ 11:12:57 Bash-1.0.6 11:12:57 11:12:57 11:12:57 ==> git version 2.25.1 found 11:12:57 ==> 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 11:12:57 Release-Date: 2020-01-08 11:12:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:12:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:12:57 ==> Jenkins CI detected. 11:12:57 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 11:12:57 project root: . 11:12:57 --> token set from env 11:12:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:12:57 ==> Running gcov in . (disable via -X gcov) 11:12:57 ==> Python coveragepy not found 11:12:57 ==> Searching for coverage reports in: 11:12:57 + . 11:12:57 -> Found 1 reports 11:12:57 ==> Detecting git/mercurial file structure 11:12:57 ==> Reading reports 11:12:57 + ./coverage.out bytes=18506 11:12:57 ==> Appending adjustments 11:12:57 https://docs.codecov.io/docs/fixing-reports 11:12:57 + Found adjustments 11:12:57 ==> Gzipping contents 11:12:57 4.0K /tmp/codecov.fSfs3R.gz 11:12:57 ==> Uploading reports 11:12:57 url: https://codecov.io 11:12:57 query: branch=main&commit=24031f99736a1500bd59a57df778730f3b803153&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:12:57 -> Pinging Codecov 11:12:57 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=24031f99736a1500bd59a57df778730f3b803153&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:12:58 -> Uploading to 11:12:58 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/7D719EC7BBE17E464838252E33014C33/24031f99736a1500bd59a57df778730f3b803153/d7193469-415b-4f5e-ab5e-6663d6e1b46c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80124d06c025dc94c117dd00c2015341fcb84f73001655628747496799f2816c 11:12:58 % Total % Received % Xferd Average Speed Time Time Time Current 11:12:58 Dload Upload Total Spent Left Speed 11:12:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17784 --:--:-- --:--:-- --:--:-- 17784 11:12:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/24031f99736a1500bd59a57df778730f3b803153 [Pipeline] } 11:12:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:12:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:12:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:12:58 11:12:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:12:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:12:59 df9b9388f04a: Pulling fs layer 11:12:59 52dc419b0ee2: Pulling fs layer 11:12:59 25bc292e5bac: Pulling fs layer 11:12:59 114826534d7a: Pulling fs layer 11:12:59 4657fd5d0bcf: Pulling fs layer 11:12:59 6ad1cebc031e: Pulling fs layer 11:12:59 8a3aa393b2d8: Pulling fs layer 11:12:59 114826534d7a: Waiting 11:12:59 4657fd5d0bcf: Waiting 11:12:59 6ad1cebc031e: Waiting 11:12:59 8a3aa393b2d8: Waiting 11:12:59 25bc292e5bac: Verifying Checksum 11:12:59 25bc292e5bac: Download complete 11:12:59 52dc419b0ee2: Verifying Checksum 11:12:59 52dc419b0ee2: Download complete 11:12:59 4657fd5d0bcf: Verifying Checksum 11:12:59 4657fd5d0bcf: Download complete 11:12:59 df9b9388f04a: Download complete 11:12:59 df9b9388f04a: Pull complete 11:12:59 6ad1cebc031e: Verifying Checksum 11:12:59 6ad1cebc031e: Download complete 11:12:59 52dc419b0ee2: Pull complete 11:12:59 25bc292e5bac: Pull complete 11:12:59 114826534d7a: Download complete 11:12:59 8a3aa393b2d8: Verifying Checksum 11:12:59 8a3aa393b2d8: Download complete 11:13:03 114826534d7a: Pull complete 11:13:03 4657fd5d0bcf: Pull complete 11:13:03 6ad1cebc031e: Pull complete 11:13:05 8a3aa393b2d8: Pull complete 11:13:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:13:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:05 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:13:05 $ 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 11:13:10 $ docker top b0f577a2717b16e8a07f8c9a0be7e1d50b1e19f00b4aa93063ac6ac0a67456d1 -eo pid,comm [Pipeline] { [Pipeline] echo 11:13:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 11:13:11 + set -o pipefail 11:13:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 11:13:15 11:13:15 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 11:13:15 11:13:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/5d18686b-8877-455f-acdd-729196bdcf90 11:13:15 11:13:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:13:15 11:13:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:13:15 11:13:15 11:13:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:13:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:13:15 More details here: https://snyk.co/ue1NS [Pipeline] } 11:13:15 $ docker stop --time=1 b0f577a2717b16e8a07f8c9a0be7e1d50b1e19f00b4aa93063ac6ac0a67456d1 11:13:19 $ docker rm -f --volumes b0f577a2717b16e8a07f8c9a0be7e1d50b1e19f00b4aa93063ac6ac0a67456d1 [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 11:13:20 + git log --format=format:%s -1 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] sh 11:13:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:13:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:21 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:13:21 $ 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 11:13:21 $ docker top 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:13:21 [ssh-agent] Looking for ssh-agent implementation... 11:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:13:21 $ docker exec 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 ssh-agent 11:13:21 SSH_AUTH_SOCK=/tmp/ssh-k1N7DRJG5zhL/agent.32 11:13:21 SSH_AGENT_PID=38 11:13:21 Running ssh-add (command line suppressed) 11:13:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3361640500781767341.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3361640500781767341.key) 11:13:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:13:22 + git semver tag 11:13:22 2023-08-25 11:13:22,518 [run_tag] DEBUG tag force:False 11:13:22 2023-08-25 11:13:22,519 [check_head_tag] DEBUG check head tag 11:13:22 2023-08-25 11:13:22,519 [execute] INFO git cat-file --batch-check 11:13:22 2023-08-25 11:13:22,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 11:13:22 2023-08-25 11:13:22,524 [execute] INFO git cat-file --batch 11:13:22 2023-08-25 11:13:22,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 11:13:22 2023-08-25 11:13:22,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:22 2023-08-25 11:13:22,535 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 11:13:22 2023-08-25 11:13:22,535 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 11:13:22 2023-08-25 11:13:22,540 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:22 3.1.0-dev.5 [Pipeline] } 11:13:22 $ docker exec --env ******** --env ******** 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 ssh-agent -k 11:13:22 unset SSH_AUTH_SOCK; 11:13:22 unset SSH_AGENT_PID; 11:13:22 echo Agent pid 38 killed; 11:13:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:13:23 + git semver [Pipeline] } 11:13:23 $ docker stop --time=1 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 11:13:24 $ docker rm -f --volumes 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:13:24 11:13:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:13:25 0.23.1-centos7: Pulling from edgex-lftools 11:13:25 ab5ef0e58194: Pulling fs layer 11:13:25 9712f1f96733: Pulling fs layer 11:13:25 63f879dbbcfc: Pulling fs layer 11:13:25 0d9ebad4ef96: Pulling fs layer 11:13:25 e9a5061849ea: Pulling fs layer 11:13:25 d747dcd14b5f: Pulling fs layer 11:13:25 2de7ff778b66: Pulling fs layer 11:13:25 0d9ebad4ef96: Waiting 11:13:25 e9a5061849ea: Waiting 11:13:25 d747dcd14b5f: Waiting 11:13:25 2de7ff778b66: Waiting 11:13:25 9712f1f96733: Verifying Checksum 11:13:25 9712f1f96733: Download complete 11:13:25 63f879dbbcfc: Verifying Checksum 11:13:25 63f879dbbcfc: Download complete 11:13:25 e9a5061849ea: Verifying Checksum 11:13:25 e9a5061849ea: Download complete 11:13:25 d747dcd14b5f: Download complete 11:13:25 0d9ebad4ef96: Verifying Checksum 11:13:25 0d9ebad4ef96: Download complete 11:13:25 ab5ef0e58194: Verifying Checksum 11:13:25 ab5ef0e58194: Download complete 11:13:25 2de7ff778b66: Verifying Checksum 11:13:25 2de7ff778b66: Download complete 11:13:29 ab5ef0e58194: Pull complete 11:13:29 9712f1f96733: Pull complete 11:13:29 63f879dbbcfc: Pull complete 11:13:33 0d9ebad4ef96: Pull complete 11:13:33 e9a5061849ea: Pull complete 11:13:33 d747dcd14b5f: Pull complete 11:13:34 2de7ff778b66: Pull complete 11:13:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:13:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:34 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:13:34 $ 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 11:13:39 $ docker top 8d3cfdbb039dcd380f9944eae5b14da3be23ac439e961c86939f6574653c0769 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:13:39 provisioning config files... 11:13:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17671383299950537353tmp 11:13:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10707133702037376187tmp 11:13:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11742145160105633146tmp [Pipeline] { [Pipeline] echo 11:13:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:13:40 ---> sigul-configuration.sh 11:13:40 gpg: directory `/root/.gnupg' created 11:13:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:13:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:13:40 gpg: keyring `/root/.gnupg/secring.gpg' created 11:13:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:13:40 gpg: CAST5 encrypted data 11:13:40 gpg: encrypted with 1 passphrase 11:13:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:13:40 + mkdir /home/jenkins 11:13:40 + mkdir /home/jenkins/sigul [Pipeline] sh 11:13:40 + 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 11:13:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:13:41 ---> sigul-install.sh 11:13:41 Sigul already installed; skipping installation. [Pipeline] sh 11:13:41 + git tag --list 11:13:41 0.7.1 11:13:41 v1.0.0 11:13:41 v1.1.0 11:13:41 v1.1.1 11:13:41 v1.2.2 11:13:41 v1.3.0 11:13:41 v1.3.1 11:13:41 v2.0.0 11:13:41 v2.1.0 11:13:41 v2.1.1 11:13:41 v2.2.0 11:13:41 v2.3.0 11:13:41 v3.0 11:13:41 v3.0.0 11:13:41 v3.1.0-dev.1 11:13:41 v3.1.0-dev.2 11:13:41 v3.1.0-dev.3 11:13:41 v3.1.0-dev.4 11:13:41 v3.1.0-dev.5 [Pipeline] sh 11:13:41 + lftools sign git-tag v3.1.0-dev.5 11:13:42 Signing Git tag with Sigul... 11:13:42 Signing v3.1.0-dev.5 [Pipeline] echo 11:13:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:13:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:13:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:13:42 $ docker stop --time=1 8d3cfdbb039dcd380f9944eae5b14da3be23ac439e961c86939f6574653c0769 11:13:44 $ docker rm -f --volumes 8d3cfdbb039dcd380f9944eae5b14da3be23ac439e961c86939f6574653c0769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:13:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:13:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:45 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:13:45 $ 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 11:13:45 $ docker top a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f -eo pid,comm 11:13:45 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). 11:13:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:13:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:13:45 [ssh-agent] Looking for ssh-agent implementation... 11:13:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:13:45 $ docker exec a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f ssh-agent 11:13:45 SSH_AUTH_SOCK=/tmp/ssh-1eJFfFeWr9Up/agent.32 11:13:45 SSH_AGENT_PID=38 11:13:45 Running ssh-add (command line suppressed) 11:13:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2864092873606867529.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2864092873606867529.key) 11:13:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:13:46 + git semver bump pre 11:13:46 2023-08-25 11:13:46,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:46 2023-08-25 11:13:46,295 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev 11:13:46 2023-08-25 11:13:46,295 [bump_version] DEBUG bumped version:3.1.0-dev.6 11:13:46 2023-08-25 11:13:46,295 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 11:13:46 2023-08-25 11:13:46,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:46 2023-08-25 11:13:46,295 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:46 2023-08-25 11:13:46,297 [execute] INFO git cat-file --batch-check 11:13:46 2023-08-25 11:13:46,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:13:46 2023-08-25 11:13:46,301 [execute] INFO git cat-file --batch 11:13:46 2023-08-25 11:13:46,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:13:46 2023-08-25 11:13:46,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:46 3.1.0-dev.6 [Pipeline] } 11:13:46 $ docker exec --env ******** --env ******** a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f ssh-agent -k 11:13:46 unset SSH_AUTH_SOCK; 11:13:46 unset SSH_AGENT_PID; 11:13:46 echo Agent pid 38 killed; 11:13:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:13:46 + git semver [Pipeline] } 11:13:47 $ docker stop --time=1 a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f 11:13:48 $ docker rm -f --volumes a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f [Pipeline] // withDockerContainer [Pipeline] sh 11:13:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:13:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:49 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:13:49 $ 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 11:13:49 $ docker top 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 -eo pid,comm 11:13:49 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). 11:13:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:13:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:13:49 [ssh-agent] Looking for ssh-agent implementation... 11:13:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:13:49 $ docker exec 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 ssh-agent 11:13:49 SSH_AUTH_SOCK=/tmp/ssh-hFMOqolyT5sP/agent.32 11:13:49 SSH_AGENT_PID=38 11:13:49 Running ssh-add (command line suppressed) 11:13:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13895593144301378392.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13895593144301378392.key) 11:13:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:13:50 + git semver push 11:13:50 2023-08-25 11:13:50,197 [run_push] DEBUG push 11:13:50 2023-08-25 11:13:50,197 [execute] INFO git cat-file --batch-check 11:13:50 2023-08-25 11:13:50,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:13:50 2023-08-25 11:13:50,201 [execute] INFO git rev-list 2e321c6f0f29e45a95669cc8bfdff41a3074c1a7 -- 11:13:50 2023-08-25 11:13:50,201 [execute] DEBUG Popen(['git', 'rev-list', '2e321c6f0f29e45a95669cc8bfdff41a3074c1a7', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:13:50 2023-08-25 11:13:50,209 [execute] INFO git fetch -v origin 11:13:50 2023-08-25 11:13:50,210 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:13:50 2023-08-25 11:13:50,687 [run_push] DEBUG no remote changes detected 11:13:50 2023-08-25 11:13:50,688 [execute] INFO git push origin semver 11:13:50 2023-08-25 11:13:50,688 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:13:51 2023-08-25 11:13:51,493 [run_push] DEBUG push all version tags 11:13:51 2023-08-25 11:13:51,493 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:13:51 2023-08-25 11:13:51,494 [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) 11:13:52 2023-08-25 11:13:52,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:13:52 3.1.0-dev.6 [Pipeline] } 11:13:52 $ docker exec --env ******** --env ******** 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 ssh-agent -k 11:13:52 unset SSH_AUTH_SOCK; 11:13:52 unset SSH_AGENT_PID; 11:13:52 echo Agent pid 38 killed; 11:13:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:13:52 + git semver [Pipeline] } 11:13:53 $ docker stop --time=1 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 11:13:54 $ docker rm -f --volumes 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 [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 11:13:54 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 11:13:54 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:13:54 total 16 11:13:54 drwxr-xr-x 3 root root 4096 Aug 25 11:02 . 11:13:54 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:13 .. 11:13:54 drwxr-xr-x 2 root root 4096 Aug 25 11:02 cost 11:13:54 -rw-r--r-- 1 root root 86 Aug 25 11:02 cost.csv 11:13:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:13:54 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:13:54 total 16 11:13:54 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:02 . 11:13:54 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:13 .. 11:13:54 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 11:02 cost 11:13:54 -rw-r--r-- 1 jenkins jenkins 86 Aug 25 11:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:56 ---> package-listing.sh 11:13:56 ++ facter osfamily 11:13:56 ++ tr '[:upper:]' '[:lower:]' 11:13:56 + OS_FAMILY=debian 11:13:56 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 11:13:56 + START_PACKAGES=/tmp/packages_start.txt 11:13:56 + END_PACKAGES=/tmp/packages_end.txt 11:13:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:56 + PACKAGES=/tmp/packages_start.txt 11:13:56 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:13:56 + PACKAGES=/tmp/packages_end.txt 11:13:56 + case "${OS_FAMILY}" in 11:13:56 + dpkg -l 11:13:56 + grep '^ii' 11:13:56 + '[' -f /tmp/packages_start.txt ']' 11:13:56 + '[' -f /tmp/packages_end.txt ']' 11:13:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:56 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:13:56 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 11:13:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 11:13:56 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 11:13:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:57 prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container 11:13:57 $ 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 11:13:57 $ docker top aae4f63cb98ef51a174509f1d8d37658d2064da92da95ffdda53c9021c835618 -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:57 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:58 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:58 + ls /var/log/sa-host 11:13:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:58 provisioning config files... 11:13:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5333635595198584522tmp [Pipeline] { [Pipeline] echo 11:13:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:58 ---> create-netrc.sh [Pipeline] } 11:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:59 ---> python-tools-install.sh [Pipeline] echo 11:13:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:59 ---> sudo-logs.sh 11:13:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:59 ---> job-cost.sh 11:13:59 lf-activate-venv: SKIPPING 11:13:59 DEBUG: total: 0.2199999988079071 11:13:59 INFO: Retrieving Stack Cost... 11:14:00 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:00 INFO: Archiving Costs [Pipeline] echo 11:14:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:01 ---> logs-deploy.sh 11:14:01 lf-activate-venv: SKIPPING 11:14:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/133 11:14:01 INFO: archiving workspace using pattern(s): 11:14:02 Archives upload complete. 11:14:02 INFO: archiving logs to Nexus