Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 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-ssh12255067602603637433.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7595738951735607645.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11550430266896478099.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh15378103661227478490.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-ssh2395054044110457688.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1304 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 (main) Commit message: "Merge pull request #662 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" > 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 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 > git rev-list --no-walk 231c33ae3d29d9c6125d3970eea5d57d0e38cccf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:47:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:47:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:47:25 ========================================================= 01:47:25 EdgeX Global Pipelines Version Info 01:47:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:47:25 ------------------- 01:47:25 stable info: 01:47:25 ------------------- 01:47:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:47:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:47:25 Message: update stable to v1.0.258 01:47:26 ------------------- 01:47:26 experimental info: 01:47:26 ------------------- 01:47:26 Commited By: **** collab-it+edgex@linuxfoundation.org 01:47:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:47:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:47:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2c2416 [Pipeline] echo 01:47:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:27 provisioning config files... 01:47:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11655756904660869864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:27 ---> ****-login.sh 01:47:27 nexus3.edgexfoundry.org:10001 01:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:28 Configure a credential helper to remove this warning. See 01:47:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:28 01:47:28 Login Succeeded 01:47:28 nexus3.edgexfoundry.org:10002 01:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:28 Configure a credential helper to remove this warning. See 01:47:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:28 01:47:28 Login Succeeded 01:47:28 nexus3.edgexfoundry.org:10003 01:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:28 Configure a credential helper to remove this warning. See 01:47:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:28 01:47:28 Login Succeeded 01:47:28 nexus3.edgexfoundry.org:10004 01:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:28 Configure a credential helper to remove this warning. See 01:47:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:28 01:47:28 Login Succeeded 01:47:28 ****.io 01:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:28 Configure a credential helper to remove this warning. See 01:47:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:28 01:47:28 Login Succeeded 01:47:28 ---> ****-login.sh ends [Pipeline] } 01:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:47:30 + git rev-list -1 --merges f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03~1..f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] echo 01:47:30 -----------> git rev-list -1 --merges f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03~1..f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:47:30 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [false] [Pipeline] sh 01:47:30 + git log --format=format:%s -1 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] echo 01:47:30 ========================================================= 01:47:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:47:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:30 + git log --format=format:%s -1 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] echo 01:47:30 [semverPrep] GIT_COMMIT: f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03, Commit Message: Merge pull request #662 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9 [Pipeline] echo 01:47:30 [semverPrep] This is not a build commit. [Pipeline] sh 01:47:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:31 + grep -v github /etc/ssh/ssh_known_hosts 01:47:31 + [ -e /tmp/ssh_known_hosts ] 01:47:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:47:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:47:31 + sudo tee -a /etc/ssh/ssh_known_hosts 01:47:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:31 01:47:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:31 0.1.4: Pulling from edgex-devops/py-git-semver 01:47:31 b85a868b505f: Pulling fs layer 01:47:31 e2be974225ed: Pulling fs layer 01:47:31 339a4e72a1f5: Pulling fs layer 01:47:31 988bab9f4d93: Pulling fs layer 01:47:31 1469e6f7b9e6: Pulling fs layer 01:47:31 eaf3925da568: Pulling fs layer 01:47:31 bab4dde63d76: Pulling fs layer 01:47:31 bde34c3a00c8: Pulling fs layer 01:47:31 b352a97aabf1: Pulling fs layer 01:47:31 4872d77fe225: Pulling fs layer 01:47:31 5851b861e8e6: Pulling fs layer 01:47:31 1469e6f7b9e6: Waiting 01:47:31 4872d77fe225: Waiting 01:47:31 5851b861e8e6: Waiting 01:47:31 b352a97aabf1: Waiting 01:47:31 988bab9f4d93: Waiting 01:47:31 eaf3925da568: Waiting 01:47:31 bab4dde63d76: Waiting 01:47:31 e2be974225ed: Verifying Checksum 01:47:31 e2be974225ed: Download complete 01:47:31 988bab9f4d93: Verifying Checksum 01:47:31 988bab9f4d93: Download complete 01:47:31 1469e6f7b9e6: Verifying Checksum 01:47:31 1469e6f7b9e6: Download complete 01:47:31 339a4e72a1f5: Verifying Checksum 01:47:31 339a4e72a1f5: Download complete 01:47:31 eaf3925da568: Download complete 01:47:32 bde34c3a00c8: Download complete 01:47:32 b352a97aabf1: Verifying Checksum 01:47:32 4872d77fe225: Download complete 01:47:32 5851b861e8e6: Download complete 01:47:32 b85a868b505f: Verifying Checksum 01:47:32 b85a868b505f: Download complete 01:47:32 bab4dde63d76: Verifying Checksum 01:47:32 bab4dde63d76: Download complete 01:47:33 b85a868b505f: Pull complete 01:47:33 e2be974225ed: Pull complete 01:47:34 339a4e72a1f5: Pull complete 01:47:34 988bab9f4d93: Pull complete 01:47:34 1469e6f7b9e6: Pull complete 01:47:34 eaf3925da568: Pull complete 01:47:36 bab4dde63d76: Pull complete 01:47:36 bde34c3a00c8: Pull complete 01:47:36 b352a97aabf1: Pull complete 01:47:36 4872d77fe225: Pull complete 01:47:36 5851b861e8e6: Pull complete 01:47:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:47:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:36 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 01:47:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:39 $ docker top d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 -eo pid,comm 01:47:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:47:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:39 [ssh-agent] Looking for ssh-agent implementation... 01:47:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:40 $ docker exec d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 ssh-agent 01:47:40 SSH_AUTH_SOCK=/tmp/ssh-o2IMjiGySGMT/agent.31 01:47:40 SSH_AGENT_PID=37 01:47:40 Running ssh-add (command line suppressed) 01:47:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5182023332615427322.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5182023332615427322.key) 01:47:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:40 + git tag --points-at HEAD [Pipeline] } 01:47:40 $ docker exec --env ******** --env ******** d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 ssh-agent -k 01:47:40 unset SSH_AUTH_SOCK; 01:47:40 unset SSH_AGENT_PID; 01:47:40 echo Agent pid 37 killed; 01:47:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:47:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:40 [ssh-agent] Looking for ssh-agent implementation... 01:47:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:40 $ docker exec d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 ssh-agent 01:47:41 SSH_AUTH_SOCK=/tmp/ssh-avtPDX2fyOzS/agent.69 01:47:41 SSH_AGENT_PID=75 01:47:41 Running ssh-add (command line suppressed) 01:47:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1503527271659039201.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1503527271659039201.key) 01:47:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:41 + git semver init 01:47:41 2024-02-20 01:47:41,694 [run_init] DEBUG init version:0.0.0 force:False 01:47:41 2024-02-20 01:47:41,695 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:47:41 2024-02-20 01:47:41,696 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:47:41 2024-02-20 01:47:41,696 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:47:42 2024-02-20 01:47:42,686 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:47:42 2024-02-20 01:47:42,686 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:47:42 2024-02-20 01:47:42,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:47:42 2024-02-20 01:47:42,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:47:42 3.2.0-dev.8 [Pipeline] } 01:47:42 $ docker exec --env ******** --env ******** d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 ssh-agent -k 01:47:42 unset SSH_AUTH_SOCK; 01:47:42 unset SSH_AGENT_PID; 01:47:42 echo Agent pid 75 killed; 01:47:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:43 + git semver [Pipeline] } 01:47:43 $ docker stop --time=1 d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 01:47:44 $ docker rm -f --volumes d66c25dea87564b7afe9939608149c2e8f74de1441f005543cb417b80df799c1 [Pipeline] // withDockerContainer [Pipeline] sh 01:47:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:47:45 Stashed 1 file(s) [Pipeline] echo 01:47:45 [edgeXSemver]: initialized semver on version 3.2.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:45 provisioning config files... 01:47:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10628969189135944231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:46 ---> ****-login.sh 01:47:46 nexus3.edgexfoundry.org:10001 01:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:46 Configure a credential helper to remove this warning. See 01:47:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:46 01:47:46 Login Succeeded 01:47:46 nexus3.edgexfoundry.org:10002 01:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:46 Configure a credential helper to remove this warning. See 01:47:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:46 01:47:46 Login Succeeded 01:47:46 nexus3.edgexfoundry.org:10003 01:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:46 Configure a credential helper to remove this warning. See 01:47:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:46 01:47:46 Login Succeeded 01:47:46 nexus3.edgexfoundry.org:10004 01:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:46 Configure a credential helper to remove this warning. See 01:47:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:46 01:47:46 Login Succeeded 01:47:46 ****.io 01:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:46 Configure a credential helper to remove this warning. See 01:47:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:46 01:47:46 Login Succeeded 01:47:46 ---> ****-login.sh ends [Pipeline] } 01:47:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:47:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:47:46 ========================================================= 01:47:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:47:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:47:47 Sending build context to Docker daemon 14.89MB 01:47:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:47:47 Step 2/12 : FROM ${BASE} AS builder 01:47:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:47:47 7264a8db6415: Pulling fs layer 01:47:47 c4d48a809fc2: Pulling fs layer 01:47:47 4f1c88b9dad5: Pulling fs layer 01:47:47 ad3a456e5733: Pulling fs layer 01:47:47 69c7f0334f64: Pulling fs layer 01:47:47 1f1c1a5573a3: Pulling fs layer 01:47:47 ce7588e14bc9: Pulling fs layer 01:47:47 b5e4710f87ac: Pulling fs layer 01:47:47 69c7f0334f64: Waiting 01:47:47 1f1c1a5573a3: Waiting 01:47:47 ce7588e14bc9: Waiting 01:47:47 ad3a456e5733: Waiting 01:47:47 b5e4710f87ac: Waiting 01:47:47 c4d48a809fc2: Verifying Checksum 01:47:47 c4d48a809fc2: Download complete 01:47:47 ad3a456e5733: Verifying Checksum 01:47:47 ad3a456e5733: Download complete 01:47:47 69c7f0334f64: Download complete 01:47:47 7264a8db6415: Verifying Checksum 01:47:47 7264a8db6415: Download complete 01:47:47 1f1c1a5573a3: Verifying Checksum 01:47:47 1f1c1a5573a3: Download complete 01:47:47 7264a8db6415: Pull complete 01:47:47 b5e4710f87ac: Verifying Checksum 01:47:47 b5e4710f87ac: Download complete 01:47:47 c4d48a809fc2: Pull complete 01:47:47 4f1c88b9dad5: Verifying Checksum 01:47:47 4f1c88b9dad5: Download complete 01:47:48 ce7588e14bc9: Verifying Checksum 01:47:48 ce7588e14bc9: Download complete 01:47:51 4f1c88b9dad5: Pull complete 01:47:51 ad3a456e5733: Pull complete 01:47:51 69c7f0334f64: Pull complete 01:47:51 1f1c1a5573a3: Pull complete 01:47:54 ce7588e14bc9: Pull complete 01:47:54 b5e4710f87ac: Pull complete 01:47:54 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:47:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:47:54 ---> 88b5674ff536 01:47:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:47:59 ---> Running in 9a28551eb69e 01:47:59 Removing intermediate container 9a28551eb69e 01:47:59 ---> e77c8924cd22 01:47:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:47:59 ---> Running in d40e41a0fa7d 01:47:59 Removing intermediate container d40e41a0fa7d 01:47:59 ---> 3dd3280962e0 01:47:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:47:59 ---> Running in e6b5f8abf0dc 01:47:59 Removing intermediate container e6b5f8abf0dc 01:47:59 ---> 14f2890af35a 01:47:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:47:59 ---> Running in 86e94545d6b3 01:47:59 Removing intermediate container 86e94545d6b3 01:47:59 ---> e26c7f46fb7e 01:47:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:59 ---> Running in c5c857bcaa31 01:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:00 Still waiting to schedule task 01:48:00 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1300’ 01:48:00 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:48:00 (2/4) Installing libedit (20221030.3.1-r1) 01:48:00 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:48:00 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:48:00 Executing busybox-1.36.1-r5.trigger 01:48:00 OK: 268 MiB in 56 packages 01:48:01 Removing intermediate container c5c857bcaa31 01:48:01 ---> 2411820e3c8b 01:48:01 Step 8/12 : WORKDIR /device-mqtt-go 01:48:01 ---> Running in dc95cb998ab6 01:48:01 Removing intermediate container dc95cb998ab6 01:48:01 ---> 6516320d2888 01:48:01 Step 9/12 : COPY go.mod vendor* ./ 01:48:01 ---> ce737a2e5f9d 01:48:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:01 ---> Running in 335ee2aa877d 01:48:28 Removing intermediate container 335ee2aa877d 01:48:28 ---> caca695917ca 01:48:28 Step 11/12 : COPY . . 01:48:28 ---> 4576208a2403 01:48:28 Step 12/12 : RUN $MAKE 01:48:28 ---> Running in 8bda3f53189c 01:48:29 noop 01:48:29 Removing intermediate container 8bda3f53189c 01:48:29 ---> 85baf8823beb 01:48:29 Successfully built 85baf8823beb 01:48:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:29 + docker inspect -f . ci-base-image-x86_64 01:48:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:29 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 01:48:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:30 $ docker top 78e8681e628eca178bf6057057dafdffbbf01dbd59869f73b26e2661448ed8b2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:30 + go version 01:48:30 go version go1.21.0 linux/amd64 [Pipeline] } 01:48:30 $ docker stop --time=1 78e8681e628eca178bf6057057dafdffbbf01dbd59869f73b26e2661448ed8b2 01:48:31 $ docker rm -f --volumes 78e8681e628eca178bf6057057dafdffbbf01dbd59869f73b26e2661448ed8b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:32 + docker inspect -f . ci-base-image-x86_64 01:48:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:32 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 01:48:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:33 $ docker top 4bd90ec788fae182a4a1c9ad5cc60c1ee130285db015ca2749bd2ec02619062c -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:48:33 + make test 01:48:33 go test ./... -coverprofile=coverage.out ./... 01:48:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:48:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:48:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:48:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 01:48:54 go vet ./... 01:48:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:56 ./bin/test-attribution-txt.sh 01:48:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:48:56 $ docker stop --time=1 4bd90ec788fae182a4a1c9ad5cc60c1ee130285db015ca2749bd2ec02619062c 01:49:00 $ docker rm -f --volumes 4bd90ec788fae182a4a1c9ad5cc60c1ee130285db015ca2749bd2ec02619062c [Pipeline] // withDockerContainer [Pipeline] sh 01:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:02 + ls -al . 01:49:02 total 184 01:49:02 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 01:48 . 01:49:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 01:47 .. 01:49:02 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 01:47 .dockerignore 01:49:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 01:48 .git 01:49:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:47 .github 01:49:02 -rw-rw-r-- 1 jenkins jenkins 264 Feb 20 01:47 .gitignore 01:49:02 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 01:47 .golangci.yml 01:49:02 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 01:47 .semver 01:49:02 -rw-rw-r-- 1 jenkins jenkins 10386 Feb 20 01:47 Attribution.txt 01:49:02 -rw-rw-r-- 1 jenkins jenkins 18574 Feb 20 01:47 CHANGELOG.md 01:49:02 -rw-rw-r-- 1 jenkins jenkins 1798 Feb 20 01:47 Dockerfile 01:49:02 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 01:47 GOVERNANCE.md 01:49:02 -rw-rw-r-- 1 jenkins jenkins 657 Feb 20 01:47 Jenkinsfile 01:49:02 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 01:47 LICENSE 01:49:02 -rw-rw-r-- 1 jenkins jenkins 1963 Feb 20 01:47 Makefile 01:49:02 -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 01:47 OWNERS.md 01:49:02 -rw-rw-r-- 1 jenkins jenkins 3599 Feb 20 01:47 README.md 01:49:02 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 01:47 VERSION 01:49:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 01:47 bin 01:49:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:47 cmd 01:49:02 -rw-r--r-- 1 jenkins jenkins 18506 Feb 20 01:48 coverage.out 01:49:02 -rw-rw-r-- 1 jenkins jenkins 3866 Feb 20 01:47 go.mod 01:49:02 -rw-rw-r-- 1 jenkins jenkins 34334 Feb 20 01:47 go.sum 01:49:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:47 internal 01:49:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 01:47 mock 01:49:02 -rw-rw-r-- 1 jenkins jenkins 227 Feb 20 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:02 + 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=f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 --label arch=amd64 --label version=3.2.0-dev.8 . 01:49:02 Sending build context to Docker daemon 14.91MB 01:49:02 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:49:02 Step 2/25 : FROM ${BASE} AS builder 01:49:02 ---> 85baf8823beb 01:49:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:49:03 ---> Running in 4d8f894b78a7 01:49:03 Removing intermediate container 4d8f894b78a7 01:49:03 ---> cead0d9064fe 01:49:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:03 ---> Running in c3173f6255b0 01:49:03 Removing intermediate container c3173f6255b0 01:49:03 ---> 85b7ac2df2c5 01:49:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:49:03 ---> Running in 49be81c07da9 01:49:03 Removing intermediate container 49be81c07da9 01:49:03 ---> fc44f212fc79 01:49:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:49:03 ---> Running in 3a1d3b4b308c 01:49:03 Removing intermediate container 3a1d3b4b308c 01:49:03 ---> 63d197c3c45c 01:49:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:03 ---> Running in 2a2550a45a02 01:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:49:04 OK: 268 MiB in 56 packages 01:49:04 Removing intermediate container 2a2550a45a02 01:49:04 ---> 68b453d3e13a 01:49:04 Step 8/25 : WORKDIR /device-mqtt-go 01:49:04 ---> Running in fb7b8ba2c8d4 01:49:04 Removing intermediate container fb7b8ba2c8d4 01:49:04 ---> 32046a684d59 01:49:04 Step 9/25 : COPY go.mod vendor* ./ 01:49:04 ---> 038f8dd52b5f 01:49:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:04 ---> Running in e69692b4dc5f 01:49:05 Removing intermediate container e69692b4dc5f 01:49:05 ---> 503e7d766e91 01:49:05 Step 11/25 : COPY . . 01:49:05 ---> 6294d8079def 01:49:05 Step 12/25 : RUN $MAKE 01:49:05 ---> Running in b17474f79caf 01:49:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:49:33 Removing intermediate container b17474f79caf 01:49:33 ---> fe0ec5be4370 01:49:33 Step 13/25 : FROM alpine:3.18 01:49:33 3.18: Pulling from library/alpine 01:49:33 619be1103602: Pulling fs layer 01:49:33 619be1103602: Download complete 01:49:33 619be1103602: Pull complete 01:49:33 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:49:33 Status: Downloaded newer image for alpine:3.18 01:49:33 ---> d3782b16ccc9 01:49:33 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:49:33 ---> Running in 4098aa1acf76 01:49:33 Removing intermediate container 4098aa1acf76 01:49:33 ---> b2015865969e 01:49:33 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:49:33 ---> Running in 7cd8c613291d 01:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:49:33 (1/1) Installing dumb-init (1.2.5-r2) 01:49:33 Executing busybox-1.36.1-r5.trigger 01:49:33 OK: 7 MiB in 16 packages 01:49:33 Removing intermediate container 7cd8c613291d 01:49:33 ---> 192fd8f24fd7 01:49:33 Step 16/25 : RUN apk --no-cache upgrade 01:49:33 ---> Running in 2b39c5a521a6 01:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:49:33 OK: 7 MiB in 16 packages 01:49:33 Removing intermediate container 2b39c5a521a6 01:49:33 ---> 06f570392df5 01:49:33 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:49:33 ---> c99f00949118 01:49:33 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:49:33 ---> edc08afa7682 01:49:33 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:49:33 ---> 0396ebb08145 01:49:33 Step 20/25 : EXPOSE 59982 01:49:33 ---> Running in 3e25f1fb6759 01:49:33 Removing intermediate container 3e25f1fb6759 01:49:33 ---> 3e86365f1a76 01:49:33 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:49:33 ---> Running in 8ce6723c7463 01:49:33 Removing intermediate container 8ce6723c7463 01:49:33 ---> ca566e873a19 01:49:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:49:33 ---> Running in a8b6a81025a3 01:49:34 Removing intermediate container a8b6a81025a3 01:49:34 ---> 9701119fc2cc 01:49:34 Step 23/25 : LABEL arch=amd64 01:49:34 ---> Running in 2e6bb1280d83 01:49:34 Removing intermediate container 2e6bb1280d83 01:49:34 ---> cb77b811ba5a 01:49:34 Step 24/25 : LABEL git_sha=f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:49:34 ---> Running in 379d491e85b4 01:49:34 Removing intermediate container 379d491e85b4 01:49:34 ---> 4014d5f05762 01:49:34 Step 25/25 : LABEL version=3.2.0-dev.8 01:49:34 ---> Running in 67444108b49e 01:49:34 Removing intermediate container 67444108b49e 01:49:34 ---> 8cade9d8f5bb 01:49:34 [Warning] One or more build-args [ARCH] were not consumed 01:49:34 Successfully built 8cade9d8f5bb 01:49:34 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:34 provisioning config files... 01:49:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11354579130533557870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:35 ---> ****-login.sh 01:49:35 nexus3.edgexfoundry.org:10001 01:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:49:35 Configure a credential helper to remove this warning. See 01:49:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:49:35 01:49:35 Login Succeeded 01:49:35 nexus3.edgexfoundry.org:10002 01:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:49:35 Configure a credential helper to remove this warning. See 01:49:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:49:35 01:49:35 Login Succeeded 01:49:35 nexus3.edgexfoundry.org:10003 01:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:49:35 Configure a credential helper to remove this warning. See 01:49:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:49:35 01:49:35 Login Succeeded 01:49:35 nexus3.edgexfoundry.org:10004 01:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:49:35 Configure a credential helper to remove this warning. See 01:49:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:49:35 01:49:35 Login Succeeded 01:49:35 ****.io 01:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:49:35 Configure a credential helper to remove this warning. See 01:49:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:49:35 01:49:35 Login Succeeded 01:49:35 ---> ****-login.sh ends [Pipeline] } 01:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:49:35 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:49:35 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:49:35 latest 01:49:35 3.2.0-dev.8 01:49:35 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 01:49:35 main 01:49:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:49:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:49:36 37ad44f58770: Preparing 01:49:36 bf3ce1ae82c4: Preparing 01:49:36 866ee96e2ae9: Preparing 01:49:36 a6cdd7f0a7c7: Preparing 01:49:36 8f041fc515a4: Preparing 01:49:36 aedc3bda2944: Preparing 01:49:36 aedc3bda2944: Waiting 01:49:36 37ad44f58770: Pushed 01:49:36 8f041fc515a4: Pushed 01:49:36 aedc3bda2944: Layer already exists 01:49:36 bf3ce1ae82c4: Pushed 01:49:36 a6cdd7f0a7c7: Pushed 01:49:39 866ee96e2ae9: Pushed 01:49:39 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03: digest: sha256:bd242118f3514523ccf39458ffc7572490bc0f06ca17fc58ab922e85abfb4e40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:49:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:49:40 37ad44f58770: Preparing 01:49:40 bf3ce1ae82c4: Preparing 01:49:40 866ee96e2ae9: Preparing 01:49:40 a6cdd7f0a7c7: Preparing 01:49:40 8f041fc515a4: Preparing 01:49:40 aedc3bda2944: Preparing 01:49:40 aedc3bda2944: Waiting 01:49:40 8f041fc515a4: Layer already exists 01:49:40 37ad44f58770: Layer already exists 01:49:40 866ee96e2ae9: Layer already exists 01:49:40 bf3ce1ae82c4: Layer already exists 01:49:40 a6cdd7f0a7c7: Layer already exists 01:49:40 aedc3bda2944: Layer already exists 01:49:40 latest: digest: sha256:bd242118f3514523ccf39458ffc7572490bc0f06ca17fc58ab922e85abfb4e40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.8 01:49:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:49:41 37ad44f58770: Preparing 01:49:41 bf3ce1ae82c4: Preparing 01:49:41 866ee96e2ae9: Preparing 01:49:41 a6cdd7f0a7c7: Preparing 01:49:41 8f041fc515a4: Preparing 01:49:41 aedc3bda2944: Preparing 01:49:41 aedc3bda2944: Waiting 01:49:41 866ee96e2ae9: Layer already exists 01:49:41 bf3ce1ae82c4: Layer already exists 01:49:41 a6cdd7f0a7c7: Layer already exists 01:49:41 8f041fc515a4: Layer already exists 01:49:41 37ad44f58770: Layer already exists 01:49:41 aedc3bda2944: Layer already exists 01:49:41 3.2.0-dev.8: digest: sha256:bd242118f3514523ccf39458ffc7572490bc0f06ca17fc58ab922e85abfb4e40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 01:49:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:49:42 37ad44f58770: Preparing 01:49:42 bf3ce1ae82c4: Preparing 01:49:42 866ee96e2ae9: Preparing 01:49:42 a6cdd7f0a7c7: Preparing 01:49:42 8f041fc515a4: Preparing 01:49:42 aedc3bda2944: Preparing 01:49:42 8f041fc515a4: Layer already exists 01:49:42 37ad44f58770: Layer already exists 01:49:42 866ee96e2ae9: Layer already exists 01:49:42 a6cdd7f0a7c7: Layer already exists 01:49:42 bf3ce1ae82c4: Layer already exists 01:49:42 aedc3bda2944: Layer already exists 01:49:42 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8: digest: sha256:bd242118f3514523ccf39458ffc7572490bc0f06ca17fc58ab922e85abfb4e40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:49:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:49:43 37ad44f58770: Preparing 01:49:43 bf3ce1ae82c4: Preparing 01:49:43 866ee96e2ae9: Preparing 01:49:43 a6cdd7f0a7c7: Preparing 01:49:43 8f041fc515a4: Preparing 01:49:43 aedc3bda2944: Preparing 01:49:43 866ee96e2ae9: Layer already exists 01:49:43 a6cdd7f0a7c7: Layer already exists 01:49:43 8f041fc515a4: Layer already exists 01:49:43 37ad44f58770: Layer already exists 01:49:43 bf3ce1ae82c4: Layer already exists 01:49:43 aedc3bda2944: Layer already exists 01:49:43 main: digest: sha256:bd242118f3514523ccf39458ffc7572490bc0f06ca17fc58ab922e85abfb4e40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:43 ===================================================== [Pipeline] echo 01:49:43 taggedImages: 01:49:43 - nexus3.edgexfoundry.org:10004/device-mqtt:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:49:43 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:49:43 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.8 01:49:43 - nexus3.edgexfoundry.org:10004/device-mqtt:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 01:49:43 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:44 01:49:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:44 latest: Pulling from edgex-lftools-log-publisher 01:49:44 5eb5b503b376: Pulling fs layer 01:49:44 5c69ac0246d0: Pulling fs layer 01:49:44 ec43610c2a17: Pulling fs layer 01:49:44 3a2ae6a8a46f: Pulling fs layer 01:49:44 33b1e0a273af: Pulling fs layer 01:49:44 5d3b04190fa2: Pulling fs layer 01:49:44 2f39f015ded8: Pulling fs layer 01:49:44 3a2ae6a8a46f: Waiting 01:49:44 33b1e0a273af: Waiting 01:49:44 5d3b04190fa2: Waiting 01:49:44 2f39f015ded8: Waiting 01:49:44 5c69ac0246d0: Verifying Checksum 01:49:44 5c69ac0246d0: Download complete 01:49:44 3a2ae6a8a46f: Verifying Checksum 01:49:44 3a2ae6a8a46f: Download complete 01:49:44 33b1e0a273af: Verifying Checksum 01:49:44 33b1e0a273af: Download complete 01:49:44 ec43610c2a17: Verifying Checksum 01:49:44 ec43610c2a17: Download complete 01:49:44 5eb5b503b376: Verifying Checksum 01:49:44 5eb5b503b376: Download complete 01:49:45 2f39f015ded8: Download complete 01:49:45 5eb5b503b376: Pull complete 01:49:45 5c69ac0246d0: Pull complete 01:49:46 ec43610c2a17: Pull complete 01:49:46 3a2ae6a8a46f: Pull complete 01:49:46 33b1e0a273af: Pull complete 01:49:46 5d3b04190fa2: Pull complete 01:49:50 2f39f015ded8: Pull complete 01:49:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:49:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:51 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 01:49:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:49:55 $ docker top 7d76af9ce5a58aff18b87b89b531db8c48156940a6996287a5eca239283ea1fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:56 ---> job-cost.sh 01:49:56 lf-activate-venv: SKIPPING 01:49:56 INFO: No Stack... 01:49:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:49:56 INFO: Archiving Costs [Pipeline] sh 01:49:57 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:49:57 + cut -d, -f6 [Pipeline] lock 01:49:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] 01:49:57 Resource [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] did not exist. Created. 01:49:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:57 + echo total: 0.2199999988079071 [Pipeline] stash 01:49:57 Stashed 1 file(s) [Pipeline] } 01:49:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 01:49:57 $ docker stop --time=1 7d76af9ce5a58aff18b87b89b531db8c48156940a6996287a5eca239283ea1fa 01:49:58 $ docker rm -f --volumes 7d76af9ce5a58aff18b87b89b531db8c48156940a6996287a5eca239283ea1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:51:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1306 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:51:09 Running in /w/workspace/device-mqtt-go/161 [Pipeline] { [Pipeline] checkout 01:51:12 The recommended git tool is: git 01:51:18 using credential edgex-jenkins-ssh 01:51:18 Cloning the remote Git repository 01:51:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:51:18 > git init /w/workspace/device-mqtt-go/161 # timeout=10 01:51:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:51:18 > git --version # timeout=10 01:51:18 > git --version # 'git version 2.25.1' 01:51:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:23 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:51:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:24 Avoid second fetch 01:51:24 Checking out Revision f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 (main) 01:51:25 Commit message: "Merge pull request #662 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" 01:51:24 > git config core.sparsecheckout # timeout=10 01:51:24 > git checkout -f f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:51:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:51:26 Dload Upload Total Spent Left Speed 01:51:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 01:51:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:51:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:51:27 + sudo tee /etc/docker/daemon.new 01:51:27 { 01:51:27 "registry-mirrors": [ 01:51:27 "https://nexus3.edgexfoundry.org:10001" 01:51:27 ], 01:51:27 "bip": "10.250.0.254/24", 01:51:27 "hosts": [ 01:51:27 "tcp://0.0.0.0:5555", 01:51:27 "unix:///var/run/docker.sock" 01:51:27 ], 01:51:27 "mtu": 1458, 01:51:27 "selinux-enabled": true, 01:51:27 "seccomp-profile": "/etc/docker/seccomp.json" 01:51:27 } [Pipeline] sh 01:51:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:51:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:46 provisioning config files... 01:51:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/161@tmp/config13906404996889689701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:46 ---> ****-login.sh 01:51:46 nexus3.edgexfoundry.org:10001 01:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:47 Configure a credential helper to remove this warning. See 01:51:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:47 01:51:47 Login Succeeded 01:51:47 nexus3.edgexfoundry.org:10002 01:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:47 Configure a credential helper to remove this warning. See 01:51:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:47 01:51:47 Login Succeeded 01:51:47 nexus3.edgexfoundry.org:10003 01:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:48 Configure a credential helper to remove this warning. See 01:51:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:48 01:51:48 Login Succeeded 01:51:48 nexus3.edgexfoundry.org:10004 01:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:48 Configure a credential helper to remove this warning. See 01:51:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:48 01:51:48 Login Succeeded 01:51:48 ****.io 01:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:49 Configure a credential helper to remove this warning. See 01:51:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:49 01:51:49 Login Succeeded 01:51:49 ---> ****-login.sh ends [Pipeline] } 01:51:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:51:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:51:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:51:49 ========================================================= 01:51:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:51:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:51:50 Sending build context to Docker daemon 7.545MB 01:51:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:51:50 Step 2/12 : FROM ${BASE} AS builder 01:51:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:51:51 9fda8d8052c6: Pulling fs layer 01:51:51 5d54e960e981: Pulling fs layer 01:51:51 c4a7e357bf2a: Pulling fs layer 01:51:51 f0e02332f6b5: Pulling fs layer 01:51:51 872ee5b61b7b: Pulling fs layer 01:51:51 0c6a40ed1a82: Pulling fs layer 01:51:51 94ae7d8d031c: Pulling fs layer 01:51:51 872ee5b61b7b: Waiting 01:51:51 94ae7d8d031c: Waiting 01:51:51 f0e02332f6b5: Waiting 01:51:51 0c6a40ed1a82: Waiting 01:51:51 5d54e960e981: Verifying Checksum 01:51:51 5d54e960e981: Download complete 01:51:51 f0e02332f6b5: Verifying Checksum 01:51:51 f0e02332f6b5: Download complete 01:51:51 872ee5b61b7b: Verifying Checksum 01:51:51 872ee5b61b7b: Download complete 01:51:51 9fda8d8052c6: Verifying Checksum 01:51:51 9fda8d8052c6: Download complete 01:51:51 94ae7d8d031c: Verifying Checksum 01:51:51 94ae7d8d031c: Download complete 01:51:53 c4a7e357bf2a: Verifying Checksum 01:51:53 c4a7e357bf2a: Download complete 01:51:54 0c6a40ed1a82: Verifying Checksum 01:51:54 0c6a40ed1a82: Download complete 01:51:54 9fda8d8052c6: Pull complete 01:51:54 5d54e960e981: Pull complete 01:52:09 c4a7e357bf2a: Pull complete 01:52:09 f0e02332f6b5: Pull complete 01:52:09 872ee5b61b7b: Pull complete 01:52:18 0c6a40ed1a82: Pull complete 01:52:20 94ae7d8d031c: Pull complete 01:52:20 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:52:20 ---> 86de565de09d 01:52:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:52:22 ---> Running in 72e2ebc88f5a 01:52:22 Removing intermediate container 72e2ebc88f5a 01:52:22 ---> af979db10352 01:52:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:52:22 ---> Running in 2dfb73ac4827 01:52:22 Removing intermediate container 2dfb73ac4827 01:52:22 ---> 961725b24810 01:52:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:52:22 ---> Running in 88576b3498db 01:52:23 Removing intermediate container 88576b3498db 01:52:23 ---> 65fb80ab6a9c 01:52:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:52:23 ---> Running in 72770bcd7f85 01:52:23 Removing intermediate container 72770bcd7f85 01:52:23 ---> 79a4b1e065da 01:52:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:23 ---> Running in af06e780f145 01:52:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:52:26 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:52:26 (2/4) Installing libedit (20221030.3.1-r1) 01:52:26 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:52:26 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:52:26 Executing busybox-1.36.1-r5.trigger 01:52:26 OK: 271 MiB in 56 packages 01:52:27 Removing intermediate container af06e780f145 01:52:27 ---> f04716b11673 01:52:27 Step 8/12 : WORKDIR /device-mqtt-go 01:52:27 ---> Running in 03810a22b91d 01:52:28 Removing intermediate container 03810a22b91d 01:52:28 ---> ded2aa568e5b 01:52:28 Step 9/12 : COPY go.mod vendor* ./ 01:52:28 ---> 243496ec58f6 01:52:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:28 ---> Running in d23296d84741 01:53:36 Removing intermediate container d23296d84741 01:53:36 ---> be16f0244040 01:53:36 Step 11/12 : COPY . . 01:53:36 ---> 16222dcc38a2 01:53:36 Step 12/12 : RUN $MAKE 01:53:36 ---> Running in fde0a93ee409 01:53:36 noop 01:53:36 Removing intermediate container fde0a93ee409 01:53:36 ---> 137100afb018 01:53:36 Successfully built 137100afb018 01:53:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:37 + docker inspect -f . ci-base-image-arm64 01:53:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:37 prd-ubuntu20.04-docker-arm64-4c-16g-1306 does not seem to be running inside a container 01:53:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/161 -v /w/workspace/device-mqtt-go/161:/w/workspace/device-mqtt-go/161:rw,z -v /w/workspace/device-mqtt-go/161@tmp:/w/workspace/device-mqtt-go/161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:53:38 $ docker top 0a7d6bda0e6850704ed19fdccd3a7c918b5cd89352ed31d3d0e74fadb792ad14 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:39 + go version 01:53:39 go version go1.21.0 linux/arm64 [Pipeline] } 01:53:39 $ docker stop --time=1 0a7d6bda0e6850704ed19fdccd3a7c918b5cd89352ed31d3d0e74fadb792ad14 01:53:41 $ docker rm -f --volumes 0a7d6bda0e6850704ed19fdccd3a7c918b5cd89352ed31d3d0e74fadb792ad14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:42 + docker inspect -f . ci-base-image-arm64 01:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:42 prd-ubuntu20.04-docker-arm64-4c-16g-1306 does not seem to be running inside a container 01:53:42 $ 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/161 -v /w/workspace/device-mqtt-go/161:/w/workspace/device-mqtt-go/161:rw,z -v /w/workspace/device-mqtt-go/161@tmp:/w/workspace/device-mqtt-go/161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:53:43 $ docker top 65a44dc4a47e3707f8146214e60eca268bfe5e035f098d63feb9fc9a70588684 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:44 + git config --global --add safe.directory /w/workspace/device-mqtt-go/161 [Pipeline] fileExists [Pipeline] sh 01:53:45 + make test 01:53:45 go test ./... -coverprofile=coverage.out ./... 01:53:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:55:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:55:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:55:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements 01:55:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:55:49 go vet ./... 01:56:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:56:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:56:07 ./bin/test-attribution-txt.sh 01:56:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:56:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:56:08 $ docker stop --time=1 65a44dc4a47e3707f8146214e60eca268bfe5e035f098d63feb9fc9a70588684 01:56:09 $ docker rm -f --volumes 65a44dc4a47e3707f8146214e60eca268bfe5e035f098d63feb9fc9a70588684 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:56:11 Warning: overwriting stash ‘coverage-report’ 01:56:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:56:12 + ls -al . 01:56:12 total 180 01:56:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 01:53 . 01:56:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 01:51 .. 01:56:12 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 01:51 .dockerignore 01:56:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 01:51 .git 01:56:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:51 .github 01:56:12 -rw-rw-r-- 1 jenkins jenkins 264 Feb 20 01:51 .gitignore 01:56:12 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 01:51 .golangci.yml 01:56:12 -rw-rw-r-- 1 jenkins jenkins 10386 Feb 20 01:51 Attribution.txt 01:56:12 -rw-rw-r-- 1 jenkins jenkins 18574 Feb 20 01:51 CHANGELOG.md 01:56:12 -rw-rw-r-- 1 jenkins jenkins 1798 Feb 20 01:51 Dockerfile 01:56:12 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 01:51 GOVERNANCE.md 01:56:12 -rw-rw-r-- 1 jenkins jenkins 657 Feb 20 01:51 Jenkinsfile 01:56:12 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 01:51 LICENSE 01:56:12 -rw-rw-r-- 1 jenkins jenkins 1963 Feb 20 01:51 Makefile 01:56:12 -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 01:51 OWNERS.md 01:56:12 -rw-rw-r-- 1 jenkins jenkins 3599 Feb 20 01:51 README.md 01:56:12 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 01:47 VERSION 01:56:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 01:51 bin 01:56:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:51 cmd 01:56:12 -rw-r--r-- 1 jenkins jenkins 18506 Feb 20 01:55 coverage.out 01:56:12 -rw-rw-r-- 1 jenkins jenkins 3866 Feb 20 01:51 go.mod 01:56:12 -rw-rw-r-- 1 jenkins jenkins 34334 Feb 20 01:51 go.sum 01:56:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 01:51 internal 01:56:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 01:51 mock 01:56:12 -rw-rw-r-- 1 jenkins jenkins 227 Feb 20 01:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:13 + 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=f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 --label arch=arm64 --label version=3.2.0-dev.8 . 01:56:13 Sending build context to Docker daemon 7.564MB 01:56:13 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:56:13 Step 2/25 : FROM ${BASE} AS builder 01:56:13 ---> 137100afb018 01:56:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:56:14 ---> Running in 8253bc7bacb2 01:56:14 Removing intermediate container 8253bc7bacb2 01:56:14 ---> df45e27fcf45 01:56:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:56:14 ---> Running in ded4eb9c3c14 01:56:14 Removing intermediate container ded4eb9c3c14 01:56:14 ---> 399ed225f79d 01:56:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:56:14 ---> Running in 5e2c6005ef10 01:56:15 Removing intermediate container 5e2c6005ef10 01:56:15 ---> 541e9661a6e9 01:56:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:56:15 ---> Running in c0da9b8cb851 01:56:15 Removing intermediate container c0da9b8cb851 01:56:15 ---> 7567892fee94 01:56:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:15 ---> Running in 33ee658f1b0b 01:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:56:18 OK: 271 MiB in 56 packages 01:56:19 Removing intermediate container 33ee658f1b0b 01:56:19 ---> c4def3f08bb8 01:56:19 Step 8/25 : WORKDIR /device-mqtt-go 01:56:19 ---> Running in b575b8315315 01:56:20 Removing intermediate container b575b8315315 01:56:20 ---> 080892fd15f5 01:56:20 Step 9/25 : COPY go.mod vendor* ./ 01:56:20 ---> 4478c1ccfd9e 01:56:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:20 ---> Running in 585bb65d92c8 01:56:23 Removing intermediate container 585bb65d92c8 01:56:23 ---> 45d45dcea6f0 01:56:23 Step 11/25 : COPY . . 01:56:23 ---> 2686362aed64 01:56:23 Step 12/25 : RUN $MAKE 01:56:24 ---> Running in f711a4434d7e 01:56:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:58:31 Removing intermediate container f711a4434d7e 01:58:31 ---> 1a60d097316a 01:58:31 Step 13/25 : FROM alpine:3.18 01:58:31 3.18: Pulling from library/alpine 01:58:31 c6b39de5b339: Pulling fs layer 01:58:31 c6b39de5b339: Verifying Checksum 01:58:31 c6b39de5b339: Download complete 01:58:31 c6b39de5b339: Pull complete 01:58:31 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:58:31 Status: Downloaded newer image for alpine:3.18 01:58:31 ---> 33abbf032149 01:58:31 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:58:31 ---> Running in 0857622a4452 01:58:31 Removing intermediate container 0857622a4452 01:58:31 ---> 617a4dab89e2 01:58:31 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:58:31 ---> Running in 6c9307d1472c 01:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:58:31 (1/1) Installing dumb-init (1.2.5-r2) 01:58:31 Executing busybox-1.36.1-r5.trigger 01:58:31 OK: 8 MiB in 16 packages 01:58:31 Removing intermediate container 6c9307d1472c 01:58:31 ---> 788c7de799fb 01:58:31 Step 16/25 : RUN apk --no-cache upgrade 01:58:31 ---> Running in f5158d4d66cc 01:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:58:31 OK: 8 MiB in 16 packages 01:58:31 Removing intermediate container f5158d4d66cc 01:58:31 ---> 2e86fd6b3d6f 01:58:31 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:58:31 ---> 26750632f83e 01:58:31 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:58:32 ---> 5db2d9981df1 01:58:32 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:58:33 ---> 5fdba1a3e0ea 01:58:33 Step 20/25 : EXPOSE 59982 01:58:33 ---> Running in 7e4d92e21bc0 01:58:33 Removing intermediate container 7e4d92e21bc0 01:58:33 ---> 0514614fccea 01:58:33 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:58:33 ---> Running in 3f50ba9b09e8 01:58:34 Removing intermediate container 3f50ba9b09e8 01:58:34 ---> 6424c35e6f14 01:58:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:58:34 ---> Running in c2d74cbc2b94 01:58:34 Removing intermediate container c2d74cbc2b94 01:58:34 ---> cff3fcd5cd79 01:58:34 Step 23/25 : LABEL arch=arm64 01:58:34 ---> Running in 015fbebf30ce 01:58:34 Removing intermediate container 015fbebf30ce 01:58:34 ---> f1b907da5a87 01:58:34 Step 24/25 : LABEL git_sha=f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:58:34 ---> Running in 378811cb1515 01:58:35 Removing intermediate container 378811cb1515 01:58:35 ---> b8a91d45775a 01:58:35 Step 25/25 : LABEL version=3.2.0-dev.8 01:58:35 ---> Running in 9a232f24eb2e 01:58:35 Removing intermediate container 9a232f24eb2e 01:58:35 ---> 06159a4fcb4e 01:58:35 [Warning] One or more build-args [ARCH] were not consumed 01:58:35 Successfully built 06159a4fcb4e 01:58:35 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:36 provisioning config files... 01:58:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/161@tmp/config11504117924118448454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:36 ---> ****-login.sh 01:58:36 nexus3.edgexfoundry.org:10001 01:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:36 Configure a credential helper to remove this warning. See 01:58:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:36 01:58:36 Login Succeeded 01:58:36 nexus3.edgexfoundry.org:10002 01:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:37 Configure a credential helper to remove this warning. See 01:58:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:37 01:58:37 Login Succeeded 01:58:37 nexus3.edgexfoundry.org:10003 01:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:37 Configure a credential helper to remove this warning. See 01:58:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:37 01:58:37 Login Succeeded 01:58:37 nexus3.edgexfoundry.org:10004 01:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:38 Configure a credential helper to remove this warning. See 01:58:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:38 01:58:38 Login Succeeded 01:58:38 ****.io 01:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:38 Configure a credential helper to remove this warning. See 01:58:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:38 01:58:38 Login Succeeded 01:58:38 ---> ****-login.sh ends [Pipeline] } 01:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:58:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:58:38 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:58:38 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:58:38 latest 01:58:38 3.2.0-dev.8 01:58:38 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 01:58:38 main 01:58:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:58:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:58:39 d2a972d713a6: Preparing 01:58:39 939efaee52e6: Preparing 01:58:39 1a3211b7167f: Preparing 01:58:39 398acbfd12fa: Preparing 01:58:39 0efdcb788055: Preparing 01:58:39 7c504f21be85: Preparing 01:58:39 7c504f21be85: Waiting 01:58:40 0efdcb788055: Pushed 01:58:40 398acbfd12fa: Pushed 01:58:40 d2a972d713a6: Pushed 01:58:40 939efaee52e6: Pushed 01:58:40 7c504f21be85: Layer already exists 01:58:45 1a3211b7167f: Pushed 01:58:45 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03: digest: sha256:440c68afd94ac9a3ab168ecc3fd8e51d5b0810d876475a92e7d1a53747194e43 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:58:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:58:48 d2a972d713a6: Preparing 01:58:48 939efaee52e6: Preparing 01:58:48 1a3211b7167f: Preparing 01:58:48 398acbfd12fa: Preparing 01:58:48 0efdcb788055: Preparing 01:58:48 7c504f21be85: Preparing 01:58:48 7c504f21be85: Waiting 01:58:48 d2a972d713a6: Layer already exists 01:58:48 1a3211b7167f: Layer already exists 01:58:48 398acbfd12fa: Layer already exists 01:58:48 939efaee52e6: Layer already exists 01:58:48 0efdcb788055: Layer already exists 01:58:48 7c504f21be85: Layer already exists 01:58:48 latest: digest: sha256:440c68afd94ac9a3ab168ecc3fd8e51d5b0810d876475a92e7d1a53747194e43 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.8 01:58:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:58:49 d2a972d713a6: Preparing 01:58:49 939efaee52e6: Preparing 01:58:49 1a3211b7167f: Preparing 01:58:49 398acbfd12fa: Preparing 01:58:49 0efdcb788055: Preparing 01:58:49 7c504f21be85: Preparing 01:58:49 7c504f21be85: Waiting 01:58:49 1a3211b7167f: Layer already exists 01:58:49 939efaee52e6: Layer already exists 01:58:49 d2a972d713a6: Layer already exists 01:58:49 0efdcb788055: Layer already exists 01:58:49 398acbfd12fa: Layer already exists 01:58:49 7c504f21be85: Layer already exists 01:58:49 3.2.0-dev.8: digest: sha256:440c68afd94ac9a3ab168ecc3fd8e51d5b0810d876475a92e7d1a53747194e43 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 01:58:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:58:50 d2a972d713a6: Preparing 01:58:50 939efaee52e6: Preparing 01:58:50 1a3211b7167f: Preparing 01:58:50 398acbfd12fa: Preparing 01:58:50 0efdcb788055: Preparing 01:58:50 7c504f21be85: Preparing 01:58:50 7c504f21be85: Waiting 01:58:50 d2a972d713a6: Layer already exists 01:58:50 0efdcb788055: Layer already exists 01:58:50 1a3211b7167f: Layer already exists 01:58:50 939efaee52e6: Layer already exists 01:58:50 398acbfd12fa: Layer already exists 01:58:50 7c504f21be85: Layer already exists 01:58:50 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8: digest: sha256:440c68afd94ac9a3ab168ecc3fd8e51d5b0810d876475a92e7d1a53747194e43 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:58:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:58:51 d2a972d713a6: Preparing 01:58:51 939efaee52e6: Preparing 01:58:51 1a3211b7167f: Preparing 01:58:51 398acbfd12fa: Preparing 01:58:51 0efdcb788055: Preparing 01:58:51 7c504f21be85: Preparing 01:58:51 7c504f21be85: Waiting 01:58:51 398acbfd12fa: Layer already exists 01:58:51 d2a972d713a6: Layer already exists 01:58:51 1a3211b7167f: Layer already exists 01:58:51 0efdcb788055: Layer already exists 01:58:51 939efaee52e6: Layer already exists 01:58:51 7c504f21be85: Layer already exists 01:58:52 main: digest: sha256:440c68afd94ac9a3ab168ecc3fd8e51d5b0810d876475a92e7d1a53747194e43 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:58:52 ===================================================== [Pipeline] echo 01:58:52 taggedImages: 01:58:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 01:58:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:58:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.8 01:58:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03-3.2.0-dev.8 01:58:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:53 01:58:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:53 arm64: Pulling from edgex-lftools-log-publisher 01:58:53 8998bd30e6a1: Pulling fs layer 01:58:53 04944245beec: Pulling fs layer 01:58:53 699f458cf7ca: Pulling fs layer 01:58:53 765212b225bb: Pulling fs layer 01:58:53 f23df028b6ca: Pulling fs layer 01:58:53 d65c8cfc05b1: Pulling fs layer 01:58:53 2437ff75d9bd: Pulling fs layer 01:58:53 f23df028b6ca: Waiting 01:58:53 d65c8cfc05b1: Waiting 01:58:53 765212b225bb: Waiting 01:58:53 2437ff75d9bd: Waiting 01:58:53 04944245beec: Verifying Checksum 01:58:53 04944245beec: Download complete 01:58:53 765212b225bb: Download complete 01:58:54 f23df028b6ca: Verifying Checksum 01:58:54 f23df028b6ca: Download complete 01:58:54 d65c8cfc05b1: Verifying Checksum 01:58:54 d65c8cfc05b1: Download complete 01:58:54 699f458cf7ca: Verifying Checksum 01:58:54 699f458cf7ca: Download complete 01:58:54 8998bd30e6a1: Verifying Checksum 01:58:54 8998bd30e6a1: Download complete 01:58:57 2437ff75d9bd: Verifying Checksum 01:58:57 2437ff75d9bd: Download complete 01:58:59 8998bd30e6a1: Pull complete 01:59:02 04944245beec: Pull complete 01:59:03 699f458cf7ca: Pull complete 01:59:04 765212b225bb: Pull complete 01:59:05 f23df028b6ca: Pull complete 01:59:05 d65c8cfc05b1: Pull complete 01:59:23 2437ff75d9bd: Pull complete 01:59:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:59:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:59:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:24 prd-ubuntu20.04-docker-arm64-4c-16g-1306 does not seem to be running inside a container 01:59:24 $ 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/161 -v /w/workspace/device-mqtt-go/161:/w/workspace/device-mqtt-go/161:rw,z -v /w/workspace/device-mqtt-go/161@tmp:/w/workspace/device-mqtt-go/161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:59:27 $ docker top f65bffeced8125f2bae09a2da8bb39bd960ac1f6a527da316f05c328c817d886 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:28 ---> job-cost.sh 01:59:28 lf-activate-venv: SKIPPING 01:59:28 INFO: No Stack... 01:59:28 INFO: Retrieving Pricing Info for: v3-standard-4 01:59:29 INFO: Archiving Costs [Pipeline] sh 01:59:30 + cat /w/workspace/device-mqtt-go/161/archives/cost.csv 01:59:30 + cut -d, -f6 [Pipeline] lock 01:59:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] 01:59:30 Resource [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] did not exist. Created. 01:59:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:30 /w/workspace/device-mqtt-go/161@tmp/durable-8ebdbcd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:59:31 + echo total: 0.10999999940395355 [Pipeline] stash 01:59:31 Warning: overwriting stash ‘stack-cost’ 01:59:31 Stashed 1 file(s) [Pipeline] } 01:59:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:31 $ docker stop --time=1 f65bffeced8125f2bae09a2da8bb39bd960ac1f6a527da316f05c328c817d886 01:59:33 $ docker rm -f --volumes f65bffeced8125f2bae09a2da8bb39bd960ac1f6a527da316f05c328c817d886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:59:34 provisioning config files... 01:59:34 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8386944349222896766tmp [Pipeline] { [Pipeline] sh 01:59:35 + set +x 01:59:35 + curl+ -s https://codecov.io/bash 01:59:35 bash -s -- 01:59:35 01:59:35 _____ _ 01:59:35 / ____| | | 01:59:35 | | ___ __| | ___ ___ _____ __ 01:59:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:59:35 | |___| (_) | (_| | __/ (_| (_) \ V / 01:59:35 \_____\___/ \__,_|\___|\___\___/ \_/ 01:59:35 Bash-1.0.6 01:59:35 01:59:35 01:59:35 ==> git version 2.25.1 found 01:59:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:59:35 Release-Date: 2020-01-08 01:59:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:59:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:59:35 ==> Jenkins CI detected. 01:59:35 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:59:35 project root: . 01:59:35 --> token set from env 01:59:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:59:35 ==> Running gcov in . (disable via -X gcov) 01:59:35 ==> Python coveragepy not found 01:59:35 ==> Searching for coverage reports in: 01:59:35 + . 01:59:35 -> Found 1 reports 01:59:35 ==> Detecting git/mercurial file structure 01:59:35 ==> Reading reports 01:59:35 + ./coverage.out bytes=18506 01:59:35 ==> Appending adjustments 01:59:35 https://docs.codecov.io/docs/fixing-reports 01:59:35 + Found adjustments 01:59:35 ==> Gzipping contents 01:59:35 4.0K /tmp/codecov.vEEoMF.gz 01:59:35 ==> Uploading reports 01:59:35 url: https://codecov.io 01:59:35 query: branch=main&commit=f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:59:35 -> Pinging Codecov 01:59:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:59:35 -> Uploading to 01:59:35 https://storage.googleapis.com/codecov/v4/raw/2024-02-20/7D719EC7BBE17E464838252E33014C33/f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03/da946f4f-c2b0-422c-916a-54dfd81d3e90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240220T015935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6de798c195b0bd734e5176e5323ae15a2ca4ce6da92d7d52b7ee74e985a8c1af 01:59:35 % Total % Received % Xferd Average Speed Time Time Time Current 01:59:35 Dload Upload Total Spent Left Speed 01:59:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12651 --:--:-- --:--:-- --:--:-- 12651 01:59:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] } 01:59:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:59:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:59:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:59:36 01:59:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:59:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:59:36 df9b9388f04a: Pulling fs layer 01:59:36 52dc419b0ee2: Pulling fs layer 01:59:36 25bc292e5bac: Pulling fs layer 01:59:36 114826534d7a: Pulling fs layer 01:59:36 4657fd5d0bcf: Pulling fs layer 01:59:36 6ad1cebc031e: Pulling fs layer 01:59:36 8a3aa393b2d8: Pulling fs layer 01:59:36 4657fd5d0bcf: Waiting 01:59:36 6ad1cebc031e: Waiting 01:59:36 8a3aa393b2d8: Waiting 01:59:36 114826534d7a: Waiting 01:59:36 25bc292e5bac: Verifying Checksum 01:59:36 25bc292e5bac: Download complete 01:59:36 52dc419b0ee2: Verifying Checksum 01:59:36 52dc419b0ee2: Download complete 01:59:36 4657fd5d0bcf: Verifying Checksum 01:59:36 4657fd5d0bcf: Download complete 01:59:36 df9b9388f04a: Download complete 01:59:37 6ad1cebc031e: Verifying Checksum 01:59:37 6ad1cebc031e: Download complete 01:59:37 df9b9388f04a: Pull complete 01:59:37 52dc419b0ee2: Pull complete 01:59:37 25bc292e5bac: Pull complete 01:59:37 114826534d7a: Verifying Checksum 01:59:37 114826534d7a: Download complete 01:59:37 8a3aa393b2d8: Download complete 01:59:40 114826534d7a: Pull complete 01:59:40 4657fd5d0bcf: Pull complete 01:59:40 6ad1cebc031e: Pull complete 01:59:44 8a3aa393b2d8: Pull complete 01:59:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:59:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:44 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 01:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:59:49 $ docker top 5eda1e553b2a61ee50e53d662c79b5c03681f03b502200ddca316d8c858bd652 -eo pid,comm [Pipeline] { [Pipeline] echo 01:59:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 01:59:49 + set -o pipefail 01:59:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 01:59:55 01:59:55 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:59:55 01:59:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/70805825-3c75-43a3-8b21-9269644f234f 01:59:55 01:59:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:59:55 01:59:55 01:59:55 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:59:55 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:59:55 More details here: https://snyk.co/ue1NS [Pipeline] } 01:59:55 $ docker stop --time=1 5eda1e553b2a61ee50e53d662c79b5c03681f03b502200ddca316d8c858bd652 01:59:58 $ docker rm -f --volumes 5eda1e553b2a61ee50e53d662c79b5c03681f03b502200ddca316d8c858bd652 [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:00:00 + git log --format=format:%s -1 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 [Pipeline] sh 02:00:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:00:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:00 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 02:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:01 $ docker top bf9ccae9105a2f05897e2603645385e2cdd6ef840d1cca0f35dee457c6fa559e -eo pid,comm 02:00:01 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:00:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:01 [ssh-agent] Looking for ssh-agent implementation... 02:00:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:01 $ docker exec bf9ccae9105a2f05897e2603645385e2cdd6ef840d1cca0f35dee457c6fa559e ssh-agent 02:00:02 SSH_AUTH_SOCK=/tmp/ssh-Sk0YCXtKKQPz/agent.33 02:00:02 SSH_AGENT_PID=39 02:00:02 Running ssh-add (command line suppressed) 02:00:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4005784513210508802.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4005784513210508802.key) 02:00:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:02 + git semver tag 02:00:02 2024-02-20 02:00:02,636 [run_tag] DEBUG tag force:False 02:00:02 2024-02-20 02:00:02,636 [check_head_tag] DEBUG check head tag 02:00:02 2024-02-20 02:00:02,637 [execute] INFO git cat-file --batch-check 02:00:02 2024-02-20 02:00:02,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:00:02 2024-02-20 02:00:02,640 [execute] INFO git cat-file --batch 02:00:02 2024-02-20 02:00:02,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:00:02 2024-02-20 02:00:02,655 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:02 2024-02-20 02:00:02,655 [execute] INFO git tag -a v3.2.0-dev.8 -m v3.2.0-dev.8 02:00:02 2024-02-20 02:00:02,655 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.8', '-m', 'v3.2.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:00:02 2024-02-20 02:00:02,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:02 3.2.0-dev.8 [Pipeline] } 02:00:02 $ docker exec --env ******** --env ******** bf9ccae9105a2f05897e2603645385e2cdd6ef840d1cca0f35dee457c6fa559e ssh-agent -k 02:00:02 unset SSH_AUTH_SOCK; 02:00:02 unset SSH_AGENT_PID; 02:00:02 echo Agent pid 39 killed; 02:00:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:03 + git semver [Pipeline] } 02:00:03 $ docker stop --time=1 bf9ccae9105a2f05897e2603645385e2cdd6ef840d1cca0f35dee457c6fa559e 02:00:06 $ docker rm -f --volumes bf9ccae9105a2f05897e2603645385e2cdd6ef840d1cca0f35dee457c6fa559e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:00:07 02:00:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:00:07 0.23.1-centos7: Pulling from edgex-lftools 02:00:07 ab5ef0e58194: Pulling fs layer 02:00:07 9712f1f96733: Pulling fs layer 02:00:07 63f879dbbcfc: Pulling fs layer 02:00:07 0d9ebad4ef96: Pulling fs layer 02:00:07 0d9ebad4ef96: Waiting 02:00:07 e9a5061849ea: Pulling fs layer 02:00:07 d747dcd14b5f: Pulling fs layer 02:00:07 2de7ff778b66: Pulling fs layer 02:00:07 e9a5061849ea: Waiting 02:00:07 d747dcd14b5f: Waiting 02:00:07 2de7ff778b66: Waiting 02:00:07 9712f1f96733: Download complete 02:00:09 63f879dbbcfc: Verifying Checksum 02:00:09 63f879dbbcfc: Download complete 02:00:09 e9a5061849ea: Verifying Checksum 02:00:09 e9a5061849ea: Download complete 02:00:09 d747dcd14b5f: Download complete 02:00:09 ab5ef0e58194: Verifying Checksum 02:00:09 ab5ef0e58194: Download complete 02:00:09 2de7ff778b66: Verifying Checksum 02:00:09 2de7ff778b66: Download complete 02:00:09 0d9ebad4ef96: Verifying Checksum 02:00:09 0d9ebad4ef96: Download complete 02:00:11 ab5ef0e58194: Pull complete 02:00:11 9712f1f96733: Pull complete 02:00:12 63f879dbbcfc: Pull complete 02:00:15 0d9ebad4ef96: Pull complete 02:00:16 e9a5061849ea: Pull complete 02:00:16 d747dcd14b5f: Pull complete 02:00:17 2de7ff778b66: Pull complete 02:00:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:00:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:17 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 02:00:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:00:23 $ docker top f806fd7205008cfeacc73e934138569e40308ce4edae4b14f403aace59a3d2bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:00:24 provisioning config files... 02:00:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17946703921340549287tmp 02:00:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14866279128867182128tmp 02:00:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17645889092677194069tmp [Pipeline] { [Pipeline] echo 02:00:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:00:24 ---> sigul-configuration.sh 02:00:24 gpg: directory `/root/.gnupg' created 02:00:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:00:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:00:24 gpg: keyring `/root/.gnupg/secring.gpg' created 02:00:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:00:24 gpg: CAST5 encrypted data 02:00:24 gpg: encrypted with 1 passphrase 02:00:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:00:24 + mkdir /home/jenkins 02:00:24 + mkdir /home/jenkins/sigul [Pipeline] sh 02:00:25 + 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:00:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:00:25 ---> sigul-install.sh 02:00:25 Sigul already installed; skipping installation. [Pipeline] sh 02:00:25 + git tag --list 02:00:25 0.7.1 02:00:25 v1.0.0 02:00:25 v1.1.0 02:00:25 v1.1.1 02:00:25 v1.2.2 02:00:25 v1.3.0 02:00:25 v1.3.1 02:00:25 v2.0.0 02:00:25 v2.1.0 02:00:25 v2.1.1 02:00:25 v2.2.0 02:00:25 v2.3.0 02:00:25 v3.0 02:00:25 v3.0.0 02:00:25 v3.1 02:00:25 v3.1.0 02:00:25 v3.1.0-dev.1 02:00:25 v3.1.0-dev.10 02:00:25 v3.1.0-dev.11 02:00:25 v3.1.0-dev.12 02:00:25 v3.1.0-dev.13 02:00:25 v3.1.0-dev.14 02:00:25 v3.1.0-dev.15 02:00:25 v3.1.0-dev.16 02:00:25 v3.1.0-dev.17 02:00:25 v3.1.0-dev.18 02:00:25 v3.1.0-dev.19 02:00:25 v3.1.0-dev.2 02:00:25 v3.1.0-dev.20 02:00:25 v3.1.0-dev.21 02:00:25 v3.1.0-dev.22 02:00:25 v3.1.0-dev.23 02:00:25 v3.1.0-dev.24 02:00:25 v3.1.0-dev.25 02:00:25 v3.1.0-dev.3 02:00:25 v3.1.0-dev.4 02:00:25 v3.1.0-dev.5 02:00:25 v3.1.0-dev.6 02:00:25 v3.1.0-dev.7 02:00:25 v3.1.0-dev.8 02:00:25 v3.1.0-dev.9 02:00:25 v3.2.0-dev.1 02:00:25 v3.2.0-dev.2 02:00:25 v3.2.0-dev.3 02:00:25 v3.2.0-dev.4 02:00:25 v3.2.0-dev.5 02:00:25 v3.2.0-dev.6 02:00:25 v3.2.0-dev.7 02:00:25 v3.2.0-dev.8 [Pipeline] sh 02:00:25 + lftools sign git-tag v3.2.0-dev.8 02:00:26 Signing Git tag with Sigul... 02:00:26 Signing v3.2.0-dev.8 [Pipeline] echo 02:00:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:00:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:00:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:00:27 $ docker stop --time=1 f806fd7205008cfeacc73e934138569e40308ce4edae4b14f403aace59a3d2bf 02:00:28 $ docker rm -f --volumes f806fd7205008cfeacc73e934138569e40308ce4edae4b14f403aace59a3d2bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:00:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:00:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:29 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 02:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:30 $ docker top 203c7b33e9b07ae2eaab7d021a90d0f927dd2efee906005629759d044a41d605 -eo pid,comm 02:00:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:00:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:30 [ssh-agent] Looking for ssh-agent implementation... 02:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:30 $ docker exec 203c7b33e9b07ae2eaab7d021a90d0f927dd2efee906005629759d044a41d605 ssh-agent 02:00:30 SSH_AUTH_SOCK=/tmp/ssh-v63kabwvuetR/agent.32 02:00:30 SSH_AGENT_PID=38 02:00:30 Running ssh-add (command line suppressed) 02:00:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3041135791088896969.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3041135791088896969.key) 02:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:31 + git semver bump pre 02:00:31 2024-02-20 02:00:31,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:31 2024-02-20 02:00:31,298 [bump_version] DEBUG bumping version:3.2.0-dev.8 on axis:pre with prefix:dev 02:00:31 2024-02-20 02:00:31,299 [bump_version] DEBUG bumped version:3.2.0-dev.9 02:00:31 2024-02-20 02:00:31,299 [write_version] DEBUG write version:3.2.0-dev.9 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:00:31 2024-02-20 02:00:31,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:31 2024-02-20 02:00:31,299 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:31 2024-02-20 02:00:31,301 [execute] INFO git cat-file --batch-check 02:00:31 2024-02-20 02:00:31,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:00:31 2024-02-20 02:00:31,307 [execute] INFO git cat-file --batch 02:00:31 2024-02-20 02:00:31,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:00:31 2024-02-20 02:00:31,312 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:31 3.2.0-dev.9 [Pipeline] } 02:00:31 $ docker exec --env ******** --env ******** 203c7b33e9b07ae2eaab7d021a90d0f927dd2efee906005629759d044a41d605 ssh-agent -k 02:00:31 unset SSH_AUTH_SOCK; 02:00:31 unset SSH_AGENT_PID; 02:00:31 echo Agent pid 38 killed; 02:00:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:32 + git semver [Pipeline] } 02:00:32 $ docker stop --time=1 203c7b33e9b07ae2eaab7d021a90d0f927dd2efee906005629759d044a41d605 02:00:33 $ docker rm -f --volumes 203c7b33e9b07ae2eaab7d021a90d0f927dd2efee906005629759d044a41d605 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:00:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:34 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 02:00:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:34 $ docker top eb8aa5e7dc37173a27bd5be65aa24b2f3b3d74f91421c8b1a5e79a1b8cef6614 -eo pid,comm 02:00:35 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:00:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:35 [ssh-agent] Looking for ssh-agent implementation... 02:00:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:35 $ docker exec eb8aa5e7dc37173a27bd5be65aa24b2f3b3d74f91421c8b1a5e79a1b8cef6614 ssh-agent 02:00:35 SSH_AUTH_SOCK=/tmp/ssh-rJgpmlzNyfP1/agent.32 02:00:35 SSH_AGENT_PID=38 02:00:35 Running ssh-add (command line suppressed) 02:00:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13517235562542321795.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13517235562542321795.key) 02:00:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:35 + git semver push 02:00:36 2024-02-20 02:00:36,089 [run_push] DEBUG push 02:00:36 2024-02-20 02:00:36,090 [execute] INFO git cat-file --batch-check 02:00:36 2024-02-20 02:00:36,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:00:36 2024-02-20 02:00:36,093 [execute] INFO git rev-list 9024ec770a2e023ae873f654f3eb06e53ba56414 -- 02:00:36 2024-02-20 02:00:36,093 [execute] DEBUG Popen(['git', 'rev-list', '9024ec770a2e023ae873f654f3eb06e53ba56414', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:00:36 2024-02-20 02:00:36,102 [execute] INFO git fetch -v origin 02:00:36 2024-02-20 02:00:36,102 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:00:36 2024-02-20 02:00:36,590 [run_push] DEBUG no remote changes detected 02:00:36 2024-02-20 02:00:36,590 [execute] INFO git push origin semver 02:00:36 2024-02-20 02:00:36,591 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:00:37 2024-02-20 02:00:37,287 [run_push] DEBUG push all version tags 02:00:37 2024-02-20 02:00:37,288 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:00:37 2024-02-20 02:00:37,288 [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:00:38 2024-02-20 02:00:37,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:00:38 3.2.0-dev.9 [Pipeline] } 02:00:38 $ docker exec --env ******** --env ******** eb8aa5e7dc37173a27bd5be65aa24b2f3b3d74f91421c8b1a5e79a1b8cef6614 ssh-agent -k 02:00:38 unset SSH_AUTH_SOCK; 02:00:38 unset SSH_AGENT_PID; 02:00:38 echo Agent pid 38 killed; 02:00:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:38 + git semver [Pipeline] } 02:00:39 $ docker stop --time=1 eb8aa5e7dc37173a27bd5be65aa24b2f3b3d74f91421c8b1a5e79a1b8cef6614 02:00:40 $ docker rm -f --volumes eb8aa5e7dc37173a27bd5be65aa24b2f3b3d74f91421c8b1a5e79a1b8cef6614 [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:00:42 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:00:42 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:00:42 total 16 02:00:42 drwxr-xr-x 3 root root 4096 Feb 20 01:49 . 02:00:42 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 02:00 .. 02:00:42 drwxr-xr-x 2 root root 4096 Feb 20 01:49 cost 02:00:42 -rw-r--r-- 1 root root 86 Feb 20 01:49 cost.csv 02:00:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:00:42 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:00:42 total 16 02:00:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 01:49 . 02:00:42 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 02:00 .. 02:00:42 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 01:49 cost 02:00:42 -rw-r--r-- 1 jenkins jenkins 86 Feb 20 01:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:00:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:00:43 ---> package-listing.sh 02:00:43 ++ facter osfamily 02:00:43 ++ tr '[:upper:]' '[:lower:]' 02:00:43 + OS_FAMILY=debian 02:00:43 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:00:43 + START_PACKAGES=/tmp/packages_start.txt 02:00:43 + END_PACKAGES=/tmp/packages_end.txt 02:00:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:00:43 + PACKAGES=/tmp/packages_start.txt 02:00:43 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:00:43 + PACKAGES=/tmp/packages_end.txt 02:00:43 + case "${OS_FAMILY}" in 02:00:43 + dpkg -l 02:00:43 + grep '^ii' 02:00:43 + '[' -f /tmp/packages_start.txt ']' 02:00:43 + '[' -f /tmp/packages_end.txt ']' 02:00:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:00:43 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:00:43 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:00:43 + 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:00:43 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:00:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:44 prd-ubuntu20.04-docker-8c-8g-1304 does not seem to be running inside a container 02:00:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:00:44 $ docker top 24c341f43b6a183adf87df3f23c9c7f25833e84d75294f16f78bcdd3d23edc7d -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:45 + touch /tmp/pre-build-complete [Pipeline] sh 02:00:45 + mkdir -p /var/log/sysstat [Pipeline] sh 02:00:45 + ls /var/log/sa-host 02:00:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:45 provisioning config files... 02:00:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15837598260659259986tmp [Pipeline] { [Pipeline] echo 02:00:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:00:46 ---> create-netrc.sh [Pipeline] } 02:00:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:00:46 ---> python-tools-install.sh [Pipeline] echo 02:00:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:00:47 ---> sudo-logs.sh 02:00:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:00:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:00:47 ---> job-cost.sh 02:00:47 lf-activate-venv: SKIPPING 02:00:47 DEBUG: total: 0.2199999988079071 02:00:47 INFO: Retrieving Stack Cost... 02:00:47 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:48 INFO: Archiving Costs [Pipeline] echo 02:00:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:00:48 ---> logs-deploy.sh 02:00:48 lf-activate-venv: SKIPPING 02:00:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/161 02:00:48 INFO: archiving workspace using pattern(s): 02:00:49 Archives upload complete. 02:00:49 INFO: archiving logs to Nexus