Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35621d3e3ed5e5519204e5baffde9d6fc275525a 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-ssh14848219410419109432.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4821446020258314947.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4896333545302270367.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh1594360618084888012.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-ssh16304228266841350344.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21627 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 35621d3e3ed5e5519204e5baffde9d6fc275525a (main) 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 > 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 35621d3e3ed5e5519204e5baffde9d6fc275525a # timeout=10 Commit message: "Merge pull request #406 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" > git rev-list --no-walk adfcd8475fa2a20fe672f9c26fef4422551b8595 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:52:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:52:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:52:18 ========================================================= 01:52:18 EdgeX Global Pipelines Version Info 01:52:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:52:19 ------------------- 01:52:19 stable info: 01:52:19 ------------------- 01:52:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:52:19 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:52:19 Message: update stable to v1.0.238 01:52:19 ------------------- 01:52:19 experimental info: 01:52:19 ------------------- 01:52:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:52:19 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:52:19 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35621d3 [Pipeline] echo 01:52:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:20 provisioning config files... 01:52:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3663415565137715851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:20 ---> docker-login.sh 01:52:20 nexus3.edgexfoundry.org:10001 01:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 nexus3.edgexfoundry.org:10002 01:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 nexus3.edgexfoundry.org:10003 01:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 nexus3.edgexfoundry.org:10004 01:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 docker.io 01:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 ---> docker-login.sh ends [Pipeline] } 01:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:52:22 + git rev-list -1 --merges 35621d3e3ed5e5519204e5baffde9d6fc275525a~1..35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] echo 01:52:22 -----------> git rev-list -1 --merges 35621d3e3ed5e5519204e5baffde9d6fc275525a~1..35621d3e3ed5e5519204e5baffde9d6fc275525a 35621d3e3ed5e5519204e5baffde9d6fc275525a 01:52:22 35621d3e3ed5e5519204e5baffde9d6fc275525a [false] [Pipeline] sh 01:52:22 + git log --format=format:%s -1 35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] echo 01:52:22 ========================================================= 01:52:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:52:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:22 + git log --format=format:%s -1 35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] echo 01:52:23 [semverPrep] GIT_COMMIT: 35621d3e3ed5e5519204e5baffde9d6fc275525a, Commit Message: Merge pull request #406 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18 [Pipeline] echo 01:52:23 [semverPrep] This is not a build commit. [Pipeline] sh 01:52:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:52:23 + grep -v github /etc/ssh/ssh_known_hosts 01:52:23 + [ -e /tmp/ssh_known_hosts ] 01:52:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:52:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:52:23 + sudo tee -a /etc/ssh/ssh_known_hosts 01:52:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:23 01:52:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:24 0.1.4: Pulling from edgex-devops/py-git-semver 01:52:24 b85a868b505f: Pulling fs layer 01:52:24 e2be974225ed: Pulling fs layer 01:52:24 339a4e72a1f5: Pulling fs layer 01:52:24 988bab9f4d93: Pulling fs layer 01:52:24 1469e6f7b9e6: Pulling fs layer 01:52:24 eaf3925da568: Pulling fs layer 01:52:24 bab4dde63d76: Pulling fs layer 01:52:24 bde34c3a00c8: Pulling fs layer 01:52:24 b352a97aabf1: Pulling fs layer 01:52:24 4872d77fe225: Pulling fs layer 01:52:24 5851b861e8e6: Pulling fs layer 01:52:24 bab4dde63d76: Waiting 01:52:24 bde34c3a00c8: Waiting 01:52:24 b352a97aabf1: Waiting 01:52:24 4872d77fe225: Waiting 01:52:24 1469e6f7b9e6: Waiting 01:52:24 eaf3925da568: Waiting 01:52:24 988bab9f4d93: Waiting 01:52:24 e2be974225ed: Download complete 01:52:24 988bab9f4d93: Verifying Checksum 01:52:24 988bab9f4d93: Download complete 01:52:24 1469e6f7b9e6: Verifying Checksum 01:52:24 1469e6f7b9e6: Download complete 01:52:24 339a4e72a1f5: Verifying Checksum 01:52:24 eaf3925da568: Verifying Checksum 01:52:24 eaf3925da568: Download complete 01:52:24 bde34c3a00c8: Download complete 01:52:24 b352a97aabf1: Download complete 01:52:24 4872d77fe225: Download complete 01:52:24 5851b861e8e6: Verifying Checksum 01:52:24 5851b861e8e6: Download complete 01:52:24 b85a868b505f: Verifying Checksum 01:52:24 b85a868b505f: Download complete 01:52:24 bab4dde63d76: Verifying Checksum 01:52:24 bab4dde63d76: Download complete 01:52:25 b85a868b505f: Pull complete 01:52:25 e2be974225ed: Pull complete 01:52:26 339a4e72a1f5: Pull complete 01:52:26 988bab9f4d93: Pull complete 01:52:26 1469e6f7b9e6: Pull complete 01:52:26 eaf3925da568: Pull complete 01:52:28 bab4dde63d76: Pull complete 01:52:28 bde34c3a00c8: Pull complete 01:52:28 b352a97aabf1: Pull complete 01:52:28 4872d77fe225: Pull complete 01:52:28 5851b861e8e6: Pull complete 01:52:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:28 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 01:52:28 $ 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:52:30 $ docker top 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a -eo pid,comm 01:52:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:52:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:52:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:30 [ssh-agent] Looking for ssh-agent implementation... 01:52:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:31 $ docker exec 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a ssh-agent 01:52:31 SSH_AUTH_SOCK=/tmp/ssh-Ry1XXgd6S2R1/agent.35 01:52:31 SSH_AGENT_PID=41 01:52:31 Running ssh-add (command line suppressed) 01:52:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2233586511334519470.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2233586511334519470.key) 01:52:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:31 + git tag --points-at HEAD [Pipeline] } 01:52:31 $ docker exec --env ******** --env ******** 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a ssh-agent -k 01:52:31 unset SSH_AUTH_SOCK; 01:52:31 unset SSH_AGENT_PID; 01:52:31 echo Agent pid 41 killed; 01:52:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:52:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:31 [ssh-agent] Looking for ssh-agent implementation... 01:52:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:31 $ docker exec 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a ssh-agent 01:52:32 SSH_AUTH_SOCK=/tmp/ssh-9dE6IWsmH8RD/agent.73 01:52:32 SSH_AGENT_PID=79 01:52:32 Running ssh-add (command line suppressed) 01:52:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4575925931065603976.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4575925931065603976.key) 01:52:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:32 + git semver init 01:52:32 2022-08-01 01:52:32,620 [run_init] DEBUG init version:0.0.0 force:False 01:52:32 2022-08-01 01:52:32,620 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:52:32 2022-08-01 01:52:32,621 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:52:32 2022-08-01 01:52:32,621 [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:52:33 2022-08-01 01:52:33,357 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:52:33 2022-08-01 01:52:33,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:52:33 2022-08-01 01:52:33,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:52:33 2022-08-01 01:52:33,358 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:52:33 2.3.0-dev.11 [Pipeline] } 01:52:33 $ docker exec --env ******** --env ******** 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a ssh-agent -k 01:52:33 unset SSH_AUTH_SOCK; 01:52:33 unset SSH_AGENT_PID; 01:52:33 echo Agent pid 79 killed; 01:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:52:34 + git semver [Pipeline] } 01:52:34 $ docker stop --time=1 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a 01:52:35 $ docker rm -f 43f951700ee195ad49a3df12c8be4e7f7918dab116ec8e0be07b3361b39ec66a [Pipeline] // withDockerContainer [Pipeline] sh 01:52:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:52:36 Stashed 1 file(s) [Pipeline] echo 01:52:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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:52:36 provisioning config files... 01:52:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2220673340243969779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:36 ---> docker-login.sh 01:52:36 nexus3.edgexfoundry.org:10001 01:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:36 Configure a credential helper to remove this warning. See 01:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:36 01:52:36 Login Succeeded 01:52:36 nexus3.edgexfoundry.org:10002 01:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:36 Configure a credential helper to remove this warning. See 01:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:36 01:52:36 Login Succeeded 01:52:36 nexus3.edgexfoundry.org:10003 01:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:36 Configure a credential helper to remove this warning. See 01:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:36 01:52:36 Login Succeeded 01:52:36 nexus3.edgexfoundry.org:10004 01:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:37 Configure a credential helper to remove this warning. See 01:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:37 01:52:37 Login Succeeded 01:52:37 docker.io 01:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:37 Configure a credential helper to remove this warning. See 01:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:37 01:52:37 Login Succeeded 01:52:37 ---> docker-login.sh ends [Pipeline] } 01:52:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:37 ========================================================= 01:52:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:52:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:52:37 Sending build context to Docker daemon 6.058MB 01:52:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:52:37 Step 2/12 : FROM ${BASE} AS builder 01:52:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:52:37 2408cc74d12b: Pulling fs layer 01:52:37 ea60b727a1ce: Pulling fs layer 01:52:37 30c4a7721957: Pulling fs layer 01:52:37 370296b7ddb6: Pulling fs layer 01:52:37 7c6cee850709: Pulling fs layer 01:52:37 39a5fcdaea64: Pulling fs layer 01:52:37 d94ebbe4e438: Pulling fs layer 01:52:37 bcfd1f05c69d: Pulling fs layer 01:52:37 59ccb84bbe0f: Pulling fs layer 01:52:37 7c6cee850709: Waiting 01:52:37 370296b7ddb6: Waiting 01:52:37 39a5fcdaea64: Waiting 01:52:37 bcfd1f05c69d: Waiting 01:52:37 d94ebbe4e438: Waiting 01:52:37 59ccb84bbe0f: Waiting 01:52:37 30c4a7721957: Download complete 01:52:37 ea60b727a1ce: Verifying Checksum 01:52:37 ea60b727a1ce: Download complete 01:52:38 7c6cee850709: Verifying Checksum 01:52:38 7c6cee850709: Download complete 01:52:38 39a5fcdaea64: Verifying Checksum 01:52:38 39a5fcdaea64: Download complete 01:52:38 2408cc74d12b: Verifying Checksum 01:52:38 2408cc74d12b: Download complete 01:52:38 d94ebbe4e438: Download complete 01:52:38 2408cc74d12b: Pull complete 01:52:38 ea60b727a1ce: Pull complete 01:52:38 30c4a7721957: Pull complete 01:52:38 59ccb84bbe0f: Verifying Checksum 01:52:38 59ccb84bbe0f: Download complete 01:52:38 bcfd1f05c69d: Verifying Checksum 01:52:38 bcfd1f05c69d: Download complete 01:52:38 370296b7ddb6: Verifying Checksum 01:52:38 370296b7ddb6: Download complete 01:52:42 370296b7ddb6: Pull complete 01:52:42 7c6cee850709: Pull complete 01:52:42 39a5fcdaea64: Pull complete 01:52:42 d94ebbe4e438: Pull complete 01:52:44 bcfd1f05c69d: Pull complete 01:52:45 59ccb84bbe0f: Pull complete 01:52:45 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:52:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:52:45 ---> a4fb48ad2a94 01:52:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:52:49 ---> Running in 5e7ec5926b7c 01:52:49 Removing intermediate container 5e7ec5926b7c 01:52:49 ---> 2d3607d3fbc5 01:52:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:52:49 ---> Running in adf561d87dc4 01:52:49 Removing intermediate container adf561d87dc4 01:52:49 ---> 1addb15e2687 01:52:49 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:49 ---> Running in ccb7ee6d2e1d 01:52:50 Removing intermediate container ccb7ee6d2e1d 01:52:50 ---> e15af0c34a2b 01:52:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:50 ---> Running in 854d4dd4a8ee 01:52:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:52:51 Still waiting to schedule task 01:52:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21626’ is offline 01:52:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:52:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:52:51 (2/4) Installing libedit (20210910.3.1-r0) 01:52:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:52:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:52:51 Executing busybox-1.35.0-r13.trigger 01:52:51 OK: 216 MiB in 55 packages 01:52:52 Removing intermediate container 854d4dd4a8ee 01:52:52 ---> 150bee843588 01:52:52 Step 7/12 : WORKDIR /device-mqtt-go 01:52:52 ---> Running in a93d4fdee441 01:52:52 Removing intermediate container a93d4fdee441 01:52:52 ---> 27d7d5eab1f2 01:52:52 Step 8/12 : COPY go.mod vendor* ./ 01:52:52 ---> a46436e4891a 01:52:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:52 ---> Running in c7ff05ef59da 01:53:11 Removing intermediate container c7ff05ef59da 01:53:11 ---> b5bca8f114ea 01:53:11 Step 10/12 : COPY . . 01:53:11 ---> cb092ee516f3 01:53:11 Step 11/12 : ARG MAKE='make build' 01:53:11 ---> Running in 7fe698429ddd 01:53:11 Removing intermediate container 7fe698429ddd 01:53:11 ---> 9231c240faeb 01:53:11 Step 12/12 : RUN $MAKE 01:53:11 ---> Running in f1bc7a1778e5 01:53:11 noop 01:53:11 Removing intermediate container f1bc7a1778e5 01:53:11 ---> 3b75aca1225f 01:53:11 Successfully built 3b75aca1225f 01:53:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:11 + docker inspect -f . ci-base-image-x86_64 01:53:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:11 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 01:53:11 $ 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:53:11 $ docker top 986e3c0c00717cd09f1f0dcadfebfe5e050c3a9f4bb5b33c57930b1f1caeff51 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:12 + go version 01:53:12 go version go1.18.3 linux/amd64 [Pipeline] } 01:53:12 $ docker stop --time=1 986e3c0c00717cd09f1f0dcadfebfe5e050c3a9f4bb5b33c57930b1f1caeff51 01:53:13 $ docker rm -f 986e3c0c00717cd09f1f0dcadfebfe5e050c3a9f4bb5b33c57930b1f1caeff51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:13 + docker inspect -f . ci-base-image-x86_64 01:53:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:14 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 01:53:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:53:14 $ docker top ded29f076c338b78fe70ebc588699317d54572644336e23d98d73c57599d960d -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:53:15 + make test 01:53:15 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:53:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:53:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:53:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 01:53:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:53:30 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:53:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:53:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:53:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:53:33 ./bin/test-attribution-txt.sh 01:53:33 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:53:33 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:53:33 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:53:33 $ docker stop --time=1 ded29f076c338b78fe70ebc588699317d54572644336e23d98d73c57599d960d 01:53:35 $ docker rm -f ded29f076c338b78fe70ebc588699317d54572644336e23d98d73c57599d960d [Pipeline] // withDockerContainer [Pipeline] sh 01:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:53:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:53:36 + ls -al . 01:53:36 total 180 01:53:36 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 01:53 . 01:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:52 .. 01:53:36 -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 01:52 .dockerignore 01:53:36 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:53 .git 01:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:52 .github 01:53:36 -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 01:52 .gitignore 01:53:36 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 01:52 .golangci.yml 01:53:36 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 01:52 .semver 01:53:36 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 1 01:52 Attribution.txt 01:53:36 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 1 01:52 CHANGELOG.md 01:53:36 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 1 01:52 Dockerfile 01:53:36 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 01:52 GOVERNANCE.md 01:53:36 -rw-rw-r-- 1 jenkins jenkins 678 Aug 1 01:52 Jenkinsfile 01:53:36 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 01:52 LICENSE 01:53:36 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 1 01:52 Makefile 01:53:36 -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 01:52 OWNERS.md 01:53:36 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 1 01:52 README.md 01:53:36 -rw-rw-r-- 1 jenkins jenkins 12 Aug 1 01:52 VERSION 01:53:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:52 bin 01:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:52 cmd 01:53:36 -rw-r--r-- 1 jenkins jenkins 17887 Aug 1 01:53 coverage.out 01:53:36 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 1 01:52 go.mod 01:53:36 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 01:52 go.sum 01:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:52 internal 01:53:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:52 mock 01:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:52 snap 01:53:36 -rw-rw-r-- 1 jenkins jenkins 227 Aug 1 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:37 + 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=35621d3e3ed5e5519204e5baffde9d6fc275525a --label arch=amd64 --label version=2.3.0-dev.11 . 01:53:37 Sending build context to Docker daemon 6.076MB 01:53:37 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:53:37 Step 2/24 : FROM ${BASE} AS builder 01:53:37 ---> 3b75aca1225f 01:53:37 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:53:37 ---> Running in bdaa1c3a1186 01:53:37 Removing intermediate container bdaa1c3a1186 01:53:37 ---> 146290d2697c 01:53:37 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:53:37 ---> Running in d80ac856a487 01:53:37 Removing intermediate container d80ac856a487 01:53:37 ---> 7144b3cff736 01:53:37 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:53:37 ---> Running in 572c2a77995d 01:53:38 Removing intermediate container 572c2a77995d 01:53:38 ---> d96319b9e1fa 01:53:38 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:38 ---> Running in b93068cf64e6 01:53:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:53:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:53:39 OK: 216 MiB in 55 packages 01:53:39 Removing intermediate container b93068cf64e6 01:53:39 ---> a8415314868c 01:53:39 Step 7/24 : WORKDIR /device-mqtt-go 01:53:39 ---> Running in c2da991bd818 01:53:39 Removing intermediate container c2da991bd818 01:53:39 ---> 17d4abc54949 01:53:39 Step 8/24 : COPY go.mod vendor* ./ 01:53:40 ---> 3b1801997411 01:53:40 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:40 ---> Running in 01b4a83e903a 01:53:40 Removing intermediate container 01b4a83e903a 01:53:40 ---> 0594cba03da6 01:53:40 Step 10/24 : COPY . . 01:53:40 ---> 97a7254fc013 01:53:40 Step 11/24 : ARG MAKE='make build' 01:53:40 ---> Running in 4b4590bb2cf7 01:53:41 Removing intermediate container 4b4590bb2cf7 01:53:41 ---> 36a725468df6 01:53:41 Step 12/24 : RUN $MAKE 01:53:41 ---> Running in 3dcdf6f9690e 01:53:41 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:54:03 Removing intermediate container 3dcdf6f9690e 01:54:03 ---> 0c7fe4192e9c 01:54:03 Step 13/24 : FROM alpine:3.16 01:54:03 3.16: Pulling from library/alpine 01:54:03 530afca65e2e: Pulling fs layer 01:54:03 530afca65e2e: Verifying Checksum 01:54:03 530afca65e2e: Download complete 01:54:03 530afca65e2e: Pull complete 01:54:03 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 01:54:03 Status: Downloaded newer image for alpine:3.16 01:54:03 ---> d7d3d98c851f 01:54:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:54:03 ---> Running in 9faa0901e93a 01:54:03 Removing intermediate container 9faa0901e93a 01:54:03 ---> aab677ae152b 01:54:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:54:03 ---> Running in 1199c7c856cc 01:54:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:54:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:54:03 (1/6) Installing dumb-init (1.2.5-r1) 01:54:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:54:03 (3/6) Installing libsodium (1.0.18-r0) 01:54:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:54:03 (5/6) Installing libzmq (4.3.4-r0) 01:54:03 (6/6) Installing zeromq (4.3.4-r0) 01:54:03 Executing busybox-1.35.0-r15.trigger 01:54:03 OK: 8 MiB in 20 packages 01:54:03 Removing intermediate container 1199c7c856cc 01:54:03 ---> 48ad2d872023 01:54:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:54:03 ---> fd0dd0db2222 01:54:03 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:54:03 ---> c60ec400e668 01:54:03 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:54:03 ---> 626c09e5bdd2 01:54:03 Step 19/24 : EXPOSE 59982 01:54:03 ---> Running in 72cd13064ab9 01:54:03 Removing intermediate container 72cd13064ab9 01:54:03 ---> f48ee35dfe9b 01:54:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:54:03 ---> Running in 804557fe547b 01:54:03 Removing intermediate container 804557fe547b 01:54:03 ---> 9d5e3f8ad6d3 01:54:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:54:03 ---> Running in 39c917b38255 01:54:03 Removing intermediate container 39c917b38255 01:54:03 ---> efeadf42f675 01:54:03 Step 22/24 : LABEL arch=amd64 01:54:03 ---> Running in a6c809e43ff9 01:54:03 Removing intermediate container a6c809e43ff9 01:54:03 ---> 06aeb824fe34 01:54:03 Step 23/24 : LABEL git_sha=35621d3e3ed5e5519204e5baffde9d6fc275525a 01:54:03 ---> Running in 5b91b17a0133 01:54:03 Removing intermediate container 5b91b17a0133 01:54:03 ---> db01b21c2f2b 01:54:03 Step 24/24 : LABEL version=2.3.0-dev.11 01:54:03 ---> Running in e5312dbef009 01:54:03 Removing intermediate container e5312dbef009 01:54:03 ---> f9e18638fd2e 01:54:03 [Warning] One or more build-args [ARCH] were not consumed 01:54:03 Successfully built f9e18638fd2e 01:54:03 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:03 provisioning config files... 01:54:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7388181363366325056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:04 ---> docker-login.sh 01:54:04 nexus3.edgexfoundry.org:10001 01:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:04 Configure a credential helper to remove this warning. See 01:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:04 01:54:04 Login Succeeded 01:54:04 nexus3.edgexfoundry.org:10002 01:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:04 Configure a credential helper to remove this warning. See 01:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:04 01:54:04 Login Succeeded 01:54:04 nexus3.edgexfoundry.org:10003 01:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:04 Configure a credential helper to remove this warning. See 01:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:04 01:54:04 Login Succeeded 01:54:04 nexus3.edgexfoundry.org:10004 01:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:04 Configure a credential helper to remove this warning. See 01:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:04 01:54:04 Login Succeeded 01:54:04 docker.io 01:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:04 Configure a credential helper to remove this warning. See 01:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:04 01:54:04 Login Succeeded 01:54:04 ---> docker-login.sh ends [Pipeline] } 01:54:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:54:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:54:04 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:54:04 35621d3e3ed5e5519204e5baffde9d6fc275525a 01:54:04 latest 01:54:04 2.3.0-dev.11 01:54:04 35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 01:54:04 main 01:54:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:35621d3e3ed5e5519204e5baffde9d6fc275525a 01:54:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:05 3e9cb42f4532: Preparing 01:54:05 b75c1051be7e: Preparing 01:54:05 78cfb8c07c69: Preparing 01:54:05 961c0c14ff12: Preparing 01:54:05 ec34fcc1d526: Preparing 01:54:05 ec34fcc1d526: Layer already exists 01:54:05 3e9cb42f4532: Pushed 01:54:05 b75c1051be7e: Pushed 01:54:05 961c0c14ff12: Pushed 01:54:08 78cfb8c07c69: Pushed 01:54:08 35621d3e3ed5e5519204e5baffde9d6fc275525a: digest: sha256:be9cb4b31a55f4e9af157740b71695e77e7b36e67ab40cc4b7b9e554c5d96f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:08 3e9cb42f4532: Preparing 01:54:08 b75c1051be7e: Preparing 01:54:08 78cfb8c07c69: Preparing 01:54:08 961c0c14ff12: Preparing 01:54:08 ec34fcc1d526: Preparing 01:54:08 ec34fcc1d526: Layer already exists 01:54:08 b75c1051be7e: Layer already exists 01:54:08 3e9cb42f4532: Layer already exists 01:54:08 78cfb8c07c69: Layer already exists 01:54:08 961c0c14ff12: Layer already exists 01:54:08 latest: digest: sha256:be9cb4b31a55f4e9af157740b71695e77e7b36e67ab40cc4b7b9e554c5d96f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:09 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.11 01:54:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:09 3e9cb42f4532: Preparing 01:54:09 b75c1051be7e: Preparing 01:54:09 78cfb8c07c69: Preparing 01:54:09 961c0c14ff12: Preparing 01:54:09 ec34fcc1d526: Preparing 01:54:09 b75c1051be7e: Layer already exists 01:54:09 3e9cb42f4532: Layer already exists 01:54:09 961c0c14ff12: Layer already exists 01:54:09 ec34fcc1d526: Layer already exists 01:54:09 78cfb8c07c69: Layer already exists 01:54:09 2.3.0-dev.11: digest: sha256:be9cb4b31a55f4e9af157740b71695e77e7b36e67ab40cc4b7b9e554c5d96f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:09 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 01:54:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:10 3e9cb42f4532: Preparing 01:54:10 b75c1051be7e: Preparing 01:54:10 78cfb8c07c69: Preparing 01:54:10 961c0c14ff12: Preparing 01:54:10 ec34fcc1d526: Preparing 01:54:10 78cfb8c07c69: Layer already exists 01:54:10 3e9cb42f4532: Layer already exists 01:54:10 961c0c14ff12: Layer already exists 01:54:10 ec34fcc1d526: Layer already exists 01:54:10 b75c1051be7e: Layer already exists 01:54:10 35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11: digest: sha256:be9cb4b31a55f4e9af157740b71695e77e7b36e67ab40cc4b7b9e554c5d96f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:54:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:10 3e9cb42f4532: Preparing 01:54:10 b75c1051be7e: Preparing 01:54:10 78cfb8c07c69: Preparing 01:54:10 961c0c14ff12: Preparing 01:54:10 ec34fcc1d526: Preparing 01:54:10 ec34fcc1d526: Layer already exists 01:54:10 961c0c14ff12: Layer already exists 01:54:10 3e9cb42f4532: Layer already exists 01:54:10 78cfb8c07c69: Layer already exists 01:54:10 b75c1051be7e: Layer already exists 01:54:10 main: digest: sha256:be9cb4b31a55f4e9af157740b71695e77e7b36e67ab40cc4b7b9e554c5d96f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:54:10 ===================================================== [Pipeline] echo 01:54:10 taggedImages: 01:54:10 - nexus3.edgexfoundry.org:10004/device-mqtt:35621d3e3ed5e5519204e5baffde9d6fc275525a 01:54:10 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:54:10 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.11 01:54:10 - nexus3.edgexfoundry.org:10004/device-mqtt:35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 01:54:10 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:11 01:54:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:11 latest: Pulling from edgex-lftools-log-publisher 01:54:11 5eb5b503b376: Pulling fs layer 01:54:11 5c69ac0246d0: Pulling fs layer 01:54:11 ec43610c2a17: Pulling fs layer 01:54:11 3a2ae6a8a46f: Pulling fs layer 01:54:11 33b1e0a273af: Pulling fs layer 01:54:11 5d3b04190fa2: Pulling fs layer 01:54:11 2f39f015ded8: Pulling fs layer 01:54:11 33b1e0a273af: Waiting 01:54:11 5d3b04190fa2: Waiting 01:54:11 3a2ae6a8a46f: Waiting 01:54:11 5c69ac0246d0: Verifying Checksum 01:54:11 5c69ac0246d0: Download complete 01:54:11 3a2ae6a8a46f: Verifying Checksum 01:54:11 3a2ae6a8a46f: Download complete 01:54:11 33b1e0a273af: Verifying Checksum 01:54:11 33b1e0a273af: Download complete 01:54:11 5d3b04190fa2: Verifying Checksum 01:54:11 5d3b04190fa2: Download complete 01:54:11 ec43610c2a17: Verifying Checksum 01:54:11 ec43610c2a17: Download complete 01:54:11 5eb5b503b376: Download complete 01:54:12 2f39f015ded8: Download complete 01:54:13 5eb5b503b376: Pull complete 01:54:13 5c69ac0246d0: Pull complete 01:54:13 ec43610c2a17: Pull complete 01:54:13 3a2ae6a8a46f: Pull complete 01:54:13 33b1e0a273af: Pull complete 01:54:14 5d3b04190fa2: Pull complete 01:54:18 2f39f015ded8: Pull complete 01:54:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:18 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 01:54:18 $ 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:54:21 $ docker top 8d70c63a34711f996d321cf6a6099357d027db0f8d6ceb984ac3631503b68ea7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:22 ---> job-cost.sh 01:54:22 lf-activate-venv: SKIPPING 01:54:22 INFO: No Stack... 01:54:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:23 INFO: Archiving Costs [Pipeline] sh 01:54:23 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:54:23 + cut -d, -f6 [Pipeline] lock 01:54:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] 01:54:23 Resource [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] did not exist. Created. 01:54:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:23 + echo total: 0.2199999988079071 [Pipeline] stash 01:54:23 Stashed 1 file(s) [Pipeline] } 01:54:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:23 $ docker stop --time=1 8d70c63a34711f996d321cf6a6099357d027db0f8d6ceb984ac3631503b68ea7 01:54:24 $ docker rm -f 8d70c63a34711f996d321cf6a6099357d027db0f8d6ceb984ac3631503b68ea7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:55:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21628 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:55:11 Running in /w/workspace/device-mqtt-go/58 [Pipeline] { [Pipeline] checkout 01:55:11 Selected Git installation does not exist. Using Default 01:55:11 The recommended git tool is: NONE 01:55:19 using credential edgex-jenkins-ssh 01:55:19 Cloning the remote Git repository 01:55:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:55:19 > git init /w/workspace/device-mqtt-go/58 # timeout=10 01:55:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:55:19 > git --version # timeout=10 01:55:19 > git --version # 'git version 2.25.1' 01:55:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:55:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:55:20 Avoid second fetch 01:55:20 Checking out Revision 35621d3e3ed5e5519204e5baffde9d6fc275525a (main) 01:55:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:55:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:55:20 > git config core.sparsecheckout # timeout=10 01:55:20 > git checkout -f 35621d3e3ed5e5519204e5baffde9d6fc275525a # timeout=10 01:55:25 Commit message: "Merge pull request #406 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:55:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:26 Dload Upload Total Spent Left Speed 01:55:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 96343 [Pipeline] sh 01:55:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:55:27 + + sudo tee /etc/docker/daemon.newsudo 01:55:27 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:55:27 { 01:55:27 "registry-mirrors": [ 01:55:27 "https://nexus3.edgexfoundry.org:10001" 01:55:27 ], 01:55:27 "bip": "10.250.0.254/24", 01:55:27 "hosts": [ 01:55:27 "tcp://0.0.0.0:5555", 01:55:27 "unix:///var/run/docker.sock" 01:55:27 ], 01:55:27 "mtu": 1458, 01:55:27 "selinux-enabled": true, 01:55:27 "seccomp-profile": "/etc/docker/seccomp.json" 01:55:27 } [Pipeline] sh 01:55:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:55:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:46 provisioning config files... 01:55:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/58@tmp/config7999083426611098539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:46 ---> docker-login.sh 01:55:46 nexus3.edgexfoundry.org:10001 01:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:47 Configure a credential helper to remove this warning. See 01:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:47 01:55:47 Login Succeeded 01:55:47 nexus3.edgexfoundry.org:10002 01:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:48 Configure a credential helper to remove this warning. See 01:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:48 01:55:48 Login Succeeded 01:55:48 nexus3.edgexfoundry.org:10003 01:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:48 Configure a credential helper to remove this warning. See 01:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:48 01:55:48 Login Succeeded 01:55:48 nexus3.edgexfoundry.org:10004 01:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:49 Configure a credential helper to remove this warning. See 01:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:49 01:55:49 Login Succeeded 01:55:49 docker.io 01:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:49 Configure a credential helper to remove this warning. See 01:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:49 01:55:49 Login Succeeded 01:55:49 ---> docker-login.sh ends [Pipeline] } 01:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:55:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:55:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:55:50 ========================================================= 01:55:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:55:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:55:50 Sending build context to Docker daemon 3.127MB 01:55:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:55:50 Step 2/12 : FROM ${BASE} AS builder 01:55:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:55:51 b3c136eddcbf: Pulling fs layer 01:55:51 c0a3192eca97: Pulling fs layer 01:55:51 a050256f5b6f: Pulling fs layer 01:55:51 656be50a0ddc: Pulling fs layer 01:55:51 2bbca73fdf42: Pulling fs layer 01:55:51 46d945488cbd: Pulling fs layer 01:55:51 8a5474983e97: Pulling fs layer 01:55:51 329c88fbcd65: Pulling fs layer 01:55:51 46d945488cbd: Waiting 01:55:51 8a5474983e97: Waiting 01:55:51 329c88fbcd65: Waiting 01:55:51 656be50a0ddc: Waiting 01:55:51 2bbca73fdf42: Waiting 01:55:51 a050256f5b6f: Verifying Checksum 01:55:51 a050256f5b6f: Download complete 01:55:51 c0a3192eca97: Verifying Checksum 01:55:51 c0a3192eca97: Download complete 01:55:51 2bbca73fdf42: Download complete 01:55:51 46d945488cbd: Verifying Checksum 01:55:51 46d945488cbd: Download complete 01:55:51 b3c136eddcbf: Verifying Checksum 01:55:51 b3c136eddcbf: Download complete 01:55:52 b3c136eddcbf: Pull complete 01:55:52 329c88fbcd65: Verifying Checksum 01:55:52 329c88fbcd65: Download complete 01:55:52 c0a3192eca97: Pull complete 01:55:53 a050256f5b6f: Pull complete 01:55:53 8a5474983e97: Verifying Checksum 01:55:53 8a5474983e97: Download complete 01:55:54 656be50a0ddc: Verifying Checksum 01:55:54 656be50a0ddc: Download complete 01:56:09 656be50a0ddc: Pull complete 01:56:09 2bbca73fdf42: Pull complete 01:56:09 46d945488cbd: Pull complete 01:56:14 8a5474983e97: Pull complete 01:56:16 329c88fbcd65: Pull complete 01:56:16 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:56:17 ---> ff4287adb874 01:56:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:56:19 ---> Running in 6ea49a98a01c 01:56:21 Removing intermediate container 6ea49a98a01c 01:56:21 ---> 35b98f19a61f 01:56:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:56:21 ---> Running in b46be9251d5d 01:56:21 Removing intermediate container b46be9251d5d 01:56:21 ---> 253f4d21d0f2 01:56:21 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:56:21 ---> Running in 70fba5f49fa3 01:56:23 Removing intermediate container 70fba5f49fa3 01:56:23 ---> 481587754111 01:56:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:23 ---> Running in df1996ccb611 01:56:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:56:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:56:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:56:26 (2/4) Installing libedit (20210910.3.1-r0) 01:56:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:56:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:56:26 Executing busybox-1.35.0-r13.trigger 01:56:26 OK: 226 MiB in 55 packages 01:56:27 Removing intermediate container df1996ccb611 01:56:27 ---> 1435c72de34c 01:56:27 Step 7/12 : WORKDIR /device-mqtt-go 01:56:28 ---> Running in 6e4708a6bc44 01:56:28 Removing intermediate container 6e4708a6bc44 01:56:28 ---> 8ee0dfc225ff 01:56:28 Step 8/12 : COPY go.mod vendor* ./ 01:56:28 ---> 7bca84fd1b5c 01:56:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:28 ---> Running in 7b5a2080568a 01:57:25 Removing intermediate container 7b5a2080568a 01:57:25 ---> 7b4b226954d4 01:57:25 Step 10/12 : COPY . . 01:57:25 ---> 8bd910ca609d 01:57:25 Step 11/12 : ARG MAKE='make build' 01:57:25 ---> Running in 8c123a905a2b 01:57:25 Removing intermediate container 8c123a905a2b 01:57:25 ---> dd04761097e9 01:57:25 Step 12/12 : RUN $MAKE 01:57:25 ---> Running in e5e115e40368 01:57:25 noop 01:57:25 Removing intermediate container e5e115e40368 01:57:25 ---> f446200b3a17 01:57:25 Successfully built f446200b3a17 01:57:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:25 + docker inspect -f . ci-base-image-arm64 01:57:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:26 prd-ubuntu20.04-docker-arm64-4c-16g-21628 does not seem to be running inside a container 01:57:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@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:57:27 $ docker top 9230c0470402e70fc57537ef4735d38918993bb7034a29dbf58a413f5e01289c -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:28 + go version 01:57:28 go version go1.18.3 linux/arm64 [Pipeline] } 01:57:28 $ docker stop --time=1 9230c0470402e70fc57537ef4735d38918993bb7034a29dbf58a413f5e01289c 01:57:30 $ docker rm -f 9230c0470402e70fc57537ef4735d38918993bb7034a29dbf58a413f5e01289c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:30 + docker inspect -f . ci-base-image-arm64 01:57:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:31 prd-ubuntu20.04-docker-arm64-4c-16g-21628 does not seem to be running inside a container 01:57:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@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:57:32 $ docker top de68a5160a52c8cce6931e4a2142f472c4dcd156fea211bdbd67581a4197c4be -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/58 [Pipeline] fileExists [Pipeline] sh 01:57:34 + make test 01:57:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:57:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:58:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:58:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements 01:58:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:58:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:58:57 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:59:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:59:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:59:19 ./bin/test-attribution-txt.sh 01:59:19 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:59:19 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:59:19 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:59:19 $ docker stop --time=1 de68a5160a52c8cce6931e4a2142f472c4dcd156fea211bdbd67581a4197c4be 01:59:21 $ docker rm -f de68a5160a52c8cce6931e4a2142f472c4dcd156fea211bdbd67581a4197c4be [Pipeline] // withDockerContainer [Pipeline] sh 01:59:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:22 Warning: overwriting stash ‘coverage-report’ 01:59:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:23 + ls -al . 01:59:23 total 176 01:59:23 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 01:57 . 01:59:23 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:55 .. 01:59:23 -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 01:55 .dockerignore 01:59:23 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:55 .git 01:59:23 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:55 .github 01:59:23 -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 01:55 .gitignore 01:59:23 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 01:55 .golangci.yml 01:59:23 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 1 01:55 Attribution.txt 01:59:23 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 1 01:55 CHANGELOG.md 01:59:23 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 1 01:55 Dockerfile 01:59:23 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 01:55 GOVERNANCE.md 01:59:23 -rw-rw-r-- 1 jenkins jenkins 678 Aug 1 01:55 Jenkinsfile 01:59:23 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 01:55 LICENSE 01:59:23 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 1 01:55 Makefile 01:59:23 -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 01:55 OWNERS.md 01:59:23 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 1 01:55 README.md 01:59:23 -rw-rw-r-- 1 jenkins jenkins 12 Aug 1 01:52 VERSION 01:59:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:55 bin 01:59:23 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:55 cmd 01:59:23 -rw-r--r-- 1 jenkins jenkins 17887 Aug 1 01:58 coverage.out 01:59:23 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 1 01:55 go.mod 01:59:23 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 01:55 go.sum 01:59:23 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:55 internal 01:59:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:55 mock 01:59:23 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:55 snap 01:59:23 -rw-rw-r-- 1 jenkins jenkins 227 Aug 1 01:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:23 + 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=35621d3e3ed5e5519204e5baffde9d6fc275525a --label arch=arm64 --label version=2.3.0-dev.11 . 01:59:24 Sending build context to Docker daemon 3.146MB 01:59:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:59:24 Step 2/24 : FROM ${BASE} AS builder 01:59:24 ---> f446200b3a17 01:59:24 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:59:24 ---> Running in d6fd2f9b001f 01:59:24 Removing intermediate container d6fd2f9b001f 01:59:24 ---> 5277e059cdb1 01:59:24 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:59:24 ---> Running in 61070bb773ae 01:59:25 Removing intermediate container 61070bb773ae 01:59:25 ---> 9a36c6fc7fe9 01:59:25 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:59:25 ---> Running in f450715f0c60 01:59:27 Removing intermediate container f450715f0c60 01:59:27 ---> fdae85801f55 01:59:27 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:27 ---> Running in 30c2b6be41d7 01:59:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:59:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:59:29 OK: 226 MiB in 55 packages 01:59:30 Removing intermediate container 30c2b6be41d7 01:59:30 ---> 3ecb68255b32 01:59:30 Step 7/24 : WORKDIR /device-mqtt-go 01:59:30 ---> Running in a333543ed334 01:59:30 Removing intermediate container a333543ed334 01:59:30 ---> 46701b8fd3c1 01:59:30 Step 8/24 : COPY go.mod vendor* ./ 01:59:31 ---> 07ff23553bd7 01:59:31 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:31 ---> Running in bc22914960a2 01:59:33 Removing intermediate container bc22914960a2 01:59:33 ---> caf217133a7d 01:59:33 Step 10/24 : COPY . . 01:59:33 ---> 21d31f096361 01:59:33 Step 11/24 : ARG MAKE='make build' 01:59:33 ---> Running in c307738e75f3 01:59:34 Removing intermediate container c307738e75f3 01:59:34 ---> e42a768e23b1 01:59:34 Step 12/24 : RUN $MAKE 01:59:34 ---> Running in 01a5e0016889 01:59:35 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:01:42 Removing intermediate container 01a5e0016889 02:01:42 ---> d940cc56e224 02:01:42 Step 13/24 : FROM alpine:3.16 02:01:42 3.16: Pulling from library/alpine 02:01:43 f97344484467: Pulling fs layer 02:01:43 f97344484467: Verifying Checksum 02:01:43 f97344484467: Download complete 02:01:43 f97344484467: Pull complete 02:01:43 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 02:01:43 Status: Downloaded newer image for alpine:3.16 02:01:43 ---> 3d81c46cd875 02:01:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:01:43 ---> Running in 453abdd8a664 02:01:44 Removing intermediate container 453abdd8a664 02:01:44 ---> 8c1405907416 02:01:44 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:01:44 ---> Running in cf7f42ddd0d1 02:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:01:46 (1/6) Installing dumb-init (1.2.5-r1) 02:01:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:01:46 (3/6) Installing libsodium (1.0.18-r0) 02:01:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:01:46 (5/6) Installing libzmq (4.3.4-r0) 02:01:46 (6/6) Installing zeromq (4.3.4-r0) 02:01:46 Executing busybox-1.35.0-r15.trigger 02:01:46 OK: 8 MiB in 20 packages 02:01:47 Removing intermediate container cf7f42ddd0d1 02:01:47 ---> 3b2a7b836b53 02:01:47 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:01:49 ---> 53620a6e7bde 02:01:49 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:01:49 ---> 248a16eca4bf 02:01:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:01:50 ---> eb171edad71f 02:01:50 Step 19/24 : EXPOSE 59982 02:01:50 ---> Running in f0c5d390864f 02:01:50 Removing intermediate container f0c5d390864f 02:01:50 ---> bd5f1c575f7e 02:01:50 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:01:50 ---> Running in 4ed3eb8406b3 02:01:50 Removing intermediate container 4ed3eb8406b3 02:01:50 ---> 4c08cfb18e4a 02:01:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:01:51 ---> Running in a43008e3fc96 02:01:51 Removing intermediate container a43008e3fc96 02:01:51 ---> e3842f13d422 02:01:51 Step 22/24 : LABEL arch=arm64 02:01:51 ---> Running in 9aedcf13e115 02:01:51 Removing intermediate container 9aedcf13e115 02:01:51 ---> eca68dd8165c 02:01:51 Step 23/24 : LABEL git_sha=35621d3e3ed5e5519204e5baffde9d6fc275525a 02:01:52 ---> Running in cf291a9ec17c 02:01:52 Removing intermediate container cf291a9ec17c 02:01:52 ---> 022b88ddbe2b 02:01:52 Step 24/24 : LABEL version=2.3.0-dev.11 02:01:52 ---> Running in 7377077719f2 02:01:52 Removing intermediate container 7377077719f2 02:01:52 ---> 9d5f0a27fac6 02:01:52 [Warning] One or more build-args [ARCH] were not consumed 02:01:52 Successfully built 9d5f0a27fac6 02:01:52 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 02:01:52 provisioning config files... 02:01:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/58@tmp/config7939566852434060837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:53 ---> docker-login.sh 02:01:53 nexus3.edgexfoundry.org:10001 02:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:53 Configure a credential helper to remove this warning. See 02:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:53 02:01:53 Login Succeeded 02:01:53 nexus3.edgexfoundry.org:10002 02:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:54 Configure a credential helper to remove this warning. See 02:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:54 02:01:54 Login Succeeded 02:01:54 nexus3.edgexfoundry.org:10003 02:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:54 Configure a credential helper to remove this warning. See 02:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:54 02:01:54 Login Succeeded 02:01:54 nexus3.edgexfoundry.org:10004 02:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:55 Configure a credential helper to remove this warning. See 02:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:55 02:01:55 Login Succeeded 02:01:55 docker.io 02:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:56 Configure a credential helper to remove this warning. See 02:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:56 02:01:56 Login Succeeded 02:01:56 ---> docker-login.sh ends [Pipeline] } 02:01:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:56 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:01:56 35621d3e3ed5e5519204e5baffde9d6fc275525a 02:01:56 latest 02:01:56 2.3.0-dev.11 02:01:56 35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 02:01:56 main 02:01:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35621d3e3ed5e5519204e5baffde9d6fc275525a 02:01:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:01:56 040a12a5a0ca: Preparing 02:01:56 84eae502f7f3: Preparing 02:01:56 ce1ba1e7c8f8: Preparing 02:01:56 b64835318d8d: Preparing 02:01:56 5b7df235d876: Preparing 02:01:57 5b7df235d876: Layer already exists 02:01:57 84eae502f7f3: Pushed 02:01:57 040a12a5a0ca: Pushed 02:01:57 b64835318d8d: Pushed 02:02:03 ce1ba1e7c8f8: Pushed 02:02:03 35621d3e3ed5e5519204e5baffde9d6fc275525a: digest: sha256:94f829dc29d3a9351e2074d811a951d8963d03d7edcd957d58afcf481b1d7850 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:02:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:02:03 040a12a5a0ca: Preparing 02:02:03 84eae502f7f3: Preparing 02:02:03 ce1ba1e7c8f8: Preparing 02:02:03 b64835318d8d: Preparing 02:02:03 5b7df235d876: Preparing 02:02:03 ce1ba1e7c8f8: Layer already exists 02:02:03 b64835318d8d: Layer already exists 02:02:03 84eae502f7f3: Layer already exists 02:02:03 5b7df235d876: Layer already exists 02:02:03 040a12a5a0ca: Layer already exists 02:02:04 latest: digest: sha256:94f829dc29d3a9351e2074d811a951d8963d03d7edcd957d58afcf481b1d7850 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.11 02:02:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:02:04 040a12a5a0ca: Preparing 02:02:04 84eae502f7f3: Preparing 02:02:04 ce1ba1e7c8f8: Preparing 02:02:04 b64835318d8d: Preparing 02:02:04 5b7df235d876: Preparing 02:02:04 84eae502f7f3: Layer already exists 02:02:04 ce1ba1e7c8f8: Layer already exists 02:02:04 5b7df235d876: Layer already exists 02:02:04 b64835318d8d: Layer already exists 02:02:04 040a12a5a0ca: Layer already exists 02:02:05 2.3.0-dev.11: digest: sha256:94f829dc29d3a9351e2074d811a951d8963d03d7edcd957d58afcf481b1d7850 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 02:02:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:02:05 040a12a5a0ca: Preparing 02:02:05 84eae502f7f3: Preparing 02:02:05 ce1ba1e7c8f8: Preparing 02:02:05 b64835318d8d: Preparing 02:02:05 5b7df235d876: Preparing 02:02:05 5b7df235d876: Layer already exists 02:02:05 040a12a5a0ca: Layer already exists 02:02:05 b64835318d8d: Layer already exists 02:02:05 84eae502f7f3: Layer already exists 02:02:05 ce1ba1e7c8f8: Layer already exists 02:02:06 35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11: digest: sha256:94f829dc29d3a9351e2074d811a951d8963d03d7edcd957d58afcf481b1d7850 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:02:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:02:06 040a12a5a0ca: Preparing 02:02:06 84eae502f7f3: Preparing 02:02:06 ce1ba1e7c8f8: Preparing 02:02:06 b64835318d8d: Preparing 02:02:06 5b7df235d876: Preparing 02:02:06 84eae502f7f3: Layer already exists 02:02:06 040a12a5a0ca: Layer already exists 02:02:06 b64835318d8d: Layer already exists 02:02:06 5b7df235d876: Layer already exists 02:02:06 ce1ba1e7c8f8: Layer already exists 02:02:07 main: digest: sha256:94f829dc29d3a9351e2074d811a951d8963d03d7edcd957d58afcf481b1d7850 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:07 ===================================================== [Pipeline] echo 02:02:07 taggedImages: 02:02:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35621d3e3ed5e5519204e5baffde9d6fc275525a 02:02:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:02:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.11 02:02:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35621d3e3ed5e5519204e5baffde9d6fc275525a-2.3.0-dev.11 02:02:07 - 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 02:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:07 02:02:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:08 arm64: Pulling from edgex-lftools-log-publisher 02:02:08 8998bd30e6a1: Pulling fs layer 02:02:08 04944245beec: Pulling fs layer 02:02:08 699f458cf7ca: Pulling fs layer 02:02:08 765212b225bb: Pulling fs layer 02:02:08 f23df028b6ca: Pulling fs layer 02:02:08 d65c8cfc05b1: Pulling fs layer 02:02:08 2437ff75d9bd: Pulling fs layer 02:02:08 f23df028b6ca: Waiting 02:02:08 d65c8cfc05b1: Waiting 02:02:08 765212b225bb: Waiting 02:02:08 2437ff75d9bd: Waiting 02:02:08 04944245beec: Verifying Checksum 02:02:08 04944245beec: Download complete 02:02:08 765212b225bb: Verifying Checksum 02:02:08 765212b225bb: Download complete 02:02:08 f23df028b6ca: Verifying Checksum 02:02:08 f23df028b6ca: Download complete 02:02:08 d65c8cfc05b1: Verifying Checksum 02:02:08 d65c8cfc05b1: Download complete 02:02:08 699f458cf7ca: Verifying Checksum 02:02:08 699f458cf7ca: Download complete 02:02:08 8998bd30e6a1: Verifying Checksum 02:02:08 8998bd30e6a1: Download complete 02:02:11 2437ff75d9bd: Verifying Checksum 02:02:11 2437ff75d9bd: Download complete 02:02:13 8998bd30e6a1: Pull complete 02:02:13 04944245beec: Pull complete 02:02:15 699f458cf7ca: Pull complete 02:02:15 765212b225bb: Pull complete 02:02:16 f23df028b6ca: Pull complete 02:02:16 d65c8cfc05b1: Pull complete 02:02:31 2437ff75d9bd: Pull complete 02:02:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:02:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:32 prd-ubuntu20.04-docker-arm64-4c-16g-21628 does not seem to be running inside a container 02:02:32 $ 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/58 -v /w/workspace/device-mqtt-go/58:/w/workspace/device-mqtt-go/58:rw,z -v /w/workspace/device-mqtt-go/58@tmp:/w/workspace/device-mqtt-go/58@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 02:02:35 $ docker top b98824c21fb0454705f53fa7d19b07238778ff61acd764c9346673ec2c2f772a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:36 ---> job-cost.sh 02:02:36 lf-activate-venv: SKIPPING 02:02:36 INFO: No Stack... 02:02:36 INFO: Retrieving Pricing Info for: v3-standard-4 02:02:37 INFO: Archiving Costs [Pipeline] sh 02:02:38 + cat /w/workspace/device-mqtt-go/58/archives/cost.csv 02:02:38 + cut -d, -f6 [Pipeline] lock 02:02:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] 02:02:38 Resource [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] did not exist. Created. 02:02:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:39 /w/workspace/device-mqtt-go/58@tmp/durable-30595092/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:02:39 + echo total: 0.10999999940395355 [Pipeline] stash 02:02:39 Warning: overwriting stash ‘stack-cost’ 02:02:39 Stashed 1 file(s) [Pipeline] } 02:02:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 02:02:39 $ docker stop --time=1 b98824c21fb0454705f53fa7d19b07238778ff61acd764c9346673ec2c2f772a 02:02:41 $ docker rm -f b98824c21fb0454705f53fa7d19b07238778ff61acd764c9346673ec2c2f772a [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 02:02:41 provisioning config files... 02:02:41 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1487520093233255418tmp [Pipeline] { [Pipeline] sh 02:02:42 + set +x 02:02:42 + curl -s https://codecov.io/bash 02:02:42 + bash -s -- 02:02:42 02:02:42 _____ _ 02:02:42 / ____| | | 02:02:42 | | ___ __| | ___ ___ _____ __ 02:02:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:02:42 | |___| (_) | (_| | __/ (_| (_) \ V / 02:02:42 \_____\___/ \__,_|\___|\___\___/ \_/ 02:02:42 Bash-1.0.6 02:02:42 02:02:42 02:02:42 ==> git version 2.25.1 found 02:02:42 ==> 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 02:02:42 Release-Date: 2020-01-08 02:02:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:02:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:02:42 ==> Jenkins CI detected. 02:02:42 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:02:42 project root: . 02:02:42 --> token set from env 02:02:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:02:42 ==> Running gcov in . (disable via -X gcov) 02:02:42 ==> Python coveragepy not found 02:02:42 ==> Searching for coverage reports in: 02:02:42 + . 02:02:42 -> Found 1 reports 02:02:42 ==> Detecting git/mercurial file structure 02:02:42 ==> Reading reports 02:02:42 + ./coverage.out bytes=17887 02:02:42 ==> Appending adjustments 02:02:42 https://docs.codecov.io/docs/fixing-reports 02:02:42 + Found adjustments 02:02:42 ==> Gzipping contents 02:02:42 4.0K /tmp/codecov.9L4T4J.gz 02:02:42 ==> Uploading reports 02:02:42 url: https://codecov.io 02:02:42 query: branch=main&commit=35621d3e3ed5e5519204e5baffde9d6fc275525a&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:02:42 -> Pinging Codecov 02:02:42 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=35621d3e3ed5e5519204e5baffde9d6fc275525a&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:02:42 -> Uploading to 02:02:42 https://storage.googleapis.com/codecov/v4/raw/2022-08-01/7D719EC7BBE17E464838252E33014C33/35621d3e3ed5e5519204e5baffde9d6fc275525a/667a7276-7f69-48b3-88c3-fd838807542c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T020242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f59c72fbd0722a17b52bace229318bc1f409d174fc6552c9328a7c7bc30e8939 02:02:42 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:42 Dload Upload Total Spent Left Speed 02:02:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3225 0 0 100 3225 0 12647 --:--:-- --:--:-- --:--:-- 12647 02:02:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] } 02:02:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:02:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:02:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:02:43 02:02:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:02:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:02:43 df9b9388f04a: Pulling fs layer 02:02:43 52dc419b0ee2: Pulling fs layer 02:02:43 25bc292e5bac: Pulling fs layer 02:02:43 114826534d7a: Pulling fs layer 02:02:43 114826534d7a: Waiting 02:02:43 4657fd5d0bcf: Pulling fs layer 02:02:43 6ad1cebc031e: Pulling fs layer 02:02:43 8a3aa393b2d8: Pulling fs layer 02:02:43 4657fd5d0bcf: Waiting 02:02:43 8a3aa393b2d8: Waiting 02:02:43 6ad1cebc031e: Waiting 02:02:43 25bc292e5bac: Verifying Checksum 02:02:43 25bc292e5bac: Download complete 02:02:43 52dc419b0ee2: Verifying Checksum 02:02:43 52dc419b0ee2: Download complete 02:02:43 4657fd5d0bcf: Verifying Checksum 02:02:43 4657fd5d0bcf: Download complete 02:02:43 df9b9388f04a: Download complete 02:02:44 6ad1cebc031e: Verifying Checksum 02:02:44 6ad1cebc031e: Download complete 02:02:44 df9b9388f04a: Pull complete 02:02:44 52dc419b0ee2: Pull complete 02:02:44 25bc292e5bac: Pull complete 02:02:44 114826534d7a: Verifying Checksum 02:02:44 114826534d7a: Download complete 02:02:44 8a3aa393b2d8: Verifying Checksum 02:02:49 114826534d7a: Pull complete 02:02:49 4657fd5d0bcf: Pull complete 02:02:49 6ad1cebc031e: Pull complete 02:02:51 8a3aa393b2d8: Pull complete 02:02:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:02:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:51 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 02:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:02:54 $ docker top 780b3edd77c9eb0d2933118fa18818b9b8a1927e22e2c258b74dfd5d44dd9b10 -eo pid,comm [Pipeline] { [Pipeline] echo 02:02:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:02:55 + set -o pipefail 02:02:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:03:00 02:03:00 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:03:00 02:03:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/399e3def-e8ed-4c37-b3e3-5dcdd57d4aa8 02:03:00 02:03:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:03:00 02:03:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:03:00 02:03:00 [Pipeline] } 02:03:00 $ docker stop --time=1 780b3edd77c9eb0d2933118fa18818b9b8a1927e22e2c258b74dfd5d44dd9b10 02:03:03 $ docker rm -f 780b3edd77c9eb0d2933118fa18818b9b8a1927e22e2c258b74dfd5d44dd9b10 [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 02:03:04 + git log --format=format:%s -1 35621d3e3ed5e5519204e5baffde9d6fc275525a [Pipeline] sh 02:03:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:05 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 02:03:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:03:05 $ docker top d337b8409b397450722ae75ad00049e11b65cd6929443ee0cd5da929056434be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:05 [ssh-agent] Looking for ssh-agent implementation... 02:03:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:05 $ docker exec d337b8409b397450722ae75ad00049e11b65cd6929443ee0cd5da929056434be ssh-agent 02:03:05 SSH_AUTH_SOCK=/tmp/ssh-6DrCt9A9OLgs/agent.31 02:03:05 SSH_AGENT_PID=38 02:03:05 Running ssh-add (command line suppressed) 02:03:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5356607791729939826.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5356607791729939826.key) 02:03:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:06 + git semver tag 02:03:06 2022-08-01 02:03:06,515 [run_tag] DEBUG tag force:False 02:03:06 2022-08-01 02:03:06,515 [check_head_tag] DEBUG check head tag 02:03:06 2022-08-01 02:03:06,516 [execute] INFO git cat-file --batch-check 02:03:06 2022-08-01 02:03:06,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:03:06 2022-08-01 02:03:06,519 [execute] INFO git cat-file --batch 02:03:06 2022-08-01 02:03:06,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:03:06 2022-08-01 02:03:06,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:06 2022-08-01 02:03:06,528 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 02:03:06 2022-08-01 02:03:06,528 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:03:06 2022-08-01 02:03:06,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:06 2.3.0-dev.11 [Pipeline] } 02:03:06 $ docker exec --env ******** --env ******** d337b8409b397450722ae75ad00049e11b65cd6929443ee0cd5da929056434be ssh-agent -k 02:03:06 unset SSH_AUTH_SOCK; 02:03:06 unset SSH_AGENT_PID; 02:03:06 echo Agent pid 38 killed; 02:03:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:07 + git semver [Pipeline] } 02:03:07 $ docker stop --time=1 d337b8409b397450722ae75ad00049e11b65cd6929443ee0cd5da929056434be 02:03:08 $ docker rm -f d337b8409b397450722ae75ad00049e11b65cd6929443ee0cd5da929056434be [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:03:09 02:03:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:03:09 0.23.1-centos7: Pulling from edgex-lftools 02:03:09 ab5ef0e58194: Pulling fs layer 02:03:09 9712f1f96733: Pulling fs layer 02:03:09 63f879dbbcfc: Pulling fs layer 02:03:09 0d9ebad4ef96: Pulling fs layer 02:03:09 e9a5061849ea: Pulling fs layer 02:03:09 d747dcd14b5f: Pulling fs layer 02:03:09 2de7ff778b66: Pulling fs layer 02:03:09 0d9ebad4ef96: Waiting 02:03:09 e9a5061849ea: Waiting 02:03:09 d747dcd14b5f: Waiting 02:03:09 2de7ff778b66: Waiting 02:03:09 9712f1f96733: Verifying Checksum 02:03:09 9712f1f96733: Download complete 02:03:09 63f879dbbcfc: Verifying Checksum 02:03:09 63f879dbbcfc: Download complete 02:03:10 0d9ebad4ef96: Verifying Checksum 02:03:10 0d9ebad4ef96: Download complete 02:03:10 d747dcd14b5f: Download complete 02:03:10 e9a5061849ea: Verifying Checksum 02:03:10 e9a5061849ea: Download complete 02:03:10 ab5ef0e58194: Verifying Checksum 02:03:10 ab5ef0e58194: Download complete 02:03:10 2de7ff778b66: Verifying Checksum 02:03:10 2de7ff778b66: Download complete 02:03:12 ab5ef0e58194: Pull complete 02:03:12 9712f1f96733: Pull complete 02:03:13 63f879dbbcfc: Pull complete 02:03:17 0d9ebad4ef96: Pull complete 02:03:17 e9a5061849ea: Pull complete 02:03:17 d747dcd14b5f: Pull complete 02:03:18 2de7ff778b66: Pull complete 02:03:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:03:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:03:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:18 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 02:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:03:22 $ docker top b13b8d775843dbf61df2dcd825b55d01792ece9409a79a24d3829a1a8c154207 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:03:22 provisioning config files... 02:03:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14284432775359592tmp 02:03:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8505863380511050973tmp 02:03:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7806889303902091445tmp [Pipeline] { [Pipeline] echo 02:03:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:03:23 ---> sigul-configuration.sh 02:03:23 gpg: directory `/root/.gnupg' created 02:03:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:03:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:03:23 gpg: keyring `/root/.gnupg/secring.gpg' created 02:03:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:03:23 gpg: CAST5 encrypted data 02:03:23 gpg: encrypted with 1 passphrase 02:03:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:03:23 + mkdir /home/jenkins 02:03:23 + mkdir /home/jenkins/sigul [Pipeline] sh 02:03:23 + 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 02:03:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:03:23 ---> sigul-install.sh 02:03:23 Sigul already installed; skipping installation. [Pipeline] sh 02:03:24 + git tag --list 02:03:24 0.7.1 02:03:24 v1.0.0 02:03:24 v1.1.0 02:03:24 v1.1.1 02:03:24 v1.2.2 02:03:24 v1.3.0 02:03:24 v1.3.1 02:03:24 v2.0.0 02:03:24 v2.1.0 02:03:24 v2.1.1 02:03:24 v2.1.1-dev.1 02:03:24 v2.1.1-dev.2 02:03:24 v2.2.0 02:03:24 v2.2.1-dev.1 02:03:24 v2.2.1-dev.10 02:03:24 v2.2.1-dev.2 02:03:24 v2.2.1-dev.3 02:03:24 v2.2.1-dev.4 02:03:24 v2.2.1-dev.5 02:03:24 v2.2.1-dev.6 02:03:24 v2.2.1-dev.7 02:03:24 v2.2.1-dev.8 02:03:24 v2.2.1-dev.9 02:03:24 v2.3.0-dev.10 02:03:24 v2.3.0-dev.11 [Pipeline] sh 02:03:24 + lftools sign git-tag v2.3.0-dev.11 02:03:25 Signing Git tag with Sigul... 02:03:25 Signing v2.3.0-dev.11 [Pipeline] echo 02:03:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:03:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:03:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:03:25 $ docker stop --time=1 b13b8d775843dbf61df2dcd825b55d01792ece9409a79a24d3829a1a8c154207 02:03:26 $ docker rm -f b13b8d775843dbf61df2dcd825b55d01792ece9409a79a24d3829a1a8c154207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:03:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:27 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 02:03:27 $ 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 02:03:28 $ docker top 48253d191b2c4f731d743f1840ea03fcfe0b094acd7a2f33b05e0adfad08af73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:28 [ssh-agent] Looking for ssh-agent implementation... 02:03:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:28 $ docker exec 48253d191b2c4f731d743f1840ea03fcfe0b094acd7a2f33b05e0adfad08af73 ssh-agent 02:03:28 SSH_AUTH_SOCK=/tmp/ssh-ETz93wGH3lqc/agent.35 02:03:28 SSH_AGENT_PID=42 02:03:28 Running ssh-add (command line suppressed) 02:03:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3986347043770763454.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3986347043770763454.key) 02:03:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:28 + git semver bump pre 02:03:29 2022-08-01 02:03:29,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:29 2022-08-01 02:03:29,072 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev 02:03:29 2022-08-01 02:03:29,072 [bump_version] DEBUG bumped version:2.3.0-dev.12 02:03:29 2022-08-01 02:03:29,072 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:03:29 2022-08-01 02:03:29,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:29 2022-08-01 02:03:29,072 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:29 2022-08-01 02:03:29,074 [execute] INFO git cat-file --batch-check 02:03:29 2022-08-01 02:03:29,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:03:29 2022-08-01 02:03:29,079 [execute] INFO git cat-file --batch 02:03:29 2022-08-01 02:03:29,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:03:29 2022-08-01 02:03:29,084 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:29 2.3.0-dev.12 [Pipeline] } 02:03:29 $ docker exec --env ******** --env ******** 48253d191b2c4f731d743f1840ea03fcfe0b094acd7a2f33b05e0adfad08af73 ssh-agent -k 02:03:29 unset SSH_AUTH_SOCK; 02:03:29 unset SSH_AGENT_PID; 02:03:29 echo Agent pid 42 killed; 02:03:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:29 + git semver [Pipeline] } 02:03:29 $ docker stop --time=1 48253d191b2c4f731d743f1840ea03fcfe0b094acd7a2f33b05e0adfad08af73 02:03:31 $ docker rm -f 48253d191b2c4f731d743f1840ea03fcfe0b094acd7a2f33b05e0adfad08af73 [Pipeline] // withDockerContainer [Pipeline] sh 02:03:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:31 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 02:03:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:03:32 $ docker top 6df6979ce8104ae2b95e2877f58b90d7a842a08241937ce038e40fc3e356d631 -eo pid,comm 02:03:32 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). 02:03:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:32 [ssh-agent] Looking for ssh-agent implementation... 02:03:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:32 $ docker exec 6df6979ce8104ae2b95e2877f58b90d7a842a08241937ce038e40fc3e356d631 ssh-agent 02:03:32 SSH_AUTH_SOCK=/tmp/ssh-gqRW48RQUY3w/agent.31 02:03:32 SSH_AGENT_PID=38 02:03:32 Running ssh-add (command line suppressed) 02:03:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7904394165750528273.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7904394165750528273.key) 02:03:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:33 + git semver push 02:03:33 2022-08-01 02:03:33,316 [run_push] DEBUG push 02:03:33 2022-08-01 02:03:33,317 [execute] INFO git cat-file --batch-check 02:03:33 2022-08-01 02:03:33,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:03:33 2022-08-01 02:03:33,320 [execute] INFO git rev-list 597831833d3e977ef6b95c75915409f559419c77 -- 02:03:33 2022-08-01 02:03:33,320 [execute] DEBUG Popen(['git', 'rev-list', '597831833d3e977ef6b95c75915409f559419c77', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:03:33 2022-08-01 02:03:33,333 [execute] INFO git fetch -v origin 02:03:33 2022-08-01 02:03:33,333 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:03:33 2022-08-01 02:03:33,805 [run_push] DEBUG no remote changes detected 02:03:33 2022-08-01 02:03:33,805 [execute] INFO git push origin semver 02:03:33 2022-08-01 02:03:33,806 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:03:34 2022-08-01 02:03:34,494 [run_push] DEBUG push all version tags 02:03:34 2022-08-01 02:03:34,495 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:03:34 2022-08-01 02:03:34,495 [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) 02:03:35 2022-08-01 02:03:35,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:03:35 2.3.0-dev.12 [Pipeline] } 02:03:35 $ docker exec --env ******** --env ******** 6df6979ce8104ae2b95e2877f58b90d7a842a08241937ce038e40fc3e356d631 ssh-agent -k 02:03:35 unset SSH_AUTH_SOCK; 02:03:35 unset SSH_AGENT_PID; 02:03:35 echo Agent pid 38 killed; 02:03:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:35 + git semver [Pipeline] } 02:03:36 $ docker stop --time=1 6df6979ce8104ae2b95e2877f58b90d7a842a08241937ce038e40fc3e356d631 02:03:37 $ docker rm -f 6df6979ce8104ae2b95e2877f58b90d7a842a08241937ce038e40fc3e356d631 [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 02:03:38 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:03:38 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:03:38 total 16 02:03:38 drwxr-xr-x 3 root root 4096 Aug 1 01:54 . 02:03:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 02:03 .. 02:03:38 drwxr-xr-x 2 root root 4096 Aug 1 01:54 cost 02:03:38 -rw-r--r-- 1 root root 85 Aug 1 01:54 cost.csv 02:03:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:03:38 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:03:38 total 16 02:03:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 01:54 . 02:03:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 02:03 .. 02:03:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 01:54 cost 02:03:38 -rw-r--r-- 1 jenkins jenkins 85 Aug 1 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:03:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:03:39 ---> package-listing.sh 02:03:39 ++ facter osfamily 02:03:39 ++ tr '[:upper:]' '[:lower:]' 02:03:39 + OS_FAMILY=debian 02:03:39 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:03:39 + START_PACKAGES=/tmp/packages_start.txt 02:03:39 + END_PACKAGES=/tmp/packages_end.txt 02:03:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:03:39 + PACKAGES=/tmp/packages_start.txt 02:03:39 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:03:39 + PACKAGES=/tmp/packages_end.txt 02:03:39 + case "${OS_FAMILY}" in 02:03:39 + dpkg -l 02:03:39 + grep '^ii' 02:03:39 + '[' -f /tmp/packages_start.txt ']' 02:03:39 + '[' -f /tmp/packages_end.txt ']' 02:03:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:03:39 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:03:39 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:03:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:03:39 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 02:03:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:40 prd-ubuntu20.04-docker-8c-8g-21627 does not seem to be running inside a container 02:03:40 $ 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 02:03:41 $ docker top 80b04d7fff8e629e44758685cc1f1a906d1bbb2e475c59759cdfb36cae6c248c -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:41 + touch /tmp/pre-build-complete [Pipeline] sh 02:03:41 + mkdir -p /var/log/sysstat [Pipeline] sh 02:03:42 + ls /var/log/sa-host 02:03:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:42 provisioning config files... 02:03:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1708993753857132582tmp [Pipeline] { [Pipeline] echo 02:03:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:03:42 ---> create-netrc.sh [Pipeline] } 02:03:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:03:43 ---> python-tools-install.sh [Pipeline] echo 02:03:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:03:43 ---> sudo-logs.sh 02:03:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:03:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:03:43 ---> job-cost.sh 02:03:43 lf-activate-venv: SKIPPING 02:03:43 DEBUG: total: 0.2199999988079071 02:03:43 INFO: Retrieving Stack Cost... 02:03:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:44 INFO: Archiving Costs [Pipeline] echo 02:03:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:03:44 ---> logs-deploy.sh 02:03:44 lf-activate-venv: SKIPPING 02:03:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/58 02:03:44 INFO: archiving workspace using pattern(s): 02:03:45 Archives upload complete. 02:03:45 INFO: archiving logs to Nexus