Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 996c7dc504458e30104dd4fabba147269fefd7c5 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-ssh16682438416324369984.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14334285781632165665.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10793706087796287283.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5951387285188599059.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-ssh5529392821609212238.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5760 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 996c7dc504458e30104dd4fabba147269fefd7c5 (main) Commit message: "Merge pull request #623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > 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 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 > git rev-list --no-walk 6f4870105b6de4608a6fa1c66d7959f9992f8cce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:45:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:45:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:45:32 ========================================================= 01:45:32 EdgeX Global Pipelines Version Info 01:45:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:45:33 ------------------- 01:45:33 stable info: 01:45:33 ------------------- 01:45:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:45:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 01:45:33 Message: update stable to v1.0.253 01:45:33 ------------------- 01:45:33 experimental info: 01:45:33 ------------------- 01:45:33 Commited By: **** collab-it+edgex@linuxfoundation.org 01:45:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 01:45:33 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 996c7dc [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:34 provisioning config files... 01:45:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2353984246805732859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:34 ---> docker-login.sh 01:45:34 nexus3.edgexfoundry.org:10001 01:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:34 Configure a credential helper to remove this warning. See 01:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:34 01:45:34 Login Succeeded 01:45:34 nexus3.edgexfoundry.org:10002 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 nexus3.edgexfoundry.org:10003 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 nexus3.edgexfoundry.org:10004 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 docker.io 01:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 ---> docker-login.sh ends [Pipeline] } 01:45:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:45:36 + git rev-list -1 --merges 996c7dc504458e30104dd4fabba147269fefd7c5~1..996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo 01:45:36 -----------> git rev-list -1 --merges 996c7dc504458e30104dd4fabba147269fefd7c5~1..996c7dc504458e30104dd4fabba147269fefd7c5 996c7dc504458e30104dd4fabba147269fefd7c5 01:45:36 996c7dc504458e30104dd4fabba147269fefd7c5 [false] [Pipeline] sh 01:45:36 + git log --format=format:%s -1 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo 01:45:36 ========================================================= 01:45:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:45:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:36 + git log --format=format:%s -1 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo 01:45:36 [semverPrep] GIT_COMMIT: 996c7dc504458e30104dd4fabba147269fefd7c5, Commit Message: Merge pull request #623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo 01:45:36 [semverPrep] This is not a build commit. [Pipeline] sh 01:45:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:37 + grep -v github /etc/ssh/ssh_known_hosts 01:45:37 + [ -e /tmp/ssh_known_hosts ] 01:45:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:45:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:45:37 + sudo tee -a /etc/ssh/ssh_known_hosts 01:45:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:37 01:45:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:37 0.1.4: Pulling from edgex-devops/py-git-semver 01:45:37 b85a868b505f: Pulling fs layer 01:45:37 e2be974225ed: Pulling fs layer 01:45:37 339a4e72a1f5: Pulling fs layer 01:45:37 988bab9f4d93: Pulling fs layer 01:45:37 1469e6f7b9e6: Pulling fs layer 01:45:37 eaf3925da568: Pulling fs layer 01:45:37 bab4dde63d76: Pulling fs layer 01:45:37 bde34c3a00c8: Pulling fs layer 01:45:37 b352a97aabf1: Pulling fs layer 01:45:37 4872d77fe225: Pulling fs layer 01:45:37 5851b861e8e6: Pulling fs layer 01:45:37 1469e6f7b9e6: Waiting 01:45:37 eaf3925da568: Waiting 01:45:37 bab4dde63d76: Waiting 01:45:37 bde34c3a00c8: Waiting 01:45:37 b352a97aabf1: Waiting 01:45:37 4872d77fe225: Waiting 01:45:37 5851b861e8e6: Waiting 01:45:37 988bab9f4d93: Waiting 01:45:37 e2be974225ed: Download complete 01:45:37 988bab9f4d93: Verifying Checksum 01:45:37 988bab9f4d93: Download complete 01:45:38 1469e6f7b9e6: Verifying Checksum 01:45:38 1469e6f7b9e6: Download complete 01:45:38 eaf3925da568: Download complete 01:45:38 339a4e72a1f5: Verifying Checksum 01:45:38 339a4e72a1f5: Download complete 01:45:38 bde34c3a00c8: Download complete 01:45:38 b352a97aabf1: Verifying Checksum 01:45:38 b352a97aabf1: Download complete 01:45:38 4872d77fe225: Verifying Checksum 01:45:38 4872d77fe225: Download complete 01:45:38 5851b861e8e6: Verifying Checksum 01:45:38 5851b861e8e6: Download complete 01:45:38 b85a868b505f: Verifying Checksum 01:45:38 b85a868b505f: Download complete 01:45:38 bab4dde63d76: Verifying Checksum 01:45:38 bab4dde63d76: Download complete 01:45:39 b85a868b505f: Pull complete 01:45:39 e2be974225ed: Pull complete 01:45:40 339a4e72a1f5: Pull complete 01:45:40 988bab9f4d93: Pull complete 01:45:40 1469e6f7b9e6: Pull complete 01:45:40 eaf3925da568: Pull complete 01:45:42 bab4dde63d76: Pull complete 01:45:42 bde34c3a00c8: Pull complete 01:45:42 b352a97aabf1: Pull complete 01:45:42 4872d77fe225: Pull complete 01:45:42 5851b861e8e6: Pull complete 01:45:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:42 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:45:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:45 $ docker top ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 -eo pid,comm 01:45:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:45:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:45 [ssh-agent] Looking for ssh-agent implementation... 01:45:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:45 $ docker exec ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent 01:45:45 SSH_AUTH_SOCK=/tmp/ssh-RtL3h1VLN05y/agent.32 01:45:45 SSH_AGENT_PID=39 01:45:45 Running ssh-add (command line suppressed) 01:45:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1295738096257572119.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1295738096257572119.key) 01:45:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:46 + git tag --points-at HEAD [Pipeline] } 01:45:46 $ docker exec --env ******** --env ******** ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent -k 01:45:46 unset SSH_AUTH_SOCK; 01:45:46 unset SSH_AGENT_PID; 01:45:46 echo Agent pid 39 killed; 01:45:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:45:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:46 [ssh-agent] Looking for ssh-agent implementation... 01:45:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:46 $ docker exec ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent 01:45:46 SSH_AUTH_SOCK=/tmp/ssh-fV3E912E2D1U/agent.71 01:45:46 SSH_AGENT_PID=77 01:45:46 Running ssh-add (command line suppressed) 01:45:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15104355081888696109.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15104355081888696109.key) 01:45:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:46 + git semver init 01:45:47 2023-09-11 01:45:46,972 [run_init] DEBUG init version:0.0.0 force:False 01:45:47 2023-09-11 01:45:46,973 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:45:47 2023-09-11 01:45:46,973 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:45:47 2023-09-11 01:45:46,974 [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) 01:45:48 2023-09-11 01:45:47,793 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:45:48 2023-09-11 01:45:47,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:45:48 2023-09-11 01:45:47,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:48 2023-09-11 01:45:47,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:48 3.1.0-dev.8 [Pipeline] } 01:45:48 $ docker exec --env ******** --env ******** ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent -k 01:45:48 unset SSH_AUTH_SOCK; 01:45:48 unset SSH_AGENT_PID; 01:45:48 echo Agent pid 77 killed; 01:45:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:48 + git semver [Pipeline] } 01:45:48 $ docker stop --time=1 ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 01:45:50 $ docker rm -f --volumes ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 [Pipeline] // withDockerContainer [Pipeline] sh 01:45:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:45:50 Stashed 1 file(s) [Pipeline] echo 01:45:50 [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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 01:45:50 provisioning config files... 01:45:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16586390080844563845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:51 ---> docker-login.sh 01:45:51 nexus3.edgexfoundry.org:10001 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 nexus3.edgexfoundry.org:10002 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 nexus3.edgexfoundry.org:10003 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 nexus3.edgexfoundry.org:10004 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 docker.io 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 ---> docker-login.sh ends [Pipeline] } 01:45:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:45:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:51 ========================================================= 01:45:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:45:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:45:51 Sending build context to Docker daemon 6.471MB 01:45:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:45:51 Step 2/12 : FROM ${BASE} AS builder 01:45:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:45:51 4db1b89c0bd1: Pulling fs layer 01:45:51 6911f1a30b25: Pulling fs layer 01:45:51 e194b8c5c2a9: Pulling fs layer 01:45:51 6863d3e3a2b1: Pulling fs layer 01:45:51 ec0bb842ea78: Pulling fs layer 01:45:51 40a00589a448: Pulling fs layer 01:45:51 6c08303d61cc: Pulling fs layer 01:45:51 6863d3e3a2b1: Waiting 01:45:51 ec0bb842ea78: Waiting 01:45:51 40a00589a448: Waiting 01:45:51 798269fcf238: Pulling fs layer 01:45:51 6c08303d61cc: Waiting 01:45:51 798269fcf238: Waiting 01:45:51 6911f1a30b25: Download complete 01:45:51 6863d3e3a2b1: Verifying Checksum 01:45:51 6863d3e3a2b1: Download complete 01:45:51 ec0bb842ea78: Verifying Checksum 01:45:51 ec0bb842ea78: Download complete 01:45:52 4db1b89c0bd1: Verifying Checksum 01:45:52 4db1b89c0bd1: Download complete 01:45:52 40a00589a448: Verifying Checksum 01:45:52 40a00589a448: Download complete 01:45:52 4db1b89c0bd1: Pull complete 01:45:52 6911f1a30b25: Pull complete 01:45:53 798269fcf238: Verifying Checksum 01:45:53 798269fcf238: Download complete 01:45:53 e194b8c5c2a9: Verifying Checksum 01:45:53 e194b8c5c2a9: Download complete 01:45:53 6c08303d61cc: Verifying Checksum 01:45:53 6c08303d61cc: Download complete 01:45:56 e194b8c5c2a9: Pull complete 01:45:56 6863d3e3a2b1: Pull complete 01:45:56 ec0bb842ea78: Pull complete 01:45:56 40a00589a448: Pull complete 01:45:59 6c08303d61cc: Pull complete 01:45:59 798269fcf238: Pull complete 01:45:59 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 01:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:45:59 ---> ec979cd7f677 01:45:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:46:02 ---> Running in e83ad88ece7c 01:46:02 Removing intermediate container e83ad88ece7c 01:46:02 ---> 39b37b7190e9 01:46:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:46:02 ---> Running in 3d64f28b43c7 01:46:03 Removing intermediate container 3d64f28b43c7 01:46:03 ---> 9e4c916c6bed 01:46:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:46:03 ---> Running in 83a4ef512b9d 01:46:03 Removing intermediate container 83a4ef512b9d 01:46:03 ---> 02ebc935f39a 01:46:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:46:03 ---> Running in 0c16b66a736b 01:46:03 Removing intermediate container 0c16b66a736b 01:46:03 ---> 026e871a4d29 01:46:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:46:03 ---> Running in d8e0e1587f74 01:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:46:04 (1/4) Installing openssh-keygen (9.1_p1-r4) 01:46:04 (2/4) Installing libedit (20221030.3.1-r0) 01:46:04 (3/4) Installing openssh-client-common (9.1_p1-r4) 01:46:04 (4/4) Installing openssh-client-default (9.1_p1-r4) 01:46:04 Executing busybox-1.35.0-r29.trigger 01:46:04 OK: 269 MiB in 57 packages 01:46:04 Removing intermediate container d8e0e1587f74 01:46:04 ---> 0e59aa2aefcb 01:46:04 Step 8/12 : WORKDIR /device-mqtt-go 01:46:04 ---> Running in c34ba03e03b2 01:46:04 Removing intermediate container c34ba03e03b2 01:46:04 ---> 415b0963d6ea 01:46:04 Step 9/12 : COPY go.mod vendor* ./ 01:46:04 ---> 5d39ff67a802 01:46:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:46:04 ---> Running in b5438e174807 01:46:05 Still waiting to schedule task 01:46:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5757’ 01:46:43 Removing intermediate container b5438e174807 01:46:43 ---> c73f60f05851 01:46:43 Step 11/12 : COPY . . 01:46:43 ---> 633c5e9214d9 01:46:43 Step 12/12 : RUN $MAKE 01:46:43 ---> Running in 2154e31548ea 01:46:43 noop 01:46:43 Removing intermediate container 2154e31548ea 01:46:43 ---> e769e40c25b5 01:46:43 Successfully built e769e40c25b5 01:46:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:43 + docker inspect -f . ci-base-image-x86_64 01:46:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:43 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:46:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:46:44 $ docker top 87449cabf295909845936f6bdf08ee4884c4e3e56d7675bcf43146799b4df2fc -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:44 + go version 01:46:44 go version go1.20.6 linux/amd64 [Pipeline] } 01:46:44 $ docker stop --time=1 87449cabf295909845936f6bdf08ee4884c4e3e56d7675bcf43146799b4df2fc 01:46:45 $ docker rm -f --volumes 87449cabf295909845936f6bdf08ee4884c4e3e56d7675bcf43146799b4df2fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:46 + docker inspect -f . ci-base-image-x86_64 01:46:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:46 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:46:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:46:46 $ docker top 6688bf39070abdcee35db380f5013233e4854dd906e7603d0a766582e2038733 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:47 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:46:47 + make test 01:46:47 go test ./... -coverprofile=coverage.out ./... 01:46:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:47:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:47:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:47:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements 01:47:07 go vet ./... 01:47:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:47:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:47:11 ./bin/test-attribution-txt.sh [Pipeline] echo 01:47:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:47:11 $ docker stop --time=1 6688bf39070abdcee35db380f5013233e4854dd906e7603d0a766582e2038733 01:47:15 $ docker rm -f --volumes 6688bf39070abdcee35db380f5013233e4854dd906e7603d0a766582e2038733 [Pipeline] // withDockerContainer [Pipeline] sh 01:47:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:47:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:47:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:47:16 + ls -al . 01:47:16 total 188 01:47:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:46 . 01:47:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:45 .. 01:47:16 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 01:45 .dockerignore 01:47:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:45 .git 01:47:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:45 .github 01:47:16 -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:45 .gitignore 01:47:16 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:45 .golangci.yml 01:47:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:45 .semver 01:47:16 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 11 01:45 Attribution.txt 01:47:16 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 11 01:45 CHANGELOG.md 01:47:16 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 11 01:45 Dockerfile 01:47:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:45 GOVERNANCE.md 01:47:16 -rw-rw-r-- 1 jenkins jenkins 678 Sep 11 01:45 Jenkinsfile 01:47:16 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:45 LICENSE 01:47:16 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 11 01:45 Makefile 01:47:16 -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:45 OWNERS.md 01:47:16 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 11 01:45 README.md 01:47:16 -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 01:45 VERSION 01:47:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:45 bin 01:47:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:45 cmd 01:47:16 -rw-r--r-- 1 jenkins jenkins 18506 Sep 11 01:47 coverage.out 01:47:16 -rw-rw-r-- 1 jenkins jenkins 3820 Sep 11 01:45 go.mod 01:47:16 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:45 go.sum 01:47:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:45 internal 01:47:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:45 mock 01:47:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:45 snap 01:47:16 -rw-rw-r-- 1 jenkins jenkins 227 Sep 11 01:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:16 + 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=996c7dc504458e30104dd4fabba147269fefd7c5 --label arch=amd64 --label version=3.1.0-dev.8 . 01:47:16 Sending build context to Docker daemon 6.491MB 01:47:16 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:47:16 Step 2/24 : FROM ${BASE} AS builder 01:47:16 ---> e769e40c25b5 01:47:16 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:47:17 ---> Running in 22074ac0d031 01:47:17 Removing intermediate container 22074ac0d031 01:47:17 ---> 45dbb402e099 01:47:17 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:47:17 ---> Running in 5aa5368d1b72 01:47:17 Removing intermediate container 5aa5368d1b72 01:47:17 ---> 67ab24ab816f 01:47:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:47:17 ---> Running in 785cfead645e 01:47:17 Removing intermediate container 785cfead645e 01:47:17 ---> c295c569d21f 01:47:17 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:47:17 ---> Running in f330e4914136 01:47:17 Removing intermediate container f330e4914136 01:47:17 ---> 76a72342faa0 01:47:17 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:17 ---> Running in a470161d391e 01:47:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:47:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:47:18 OK: 269 MiB in 57 packages 01:47:18 Removing intermediate container a470161d391e 01:47:18 ---> a415fd053948 01:47:18 Step 8/24 : WORKDIR /device-mqtt-go 01:47:18 ---> Running in 2110ef8e4603 01:47:18 Removing intermediate container 2110ef8e4603 01:47:18 ---> 8cafc9ad6498 01:47:18 Step 9/24 : COPY go.mod vendor* ./ 01:47:18 ---> ca5c117dc1ee 01:47:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:18 ---> Running in b7dd3e2f3de2 01:47:19 Removing intermediate container b7dd3e2f3de2 01:47:19 ---> f329da2b7865 01:47:19 Step 11/24 : COPY . . 01:47:19 ---> 27976301c2a5 01:47:19 Step 12/24 : RUN $MAKE 01:47:19 ---> Running in b0dba532d5e1 01:47:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:47:38 Removing intermediate container b0dba532d5e1 01:47:38 ---> 8fe139935682 01:47:38 Step 13/24 : FROM alpine:3.17 01:47:38 3.17: Pulling from library/alpine 01:47:38 9398808236ff: Pulling fs layer 01:47:39 9398808236ff: Verifying Checksum 01:47:39 9398808236ff: Download complete 01:47:39 9398808236ff: Pull complete 01:47:39 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:47:39 Status: Downloaded newer image for alpine:3.17 01:47:39 ---> 1e0b8b5322fc 01:47:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:47:39 ---> Running in 2b1d6de66b87 01:47:39 Removing intermediate container 2b1d6de66b87 01:47:39 ---> 97b03056217c 01:47:39 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:47:39 ---> Running in 9b679d55d28b 01:47:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:47:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:47:40 (1/1) Installing dumb-init (1.2.5-r2) 01:47:40 Executing busybox-1.35.0-r29.trigger 01:47:40 OK: 7 MiB in 16 packages 01:47:40 Removing intermediate container 9b679d55d28b 01:47:40 ---> c5d36a28a8ad 01:47:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:47:41 ---> 77d5b55774c0 01:47:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:47:41 ---> 545adf577c52 01:47:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:47:41 ---> 7d8784347f72 01:47:41 Step 19/24 : EXPOSE 59982 01:47:41 ---> Running in c3eb67a44091 01:47:41 Removing intermediate container c3eb67a44091 01:47:41 ---> 5ec929af6f53 01:47:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:47:41 ---> Running in 2eb8da618eb3 01:47:41 Removing intermediate container 2eb8da618eb3 01:47:41 ---> fff5b9d9694f 01:47:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:47:41 ---> Running in 8d572cff49ea 01:47:41 Removing intermediate container 8d572cff49ea 01:47:41 ---> ba00a066eb64 01:47:41 Step 22/24 : LABEL arch=amd64 01:47:41 ---> Running in 47acca884510 01:47:41 Removing intermediate container 47acca884510 01:47:41 ---> fa38c104acac 01:47:41 Step 23/24 : LABEL git_sha=996c7dc504458e30104dd4fabba147269fefd7c5 01:47:41 ---> Running in a1207e88c89e 01:47:41 Removing intermediate container a1207e88c89e 01:47:41 ---> b0c290dca5d8 01:47:41 Step 24/24 : LABEL version=3.1.0-dev.8 01:47:41 ---> Running in 02ca5be85bc3 01:47:42 Removing intermediate container 02ca5be85bc3 01:47:42 ---> 3987992efbb3 01:47:42 [Warning] One or more build-args [ARCH] were not consumed 01:47:42 Successfully built 3987992efbb3 01:47:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:42 provisioning config files... 01:47:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4464380811216289706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:42 ---> docker-login.sh 01:47:42 nexus3.edgexfoundry.org:10001 01:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:42 Configure a credential helper to remove this warning. See 01:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:42 01:47:42 Login Succeeded 01:47:42 nexus3.edgexfoundry.org:10002 01:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:42 Configure a credential helper to remove this warning. See 01:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:42 01:47:42 Login Succeeded 01:47:42 nexus3.edgexfoundry.org:10003 01:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:42 Configure a credential helper to remove this warning. See 01:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:42 01:47:42 Login Succeeded 01:47:42 nexus3.edgexfoundry.org:10004 01:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:42 Configure a credential helper to remove this warning. See 01:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:42 01:47:42 Login Succeeded 01:47:42 docker.io 01:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:43 Configure a credential helper to remove this warning. See 01:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:43 01:47:43 Login Succeeded 01:47:43 ---> docker-login.sh ends [Pipeline] } 01:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:47:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:47:43 996c7dc504458e30104dd4fabba147269fefd7c5 01:47:43 latest 01:47:43 3.1.0-dev.8 01:47:43 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 01:47:43 main 01:47:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5 01:47:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:47:43 cc775f451273: Preparing 01:47:43 afe437b15bf4: Preparing 01:47:43 f85609d76a0d: Preparing 01:47:43 771eb439cf9f: Preparing 01:47:43 36b50b131297: Preparing 01:47:43 36b50b131297: Layer already exists 01:47:43 cc775f451273: Pushed 01:47:43 771eb439cf9f: Pushed 01:47:43 afe437b15bf4: Pushed 01:47:46 f85609d76a0d: Pushed 01:47:46 996c7dc504458e30104dd4fabba147269fefd7c5: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:47:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:47:46 cc775f451273: Preparing 01:47:46 afe437b15bf4: Preparing 01:47:46 f85609d76a0d: Preparing 01:47:46 771eb439cf9f: Preparing 01:47:46 36b50b131297: Preparing 01:47:46 f85609d76a0d: Layer already exists 01:47:46 afe437b15bf4: Layer already exists 01:47:46 771eb439cf9f: Layer already exists 01:47:46 cc775f451273: Layer already exists 01:47:46 36b50b131297: Layer already exists 01:47:46 latest: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.8 01:47:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:47:47 cc775f451273: Preparing 01:47:47 afe437b15bf4: Preparing 01:47:47 f85609d76a0d: Preparing 01:47:47 771eb439cf9f: Preparing 01:47:47 36b50b131297: Preparing 01:47:47 afe437b15bf4: Layer already exists 01:47:47 36b50b131297: Layer already exists 01:47:47 771eb439cf9f: Layer already exists 01:47:47 cc775f451273: Layer already exists 01:47:47 f85609d76a0d: Layer already exists 01:47:47 3.1.0-dev.8: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 01:47:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:47:48 cc775f451273: Preparing 01:47:48 afe437b15bf4: Preparing 01:47:48 f85609d76a0d: Preparing 01:47:48 771eb439cf9f: Preparing 01:47:48 36b50b131297: Preparing 01:47:48 36b50b131297: Layer already exists 01:47:48 f85609d76a0d: Layer already exists 01:47:48 771eb439cf9f: Layer already exists 01:47:48 cc775f451273: Layer already exists 01:47:48 afe437b15bf4: Layer already exists 01:47:48 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:47:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:47:48 cc775f451273: Preparing 01:47:48 afe437b15bf4: Preparing 01:47:48 f85609d76a0d: Preparing 01:47:48 771eb439cf9f: Preparing 01:47:48 36b50b131297: Preparing 01:47:48 cc775f451273: Layer already exists 01:47:48 36b50b131297: Layer already exists 01:47:48 f85609d76a0d: Layer already exists 01:47:48 afe437b15bf4: Layer already exists 01:47:48 771eb439cf9f: Layer already exists 01:47:48 main: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:47:48 ===================================================== [Pipeline] echo 01:47:48 taggedImages: 01:47:48 - nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5 01:47:48 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:47:48 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.8 01:47:48 - nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 01:47:48 - 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 01:47:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:49 01:47:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:49 latest: Pulling from edgex-lftools-log-publisher 01:47:49 5eb5b503b376: Pulling fs layer 01:47:49 5c69ac0246d0: Pulling fs layer 01:47:49 ec43610c2a17: Pulling fs layer 01:47:49 3a2ae6a8a46f: Pulling fs layer 01:47:49 33b1e0a273af: Pulling fs layer 01:47:49 5d3b04190fa2: Pulling fs layer 01:47:49 2f39f015ded8: Pulling fs layer 01:47:49 3a2ae6a8a46f: Waiting 01:47:49 33b1e0a273af: Waiting 01:47:49 5d3b04190fa2: Waiting 01:47:49 2f39f015ded8: Waiting 01:47:49 5c69ac0246d0: Download complete 01:47:49 3a2ae6a8a46f: Download complete 01:47:49 33b1e0a273af: Verifying Checksum 01:47:49 33b1e0a273af: Download complete 01:47:49 5d3b04190fa2: Verifying Checksum 01:47:49 5d3b04190fa2: Download complete 01:47:49 ec43610c2a17: Verifying Checksum 01:47:49 5eb5b503b376: Verifying Checksum 01:47:49 5eb5b503b376: Download complete 01:47:50 2f39f015ded8: Verifying Checksum 01:47:50 2f39f015ded8: Download complete 01:47:51 5eb5b503b376: Pull complete 01:47:51 5c69ac0246d0: Pull complete 01:47:51 ec43610c2a17: Pull complete 01:47:51 3a2ae6a8a46f: Pull complete 01:47:51 33b1e0a273af: Pull complete 01:47:51 5d3b04190fa2: Pull complete 01:47:55 2f39f015ded8: Pull complete 01:47:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:47:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:56 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:47:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:47:59 $ docker top 1b85c211aca4fd9f7f8356e27ea600c38f3ddd0718a24f5fd2b22a8cad0dc4a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:59 ---> job-cost.sh 01:47:59 lf-activate-venv: SKIPPING 01:47:59 INFO: No Stack... 01:48:00 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:00 INFO: Archiving Costs [Pipeline] sh 01:48:00 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:48:00 + cut -d, -f6 [Pipeline] lock 01:48:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] 01:48:00 Resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] did not exist. Created. 01:48:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:00 + echo total: 0.2199999988079071 [Pipeline] stash 01:48:00 Stashed 1 file(s) [Pipeline] } 01:48:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:00 $ docker stop --time=1 1b85c211aca4fd9f7f8356e27ea600c38f3ddd0718a24f5fd2b22a8cad0dc4a8 01:48:02 $ docker rm -f --volumes 1b85c211aca4fd9f7f8356e27ea600c38f3ddd0718a24f5fd2b22a8cad0dc4a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:49:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5762 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:49:43 Running in /w/workspace/device-mqtt-go/136 [Pipeline] { [Pipeline] checkout 01:49:43 The recommended git tool is: git 01:49:48 using credential edgex-jenkins-ssh 01:49:48 Cloning the remote Git repository 01:49:49 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:49:49 > git init /w/workspace/device-mqtt-go/136 # timeout=10 01:49:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:49:49 > git --version # timeout=10 01:49:49 > git --version # 'git version 2.25.1' 01:49:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:53 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:49:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:54 Avoid second fetch 01:49:54 Checking out Revision 996c7dc504458e30104dd4fabba147269fefd7c5 (main) 01:49:54 Commit message: "Merge pull request #623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:54 > git config core.sparsecheckout # timeout=10 01:49:54 > git checkout -f 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 01:49:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:49:55 % Total % Received % Xferd Average Speed Time Time Time Current 01:49:55 Dload Upload Total Spent Left Speed 01:49:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 01:49:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:49:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:49:56 + sudo tee /etc/docker/daemon.new 01:49:56 { 01:49:56 "registry-mirrors": [ 01:49:56 "https://nexus3.edgexfoundry.org:10001" 01:49:56 ], 01:49:56 "bip": "10.250.0.254/24", 01:49:56 "hosts": [ 01:49:56 "tcp://0.0.0.0:5555", 01:49:56 "unix:///var/run/docker.sock" 01:49:56 ], 01:49:56 "mtu": 1458, 01:49:56 "selinux-enabled": true, 01:49:56 "seccomp-profile": "/etc/docker/seccomp.json" 01:49:56 } [Pipeline] sh 01:49:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:49:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:15 provisioning config files... 01:50:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/136@tmp/config17604306103623983333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:16 ---> docker-login.sh 01:50:16 nexus3.edgexfoundry.org:10001 01:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:16 Configure a credential helper to remove this warning. See 01:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:16 01:50:16 Login Succeeded 01:50:16 nexus3.edgexfoundry.org:10002 01:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:16 Configure a credential helper to remove this warning. See 01:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:16 01:50:16 Login Succeeded 01:50:16 nexus3.edgexfoundry.org:10003 01:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:17 Configure a credential helper to remove this warning. See 01:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:17 01:50:17 Login Succeeded 01:50:17 nexus3.edgexfoundry.org:10004 01:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:17 Configure a credential helper to remove this warning. See 01:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:17 01:50:17 Login Succeeded 01:50:17 docker.io 01:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:18 Configure a credential helper to remove this warning. See 01:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:18 01:50:18 Login Succeeded 01:50:18 ---> docker-login.sh ends [Pipeline] } 01:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:18 ========================================================= 01:50:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:50:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:50:19 Sending build context to Docker daemon 3.347MB 01:50:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:50:19 Step 2/12 : FROM ${BASE} AS builder 01:50:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:50:22 edb6bdbacee9: Pulling fs layer 01:50:22 5f9638ab2659: Pulling fs layer 01:50:22 8d51d6327a98: Pulling fs layer 01:50:22 8b374f2dd631: Pulling fs layer 01:50:22 ec14aa9079de: Pulling fs layer 01:50:22 2f466654f4bb: Pulling fs layer 01:50:22 554e91adad29: Pulling fs layer 01:50:22 ec14aa9079de: Waiting 01:50:22 554e91adad29: Waiting 01:50:22 2f466654f4bb: Waiting 01:50:22 8b374f2dd631: Waiting 01:50:22 5f9638ab2659: Verifying Checksum 01:50:22 5f9638ab2659: Download complete 01:50:22 8b374f2dd631: Verifying Checksum 01:50:22 8b374f2dd631: Download complete 01:50:22 ec14aa9079de: Verifying Checksum 01:50:22 ec14aa9079de: Download complete 01:50:22 edb6bdbacee9: Download complete 01:50:23 edb6bdbacee9: Pull complete 01:50:23 554e91adad29: Verifying Checksum 01:50:23 554e91adad29: Download complete 01:50:23 5f9638ab2659: Pull complete 01:50:24 8d51d6327a98: Verifying Checksum 01:50:24 8d51d6327a98: Download complete 01:50:24 2f466654f4bb: Download complete 01:50:36 8d51d6327a98: Pull complete 01:50:36 8b374f2dd631: Pull complete 01:50:36 ec14aa9079de: Pull complete 01:50:42 2f466654f4bb: Pull complete 01:50:44 554e91adad29: Pull complete 01:50:44 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 01:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:50:44 ---> 1e15ea492957 01:50:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:50:46 ---> Running in 8a5dd67fd67a 01:50:46 Removing intermediate container 8a5dd67fd67a 01:50:46 ---> 8509ebc487af 01:50:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:46 ---> Running in de207c6c6001 01:50:46 Removing intermediate container de207c6c6001 01:50:46 ---> a145cc3a95a8 01:50:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:50:46 ---> Running in c37a82128523 01:50:47 Removing intermediate container c37a82128523 01:50:47 ---> fc4fd15504a7 01:50:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:50:47 ---> Running in b5abe5a449c8 01:50:47 Removing intermediate container b5abe5a449c8 01:50:47 ---> ebaa94e292ab 01:50:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:47 ---> Running in 53f039258468 01:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:50:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:50:50 (1/4) Installing openssh-keygen (9.1_p1-r4) 01:50:50 (2/4) Installing libedit (20221030.3.1-r0) 01:50:50 (3/4) Installing openssh-client-common (9.1_p1-r4) 01:50:50 (4/4) Installing openssh-client-default (9.1_p1-r4) 01:50:50 Executing busybox-1.35.0-r29.trigger 01:50:50 OK: 268 MiB in 57 packages 01:50:51 Removing intermediate container 53f039258468 01:50:51 ---> 8148a1b7dc46 01:50:51 Step 8/12 : WORKDIR /device-mqtt-go 01:50:51 ---> Running in 67576093c81b 01:50:51 Removing intermediate container 67576093c81b 01:50:51 ---> be65dbb38277 01:50:51 Step 9/12 : COPY go.mod vendor* ./ 01:50:52 ---> 5a69ae3970d7 01:50:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:52 ---> Running in 623a117ea07e 01:52:00 Removing intermediate container 623a117ea07e 01:52:00 ---> 6e48678bdd40 01:52:00 Step 11/12 : COPY . . 01:52:00 ---> 4ab419091dc7 01:52:00 Step 12/12 : RUN $MAKE 01:52:00 ---> Running in 7dcc07130ff6 01:52:00 noop 01:52:00 Removing intermediate container 7dcc07130ff6 01:52:00 ---> 404646e123fc 01:52:00 Successfully built 404646e123fc 01:52:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:00 + docker inspect -f . ci-base-image-arm64 01:52:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:00 prd-ubuntu20.04-docker-arm64-4c-16g-5762 does not seem to be running inside a container 01:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/136 -v /w/workspace/device-mqtt-go/136:/w/workspace/device-mqtt-go/136:rw,z -v /w/workspace/device-mqtt-go/136@tmp:/w/workspace/device-mqtt-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:52:01 $ docker top 30672757f4960ff128676b2e7a34e2a296262facb7879551d86f9afd1aa8d95c -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:02 + go version 01:52:02 go version go1.20.6 linux/arm64 [Pipeline] } 01:52:02 $ docker stop --time=1 30672757f4960ff128676b2e7a34e2a296262facb7879551d86f9afd1aa8d95c 01:52:04 $ docker rm -f --volumes 30672757f4960ff128676b2e7a34e2a296262facb7879551d86f9afd1aa8d95c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:04 + docker inspect -f . ci-base-image-arm64 01:52:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:05 prd-ubuntu20.04-docker-arm64-4c-16g-5762 does not seem to be running inside a container 01:52:05 $ 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/136 -v /w/workspace/device-mqtt-go/136:/w/workspace/device-mqtt-go/136:rw,z -v /w/workspace/device-mqtt-go/136@tmp:/w/workspace/device-mqtt-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:52:06 $ docker top cfe67a1ee812b7c8728141ce135c542a07082258affc3a99f50a3cdf1875149d -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:06 + git config --global --add safe.directory /w/workspace/device-mqtt-go/136 [Pipeline] fileExists [Pipeline] sh 01:52:06 + make test 01:52:06 go test ./... -coverprofile=coverage.out ./... 01:52:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:54:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:54:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:54:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.080s coverage: 22.8% of statements 01:54:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:45 go vet ./... 01:55:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:04 ./bin/test-attribution-txt.sh [Pipeline] echo 01:55:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:55:04 $ docker stop --time=1 cfe67a1ee812b7c8728141ce135c542a07082258affc3a99f50a3cdf1875149d 01:55:08 $ docker rm -f --volumes cfe67a1ee812b7c8728141ce135c542a07082258affc3a99f50a3cdf1875149d [Pipeline] // withDockerContainer [Pipeline] sh 01:55:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:55:09 Warning: overwriting stash ‘coverage-report’ 01:55:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:10 + ls -al . 01:55:10 total 184 01:55:10 drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 01:52 . 01:55:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:49 .. 01:55:10 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 01:49 .dockerignore 01:55:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:49 .git 01:55:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:49 .github 01:55:10 -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:49 .gitignore 01:55:10 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:49 .golangci.yml 01:55:10 -rw-rw-r-- 1 jenkins jenkins 10386 Sep 11 01:49 Attribution.txt 01:55:10 -rw-rw-r-- 1 jenkins jenkins 17522 Sep 11 01:49 CHANGELOG.md 01:55:10 -rw-rw-r-- 1 jenkins jenkins 1689 Sep 11 01:49 Dockerfile 01:55:10 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:49 GOVERNANCE.md 01:55:10 -rw-rw-r-- 1 jenkins jenkins 678 Sep 11 01:49 Jenkinsfile 01:55:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:49 LICENSE 01:55:10 -rw-rw-r-- 1 jenkins jenkins 1963 Sep 11 01:49 Makefile 01:55:10 -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:49 OWNERS.md 01:55:10 -rw-rw-r-- 1 jenkins jenkins 3695 Sep 11 01:49 README.md 01:55:10 -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 01:45 VERSION 01:55:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:49 bin 01:55:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:49 cmd 01:55:10 -rw-r--r-- 1 jenkins jenkins 18506 Sep 11 01:54 coverage.out 01:55:10 -rw-rw-r-- 1 jenkins jenkins 3820 Sep 11 01:49 go.mod 01:55:10 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:49 go.sum 01:55:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:49 internal 01:55:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:49 mock 01:55:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:49 snap 01:55:10 -rw-rw-r-- 1 jenkins jenkins 227 Sep 11 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:10 + 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=996c7dc504458e30104dd4fabba147269fefd7c5 --label arch=arm64 --label version=3.1.0-dev.8 . 01:55:11 Sending build context to Docker daemon 3.366MB 01:55:11 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:55:11 Step 2/24 : FROM ${BASE} AS builder 01:55:11 ---> 404646e123fc 01:55:11 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:55:11 ---> Running in a7093e31c447 01:55:11 Removing intermediate container a7093e31c447 01:55:11 ---> da467b7bb661 01:55:11 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:11 ---> Running in 155a66853f1d 01:55:11 Removing intermediate container 155a66853f1d 01:55:11 ---> 7e29b98dbac6 01:55:11 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:55:11 ---> Running in 8811fda59842 01:55:12 Removing intermediate container 8811fda59842 01:55:12 ---> db5dad34e37e 01:55:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:55:12 ---> Running in 5e279e69f26d 01:55:12 Removing intermediate container 5e279e69f26d 01:55:12 ---> 5b158992ecd2 01:55:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:12 ---> Running in ef8067fa351f 01:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:55:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:55:15 OK: 268 MiB in 57 packages 01:55:16 Removing intermediate container ef8067fa351f 01:55:16 ---> 69c130f76731 01:55:16 Step 8/24 : WORKDIR /device-mqtt-go 01:55:16 ---> Running in c74e4d14891d 01:55:16 Removing intermediate container c74e4d14891d 01:55:16 ---> f9b27cf99032 01:55:16 Step 9/24 : COPY go.mod vendor* ./ 01:55:16 ---> 662277cf66d5 01:55:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:16 ---> Running in e9143db12037 01:55:20 Removing intermediate container e9143db12037 01:55:20 ---> d001befd8d84 01:55:20 Step 11/24 : COPY . . 01:55:20 ---> cc5aea666c40 01:55:20 Step 12/24 : RUN $MAKE 01:55:20 ---> Running in 81854baf292f 01:55:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:57:43 Removing intermediate container 81854baf292f 01:57:43 ---> 5be7eb1d8a68 01:57:43 Step 13/24 : FROM alpine:3.17 01:57:43 3.17: Pulling from library/alpine 01:57:43 4060ece20d7a: Pulling fs layer 01:57:43 4060ece20d7a: Download complete 01:57:43 4060ece20d7a: Pull complete 01:57:43 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:57:43 Status: Downloaded newer image for alpine:3.17 01:57:43 ---> 8650cd65339b 01:57:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:57:43 ---> Running in 62498fe59703 01:57:43 Removing intermediate container 62498fe59703 01:57:43 ---> ae6e342236fb 01:57:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:57:43 ---> Running in 5e75743235f4 01:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:57:43 (1/1) Installing dumb-init (1.2.5-r2) 01:57:43 Executing busybox-1.35.0-r29.trigger 01:57:43 OK: 8 MiB in 16 packages 01:57:43 Removing intermediate container 5e75743235f4 01:57:43 ---> 2b31244727b9 01:57:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:57:43 ---> 5727f32b0fc5 01:57:43 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:57:43 ---> 8afc047a8e30 01:57:43 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:57:43 ---> 31c61e6086b3 01:57:43 Step 19/24 : EXPOSE 59982 01:57:43 ---> Running in 83f1b84d6a4e 01:57:43 Removing intermediate container 83f1b84d6a4e 01:57:43 ---> 6ba543562479 01:57:43 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:57:43 ---> Running in 9a2bbf7a98d3 01:57:43 Removing intermediate container 9a2bbf7a98d3 01:57:43 ---> e640c17ea7d5 01:57:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:57:43 ---> Running in d62028166cfe 01:57:43 Removing intermediate container d62028166cfe 01:57:43 ---> 7fa63481a900 01:57:43 Step 22/24 : LABEL arch=arm64 01:57:43 ---> Running in eaea8c753fb6 01:57:43 Removing intermediate container eaea8c753fb6 01:57:43 ---> 4de15e4bf735 01:57:43 Step 23/24 : LABEL git_sha=996c7dc504458e30104dd4fabba147269fefd7c5 01:57:43 ---> Running in 8e7f1ea55ec8 01:57:43 Removing intermediate container 8e7f1ea55ec8 01:57:43 ---> 8cd10f834ced 01:57:43 Step 24/24 : LABEL version=3.1.0-dev.8 01:57:43 ---> Running in f12ec4ea8f12 01:57:43 Removing intermediate container f12ec4ea8f12 01:57:43 ---> 3e7626581df0 01:57:43 [Warning] One or more build-args [ARCH] were not consumed 01:57:43 Successfully built 3e7626581df0 01:57: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 01:57:43 provisioning config files... 01:57:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/136@tmp/config11306415975891434958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:44 ---> docker-login.sh 01:57:44 nexus3.edgexfoundry.org:10001 01:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:44 Configure a credential helper to remove this warning. See 01:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:44 01:57:44 Login Succeeded 01:57:44 nexus3.edgexfoundry.org:10002 01:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:44 Configure a credential helper to remove this warning. See 01:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:44 01:57:44 Login Succeeded 01:57:44 nexus3.edgexfoundry.org:10003 01:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:45 Configure a credential helper to remove this warning. See 01:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:45 01:57:45 Login Succeeded 01:57:45 nexus3.edgexfoundry.org:10004 01:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:45 Configure a credential helper to remove this warning. See 01:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:45 01:57:45 Login Succeeded 01:57:45 docker.io 01:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:46 Configure a credential helper to remove this warning. See 01:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:46 01:57:46 Login Succeeded 01:57:46 ---> docker-login.sh ends [Pipeline] } 01:57:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:57:46 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:57:46 996c7dc504458e30104dd4fabba147269fefd7c5 01:57:46 latest 01:57:46 3.1.0-dev.8 01:57:46 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 01:57:46 main 01:57:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5 01:57:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:46 4b9765397835: Preparing 01:57:46 fd1dcabef51d: Preparing 01:57:46 795efaa36795: Preparing 01:57:46 4b7842448bdf: Preparing 01:57:46 d2d9d24a8c2a: Preparing 01:57:46 d2d9d24a8c2a: Layer already exists 01:57:47 4b7842448bdf: Pushed 01:57:47 4b9765397835: Pushed 01:57:47 fd1dcabef51d: Pushed 01:57:53 795efaa36795: Pushed 01:57:53 996c7dc504458e30104dd4fabba147269fefd7c5: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:57:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:54 4b9765397835: Preparing 01:57:54 fd1dcabef51d: Preparing 01:57:54 795efaa36795: Preparing 01:57:54 4b7842448bdf: Preparing 01:57:54 d2d9d24a8c2a: Preparing 01:57:54 4b7842448bdf: Layer already exists 01:57:54 795efaa36795: Layer already exists 01:57:54 d2d9d24a8c2a: Layer already exists 01:57:54 fd1dcabef51d: Layer already exists 01:57:54 4b9765397835: Layer already exists 01:57:54 latest: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.8 01:57:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:55 4b9765397835: Preparing 01:57:55 fd1dcabef51d: Preparing 01:57:55 795efaa36795: Preparing 01:57:55 4b7842448bdf: Preparing 01:57:55 d2d9d24a8c2a: Preparing 01:57:55 d2d9d24a8c2a: Layer already exists 01:57:55 fd1dcabef51d: Layer already exists 01:57:55 4b9765397835: Layer already exists 01:57:55 4b7842448bdf: Layer already exists 01:57:55 795efaa36795: Layer already exists 01:57:55 3.1.0-dev.8: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 01:57:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:55 4b9765397835: Preparing 01:57:55 fd1dcabef51d: Preparing 01:57:55 795efaa36795: Preparing 01:57:55 4b7842448bdf: Preparing 01:57:55 d2d9d24a8c2a: Preparing 01:57:55 fd1dcabef51d: Layer already exists 01:57:55 d2d9d24a8c2a: Layer already exists 01:57:55 4b7842448bdf: Layer already exists 01:57:55 4b9765397835: Layer already exists 01:57:55 795efaa36795: Layer already exists 01:57:55 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:57:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:57:56 4b9765397835: Preparing 01:57:56 fd1dcabef51d: Preparing 01:57:56 795efaa36795: Preparing 01:57:56 4b7842448bdf: Preparing 01:57:56 d2d9d24a8c2a: Preparing 01:57:56 d2d9d24a8c2a: Layer already exists 01:57:56 4b9765397835: Layer already exists 01:57:56 4b7842448bdf: Layer already exists 01:57:56 fd1dcabef51d: Layer already exists 01:57:56 795efaa36795: Layer already exists 01:57:56 main: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:56 ===================================================== [Pipeline] echo 01:57:56 taggedImages: 01:57:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5 01:57:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:57:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.8 01:57:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 01:57:56 - 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 01:57:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:57 01:57:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:57 arm64: Pulling from edgex-lftools-log-publisher 01:57:57 8998bd30e6a1: Pulling fs layer 01:57:57 04944245beec: Pulling fs layer 01:57:57 699f458cf7ca: Pulling fs layer 01:57:57 765212b225bb: Pulling fs layer 01:57:57 f23df028b6ca: Pulling fs layer 01:57:57 d65c8cfc05b1: Pulling fs layer 01:57:57 2437ff75d9bd: Pulling fs layer 01:57:57 765212b225bb: Waiting 01:57:57 f23df028b6ca: Waiting 01:57:57 d65c8cfc05b1: Waiting 01:57:57 2437ff75d9bd: Waiting 01:57:57 04944245beec: Verifying Checksum 01:57:57 04944245beec: Download complete 01:57:57 765212b225bb: Verifying Checksum 01:57:57 765212b225bb: Download complete 01:57:57 f23df028b6ca: Verifying Checksum 01:57:57 f23df028b6ca: Download complete 01:57:57 d65c8cfc05b1: Verifying Checksum 01:57:57 d65c8cfc05b1: Download complete 01:57:58 699f458cf7ca: Verifying Checksum 01:57:58 699f458cf7ca: Download complete 01:57:58 8998bd30e6a1: Verifying Checksum 01:57:58 8998bd30e6a1: Download complete 01:58:00 2437ff75d9bd: Verifying Checksum 01:58:00 2437ff75d9bd: Download complete 01:58:02 8998bd30e6a1: Pull complete 01:58:02 04944245beec: Pull complete 01:58:04 699f458cf7ca: Pull complete 01:58:04 765212b225bb: Pull complete 01:58:05 f23df028b6ca: Pull complete 01:58:05 d65c8cfc05b1: Pull complete 01:58:20 2437ff75d9bd: Pull complete 01:58:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:20 prd-ubuntu20.04-docker-arm64-4c-16g-5762 does not seem to be running inside a container 01:58:20 $ 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/136 -v /w/workspace/device-mqtt-go/136:/w/workspace/device-mqtt-go/136:rw,z -v /w/workspace/device-mqtt-go/136@tmp:/w/workspace/device-mqtt-go/136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:58:23 $ docker top 004cd0325d1f5a0a7ebf81e04a0cabaee7cf805fc9017320a6d2406498244974 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:24 ---> job-cost.sh 01:58:24 lf-activate-venv: SKIPPING 01:58:24 INFO: No Stack... 01:58:24 INFO: Retrieving Pricing Info for: v3-standard-4 01:58:25 INFO: Archiving Costs [Pipeline] sh 01:58:26 + cat /w/workspace/device-mqtt-go/136/archives/cost.csv 01:58:26 + cut -d, -f6 [Pipeline] lock 01:58:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] 01:58:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] did not exist. Created. 01:58:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:26 /w/workspace/device-mqtt-go/136@tmp/durable-8a3389bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:58:27 + echo total: 0.10999999940395355 [Pipeline] stash 01:58:27 Warning: overwriting stash ‘stack-cost’ 01:58:27 Stashed 1 file(s) [Pipeline] } 01:58:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:27 $ docker stop --time=1 004cd0325d1f5a0a7ebf81e04a0cabaee7cf805fc9017320a6d2406498244974 01:58:29 $ docker rm -f --volumes 004cd0325d1f5a0a7ebf81e04a0cabaee7cf805fc9017320a6d2406498244974 [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 01:58:30 provisioning config files... 01:58:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1808327827236181708tmp [Pipeline] { [Pipeline] sh 01:58:30 + set +x 01:58:30 + curl -s https://codecov.io/bash 01:58:30 + bash -s -- 01:58:30 01:58:30 _____ _ 01:58:30 / ____| | | 01:58:30 | | ___ __| | ___ ___ _____ __ 01:58:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:58:30 | |___| (_) | (_| | __/ (_| (_) \ V / 01:58:30 \_____\___/ \__,_|\___|\___\___/ \_/ 01:58:30 Bash-1.0.6 01:58:30 01:58:30 01:58:30 ==> git version 2.25.1 found 01:58:30 ==> 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 01:58:30 Release-Date: 2020-01-08 01:58:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:58:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:58:30 ==> Jenkins CI detected. 01:58:30 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:58:30 project root: . 01:58:30 --> token set from env 01:58:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:58:30 ==> Running gcov in . (disable via -X gcov) 01:58:30 ==> Python coveragepy not found 01:58:30 ==> Searching for coverage reports in: 01:58:30 + . 01:58:30 -> Found 1 reports 01:58:30 ==> Detecting git/mercurial file structure 01:58:30 ==> Reading reports 01:58:30 + ./coverage.out bytes=18506 01:58:30 ==> Appending adjustments 01:58:30 https://docs.codecov.io/docs/fixing-reports 01:58:30 + Found adjustments 01:58:30 ==> Gzipping contents 01:58:30 4.0K /tmp/codecov.9gqW5D.gz 01:58:30 ==> Uploading reports 01:58:30 url: https://codecov.io 01:58:30 query: branch=main&commit=996c7dc504458e30104dd4fabba147269fefd7c5&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:30 -> Pinging Codecov 01:58:30 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=996c7dc504458e30104dd4fabba147269fefd7c5&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:30 -> Uploading to 01:58:30 https://storage.googleapis.com/codecov/v4/raw/2023-09-11/7D719EC7BBE17E464838252E33014C33/996c7dc504458e30104dd4fabba147269fefd7c5/3e10e115-2e90-4287-a076-d0fcf03a120c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T015830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cb057ef1d7c87c0fc13f0c34acf98b465f2d47639292036f43899362ebe3a28 01:58:30 % Total % Received % Xferd Average Speed Time Time Time Current 01:58:30 Dload Upload Total Spent Left Speed 01:58:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 14434 --:--:-- --:--:-- --:--:-- 14434 01:58:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] } 01:58:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:58:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:58:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:31 01:58:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:58:32 df9b9388f04a: Pulling fs layer 01:58:32 52dc419b0ee2: Pulling fs layer 01:58:32 25bc292e5bac: Pulling fs layer 01:58:32 114826534d7a: Pulling fs layer 01:58:32 4657fd5d0bcf: Pulling fs layer 01:58:32 6ad1cebc031e: Pulling fs layer 01:58:32 8a3aa393b2d8: Pulling fs layer 01:58:32 114826534d7a: Waiting 01:58:32 4657fd5d0bcf: Waiting 01:58:32 6ad1cebc031e: Waiting 01:58:32 8a3aa393b2d8: Waiting 01:58:32 25bc292e5bac: Verifying Checksum 01:58:32 25bc292e5bac: Download complete 01:58:32 52dc419b0ee2: Verifying Checksum 01:58:32 52dc419b0ee2: Download complete 01:58:32 4657fd5d0bcf: Verifying Checksum 01:58:32 4657fd5d0bcf: Download complete 01:58:32 df9b9388f04a: Verifying Checksum 01:58:32 df9b9388f04a: Download complete 01:58:32 df9b9388f04a: Pull complete 01:58:32 52dc419b0ee2: Pull complete 01:58:32 6ad1cebc031e: Verifying Checksum 01:58:32 6ad1cebc031e: Download complete 01:58:32 25bc292e5bac: Pull complete 01:58:32 114826534d7a: Download complete 01:58:33 8a3aa393b2d8: Verifying Checksum 01:58:33 8a3aa393b2d8: Download complete 01:58:36 114826534d7a: Pull complete 01:58:36 4657fd5d0bcf: Pull complete 01:58:36 6ad1cebc031e: Pull complete 01:58:38 8a3aa393b2d8: Pull complete 01:58:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:39 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:58:43 $ docker top 1a19cba30fd5182c50b17a05281540f26f8c6bc9d186a6ee212215d9994bcf35 -eo pid,comm [Pipeline] { [Pipeline] echo 01:58:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 01:58:43 + set -o pipefail 01:58:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 01:58:49 01:58:49 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:58:49 01:58:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/04c75c0e-522a-49bd-b6a4-8e213aefb76a 01:58:49 01:58:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:58:49 01:58:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:58:49 01:58:49 01:58:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:58:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:58:49 More details here: https://snyk.co/ue1NS 01:58:49 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:58:49 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:58:49 $ docker stop --time=1 1a19cba30fd5182c50b17a05281540f26f8c6bc9d186a6ee212215d9994bcf35 01:58:52 $ docker rm -f --volumes 1a19cba30fd5182c50b17a05281540f26f8c6bc9d186a6ee212215d9994bcf35 [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 01:58:53 + git log --format=format:%s -1 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] sh 01:58:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:54 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:58:54 $ docker top 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f -eo pid,comm 01:58:54 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). 01:58:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:54 [ssh-agent] Looking for ssh-agent implementation... 01:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:54 $ docker exec 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f ssh-agent 01:58:54 SSH_AUTH_SOCK=/tmp/ssh-r03keopBP3uU/agent.31 01:58:54 SSH_AGENT_PID=37 01:58:54 Running ssh-add (command line suppressed) 01:58:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17128944504713997139.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17128944504713997139.key) 01:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:55 + git semver tag 01:58:55 2023-09-11 01:58:55,469 [run_tag] DEBUG tag force:False 01:58:55 2023-09-11 01:58:55,469 [check_head_tag] DEBUG check head tag 01:58:55 2023-09-11 01:58:55,470 [execute] INFO git cat-file --batch-check 01:58:55 2023-09-11 01:58:55,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:58:55 2023-09-11 01:58:55,474 [execute] INFO git cat-file --batch 01:58:55 2023-09-11 01:58:55,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:58:55 2023-09-11 01:58:55,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:55 2023-09-11 01:58:55,484 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 01:58:55 2023-09-11 01:58:55,484 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:58:55 2023-09-11 01:58:55,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:58:55 3.1.0-dev.8 [Pipeline] } 01:58:55 $ docker exec --env ******** --env ******** 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f ssh-agent -k 01:58:55 unset SSH_AUTH_SOCK; 01:58:55 unset SSH_AGENT_PID; 01:58:55 echo Agent pid 37 killed; 01:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:55 + git semver [Pipeline] } 01:58:56 $ docker stop --time=1 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f 01:58:57 $ docker rm -f --volumes 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:58 01:58:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:58:58 0.23.1-centos7: Pulling from edgex-lftools 01:58:58 ab5ef0e58194: Pulling fs layer 01:58:58 9712f1f96733: Pulling fs layer 01:58:58 63f879dbbcfc: Pulling fs layer 01:58:58 0d9ebad4ef96: Pulling fs layer 01:58:58 e9a5061849ea: Pulling fs layer 01:58:58 d747dcd14b5f: Pulling fs layer 01:58:58 2de7ff778b66: Pulling fs layer 01:58:58 d747dcd14b5f: Waiting 01:58:58 2de7ff778b66: Waiting 01:58:58 0d9ebad4ef96: Waiting 01:58:58 e9a5061849ea: Waiting 01:58:58 9712f1f96733: Download complete 01:58:58 63f879dbbcfc: Verifying Checksum 01:58:58 63f879dbbcfc: Download complete 01:58:58 e9a5061849ea: Verifying Checksum 01:58:58 e9a5061849ea: Download complete 01:58:58 d747dcd14b5f: Download complete 01:58:58 0d9ebad4ef96: Verifying Checksum 01:58:58 0d9ebad4ef96: Download complete 01:58:58 ab5ef0e58194: Download complete 01:58:59 2de7ff778b66: Verifying Checksum 01:58:59 2de7ff778b66: Download complete 01:59:01 ab5ef0e58194: Pull complete 01:59:01 9712f1f96733: Pull complete 01:59:02 63f879dbbcfc: Pull complete 01:59:05 0d9ebad4ef96: Pull complete 01:59:05 e9a5061849ea: Pull complete 01:59:05 d747dcd14b5f: Pull complete 01:59:06 2de7ff778b66: Pull complete 01:59:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:59:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:59:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:06 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:59:09 $ docker top 3c97404980b735704987f31e08f1f1f3b52e54f842057c03dbdd992667be013f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:59:10 provisioning config files... 01:59:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15308370060693415931tmp 01:59:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16402896395485862656tmp 01:59:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5298457752025862418tmp [Pipeline] { [Pipeline] echo 01:59:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:59:10 ---> sigul-configuration.sh 01:59:10 gpg: directory `/root/.gnupg' created 01:59:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:59:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:59:10 gpg: keyring `/root/.gnupg/secring.gpg' created 01:59:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:59:10 gpg: CAST5 encrypted data 01:59:10 gpg: encrypted with 1 passphrase 01:59:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:59:10 + mkdir /home/jenkins 01:59:10 + mkdir /home/jenkins/sigul [Pipeline] sh 01:59:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:59:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:59:11 ---> sigul-install.sh 01:59:11 Sigul already installed; skipping installation. [Pipeline] sh 01:59:11 + git tag --list 01:59:11 0.7.1 01:59:11 v1.0.0 01:59:11 v1.1.0 01:59:11 v1.1.1 01:59:11 v1.2.2 01:59:11 v1.3.0 01:59:11 v1.3.1 01:59:11 v2.0.0 01:59:11 v2.1.0 01:59:11 v2.1.1 01:59:11 v2.2.0 01:59:11 v2.3.0 01:59:11 v3.0 01:59:11 v3.0.0 01:59:11 v3.1.0-dev.1 01:59:11 v3.1.0-dev.2 01:59:11 v3.1.0-dev.3 01:59:11 v3.1.0-dev.4 01:59:11 v3.1.0-dev.5 01:59:11 v3.1.0-dev.6 01:59:11 v3.1.0-dev.7 01:59:11 v3.1.0-dev.8 [Pipeline] sh 01:59:11 + lftools sign git-tag v3.1.0-dev.8 01:59:12 Signing Git tag with Sigul... 01:59:12 Signing v3.1.0-dev.8 [Pipeline] echo 01:59:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:59:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:59:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:59:12 $ docker stop --time=1 3c97404980b735704987f31e08f1f1f3b52e54f842057c03dbdd992667be013f 01:59:14 $ docker rm -f --volumes 3c97404980b735704987f31e08f1f1f3b52e54f842057c03dbdd992667be013f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:14 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:59:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:15 $ docker top 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f -eo pid,comm 01:59:15 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). 01:59:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:15 [ssh-agent] Looking for ssh-agent implementation... 01:59:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:15 $ docker exec 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f ssh-agent 01:59:15 SSH_AUTH_SOCK=/tmp/ssh-HxM78Jj32k7Y/agent.33 01:59:15 SSH_AGENT_PID=39 01:59:15 Running ssh-add (command line suppressed) 01:59:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_772833773551246379.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_772833773551246379.key) 01:59:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:16 + git semver bump pre 01:59:16 2023-09-11 01:59:16,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:16 2023-09-11 01:59:16,179 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev 01:59:16 2023-09-11 01:59:16,180 [bump_version] DEBUG bumped version:3.1.0-dev.9 01:59:16 2023-09-11 01:59:16,180 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 01:59:16 2023-09-11 01:59:16,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:16 2023-09-11 01:59:16,180 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:16 2023-09-11 01:59:16,182 [execute] INFO git cat-file --batch-check 01:59:16 2023-09-11 01:59:16,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:59:16 2023-09-11 01:59:16,187 [execute] INFO git cat-file --batch 01:59:16 2023-09-11 01:59:16,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:59:16 2023-09-11 01:59:16,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:16 3.1.0-dev.9 [Pipeline] } 01:59:16 $ docker exec --env ******** --env ******** 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f ssh-agent -k 01:59:16 unset SSH_AUTH_SOCK; 01:59:16 unset SSH_AGENT_PID; 01:59:16 echo Agent pid 39 killed; 01:59:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:16 + git semver [Pipeline] } 01:59:16 $ docker stop --time=1 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f 01:59:18 $ docker rm -f --volumes 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f [Pipeline] // withDockerContainer [Pipeline] sh 01:59:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:18 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:59:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:19 $ docker top ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 -eo pid,comm 01:59:19 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). 01:59:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:19 [ssh-agent] Looking for ssh-agent implementation... 01:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:19 $ docker exec ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 ssh-agent 01:59:19 SSH_AUTH_SOCK=/tmp/ssh-zmPMh336qOG1/agent.32 01:59:19 SSH_AGENT_PID=38 01:59:19 Running ssh-add (command line suppressed) 01:59:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9407561929188301732.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9407561929188301732.key) 01:59:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:19 + git semver push 01:59:20 2023-09-11 01:59:20,121 [run_push] DEBUG push 01:59:20 2023-09-11 01:59:20,122 [execute] INFO git cat-file --batch-check 01:59:20 2023-09-11 01:59:20,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:59:20 2023-09-11 01:59:20,125 [execute] INFO git rev-list bf837316ba6218847f520782a4b54f8f62938681 -- 01:59:20 2023-09-11 01:59:20,126 [execute] DEBUG Popen(['git', 'rev-list', 'bf837316ba6218847f520782a4b54f8f62938681', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:59:20 2023-09-11 01:59:20,134 [execute] INFO git fetch -v origin 01:59:20 2023-09-11 01:59:20,135 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:59:20 2023-09-11 01:59:20,593 [run_push] DEBUG no remote changes detected 01:59:20 2023-09-11 01:59:20,593 [execute] INFO git push origin semver 01:59:20 2023-09-11 01:59:20,594 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:59:24 2023-09-11 01:59:23,624 [run_push] DEBUG push all version tags 01:59:24 2023-09-11 01:59:23,624 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:59:24 2023-09-11 01:59:23,625 [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) 01:59:24 2023-09-11 01:59:24,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:24 3.1.0-dev.9 [Pipeline] } 01:59:24 $ docker exec --env ******** --env ******** ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 ssh-agent -k 01:59:24 unset SSH_AUTH_SOCK; 01:59:24 unset SSH_AGENT_PID; 01:59:24 echo Agent pid 38 killed; 01:59:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:25 + git semver [Pipeline] } 01:59:25 $ docker stop --time=1 ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 01:59:26 $ docker rm -f --volumes ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 [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 01:59:27 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 01:59:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:59:27 total 16 01:59:27 drwxr-xr-x 3 root root 4096 Sep 11 01:48 . 01:59:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 01:59 .. 01:59:27 drwxr-xr-x 2 root root 4096 Sep 11 01:48 cost 01:59:27 -rw-r--r-- 1 root root 86 Sep 11 01:48 cost.csv 01:59:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:59:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:59:27 total 16 01:59:27 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:48 . 01:59:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 01:59 .. 01:59:27 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 01:48 cost 01:59:27 -rw-r--r-- 1 jenkins jenkins 86 Sep 11 01:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:59:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:28 ---> package-listing.sh 01:59:28 ++ facter osfamily 01:59:28 ++ tr '[:upper:]' '[:lower:]' 01:59:28 + OS_FAMILY=debian 01:59:28 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 01:59:28 + START_PACKAGES=/tmp/packages_start.txt 01:59:28 + END_PACKAGES=/tmp/packages_end.txt 01:59:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:28 + PACKAGES=/tmp/packages_start.txt 01:59:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:59:28 + PACKAGES=/tmp/packages_end.txt 01:59:28 + case "${OS_FAMILY}" in 01:59:28 + dpkg -l 01:59:28 + grep '^ii' 01:59:28 + '[' -f /tmp/packages_start.txt ']' 01:59:28 + '[' -f /tmp/packages_end.txt ']' 01:59:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:59:28 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 01:59:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 01:59:28 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 01:59:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:29 prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container 01:59:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:59:29 $ docker top 79e7c15fa4803b253e034bc967131c2dfbb4a856c609f4ab8ccc804b20fb4386 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:30 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:30 + ls /var/log/sa-host 01:59:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:30 provisioning config files... 01:59:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17609675703931462244tmp [Pipeline] { [Pipeline] echo 01:59:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:31 ---> create-netrc.sh [Pipeline] } 01:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:31 ---> python-tools-install.sh [Pipeline] echo 01:59:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:31 ---> sudo-logs.sh 01:59:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> job-cost.sh 01:59:32 lf-activate-venv: SKIPPING 01:59:32 DEBUG: total: 0.2199999988079071 01:59:32 INFO: Retrieving Stack Cost... 01:59:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:33 INFO: Archiving Costs [Pipeline] echo 01:59:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:33 ---> logs-deploy.sh 01:59:33 lf-activate-venv: SKIPPING 01:59:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/136 01:59:33 INFO: archiving workspace using pattern(s): 01:59:34 Archives upload complete. 01:59:34 INFO: archiving logs to Nexus