Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b2c861b7985e68cc74183010c56eea75d87e84b 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-ssh6207893821723451713.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh9822871354330076221.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11638691108556641869.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh2741555790390723147.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4992170128054132912.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9458 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 > 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 5b2c861b7985e68cc74183010c56eea75d87e84b (main) Commit message: "Merge pull request #574 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73" > 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 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 > git rev-list --no-walk 4d33384134bee0215aaad493adec514fb129bdc9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:32:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:32:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:32:41 ========================================================= 02:32:41 EdgeX Global Pipelines Version Info 02:32:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:32:42 ------------------- 02:32:42 stable info: 02:32:42 ------------------- 02:32:42 Commited By: Bill Mahoney bill.mahoney@intel.com 02:32:42 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:32:42 Message: update stable to v1.0.248 02:32:42 ------------------- 02:32:42 experimental info: 02:32:42 ------------------- 02:32:42 Commited By: **** collab-it+edgex@linuxfoundation.org 02:32:42 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:32:42 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b2c861 [Pipeline] echo 02:32:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:43 provisioning config files... 02:32:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13785599344555364194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:43 ---> docker-login.sh 02:32:43 nexus3.edgexfoundry.org:10001 02:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:44 Configure a credential helper to remove this warning. See 02:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:44 02:32:44 Login Succeeded 02:32:44 nexus3.edgexfoundry.org:10002 02:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:44 Configure a credential helper to remove this warning. See 02:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:44 02:32:44 Login Succeeded 02:32:44 nexus3.edgexfoundry.org:10003 02:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:44 Configure a credential helper to remove this warning. See 02:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:44 02:32:44 Login Succeeded 02:32:44 nexus3.edgexfoundry.org:10004 02:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:45 Configure a credential helper to remove this warning. See 02:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:45 02:32:45 Login Succeeded 02:32:45 docker.io 02:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:45 Configure a credential helper to remove this warning. See 02:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:45 02:32:45 Login Succeeded 02:32:45 ---> docker-login.sh ends [Pipeline] } 02:32:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:32:45 + git rev-list -1 --merges 5b2c861b7985e68cc74183010c56eea75d87e84b~1..5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] echo 02:32:45 -----------> git rev-list -1 --merges 5b2c861b7985e68cc74183010c56eea75d87e84b~1..5b2c861b7985e68cc74183010c56eea75d87e84b 5b2c861b7985e68cc74183010c56eea75d87e84b 02:32:45 5b2c861b7985e68cc74183010c56eea75d87e84b [false] [Pipeline] sh 02:32:46 + git log --format=format:%s -1 5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] echo 02:32:46 ========================================================= 02:32:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:32:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:46 + git log --format=format:%s -1 5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] echo 02:32:46 [semverPrep] GIT_COMMIT: 5b2c861b7985e68cc74183010c56eea75d87e84b, Commit Message: Merge pull request #574 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73 [Pipeline] echo 02:32:46 [semverPrep] This is not a build commit. [Pipeline] sh 02:32:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:46 + grep -v github /etc/ssh/ssh_known_hosts 02:32:46 + [ -e /tmp/ssh_known_hosts ] 02:32:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:32:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:32:46 + sudo tee -a /etc/ssh/ssh_known_hosts 02:32:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:47 02:32:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:48 0.1.4: Pulling from edgex-devops/py-git-semver 02:32:48 b85a868b505f: Pulling fs layer 02:32:48 e2be974225ed: Pulling fs layer 02:32:48 339a4e72a1f5: Pulling fs layer 02:32:48 988bab9f4d93: Pulling fs layer 02:32:48 1469e6f7b9e6: Pulling fs layer 02:32:48 eaf3925da568: Pulling fs layer 02:32:48 bab4dde63d76: Pulling fs layer 02:32:48 bde34c3a00c8: Pulling fs layer 02:32:48 b352a97aabf1: Pulling fs layer 02:32:48 4872d77fe225: Pulling fs layer 02:32:48 5851b861e8e6: Pulling fs layer 02:32:48 bab4dde63d76: Waiting 02:32:48 988bab9f4d93: Waiting 02:32:48 1469e6f7b9e6: Waiting 02:32:48 bde34c3a00c8: Waiting 02:32:48 eaf3925da568: Waiting 02:32:48 b352a97aabf1: Waiting 02:32:48 4872d77fe225: Waiting 02:32:48 5851b861e8e6: Waiting 02:32:48 e2be974225ed: Download complete 02:32:48 988bab9f4d93: Verifying Checksum 02:32:48 988bab9f4d93: Download complete 02:32:48 1469e6f7b9e6: Verifying Checksum 02:32:48 1469e6f7b9e6: Download complete 02:32:48 eaf3925da568: Verifying Checksum 02:32:48 eaf3925da568: Download complete 02:32:48 339a4e72a1f5: Verifying Checksum 02:32:48 339a4e72a1f5: Download complete 02:32:48 bde34c3a00c8: Download complete 02:32:48 b352a97aabf1: Download complete 02:32:48 4872d77fe225: Verifying Checksum 02:32:48 4872d77fe225: Download complete 02:32:48 5851b861e8e6: Download complete 02:32:48 b85a868b505f: Verifying Checksum 02:32:48 b85a868b505f: Download complete 02:32:48 bab4dde63d76: Verifying Checksum 02:32:48 bab4dde63d76: Download complete 02:32:49 b85a868b505f: Pull complete 02:32:49 e2be974225ed: Pull complete 02:32:50 339a4e72a1f5: Pull complete 02:32:50 988bab9f4d93: Pull complete 02:32:50 1469e6f7b9e6: Pull complete 02:32:50 eaf3925da568: Pull complete 02:32:52 bab4dde63d76: Pull complete 02:32:52 bde34c3a00c8: Pull complete 02:32:52 b352a97aabf1: Pull complete 02:32:52 4872d77fe225: Pull complete 02:32:52 5851b861e8e6: Pull complete 02:32:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:52 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:32:52 $ 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 02:32:55 $ docker top 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 -eo pid,comm 02:32:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:32:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:55 [ssh-agent] Looking for ssh-agent implementation... 02:32:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:56 $ docker exec 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 ssh-agent 02:32:56 SSH_AUTH_SOCK=/tmp/ssh-3WLDvw3WkZe3/agent.32 02:32:56 SSH_AGENT_PID=38 02:32:56 Running ssh-add (command line suppressed) 02:32:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11853988196354727603.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11853988196354727603.key) 02:32:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:56 + git tag --points-at HEAD [Pipeline] } 02:32:56 $ docker exec --env ******** --env ******** 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 ssh-agent -k 02:32:56 unset SSH_AUTH_SOCK; 02:32:56 unset SSH_AGENT_PID; 02:32:56 echo Agent pid 38 killed; 02:32:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:32:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:56 [ssh-agent] Looking for ssh-agent implementation... 02:32:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:56 $ docker exec 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 ssh-agent 02:32:56 SSH_AUTH_SOCK=/tmp/ssh-R8G6kDfPYgOo/agent.71 02:32:56 SSH_AGENT_PID=77 02:32:57 Running ssh-add (command line suppressed) 02:32:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3570516489597149866.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3570516489597149866.key) 02:32:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:57 + git semver init 02:32:57 2023-04-24 02:32:57,610 [run_init] DEBUG init version:0.0.0 force:False 02:32:57 2023-04-24 02:32:57,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:32:57 2023-04-24 02:32:57,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:32:57 2023-04-24 02:32:57,612 [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) 02:32:58 2023-04-24 02:32:58,434 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:32:58 2023-04-24 02:32:58,435 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:32:58 2023-04-24 02:32:58,435 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:32:58 2023-04-24 02:32:58,435 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:32:58 3.0.0-dev.23 [Pipeline] } 02:32:58 $ docker exec --env ******** --env ******** 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 ssh-agent -k 02:32:58 unset SSH_AUTH_SOCK; 02:32:58 unset SSH_AGENT_PID; 02:32:58 echo Agent pid 77 killed; 02:32:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:59 + git semver [Pipeline] } 02:32:59 $ docker stop --time=1 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 02:33:00 $ docker rm -f --volumes 9488215cd175a417923c011c81c4dc0ed7480603b858d6ef3892e5abd5f0afb3 [Pipeline] // withDockerContainer [Pipeline] sh 02:33:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:33:01 Stashed 1 file(s) [Pipeline] echo 02:33:01 [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [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 02:33:01 provisioning config files... 02:33:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5733220477532624583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:01 ---> docker-login.sh 02:33:01 nexus3.edgexfoundry.org:10001 02:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:01 Configure a credential helper to remove this warning. See 02:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:01 02:33:01 Login Succeeded 02:33:01 nexus3.edgexfoundry.org:10002 02:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:01 Configure a credential helper to remove this warning. See 02:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:01 02:33:01 Login Succeeded 02:33:01 nexus3.edgexfoundry.org:10003 02:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:01 Configure a credential helper to remove this warning. See 02:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:01 02:33:01 Login Succeeded 02:33:01 nexus3.edgexfoundry.org:10004 02:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:01 Configure a credential helper to remove this warning. See 02:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:01 02:33:01 Login Succeeded 02:33:01 docker.io 02:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:02 Configure a credential helper to remove this warning. See 02:33:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:02 02:33:02 Login Succeeded 02:33:02 ---> docker-login.sh ends [Pipeline] } 02:33:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:33:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:02 ========================================================= 02:33:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:33:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:02 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:33:02 Sending build context to Docker daemon 6.444MB 02:33:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:33:02 Step 2/12 : FROM ${BASE} AS builder 02:33:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:33:03 63b65145d645: Pulling fs layer 02:33:03 a2d21d5440eb: Pulling fs layer 02:33:03 935e6c44a52c: Pulling fs layer 02:33:03 94cc34f8dd06: Pulling fs layer 02:33:03 30dea6a524f1: Pulling fs layer 02:33:03 a2aff8979fd8: Pulling fs layer 02:33:03 6808be2612f2: Pulling fs layer 02:33:03 f25807f1079a: Pulling fs layer 02:33:03 a2aff8979fd8: Waiting 02:33:03 f25807f1079a: Waiting 02:33:03 94cc34f8dd06: Waiting 02:33:03 a2d21d5440eb: Download complete 02:33:03 94cc34f8dd06: Download complete 02:33:03 30dea6a524f1: Verifying Checksum 02:33:03 30dea6a524f1: Download complete 02:33:03 63b65145d645: Verifying Checksum 02:33:03 63b65145d645: Download complete 02:33:03 a2aff8979fd8: Verifying Checksum 02:33:03 a2aff8979fd8: Download complete 02:33:03 63b65145d645: Pull complete 02:33:03 a2d21d5440eb: Pull complete 02:33:03 f25807f1079a: Verifying Checksum 02:33:03 f25807f1079a: Download complete 02:33:03 935e6c44a52c: Verifying Checksum 02:33:03 935e6c44a52c: Download complete 02:33:03 6808be2612f2: Verifying Checksum 02:33:03 6808be2612f2: Download complete 02:33:07 935e6c44a52c: Pull complete 02:33:07 94cc34f8dd06: Pull complete 02:33:07 30dea6a524f1: Pull complete 02:33:07 a2aff8979fd8: Pull complete 02:33:09 6808be2612f2: Pull complete 02:33:10 f25807f1079a: Pull complete 02:33:10 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:33:10 ---> 3b553350e43f 02:33:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:33:14 ---> Running in 670f95570673 02:33:14 Removing intermediate container 670f95570673 02:33:14 ---> af8fef113681 02:33:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:14 ---> Running in 9925d41e508c 02:33:14 Removing intermediate container 9925d41e508c 02:33:14 ---> f572f9e5ca91 02:33:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:33:14 ---> Running in ba648c874d32 02:33:14 Removing intermediate container ba648c874d32 02:33:14 ---> fbedaa805226 02:33:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:33:14 ---> Running in 8754a2edc27c 02:33:15 Removing intermediate container 8754a2edc27c 02:33:15 ---> 00d147b17198 02:33:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:15 ---> Running in dc137ef0c315 02:33:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:33:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:33:15 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:33:15 (2/4) Installing libedit (20221030.3.1-r0) 02:33:15 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:33:15 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:33:15 Executing busybox-1.35.0-r29.trigger 02:33:15 OK: 269 MiB in 57 packages 02:33:16 Removing intermediate container dc137ef0c315 02:33:16 ---> 094f6e47c1ca 02:33:16 Step 8/12 : WORKDIR /device-mqtt-go 02:33:16 ---> Running in c63c539bbeed 02:33:16 Removing intermediate container c63c539bbeed 02:33:16 ---> 0e11c8d57e85 02:33:16 Step 9/12 : COPY go.mod vendor* ./ 02:33:16 Still waiting to schedule task 02:33:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:33:16 ---> 7a65fbfa1c02 02:33:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:16 ---> Running in 8d9de9171ab0 02:33:55 Removing intermediate container 8d9de9171ab0 02:33:55 ---> 5354542be539 02:33:55 Step 11/12 : COPY . . 02:33:55 ---> f0d6a3d0b66a 02:33:55 Step 12/12 : RUN $MAKE 02:33:55 ---> Running in e87a5b3eae56 02:33:55 noop 02:33:55 Removing intermediate container e87a5b3eae56 02:33:55 ---> c865410ec58c 02:33:55 Successfully built c865410ec58c 02:33:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:55 + docker inspect -f . ci-base-image-x86_64 02:33:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:55 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:33:55 $ 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 02:33:56 $ docker top a8c6234bb9acbd3d2df10be428a394c40df0d0a58a92091336c75b387fc6fa1a -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:56 + go version 02:33:56 go version go1.20.2 linux/amd64 [Pipeline] } 02:33:56 $ docker stop --time=1 a8c6234bb9acbd3d2df10be428a394c40df0d0a58a92091336c75b387fc6fa1a 02:33:57 $ docker rm -f --volumes a8c6234bb9acbd3d2df10be428a394c40df0d0a58a92091336c75b387fc6fa1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:58 + docker inspect -f . ci-base-image-x86_64 02:33:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:58 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:33:58 $ 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 02:33:58 $ docker top f0f432c634ea913f2bd81949b5ffdc8e686301afefc428166f5bfae21fb5817d -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:33:59 + make test 02:33:59 go test ./... -coverprofile=coverage.out ./... 02:34:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:34:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:34:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:34:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.9% of statements 02:34:21 go vet ./... 02:34:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:34:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:34:24 ./bin/test-attribution-txt.sh [Pipeline] echo 02:34:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:34:24 $ docker stop --time=1 f0f432c634ea913f2bd81949b5ffdc8e686301afefc428166f5bfae21fb5817d 02:34:31 $ docker rm -f --volumes f0f432c634ea913f2bd81949b5ffdc8e686301afefc428166f5bfae21fb5817d [Pipeline] // withDockerContainer [Pipeline] sh 02:34:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:34:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:34:32 + ls -al . 02:34:32 total 180 02:34:32 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 02:33 . 02:34:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:32 .. 02:34:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 02:32 .dockerignore 02:34:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 02:32 .git 02:34:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:32 .github 02:34:32 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 02:32 .gitignore 02:34:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 02:32 .golangci.yml 02:34:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 02:32 .semver 02:34:32 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 02:32 Attribution.txt 02:34:32 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 02:32 CHANGELOG.md 02:34:32 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 02:32 Dockerfile 02:34:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 02:32 GOVERNANCE.md 02:34:32 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 02:32 Jenkinsfile 02:34:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 02:32 LICENSE 02:34:32 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 02:32 Makefile 02:34:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 02:32 OWNERS.md 02:34:32 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 02:32 README.md 02:34:32 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 02:33 VERSION 02:34:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:32 bin 02:34:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:32 cmd 02:34:32 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 02:34 coverage.out 02:34:32 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 02:32 go.mod 02:34:32 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 02:32 go.sum 02:34:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:32 internal 02:34:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:32 mock 02:34:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:32 snap 02:34:32 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:32 + 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=5b2c861b7985e68cc74183010c56eea75d87e84b --label arch=amd64 --label version=3.0.0-dev.23 . 02:34:32 Sending build context to Docker daemon 6.463MB 02:34:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:34:32 Step 2/24 : FROM ${BASE} AS builder 02:34:32 ---> c865410ec58c 02:34:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:34:33 ---> Running in 72c2cc42e561 02:34:33 Removing intermediate container 72c2cc42e561 02:34:33 ---> 941177e8228b 02:34:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:34:33 ---> Running in 406c3607cbcc 02:34:33 Removing intermediate container 406c3607cbcc 02:34:33 ---> e4b443cc86b0 02:34:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:34:34 ---> Running in 3287bc479d62 02:34:34 Removing intermediate container 3287bc479d62 02:34:34 ---> 6f5a60807e7a 02:34:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:34:34 ---> Running in 8600c05c5b4f 02:34:35 Removing intermediate container 8600c05c5b4f 02:34:35 ---> abe9b8799297 02:34:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:35 ---> Running in 3181495ac191 02:34:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:34:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:34:36 OK: 269 MiB in 57 packages 02:34:37 Removing intermediate container 3181495ac191 02:34:37 ---> 4e67a5bc0cfc 02:34:37 Step 8/24 : WORKDIR /device-mqtt-go 02:34:37 ---> Running in a99098523cbd 02:34:37 Removing intermediate container a99098523cbd 02:34:37 ---> 93fa90703527 02:34:37 Step 9/24 : COPY go.mod vendor* ./ 02:34:38 ---> b7648a833591 02:34:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:39 ---> Running in bffdb691ac70 02:34:41 Removing intermediate container bffdb691ac70 02:34:41 ---> 24d638e56c71 02:34:41 Step 11/24 : COPY . . 02:34:42 ---> d6312611636a 02:34:42 Step 12/24 : RUN $MAKE 02:34:42 ---> Running in fbb0e3190837 02:34:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:34:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9460 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:34:52 Running in /w/workspace/device-mqtt-go/107 [Pipeline] { [Pipeline] checkout 02:34:52 Selected Git installation does not exist. Using Default 02:34:52 The recommended git tool is: NONE 02:34:58 using credential edgex-jenkins-ssh 02:34:58 Cloning the remote Git repository 02:34:58 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:34:58 > git init /w/workspace/device-mqtt-go/107 # timeout=10 02:34:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:34:59 > git --version # timeout=10 02:34:59 > git --version # 'git version 2.25.1' 02:34:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:35:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:02 Avoid second fetch 02:35:02 Checking out Revision 5b2c861b7985e68cc74183010c56eea75d87e84b (main) 02:35:02 > git config core.sparsecheckout # timeout=10 02:35:02 > git checkout -f 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 02:35:03 Commit message: "Merge pull request #574 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:35:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:35:03 Dload Upload Total Spent Left Speed 02:35:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 02:35:04 Removing intermediate container fbb0e3190837 02:35:04 ---> 2f4f541b8fd1 02:35:04 Step 13/24 : FROM alpine:3.17 02:35:04 3.17: Pulling from library/alpine 02:35:04 f56be85fc22e: Pulling fs layer 02:35:04 f56be85fc22e: Download complete 02:35:04 f56be85fc22e: Pull complete 02:35:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:35:04 Status: Downloaded newer image for alpine:3.17 02:35:04 ---> 9ed4aefc74f6 02:35:04 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:35:04 ---> Running in 867bed189af2 02:35:04 Removing intermediate container 867bed189af2 02:35:04 ---> fc197d1c6083 02:35:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:35:04 ---> Running in 425ebf3c210a 02:35:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:35:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:35:04 (1/1) Installing dumb-init (1.2.5-r2) 02:35:04 Executing busybox-1.35.0-r29.trigger 02:35:04 OK: 7 MiB in 16 packages 02:35:04 Removing intermediate container 425ebf3c210a 02:35:04 ---> d752486c56ec 02:35:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:35:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:35:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:35:04 + sudo tee /etc/docker/daemon.new 02:35:04 { 02:35:04 "registry-mirrors": [ 02:35:04 "https://nexus3.edgexfoundry.org:10001" 02:35:04 ], 02:35:04 "bip": "10.250.0.254/24", 02:35:04 "hosts": [ 02:35:04 "tcp://0.0.0.0:5555", 02:35:04 "unix:///var/run/docker.sock" 02:35:04 ], 02:35:04 "mtu": 1458, 02:35:04 "selinux-enabled": true, 02:35:04 "seccomp-profile": "/etc/docker/seccomp.json" 02:35:04 } [Pipeline] sh 02:35:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:35:05 ---> 58b648748716 02:35:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:35:05 ---> c20afc75e31e 02:35:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:35:05 ---> 1af96ba7d8d0 02:35:05 Step 19/24 : EXPOSE 59982 02:35:05 ---> Running in bee64b2de157 02:35:05 Removing intermediate container bee64b2de157 02:35:05 ---> 70f564556272 02:35:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:35:05 + sudo service docker restart 02:35:05 ---> Running in 4263b5990a01 02:35:05 Removing intermediate container 4263b5990a01 02:35:05 ---> c22457ab095f 02:35:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:35:05 ---> Running in dd05db3832eb 02:35:05 Removing intermediate container dd05db3832eb 02:35:05 ---> a147d89ab929 02:35:05 Step 22/24 : LABEL arch=amd64 02:35:05 ---> Running in 459ee9e120ba 02:35:05 Removing intermediate container 459ee9e120ba 02:35:05 ---> 3bf767a89599 02:35:05 Step 23/24 : LABEL git_sha=5b2c861b7985e68cc74183010c56eea75d87e84b 02:35:05 ---> Running in 8d4a535bffcf 02:35:05 Removing intermediate container 8d4a535bffcf 02:35:05 ---> 7106ae17f026 02:35:05 Step 24/24 : LABEL version=3.0.0-dev.23 02:35:05 ---> Running in 4a49d9d5f8af 02:35:05 Removing intermediate container 4a49d9d5f8af 02:35:05 ---> e60c589d16f3 02:35:05 [Warning] One or more build-args [ARCH] were not consumed 02:35:05 Successfully built e60c589d16f3 02:35:05 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:06 provisioning config files... 02:35:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4462506355771079663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:06 ---> docker-login.sh 02:35:06 nexus3.edgexfoundry.org:10001 02:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:06 Configure a credential helper to remove this warning. See 02:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:06 02:35:06 Login Succeeded 02:35:06 nexus3.edgexfoundry.org:10002 02:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:06 Configure a credential helper to remove this warning. See 02:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:06 02:35:06 Login Succeeded 02:35:06 nexus3.edgexfoundry.org:10003 02:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:06 Configure a credential helper to remove this warning. See 02:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:06 02:35:06 Login Succeeded 02:35:06 nexus3.edgexfoundry.org:10004 02:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:06 Configure a credential helper to remove this warning. See 02:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:06 02:35:06 Login Succeeded 02:35:06 docker.io 02:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:06 Configure a credential helper to remove this warning. See 02:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:06 02:35:06 Login Succeeded 02:35:06 ---> docker-login.sh ends [Pipeline] } 02:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:06 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:35:06 5b2c861b7985e68cc74183010c56eea75d87e84b 02:35:06 latest 02:35:06 3.0.0-dev.23 02:35:06 5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 02:35:06 main 02:35:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5b2c861b7985e68cc74183010c56eea75d87e84b 02:35:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:35:07 bb18730a8815: Preparing 02:35:07 eb348e1e134b: Preparing 02:35:07 eb1bd709a9f2: Preparing 02:35:07 a0439f973530: Preparing 02:35:07 f1417ff83b31: Preparing 02:35:07 f1417ff83b31: Layer already exists 02:35:07 a0439f973530: Pushed 02:35:07 bb18730a8815: Pushed 02:35:07 eb348e1e134b: Pushed 02:35:10 eb1bd709a9f2: Pushed 02:35:10 5b2c861b7985e68cc74183010c56eea75d87e84b: digest: sha256:e8f147589ca1420d8a8327213155e380ff1ab7e11354eb0e4b331ae7eeb14b90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:35:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:35:12 bb18730a8815: Preparing 02:35:12 eb348e1e134b: Preparing 02:35:12 eb1bd709a9f2: Preparing 02:35:12 a0439f973530: Preparing 02:35:12 f1417ff83b31: Preparing 02:35:12 a0439f973530: Layer already exists 02:35:12 eb348e1e134b: Layer already exists 02:35:12 bb18730a8815: Layer already exists 02:35:12 eb1bd709a9f2: Layer already exists 02:35:12 f1417ff83b31: Layer already exists 02:35:12 latest: digest: sha256:e8f147589ca1420d8a8327213155e380ff1ab7e11354eb0e4b331ae7eeb14b90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.23 02:35:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:35:13 bb18730a8815: Preparing 02:35:13 eb348e1e134b: Preparing 02:35:13 eb1bd709a9f2: Preparing 02:35:13 a0439f973530: Preparing 02:35:13 f1417ff83b31: Preparing 02:35:13 bb18730a8815: Layer already exists 02:35:13 f1417ff83b31: Layer already exists 02:35:13 eb348e1e134b: Layer already exists 02:35:13 a0439f973530: Layer already exists 02:35:13 eb1bd709a9f2: Layer already exists 02:35:13 3.0.0-dev.23: digest: sha256:e8f147589ca1420d8a8327213155e380ff1ab7e11354eb0e4b331ae7eeb14b90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 02:35:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:35:14 bb18730a8815: Preparing 02:35:14 eb348e1e134b: Preparing 02:35:14 eb1bd709a9f2: Preparing 02:35:14 a0439f973530: Preparing 02:35:14 f1417ff83b31: Preparing 02:35:14 eb1bd709a9f2: Layer already exists 02:35:14 f1417ff83b31: Layer already exists 02:35:14 eb348e1e134b: Layer already exists 02:35:14 a0439f973530: Layer already exists 02:35:14 bb18730a8815: Layer already exists 02:35:14 5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23: digest: sha256:e8f147589ca1420d8a8327213155e380ff1ab7e11354eb0e4b331ae7eeb14b90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:35:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:35:14 bb18730a8815: Preparing 02:35:14 eb348e1e134b: Preparing 02:35:14 eb1bd709a9f2: Preparing 02:35:14 a0439f973530: Preparing 02:35:14 f1417ff83b31: Preparing 02:35:14 eb348e1e134b: Layer already exists 02:35:14 a0439f973530: Layer already exists 02:35:14 eb1bd709a9f2: Layer already exists 02:35:14 f1417ff83b31: Layer already exists 02:35:14 bb18730a8815: Layer already exists 02:35:14 main: digest: sha256:e8f147589ca1420d8a8327213155e380ff1ab7e11354eb0e4b331ae7eeb14b90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:35:14 ===================================================== [Pipeline] echo 02:35:14 taggedImages: 02:35:14 - nexus3.edgexfoundry.org:10004/device-mqtt:5b2c861b7985e68cc74183010c56eea75d87e84b 02:35:14 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:35:14 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.23 02:35:14 - nexus3.edgexfoundry.org:10004/device-mqtt:5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 02:35:14 - 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 02:35:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:35:15 02:35:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:35:15 latest: Pulling from edgex-lftools-log-publisher 02:35:15 5eb5b503b376: Pulling fs layer 02:35:15 5c69ac0246d0: Pulling fs layer 02:35:15 ec43610c2a17: Pulling fs layer 02:35:15 3a2ae6a8a46f: Pulling fs layer 02:35:15 33b1e0a273af: Pulling fs layer 02:35:15 5d3b04190fa2: Pulling fs layer 02:35:15 2f39f015ded8: Pulling fs layer 02:35:15 2f39f015ded8: Waiting 02:35:15 3a2ae6a8a46f: Waiting 02:35:15 33b1e0a273af: Waiting 02:35:15 5d3b04190fa2: Waiting 02:35:15 5c69ac0246d0: Verifying Checksum 02:35:15 5c69ac0246d0: Download complete 02:35:15 3a2ae6a8a46f: Download complete 02:35:15 33b1e0a273af: Verifying Checksum 02:35:15 33b1e0a273af: Download complete 02:35:15 5d3b04190fa2: Verifying Checksum 02:35:15 5d3b04190fa2: Download complete 02:35:15 ec43610c2a17: Verifying Checksum 02:35:15 ec43610c2a17: Download complete 02:35:15 5eb5b503b376: Download complete 02:35:16 2f39f015ded8: Download complete 02:35:17 5eb5b503b376: Pull complete 02:35:17 5c69ac0246d0: Pull complete 02:35:17 ec43610c2a17: Pull complete 02:35:17 3a2ae6a8a46f: Pull complete 02:35:17 33b1e0a273af: Pull complete 02:35:17 5d3b04190fa2: Pull complete 02:35:22 2f39f015ded8: Pull complete 02:35:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:35:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:35:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:22 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:35:22 $ 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 02:35:27 $ docker top 48b5ec4ee0598026cb4462a212107ee8cafc346401ac73fc9033410859ced4dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 02:35:27 provisioning config files... 02:35:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/107@tmp/config10286764715105160753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:28 ---> job-cost.sh 02:35:28 lf-activate-venv: SKIPPING 02:35:28 INFO: No Stack... 02:35:28 ---> docker-login.sh 02:35:28 nexus3.edgexfoundry.org:10001 02:35:28 INFO: Retrieving Pricing Info for: v3-standard-8 02:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:28 Configure a credential helper to remove this warning. See 02:35:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:28 02:35:28 Login Succeeded 02:35:28 nexus3.edgexfoundry.org:10002 02:35:29 INFO: Archiving Costs [Pipeline] sh 02:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:29 Configure a credential helper to remove this warning. See 02:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:29 02:35:29 Login Succeeded 02:35:29 nexus3.edgexfoundry.org:10003 02:35:29 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:35:29 + cut -d, -f6 [Pipeline] lock 02:35:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] 02:35:29 Resource [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] did not exist. Created. 02:35:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:29 + echo total: 0.2199999988079071 [Pipeline] stash 02:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:29 Configure a credential helper to remove this warning. See 02:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:29 02:35:29 Login Succeeded 02:35:29 nexus3.edgexfoundry.org:10004 02:35:29 Stashed 1 file(s) [Pipeline] } 02:35:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 02:35:29 $ docker stop --time=1 48b5ec4ee0598026cb4462a212107ee8cafc346401ac73fc9033410859ced4dc 02:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:29 Configure a credential helper to remove this warning. See 02:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:29 02:35:29 Login Succeeded 02:35:29 docker.io 02:35:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:30 Configure a credential helper to remove this warning. See 02:35:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:30 02:35:30 Login Succeeded 02:35:30 ---> docker-login.sh ends 02:35:31 $ docker rm -f --volumes 48b5ec4ee0598026cb4462a212107ee8cafc346401ac73fc9033410859ced4dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 02:35:31 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 02:35:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:31 ========================================================= 02:35:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:35:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:35:32 Sending build context to Docker daemon 3.359MB 02:35:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:35:32 Step 2/12 : FROM ${BASE} AS builder 02:35:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:32 af6eaf76a39c: Pulling fs layer 02:35:32 55522c791124: Pulling fs layer 02:35:32 ce5c4a1c91eb: Pulling fs layer 02:35:32 169dfbe0d373: Pulling fs layer 02:35:32 e1ff8fa3b103: Pulling fs layer 02:35:32 52ebb69f0ebf: Pulling fs layer 02:35:32 5abe8eddf0d5: Pulling fs layer 02:35:32 169dfbe0d373: Waiting 02:35:32 e1ff8fa3b103: Waiting 02:35:32 52ebb69f0ebf: Waiting 02:35:32 5abe8eddf0d5: Waiting 02:35:32 55522c791124: Verifying Checksum 02:35:32 55522c791124: Download complete 02:35:32 169dfbe0d373: Verifying Checksum 02:35:32 169dfbe0d373: Download complete 02:35:32 e1ff8fa3b103: Verifying Checksum 02:35:32 e1ff8fa3b103: Download complete 02:35:32 af6eaf76a39c: Verifying Checksum 02:35:33 af6eaf76a39c: Pull complete 02:35:33 5abe8eddf0d5: Verifying Checksum 02:35:33 5abe8eddf0d5: Download complete 02:35:35 ce5c4a1c91eb: Verifying Checksum 02:35:35 ce5c4a1c91eb: Download complete 02:35:35 52ebb69f0ebf: Verifying Checksum 02:35:35 52ebb69f0ebf: Download complete 02:35:36 55522c791124: Pull complete 02:35:51 ce5c4a1c91eb: Pull complete 02:35:51 169dfbe0d373: Pull complete 02:35:51 e1ff8fa3b103: Pull complete 02:35:57 52ebb69f0ebf: Pull complete 02:35:58 5abe8eddf0d5: Pull complete 02:35:58 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:35:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:35:58 ---> 6cb57ee374ae 02:35:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:36:00 ---> Running in 1afabf06a071 02:36:00 Removing intermediate container 1afabf06a071 02:36:00 ---> 13d5ca475038 02:36:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:00 ---> Running in e5a5a55af4ea 02:36:01 Removing intermediate container e5a5a55af4ea 02:36:01 ---> ea3734908c37 02:36:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:36:01 ---> Running in aeb3f1002a18 02:36:01 Removing intermediate container aeb3f1002a18 02:36:01 ---> eaa989d15675 02:36:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:36:01 ---> Running in 54528e97a843 02:36:01 Removing intermediate container 54528e97a843 02:36:01 ---> 5a93ef34bde1 02:36:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:01 ---> Running in 228fc5cc3e8a 02:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:36:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:36:04 (2/4) Installing libedit (20221030.3.1-r0) 02:36:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:36:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:36:04 Executing busybox-1.35.0-r29.trigger 02:36:04 OK: 268 MiB in 57 packages 02:36:05 Removing intermediate container 228fc5cc3e8a 02:36:05 ---> c4fc2a1dde83 02:36:05 Step 8/12 : WORKDIR /device-mqtt-go 02:36:05 ---> Running in 46c5fe8a2d4a 02:36:06 Removing intermediate container 46c5fe8a2d4a 02:36:06 ---> a01fd0af72eb 02:36:06 Step 9/12 : COPY go.mod vendor* ./ 02:36:06 ---> 30b21ffc2d13 02:36:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:06 ---> Running in f9bf1a7e82e4 02:37:14 Removing intermediate container f9bf1a7e82e4 02:37:14 ---> f494c4004a01 02:37:14 Step 11/12 : COPY . . 02:37:14 ---> 651779e843ca 02:37:14 Step 12/12 : RUN $MAKE 02:37:14 ---> Running in 20e8234c2c6d 02:37:14 noop 02:37:14 Removing intermediate container 20e8234c2c6d 02:37:14 ---> 610ecb379128 02:37:14 Successfully built 610ecb379128 02:37:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:14 + docker inspect -f . ci-base-image-arm64 02:37:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:15 prd-ubuntu20.04-docker-arm64-4c-16g-9460 does not seem to be running inside a container 02:37:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/107 -v /w/workspace/device-mqtt-go/107:/w/workspace/device-mqtt-go/107:rw,z -v /w/workspace/device-mqtt-go/107@tmp:/w/workspace/device-mqtt-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:37:16 $ docker top c53b997540163514515dcceadb805da09c1c2ea66395001f989b15fb57386616 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:17 + go version 02:37:17 go version go1.20.2 linux/arm64 [Pipeline] } 02:37:17 $ docker stop --time=1 c53b997540163514515dcceadb805da09c1c2ea66395001f989b15fb57386616 02:37:22 $ docker rm -f --volumes c53b997540163514515dcceadb805da09c1c2ea66395001f989b15fb57386616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:22 + docker inspect -f . ci-base-image-arm64 02:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:22 prd-ubuntu20.04-docker-arm64-4c-16g-9460 does not seem to be running inside a container 02:37:22 $ 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/107 -v /w/workspace/device-mqtt-go/107:/w/workspace/device-mqtt-go/107:rw,z -v /w/workspace/device-mqtt-go/107@tmp:/w/workspace/device-mqtt-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:37:24 $ docker top 479b21ba619874c6bfd496434d187134f66a5ce178bbd02cdd4e2de27e2604ec -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:25 + git config --global --add safe.directory /w/workspace/device-mqtt-go/107 [Pipeline] fileExists [Pipeline] sh 02:37:25 + make test 02:37:25 go test ./... -coverprofile=coverage.out ./... 02:38:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:40:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:40:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:40:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.9% of statements 02:40:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:40:13 go vet ./... 02:40:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:40:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:40:46 ./bin/test-attribution-txt.sh [Pipeline] echo 02:40:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:40:46 $ docker stop --time=1 479b21ba619874c6bfd496434d187134f66a5ce178bbd02cdd4e2de27e2604ec 02:40:47 $ docker rm -f --volumes 479b21ba619874c6bfd496434d187134f66a5ce178bbd02cdd4e2de27e2604ec [Pipeline] // withDockerContainer [Pipeline] sh 02:40:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:40:49 Warning: overwriting stash ‘coverage-report’ 02:40:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:50 + ls -al . 02:40:50 total 176 02:40:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 02:37 . 02:40:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:34 .. 02:40:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 02:35 .dockerignore 02:40:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 02:35 .git 02:40:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:35 .github 02:40:50 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 02:35 .gitignore 02:40:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 02:35 .golangci.yml 02:40:50 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 02:35 Attribution.txt 02:40:50 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 02:35 CHANGELOG.md 02:40:50 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 02:35 Dockerfile 02:40:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 02:35 GOVERNANCE.md 02:40:50 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 02:35 Jenkinsfile 02:40:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 02:35 LICENSE 02:40:50 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 02:35 Makefile 02:40:50 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 02:35 OWNERS.md 02:40:50 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 02:35 README.md 02:40:50 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 02:33 VERSION 02:40:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:35 bin 02:40:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:35 cmd 02:40:50 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 02:40 coverage.out 02:40:50 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 02:35 go.mod 02:40:50 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 02:35 go.sum 02:40:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:35 internal 02:40:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:35 mock 02:40:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:35 snap 02:40:50 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:50 + 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=5b2c861b7985e68cc74183010c56eea75d87e84b --label arch=arm64 --label version=3.0.0-dev.23 . 02:40:50 Sending build context to Docker daemon 3.379MB 02:40:50 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:40:50 Step 2/24 : FROM ${BASE} AS builder 02:40:50 ---> 610ecb379128 02:40:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:40:51 ---> Running in 3c71ec865151 02:40:51 Removing intermediate container 3c71ec865151 02:40:51 ---> 78bbc2dc0a4a 02:40:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:51 ---> Running in e36af96f914a 02:40:51 Removing intermediate container e36af96f914a 02:40:51 ---> 0f1c6585ec36 02:40:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:51 ---> Running in e943c4bfb2ca 02:40:51 Removing intermediate container e943c4bfb2ca 02:40:51 ---> 8556c93ef283 02:40:51 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:40:52 ---> Running in ded45f3da550 02:40:52 Removing intermediate container ded45f3da550 02:40:52 ---> 88a54c1290e3 02:40:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:52 ---> Running in a3f463234987 02:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:40:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:40:55 OK: 268 MiB in 57 packages 02:40:56 Removing intermediate container a3f463234987 02:40:56 ---> 98f2c0f14bc1 02:40:56 Step 8/24 : WORKDIR /device-mqtt-go 02:40:56 ---> Running in 128ec50ad9d6 02:40:56 Removing intermediate container 128ec50ad9d6 02:40:56 ---> 01f91a7eabb9 02:40:56 Step 9/24 : COPY go.mod vendor* ./ 02:40:57 ---> 5c1ff633323c 02:40:57 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:57 ---> Running in 4161f62d0aa0 02:41:00 Removing intermediate container 4161f62d0aa0 02:41:00 ---> db27ad23de9f 02:41:00 Step 11/24 : COPY . . 02:41:01 ---> 6489162e2049 02:41:01 Step 12/24 : RUN $MAKE 02:41:01 ---> Running in d3ffd2497701 02:41:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:43:38 Removing intermediate container d3ffd2497701 02:43:38 ---> 7663ab143073 02:43:38 Step 13/24 : FROM alpine:3.17 02:43:38 3.17: Pulling from library/alpine 02:43:38 c41833b44d91: Pulling fs layer 02:43:38 c41833b44d91: Verifying Checksum 02:43:38 c41833b44d91: Download complete 02:43:38 c41833b44d91: Pull complete 02:43:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:43:38 Status: Downloaded newer image for alpine:3.17 02:43:38 ---> 51e60588ff2c 02:43:38 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:43:38 ---> Running in ae111276c7c2 02:43:38 Removing intermediate container ae111276c7c2 02:43:38 ---> ecb54a6aef3f 02:43:38 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:43:38 ---> Running in f0059d4ceb76 02:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:43:38 (1/1) Installing dumb-init (1.2.5-r2) 02:43:38 Executing busybox-1.35.0-r29.trigger 02:43:38 OK: 8 MiB in 16 packages 02:43:38 Removing intermediate container f0059d4ceb76 02:43:38 ---> 0fbfeac1162f 02:43:38 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:43:38 ---> e863a92635e7 02:43:38 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:43:38 ---> 8a193f096d53 02:43:38 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:43:38 ---> 3a4d1a0e4e73 02:43:38 Step 19/24 : EXPOSE 59982 02:43:38 ---> Running in 18f51ed532c9 02:43:38 Removing intermediate container 18f51ed532c9 02:43:38 ---> 4cfc5b6b7cd2 02:43:38 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:43:38 ---> Running in 0dd5a8bfcaf5 02:43:38 Removing intermediate container 0dd5a8bfcaf5 02:43:38 ---> 7db99bd2a254 02:43:38 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:43:38 ---> Running in dbe22021c3c4 02:43:38 Removing intermediate container dbe22021c3c4 02:43:38 ---> 02cdce41c7b7 02:43:38 Step 22/24 : LABEL arch=arm64 02:43:38 ---> Running in 05ee1883aff2 02:43:38 Removing intermediate container 05ee1883aff2 02:43:38 ---> fa179841d924 02:43:38 Step 23/24 : LABEL git_sha=5b2c861b7985e68cc74183010c56eea75d87e84b 02:43:38 ---> Running in 2437e2c28dfc 02:43:38 Removing intermediate container 2437e2c28dfc 02:43:38 ---> 049ffbf9c463 02:43:38 Step 24/24 : LABEL version=3.0.0-dev.23 02:43:38 ---> Running in 2d9f7b1869df 02:43:38 Removing intermediate container 2d9f7b1869df 02:43:38 ---> eb2bf140ff83 02:43:38 [Warning] One or more build-args [ARCH] were not consumed 02:43:38 Successfully built eb2bf140ff83 02:43:38 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:38 provisioning config files... 02:43:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/107@tmp/config6343612597038009178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:39 ---> docker-login.sh 02:43:39 nexus3.edgexfoundry.org:10001 02:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:39 Configure a credential helper to remove this warning. See 02:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:39 02:43:39 Login Succeeded 02:43:39 nexus3.edgexfoundry.org:10002 02:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:40 Configure a credential helper to remove this warning. See 02:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:40 02:43:40 Login Succeeded 02:43:40 nexus3.edgexfoundry.org:10003 02:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:40 Configure a credential helper to remove this warning. See 02:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:40 02:43:40 Login Succeeded 02:43:40 nexus3.edgexfoundry.org:10004 02:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:40 Configure a credential helper to remove this warning. See 02:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:40 02:43:40 Login Succeeded 02:43:40 docker.io 02:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:41 Configure a credential helper to remove this warning. See 02:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:41 02:43:41 Login Succeeded 02:43:41 ---> docker-login.sh ends [Pipeline] } 02:43:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:43:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:41 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:43:41 5b2c861b7985e68cc74183010c56eea75d87e84b 02:43:41 latest 02:43:41 3.0.0-dev.23 02:43:41 5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 02:43:41 main 02:43:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b2c861b7985e68cc74183010c56eea75d87e84b 02:43:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:43:41 fb64db372c3c: Preparing 02:43:41 342322e59154: Preparing 02:43:41 8f8df3a2d045: Preparing 02:43:41 0d619052df13: Preparing 02:43:41 26cbea5cba74: Preparing 02:43:41 26cbea5cba74: Layer already exists 02:43:42 342322e59154: Pushed 02:43:42 fb64db372c3c: Pushed 02:43:42 0d619052df13: Pushed 02:43:50 8f8df3a2d045: Pushed 02:43:50 5b2c861b7985e68cc74183010c56eea75d87e84b: digest: sha256:c22a6e6a0d9bd6a47bdb58671d0f12d63278b46747a9161ad8301763ec572d56 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:43:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:43:50 fb64db372c3c: Preparing 02:43:50 342322e59154: Preparing 02:43:50 8f8df3a2d045: Preparing 02:43:50 0d619052df13: Preparing 02:43:50 26cbea5cba74: Preparing 02:43:50 8f8df3a2d045: Layer already exists 02:43:50 26cbea5cba74: Layer already exists 02:43:50 342322e59154: Layer already exists 02:43:50 0d619052df13: Layer already exists 02:43:50 fb64db372c3c: Layer already exists 02:43:50 latest: digest: sha256:c22a6e6a0d9bd6a47bdb58671d0f12d63278b46747a9161ad8301763ec572d56 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.23 02:43:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:43:51 fb64db372c3c: Preparing 02:43:51 342322e59154: Preparing 02:43:51 8f8df3a2d045: Preparing 02:43:51 0d619052df13: Preparing 02:43:51 26cbea5cba74: Preparing 02:43:51 342322e59154: Layer already exists 02:43:51 8f8df3a2d045: Layer already exists 02:43:51 26cbea5cba74: Layer already exists 02:43:51 fb64db372c3c: Layer already exists 02:43:51 0d619052df13: Layer already exists 02:43:51 3.0.0-dev.23: digest: sha256:c22a6e6a0d9bd6a47bdb58671d0f12d63278b46747a9161ad8301763ec572d56 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 02:43:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:43:52 fb64db372c3c: Preparing 02:43:52 342322e59154: Preparing 02:43:52 8f8df3a2d045: Preparing 02:43:52 0d619052df13: Preparing 02:43:52 26cbea5cba74: Preparing 02:43:52 342322e59154: Layer already exists 02:43:52 26cbea5cba74: Layer already exists 02:43:52 8f8df3a2d045: Layer already exists 02:43:52 fb64db372c3c: Layer already exists 02:43:52 0d619052df13: Layer already exists 02:43:52 5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23: digest: sha256:c22a6e6a0d9bd6a47bdb58671d0f12d63278b46747a9161ad8301763ec572d56 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:43:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:43:53 fb64db372c3c: Preparing 02:43:53 342322e59154: Preparing 02:43:53 8f8df3a2d045: Preparing 02:43:53 0d619052df13: Preparing 02:43:53 26cbea5cba74: Preparing 02:43:53 342322e59154: Layer already exists 02:43:53 8f8df3a2d045: Layer already exists 02:43:53 26cbea5cba74: Layer already exists 02:43:53 fb64db372c3c: Layer already exists 02:43:53 0d619052df13: Layer already exists 02:43:53 main: digest: sha256:c22a6e6a0d9bd6a47bdb58671d0f12d63278b46747a9161ad8301763ec572d56 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:43:53 ===================================================== [Pipeline] echo 02:43:53 taggedImages: 02:43:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b2c861b7985e68cc74183010c56eea75d87e84b 02:43:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:43:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.23 02:43:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b2c861b7985e68cc74183010c56eea75d87e84b-3.0.0-dev.23 02:43:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:53 02:43:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:43:54 arm64: Pulling from edgex-lftools-log-publisher 02:43:54 8998bd30e6a1: Pulling fs layer 02:43:54 04944245beec: Pulling fs layer 02:43:54 699f458cf7ca: Pulling fs layer 02:43:54 765212b225bb: Pulling fs layer 02:43:54 f23df028b6ca: Pulling fs layer 02:43:54 d65c8cfc05b1: Pulling fs layer 02:43:54 2437ff75d9bd: Pulling fs layer 02:43:54 f23df028b6ca: Waiting 02:43:54 d65c8cfc05b1: Waiting 02:43:54 2437ff75d9bd: Waiting 02:43:54 04944245beec: Verifying Checksum 02:43:54 04944245beec: Download complete 02:43:54 765212b225bb: Verifying Checksum 02:43:54 765212b225bb: Download complete 02:43:54 f23df028b6ca: Verifying Checksum 02:43:54 f23df028b6ca: Download complete 02:43:54 d65c8cfc05b1: Verifying Checksum 02:43:54 d65c8cfc05b1: Download complete 02:43:54 699f458cf7ca: Verifying Checksum 02:43:54 699f458cf7ca: Download complete 02:43:55 8998bd30e6a1: Verifying Checksum 02:43:55 8998bd30e6a1: Download complete 02:43:57 2437ff75d9bd: Verifying Checksum 02:43:57 2437ff75d9bd: Download complete 02:43:59 8998bd30e6a1: Pull complete 02:43:59 04944245beec: Pull complete 02:44:02 699f458cf7ca: Pull complete 02:44:02 765212b225bb: Pull complete 02:44:03 f23df028b6ca: Pull complete 02:44:03 d65c8cfc05b1: Pull complete 02:44:18 2437ff75d9bd: Pull complete 02:44:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:44:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:18 prd-ubuntu20.04-docker-arm64-4c-16g-9460 does not seem to be running inside a container 02:44:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/107 -v /w/workspace/device-mqtt-go/107:/w/workspace/device-mqtt-go/107:rw,z -v /w/workspace/device-mqtt-go/107@tmp:/w/workspace/device-mqtt-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:44:21 $ docker top 15f3b47ae5b46d6c97bd7dfcb9df26036ac2b519b5611dd6525aa108a7e147e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:22 ---> job-cost.sh 02:44:22 lf-activate-venv: SKIPPING 02:44:22 INFO: No Stack... 02:44:22 INFO: Retrieving Pricing Info for: v3-standard-4 02:44:23 INFO: Archiving Costs [Pipeline] sh 02:44:24 + cat /w/workspace/device-mqtt-go/107/archives/cost.csv 02:44:24 + cut -d, -f6 [Pipeline] lock 02:44:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] 02:44:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] did not exist. Created. 02:44:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:44:24 /w/workspace/device-mqtt-go/107@tmp/durable-9b557bdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:44:24 + echo total: 0.10999999940395355 [Pipeline] stash 02:44:24 Warning: overwriting stash ‘stack-cost’ 02:44:25 Stashed 1 file(s) [Pipeline] } 02:44:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 02:44:25 $ docker stop --time=1 15f3b47ae5b46d6c97bd7dfcb9df26036ac2b519b5611dd6525aa108a7e147e6 02:44:26 $ docker rm -f --volumes 15f3b47ae5b46d6c97bd7dfcb9df26036ac2b519b5611dd6525aa108a7e147e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:44:26 provisioning config files... 02:44:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4999273364443233823tmp [Pipeline] { [Pipeline] sh 02:44:27 + set +x 02:44:27 + + curl -s https://codecov.io/bash 02:44:27 bash -s -- 02:44:27 02:44:27 _____ _ 02:44:27 / ____| | | 02:44:27 | | ___ __| | ___ ___ _____ __ 02:44:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:44:27 | |___| (_) | (_| | __/ (_| (_) \ V / 02:44:27 \_____\___/ \__,_|\___|\___\___/ \_/ 02:44:27 Bash-1.0.6 02:44:27 02:44:27 02:44:27 ==> git version 2.25.1 found 02:44:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:44:27 Release-Date: 2020-01-08 02:44:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:44:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:44:27 ==> Jenkins CI detected. 02:44:27 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:44:27 project root: . 02:44:27 --> token set from env 02:44:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:44:27 ==> Running gcov in . (disable via -X gcov) 02:44:27 ==> Python coveragepy not found 02:44:27 ==> Searching for coverage reports in: 02:44:27 + . 02:44:27 -> Found 1 reports 02:44:27 ==> Detecting git/mercurial file structure 02:44:27 ==> Reading reports 02:44:27 + ./coverage.out bytes=18460 02:44:27 ==> Appending adjustments 02:44:27 https://docs.codecov.io/docs/fixing-reports 02:44:27 + Found adjustments 02:44:27 ==> Gzipping contents 02:44:27 4.0K /tmp/codecov.mYsHZy.gz 02:44:27 ==> Uploading reports 02:44:27 url: https://codecov.io 02:44:27 query: branch=main&commit=5b2c861b7985e68cc74183010c56eea75d87e84b&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:44:27 -> Pinging Codecov 02:44:27 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=5b2c861b7985e68cc74183010c56eea75d87e84b&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:44:27 -> Uploading to 02:44:27 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7D719EC7BBE17E464838252E33014C33/5b2c861b7985e68cc74183010c56eea75d87e84b/757dd01b-2c7f-47f9-bb33-bd82d4c830df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T024427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd66c020bcf110b9b68e23243ac78e07b4acedc086ff1c5fb234d0ad18082b0f 02:44:27 % Total % Received % Xferd Average Speed Time Time Time Current 02:44:27 Dload Upload Total Spent Left Speed 02:44:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14333 --:--:-- --:--:-- --:--:-- 14333 02:44:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] } 02:44:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:44:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:44:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:44:28 02:44:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:44:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:44:29 df9b9388f04a: Pulling fs layer 02:44:29 52dc419b0ee2: Pulling fs layer 02:44:29 25bc292e5bac: Pulling fs layer 02:44:29 114826534d7a: Pulling fs layer 02:44:29 4657fd5d0bcf: Pulling fs layer 02:44:29 6ad1cebc031e: Pulling fs layer 02:44:29 8a3aa393b2d8: Pulling fs layer 02:44:29 114826534d7a: Waiting 02:44:29 4657fd5d0bcf: Waiting 02:44:29 6ad1cebc031e: Waiting 02:44:29 8a3aa393b2d8: Waiting 02:44:29 25bc292e5bac: Download complete 02:44:29 52dc419b0ee2: Verifying Checksum 02:44:29 52dc419b0ee2: Download complete 02:44:29 4657fd5d0bcf: Verifying Checksum 02:44:29 4657fd5d0bcf: Download complete 02:44:29 df9b9388f04a: Download complete 02:44:29 df9b9388f04a: Pull complete 02:44:29 6ad1cebc031e: Verifying Checksum 02:44:29 6ad1cebc031e: Download complete 02:44:29 52dc419b0ee2: Pull complete 02:44:29 25bc292e5bac: Pull complete 02:44:30 114826534d7a: Verifying Checksum 02:44:30 114826534d7a: Download complete 02:44:30 8a3aa393b2d8: Verifying Checksum 02:44:30 8a3aa393b2d8: Download complete 02:44:33 114826534d7a: Pull complete 02:44:33 4657fd5d0bcf: Pull complete 02:44:33 6ad1cebc031e: Pull complete 02:44:36 8a3aa393b2d8: Pull complete 02:44:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:44:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:36 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:44:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:44:41 $ docker top 4ca8ad7f82273af68c1f5e0e1f2afff2889451b1a6e9d8d3b05207a5974f92bb -eo pid,comm [Pipeline] { [Pipeline] echo 02:44:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:44:41 + set -o pipefail 02:44:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:44:45 02:44:45 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:44:45 02:44:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/aafebf52-f134-4e09-a877-d4e78d772366 02:44:45 02:44:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:44:45 02:44:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:44:45 02:44:45 02:44:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:44:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:44:45 More details here: https://snyk.co/ue1NS [Pipeline] } 02:44:45 $ docker stop --time=1 4ca8ad7f82273af68c1f5e0e1f2afff2889451b1a6e9d8d3b05207a5974f92bb 02:44:52 $ docker rm -f --volumes 4ca8ad7f82273af68c1f5e0e1f2afff2889451b1a6e9d8d3b05207a5974f92bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:44:53 + git log --format=format:%s -1 5b2c861b7985e68cc74183010c56eea75d87e84b [Pipeline] sh 02:44:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:44:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:53 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:44:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:44:54 $ docker top 0e838726af9e9a5e764c35d12c6a1755c7682054cfc456b4aa8bdb2ea4699bad -eo pid,comm 02:44:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:44:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:54 [ssh-agent] Looking for ssh-agent implementation... 02:44:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:54 $ docker exec 0e838726af9e9a5e764c35d12c6a1755c7682054cfc456b4aa8bdb2ea4699bad ssh-agent 02:44:54 SSH_AUTH_SOCK=/tmp/ssh-DuM8SUhlkOtS/agent.31 02:44:54 SSH_AGENT_PID=37 02:44:54 Running ssh-add (command line suppressed) 02:44:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6434421311069067175.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6434421311069067175.key) 02:44:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:55 + git semver tag 02:44:55 2023-04-24 02:44:55,318 [run_tag] DEBUG tag force:False 02:44:55 2023-04-24 02:44:55,318 [check_head_tag] DEBUG check head tag 02:44:55 2023-04-24 02:44:55,319 [execute] INFO git cat-file --batch-check 02:44:55 2023-04-24 02:44:55,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:44:55 2023-04-24 02:44:55,322 [execute] INFO git cat-file --batch 02:44:55 2023-04-24 02:44:55,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:44:55 2023-04-24 02:44:55,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:44:55 2023-04-24 02:44:55,343 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 02:44:55 2023-04-24 02:44:55,344 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:44:55 2023-04-24 02:44:55,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:44:55 3.0.0-dev.23 [Pipeline] } 02:44:55 $ docker exec --env ******** --env ******** 0e838726af9e9a5e764c35d12c6a1755c7682054cfc456b4aa8bdb2ea4699bad ssh-agent -k 02:44:55 unset SSH_AUTH_SOCK; 02:44:55 unset SSH_AGENT_PID; 02:44:55 echo Agent pid 37 killed; 02:44:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:55 + git semver [Pipeline] } 02:44:56 $ docker stop --time=1 0e838726af9e9a5e764c35d12c6a1755c7682054cfc456b4aa8bdb2ea4699bad 02:44:57 $ docker rm -f --volumes 0e838726af9e9a5e764c35d12c6a1755c7682054cfc456b4aa8bdb2ea4699bad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:44:57 02:44:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:44:58 0.23.1-centos7: Pulling from edgex-lftools 02:44:58 ab5ef0e58194: Pulling fs layer 02:44:58 9712f1f96733: Pulling fs layer 02:44:58 63f879dbbcfc: Pulling fs layer 02:44:58 0d9ebad4ef96: Pulling fs layer 02:44:58 e9a5061849ea: Pulling fs layer 02:44:58 d747dcd14b5f: Pulling fs layer 02:44:58 2de7ff778b66: Pulling fs layer 02:44:58 0d9ebad4ef96: Waiting 02:44:58 e9a5061849ea: Waiting 02:44:58 d747dcd14b5f: Waiting 02:44:58 2de7ff778b66: Waiting 02:44:58 9712f1f96733: Verifying Checksum 02:44:58 9712f1f96733: Download complete 02:44:58 63f879dbbcfc: Verifying Checksum 02:44:58 63f879dbbcfc: Download complete 02:44:58 e9a5061849ea: Verifying Checksum 02:44:58 e9a5061849ea: Download complete 02:44:58 d747dcd14b5f: Verifying Checksum 02:44:58 d747dcd14b5f: Download complete 02:44:58 0d9ebad4ef96: Verifying Checksum 02:44:58 0d9ebad4ef96: Download complete 02:44:58 ab5ef0e58194: Download complete 02:44:59 2de7ff778b66: Verifying Checksum 02:44:59 2de7ff778b66: Download complete 02:45:01 ab5ef0e58194: Pull complete 02:45:01 9712f1f96733: Pull complete 02:45:02 63f879dbbcfc: Pull complete 02:45:05 0d9ebad4ef96: Pull complete 02:45:05 e9a5061849ea: Pull complete 02:45:05 d747dcd14b5f: Pull complete 02:45:06 2de7ff778b66: Pull complete 02:45:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:45:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:06 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:45:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:45:18 $ docker top 588ebc0c4c12e5e6af27a38211cadb25f645ffcafe8d9aa15ef18e3853c44afc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:45:18 provisioning config files... 02:45:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8377984415404978668tmp 02:45:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12200585145101701131tmp 02:45:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4252868010754672359tmp [Pipeline] { [Pipeline] echo 02:45:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:45:18 ---> sigul-configuration.sh 02:45:18 gpg: directory `/root/.gnupg' created 02:45:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:45:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:45:18 gpg: keyring `/root/.gnupg/secring.gpg' created 02:45:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:45:18 gpg: CAST5 encrypted data 02:45:18 gpg: encrypted with 1 passphrase 02:45:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:45:18 + mkdir /home/jenkins 02:45:18 + mkdir /home/jenkins/sigul [Pipeline] sh 02:45:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:45:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:45:19 ---> sigul-install.sh 02:45:19 Sigul already installed; skipping installation. [Pipeline] sh 02:45:19 + git tag --list 02:45:19 0.7.1 02:45:19 v1.0.0 02:45:19 v1.1.0 02:45:19 v1.1.1 02:45:19 v1.2.2 02:45:19 v1.3.0 02:45:19 v1.3.1 02:45:19 v2.0.0 02:45:19 v2.1.0 02:45:19 v2.1.1 02:45:19 v2.1.1-dev.1 02:45:19 v2.1.1-dev.2 02:45:19 v2.2.0 02:45:19 v2.2.1-dev.1 02:45:19 v2.2.1-dev.10 02:45:19 v2.2.1-dev.2 02:45:19 v2.2.1-dev.3 02:45:19 v2.2.1-dev.4 02:45:19 v2.2.1-dev.5 02:45:19 v2.2.1-dev.6 02:45:19 v2.2.1-dev.7 02:45:19 v2.2.1-dev.8 02:45:19 v2.2.1-dev.9 02:45:19 v2.3.0 02:45:19 v2.3.0-dev.10 02:45:19 v2.3.0-dev.11 02:45:19 v2.3.0-dev.12 02:45:19 v2.3.0-dev.13 02:45:19 v2.3.0-dev.14 02:45:19 v2.3.0-dev.15 02:45:19 v2.3.0-dev.16 02:45:19 v2.3.0-dev.17 02:45:19 v2.3.0-dev.18 02:45:19 v2.3.0-dev.19 02:45:19 v2.3.0-dev.20 02:45:19 v2.3.0-dev.21 02:45:19 v2.3.0-dev.22 02:45:19 v2.3.0-dev.23 02:45:19 v2.3.0-dev.24 02:45:19 v2.3.0-dev.25 02:45:19 v2.3.0-dev.26 02:45:19 v2.3.0-dev.27 02:45:19 v2.3.0-dev.28 02:45:19 v2.3.0-dev.29 02:45:19 v2.3.0-dev.30 02:45:19 v2.3.0-dev.31 02:45:19 v2.3.0-dev.32 02:45:19 v2.3.0-dev.33 02:45:19 v2.3.0-dev.34 02:45:19 v3.0.0-dev.1 02:45:19 v3.0.0-dev.10 02:45:19 v3.0.0-dev.11 02:45:19 v3.0.0-dev.12 02:45:19 v3.0.0-dev.13 02:45:19 v3.0.0-dev.14 02:45:19 v3.0.0-dev.15 02:45:19 v3.0.0-dev.16 02:45:19 v3.0.0-dev.17 02:45:19 v3.0.0-dev.18 02:45:19 v3.0.0-dev.19 02:45:19 v3.0.0-dev.2 02:45:19 v3.0.0-dev.20 02:45:19 v3.0.0-dev.21 02:45:19 v3.0.0-dev.22 02:45:19 v3.0.0-dev.23 02:45:19 v3.0.0-dev.3 02:45:19 v3.0.0-dev.4 02:45:19 v3.0.0-dev.5 02:45:19 v3.0.0-dev.6 02:45:19 v3.0.0-dev.7 02:45:19 v3.0.0-dev.8 02:45:19 v3.0.0-dev.9 [Pipeline] sh 02:45:20 + lftools sign git-tag v3.0.0-dev.23 02:45:20 Signing Git tag with Sigul... 02:45:20 Signing v3.0.0-dev.23 [Pipeline] echo 02:45:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:45:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:45:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:45:21 $ docker stop --time=1 588ebc0c4c12e5e6af27a38211cadb25f645ffcafe8d9aa15ef18e3853c44afc 02:45:22 $ docker rm -f --volumes 588ebc0c4c12e5e6af27a38211cadb25f645ffcafe8d9aa15ef18e3853c44afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:45:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:23 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:45:23 $ docker top 9ca2eda7db14446be6134dcaf1ee36c00db3551f61580d0ca9ea320534535bda -eo pid,comm 02:45:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:45:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:24 [ssh-agent] Looking for ssh-agent implementation... 02:45:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:24 $ docker exec 9ca2eda7db14446be6134dcaf1ee36c00db3551f61580d0ca9ea320534535bda ssh-agent 02:45:24 SSH_AUTH_SOCK=/tmp/ssh-l3qMkZzDlsXF/agent.32 02:45:24 SSH_AGENT_PID=37 02:45:24 Running ssh-add (command line suppressed) 02:45:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18001316878542389486.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18001316878542389486.key) 02:45:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:24 + git semver bump pre 02:45:24 2023-04-24 02:45:24,872 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:24 2023-04-24 02:45:24,872 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev 02:45:24 2023-04-24 02:45:24,873 [bump_version] DEBUG bumped version:3.0.0-dev.24 02:45:24 2023-04-24 02:45:24,873 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:45:24 2023-04-24 02:45:24,873 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:24 2023-04-24 02:45:24,873 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:24 2023-04-24 02:45:24,876 [execute] INFO git cat-file --batch-check 02:45:24 2023-04-24 02:45:24,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:45:24 2023-04-24 02:45:24,883 [execute] INFO git cat-file --batch 02:45:24 2023-04-24 02:45:24,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:45:24 2023-04-24 02:45:24,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:24 3.0.0-dev.24 [Pipeline] } 02:45:24 $ docker exec --env ******** --env ******** 9ca2eda7db14446be6134dcaf1ee36c00db3551f61580d0ca9ea320534535bda ssh-agent -k 02:45:25 unset SSH_AUTH_SOCK; 02:45:25 unset SSH_AGENT_PID; 02:45:25 echo Agent pid 37 killed; 02:45:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:25 + git semver [Pipeline] } 02:45:25 $ docker stop --time=1 9ca2eda7db14446be6134dcaf1ee36c00db3551f61580d0ca9ea320534535bda 02:45:27 $ docker rm -f --volumes 9ca2eda7db14446be6134dcaf1ee36c00db3551f61580d0ca9ea320534535bda [Pipeline] // withDockerContainer [Pipeline] sh 02:45:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:28 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:45:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:45:29 $ docker top 35ac995c2d1e151780d25d1696b1e9455e4830dec7089b79634912d321cf7a9f -eo pid,comm 02:45:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:45:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:29 [ssh-agent] Looking for ssh-agent implementation... 02:45:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:29 $ docker exec 35ac995c2d1e151780d25d1696b1e9455e4830dec7089b79634912d321cf7a9f ssh-agent 02:45:29 SSH_AUTH_SOCK=/tmp/ssh-SJ4FwUQMJrqT/agent.32 02:45:29 SSH_AGENT_PID=38 02:45:29 Running ssh-add (command line suppressed) 02:45:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5226635359102977285.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5226635359102977285.key) 02:45:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:30 + git semver push 02:45:30 2023-04-24 02:45:30,431 [run_push] DEBUG push 02:45:30 2023-04-24 02:45:30,432 [execute] INFO git cat-file --batch-check 02:45:30 2023-04-24 02:45:30,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:45:30 2023-04-24 02:45:30,436 [execute] INFO git rev-list 649d7f949529aff4fe88605aced6863560b23767 -- 02:45:30 2023-04-24 02:45:30,437 [execute] DEBUG Popen(['git', 'rev-list', '649d7f949529aff4fe88605aced6863560b23767', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:45:30 2023-04-24 02:45:30,445 [execute] INFO git fetch -v origin 02:45:30 2023-04-24 02:45:30,446 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:45:31 2023-04-24 02:45:30,921 [run_push] DEBUG no remote changes detected 02:45:31 2023-04-24 02:45:30,921 [execute] INFO git push origin semver 02:45:31 2023-04-24 02:45:30,922 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:45:32 2023-04-24 02:45:31,751 [run_push] DEBUG push all version tags 02:45:32 2023-04-24 02:45:31,751 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:45:32 2023-04-24 02:45:31,751 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:45:32 2023-04-24 02:45:32,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:45:32 3.0.0-dev.24 [Pipeline] } 02:45:32 $ docker exec --env ******** --env ******** 35ac995c2d1e151780d25d1696b1e9455e4830dec7089b79634912d321cf7a9f ssh-agent -k 02:45:32 unset SSH_AUTH_SOCK; 02:45:32 unset SSH_AGENT_PID; 02:45:32 echo Agent pid 38 killed; 02:45:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:33 + git semver [Pipeline] } 02:45:33 $ docker stop --time=1 35ac995c2d1e151780d25d1696b1e9455e4830dec7089b79634912d321cf7a9f 02:45:34 $ docker rm -f --volumes 35ac995c2d1e151780d25d1696b1e9455e4830dec7089b79634912d321cf7a9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:45:35 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:45:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:45:35 total 16 02:45:35 drwxr-xr-x 3 root root 4096 Apr 24 02:35 . 02:45:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 02:45 .. 02:45:35 drwxr-xr-x 2 root root 4096 Apr 24 02:35 cost 02:45:35 -rw-r--r-- 1 root root 86 Apr 24 02:35 cost.csv 02:45:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:45:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:45:35 total 16 02:45:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 02:35 . 02:45:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 02:45 .. 02:45:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 02:35 cost 02:45:35 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 02:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:45:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:45:36 ---> package-listing.sh 02:45:36 ++ facter osfamily 02:45:36 ++ tr '[:upper:]' '[:lower:]' 02:45:36 + OS_FAMILY=debian 02:45:36 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:45:36 + START_PACKAGES=/tmp/packages_start.txt 02:45:36 + END_PACKAGES=/tmp/packages_end.txt 02:45:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:45:36 + PACKAGES=/tmp/packages_start.txt 02:45:36 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:45:36 + PACKAGES=/tmp/packages_end.txt 02:45:36 + case "${OS_FAMILY}" in 02:45:36 + dpkg -l 02:45:36 + grep '^ii' 02:45:36 + '[' -f /tmp/packages_start.txt ']' 02:45:36 + '[' -f /tmp/packages_end.txt ']' 02:45:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:45:36 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:45:36 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:45:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:45:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:45:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:37 prd-ubuntu20.04-docker-8c-8g-9458 does not seem to be running inside a container 02:45:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:45:37 $ docker top 663af898a422e2e722d514dfcf92f53244dddcb9dbe7c2313f136c59dab33216 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:38 + touch /tmp/pre-build-complete [Pipeline] sh 02:45:38 + mkdir -p /var/log/sysstat [Pipeline] sh 02:45:38 + ls /var/log/sa-host 02:45:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:38 provisioning config files... 02:45:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8716056307364324632tmp [Pipeline] { [Pipeline] echo 02:45:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:45:39 ---> create-netrc.sh [Pipeline] } 02:45:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:45:39 ---> python-tools-install.sh [Pipeline] echo 02:45:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:45:39 ---> sudo-logs.sh 02:45:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:45:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:45:40 ---> job-cost.sh 02:45:40 lf-activate-venv: SKIPPING 02:45:40 DEBUG: total: 0.2199999988079071 02:45:40 INFO: Retrieving Stack Cost... 02:45:40 INFO: Retrieving Pricing Info for: v3-standard-8 02:45:41 INFO: Archiving Costs [Pipeline] echo 02:45:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:45:41 ---> logs-deploy.sh 02:45:41 lf-activate-venv: SKIPPING 02:45:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/107 02:45:41 INFO: archiving workspace using pattern(s): 02:45:42 Archives upload complete. 02:45:42 INFO: archiving logs to Nexus