Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3ae1edce94ca0342fe1654abfca1e19ca67aac7 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-ssh7793395254398967846.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11499731045912097760.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17978111663822900110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13560090642395329823.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-ssh5513472300516272526.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10129 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 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 (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 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#636)" > git rev-list --no-walk aecec81b0df1ccac07961d4c177179e1cb746efd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:27:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:27:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:27:21 ========================================================= 18:27:21 EdgeX Global Pipelines Version Info 18:27:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:27:21 ------------------- 18:27:21 stable info: 18:27:21 ------------------- 18:27:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:27:21 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:27:21 Message: update stable to v1.0.254 18:27:22 ------------------- 18:27:22 experimental info: 18:27:22 ------------------- 18:27:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:27:22 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:27:22 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3ae1ed [Pipeline] echo 18:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:22 provisioning config files... 18:27:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8927732942487596191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:23 ---> docker-login.sh 18:27:23 nexus3.edgexfoundry.org:10001 18:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:23 Configure a credential helper to remove this warning. See 18:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:23 18:27:23 Login Succeeded 18:27:23 nexus3.edgexfoundry.org:10002 18:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:23 Configure a credential helper to remove this warning. See 18:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:23 18:27:23 Login Succeeded 18:27:23 nexus3.edgexfoundry.org:10003 18:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:23 Configure a credential helper to remove this warning. See 18:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:23 18:27:23 Login Succeeded 18:27:23 nexus3.edgexfoundry.org:10004 18:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:23 Configure a credential helper to remove this warning. See 18:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:23 18:27:23 Login Succeeded 18:27:23 docker.io 18:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:24 Configure a credential helper to remove this warning. See 18:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:24 18:27:24 Login Succeeded 18:27:24 ---> docker-login.sh ends [Pipeline] } 18:27:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:27:24 + git rev-list -1 --merges e3ae1edce94ca0342fe1654abfca1e19ca67aac7~1..e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] echo 18:27:24 -----------> git rev-list -1 --merges e3ae1edce94ca0342fe1654abfca1e19ca67aac7~1..e3ae1edce94ca0342fe1654abfca1e19ca67aac7 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [false] [Pipeline] sh 18:27:24 + git log --format=format:%s -1 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] echo 18:27:24 ========================================================= 18:27:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:27:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:25 + git log --format=format:%s -1 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] echo 18:27:25 [semverPrep] GIT_COMMIT: e3ae1edce94ca0342fe1654abfca1e19ca67aac7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#636) [Pipeline] echo 18:27:25 [semverPrep] This is not a build commit. [Pipeline] sh 18:27:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:27:25 + grep -v github /etc/ssh/ssh_known_hosts 18:27:25 + [ -e /tmp/ssh_known_hosts ] 18:27:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:27:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:27:25 + sudo tee -a /etc/ssh/ssh_known_hosts 18:27:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:26 18:27:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:26 0.1.4: Pulling from edgex-devops/py-git-semver 18:27:26 b85a868b505f: Pulling fs layer 18:27:26 e2be974225ed: Pulling fs layer 18:27:26 339a4e72a1f5: Pulling fs layer 18:27:26 988bab9f4d93: Pulling fs layer 18:27:26 1469e6f7b9e6: Pulling fs layer 18:27:26 eaf3925da568: Pulling fs layer 18:27:26 bab4dde63d76: Pulling fs layer 18:27:26 bde34c3a00c8: Pulling fs layer 18:27:26 b352a97aabf1: Pulling fs layer 18:27:26 4872d77fe225: Pulling fs layer 18:27:26 5851b861e8e6: Pulling fs layer 18:27:26 bde34c3a00c8: Waiting 18:27:26 bab4dde63d76: Waiting 18:27:26 b352a97aabf1: Waiting 18:27:26 4872d77fe225: Waiting 18:27:26 988bab9f4d93: Waiting 18:27:26 1469e6f7b9e6: Waiting 18:27:26 eaf3925da568: Waiting 18:27:26 5851b861e8e6: Waiting 18:27:26 e2be974225ed: Verifying Checksum 18:27:26 e2be974225ed: Download complete 18:27:26 988bab9f4d93: Verifying Checksum 18:27:26 988bab9f4d93: Download complete 18:27:26 1469e6f7b9e6: Verifying Checksum 18:27:26 1469e6f7b9e6: Download complete 18:27:26 339a4e72a1f5: Verifying Checksum 18:27:26 339a4e72a1f5: Download complete 18:27:26 eaf3925da568: Verifying Checksum 18:27:26 eaf3925da568: Download complete 18:27:26 bde34c3a00c8: Verifying Checksum 18:27:26 bde34c3a00c8: Download complete 18:27:26 b352a97aabf1: Verifying Checksum 18:27:26 b352a97aabf1: Download complete 18:27:26 4872d77fe225: Verifying Checksum 18:27:26 4872d77fe225: Download complete 18:27:26 5851b861e8e6: Download complete 18:27:26 b85a868b505f: Verifying Checksum 18:27:26 b85a868b505f: Download complete 18:27:26 bab4dde63d76: Verifying Checksum 18:27:26 bab4dde63d76: Download complete 18:27:27 b85a868b505f: Pull complete 18:27:28 e2be974225ed: Pull complete 18:27:28 339a4e72a1f5: Pull complete 18:27:28 988bab9f4d93: Pull complete 18:27:28 1469e6f7b9e6: Pull complete 18:27:28 eaf3925da568: Pull complete 18:27:30 bab4dde63d76: Pull complete 18:27:30 bde34c3a00c8: Pull complete 18:27:31 b352a97aabf1: Pull complete 18:27:31 4872d77fe225: Pull complete 18:27:31 5851b861e8e6: Pull complete 18:27:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:27:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:31 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:27:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:27:34 $ docker top 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 -eo pid,comm 18:27:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:27:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:27:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:34 [ssh-agent] Looking for ssh-agent implementation... 18:27:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:34 $ docker exec 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 ssh-agent 18:27:34 SSH_AUTH_SOCK=/tmp/ssh-lApS0b4PnOIT/agent.33 18:27:34 SSH_AGENT_PID=39 18:27:34 Running ssh-add (command line suppressed) 18:27:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17754872496882739210.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17754872496882739210.key) 18:27:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:35 + git tag --points-at HEAD [Pipeline] } 18:27:35 $ docker exec --env ******** --env ******** 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 ssh-agent -k 18:27:35 unset SSH_AUTH_SOCK; 18:27:35 unset SSH_AGENT_PID; 18:27:35 echo Agent pid 39 killed; 18:27:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:27:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:35 [ssh-agent] Looking for ssh-agent implementation... 18:27:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:35 $ docker exec 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 ssh-agent 18:27:35 SSH_AUTH_SOCK=/tmp/ssh-PLqIwvHgGizS/agent.71 18:27:35 SSH_AGENT_PID=77 18:27:35 Running ssh-add (command line suppressed) 18:27:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17445224866121771878.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17445224866121771878.key) 18:27:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:35 + git semver init 18:27:36 2023-10-24 18:27:36,070 [run_init] DEBUG init version:0.0.0 force:False 18:27:36 2023-10-24 18:27:36,071 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:27:36 2023-10-24 18:27:36,071 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:27:36 2023-10-24 18:27:36,072 [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) 18:27:37 2023-10-24 18:27:37,008 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 18:27:37 2023-10-24 18:27:37,008 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 18:27:37 2023-10-24 18:27:37,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:27:37 2023-10-24 18:27:37,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:27:37 3.1.0-dev.20 [Pipeline] } 18:27:37 $ docker exec --env ******** --env ******** 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 ssh-agent -k 18:27:37 unset SSH_AUTH_SOCK; 18:27:37 unset SSH_AGENT_PID; 18:27:37 echo Agent pid 77 killed; 18:27:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:27:37 + git semver [Pipeline] } 18:27:37 $ docker stop --time=1 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 18:27:39 $ docker rm -f --volumes 4c269b978507f831fc8861e819e17541d6ec011b11fc3281311a188da6011c22 [Pipeline] // withDockerContainer [Pipeline] sh 18:27:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:27:39 Stashed 1 file(s) [Pipeline] echo 18:27:39 [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [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 18:27:39 provisioning config files... 18:27:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3941922215612119815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:40 ---> docker-login.sh 18:27:40 nexus3.edgexfoundry.org:10001 18:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:40 Configure a credential helper to remove this warning. See 18:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:40 18:27:40 Login Succeeded 18:27:40 nexus3.edgexfoundry.org:10002 18:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:40 Configure a credential helper to remove this warning. See 18:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:40 18:27:40 Login Succeeded 18:27:40 nexus3.edgexfoundry.org:10003 18:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:40 Configure a credential helper to remove this warning. See 18:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:40 18:27:40 Login Succeeded 18:27:40 nexus3.edgexfoundry.org:10004 18:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:40 Configure a credential helper to remove this warning. See 18:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:40 18:27:40 Login Succeeded 18:27:40 docker.io 18:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:40 Configure a credential helper to remove this warning. See 18:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:40 18:27:40 Login Succeeded 18:27:40 ---> docker-login.sh ends [Pipeline] } 18:27:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:27:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:40 ========================================================= 18:27:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:27:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:27:41 Sending build context to Docker daemon 6.524MB 18:27:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:27:41 Step 2/12 : FROM ${BASE} AS builder 18:27:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:27:41 7264a8db6415: Pulling fs layer 18:27:41 c4d48a809fc2: Pulling fs layer 18:27:41 4f1c88b9dad5: Pulling fs layer 18:27:41 ad3a456e5733: Pulling fs layer 18:27:41 33e27b845d1e: Pulling fs layer 18:27:41 c68163c4e522: Pulling fs layer 18:27:41 ad3a456e5733: Waiting 18:27:41 33e27b845d1e: Waiting 18:27:41 50da416c3ac9: Pulling fs layer 18:27:41 23d2d4c4bb30: Pulling fs layer 18:27:41 50da416c3ac9: Waiting 18:27:41 c68163c4e522: Waiting 18:27:41 23d2d4c4bb30: Waiting 18:27:41 c4d48a809fc2: Download complete 18:27:41 ad3a456e5733: Verifying Checksum 18:27:41 ad3a456e5733: Download complete 18:27:41 33e27b845d1e: Verifying Checksum 18:27:41 33e27b845d1e: Download complete 18:27:41 7264a8db6415: Verifying Checksum 18:27:41 7264a8db6415: Download complete 18:27:41 c68163c4e522: Verifying Checksum 18:27:41 c68163c4e522: Download complete 18:27:41 7264a8db6415: Pull complete 18:27:41 23d2d4c4bb30: Verifying Checksum 18:27:41 23d2d4c4bb30: Download complete 18:27:41 c4d48a809fc2: Pull complete 18:27:41 4f1c88b9dad5: Verifying Checksum 18:27:41 4f1c88b9dad5: Download complete 18:27:42 50da416c3ac9: Verifying Checksum 18:27:42 50da416c3ac9: Download complete 18:27:45 4f1c88b9dad5: Pull complete 18:27:45 ad3a456e5733: Pull complete 18:27:45 33e27b845d1e: Pull complete 18:27:45 c68163c4e522: Pull complete 18:27:47 50da416c3ac9: Pull complete 18:27:47 23d2d4c4bb30: Pull complete 18:27:47 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:27:47 ---> 0786185ac409 18:27:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:27:52 ---> Running in 08f399d1f685 18:27:52 Removing intermediate container 08f399d1f685 18:27:52 ---> 87caa94be4ef 18:27:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:27:52 ---> Running in 401c3d9fe2cc 18:27:52 Removing intermediate container 401c3d9fe2cc 18:27:52 ---> 04c8326bc649 18:27:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:27:52 ---> Running in 96731b4aba01 18:27:52 Removing intermediate container 96731b4aba01 18:27:52 ---> 6db663df2953 18:27:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:27:52 ---> Running in ddcae293a537 18:27:52 Removing intermediate container ddcae293a537 18:27:52 ---> f22d8bf91325 18:27:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:27:52 ---> Running in 4d8b47e9b37e 18:27:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:27:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:27:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:27:53 (2/4) Installing libedit (20221030.3.1-r1) 18:27:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:27:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:27:53 Executing busybox-1.36.1-r2.trigger 18:27:53 OK: 268 MiB in 56 packages 18:27:53 Removing intermediate container 4d8b47e9b37e 18:27:53 ---> 89b86f2010be 18:27:53 Step 8/12 : WORKDIR /device-mqtt-go 18:27:53 ---> Running in a20c34c760ce 18:27:53 Removing intermediate container a20c34c760ce 18:27:53 ---> 5ab8f5c9e221 18:27:53 Step 9/12 : COPY go.mod vendor* ./ 18:27:53 ---> 582a6eaf59c8 18:27:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:27:53 ---> Running in 27121d83e149 18:27:54 Still waiting to schedule task 18:27:54 ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-10134’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9984’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9985’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9986’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9988’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9989’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9990’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-8c-8g-9993’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10001’ is offline 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10002’ is offline 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10127’ is offline 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10128’ is offline 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9995’ is offline 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9997’ is offline 18:27:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9999’ is offline 18:28:50 Removing intermediate container 27121d83e149 18:28:50 ---> 404c72e599ce 18:28:50 Step 11/12 : COPY . . 18:28:50 ---> bde31c52005d 18:28:50 Step 12/12 : RUN $MAKE 18:28:50 ---> Running in d6ff76651cbf 18:28:50 noop 18:28:50 Removing intermediate container d6ff76651cbf 18:28:50 ---> 0405daf05cbb 18:28:50 Successfully built 0405daf05cbb 18:28:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:50 + docker inspect -f . ci-base-image-x86_64 18:28:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:50 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:28:51 $ docker top 645c155dc2ca276de0b6aec043b60292154dedb2fe00ef4dd805e1dbe8b2d4ab -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:52 + go version 18:28:52 go version go1.21.0 linux/amd64 [Pipeline] } 18:28:52 $ docker stop --time=1 645c155dc2ca276de0b6aec043b60292154dedb2fe00ef4dd805e1dbe8b2d4ab 18:28:53 $ docker rm -f --volumes 645c155dc2ca276de0b6aec043b60292154dedb2fe00ef4dd805e1dbe8b2d4ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:54 + docker inspect -f . ci-base-image-x86_64 18:28:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:54 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:28:54 $ docker top 9357dfd1a5212bc91c79c72e0d807ffb651dba83484beffe6de8a860b4d06f2a -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 18:28:55 + make test 18:28:55 go test ./... -coverprofile=coverage.out ./... 18:28:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:29:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:29:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:29:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 18:29:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10130 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 18:29:13 Running in /w/workspace/device-mqtt-go/148 [Pipeline] { [Pipeline] checkout 18:29:13 The recommended git tool is: git 18:29:14 go vet ./... 18:29:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:17 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:17 $ docker stop --time=1 9357dfd1a5212bc91c79c72e0d807ffb651dba83484beffe6de8a860b4d06f2a 18:29:19 using credential edgex-jenkins-ssh 18:29:19 Cloning the remote Git repository 18:29:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:29:19 > git init /w/workspace/device-mqtt-go/148 # timeout=10 18:29:20 $ docker rm -f --volumes 9357dfd1a5212bc91c79c72e0d807ffb651dba83484beffe6de8a860b4d06f2a [Pipeline] // withDockerContainer [Pipeline] sh 18:29:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:29:19 > git --version # timeout=10 18:29:19 > git --version # 'git version 2.25.1' 18:29:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:29:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:22 + ls -al . 18:29:22 total 184 18:29:22 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:28 . 18:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:27 .. 18:29:22 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 18:27 .dockerignore 18:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:29 .git 18:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:27 .github 18:29:22 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 18:27 .gitignore 18:29:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:27 .golangci.yml 18:29:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:27 .semver 18:29:22 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 24 18:27 Attribution.txt 18:29:22 -rw-rw-r-- 1 jenkins jenkins 17522 Oct 24 18:27 CHANGELOG.md 18:29:22 -rw-rw-r-- 1 jenkins jenkins 1689 Oct 24 18:27 Dockerfile 18:29:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:27 GOVERNANCE.md 18:29:22 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:27 Jenkinsfile 18:29:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:27 LICENSE 18:29:22 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 24 18:27 Makefile 18:29:22 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 18:27 OWNERS.md 18:29:22 -rw-rw-r-- 1 jenkins jenkins 3613 Oct 24 18:27 README.md 18:29:22 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:27 VERSION 18:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:27 bin 18:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:27 cmd 18:29:22 -rw-r--r-- 1 jenkins jenkins 18506 Oct 24 18:29 coverage.out 18:29:22 -rw-rw-r-- 1 jenkins jenkins 3822 Oct 24 18:27 go.mod 18:29:22 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 18:27 go.sum 18:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:27 internal 18:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:27 mock 18:29:22 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:22 Avoid second fetch 18:29:22 Checking out Revision e3ae1edce94ca0342fe1654abfca1e19ca67aac7 (main) 18:29:22 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e3ae1edce94ca0342fe1654abfca1e19ca67aac7 --label arch=amd64 --label version=3.1.0-dev.20 . 18:29:22 Sending build context to Docker daemon 6.543MB 18:29:22 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:29:22 Step 2/24 : FROM ${BASE} AS builder 18:29:22 ---> 0405daf05cbb 18:29:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:29:22 ---> Running in eabe357548c5 18:29:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:29:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:22 > git config core.sparsecheckout # timeout=10 18:29:22 > git checkout -f e3ae1edce94ca0342fe1654abfca1e19ca67aac7 # timeout=10 18:29:22 Removing intermediate container eabe357548c5 18:29:22 ---> 49c336e9fa95 18:29:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:29:22 ---> Running in a5c97b0d56dd 18:29:22 Removing intermediate container a5c97b0d56dd 18:29:22 ---> a8bfd2d31523 18:29:22 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:29:22 ---> Running in cfbb8292b814 18:29:22 Removing intermediate container cfbb8292b814 18:29:22 ---> 0917af6c975c 18:29:22 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:29:22 ---> Running in a2b5e7dc455f 18:29:22 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#636)" 18:29:22 Removing intermediate container a2b5e7dc455f 18:29:22 ---> 61376fc2770b 18:29:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:22 ---> Running in 27f03f94a387 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:29:23 OK: 268 MiB in 56 packages 18:29:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:29:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:29:23 Dload Upload Total Spent Left Speed 18:29:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 18:29:24 Removing intermediate container 27f03f94a387 18:29:24 ---> 105a5c79b0ec 18:29:24 Step 8/24 : WORKDIR /device-mqtt-go 18:29:24 ---> Running in e3cafa7ee7d4 18:29:24 Removing intermediate container e3cafa7ee7d4 18:29:24 ---> 1bb38aaa284d 18:29:24 Step 9/24 : COPY go.mod vendor* ./ 18:29:24 ---> 8d4ee1655ee0 18:29:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:24 ---> Running in ca75662c31d0 18:29:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:29:24 Removing intermediate container ca75662c31d0 18:29:24 ---> 3be7199b15d1 18:29:24 Step 11/24 : COPY . . 18:29:24 + sudo tee /etc/docker/daemon.new 18:29:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:29:24 { 18:29:24 "registry-mirrors": [ 18:29:24 "https://nexus3.edgexfoundry.org:10001" 18:29:24 ], 18:29:24 "bip": "10.250.0.254/24", 18:29:24 "hosts": [ 18:29:24 "tcp://0.0.0.0:5555", 18:29:24 "unix:///var/run/docker.sock" 18:29:24 ], 18:29:24 "mtu": 1458, 18:29:24 "selinux-enabled": true, 18:29:24 "seccomp-profile": "/etc/docker/seccomp.json" 18:29:24 } [Pipeline] sh 18:29:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:29:25 ---> 6e39fa8fc884 18:29:25 Step 12/24 : RUN $MAKE 18:29:25 ---> Running in 6deecc936bf1 18:29:25 + sudo service docker restart 18:29:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:29:43 Removing intermediate container 6deecc936bf1 18:29:43 ---> e592fcd85458 18:29:43 Step 13/24 : FROM alpine:3.18 18:29:43 3.18: Pulling from library/alpine 18:29:43 96526aa774ef: Pulling fs layer [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:43 provisioning config files... 18:29:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/148@tmp/config16881913270334167227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:44 96526aa774ef: Download complete 18:29:44 96526aa774ef: Pull complete 18:29:44 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:29:44 Status: Downloaded newer image for alpine:3.18 18:29:44 ---> 8ca4688f4f35 18:29:44 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:29:44 ---> docker-login.sh 18:29:44 nexus3.edgexfoundry.org:10001 18:29:44 ---> Running in 07d9818b8cde 18:29:44 Removing intermediate container 07d9818b8cde 18:29:44 ---> 9c634c21b818 18:29:44 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:29:44 ---> Running in 52c58edb8eb8 18:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:44 Configure a credential helper to remove this warning. See 18:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:44 18:29:44 Login Succeeded 18:29:44 nexus3.edgexfoundry.org:10002 18:29:45 (1/1) Installing dumb-init (1.2.5-r2) 18:29:45 Executing busybox-1.36.1-r2.trigger 18:29:45 OK: 7 MiB in 16 packages 18:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:45 Configure a credential helper to remove this warning. See 18:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:45 18:29:45 Login Succeeded 18:29:45 nexus3.edgexfoundry.org:10003 18:29:45 Removing intermediate container 52c58edb8eb8 18:29:45 ---> 5643bccbbde8 18:29:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:45 Configure a credential helper to remove this warning. See 18:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:45 18:29:45 Login Succeeded 18:29:45 nexus3.edgexfoundry.org:10004 18:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:46 Configure a credential helper to remove this warning. See 18:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:46 18:29:46 Login Succeeded 18:29:46 docker.io 18:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:46 ---> f781225c6e08 18:29:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:29:46 ---> 5a951e809bc3 18:29:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:29:46 ---> 4044ec3d64d6 18:29:46 Step 19/24 : EXPOSE 59982 18:29:46 ---> Running in cf114dba5d44 18:29:46 Removing intermediate container cf114dba5d44 18:29:46 ---> 0fc62efab5f2 18:29:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:46 Configure a credential helper to remove this warning. See 18:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:46 18:29:46 Login Succeeded 18:29:46 ---> docker-login.sh ends [Pipeline] } 18:29:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:29:46 ---> Running in e62583c86f09 18:29:46 Removing intermediate container e62583c86f09 18:29:46 ---> 6826ad143b66 18:29:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:29:46 ---> Running in 54ad227e2dba 18:29:46 Removing intermediate container 54ad227e2dba 18:29:46 ---> 7abfd88b732f 18:29:46 Step 22/24 : LABEL arch=amd64 18:29:46 ---> Running in a3638dcd5dd9 18:29:47 Removing intermediate container a3638dcd5dd9 18:29:47 ---> 00f9ce2c3385 18:29:47 Step 23/24 : LABEL git_sha=e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:29:47 ---> Running in 4a66ff096282 18:29:47 Removing intermediate container 4a66ff096282 18:29:47 ---> 5729125f19b4 18:29:47 Step 24/24 : LABEL version=3.1.0-dev.20 18:29:47 ---> Running in d6e225cb25af 18:29:47 Removing intermediate container d6e225cb25af 18:29:47 ---> 6c9a9bba43df 18:29:47 [Warning] One or more build-args [ARCH] were not consumed 18:29:47 Successfully built 6c9a9bba43df 18:29:47 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] echo 18:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:47 ========================================================= 18:29:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:29:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:47 provisioning config files... 18:29:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8211915521870172518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:29:47 ---> docker-login.sh 18:29:47 nexus3.edgexfoundry.org:10001 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 nexus3.edgexfoundry.org:10002 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 nexus3.edgexfoundry.org:10003 18:29:47 Sending build context to Docker daemon 3.355MB 18:29:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:29:47 Step 2/12 : FROM ${BASE} AS builder 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 nexus3.edgexfoundry.org:10004 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 docker.io 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:29:48 9fda8d8052c6: Pulling fs layer 18:29:48 5d54e960e981: Pulling fs layer 18:29:48 c4a7e357bf2a: Pulling fs layer 18:29:48 f0e02332f6b5: Pulling fs layer 18:29:48 cefa15bbcfad: Pulling fs layer 18:29:48 17808c966233: Pulling fs layer 18:29:48 f0e02332f6b5: Waiting 18:29:48 cefa15bbcfad: Waiting 18:29:48 f4c1fc716caa: Pulling fs layer 18:29:48 f4c1fc716caa: Waiting 18:29:48 17808c966233: Waiting 18:29:48 5d54e960e981: Verifying Checksum 18:29:48 5d54e960e981: Download complete 18:29:48 f0e02332f6b5: Verifying Checksum 18:29:48 f0e02332f6b5: Download complete 18:29:48 cefa15bbcfad: Verifying Checksum 18:29:48 cefa15bbcfad: Download complete 18:29:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:48 Configure a credential helper to remove this warning. See 18:29:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:48 18:29:48 Login Succeeded 18:29:48 ---> docker-login.sh ends [Pipeline] } 18:29:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:29:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:48 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 18:29:48 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:29:48 latest 18:29:48 3.1.0-dev.20 18:29:48 e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 18:29:48 main 18:29:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:48 9fda8d8052c6: Download complete 18:29:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:29:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:48 00c4c178ac30: Preparing 18:29:48 f66eac4dfef5: Preparing 18:29:48 020fd9b29479: Preparing 18:29:48 a28649dff55c: Preparing 18:29:48 cc2447e1835a: Preparing 18:29:48 cc2447e1835a: Layer already exists 18:29:48 a28649dff55c: Pushed 18:29:48 f66eac4dfef5: Pushed 18:29:48 00c4c178ac30: Pushed 18:29:49 9fda8d8052c6: Pull complete 18:29:49 f4c1fc716caa: Verifying Checksum 18:29:49 f4c1fc716caa: Download complete 18:29:49 5d54e960e981: Pull complete 18:29:50 c4a7e357bf2a: Verifying Checksum 18:29:50 c4a7e357bf2a: Download complete 18:29:51 020fd9b29479: Pushed 18:29:51 17808c966233: Verifying Checksum 18:29:51 17808c966233: Download complete 18:29:51 e3ae1edce94ca0342fe1654abfca1e19ca67aac7: digest: sha256:6a3ddee37c3f5fa7b86c72b5e270123f15bb4aedb003d11368b0948c60b63208 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:52 00c4c178ac30: Preparing 18:29:52 f66eac4dfef5: Preparing 18:29:52 020fd9b29479: Preparing 18:29:52 a28649dff55c: Preparing 18:29:52 cc2447e1835a: Preparing 18:29:52 cc2447e1835a: Layer already exists 18:29:52 020fd9b29479: Layer already exists 18:29:52 f66eac4dfef5: Layer already exists 18:29:52 a28649dff55c: Layer already exists 18:29:52 00c4c178ac30: Layer already exists 18:29:52 latest: digest: sha256:6a3ddee37c3f5fa7b86c72b5e270123f15bb4aedb003d11368b0948c60b63208 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.20 18:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:52 00c4c178ac30: Preparing 18:29:52 f66eac4dfef5: Preparing 18:29:52 020fd9b29479: Preparing 18:29:52 a28649dff55c: Preparing 18:29:52 cc2447e1835a: Preparing 18:29:52 cc2447e1835a: Layer already exists 18:29:52 a28649dff55c: Layer already exists 18:29:52 00c4c178ac30: Layer already exists 18:29:52 f66eac4dfef5: Layer already exists 18:29:52 020fd9b29479: Layer already exists 18:29:52 3.1.0-dev.20: digest: sha256:6a3ddee37c3f5fa7b86c72b5e270123f15bb4aedb003d11368b0948c60b63208 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 18:29:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:53 00c4c178ac30: Preparing 18:29:53 f66eac4dfef5: Preparing 18:29:53 020fd9b29479: Preparing 18:29:53 a28649dff55c: Preparing 18:29:53 cc2447e1835a: Preparing 18:29:53 020fd9b29479: Layer already exists 18:29:53 f66eac4dfef5: Layer already exists 18:29:53 a28649dff55c: Layer already exists 18:29:53 00c4c178ac30: Layer already exists 18:29:53 cc2447e1835a: Layer already exists 18:29:53 e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20: digest: sha256:6a3ddee37c3f5fa7b86c72b5e270123f15bb4aedb003d11368b0948c60b63208 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 18:29:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:54 00c4c178ac30: Preparing 18:29:54 f66eac4dfef5: Preparing 18:29:54 020fd9b29479: Preparing 18:29:54 a28649dff55c: Preparing 18:29:54 cc2447e1835a: Preparing 18:29:54 00c4c178ac30: Layer already exists 18:29:54 cc2447e1835a: Layer already exists 18:29:54 a28649dff55c: Layer already exists 18:29:54 020fd9b29479: Layer already exists 18:29:54 f66eac4dfef5: Layer already exists 18:29:54 main: digest: sha256:6a3ddee37c3f5fa7b86c72b5e270123f15bb4aedb003d11368b0948c60b63208 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:29:54 ===================================================== [Pipeline] echo 18:29:54 taggedImages: 18:29:54 - nexus3.edgexfoundry.org:10004/device-mqtt:e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:29:54 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:29:54 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.20 18:29:54 - nexus3.edgexfoundry.org:10004/device-mqtt:e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 18:29:54 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:54 18:29:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:54 latest: Pulling from edgex-lftools-log-publisher 18:29:54 5eb5b503b376: Pulling fs layer 18:29:54 5c69ac0246d0: Pulling fs layer 18:29:54 ec43610c2a17: Pulling fs layer 18:29:54 3a2ae6a8a46f: Pulling fs layer 18:29:54 33b1e0a273af: Pulling fs layer 18:29:54 5d3b04190fa2: Pulling fs layer 18:29:54 2f39f015ded8: Pulling fs layer 18:29:54 5d3b04190fa2: Waiting 18:29:54 3a2ae6a8a46f: Waiting 18:29:54 33b1e0a273af: Waiting 18:29:54 2f39f015ded8: Waiting 18:29:54 5c69ac0246d0: Verifying Checksum 18:29:54 5c69ac0246d0: Download complete 18:29:54 3a2ae6a8a46f: Verifying Checksum 18:29:54 3a2ae6a8a46f: Download complete 18:29:54 33b1e0a273af: Verifying Checksum 18:29:54 33b1e0a273af: Download complete 18:29:54 5d3b04190fa2: Download complete 18:29:54 ec43610c2a17: Verifying Checksum 18:29:54 ec43610c2a17: Download complete 18:29:55 5eb5b503b376: Verifying Checksum 18:29:55 5eb5b503b376: Download complete 18:29:55 2f39f015ded8: Download complete 18:29:56 5eb5b503b376: Pull complete 18:29:56 5c69ac0246d0: Pull complete 18:29:56 ec43610c2a17: Pull complete 18:29:56 3a2ae6a8a46f: Pull complete 18:29:57 33b1e0a273af: Pull complete 18:29:57 5d3b04190fa2: Pull complete 18:30:01 2f39f015ded8: Pull complete 18:30:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:01 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:30:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:30:04 c4a7e357bf2a: Pull complete 18:30:04 f0e02332f6b5: Pull complete 18:30:04 cefa15bbcfad: Pull complete 18:30:06 $ docker top 7831be6ac9d37a42499f64a25972945f7bc80f4190a290338b340d21cc3ba73f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:06 ---> job-cost.sh 18:30:06 lf-activate-venv: SKIPPING 18:30:06 INFO: No Stack... 18:30:07 INFO: Retrieving Pricing Info for: v3-standard-8 18:30:07 INFO: Archiving Costs [Pipeline] sh 18:30:07 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 18:30:07 + cut -d, -f6 [Pipeline] lock 18:30:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] 18:30:07 Resource [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] did not exist. Created. 18:30:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:30:08 + echo total: 0.2199999988079071 [Pipeline] stash 18:30:08 Stashed 1 file(s) [Pipeline] } 18:30:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] [Pipeline] // lock [Pipeline] } 18:30:08 $ docker stop --time=1 7831be6ac9d37a42499f64a25972945f7bc80f4190a290338b340d21cc3ba73f 18:30:09 $ docker rm -f --volumes 7831be6ac9d37a42499f64a25972945f7bc80f4190a290338b340d21cc3ba73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:30:14 17808c966233: Pull complete 18:30:15 f4c1fc716caa: Pull complete 18:30:15 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:30:15 ---> ea914061e18c 18:30:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:30:16 ---> Running in a917702a0f26 18:30:16 Removing intermediate container a917702a0f26 18:30:16 ---> a808fd00a3be 18:30:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:30:16 ---> Running in 125c582fab18 18:30:17 Removing intermediate container 125c582fab18 18:30:17 ---> 2d2b3ab8e2b3 18:30:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:30:17 ---> Running in 02c55eb2b2ef 18:30:17 Removing intermediate container 02c55eb2b2ef 18:30:17 ---> 207c48765db6 18:30:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:30:17 ---> Running in 028e2bc65851 18:30:17 Removing intermediate container 028e2bc65851 18:30:17 ---> da191bd6ec76 18:30:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:30:18 ---> Running in 6a0bf272b576 18:30:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:30:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:30:21 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:30:21 (2/4) Installing libedit (20221030.3.1-r1) 18:30:21 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:30:21 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:30:21 Executing busybox-1.36.1-r2.trigger 18:30:21 OK: 270 MiB in 56 packages 18:30:22 Removing intermediate container 6a0bf272b576 18:30:22 ---> ea03374807f7 18:30:22 Step 8/12 : WORKDIR /device-mqtt-go 18:30:22 ---> Running in 6af0c2d862ff 18:30:22 Removing intermediate container 6af0c2d862ff 18:30:22 ---> 84fd55888ce9 18:30:22 Step 9/12 : COPY go.mod vendor* ./ 18:30:23 ---> 359ba8db0882 18:30:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:30:23 ---> Running in 974791a89cfd 18:32:00 Removing intermediate container 974791a89cfd 18:32:00 ---> 8c9b5e91f9fc 18:32:00 Step 11/12 : COPY . . 18:32:00 ---> f858c3a18fdc 18:32:00 Step 12/12 : RUN $MAKE 18:32:00 ---> Running in 9f38bca66200 18:32:00 noop 18:32:00 Removing intermediate container 9f38bca66200 18:32:00 ---> fcbb28269e03 18:32:00 Successfully built fcbb28269e03 18:32:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:00 + docker inspect -f . ci-base-image-arm64 18:32:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:01 prd-ubuntu20.04-docker-arm64-4c-16g-10130 does not seem to be running inside a container 18:32:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/148 -v /w/workspace/device-mqtt-go/148:/w/workspace/device-mqtt-go/148:rw,z -v /w/workspace/device-mqtt-go/148@tmp:/w/workspace/device-mqtt-go/148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:32:02 $ docker top 85665701231b308aa63b5f2c8e4b55eb82107c520d77ebfb1c320bdbaaae08eb -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:03 + go version 18:32:03 go version go1.21.0 linux/arm64 [Pipeline] } 18:32:03 $ docker stop --time=1 85665701231b308aa63b5f2c8e4b55eb82107c520d77ebfb1c320bdbaaae08eb 18:32:05 $ docker rm -f --volumes 85665701231b308aa63b5f2c8e4b55eb82107c520d77ebfb1c320bdbaaae08eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:05 + docker inspect -f . ci-base-image-arm64 18:32:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:06 prd-ubuntu20.04-docker-arm64-4c-16g-10130 does not seem to be running inside a container 18:32: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/148 -v /w/workspace/device-mqtt-go/148:/w/workspace/device-mqtt-go/148:rw,z -v /w/workspace/device-mqtt-go/148@tmp:/w/workspace/device-mqtt-go/148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:32:07 $ docker top 0905ff7f7893d0c2587d2a40d32d77b961895d041735d2f8b7cd180b3583c65b -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/148 [Pipeline] fileExists [Pipeline] sh 18:32:09 + make test 18:32:09 go test ./... -coverprofile=coverage.out ./... 18:32:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:34:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:34:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:34:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 22.8% of statements 18:34:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:34:36 go vet ./... 18:34:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:34:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:34:54 ./bin/test-attribution-txt.sh [Pipeline] echo 18:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:34:54 $ docker stop --time=1 0905ff7f7893d0c2587d2a40d32d77b961895d041735d2f8b7cd180b3583c65b 18:34:58 $ docker rm -f --volumes 0905ff7f7893d0c2587d2a40d32d77b961895d041735d2f8b7cd180b3583c65b [Pipeline] // withDockerContainer [Pipeline] sh 18:34:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:34:59 Warning: overwriting stash ‘coverage-report’ 18:34:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:35:00 + ls -al . 18:35:00 total 180 18:35:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:32 . 18:35:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:29 .. 18:35:00 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 18:29 .dockerignore 18:35:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:29 .git 18:35:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 .github 18:35:00 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 18:29 .gitignore 18:35:00 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:29 .golangci.yml 18:35:00 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 24 18:29 Attribution.txt 18:35:00 -rw-rw-r-- 1 jenkins jenkins 17522 Oct 24 18:29 CHANGELOG.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 1689 Oct 24 18:29 Dockerfile 18:35:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:29 GOVERNANCE.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:29 Jenkinsfile 18:35:00 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:29 LICENSE 18:35:00 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 24 18:29 Makefile 18:35:00 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 18:29 OWNERS.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 3613 Oct 24 18:29 README.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:27 VERSION 18:35:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:29 bin 18:35:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 cmd 18:35:00 -rw-r--r-- 1 jenkins jenkins 18506 Oct 24 18:34 coverage.out 18:35:00 -rw-rw-r-- 1 jenkins jenkins 3822 Oct 24 18:29 go.mod 18:35:00 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 18:29 go.sum 18:35:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 internal 18:35:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:29 mock 18:35:00 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:00 + 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=e3ae1edce94ca0342fe1654abfca1e19ca67aac7 --label arch=arm64 --label version=3.1.0-dev.20 . 18:35:01 Sending build context to Docker daemon 3.374MB 18:35:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:35:01 Step 2/24 : FROM ${BASE} AS builder 18:35:01 ---> fcbb28269e03 18:35:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:35:01 ---> Running in 0e13d6897c38 18:35:01 Removing intermediate container 0e13d6897c38 18:35:01 ---> a5ceb3687a22 18:35:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:35:02 ---> Running in fbdf8def2604 18:35:02 Removing intermediate container fbdf8def2604 18:35:02 ---> 54dce202a859 18:35:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:35:02 ---> Running in d692abac0d32 18:35:02 Removing intermediate container d692abac0d32 18:35:02 ---> f899007e06c4 18:35:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:35:02 ---> Running in 13c4efdcdadd 18:35:03 Removing intermediate container 13c4efdcdadd 18:35:03 ---> 47f1b295dc28 18:35:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:03 ---> Running in fa5d96407b08 18:35:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:35:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:35:06 OK: 270 MiB in 56 packages 18:35:07 Removing intermediate container fa5d96407b08 18:35:07 ---> bea1e1dcce34 18:35:07 Step 8/24 : WORKDIR /device-mqtt-go 18:35:07 ---> Running in f8308b69bbf1 18:35:07 Removing intermediate container f8308b69bbf1 18:35:07 ---> 14dae14785c6 18:35:07 Step 9/24 : COPY go.mod vendor* ./ 18:35:11 ---> 2ddcca62015c 18:35:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:11 ---> Running in 6d53da44f89c 18:35:13 Removing intermediate container 6d53da44f89c 18:35:13 ---> 0bb532b5b852 18:35:13 Step 11/24 : COPY . . 18:35:14 ---> b0a453f62933 18:35:14 Step 12/24 : RUN $MAKE 18:35:14 ---> Running in 2fdecdd11301 18:35:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:37:37 Removing intermediate container 2fdecdd11301 18:37:37 ---> 228f6a99e958 18:37:37 Step 13/24 : FROM alpine:3.18 18:37:37 3.18: Pulling from library/alpine 18:37:37 579b34f0a95b: Pulling fs layer 18:37:37 579b34f0a95b: Verifying Checksum 18:37:37 579b34f0a95b: Download complete 18:37:37 579b34f0a95b: Pull complete 18:37:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:37:37 Status: Downloaded newer image for alpine:3.18 18:37:37 ---> 3cc203321400 18:37:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:37:37 ---> Running in 1007f10591da 18:37:37 Removing intermediate container 1007f10591da 18:37:37 ---> 577fe45fb999 18:37:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:37:37 ---> Running in 84e4afb46d90 18:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:37:37 (1/1) Installing dumb-init (1.2.5-r2) 18:37:37 Executing busybox-1.36.1-r2.trigger 18:37:37 OK: 8 MiB in 16 packages 18:37:37 Removing intermediate container 84e4afb46d90 18:37:37 ---> 0579c9e50f15 18:37:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:37:39 ---> 0c132b798e78 18:37:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:37:40 ---> 96a4553cf1d7 18:37:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:37:40 ---> f80457bb9881 18:37:40 Step 19/24 : EXPOSE 59982 18:37:40 ---> Running in 10dd7114b385 18:37:41 Removing intermediate container 10dd7114b385 18:37:41 ---> b0c8b035fccb 18:37:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:37:41 ---> Running in b0b520aaf83b 18:37:41 Removing intermediate container b0b520aaf83b 18:37:41 ---> 2c390477a69e 18:37:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:37:41 ---> Running in 38c173de3518 18:37:42 Removing intermediate container 38c173de3518 18:37:42 ---> 50181a5cda67 18:37:42 Step 22/24 : LABEL arch=arm64 18:37:42 ---> Running in aa2ad0254a9d 18:37:42 Removing intermediate container aa2ad0254a9d 18:37:42 ---> 65f0fc01e2f6 18:37:42 Step 23/24 : LABEL git_sha=e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:37:42 ---> Running in 390ecd31bd49 18:37:43 Removing intermediate container 390ecd31bd49 18:37:43 ---> 6a035cd01c4b 18:37:43 Step 24/24 : LABEL version=3.1.0-dev.20 18:37:43 ---> Running in cebba1cb5bed 18:37:43 Removing intermediate container cebba1cb5bed 18:37:43 ---> 7c72c58ecfab 18:37:43 [Warning] One or more build-args [ARCH] were not consumed 18:37:43 Successfully built 7c72c58ecfab 18:37:43 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 18:37:43 provisioning config files... 18:37:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/148@tmp/config15974835200364973111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:44 ---> docker-login.sh 18:37:44 nexus3.edgexfoundry.org:10001 18:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:44 Configure a credential helper to remove this warning. See 18:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:44 18:37:44 Login Succeeded 18:37:44 nexus3.edgexfoundry.org:10002 18:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:44 Configure a credential helper to remove this warning. See 18:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:44 18:37:44 Login Succeeded 18:37:44 nexus3.edgexfoundry.org:10003 18:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:45 Configure a credential helper to remove this warning. See 18:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:45 18:37:45 Login Succeeded 18:37:45 nexus3.edgexfoundry.org:10004 18:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:45 Configure a credential helper to remove this warning. See 18:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:45 18:37:45 Login Succeeded 18:37:45 docker.io 18:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:46 Configure a credential helper to remove this warning. See 18:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:46 18:37:46 Login Succeeded 18:37:46 ---> docker-login.sh ends [Pipeline] } 18:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:46 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:37:46 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:37:46 latest 18:37:46 3.1.0-dev.20 18:37:46 e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 18:37:46 main 18:37:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:37:47 a24b343b5043: Preparing 18:37:47 2f6ac2c4158d: Preparing 18:37:47 e43fda843376: Preparing 18:37:47 38fc7459871e: Preparing 18:37:47 5f4d9fc4d98d: Preparing 18:37:47 5f4d9fc4d98d: Layer already exists 18:37:47 2f6ac2c4158d: Pushed 18:37:47 a24b343b5043: Pushed 18:37:47 38fc7459871e: Pushed 18:37:53 e43fda843376: Pushed 18:37:53 e3ae1edce94ca0342fe1654abfca1e19ca67aac7: digest: sha256:1c7b03e8c9521ed7ffc6a045f8da4c025a906ba91ac38e3e9d4f3a55fc8ca083 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:37:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:37:54 a24b343b5043: Preparing 18:37:54 2f6ac2c4158d: Preparing 18:37:54 e43fda843376: Preparing 18:37:54 38fc7459871e: Preparing 18:37:54 5f4d9fc4d98d: Preparing 18:37:54 38fc7459871e: Layer already exists 18:37:54 5f4d9fc4d98d: Layer already exists 18:37:54 a24b343b5043: Layer already exists 18:37:54 2f6ac2c4158d: Layer already exists 18:37:54 e43fda843376: Layer already exists 18:37:54 latest: digest: sha256:1c7b03e8c9521ed7ffc6a045f8da4c025a906ba91ac38e3e9d4f3a55fc8ca083 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.20 18:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:37:55 a24b343b5043: Preparing 18:37:55 2f6ac2c4158d: Preparing 18:37:55 e43fda843376: Preparing 18:37:55 38fc7459871e: Preparing 18:37:55 5f4d9fc4d98d: Preparing 18:37:55 e43fda843376: Layer already exists 18:37:55 38fc7459871e: Layer already exists 18:37:55 5f4d9fc4d98d: Layer already exists 18:37:55 2f6ac2c4158d: Layer already exists 18:37:56 a24b343b5043: Layer already exists 18:37:56 3.1.0-dev.20: digest: sha256:1c7b03e8c9521ed7ffc6a045f8da4c025a906ba91ac38e3e9d4f3a55fc8ca083 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 18:37:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:37:56 a24b343b5043: Preparing 18:37:56 2f6ac2c4158d: Preparing 18:37:56 e43fda843376: Preparing 18:37:56 38fc7459871e: Preparing 18:37:56 5f4d9fc4d98d: Preparing 18:37:56 2f6ac2c4158d: Layer already exists 18:37:56 e43fda843376: Layer already exists 18:37:56 38fc7459871e: Layer already exists 18:37:56 a24b343b5043: Layer already exists 18:37:56 5f4d9fc4d98d: Layer already exists 18:37:57 e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20: digest: sha256:1c7b03e8c9521ed7ffc6a045f8da4c025a906ba91ac38e3e9d4f3a55fc8ca083 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:37:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:37:59 a24b343b5043: Preparing 18:37:59 2f6ac2c4158d: Preparing 18:37:59 e43fda843376: Preparing 18:37:59 38fc7459871e: Preparing 18:37:59 5f4d9fc4d98d: Preparing 18:37:59 e43fda843376: Layer already exists 18:37:59 38fc7459871e: Layer already exists 18:37:59 5f4d9fc4d98d: Layer already exists 18:37:59 2f6ac2c4158d: Layer already exists 18:37:59 a24b343b5043: Layer already exists 18:38:00 main: digest: sha256:1c7b03e8c9521ed7ffc6a045f8da4c025a906ba91ac38e3e9d4f3a55fc8ca083 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:38:00 ===================================================== [Pipeline] echo 18:38:00 taggedImages: 18:38:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3ae1edce94ca0342fe1654abfca1e19ca67aac7 18:38:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:38:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.20 18:38:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e3ae1edce94ca0342fe1654abfca1e19ca67aac7-3.1.0-dev.20 18:38:00 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:38:00 18:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:38:01 arm64: Pulling from edgex-lftools-log-publisher 18:38:01 8998bd30e6a1: Pulling fs layer 18:38:01 04944245beec: Pulling fs layer 18:38:01 699f458cf7ca: Pulling fs layer 18:38:01 765212b225bb: Pulling fs layer 18:38:01 f23df028b6ca: Pulling fs layer 18:38:01 d65c8cfc05b1: Pulling fs layer 18:38:01 2437ff75d9bd: Pulling fs layer 18:38:01 f23df028b6ca: Waiting 18:38:01 d65c8cfc05b1: Waiting 18:38:01 2437ff75d9bd: Waiting 18:38:01 765212b225bb: Waiting 18:38:01 04944245beec: Verifying Checksum 18:38:01 04944245beec: Download complete 18:38:01 765212b225bb: Verifying Checksum 18:38:01 765212b225bb: Download complete 18:38:01 f23df028b6ca: Verifying Checksum 18:38:01 f23df028b6ca: Download complete 18:38:01 d65c8cfc05b1: Verifying Checksum 18:38:01 d65c8cfc05b1: Download complete 18:38:01 699f458cf7ca: Verifying Checksum 18:38:01 699f458cf7ca: Download complete 18:38:01 8998bd30e6a1: Verifying Checksum 18:38:01 8998bd30e6a1: Download complete 18:38:05 2437ff75d9bd: Verifying Checksum 18:38:05 2437ff75d9bd: Download complete 18:38:06 8998bd30e6a1: Pull complete 18:38:07 04944245beec: Pull complete 18:38:09 699f458cf7ca: Pull complete 18:38:09 765212b225bb: Pull complete 18:38:10 f23df028b6ca: Pull complete 18:38:10 d65c8cfc05b1: Pull complete 18:38:28 2437ff75d9bd: Pull complete 18:38:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:38:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:38:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:29 prd-ubuntu20.04-docker-arm64-4c-16g-10130 does not seem to be running inside a container 18:38:29 $ 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/148 -v /w/workspace/device-mqtt-go/148:/w/workspace/device-mqtt-go/148:rw,z -v /w/workspace/device-mqtt-go/148@tmp:/w/workspace/device-mqtt-go/148@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:arm64 cat 18:38:32 $ docker top 4a318dfd6b94fd72d316d0a254aacece4bab1f209fe90dd626f513c6619cba05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:33 ---> job-cost.sh 18:38:33 lf-activate-venv: SKIPPING 18:38:33 INFO: No Stack... 18:38:34 INFO: Retrieving Pricing Info for: v3-standard-4 18:38:35 INFO: Archiving Costs [Pipeline] sh 18:38:35 + cat /w/workspace/device-mqtt-go/148/archives/cost.csv 18:38:35 + cut -d, -f6 [Pipeline] lock 18:38:35 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] 18:38:35 Resource [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] did not exist. Created. 18:38:35 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:38:36 /w/workspace/device-mqtt-go/148@tmp/durable-f69ecdaf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:38:37 + echo total: 0.10999999940395355 [Pipeline] stash 18:38:37 Warning: overwriting stash ‘stack-cost’ 18:38:37 Stashed 1 file(s) [Pipeline] } 18:38:37 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-148-stack-cost] [Pipeline] // lock [Pipeline] } 18:38:37 $ docker stop --time=1 4a318dfd6b94fd72d316d0a254aacece4bab1f209fe90dd626f513c6619cba05 18:38:40 $ docker rm -f --volumes 4a318dfd6b94fd72d316d0a254aacece4bab1f209fe90dd626f513c6619cba05 [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 18:38:40 provisioning config files... 18:38:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12257071779640570784tmp [Pipeline] { [Pipeline] sh 18:38:41 + set +x 18:38:41 + bash -s -- 18:38:41 + curl -s https://codecov.io/bash 18:38:41 18:38:41 _____ _ 18:38:41 / ____| | | 18:38:41 | | ___ __| | ___ ___ _____ __ 18:38:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:38:41 | |___| (_) | (_| | __/ (_| (_) \ V / 18:38:41 \_____\___/ \__,_|\___|\___\___/ \_/ 18:38:41 Bash-1.0.6 18:38:41 18:38:41 18:38:41 ==> git version 2.25.1 found 18:38:41 ==> 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 18:38:41 Release-Date: 2020-01-08 18:38:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:38:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:38:41 ==> Jenkins CI detected. 18:38:41 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 18:38:41 project root: . 18:38:41 --> token set from env 18:38:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:38:41 ==> Running gcov in . (disable via -X gcov) 18:38:41 ==> Python coveragepy not found 18:38:41 ==> Searching for coverage reports in: 18:38:41 + . 18:38:41 -> Found 1 reports 18:38:41 ==> Detecting git/mercurial file structure 18:38:41 ==> Reading reports 18:38:41 + ./coverage.out bytes=18506 18:38:41 ==> Appending adjustments 18:38:41 https://docs.codecov.io/docs/fixing-reports 18:38:41 + Found adjustments 18:38:41 ==> Gzipping contents 18:38:41 4.0K /tmp/codecov.pZq8tZ.gz 18:38:41 ==> Uploading reports 18:38:41 url: https://codecov.io 18:38:41 query: branch=main&commit=e3ae1edce94ca0342fe1654abfca1e19ca67aac7&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:38:41 -> Pinging Codecov 18:38:41 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=e3ae1edce94ca0342fe1654abfca1e19ca67aac7&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:38:41 -> Uploading to 18:38:41 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/7D719EC7BBE17E464838252E33014C33/e3ae1edce94ca0342fe1654abfca1e19ca67aac7/0c143859-8f27-498a-a6d2-0f6115600cf6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T183841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0442940e7eb4da6bc5dce41f67c87bdda23a4300ee810453276cff56bac2b64a 18:38:41 % Total % Received % Xferd Average Speed Time Time Time Current 18:38:41 Dload Upload Total Spent Left Speed 18:38:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 10300 --:--:-- --:--:-- --:--:-- 10300 18:38:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] } 18:38:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:38:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:38:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:38:42 18:38:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:38:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:38:42 df9b9388f04a: Pulling fs layer 18:38:42 52dc419b0ee2: Pulling fs layer 18:38:42 25bc292e5bac: Pulling fs layer 18:38:42 114826534d7a: Pulling fs layer 18:38:42 4657fd5d0bcf: Pulling fs layer 18:38:42 6ad1cebc031e: Pulling fs layer 18:38:42 8a3aa393b2d8: Pulling fs layer 18:38:42 4657fd5d0bcf: Waiting 18:38:42 6ad1cebc031e: Waiting 18:38:42 8a3aa393b2d8: Waiting 18:38:42 114826534d7a: Waiting 18:38:42 25bc292e5bac: Verifying Checksum 18:38:42 25bc292e5bac: Download complete 18:38:42 52dc419b0ee2: Verifying Checksum 18:38:42 52dc419b0ee2: Download complete 18:38:42 4657fd5d0bcf: Verifying Checksum 18:38:42 4657fd5d0bcf: Download complete 18:38:42 df9b9388f04a: Verifying Checksum 18:38:42 df9b9388f04a: Download complete 18:38:43 6ad1cebc031e: Verifying Checksum 18:38:43 6ad1cebc031e: Download complete 18:38:43 df9b9388f04a: Pull complete 18:38:43 52dc419b0ee2: Pull complete 18:38:43 25bc292e5bac: Pull complete 18:38:43 114826534d7a: Verifying Checksum 18:38:43 114826534d7a: Download complete 18:38:43 8a3aa393b2d8: Verifying Checksum 18:38:43 8a3aa393b2d8: Download complete 18:38:46 114826534d7a: Pull complete 18:38:46 4657fd5d0bcf: Pull complete 18:38:47 6ad1cebc031e: Pull complete 18:38:49 8a3aa393b2d8: Pull complete 18:38:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:38:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:38:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:49 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:38:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:38:53 $ docker top 36c6e1527c30188705625474005416f40d848213d94ab9e8136a70cd16b456cb -eo pid,comm [Pipeline] { [Pipeline] echo 18:38:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 18:38:54 + set -o pipefail 18:38:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 18:39:00 18:39:00 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 18:39:00 18:39:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/cea3a9e7-2d46-4b74-ab34-f3f4d099c2d8 18:39:00 18:39:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:39:00 18:39:02 18:39:02 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:39:02 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:39:02 More details here: https://snyk.co/ue1NS [Pipeline] } 18:39:02 $ docker stop --time=1 36c6e1527c30188705625474005416f40d848213d94ab9e8136a70cd16b456cb 18:39:06 $ docker rm -f --volumes 36c6e1527c30188705625474005416f40d848213d94ab9e8136a70cd16b456cb [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 18:39:07 + git log --format=format:%s -1 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 [Pipeline] sh 18:39:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:08 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:39:08 $ docker top bfcecf66f6056b98336d69dc8f1e6c36861f76e1e8d27420e40f890735af7f5a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:08 [ssh-agent] Looking for ssh-agent implementation... 18:39:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:08 $ docker exec bfcecf66f6056b98336d69dc8f1e6c36861f76e1e8d27420e40f890735af7f5a ssh-agent 18:39:08 SSH_AUTH_SOCK=/tmp/ssh-qINdC55EGOTw/agent.33 18:39:08 SSH_AGENT_PID=39 18:39:08 Running ssh-add (command line suppressed) 18:39:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8227043421357343206.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8227043421357343206.key) 18:39:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:09 + git semver tag 18:39:09 2023-10-24 18:39:09,369 [run_tag] DEBUG tag force:False 18:39:09 2023-10-24 18:39:09,369 [check_head_tag] DEBUG check head tag 18:39:09 2023-10-24 18:39:09,370 [execute] INFO git cat-file --batch-check 18:39:09 2023-10-24 18:39:09,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:39:09 2023-10-24 18:39:09,373 [execute] INFO git cat-file --batch 18:39:09 2023-10-24 18:39:09,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:39:09 2023-10-24 18:39:09,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:09 2023-10-24 18:39:09,383 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 18:39:09 2023-10-24 18:39:09,383 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 18:39:09 2023-10-24 18:39:09,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:09 3.1.0-dev.20 [Pipeline] } 18:39:09 $ docker exec --env ******** --env ******** bfcecf66f6056b98336d69dc8f1e6c36861f76e1e8d27420e40f890735af7f5a ssh-agent -k 18:39:09 unset SSH_AUTH_SOCK; 18:39:09 unset SSH_AGENT_PID; 18:39:09 echo Agent pid 39 killed; 18:39:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:09 + git semver [Pipeline] } 18:39:10 $ docker stop --time=1 bfcecf66f6056b98336d69dc8f1e6c36861f76e1e8d27420e40f890735af7f5a 18:39:11 $ docker rm -f --volumes bfcecf66f6056b98336d69dc8f1e6c36861f76e1e8d27420e40f890735af7f5a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:39:11 18:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:39:12 0.23.1-centos7: Pulling from edgex-lftools 18:39:12 ab5ef0e58194: Pulling fs layer 18:39:12 9712f1f96733: Pulling fs layer 18:39:12 63f879dbbcfc: Pulling fs layer 18:39:12 0d9ebad4ef96: Pulling fs layer 18:39:12 e9a5061849ea: Pulling fs layer 18:39:12 d747dcd14b5f: Pulling fs layer 18:39:12 2de7ff778b66: Pulling fs layer 18:39:12 e9a5061849ea: Waiting 18:39:12 d747dcd14b5f: Waiting 18:39:12 2de7ff778b66: Waiting 18:39:12 0d9ebad4ef96: Waiting 18:39:12 9712f1f96733: Download complete 18:39:12 63f879dbbcfc: Verifying Checksum 18:39:12 63f879dbbcfc: Download complete 18:39:12 e9a5061849ea: Verifying Checksum 18:39:12 e9a5061849ea: Download complete 18:39:12 d747dcd14b5f: Verifying Checksum 18:39:12 d747dcd14b5f: Download complete 18:39:12 0d9ebad4ef96: Verifying Checksum 18:39:12 0d9ebad4ef96: Download complete 18:39:12 ab5ef0e58194: Download complete 18:39:12 2de7ff778b66: Verifying Checksum 18:39:12 2de7ff778b66: Download complete 18:39:15 ab5ef0e58194: Pull complete 18:39:15 9712f1f96733: Pull complete 18:39:15 63f879dbbcfc: Pull complete 18:39:19 0d9ebad4ef96: Pull complete 18:39:19 e9a5061849ea: Pull complete 18:39:19 d747dcd14b5f: Pull complete 18:39:20 2de7ff778b66: Pull complete 18:39:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:39:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:39:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:20 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:39:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:39:26 $ docker top 694a47171dd3eb4539d7b3106deb2e0c973f9907c1f39c893ec550f572004692 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:39:26 provisioning config files... 18:39:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16748695826866918445tmp 18:39:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3734226390369928343tmp 18:39:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5086403938588801619tmp [Pipeline] { [Pipeline] echo 18:39:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:39:26 ---> sigul-configuration.sh 18:39:26 gpg: directory `/root/.gnupg' created 18:39:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:39:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:39:26 gpg: keyring `/root/.gnupg/secring.gpg' created 18:39:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:39:26 gpg: CAST5 encrypted data 18:39:26 gpg: encrypted with 1 passphrase 18:39:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:39:26 + mkdir /home/jenkins 18:39:26 + mkdir /home/jenkins/sigul [Pipeline] sh 18:39:27 + 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 18:39:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:39:27 ---> sigul-install.sh 18:39:27 Sigul already installed; skipping installation. [Pipeline] sh 18:39:27 + git tag --list 18:39:27 0.7.1 18:39:27 v1.0.0 18:39:27 v1.1.0 18:39:27 v1.1.1 18:39:27 v1.2.2 18:39:27 v1.3.0 18:39:27 v1.3.1 18:39:27 v2.0.0 18:39:27 v2.1.0 18:39:27 v2.1.1 18:39:27 v2.2.0 18:39:27 v2.3.0 18:39:27 v3.0 18:39:27 v3.0.0 18:39:27 v3.1.0-dev.1 18:39:27 v3.1.0-dev.10 18:39:27 v3.1.0-dev.11 18:39:27 v3.1.0-dev.12 18:39:27 v3.1.0-dev.13 18:39:27 v3.1.0-dev.14 18:39:27 v3.1.0-dev.15 18:39:27 v3.1.0-dev.16 18:39:27 v3.1.0-dev.17 18:39:27 v3.1.0-dev.18 18:39:27 v3.1.0-dev.19 18:39:27 v3.1.0-dev.2 18:39:27 v3.1.0-dev.20 18:39:27 v3.1.0-dev.3 18:39:27 v3.1.0-dev.4 18:39:27 v3.1.0-dev.5 18:39:27 v3.1.0-dev.6 18:39:27 v3.1.0-dev.7 18:39:27 v3.1.0-dev.8 18:39:27 v3.1.0-dev.9 [Pipeline] sh 18:39:27 + lftools sign git-tag v3.1.0-dev.20 18:39:28 Signing Git tag with Sigul... 18:39:28 Signing v3.1.0-dev.20 [Pipeline] echo 18:39:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:39:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:39:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:39:29 $ docker stop --time=1 694a47171dd3eb4539d7b3106deb2e0c973f9907c1f39c893ec550f572004692 18:39:30 $ docker rm -f --volumes 694a47171dd3eb4539d7b3106deb2e0c973f9907c1f39c893ec550f572004692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:39:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:31 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:39:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:39:31 $ docker top 69a21c3f3360e59ab7e8e9a8b13495c50badf6366eaeaa835452a5a3da906c6b -eo pid,comm 18:39:31 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). 18:39:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:31 [ssh-agent] Looking for ssh-agent implementation... 18:39:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:31 $ docker exec 69a21c3f3360e59ab7e8e9a8b13495c50badf6366eaeaa835452a5a3da906c6b ssh-agent 18:39:31 SSH_AUTH_SOCK=/tmp/ssh-Rjosinj5S8wZ/agent.32 18:39:31 SSH_AGENT_PID=38 18:39:31 Running ssh-add (command line suppressed) 18:39:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16676313345447372182.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16676313345447372182.key) 18:39:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:32 + git semver bump pre 18:39:32 2023-10-24 18:39:32,333 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:32 2023-10-24 18:39:32,334 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev 18:39:32 2023-10-24 18:39:32,334 [bump_version] DEBUG bumped version:3.1.0-dev.21 18:39:32 2023-10-24 18:39:32,334 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 18:39:32 2023-10-24 18:39:32,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:32 2023-10-24 18:39:32,334 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:32 2023-10-24 18:39:32,336 [execute] INFO git cat-file --batch-check 18:39:32 2023-10-24 18:39:32,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:39:32 2023-10-24 18:39:32,341 [execute] INFO git cat-file --batch 18:39:32 2023-10-24 18:39:32,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:39:32 2023-10-24 18:39:32,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:32 3.1.0-dev.21 [Pipeline] } 18:39:32 $ docker exec --env ******** --env ******** 69a21c3f3360e59ab7e8e9a8b13495c50badf6366eaeaa835452a5a3da906c6b ssh-agent -k 18:39:32 unset SSH_AUTH_SOCK; 18:39:32 unset SSH_AGENT_PID; 18:39:32 echo Agent pid 38 killed; 18:39:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:32 + git semver [Pipeline] } 18:39:33 $ docker stop --time=1 69a21c3f3360e59ab7e8e9a8b13495c50badf6366eaeaa835452a5a3da906c6b 18:39:34 $ docker rm -f --volumes 69a21c3f3360e59ab7e8e9a8b13495c50badf6366eaeaa835452a5a3da906c6b [Pipeline] // withDockerContainer [Pipeline] sh 18:39:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:35 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:39:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:39:35 $ docker top b096ad86b33e1ff373c8ab3aa8acbd25214d243c6f9f223e8366d19f363a7737 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:35 [ssh-agent] Looking for ssh-agent implementation... 18:39:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:35 $ docker exec b096ad86b33e1ff373c8ab3aa8acbd25214d243c6f9f223e8366d19f363a7737 ssh-agent 18:39:35 SSH_AUTH_SOCK=/tmp/ssh-igyrvSmU9EDY/agent.31 18:39:35 SSH_AGENT_PID=37 18:39:35 Running ssh-add (command line suppressed) 18:39:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2335590759817586225.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2335590759817586225.key) 18:39:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:36 + git semver push 18:39:36 2023-10-24 18:39:36,297 [run_push] DEBUG push 18:39:36 2023-10-24 18:39:36,298 [execute] INFO git cat-file --batch-check 18:39:36 2023-10-24 18:39:36,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:39:36 2023-10-24 18:39:36,302 [execute] INFO git rev-list 391ec080a795ce2b0b5c1f6580301e4d422a2fbc -- 18:39:36 2023-10-24 18:39:36,302 [execute] DEBUG Popen(['git', 'rev-list', '391ec080a795ce2b0b5c1f6580301e4d422a2fbc', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:39:36 2023-10-24 18:39:36,312 [execute] INFO git fetch -v origin 18:39:36 2023-10-24 18:39:36,312 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:39:36 2023-10-24 18:39:36,829 [run_push] DEBUG no remote changes detected 18:39:36 2023-10-24 18:39:36,829 [execute] INFO git push origin semver 18:39:36 2023-10-24 18:39:36,830 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:39:37 2023-10-24 18:39:37,738 [run_push] DEBUG push all version tags 18:39:37 2023-10-24 18:39:37,738 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:39:37 2023-10-24 18:39:37,739 [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) 18:39:38 2023-10-24 18:39:38,547 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:39:38 3.1.0-dev.21 [Pipeline] } 18:39:38 $ docker exec --env ******** --env ******** b096ad86b33e1ff373c8ab3aa8acbd25214d243c6f9f223e8366d19f363a7737 ssh-agent -k 18:39:38 unset SSH_AUTH_SOCK; 18:39:38 unset SSH_AGENT_PID; 18:39:38 echo Agent pid 37 killed; 18:39:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:39 + git semver [Pipeline] } 18:39:39 $ docker stop --time=1 b096ad86b33e1ff373c8ab3aa8acbd25214d243c6f9f223e8366d19f363a7737 18:39:40 $ docker rm -f --volumes b096ad86b33e1ff373c8ab3aa8acbd25214d243c6f9f223e8366d19f363a7737 [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 18:39:41 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 18:39:41 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:39:41 total 16 18:39:41 drwxr-xr-x 3 root root 4096 Oct 24 18:30 . 18:39:41 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:39 .. 18:39:41 drwxr-xr-x 2 root root 4096 Oct 24 18:30 cost 18:39:41 -rw-r--r-- 1 root root 86 Oct 24 18:30 cost.csv 18:39:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:39:41 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:39:41 total 16 18:39:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:30 . 18:39:41 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:39 .. 18:39:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:30 cost 18:39:41 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 18:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:39:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:42 ---> package-listing.sh 18:39:42 ++ facter osfamily 18:39:42 ++ tr '[:upper:]' '[:lower:]' 18:39:42 + OS_FAMILY=debian 18:39:42 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 18:39:42 + START_PACKAGES=/tmp/packages_start.txt 18:39:42 + END_PACKAGES=/tmp/packages_end.txt 18:39:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:42 + PACKAGES=/tmp/packages_start.txt 18:39:42 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:39:42 + PACKAGES=/tmp/packages_end.txt 18:39:42 + case "${OS_FAMILY}" in 18:39:42 + dpkg -l 18:39:42 + grep '^ii' 18:39:42 + '[' -f /tmp/packages_start.txt ']' 18:39:42 + '[' -f /tmp/packages_end.txt ']' 18:39:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:42 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:39:42 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 18:39:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 18:39:42 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 18:39:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:43 prd-ubuntu20.04-docker-8c-8g-10129 does not seem to be running inside a container 18:39:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:39:44 $ docker top 6e5046b832a6812cbf53e0afe8f93a81aaa52038301809a894d68442ef61b0ff -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:44 + touch /tmp/pre-build-complete [Pipeline] sh 18:39:44 + mkdir -p /var/log/sysstat [Pipeline] sh 18:39:45 + ls /var/log/sa-host 18:39:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:45 provisioning config files... 18:39:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11955739863070722561tmp [Pipeline] { [Pipeline] echo 18:39:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:39:45 ---> create-netrc.sh [Pipeline] } 18:39:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:39:45 ---> python-tools-install.sh [Pipeline] echo 18:39:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:39:46 ---> sudo-logs.sh 18:39:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:39:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:39:46 ---> job-cost.sh 18:39:46 lf-activate-venv: SKIPPING 18:39:46 DEBUG: total: 0.2199999988079071 18:39:46 INFO: Retrieving Stack Cost... 18:39:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:39:47 INFO: Archiving Costs [Pipeline] echo 18:39:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:39:47 ---> logs-deploy.sh 18:39:47 lf-activate-venv: SKIPPING 18:39:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/148 18:39:47 INFO: archiving workspace using pattern(s): 18:39:48 Archives upload complete. 18:39:48 INFO: archiving logs to Nexus