Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fcfe150067659d9c2450c08aa60233797868c9db 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-ssh6977522387880559545.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11099053456826801725.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5342719121128256832.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9130076562493150436.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12638260315839080239.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-120988 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision fcfe150067659d9c2450c08aa60233797868c9db (main) Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang (#434)" > 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 fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 > git rev-list --no-walk 04dd21c66d30f2f5802ef6ad79267ec69547597f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:18:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:18:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:18:09 ========================================================= 21:18:09 EdgeX Global Pipelines Version Info 21:18:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:18:10 ------------------- 21:18:10 stable info: 21:18:10 ------------------- 21:18:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:18:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:18:10 Message: update stable to v1.0.244 21:18:10 ------------------- 21:18:10 experimental info: 21:18:10 ------------------- 21:18:10 Commited By: **** collab-it+edgex@linuxfoundation.org 21:18:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:18:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:18:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 21:18:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 21:18:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:18:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:18:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcfe150 [Pipeline] echo 21:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:11 provisioning config files... 21:18:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10936719405702242998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:11 ---> docker-login.sh 21:18:11 nexus3.edgexfoundry.org:10001 21:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:12 Configure a credential helper to remove this warning. See 21:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:12 21:18:12 Login Succeeded 21:18:12 nexus3.edgexfoundry.org:10002 21:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:12 Configure a credential helper to remove this warning. See 21:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:12 21:18:12 Login Succeeded 21:18:12 nexus3.edgexfoundry.org:10003 21:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:12 Configure a credential helper to remove this warning. See 21:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:12 21:18:12 Login Succeeded 21:18:12 nexus3.edgexfoundry.org:10004 21:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:12 Configure a credential helper to remove this warning. See 21:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:12 21:18:12 Login Succeeded 21:18:12 docker.io 21:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:12 Configure a credential helper to remove this warning. See 21:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:12 21:18:12 Login Succeeded 21:18:12 ---> docker-login.sh ends [Pipeline] } 21:18:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:18:13 + git rev-list -1 --merges fcfe150067659d9c2450c08aa60233797868c9db~1..fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] echo 21:18:13 -----------> git rev-list -1 --merges fcfe150067659d9c2450c08aa60233797868c9db~1..fcfe150067659d9c2450c08aa60233797868c9db fcfe150067659d9c2450c08aa60233797868c9db [false] [Pipeline] sh 21:18:13 + git log --format=format:%s -1 fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] echo 21:18:13 ========================================================= 21:18:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:18:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:13 + git log --format=format:%s -1 fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] echo 21:18:13 [semverPrep] GIT_COMMIT: fcfe150067659d9c2450c08aa60233797868c9db, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang (#434) [Pipeline] echo 21:18:13 [semverPrep] This is not a build commit. [Pipeline] sh 21:18:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:18:14 + grep -v github /etc/ssh/ssh_known_hosts 21:18:14 + [ -e /tmp/ssh_known_hosts ] 21:18:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:18:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:18:14 + sudo tee -a /etc/ssh/ssh_known_hosts 21:18:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:14 21:18:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:14 0.1.4: Pulling from edgex-devops/py-git-semver 21:18:14 b85a868b505f: Pulling fs layer 21:18:14 e2be974225ed: Pulling fs layer 21:18:14 339a4e72a1f5: Pulling fs layer 21:18:14 988bab9f4d93: Pulling fs layer 21:18:14 1469e6f7b9e6: Pulling fs layer 21:18:14 eaf3925da568: Pulling fs layer 21:18:14 bab4dde63d76: Pulling fs layer 21:18:14 bde34c3a00c8: Pulling fs layer 21:18:14 b352a97aabf1: Pulling fs layer 21:18:14 4872d77fe225: Pulling fs layer 21:18:14 5851b861e8e6: Pulling fs layer 21:18:14 1469e6f7b9e6: Waiting 21:18:14 eaf3925da568: Waiting 21:18:14 bab4dde63d76: Waiting 21:18:14 bde34c3a00c8: Waiting 21:18:14 988bab9f4d93: Waiting 21:18:14 4872d77fe225: Waiting 21:18:14 e2be974225ed: Verifying Checksum 21:18:14 e2be974225ed: Download complete 21:18:14 988bab9f4d93: Download complete 21:18:15 1469e6f7b9e6: Verifying Checksum 21:18:15 1469e6f7b9e6: Download complete 21:18:15 eaf3925da568: Verifying Checksum 21:18:15 eaf3925da568: Download complete 21:18:15 339a4e72a1f5: Verifying Checksum 21:18:15 339a4e72a1f5: Download complete 21:18:15 bde34c3a00c8: Verifying Checksum 21:18:15 bde34c3a00c8: Download complete 21:18:15 b352a97aabf1: Download complete 21:18:15 4872d77fe225: Download complete 21:18:15 5851b861e8e6: Verifying Checksum 21:18:15 5851b861e8e6: Download complete 21:18:15 b85a868b505f: Verifying Checksum 21:18:15 b85a868b505f: Download complete 21:18:15 bab4dde63d76: Verifying Checksum 21:18:15 bab4dde63d76: Download complete 21:18:16 b85a868b505f: Pull complete 21:18:16 e2be974225ed: Pull complete 21:18:17 339a4e72a1f5: Pull complete 21:18:17 988bab9f4d93: Pull complete 21:18:17 1469e6f7b9e6: Pull complete 21:18:17 eaf3925da568: Pull complete 21:18:19 bab4dde63d76: Pull complete 21:18:19 bde34c3a00c8: Pull complete 21:18:19 b352a97aabf1: Pull complete 21:18:19 4872d77fe225: Pull complete 21:18:19 5851b861e8e6: Pull complete 21:18:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:18:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:19 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:18:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:18:21 $ docker top ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa -eo pid,comm 21:18:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:18:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:18:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:18:21 [ssh-agent] Looking for ssh-agent implementation... 21:18:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:18:21 $ docker exec ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa ssh-agent 21:18:21 SSH_AUTH_SOCK=/tmp/ssh-LuC01Mw1NAcI/agent.32 21:18:21 SSH_AGENT_PID=38 21:18:21 Running ssh-add (command line suppressed) 21:18:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14564947312009927784.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14564947312009927784.key) 21:18:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:18:22 + git tag --points-at HEAD [Pipeline] } 21:18:22 $ docker exec --env ******** --env ******** ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa ssh-agent -k 21:18:22 unset SSH_AUTH_SOCK; 21:18:22 unset SSH_AGENT_PID; 21:18:22 echo Agent pid 38 killed; 21:18:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:18:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:18:22 [ssh-agent] Looking for ssh-agent implementation... 21:18:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:18:22 $ docker exec ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa ssh-agent 21:18:22 SSH_AUTH_SOCK=/tmp/ssh-QrYewQ9gbRc1/agent.70 21:18:22 SSH_AGENT_PID=77 21:18:22 Running ssh-add (command line suppressed) 21:18:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15589683252091923877.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15589683252091923877.key) 21:18:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:18:22 + git semver init 21:18:23 2022-12-12 21:18:23,078 [run_init] DEBUG init version:0.0.0 force:False 21:18:23 2022-12-12 21:18:23,079 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:18:23 2022-12-12 21:18:23,079 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:18:23 2022-12-12 21:18:23,079 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:18:24 2022-12-12 21:18:23,886 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 21:18:24 2022-12-12 21:18:23,887 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 21:18:24 2022-12-12 21:18:23,887 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:18:24 2022-12-12 21:18:23,887 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:18:24 3.0.0-dev.1 [Pipeline] } 21:18:24 $ docker exec --env ******** --env ******** ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa ssh-agent -k 21:18:24 unset SSH_AUTH_SOCK; 21:18:24 unset SSH_AGENT_PID; 21:18:24 echo Agent pid 77 killed; 21:18:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:18:24 + git semver [Pipeline] } 21:18:24 $ docker stop --time=1 ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa 21:18:26 $ docker rm -f ea4720f2f5351afd2931b2ec05adabbf4e1136be7233b35d5a8896734c0562aa [Pipeline] // withDockerContainer [Pipeline] sh 21:18:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:18:26 Stashed 1 file(s) [Pipeline] echo 21:18:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:26 provisioning config files... 21:18:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11509259918736073699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:27 ---> docker-login.sh 21:18:27 nexus3.edgexfoundry.org:10001 21:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:27 Configure a credential helper to remove this warning. See 21:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:27 21:18:27 Login Succeeded 21:18:27 nexus3.edgexfoundry.org:10002 21:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:27 Configure a credential helper to remove this warning. See 21:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:27 21:18:27 Login Succeeded 21:18:27 nexus3.edgexfoundry.org:10003 21:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:27 Configure a credential helper to remove this warning. See 21:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:27 21:18:27 Login Succeeded 21:18:27 nexus3.edgexfoundry.org:10004 21:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:27 Configure a credential helper to remove this warning. See 21:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:27 21:18:27 Login Succeeded 21:18:27 docker.io 21:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:27 Configure a credential helper to remove this warning. See 21:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:27 21:18:27 Login Succeeded 21:18:27 ---> docker-login.sh ends [Pipeline] } 21:18:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:18:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:27 ========================================================= 21:18:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:18:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:18:28 Sending build context to Docker daemon 6.244MB 21:18:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:18:28 Step 2/12 : FROM ${BASE} AS builder 21:18:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:18:28 213ec9aee27d: Pulling fs layer 21:18:28 4583459ba037: Pulling fs layer 21:18:28 93c1e223e6f2: Pulling fs layer 21:18:28 53926ce57604: Pulling fs layer 21:18:28 21b2b0c7a3f4: Pulling fs layer 21:18:28 22ff95d597cd: Pulling fs layer 21:18:28 12d6caf4c0d1: Pulling fs layer 21:18:28 96b7cbca73a9: Pulling fs layer 21:18:28 a7acece74701: Pulling fs layer 21:18:28 21b2b0c7a3f4: Waiting 21:18:28 96b7cbca73a9: Waiting 21:18:28 a7acece74701: Waiting 21:18:28 22ff95d597cd: Waiting 21:18:28 12d6caf4c0d1: Waiting 21:18:28 53926ce57604: Waiting 21:18:28 93c1e223e6f2: Verifying Checksum 21:18:28 93c1e223e6f2: Download complete 21:18:28 4583459ba037: Verifying Checksum 21:18:28 4583459ba037: Download complete 21:18:28 21b2b0c7a3f4: Verifying Checksum 21:18:28 21b2b0c7a3f4: Download complete 21:18:28 22ff95d597cd: Verifying Checksum 21:18:28 22ff95d597cd: Download complete 21:18:28 213ec9aee27d: Download complete 21:18:28 12d6caf4c0d1: Download complete 21:18:28 213ec9aee27d: Pull complete 21:18:28 4583459ba037: Pull complete 21:18:28 93c1e223e6f2: Pull complete 21:18:29 a7acece74701: Verifying Checksum 21:18:29 a7acece74701: Download complete 21:18:29 53926ce57604: Download complete 21:18:29 96b7cbca73a9: Verifying Checksum 21:18:29 96b7cbca73a9: Download complete 21:18:33 53926ce57604: Pull complete 21:18:33 21b2b0c7a3f4: Pull complete 21:18:33 22ff95d597cd: Pull complete 21:18:33 12d6caf4c0d1: Pull complete 21:18:34 96b7cbca73a9: Pull complete 21:18:35 a7acece74701: Pull complete 21:18:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:18:35 ---> db6d94c90886 21:18:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:18:37 ---> Running in 72205c96e8f8 21:18:37 Removing intermediate container 72205c96e8f8 21:18:37 ---> 0d7cef27d977 21:18:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:37 ---> Running in 8826378f99e8 21:18:38 Removing intermediate container 8826378f99e8 21:18:38 ---> 894106dfd7e8 21:18:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:18:38 ---> Running in d732caec70a5 21:18:38 Removing intermediate container d732caec70a5 21:18:38 ---> 01e934ba0b2c 21:18:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:18:38 ---> Running in e064ec3e25cb 21:18:38 Removing intermediate container e064ec3e25cb 21:18:38 ---> 6abd66da2f57 21:18:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:38 ---> Running in 52763d112b02 21:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:18:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:18:39 (2/4) Installing libedit (20210910.3.1-r0) 21:18:39 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:18:39 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:18:39 Executing busybox-1.35.0-r17.trigger 21:18:39 OK: 216 MiB in 55 packages 21:18:39 Removing intermediate container 52763d112b02 21:18:39 ---> 1d212ab07699 21:18:39 Step 8/12 : WORKDIR /device-mqtt-go 21:18:39 ---> Running in a94a67116e8b 21:18:39 Removing intermediate container a94a67116e8b 21:18:39 ---> 5d0ae72e3563 21:18:39 Step 9/12 : COPY go.mod vendor* ./ 21:18:39 ---> 744b01f14fb8 21:18:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:39 ---> Running in e283546af8d1 21:18:41 Still waiting to schedule task 21:18:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:19:01 Removing intermediate container e283546af8d1 21:19:01 ---> b0d02cf36c1a 21:19:01 Step 11/12 : COPY . . 21:19:01 ---> d13ce2522728 21:19:01 Step 12/12 : RUN $MAKE 21:19:01 ---> Running in ea4866541e3b 21:19:01 noop 21:19:01 Removing intermediate container ea4866541e3b 21:19:01 ---> 4f267921c698 21:19:01 Successfully built 4f267921c698 21:19:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:02 + docker inspect -f . ci-base-image-x86_64 21:19:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:02 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:19:02 $ docker top 9fcae56298fcc8c470ce539504b9d70aeb10ed367a654e9b2e9ba3c0fd1bbb31 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:03 + go version 21:19:03 go version go1.18.7 linux/amd64 [Pipeline] } 21:19:03 $ docker stop --time=1 9fcae56298fcc8c470ce539504b9d70aeb10ed367a654e9b2e9ba3c0fd1bbb31 21:19:04 $ docker rm -f 9fcae56298fcc8c470ce539504b9d70aeb10ed367a654e9b2e9ba3c0fd1bbb31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:04 + docker inspect -f . ci-base-image-x86_64 21:19:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:04 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:19:05 $ docker top f9a1044021c50be095c94c4a7d6a720dd976ca62a087213ae782973494e47703 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 21:19:05 + make test 21:19:05 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:19:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:19:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:19:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 21:19:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:19:21 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:19:21 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:19:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:19:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:19:24 ./bin/test-attribution-txt.sh [Pipeline] echo 21:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:19:24 $ docker stop --time=1 f9a1044021c50be095c94c4a7d6a720dd976ca62a087213ae782973494e47703 21:19:26 $ docker rm -f f9a1044021c50be095c94c4a7d6a720dd976ca62a087213ae782973494e47703 [Pipeline] // withDockerContainer [Pipeline] sh 21:19:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:19:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:19:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:19:27 + ls -al . 21:19:27 total 192 21:19:27 drwxrwxr-x 10 jenkins jenkins 4096 Dec 12 21:19 . 21:19:27 drwxrwxr-x 4 jenkins jenkins 4096 Dec 12 21:18 .. 21:19:27 -rw-rw-r-- 1 jenkins jenkins 140 Dec 12 21:18 .dockerignore 21:19:27 drwxrwxr-x 8 jenkins jenkins 4096 Dec 12 21:19 .git 21:19:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 21:18 .github 21:19:27 -rw-rw-r-- 1 jenkins jenkins 329 Dec 12 21:18 .gitignore 21:19:27 -rw-rw-r-- 1 jenkins jenkins 41 Dec 12 21:18 .golangci.yml 21:19:27 drwxr-xr-x 3 jenkins jenkins 4096 Dec 12 21:18 .semver 21:19:27 -rw-rw-r-- 1 jenkins jenkins 9293 Dec 12 21:18 Attribution.txt 21:19:27 -rw-rw-r-- 1 jenkins jenkins 13162 Dec 12 21:18 CHANGELOG.md 21:19:27 -rw-rw-r-- 1 jenkins jenkins 1752 Dec 12 21:18 Dockerfile 21:19:27 -rw-rw-r-- 1 jenkins jenkins 677 Dec 12 21:18 GOVERNANCE.md 21:19:27 -rw-rw-r-- 1 jenkins jenkins 678 Dec 12 21:18 Jenkinsfile 21:19:27 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 12 21:18 LICENSE 21:19:27 -rw-rw-r-- 1 jenkins jenkins 2126 Dec 12 21:18 Makefile 21:19:27 -rw-rw-r-- 1 jenkins jenkins 620 Dec 12 21:18 OWNERS.md 21:19:27 -rw-rw-r-- 1 jenkins jenkins 3165 Dec 12 21:18 README.md 21:19:27 -rw-rw-r-- 1 jenkins jenkins 11 Dec 12 21:18 VERSION 21:19:27 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 21:18 bin 21:19:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 21:18 cmd 21:19:27 -rw-r--r-- 1 jenkins jenkins 17887 Dec 12 21:19 coverage.out 21:19:27 -rw-rw-r-- 1 jenkins jenkins 3463 Dec 12 21:18 go.mod 21:19:27 -rw-rw-r-- 1 jenkins jenkins 45046 Dec 12 21:18 go.sum 21:19:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 21:18 internal 21:19:27 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 21:18 mock 21:19:27 drwxrwxr-x 4 jenkins jenkins 4096 Dec 12 21:18 snap 21:19:27 -rw-rw-r-- 1 jenkins jenkins 227 Dec 12 21:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:27 + 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=fcfe150067659d9c2450c08aa60233797868c9db --label arch=amd64 --label version=3.0.0-dev.1 . 21:19:27 Sending build context to Docker daemon 6.262MB 21:19:27 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:19:27 Step 2/24 : FROM ${BASE} AS builder 21:19:27 ---> 4f267921c698 21:19:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:19:27 ---> Running in da8137effddf 21:19:27 Removing intermediate container da8137effddf 21:19:27 ---> 410559afbe03 21:19:27 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:19:27 ---> Running in 5de06ff46dd3 21:19:27 Removing intermediate container 5de06ff46dd3 21:19:27 ---> 43ff07eb178c 21:19:27 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:19:27 ---> Running in 10f51fa4942d 21:19:28 Removing intermediate container 10f51fa4942d 21:19:28 ---> f19c909f7d6e 21:19:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:19:28 ---> Running in 63077d4fd23d 21:19:28 Removing intermediate container 63077d4fd23d 21:19:28 ---> eb759581bb70 21:19:28 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:19:28 ---> Running in 0bea48130bd0 21:19:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:19:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:19:28 OK: 216 MiB in 55 packages 21:19:29 Removing intermediate container 0bea48130bd0 21:19:29 ---> 8b97a2d04855 21:19:29 Step 8/24 : WORKDIR /device-mqtt-go 21:19:29 ---> Running in 734cdf3d176d 21:19:29 Removing intermediate container 734cdf3d176d 21:19:29 ---> c8fec72e2d38 21:19:29 Step 9/24 : COPY go.mod vendor* ./ 21:19:29 ---> c5d9dddea1ba 21:19:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:19:29 ---> Running in 890873c9ace1 21:19:30 Removing intermediate container 890873c9ace1 21:19:30 ---> a3f631c25214 21:19:30 Step 11/24 : COPY . . 21:19:30 ---> ef2b8af32baa 21:19:30 Step 12/24 : RUN $MAKE 21:19:30 ---> Running in ca9553e5342d 21:19:30 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 21:19:52 Removing intermediate container ca9553e5342d 21:19:52 ---> e7ef4db0a43a 21:19:52 Step 13/24 : FROM alpine:3.16 21:19:52 3.16: Pulling from library/alpine 21:19:52 ca7dd9ec2225: Pulling fs layer 21:19:52 ca7dd9ec2225: Verifying Checksum 21:19:52 ca7dd9ec2225: Download complete 21:19:52 ca7dd9ec2225: Pull complete 21:19:52 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:19:52 Status: Downloaded newer image for alpine:3.16 21:19:52 ---> bfe296a52501 21:19:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:19:52 ---> Running in 9a8bd6515c96 21:19:52 Removing intermediate container 9a8bd6515c96 21:19:52 ---> a08c45728343 21:19:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:19:52 ---> Running in 63dc442d51d4 21:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:19:52 (1/6) Installing dumb-init (1.2.5-r1) 21:19:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:19:52 (3/6) Installing libsodium (1.0.18-r0) 21:19:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:19:52 (5/6) Installing libzmq (4.3.4-r0) 21:19:52 (6/6) Installing zeromq (4.3.4-r0) 21:19:52 Executing busybox-1.35.0-r17.trigger 21:19:52 OK: 8 MiB in 20 packages 21:19:52 Removing intermediate container 63dc442d51d4 21:19:52 ---> d9bbb63b760c 21:19:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:19:52 ---> a25770e522b7 21:19:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:19:52 ---> 3684efa8d714 21:19:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:19:52 ---> 4828789846a0 21:19:52 Step 19/24 : EXPOSE 59982 21:19:52 ---> Running in ca83b6eafa03 21:19:52 Removing intermediate container ca83b6eafa03 21:19:52 ---> 9f31b11b9990 21:19:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:19:53 ---> Running in d75245f65c74 21:19:53 Removing intermediate container d75245f65c74 21:19:53 ---> 0deeb0749577 21:19:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:19:53 ---> Running in 06317545ce08 21:19:53 Removing intermediate container 06317545ce08 21:19:53 ---> cdfe8651a9e4 21:19:53 Step 22/24 : LABEL arch=amd64 21:19:53 ---> Running in 69d75c676d29 21:19:53 Removing intermediate container 69d75c676d29 21:19:53 ---> 34e50638e6b0 21:19:53 Step 23/24 : LABEL git_sha=fcfe150067659d9c2450c08aa60233797868c9db 21:19:53 ---> Running in 4d9cf41db375 21:19:53 Removing intermediate container 4d9cf41db375 21:19:53 ---> 1cdefc32a20a 21:19:53 Step 24/24 : LABEL version=3.0.0-dev.1 21:19:53 ---> Running in 9ebbbe3ce5a8 21:19:53 Removing intermediate container 9ebbbe3ce5a8 21:19:53 ---> 208a9aa1784d 21:19:53 [Warning] One or more build-args [ARCH] were not consumed 21:19:53 Successfully built 208a9aa1784d 21:19:53 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:53 provisioning config files... 21:19:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13328339193245670375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:54 ---> docker-login.sh 21:19:54 nexus3.edgexfoundry.org:10001 21:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:54 Configure a credential helper to remove this warning. See 21:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:54 21:19:54 Login Succeeded 21:19:54 nexus3.edgexfoundry.org:10002 21:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:54 Configure a credential helper to remove this warning. See 21:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:54 21:19:54 Login Succeeded 21:19:54 nexus3.edgexfoundry.org:10003 21:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:54 Configure a credential helper to remove this warning. See 21:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:54 21:19:54 Login Succeeded 21:19:54 nexus3.edgexfoundry.org:10004 21:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:54 Configure a credential helper to remove this warning. See 21:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:54 21:19:54 Login Succeeded 21:19:54 docker.io 21:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:54 Configure a credential helper to remove this warning. See 21:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:54 21:19:54 Login Succeeded 21:19:54 ---> docker-login.sh ends [Pipeline] } 21:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:19:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:54 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 21:19:54 fcfe150067659d9c2450c08aa60233797868c9db 21:19:54 latest 21:19:54 3.0.0-dev.1 21:19:54 fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 21:19:54 main 21:19:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:fcfe150067659d9c2450c08aa60233797868c9db 21:19:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:19:55 9f05d6dc8042: Preparing 21:19:55 cdd52f252412: Preparing 21:19:55 8514fcd8a618: Preparing 21:19:55 58f6b33513c0: Preparing 21:19:55 e5e13b0c77cb: Preparing 21:19:55 e5e13b0c77cb: Layer already exists 21:19:55 9f05d6dc8042: Pushed 21:19:55 cdd52f252412: Pushed 21:19:55 58f6b33513c0: Pushed 21:19:58 8514fcd8a618: Pushed 21:19:58 fcfe150067659d9c2450c08aa60233797868c9db: digest: sha256:d25b09da70629d0303e399f22656a9f609f03d65bb7936a3e3978c4043384888 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:19:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:19:58 9f05d6dc8042: Preparing 21:19:58 cdd52f252412: Preparing 21:19:58 8514fcd8a618: Preparing 21:19:58 58f6b33513c0: Preparing 21:19:58 e5e13b0c77cb: Preparing 21:19:58 9f05d6dc8042: Layer already exists 21:19:58 cdd52f252412: Layer already exists 21:19:58 e5e13b0c77cb: Layer already exists 21:19:58 8514fcd8a618: Layer already exists 21:19:58 58f6b33513c0: Layer already exists 21:19:58 latest: digest: sha256:d25b09da70629d0303e399f22656a9f609f03d65bb7936a3e3978c4043384888 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.1 21:19:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:19:59 9f05d6dc8042: Preparing 21:19:59 cdd52f252412: Preparing 21:19:59 8514fcd8a618: Preparing 21:19:59 58f6b33513c0: Preparing 21:19:59 e5e13b0c77cb: Preparing 21:19:59 8514fcd8a618: Layer already exists 21:19:59 cdd52f252412: Layer already exists 21:19:59 e5e13b0c77cb: Layer already exists 21:19:59 58f6b33513c0: Layer already exists 21:19:59 9f05d6dc8042: Layer already exists 21:19:59 3.0.0-dev.1: digest: sha256:d25b09da70629d0303e399f22656a9f609f03d65bb7936a3e3978c4043384888 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 21:19:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:19:59 9f05d6dc8042: Preparing 21:19:59 cdd52f252412: Preparing 21:19:59 8514fcd8a618: Preparing 21:19:59 58f6b33513c0: Preparing 21:19:59 e5e13b0c77cb: Preparing 21:19:59 e5e13b0c77cb: Layer already exists 21:19:59 58f6b33513c0: Layer already exists 21:19:59 9f05d6dc8042: Layer already exists 21:19:59 8514fcd8a618: Layer already exists 21:19:59 cdd52f252412: Layer already exists 21:19:59 fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1: digest: sha256:d25b09da70629d0303e399f22656a9f609f03d65bb7936a3e3978c4043384888 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 21:20:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:20:00 9f05d6dc8042: Preparing 21:20:00 cdd52f252412: Preparing 21:20:00 8514fcd8a618: Preparing 21:20:00 58f6b33513c0: Preparing 21:20:00 e5e13b0c77cb: Preparing 21:20:00 58f6b33513c0: Layer already exists 21:20:00 cdd52f252412: Layer already exists 21:20:00 9f05d6dc8042: Layer already exists 21:20:00 8514fcd8a618: Layer already exists 21:20:00 e5e13b0c77cb: Layer already exists 21:20:00 main: digest: sha256:d25b09da70629d0303e399f22656a9f609f03d65bb7936a3e3978c4043384888 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:20:00 ===================================================== [Pipeline] echo 21:20:00 taggedImages: 21:20:00 - nexus3.edgexfoundry.org:10004/device-mqtt:fcfe150067659d9c2450c08aa60233797868c9db 21:20:00 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:20:00 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.1 21:20:00 - nexus3.edgexfoundry.org:10004/device-mqtt:fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 21:20:00 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:01 21:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:01 latest: Pulling from edgex-lftools-log-publisher 21:20:01 5eb5b503b376: Pulling fs layer 21:20:01 5c69ac0246d0: Pulling fs layer 21:20:01 ec43610c2a17: Pulling fs layer 21:20:01 3a2ae6a8a46f: Pulling fs layer 21:20:01 33b1e0a273af: Pulling fs layer 21:20:01 5d3b04190fa2: Pulling fs layer 21:20:01 2f39f015ded8: Pulling fs layer 21:20:01 33b1e0a273af: Waiting 21:20:01 5d3b04190fa2: Waiting 21:20:01 2f39f015ded8: Waiting 21:20:01 3a2ae6a8a46f: Waiting 21:20:01 5c69ac0246d0: Verifying Checksum 21:20:01 5c69ac0246d0: Download complete 21:20:01 3a2ae6a8a46f: Verifying Checksum 21:20:01 3a2ae6a8a46f: Download complete 21:20:01 33b1e0a273af: Verifying Checksum 21:20:01 33b1e0a273af: Download complete 21:20:01 5d3b04190fa2: Verifying Checksum 21:20:01 5d3b04190fa2: Download complete 21:20:01 ec43610c2a17: Verifying Checksum 21:20:01 ec43610c2a17: Download complete 21:20:01 5eb5b503b376: Verifying Checksum 21:20:01 5eb5b503b376: Download complete 21:20:02 2f39f015ded8: Download complete 21:20:02 5eb5b503b376: Pull complete 21:20:02 5c69ac0246d0: Pull complete 21:20:03 ec43610c2a17: Pull complete 21:20:03 3a2ae6a8a46f: Pull complete 21:20:03 33b1e0a273af: Pull complete 21:20:03 5d3b04190fa2: Pull complete 21:20:07 2f39f015ded8: Pull complete 21:20:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:07 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:20:09 $ docker top 0da8356a9c89e04bfb9bee09deb79019c52c66f6b69f1edaf1cd3b0fedfbb968 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:09 ---> job-cost.sh 21:20:09 lf-activate-venv: SKIPPING 21:20:09 INFO: No Stack... 21:20:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:10 INFO: Archiving Costs [Pipeline] sh 21:20:10 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 21:20:10 + cut -d, -f6 [Pipeline] lock 21:20:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] 21:20:10 Resource [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] did not exist. Created. 21:20:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:10 + echo total: 0.2199999988079071 [Pipeline] stash 21:20:10 Stashed 1 file(s) [Pipeline] } 21:20:11 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:11 $ docker stop --time=1 0da8356a9c89e04bfb9bee09deb79019c52c66f6b69f1edaf1cd3b0fedfbb968 21:20:12 $ docker rm -f 0da8356a9c89e04bfb9bee09deb79019c52c66f6b69f1edaf1cd3b0fedfbb968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120989 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 21:20:18 Running in /w/workspace/device-mqtt-go/83 [Pipeline] { [Pipeline] checkout 21:20:18 Selected Git installation does not exist. Using Default 21:20:18 The recommended git tool is: NONE 21:20:25 using credential edgex-jenkins-ssh 21:20:25 Cloning the remote Git repository 21:20:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:20:25 > git init /w/workspace/device-mqtt-go/83 # timeout=10 21:20:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:20:25 > git --version # timeout=10 21:20:25 > git --version # 'git version 2.25.1' 21:20:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:25 Verifying host key using known hosts file 21:20:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:20:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:27 Avoid second fetch 21:20:27 Checking out Revision fcfe150067659d9c2450c08aa60233797868c9db (main) 21:20:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:20:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:27 > git config core.sparsecheckout # timeout=10 21:20:27 > git checkout -f fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 21:20:28 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang (#434)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:20:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:28 Dload Upload Total Spent Left Speed 21:20:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66411 0 --:--:-- --:--:-- --:--:-- 66759 [Pipeline] sh 21:20:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:20:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:20:29 + sudo tee /etc/docker/daemon.new 21:20:29 { 21:20:29 "registry-mirrors": [ 21:20:29 "https://nexus3.edgexfoundry.org:10001" 21:20:29 ], 21:20:29 "bip": "10.250.0.254/24", 21:20:29 "hosts": [ 21:20:29 "tcp://0.0.0.0:5555", 21:20:29 "unix:///var/run/docker.sock" 21:20:29 ], 21:20:29 "mtu": 1458, 21:20:29 "selinux-enabled": true, 21:20:29 "seccomp-profile": "/etc/docker/seccomp.json" 21:20:29 } [Pipeline] sh 21:20:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:20:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:48 provisioning config files... 21:20:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/83@tmp/config96791852870271226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:49 ---> docker-login.sh 21:20:49 nexus3.edgexfoundry.org:10001 21:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:49 Configure a credential helper to remove this warning. See 21:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:49 21:20:49 Login Succeeded 21:20:49 nexus3.edgexfoundry.org:10002 21:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:50 Configure a credential helper to remove this warning. See 21:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:50 21:20:50 Login Succeeded 21:20:50 nexus3.edgexfoundry.org:10003 21:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:50 Configure a credential helper to remove this warning. See 21:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:50 21:20:50 Login Succeeded 21:20:50 nexus3.edgexfoundry.org:10004 21:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:50 Configure a credential helper to remove this warning. See 21:20:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:50 21:20:50 Login Succeeded 21:20:50 docker.io 21:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:51 Configure a credential helper to remove this warning. See 21:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:51 21:20:51 Login Succeeded 21:20:51 ---> docker-login.sh ends [Pipeline] } 21:20:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:20:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:51 ========================================================= 21:20:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:20:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:20:51 Sending build context to Docker daemon 3.227MB 21:20:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:20:51 Step 2/12 : FROM ${BASE} AS builder 21:20:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:20:52 9b18e9b68314: Pulling fs layer 21:20:52 35d82f9e3411: Pulling fs layer 21:20:52 e16973657156: Pulling fs layer 21:20:52 fc693d55d65f: Pulling fs layer 21:20:52 7e9fc2657dce: Pulling fs layer 21:20:52 fc693d55d65f: Waiting 21:20:52 dda99020689f: Pulling fs layer 21:20:52 7e9fc2657dce: Waiting 21:20:52 db1c61fa0a46: Pulling fs layer 21:20:52 dda99020689f: Waiting 21:20:52 891c053d2c06: Pulling fs layer 21:20:52 db1c61fa0a46: Waiting 21:20:52 891c053d2c06: Waiting 21:20:52 e16973657156: Verifying Checksum 21:20:52 e16973657156: Download complete 21:20:52 35d82f9e3411: Verifying Checksum 21:20:52 35d82f9e3411: Download complete 21:20:52 7e9fc2657dce: Verifying Checksum 21:20:52 7e9fc2657dce: Download complete 21:20:52 dda99020689f: Verifying Checksum 21:20:52 dda99020689f: Download complete 21:20:52 9b18e9b68314: Verifying Checksum 21:20:52 9b18e9b68314: Download complete 21:20:53 9b18e9b68314: Pull complete 21:20:53 891c053d2c06: Verifying Checksum 21:20:53 891c053d2c06: Download complete 21:20:53 35d82f9e3411: Pull complete 21:20:54 e16973657156: Pull complete 21:20:54 db1c61fa0a46: Verifying Checksum 21:20:54 db1c61fa0a46: Download complete 21:20:55 fc693d55d65f: Verifying Checksum 21:20:55 fc693d55d65f: Download complete 21:21:07 fc693d55d65f: Pull complete 21:21:07 7e9fc2657dce: Pull complete 21:21:07 dda99020689f: Pull complete 21:21:14 db1c61fa0a46: Pull complete 21:21:16 891c053d2c06: Pull complete 21:21:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:21:16 ---> f96f9c87975a 21:21:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:21:18 ---> Running in 7c3ce13c660c 21:21:18 Removing intermediate container 7c3ce13c660c 21:21:18 ---> 0cd7c5eede76 21:21:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:18 ---> Running in 186644be3881 21:21:18 Removing intermediate container 186644be3881 21:21:18 ---> 8e9478056679 21:21:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:21:19 ---> Running in 578087a0be39 21:21:19 Removing intermediate container 578087a0be39 21:21:19 ---> 2e2f2e890659 21:21:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:21:19 ---> Running in 3b3aff794e66 21:21:19 Removing intermediate container 3b3aff794e66 21:21:19 ---> a1b90198f3da 21:21:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:19 ---> Running in 2fd28d169d84 21:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:21:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:21:21 (2/4) Installing libedit (20210910.3.1-r0) 21:21:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:21:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:21:22 Executing busybox-1.35.0-r17.trigger 21:21:22 OK: 226 MiB in 55 packages 21:21:23 Removing intermediate container 2fd28d169d84 21:21:23 ---> 764b223989cc 21:21:23 Step 8/12 : WORKDIR /device-mqtt-go 21:21:23 ---> Running in 67afec5b0b96 21:21:23 Removing intermediate container 67afec5b0b96 21:21:23 ---> 248241b02f2f 21:21:23 Step 9/12 : COPY go.mod vendor* ./ 21:21:24 ---> ad5344e7a14b 21:21:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:24 ---> Running in af3e35af9287 21:22:20 Removing intermediate container af3e35af9287 21:22:20 ---> 32db38185b5b 21:22:20 Step 11/12 : COPY . . 21:22:20 ---> f91a93e28aff 21:22:20 Step 12/12 : RUN $MAKE 21:22:20 ---> Running in 12ed23dbee70 21:22:20 noop 21:22:20 Removing intermediate container 12ed23dbee70 21:22:20 ---> 1d9c40438636 21:22:20 Successfully built 1d9c40438636 21:22:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:21 + docker inspect -f . ci-base-image-arm64 21:22:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:21 prd-ubuntu20.04-docker-arm64-4c-16g-120989 does not seem to be running inside a container 21:22:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/83 -v /w/workspace/device-mqtt-go/83:/w/workspace/device-mqtt-go/83:rw,z -v /w/workspace/device-mqtt-go/83@tmp:/w/workspace/device-mqtt-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:22:22 $ docker top 4fe449d0a6ae09d5a79939797b4e18e0993c399df8890194ab67c19c9fda130e -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:23 + go version 21:22:23 go version go1.18.7 linux/arm64 [Pipeline] } 21:22:23 $ docker stop --time=1 4fe449d0a6ae09d5a79939797b4e18e0993c399df8890194ab67c19c9fda130e 21:22:25 $ docker rm -f 4fe449d0a6ae09d5a79939797b4e18e0993c399df8890194ab67c19c9fda130e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:25 + docker inspect -f . ci-base-image-arm64 21:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:25 prd-ubuntu20.04-docker-arm64-4c-16g-120989 does not seem to be running inside a container 21:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/83 -v /w/workspace/device-mqtt-go/83:/w/workspace/device-mqtt-go/83:rw,z -v /w/workspace/device-mqtt-go/83@tmp:/w/workspace/device-mqtt-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:22:26 $ docker top 2eaf32c42cb6da931a29bf6507e58ab008b2bc962d71c931a58ec714fae17ed9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:27 + git config --global --add safe.directory /w/workspace/device-mqtt-go/83 [Pipeline] fileExists [Pipeline] sh 21:22:28 + make test 21:22:28 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:22:29 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:23:51 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:23:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 21:23:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:23:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:23:51 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:24:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:24:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:24:13 $ docker stop --time=1 2eaf32c42cb6da931a29bf6507e58ab008b2bc962d71c931a58ec714fae17ed9 21:24:15 $ docker rm -f 2eaf32c42cb6da931a29bf6507e58ab008b2bc962d71c931a58ec714fae17ed9 [Pipeline] // withDockerContainer [Pipeline] sh 21:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:24:16 Warning: overwriting stash ‘coverage-report’ 21:24:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:24:17 + ls -al . 21:24:17 total 188 21:24:17 drwxrwxr-x 9 jenkins jenkins 4096 Dec 12 21:22 . 21:24:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 12 21:20 .. 21:24:17 -rw-rw-r-- 1 jenkins jenkins 140 Dec 12 21:20 .dockerignore 21:24:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 12 21:20 .git 21:24:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 21:20 .github 21:24:17 -rw-rw-r-- 1 jenkins jenkins 329 Dec 12 21:20 .gitignore 21:24:17 -rw-rw-r-- 1 jenkins jenkins 41 Dec 12 21:20 .golangci.yml 21:24:17 -rw-rw-r-- 1 jenkins jenkins 9293 Dec 12 21:20 Attribution.txt 21:24:17 -rw-rw-r-- 1 jenkins jenkins 13162 Dec 12 21:20 CHANGELOG.md 21:24:17 -rw-rw-r-- 1 jenkins jenkins 1752 Dec 12 21:20 Dockerfile 21:24:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 12 21:20 GOVERNANCE.md 21:24:17 -rw-rw-r-- 1 jenkins jenkins 678 Dec 12 21:20 Jenkinsfile 21:24:17 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 12 21:20 LICENSE 21:24:17 -rw-rw-r-- 1 jenkins jenkins 2126 Dec 12 21:20 Makefile 21:24:17 -rw-rw-r-- 1 jenkins jenkins 620 Dec 12 21:20 OWNERS.md 21:24:17 -rw-rw-r-- 1 jenkins jenkins 3165 Dec 12 21:20 README.md 21:24:17 -rw-rw-r-- 1 jenkins jenkins 11 Dec 12 21:18 VERSION 21:24:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 21:20 bin 21:24:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 21:20 cmd 21:24:17 -rw-r--r-- 1 jenkins jenkins 17887 Dec 12 21:23 coverage.out 21:24:17 -rw-rw-r-- 1 jenkins jenkins 3463 Dec 12 21:20 go.mod 21:24:17 -rw-rw-r-- 1 jenkins jenkins 45046 Dec 12 21:20 go.sum 21:24:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 21:20 internal 21:24:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 21:20 mock 21:24:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 12 21:20 snap 21:24:17 -rw-rw-r-- 1 jenkins jenkins 227 Dec 12 21:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:17 + 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=fcfe150067659d9c2450c08aa60233797868c9db --label arch=arm64 --label version=3.0.0-dev.1 . 21:24:17 Sending build context to Docker daemon 3.245MB 21:24:17 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:24:17 Step 2/24 : FROM ${BASE} AS builder 21:24:17 ---> 1d9c40438636 21:24:17 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:24:18 ---> Running in 46abb2bf9da3 21:24:18 Removing intermediate container 46abb2bf9da3 21:24:18 ---> a61b4b601b6d 21:24:18 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:18 ---> Running in 261ba5d879ac 21:24:18 Removing intermediate container 261ba5d879ac 21:24:18 ---> 6e4172241d2f 21:24:18 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:24:18 ---> Running in 3ad2e5be790e 21:24:18 Removing intermediate container 3ad2e5be790e 21:24:18 ---> 7ad1f3162c69 21:24:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:24:19 ---> Running in 0e41856e995f 21:24:19 Removing intermediate container 0e41856e995f 21:24:19 ---> 1de49cb8ed3d 21:24:19 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:19 ---> Running in 76f9d4ecdb54 21:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:24:21 OK: 226 MiB in 55 packages 21:24:22 Removing intermediate container 76f9d4ecdb54 21:24:22 ---> 58335e738df4 21:24:22 Step 8/24 : WORKDIR /device-mqtt-go 21:24:22 ---> Running in 917edce4db78 21:24:22 Removing intermediate container 917edce4db78 21:24:22 ---> 5657792721f5 21:24:22 Step 9/24 : COPY go.mod vendor* ./ 21:24:23 ---> 384f17e6b33e 21:24:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:23 ---> Running in ff1f2a675cca 21:24:25 Removing intermediate container ff1f2a675cca 21:24:25 ---> 86bfb07f002d 21:24:25 Step 11/24 : COPY . . 21:24:26 ---> a5199fd149a9 21:24:26 Step 12/24 : RUN $MAKE 21:24:26 ---> Running in 2f983c164fb3 21:24:27 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 21:27:04 Removing intermediate container 2f983c164fb3 21:27:04 ---> 09ac91312204 21:27:04 Step 13/24 : FROM alpine:3.16 21:27:04 3.16: Pulling from library/alpine 21:27:04 6875df1f5354: Pulling fs layer 21:27:04 6875df1f5354: Verifying Checksum 21:27:04 6875df1f5354: Download complete 21:27:04 6875df1f5354: Pull complete 21:27:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:27:04 Status: Downloaded newer image for alpine:3.16 21:27:04 ---> 2b4661558fb8 21:27:04 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:27:04 ---> Running in 11d9d467955a 21:27:04 Removing intermediate container 11d9d467955a 21:27:04 ---> 92fb804600d7 21:27:04 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:27:04 ---> Running in 6d059371fa10 21:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:27:05 (1/6) Installing dumb-init (1.2.5-r1) 21:27:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:27:05 (3/6) Installing libsodium (1.0.18-r0) 21:27:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:27:05 (5/6) Installing libzmq (4.3.4-r0) 21:27:05 (6/6) Installing zeromq (4.3.4-r0) 21:27:05 Executing busybox-1.35.0-r17.trigger 21:27:05 OK: 8 MiB in 20 packages 21:27:06 Removing intermediate container 6d059371fa10 21:27:06 ---> a5babe529569 21:27:06 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:27:07 ---> 07b755cd828c 21:27:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:27:08 ---> 379b795170e8 21:27:08 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:27:08 ---> 4dd1a99bd0f8 21:27:08 Step 19/24 : EXPOSE 59982 21:27:08 ---> Running in c820294b1c44 21:27:09 Removing intermediate container c820294b1c44 21:27:09 ---> aa0dc0f566de 21:27:09 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:27:09 ---> Running in d3f41b8193b4 21:27:09 Removing intermediate container d3f41b8193b4 21:27:09 ---> 10aed81bc271 21:27:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:27:09 ---> Running in 89c705186f5b 21:27:09 Removing intermediate container 89c705186f5b 21:27:09 ---> 28512bde1ff3 21:27:09 Step 22/24 : LABEL arch=arm64 21:27:09 ---> Running in 3dd5fe1f572f 21:27:10 Removing intermediate container 3dd5fe1f572f 21:27:10 ---> 73adf56a443d 21:27:10 Step 23/24 : LABEL git_sha=fcfe150067659d9c2450c08aa60233797868c9db 21:27:10 ---> Running in 2caddb5c9410 21:27:10 Removing intermediate container 2caddb5c9410 21:27:10 ---> a687b561546b 21:27:10 Step 24/24 : LABEL version=3.0.0-dev.1 21:27:10 ---> Running in 72552c3d230b 21:27:11 Removing intermediate container 72552c3d230b 21:27:11 ---> 684a90c216c6 21:27:11 [Warning] One or more build-args [ARCH] were not consumed 21:27:11 Successfully built 684a90c216c6 21:27:11 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:11 provisioning config files... 21:27:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/83@tmp/config896527217779114343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:11 ---> docker-login.sh 21:27:11 nexus3.edgexfoundry.org:10001 21:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:11 Configure a credential helper to remove this warning. See 21:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:11 21:27:11 Login Succeeded 21:27:11 nexus3.edgexfoundry.org:10002 21:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:12 Configure a credential helper to remove this warning. See 21:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:12 21:27:12 Login Succeeded 21:27:12 nexus3.edgexfoundry.org:10003 21:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:12 Configure a credential helper to remove this warning. See 21:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:12 21:27:12 Login Succeeded 21:27:12 nexus3.edgexfoundry.org:10004 21:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:12 Configure a credential helper to remove this warning. See 21:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:12 21:27:12 Login Succeeded 21:27:13 docker.io 21:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:13 Configure a credential helper to remove this warning. See 21:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:13 21:27:13 Login Succeeded 21:27:13 ---> docker-login.sh ends [Pipeline] } 21:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:27:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:13 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:27:13 fcfe150067659d9c2450c08aa60233797868c9db 21:27:13 latest 21:27:13 3.0.0-dev.1 21:27:13 fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 21:27:13 main 21:27:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fcfe150067659d9c2450c08aa60233797868c9db 21:27:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:27:14 0abb8973e03e: Preparing 21:27:14 b37fd7a9b0b9: Preparing 21:27:14 ee8e712b3e44: Preparing 21:27:14 8b8f1b8dfcc8: Preparing 21:27:14 17bec77d7fdc: Preparing 21:27:14 17bec77d7fdc: Layer already exists 21:27:14 0abb8973e03e: Pushed 21:27:14 b37fd7a9b0b9: Pushed 21:27:15 8b8f1b8dfcc8: Pushed 21:27:20 ee8e712b3e44: Pushed 21:27:20 fcfe150067659d9c2450c08aa60233797868c9db: digest: sha256:a50c93ebdd0484b0ce1e8e0161079f04c92b78cf69a5e6633dbf7eb71807297a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:27:21 0abb8973e03e: Preparing 21:27:21 b37fd7a9b0b9: Preparing 21:27:21 ee8e712b3e44: Preparing 21:27:21 8b8f1b8dfcc8: Preparing 21:27:21 17bec77d7fdc: Preparing 21:27:21 17bec77d7fdc: Layer already exists 21:27:21 0abb8973e03e: Layer already exists 21:27:21 8b8f1b8dfcc8: Layer already exists 21:27:21 b37fd7a9b0b9: Layer already exists 21:27:21 ee8e712b3e44: Layer already exists 21:27:21 latest: digest: sha256:a50c93ebdd0484b0ce1e8e0161079f04c92b78cf69a5e6633dbf7eb71807297a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.1 21:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:27:22 0abb8973e03e: Preparing 21:27:22 b37fd7a9b0b9: Preparing 21:27:22 ee8e712b3e44: Preparing 21:27:22 8b8f1b8dfcc8: Preparing 21:27:22 17bec77d7fdc: Preparing 21:27:22 17bec77d7fdc: Layer already exists 21:27:22 b37fd7a9b0b9: Layer already exists 21:27:22 ee8e712b3e44: Layer already exists 21:27:22 0abb8973e03e: Layer already exists 21:27:22 8b8f1b8dfcc8: Layer already exists 21:27:22 3.0.0-dev.1: digest: sha256:a50c93ebdd0484b0ce1e8e0161079f04c92b78cf69a5e6633dbf7eb71807297a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 21:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:27:22 0abb8973e03e: Preparing 21:27:22 b37fd7a9b0b9: Preparing 21:27:22 ee8e712b3e44: Preparing 21:27:22 8b8f1b8dfcc8: Preparing 21:27:22 17bec77d7fdc: Preparing 21:27:22 8b8f1b8dfcc8: Layer already exists 21:27:22 0abb8973e03e: Layer already exists 21:27:22 17bec77d7fdc: Layer already exists 21:27:22 ee8e712b3e44: Layer already exists 21:27:22 b37fd7a9b0b9: Layer already exists 21:27:23 fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1: digest: sha256:a50c93ebdd0484b0ce1e8e0161079f04c92b78cf69a5e6633dbf7eb71807297a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 21:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:27:23 0abb8973e03e: Preparing 21:27:23 b37fd7a9b0b9: Preparing 21:27:23 ee8e712b3e44: Preparing 21:27:23 8b8f1b8dfcc8: Preparing 21:27:23 17bec77d7fdc: Preparing 21:27:23 b37fd7a9b0b9: Layer already exists 21:27:23 ee8e712b3e44: Layer already exists 21:27:23 8b8f1b8dfcc8: Layer already exists 21:27:23 0abb8973e03e: Layer already exists 21:27:23 17bec77d7fdc: Layer already exists 21:27:24 main: digest: sha256:a50c93ebdd0484b0ce1e8e0161079f04c92b78cf69a5e6633dbf7eb71807297a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:27:24 ===================================================== [Pipeline] echo 21:27:24 taggedImages: 21:27:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fcfe150067659d9c2450c08aa60233797868c9db 21:27:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:27:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.1 21:27:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fcfe150067659d9c2450c08aa60233797868c9db-3.0.0-dev.1 21:27:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:24 21:27:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:24 arm64: Pulling from edgex-lftools-log-publisher 21:27:24 8998bd30e6a1: Pulling fs layer 21:27:24 04944245beec: Pulling fs layer 21:27:24 699f458cf7ca: Pulling fs layer 21:27:24 765212b225bb: Pulling fs layer 21:27:24 f23df028b6ca: Pulling fs layer 21:27:24 d65c8cfc05b1: Pulling fs layer 21:27:24 2437ff75d9bd: Pulling fs layer 21:27:24 765212b225bb: Waiting 21:27:24 d65c8cfc05b1: Waiting 21:27:24 2437ff75d9bd: Waiting 21:27:24 f23df028b6ca: Waiting 21:27:25 04944245beec: Verifying Checksum 21:27:25 04944245beec: Download complete 21:27:25 765212b225bb: Verifying Checksum 21:27:25 765212b225bb: Download complete 21:27:25 f23df028b6ca: Verifying Checksum 21:27:25 f23df028b6ca: Download complete 21:27:25 d65c8cfc05b1: Download complete 21:27:25 699f458cf7ca: Verifying Checksum 21:27:25 699f458cf7ca: Download complete 21:27:25 8998bd30e6a1: Download complete 21:27:28 2437ff75d9bd: Verifying Checksum 21:27:29 8998bd30e6a1: Pull complete 21:27:30 04944245beec: Pull complete 21:27:31 699f458cf7ca: Pull complete 21:27:31 765212b225bb: Pull complete 21:27:32 f23df028b6ca: Pull complete 21:27:32 d65c8cfc05b1: Pull complete 21:27:47 2437ff75d9bd: Pull complete 21:27:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:48 prd-ubuntu20.04-docker-arm64-4c-16g-120989 does not seem to be running inside a container 21:27:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/83 -v /w/workspace/device-mqtt-go/83:/w/workspace/device-mqtt-go/83:rw,z -v /w/workspace/device-mqtt-go/83@tmp:/w/workspace/device-mqtt-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:27:51 $ docker top 11af8d296431de7bd159bef1185995935e54371e9312204bdc5c2ff4d8758195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:51 ---> job-cost.sh 21:27:51 lf-activate-venv: SKIPPING 21:27:51 INFO: No Stack... 21:27:52 INFO: Retrieving Pricing Info for: v3-standard-4 21:27:53 INFO: Archiving Costs [Pipeline] sh 21:27:53 + cat /w/workspace/device-mqtt-go/83/archives/cost.csv 21:27:53 + cut -d, -f6 [Pipeline] lock 21:27:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] 21:27:53 Resource [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] did not exist. Created. 21:27:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:54 /w/workspace/device-mqtt-go/83@tmp/durable-6b720690/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:27:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:27:55 Warning: overwriting stash ‘stack-cost’ 21:27:55 Stashed 1 file(s) [Pipeline] } 21:27:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:55 $ docker stop --time=1 11af8d296431de7bd159bef1185995935e54371e9312204bdc5c2ff4d8758195 21:27:56 $ docker rm -f 11af8d296431de7bd159bef1185995935e54371e9312204bdc5c2ff4d8758195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:27:57 provisioning config files... 21:27:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7321630149155105382tmp [Pipeline] { [Pipeline] sh 21:27:57 + set +x 21:27:57 + curl -s https://codecov.io/bash 21:27:57 + bash -s -- 21:27:57 21:27:57 _____ _ 21:27:57 / ____| | | 21:27:57 | | ___ __| | ___ ___ _____ __ 21:27:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:27:57 | |___| (_) | (_| | __/ (_| (_) \ V / 21:27:57 \_____\___/ \__,_|\___|\___\___/ \_/ 21:27:57 Bash-1.0.6 21:27:57 21:27:57 21:27:57 ==> git version 2.25.1 found 21:27:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:27:57 Release-Date: 2020-01-08 21:27:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:27:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:27:57 ==> Jenkins CI detected. 21:27:57 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 21:27:57 project root: . 21:27:57 --> token set from env 21:27:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:27:57 ==> Running gcov in . (disable via -X gcov) 21:27:57 ==> Python coveragepy not found 21:27:57 ==> Searching for coverage reports in: 21:27:57 + . 21:27:57 -> Found 1 reports 21:27:57 ==> Detecting git/mercurial file structure 21:27:57 ==> Reading reports 21:27:57 + ./coverage.out bytes=17887 21:27:57 ==> Appending adjustments 21:27:57 https://docs.codecov.io/docs/fixing-reports 21:27:57 + Found adjustments 21:27:57 ==> Gzipping contents 21:27:57 4.0K /tmp/codecov.iq8ypo.gz 21:27:57 ==> Uploading reports 21:27:57 url: https://codecov.io 21:27:57 query: branch=main&commit=fcfe150067659d9c2450c08aa60233797868c9db&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:27:57 -> Pinging Codecov 21:27:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=fcfe150067659d9c2450c08aa60233797868c9db&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:27:57 -> Uploading to 21:27:57 https://storage.googleapis.com/codecov/v4/raw/2022-12-12/7D719EC7BBE17E464838252E33014C33/fcfe150067659d9c2450c08aa60233797868c9db/f8580e1d-a1d0-4aa2-aa13-c7c9a98739cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221212%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221212T212757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6caf564b302729bca97f4c190ad090fcf7e67abc6492f0975458c14167ba407a 21:27:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:27:57 Dload Upload Total Spent Left Speed 21:27:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 14715 --:--:-- --:--:-- --:--:-- 14715 21:27:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] } 21:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:27:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:27:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:27:58 21:27:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:27:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:27:59 df9b9388f04a: Pulling fs layer 21:27:59 52dc419b0ee2: Pulling fs layer 21:27:59 25bc292e5bac: Pulling fs layer 21:27:59 114826534d7a: Pulling fs layer 21:27:59 4657fd5d0bcf: Pulling fs layer 21:27:59 6ad1cebc031e: Pulling fs layer 21:27:59 8a3aa393b2d8: Pulling fs layer 21:27:59 114826534d7a: Waiting 21:27:59 4657fd5d0bcf: Waiting 21:27:59 6ad1cebc031e: Waiting 21:27:59 8a3aa393b2d8: Waiting 21:27:59 25bc292e5bac: Verifying Checksum 21:27:59 25bc292e5bac: Download complete 21:27:59 52dc419b0ee2: Download complete 21:27:59 4657fd5d0bcf: Download complete 21:27:59 df9b9388f04a: Download complete 21:27:59 df9b9388f04a: Pull complete 21:27:59 6ad1cebc031e: Verifying Checksum 21:27:59 6ad1cebc031e: Download complete 21:27:59 52dc419b0ee2: Pull complete 21:27:59 25bc292e5bac: Pull complete 21:27:59 114826534d7a: Verifying Checksum 21:27:59 114826534d7a: Download complete 21:28:00 8a3aa393b2d8: Verifying Checksum 21:28:00 8a3aa393b2d8: Download complete 21:28:02 114826534d7a: Pull complete 21:28:02 4657fd5d0bcf: Pull complete 21:28:03 6ad1cebc031e: Pull complete 21:28:06 8a3aa393b2d8: Pull complete 21:28:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:28:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:06 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:28:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:28:08 $ docker top 2d3d5cedfd806926abefe51a357faad40e4ff951308843df22127d1b0b342b9f -eo pid,comm [Pipeline] { [Pipeline] echo 21:28:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 21:28:08 + set -o pipefail 21:28:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 21:28:13 21:28:13 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 21:28:13 21:28:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/3f784184-6772-4333-9ed2-fb5991e0429d 21:28:13 21:28:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:28:13 21:28:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:28:13 21:28:13 21:28:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:28:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:28:13 More details here: https://snyk.co/ue1NS [Pipeline] } 21:28:13 $ docker stop --time=1 2d3d5cedfd806926abefe51a357faad40e4ff951308843df22127d1b0b342b9f 21:28:15 $ docker rm -f 2d3d5cedfd806926abefe51a357faad40e4ff951308843df22127d1b0b342b9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:16 + git log --format=format:%s -1 fcfe150067659d9c2450c08aa60233797868c9db [Pipeline] sh 21:28:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:17 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:28:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:17 $ docker top 9002abebd1718ea243445cd4691bb6ec778930bd1c946b3a889ffd9c796b71ee -eo pid,comm 21:28:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:28:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:17 [ssh-agent] Looking for ssh-agent implementation... 21:28:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:17 $ docker exec 9002abebd1718ea243445cd4691bb6ec778930bd1c946b3a889ffd9c796b71ee ssh-agent 21:28:17 SSH_AUTH_SOCK=/tmp/ssh-BzQUB7JVEa53/agent.32 21:28:17 SSH_AGENT_PID=38 21:28:17 Running ssh-add (command line suppressed) 21:28:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9054806076951606307.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9054806076951606307.key) 21:28:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:18 + git semver tag 21:28:18 2022-12-12 21:28:18,477 [run_tag] DEBUG tag force:False 21:28:18 2022-12-12 21:28:18,477 [check_head_tag] DEBUG check head tag 21:28:18 2022-12-12 21:28:18,478 [execute] INFO git cat-file --batch-check 21:28:18 2022-12-12 21:28:18,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:28:18 2022-12-12 21:28:18,481 [execute] INFO git cat-file --batch 21:28:18 2022-12-12 21:28:18,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:28:18 2022-12-12 21:28:18,497 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:18 2022-12-12 21:28:18,497 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 21:28:18 2022-12-12 21:28:18,498 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:28:18 2022-12-12 21:28:18,502 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:18 3.0.0-dev.1 [Pipeline] } 21:28:18 $ docker exec --env ******** --env ******** 9002abebd1718ea243445cd4691bb6ec778930bd1c946b3a889ffd9c796b71ee ssh-agent -k 21:28:18 unset SSH_AUTH_SOCK; 21:28:18 unset SSH_AGENT_PID; 21:28:18 echo Agent pid 38 killed; 21:28:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:18 + git semver [Pipeline] } 21:28:19 $ docker stop --time=1 9002abebd1718ea243445cd4691bb6ec778930bd1c946b3a889ffd9c796b71ee 21:28:20 $ docker rm -f 9002abebd1718ea243445cd4691bb6ec778930bd1c946b3a889ffd9c796b71ee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:28:20 21:28:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:28:21 0.23.1-centos7: Pulling from edgex-lftools 21:28:21 ab5ef0e58194: Pulling fs layer 21:28:21 9712f1f96733: Pulling fs layer 21:28:21 63f879dbbcfc: Pulling fs layer 21:28:21 0d9ebad4ef96: Pulling fs layer 21:28:21 e9a5061849ea: Pulling fs layer 21:28:21 d747dcd14b5f: Pulling fs layer 21:28:21 2de7ff778b66: Pulling fs layer 21:28:21 2de7ff778b66: Waiting 21:28:21 d747dcd14b5f: Waiting 21:28:21 0d9ebad4ef96: Waiting 21:28:21 9712f1f96733: Verifying Checksum 21:28:21 9712f1f96733: Download complete 21:28:21 63f879dbbcfc: Verifying Checksum 21:28:21 63f879dbbcfc: Download complete 21:28:21 e9a5061849ea: Download complete 21:28:21 d747dcd14b5f: Download complete 21:28:22 ab5ef0e58194: Verifying Checksum 21:28:22 ab5ef0e58194: Download complete 21:28:22 0d9ebad4ef96: Verifying Checksum 21:28:22 0d9ebad4ef96: Download complete 21:28:22 2de7ff778b66: Verifying Checksum 21:28:22 2de7ff778b66: Download complete 21:28:24 ab5ef0e58194: Pull complete 21:28:24 9712f1f96733: Pull complete 21:28:25 63f879dbbcfc: Pull complete 21:28:28 0d9ebad4ef96: Pull complete 21:28:28 e9a5061849ea: Pull complete 21:28:28 d747dcd14b5f: Pull complete 21:28:29 2de7ff778b66: Pull complete 21:28:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:28:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:29 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:28:31 $ docker top 138124f6306af1fa6634e48c22e7ee2072a13d350f2718c6fba2067b84fd2d7c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:28:31 provisioning config files... 21:28:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3955639466594750996tmp 21:28:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15684337358597832377tmp 21:28:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5585477755492194890tmp [Pipeline] { [Pipeline] echo 21:28:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:28:31 ---> sigul-configuration.sh 21:28:31 gpg: directory `/root/.gnupg' created 21:28:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:28:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:28:31 gpg: keyring `/root/.gnupg/secring.gpg' created 21:28:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:28:31 gpg: CAST5 encrypted data 21:28:31 gpg: encrypted with 1 passphrase 21:28:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:28:32 + mkdir /home/jenkins 21:28:32 + mkdir /home/jenkins/sigul [Pipeline] sh 21:28:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:28:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:28:32 ---> sigul-install.sh 21:28:32 Sigul already installed; skipping installation. [Pipeline] sh 21:28:33 + git tag --list 21:28:33 0.7.1 21:28:33 v1.0.0 21:28:33 v1.1.0 21:28:33 v1.1.1 21:28:33 v1.2.2 21:28:33 v1.3.0 21:28:33 v1.3.1 21:28:33 v2.0.0 21:28:33 v2.1.0 21:28:33 v2.1.1 21:28:33 v2.1.1-dev.1 21:28:33 v2.1.1-dev.2 21:28:33 v2.2.0 21:28:33 v2.2.1-dev.1 21:28:33 v2.2.1-dev.10 21:28:33 v2.2.1-dev.2 21:28:33 v2.2.1-dev.3 21:28:33 v2.2.1-dev.4 21:28:33 v2.2.1-dev.5 21:28:33 v2.2.1-dev.6 21:28:33 v2.2.1-dev.7 21:28:33 v2.2.1-dev.8 21:28:33 v2.2.1-dev.9 21:28:33 v2.3.0 21:28:33 v2.3.0-dev.10 21:28:33 v2.3.0-dev.11 21:28:33 v2.3.0-dev.12 21:28:33 v2.3.0-dev.13 21:28:33 v2.3.0-dev.14 21:28:33 v2.3.0-dev.15 21:28:33 v2.3.0-dev.16 21:28:33 v2.3.0-dev.17 21:28:33 v2.3.0-dev.18 21:28:33 v2.3.0-dev.19 21:28:33 v2.3.0-dev.20 21:28:33 v2.3.0-dev.21 21:28:33 v2.3.0-dev.22 21:28:33 v2.3.0-dev.23 21:28:33 v2.3.0-dev.24 21:28:33 v2.3.0-dev.25 21:28:33 v2.3.0-dev.26 21:28:33 v2.3.0-dev.27 21:28:33 v2.3.0-dev.28 21:28:33 v2.3.0-dev.29 21:28:33 v2.3.0-dev.30 21:28:33 v2.3.0-dev.31 21:28:33 v2.3.0-dev.32 21:28:33 v2.3.0-dev.33 21:28:33 v2.3.0-dev.34 21:28:33 v3.0.0-dev.1 [Pipeline] sh 21:28:33 + lftools sign git-tag v3.0.0-dev.1 21:28:33 Signing Git tag with Sigul... 21:28:33 Signing v3.0.0-dev.1 [Pipeline] echo 21:28:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:28:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:28:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:28:34 $ docker stop --time=1 138124f6306af1fa6634e48c22e7ee2072a13d350f2718c6fba2067b84fd2d7c 21:28:35 $ docker rm -f 138124f6306af1fa6634e48c22e7ee2072a13d350f2718c6fba2067b84fd2d7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:28:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:36 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:28:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:37 $ docker top cb2f701bc0a71cb98fe894e4fc2627a1700db749c0dd215763583714603b1c14 -eo pid,comm 21:28:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:28:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:37 [ssh-agent] Looking for ssh-agent implementation... 21:28:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:37 $ docker exec cb2f701bc0a71cb98fe894e4fc2627a1700db749c0dd215763583714603b1c14 ssh-agent 21:28:37 SSH_AUTH_SOCK=/tmp/ssh-YOzkc1NaPIZF/agent.33 21:28:37 SSH_AGENT_PID=39 21:28:37 Running ssh-add (command line suppressed) 21:28:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7344469969395818770.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7344469969395818770.key) 21:28:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:37 + git semver bump pre 21:28:37 2022-12-12 21:28:37,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:37 2022-12-12 21:28:37,901 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 21:28:37 2022-12-12 21:28:37,901 [bump_version] DEBUG bumped version:3.0.0-dev.2 21:28:37 2022-12-12 21:28:37,901 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 21:28:37 2022-12-12 21:28:37,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:37 2022-12-12 21:28:37,901 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:37 2022-12-12 21:28:37,903 [execute] INFO git cat-file --batch-check 21:28:37 2022-12-12 21:28:37,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:28:37 2022-12-12 21:28:37,908 [execute] INFO git cat-file --batch 21:28:37 2022-12-12 21:28:37,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:28:37 2022-12-12 21:28:37,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:37 3.0.0-dev.2 [Pipeline] } 21:28:38 $ docker exec --env ******** --env ******** cb2f701bc0a71cb98fe894e4fc2627a1700db749c0dd215763583714603b1c14 ssh-agent -k 21:28:38 unset SSH_AUTH_SOCK; 21:28:38 unset SSH_AGENT_PID; 21:28:38 echo Agent pid 39 killed; 21:28:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:38 + git semver [Pipeline] } 21:28:38 $ docker stop --time=1 cb2f701bc0a71cb98fe894e4fc2627a1700db749c0dd215763583714603b1c14 21:28:39 $ docker rm -f cb2f701bc0a71cb98fe894e4fc2627a1700db749c0dd215763583714603b1c14 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:40 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:28:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:41 $ docker top 059890316b654459ca2b50d2b136e74498ac1d6cbd9b458f9910bdd0c3101b5d -eo pid,comm 21:28:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:28:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:41 [ssh-agent] Looking for ssh-agent implementation... 21:28:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:41 $ docker exec 059890316b654459ca2b50d2b136e74498ac1d6cbd9b458f9910bdd0c3101b5d ssh-agent 21:28:41 SSH_AUTH_SOCK=/tmp/ssh-Nhpz4rp3Ldy5/agent.33 21:28:41 SSH_AGENT_PID=39 21:28:41 Running ssh-add (command line suppressed) 21:28:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17963699874428005039.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17963699874428005039.key) 21:28:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:41 + git semver push 21:28:42 2022-12-12 21:28:41,966 [run_push] DEBUG push 21:28:42 2022-12-12 21:28:41,967 [execute] INFO git cat-file --batch-check 21:28:42 2022-12-12 21:28:41,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:28:42 2022-12-12 21:28:41,971 [execute] INFO git rev-list e8d7d491eb6f6cda6dacb3eb953ebc18e991aaaa -- 21:28:42 2022-12-12 21:28:41,971 [execute] DEBUG Popen(['git', 'rev-list', 'e8d7d491eb6f6cda6dacb3eb953ebc18e991aaaa', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:28:42 2022-12-12 21:28:41,978 [execute] INFO git fetch -v origin 21:28:42 2022-12-12 21:28:41,979 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:28:42 2022-12-12 21:28:42,549 [run_push] DEBUG no remote changes detected 21:28:42 2022-12-12 21:28:42,549 [execute] INFO git push origin semver 21:28:42 2022-12-12 21:28:42,549 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:28:43 2022-12-12 21:28:43,335 [run_push] DEBUG push all version tags 21:28:43 2022-12-12 21:28:43,335 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:28:43 2022-12-12 21:28:43,336 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:28:44 2022-12-12 21:28:44,062 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:28:44 3.0.0-dev.2 [Pipeline] } 21:28:44 $ docker exec --env ******** --env ******** 059890316b654459ca2b50d2b136e74498ac1d6cbd9b458f9910bdd0c3101b5d ssh-agent -k 21:28:44 unset SSH_AUTH_SOCK; 21:28:44 unset SSH_AGENT_PID; 21:28:44 echo Agent pid 39 killed; 21:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:44 + git semver [Pipeline] } 21:28:44 $ docker stop --time=1 059890316b654459ca2b50d2b136e74498ac1d6cbd9b458f9910bdd0c3101b5d 21:28:46 $ docker rm -f 059890316b654459ca2b50d2b136e74498ac1d6cbd9b458f9910bdd0c3101b5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:28:46 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 21:28:46 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:28:46 total 16 21:28:46 drwxr-xr-x 3 root root 4096 Dec 12 21:20 . 21:28:46 drwxrwxr-x 11 jenkins jenkins 4096 Dec 12 21:28 .. 21:28:46 drwxr-xr-x 2 root root 4096 Dec 12 21:20 cost 21:28:46 -rw-r--r-- 1 root root 85 Dec 12 21:20 cost.csv 21:28:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:28:46 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:28:46 total 16 21:28:46 drwxr-xr-x 3 jenkins jenkins 4096 Dec 12 21:20 . 21:28:46 drwxrwxr-x 11 jenkins jenkins 4096 Dec 12 21:28 .. 21:28:46 drwxr-xr-x 2 jenkins jenkins 4096 Dec 12 21:20 cost 21:28:46 -rw-r--r-- 1 jenkins jenkins 85 Dec 12 21:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:47 ---> package-listing.sh 21:28:47 ++ facter osfamily 21:28:47 ++ tr '[:upper:]' '[:lower:]' 21:28:48 + OS_FAMILY=debian 21:28:48 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 21:28:48 + START_PACKAGES=/tmp/packages_start.txt 21:28:48 + END_PACKAGES=/tmp/packages_end.txt 21:28:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:48 + PACKAGES=/tmp/packages_start.txt 21:28:48 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:28:48 + PACKAGES=/tmp/packages_end.txt 21:28:48 + case "${OS_FAMILY}" in 21:28:48 + dpkg -l 21:28:48 + grep '^ii' 21:28:48 + '[' -f /tmp/packages_start.txt ']' 21:28:48 + '[' -f /tmp/packages_end.txt ']' 21:28:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:48 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:28:48 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 21:28:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 21:28:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:28:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:49 prd-ubuntu20.04-docker-8c-8g-120988 does not seem to be running inside a container 21:28:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:28:49 $ docker top 3fee44aeb626f0ab14cebaa5f387e18c0a6aee028cc8f4c33ae1c03e175ffc9e -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:50 + ls /var/log/sa-host 21:28:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:50 provisioning config files... 21:28:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15188004757280336345tmp [Pipeline] { [Pipeline] echo 21:28:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:50 ---> create-netrc.sh [Pipeline] } 21:28:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:51 ---> python-tools-install.sh [Pipeline] echo 21:28:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:51 ---> sudo-logs.sh 21:28:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:51 ---> job-cost.sh 21:28:51 lf-activate-venv: SKIPPING 21:28:51 DEBUG: total: 0.2199999988079071 21:28:51 INFO: Retrieving Stack Cost... 21:28:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:52 INFO: Archiving Costs [Pipeline] echo 21:28:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:52 ---> logs-deploy.sh 21:28:52 lf-activate-venv: SKIPPING 21:28:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/83 21:28:52 INFO: archiving workspace using pattern(s): 21:28:53 Archives upload complete. 21:28:53 INFO: archiving logs to Nexus