Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00d7df9bfc12085a417893dc2a73ff3105929001 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-ssh2864520012555496900.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-ssh7918484161228960782.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-ssh9768152485167875322.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-ssh6644055464043762514.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-ssh13344161531466824991.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-9056 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 00d7df9bfc12085a417893dc2a73ff3105929001 (main) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#650)" > 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 00d7df9bfc12085a417893dc2a73ff3105929001 # timeout=10 > git rev-list --no-walk 972a1f6392fb66aca512ab6e37eb1188ace4c45a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:53:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:53:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:53:51 ========================================================= 01:53:51 EdgeX Global Pipelines Version Info 01:53:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:53:52 ------------------- 01:53:52 stable info: 01:53:52 ------------------- 01:53:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:53:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:53:52 Message: update stable to v1.0.258 01:53:52 ------------------- 01:53:52 experimental info: 01:53:52 ------------------- 01:53:52 Commited By: **** collab-it+edgex@linuxfoundation.org 01:53:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:53:52 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:53:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:53:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00d7df9 [Pipeline] echo 01:53:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:54 provisioning config files... 01:53:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config789467078129687698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:54 ---> ****-login.sh 01:53:54 nexus3.edgexfoundry.org:10001 01:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:54 Configure a credential helper to remove this warning. See 01:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:54 01:53:54 Login Succeeded 01:53:54 nexus3.edgexfoundry.org:10002 01:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:54 Configure a credential helper to remove this warning. See 01:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:54 01:53:54 Login Succeeded 01:53:54 nexus3.edgexfoundry.org:10003 01:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:54 Configure a credential helper to remove this warning. See 01:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:54 01:53:54 Login Succeeded 01:53:54 nexus3.edgexfoundry.org:10004 01:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:54 Configure a credential helper to remove this warning. See 01:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:54 01:53:54 Login Succeeded 01:53:54 ****.io 01:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:55 Configure a credential helper to remove this warning. See 01:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:55 01:53:55 Login Succeeded 01:53:55 ---> ****-login.sh ends [Pipeline] } 01:53:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:53:56 + git rev-list -1 --merges 00d7df9bfc12085a417893dc2a73ff3105929001~1..00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] echo 01:53:56 -----------> git rev-list -1 --merges 00d7df9bfc12085a417893dc2a73ff3105929001~1..00d7df9bfc12085a417893dc2a73ff3105929001 00d7df9bfc12085a417893dc2a73ff3105929001 [false] [Pipeline] sh 01:53:56 + git log --format=format:%s -1 00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] echo 01:53:56 ========================================================= 01:53:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:53:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:53:56 + git log --format=format:%s -1 00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] echo 01:53:56 [semverPrep] GIT_COMMIT: 00d7df9bfc12085a417893dc2a73ff3105929001, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#650) [Pipeline] echo 01:53:56 [semverPrep] This is not a build commit. [Pipeline] sh 01:53:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:53:57 + grep -v github /etc/ssh/ssh_known_hosts 01:53:57 + [ -e /tmp/ssh_known_hosts ] 01:53:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:53:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:53:57 + sudo tee -a /etc/ssh/ssh_known_hosts 01:53:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:57 01:53:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:58 0.1.4: Pulling from edgex-devops/py-git-semver 01:53:58 b85a868b505f: Pulling fs layer 01:53:58 e2be974225ed: Pulling fs layer 01:53:58 339a4e72a1f5: Pulling fs layer 01:53:58 988bab9f4d93: Pulling fs layer 01:53:58 1469e6f7b9e6: Pulling fs layer 01:53:58 eaf3925da568: Pulling fs layer 01:53:58 bab4dde63d76: Pulling fs layer 01:53:58 bde34c3a00c8: Pulling fs layer 01:53:58 b352a97aabf1: Pulling fs layer 01:53:58 4872d77fe225: Pulling fs layer 01:53:58 5851b861e8e6: Pulling fs layer 01:53:58 b352a97aabf1: Waiting 01:53:58 bab4dde63d76: Waiting 01:53:58 bde34c3a00c8: Waiting 01:53:58 4872d77fe225: Waiting 01:53:58 eaf3925da568: Waiting 01:53:58 988bab9f4d93: Waiting 01:53:58 5851b861e8e6: Waiting 01:53:58 1469e6f7b9e6: Waiting 01:53:58 e2be974225ed: Download complete 01:53:58 988bab9f4d93: Verifying Checksum 01:53:58 988bab9f4d93: Download complete 01:53:59 1469e6f7b9e6: Verifying Checksum 01:53:59 1469e6f7b9e6: Download complete 01:53:59 339a4e72a1f5: Verifying Checksum 01:53:59 339a4e72a1f5: Download complete 01:53:59 eaf3925da568: Verifying Checksum 01:53:59 eaf3925da568: Download complete 01:53:59 bde34c3a00c8: Verifying Checksum 01:53:59 bde34c3a00c8: Download complete 01:53:59 b352a97aabf1: Download complete 01:53:59 4872d77fe225: Verifying Checksum 01:53:59 4872d77fe225: Download complete 01:53:59 5851b861e8e6: Download complete 01:53:59 b85a868b505f: Verifying Checksum 01:53:59 b85a868b505f: Download complete 01:53:59 bab4dde63d76: Verifying Checksum 01:53:59 bab4dde63d76: Download complete 01:54:00 b85a868b505f: Pull complete 01:54:00 e2be974225ed: Pull complete 01:54:01 339a4e72a1f5: Pull complete 01:54:01 988bab9f4d93: Pull complete 01:54:01 1469e6f7b9e6: Pull complete 01:54:01 eaf3925da568: Pull complete 01:54:03 bab4dde63d76: Pull complete 01:54:03 bde34c3a00c8: Pull complete 01:54:03 b352a97aabf1: Pull complete 01:54:03 4872d77fe225: Pull complete 01:54:03 5851b861e8e6: Pull complete 01:54:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:54:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:04 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 01:54:04 $ 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:54:07 $ docker top 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e -eo pid,comm 01:54:07 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:54:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:54:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:07 [ssh-agent] Looking for ssh-agent implementation... 01:54:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:07 $ docker exec 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e ssh-agent 01:54:08 SSH_AUTH_SOCK=/tmp/ssh-hG6ZXvw584AL/agent.33 01:54:08 SSH_AGENT_PID=39 01:54:08 Running ssh-add (command line suppressed) 01:54:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17788100120291352598.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17788100120291352598.key) 01:54:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:08 + git tag --points-at HEAD [Pipeline] } 01:54:08 $ docker exec --env ******** --env ******** 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e ssh-agent -k 01:54:08 unset SSH_AUTH_SOCK; 01:54:08 unset SSH_AGENT_PID; 01:54:08 echo Agent pid 39 killed; 01:54:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:54:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:54:08 [ssh-agent] Looking for ssh-agent implementation... 01:54:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:54:08 $ docker exec 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e ssh-agent 01:54:08 SSH_AUTH_SOCK=/tmp/ssh-zdciZcfNsGBN/agent.71 01:54:08 SSH_AGENT_PID=77 01:54:08 Running ssh-add (command line suppressed) 01:54:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16798201482175520496.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16798201482175520496.key) 01:54:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:54:09 + git semver init 01:54:09 2023-11-29 01:54:09,555 [run_init] DEBUG init version:0.0.0 force:False 01:54:09 2023-11-29 01:54:09,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:54:09 2023-11-29 01:54:09,556 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:54:09 2023-11-29 01:54:09,556 [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:54:10 2023-11-29 01:54:10,916 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:54:10 2023-11-29 01:54:10,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:54:10 2023-11-29 01:54:10,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:54:10 2023-11-29 01:54:10,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:54:10 3.2.0-dev.2 [Pipeline] } 01:54:10 $ docker exec --env ******** --env ******** 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e ssh-agent -k 01:54:11 unset SSH_AUTH_SOCK; 01:54:11 unset SSH_AGENT_PID; 01:54:11 echo Agent pid 77 killed; 01:54:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:54:11 + git semver [Pipeline] } 01:54:11 $ docker stop --time=1 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e 01:54:13 $ docker rm -f --volumes 9e2decfb2ec5a05f860cdb04c51783377b3b16c0a5791d6cee8ec5896a2cba9e [Pipeline] // withDockerContainer [Pipeline] sh 01:54:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:54:13 Stashed 1 file(s) [Pipeline] echo 01:54:13 [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [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:54:14 provisioning config files... 01:54:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2059055632209257451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:14 ---> ****-login.sh 01:54:14 nexus3.edgexfoundry.org:10001 01:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:14 Configure a credential helper to remove this warning. See 01:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:14 01:54:14 Login Succeeded 01:54:14 nexus3.edgexfoundry.org:10002 01:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:14 Configure a credential helper to remove this warning. See 01:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:14 01:54:14 Login Succeeded 01:54:14 nexus3.edgexfoundry.org:10003 01:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:14 Configure a credential helper to remove this warning. See 01:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:14 01:54:14 Login Succeeded 01:54:14 nexus3.edgexfoundry.org:10004 01:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:14 Configure a credential helper to remove this warning. See 01:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:14 01:54:14 Login Succeeded 01:54:14 ****.io 01:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:15 Configure a credential helper to remove this warning. See 01:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:15 01:54:15 Login Succeeded 01:54:15 ---> ****-login.sh ends [Pipeline] } 01:54:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:54:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:54:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:54:15 ========================================================= 01:54:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:54:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:15 + 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:54:15 Sending build context to Docker daemon 17.3MB 01:54:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:54:15 Step 2/12 : FROM ${BASE} AS builder 01:54:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:54:15 7264a8db6415: Pulling fs layer 01:54:15 c4d48a809fc2: Pulling fs layer 01:54:15 4f1c88b9dad5: Pulling fs layer 01:54:15 ad3a456e5733: Pulling fs layer 01:54:15 69c7f0334f64: Pulling fs layer 01:54:15 1f1c1a5573a3: Pulling fs layer 01:54:15 ce7588e14bc9: Pulling fs layer 01:54:15 b5e4710f87ac: Pulling fs layer 01:54:15 ad3a456e5733: Waiting 01:54:15 69c7f0334f64: Waiting 01:54:15 b5e4710f87ac: Waiting 01:54:15 ce7588e14bc9: Waiting 01:54:15 1f1c1a5573a3: Waiting 01:54:16 c4d48a809fc2: Verifying Checksum 01:54:16 c4d48a809fc2: Download complete 01:54:16 ad3a456e5733: Verifying Checksum 01:54:16 ad3a456e5733: Download complete 01:54:16 69c7f0334f64: Download complete 01:54:16 7264a8db6415: Verifying Checksum 01:54:16 7264a8db6415: Download complete 01:54:16 1f1c1a5573a3: Verifying Checksum 01:54:16 1f1c1a5573a3: Download complete 01:54:16 7264a8db6415: Pull complete 01:54:16 b5e4710f87ac: Verifying Checksum 01:54:16 b5e4710f87ac: Download complete 01:54:16 c4d48a809fc2: Pull complete 01:54:16 4f1c88b9dad5: Verifying Checksum 01:54:16 4f1c88b9dad5: Download complete 01:54:17 ce7588e14bc9: Verifying Checksum 01:54:17 ce7588e14bc9: Download complete 01:54:20 4f1c88b9dad5: Pull complete 01:54:20 ad3a456e5733: Pull complete 01:54:20 69c7f0334f64: Pull complete 01:54:20 1f1c1a5573a3: Pull complete 01:54:22 ce7588e14bc9: Pull complete 01:54:23 b5e4710f87ac: Pull complete 01:54:23 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:54:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:54:23 ---> 88b5674ff536 01:54:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:54:28 ---> Running in 702e68b2c9d2 01:54:28 Removing intermediate container 702e68b2c9d2 01:54:28 ---> fdc413593f4d 01:54:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:54:28 ---> Running in 0763ffab636e 01:54:28 Removing intermediate container 0763ffab636e 01:54:28 ---> 0a5eb33bf974 01:54:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:54:28 ---> Running in bfcd265993c8 01:54:28 Removing intermediate container bfcd265993c8 01:54:28 ---> 48be5e070193 01:54:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:54:28 ---> Running in 0ef2d6bb1c2d 01:54:28 Removing intermediate container 0ef2d6bb1c2d 01:54:28 ---> 4c272a658c69 01:54:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:28 ---> Running in 9f0c15d6a182 01:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:54:29 Still waiting to schedule task 01:54:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:54:29 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:54:29 (2/4) Installing libedit (20221030.3.1-r1) 01:54:29 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:54:29 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:54:29 Executing busybox-1.36.1-r5.trigger 01:54:29 OK: 268 MiB in 56 packages 01:54:29 Removing intermediate container 9f0c15d6a182 01:54:29 ---> 2cecae951ecf 01:54:29 Step 8/12 : WORKDIR /device-mqtt-go 01:54:29 ---> Running in d8088282cd35 01:54:29 Removing intermediate container d8088282cd35 01:54:29 ---> ce16ed44ccbd 01:54:29 Step 9/12 : COPY go.mod vendor* ./ 01:54:30 ---> 37ac0884852b 01:54:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:30 ---> Running in bb5477f76637 01:55:08 Removing intermediate container bb5477f76637 01:55:08 ---> 26aa3ca5e19a 01:55:08 Step 11/12 : COPY . . 01:55:08 ---> 923c3e2858ff 01:55:08 Step 12/12 : RUN $MAKE 01:55:08 ---> Running in 0e864ceb23f7 01:55:08 noop 01:55:08 Removing intermediate container 0e864ceb23f7 01:55:08 ---> 78da47562dd5 01:55:08 Successfully built 78da47562dd5 01:55:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:09 + docker inspect -f . ci-base-image-x86_64 01:55:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:09 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 01:55:09 $ 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:55:09 $ docker top fe89c3a5a10dbc2cdf436d72cdb4dfe7c763a74d93c02ce3a847d0d1cd1894e3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:10 + go version 01:55:10 go version go1.21.0 linux/amd64 [Pipeline] } 01:55:10 $ docker stop --time=1 fe89c3a5a10dbc2cdf436d72cdb4dfe7c763a74d93c02ce3a847d0d1cd1894e3 01:55:11 $ docker rm -f --volumes fe89c3a5a10dbc2cdf436d72cdb4dfe7c763a74d93c02ce3a847d0d1cd1894e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:12 + docker inspect -f . ci-base-image-x86_64 01:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:12 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 01:55:12 $ 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:55:12 $ docker top 1b378053e7c29db15b7e0762184150fee30a30bf2b23f5167c906605a2a7f1a8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:55:13 + make test 01:55:13 go test ./... -coverprofile=coverage.out ./... 01:55:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:55:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:55:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:55:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 01:55:31 go vet ./... 01:55:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:35 ./bin/test-attribution-txt.sh [Pipeline] echo 01:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:55:35 $ docker stop --time=1 1b378053e7c29db15b7e0762184150fee30a30bf2b23f5167c906605a2a7f1a8 01:55:38 $ docker rm -f --volumes 1b378053e7c29db15b7e0762184150fee30a30bf2b23f5167c906605a2a7f1a8 [Pipeline] // withDockerContainer [Pipeline] sh 01:55:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:55:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:55:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:40 + ls -al . 01:55:40 total 184 01:55:40 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 01:55 . 01:55:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 01:53 .. 01:55:40 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 01:53 .dockerignore 01:55:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 01:55 .git 01:55:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:53 .github 01:55:40 -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 01:53 .gitignore 01:55:40 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 01:53 .golangci.yml 01:55:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 01:54 .semver 01:55:40 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 29 01:53 Attribution.txt 01:55:40 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 29 01:53 CHANGELOG.md 01:55:40 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 29 01:53 Dockerfile 01:55:40 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 01:53 GOVERNANCE.md 01:55:40 -rw-rw-r-- 1 jenkins jenkins 657 Nov 29 01:53 Jenkinsfile 01:55:40 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 01:53 LICENSE 01:55:40 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 29 01:53 Makefile 01:55:40 -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 01:53 OWNERS.md 01:55:40 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 29 01:53 README.md 01:55:40 -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 01:54 VERSION 01:55:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 01:53 bin 01:55:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:53 cmd 01:55:40 -rw-r--r-- 1 jenkins jenkins 18506 Nov 29 01:55 coverage.out 01:55:40 -rw-rw-r-- 1 jenkins jenkins 3817 Nov 29 01:53 go.mod 01:55:40 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 01:53 go.sum 01:55:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:53 internal 01:55:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 01:53 mock 01:55:40 -rw-rw-r-- 1 jenkins jenkins 227 Nov 29 01:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:40 + 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=00d7df9bfc12085a417893dc2a73ff3105929001 --label arch=amd64 --label version=3.2.0-dev.2 . 01:55:40 Sending build context to Docker daemon 17.32MB 01:55:40 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:55:40 Step 2/25 : FROM ${BASE} AS builder 01:55:40 ---> 78da47562dd5 01:55:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:55:40 ---> Running in e974ee2dd0cb 01:55:40 Removing intermediate container e974ee2dd0cb 01:55:40 ---> e77ea7537d5b 01:55:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:40 ---> Running in 536e8950b479 01:55:41 Removing intermediate container 536e8950b479 01:55:41 ---> 762319cf04fe 01:55:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:55:41 ---> Running in 907f79ac595a 01:55:41 Removing intermediate container 907f79ac595a 01:55:41 ---> 46977539ae03 01:55:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:55:41 ---> Running in fa34a7216c95 01:55:41 Removing intermediate container fa34a7216c95 01:55:41 ---> d22f9c582754 01:55:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:41 ---> Running in 3c34e2e1b2f9 01:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:55:41 OK: 268 MiB in 56 packages 01:55:42 Removing intermediate container 3c34e2e1b2f9 01:55:42 ---> 9f7f9221bb13 01:55:42 Step 8/25 : WORKDIR /device-mqtt-go 01:55:42 ---> Running in ff325c477254 01:55:42 Removing intermediate container ff325c477254 01:55:42 ---> e01d58847e3a 01:55:42 Step 9/25 : COPY go.mod vendor* ./ 01:55:42 ---> 50142fa4bf36 01:55:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:42 ---> Running in 395a836ccc04 01:55:43 Removing intermediate container 395a836ccc04 01:55:43 ---> 4c56aff561e3 01:55:43 Step 11/25 : COPY . . 01:55:43 ---> 6e6e47d23a16 01:55:43 Step 12/25 : RUN $MAKE 01:55:43 ---> Running in 88825d479d6e 01:55:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:56:06 Removing intermediate container 88825d479d6e 01:56:06 ---> 9ca3582ad4f4 01:56:06 Step 13/25 : FROM alpine:3.18 01:56:06 3.18: Pulling from library/alpine 01:56:06 96526aa774ef: Pulling fs layer 01:56:06 96526aa774ef: Download complete 01:56:06 96526aa774ef: Pull complete 01:56:06 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:56:06 Status: Downloaded newer image for alpine:3.18 01:56:06 ---> 8ca4688f4f35 01:56:06 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:56:06 ---> Running in 99dfb2395c5e 01:56:06 Removing intermediate container 99dfb2395c5e 01:56:06 ---> 980836521c95 01:56:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:56:06 ---> Running in a1199a62e5b3 01:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:56:06 (1/1) Installing dumb-init (1.2.5-r2) 01:56:06 Executing busybox-1.36.1-r2.trigger 01:56:06 OK: 7 MiB in 16 packages 01:56:06 Removing intermediate container a1199a62e5b3 01:56:06 ---> 1d31cff4172d 01:56:06 Step 16/25 : RUN apk --no-cache upgrade 01:56:06 ---> Running in dd2a85e0dac4 01:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:56:06 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 01:56:07 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 01:56:07 Executing busybox-1.36.1-r5.post-upgrade 01:56:07 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 01:56:07 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 01:56:07 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 01:56:07 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 01:56:07 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 01:56:07 Executing busybox-1.36.1-r5.trigger 01:56:07 OK: 7 MiB in 16 packages 01:56:07 Removing intermediate container dd2a85e0dac4 01:56:07 ---> 8644e3174021 01:56:07 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:56:08 ---> d9d52f4eb4b3 01:56:08 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:56:08 ---> 7aa47606b004 01:56:08 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:56:08 ---> 7f050dabe616 01:56:08 Step 20/25 : EXPOSE 59982 01:56:08 ---> Running in 4577f258a806 01:56:08 Removing intermediate container 4577f258a806 01:56:08 ---> 62bf337dbc9d 01:56:08 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:56:08 ---> Running in 16eee518d14c 01:56:08 Removing intermediate container 16eee518d14c 01:56:08 ---> 45e2bc252ff5 01:56:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:56:08 ---> Running in eed4b072bae9 01:56:08 Removing intermediate container eed4b072bae9 01:56:08 ---> a880c2dbe2a2 01:56:08 Step 23/25 : LABEL arch=amd64 01:56:09 ---> Running in 9ed37fb20346 01:56:09 Removing intermediate container 9ed37fb20346 01:56:09 ---> 906258a3612a 01:56:09 Step 24/25 : LABEL git_sha=00d7df9bfc12085a417893dc2a73ff3105929001 01:56:09 ---> Running in f8c15a7e3af7 01:56:09 Removing intermediate container f8c15a7e3af7 01:56:09 ---> 53f616a94e77 01:56:09 Step 25/25 : LABEL version=3.2.0-dev.2 01:56:09 ---> Running in 4cfbf6b6dc9a 01:56:09 Removing intermediate container 4cfbf6b6dc9a 01:56:09 ---> 310dc3a3fa2f 01:56:09 [Warning] One or more build-args [ARCH] were not consumed 01:56:09 Successfully built 310dc3a3fa2f 01:56:09 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:56:09 provisioning config files... 01:56:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9453639015785116900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:10 ---> ****-login.sh 01:56:10 nexus3.edgexfoundry.org:10001 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 nexus3.edgexfoundry.org:10002 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 nexus3.edgexfoundry.org:10003 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 nexus3.edgexfoundry.org:10004 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 ****.io 01:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:10 Configure a credential helper to remove this warning. See 01:56:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:10 01:56:10 Login Succeeded 01:56:10 ---> ****-login.sh ends [Pipeline] } 01:56:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:11 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:56:11 00d7df9bfc12085a417893dc2a73ff3105929001 01:56:11 latest 01:56:11 3.2.0-dev.2 01:56:11 00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 01:56:11 main 01:56:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:00d7df9bfc12085a417893dc2a73ff3105929001 01:56:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:56:11 ad8822360f8f: Preparing 01:56:11 47eaf77fb5f3: Preparing 01:56:11 fa2ba80d89a0: Preparing 01:56:11 260165b68d05: Preparing 01:56:11 b5c5c0a1657e: Preparing 01:56:11 cc2447e1835a: Preparing 01:56:11 cc2447e1835a: Waiting 01:56:11 ad8822360f8f: Pushed 01:56:11 47eaf77fb5f3: Pushed 01:56:11 b5c5c0a1657e: Pushed 01:56:11 cc2447e1835a: Layer already exists 01:56:12 260165b68d05: Pushed 01:56:15 fa2ba80d89a0: Pushed 01:56:15 00d7df9bfc12085a417893dc2a73ff3105929001: digest: sha256:c220ed8de75fd980f6ed4ea9032d3726f894b1e8b55ccdc421cd9c71c6a045fc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:56:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:56:15 ad8822360f8f: Preparing 01:56:15 47eaf77fb5f3: Preparing 01:56:15 fa2ba80d89a0: Preparing 01:56:15 260165b68d05: Preparing 01:56:15 b5c5c0a1657e: Preparing 01:56:15 cc2447e1835a: Preparing 01:56:15 47eaf77fb5f3: Layer already exists 01:56:15 b5c5c0a1657e: Layer already exists 01:56:15 ad8822360f8f: Layer already exists 01:56:15 fa2ba80d89a0: Layer already exists 01:56:15 260165b68d05: Layer already exists 01:56:15 cc2447e1835a: Layer already exists 01:56:15 latest: digest: sha256:c220ed8de75fd980f6ed4ea9032d3726f894b1e8b55ccdc421cd9c71c6a045fc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.2 01:56:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:56:16 ad8822360f8f: Preparing 01:56:16 47eaf77fb5f3: Preparing 01:56:16 fa2ba80d89a0: Preparing 01:56:16 260165b68d05: Preparing 01:56:16 b5c5c0a1657e: Preparing 01:56:16 cc2447e1835a: Preparing 01:56:16 cc2447e1835a: Waiting 01:56:16 260165b68d05: Layer already exists 01:56:16 b5c5c0a1657e: Layer already exists 01:56:16 fa2ba80d89a0: Layer already exists 01:56:16 47eaf77fb5f3: Layer already exists 01:56:16 ad8822360f8f: Layer already exists 01:56:16 cc2447e1835a: Layer already exists 01:56:16 3.2.0-dev.2: digest: sha256:c220ed8de75fd980f6ed4ea9032d3726f894b1e8b55ccdc421cd9c71c6a045fc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 01:56:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:56:17 ad8822360f8f: Preparing 01:56:17 47eaf77fb5f3: Preparing 01:56:17 fa2ba80d89a0: Preparing 01:56:17 260165b68d05: Preparing 01:56:17 b5c5c0a1657e: Preparing 01:56:17 cc2447e1835a: Preparing 01:56:17 cc2447e1835a: Waiting 01:56:17 ad8822360f8f: Layer already exists 01:56:17 fa2ba80d89a0: Layer already exists 01:56:17 260165b68d05: Layer already exists 01:56:17 b5c5c0a1657e: Layer already exists 01:56:17 47eaf77fb5f3: Layer already exists 01:56:17 cc2447e1835a: Layer already exists 01:56:17 00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2: digest: sha256:c220ed8de75fd980f6ed4ea9032d3726f894b1e8b55ccdc421cd9c71c6a045fc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:56:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:56:18 ad8822360f8f: Preparing 01:56:18 47eaf77fb5f3: Preparing 01:56:18 fa2ba80d89a0: Preparing 01:56:18 260165b68d05: Preparing 01:56:18 b5c5c0a1657e: Preparing 01:56:18 cc2447e1835a: Preparing 01:56:18 cc2447e1835a: Waiting 01:56:18 fa2ba80d89a0: Layer already exists 01:56:18 ad8822360f8f: Layer already exists 01:56:18 b5c5c0a1657e: Layer already exists 01:56:18 47eaf77fb5f3: Layer already exists 01:56:18 260165b68d05: Layer already exists 01:56:18 cc2447e1835a: Layer already exists 01:56:18 main: digest: sha256:c220ed8de75fd980f6ed4ea9032d3726f894b1e8b55ccdc421cd9c71c6a045fc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:18 ===================================================== [Pipeline] echo 01:56:18 taggedImages: 01:56:18 - nexus3.edgexfoundry.org:10004/device-mqtt:00d7df9bfc12085a417893dc2a73ff3105929001 01:56:18 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:56:18 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.2 01:56:18 - nexus3.edgexfoundry.org:10004/device-mqtt:00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 01:56:18 - 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:56:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:19 01:56:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:19 latest: Pulling from edgex-lftools-log-publisher 01:56:19 5eb5b503b376: Pulling fs layer 01:56:19 5c69ac0246d0: Pulling fs layer 01:56:19 ec43610c2a17: Pulling fs layer 01:56:19 3a2ae6a8a46f: Pulling fs layer 01:56:19 33b1e0a273af: Pulling fs layer 01:56:19 5d3b04190fa2: Pulling fs layer 01:56:19 2f39f015ded8: Pulling fs layer 01:56:19 3a2ae6a8a46f: Waiting 01:56:19 33b1e0a273af: Waiting 01:56:19 5d3b04190fa2: Waiting 01:56:19 2f39f015ded8: Waiting 01:56:19 5c69ac0246d0: Download complete 01:56:19 3a2ae6a8a46f: Download complete 01:56:19 33b1e0a273af: Verifying Checksum 01:56:19 33b1e0a273af: Download complete 01:56:19 ec43610c2a17: Download complete 01:56:19 5d3b04190fa2: Verifying Checksum 01:56:19 5d3b04190fa2: Download complete 01:56:19 5eb5b503b376: Download complete 01:56:20 2f39f015ded8: Verifying Checksum 01:56:20 2f39f015ded8: Download complete 01:56:21 5eb5b503b376: Pull complete 01:56:21 5c69ac0246d0: Pull complete 01:56:21 ec43610c2a17: Pull complete 01:56:21 3a2ae6a8a46f: Pull complete 01:56:21 33b1e0a273af: Pull complete 01:56:22 5d3b04190fa2: Pull complete 01:56:26 2f39f015ded8: Pull complete 01:56:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:26 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 01:56:26 $ 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:56:30 $ docker top cebebdc4961fb495088e5a1db660430a6ad7413821d097f13970409f68adae3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:31 ---> job-cost.sh 01:56:31 lf-activate-venv: SKIPPING 01:56:31 INFO: No Stack... 01:56:31 INFO: Retrieving Pricing Info for: v3-standard-8 01:56:32 INFO: Archiving Costs [Pipeline] sh 01:56:32 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:56:32 + cut -d, -f6 [Pipeline] lock 01:56:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] 01:56:32 Resource [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] did not exist. Created. 01:56:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:56:32 + echo total: 0.2199999988079071 [Pipeline] stash 01:56:32 Stashed 1 file(s) [Pipeline] } 01:56:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 01:56:32 $ docker stop --time=1 cebebdc4961fb495088e5a1db660430a6ad7413821d097f13970409f68adae3d 01:56:34 $ docker rm -f --volumes cebebdc4961fb495088e5a1db660430a6ad7413821d097f13970409f68adae3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9075 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:01:09 Running in /w/workspace/device-mqtt-go/155 [Pipeline] { [Pipeline] checkout 02:01:12 The recommended git tool is: git 02:01:17 using credential edgex-jenkins-ssh 02:01:17 Cloning the remote Git repository 02:01:17 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:01:17 > git init /w/workspace/device-mqtt-go/155 # timeout=10 02:01:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:01:17 > git --version # timeout=10 02:01:17 > git --version # 'git version 2.25.1' 02:01:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:01:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:21 Avoid second fetch 02:01:21 Checking out Revision 00d7df9bfc12085a417893dc2a73ff3105929001 (main) 02:01:22 Commit message: "build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#650)" 02:01:21 > git config core.sparsecheckout # timeout=10 02:01:21 > git checkout -f 00d7df9bfc12085a417893dc2a73ff3105929001 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:01:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:23 Dload Upload Total Spent Left Speed 02:01:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93940 0 --:--:-- --:--:-- --:--:-- 93940 [Pipeline] sh 02:01:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:01:24 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 02:01:24 /etc/docker/daemon.json 02:01:24 { 02:01:24 "registry-mirrors": [ 02:01:24 "https://nexus3.edgexfoundry.org:10001" 02:01:24 ], 02:01:24 "bip": "10.250.0.254/24", 02:01:24 "hosts": [ 02:01:24 "tcp://0.0.0.0:5555", 02:01:24 "unix:///var/run/docker.sock" 02:01:24 ], 02:01:24 "mtu": 1458, 02:01:24 "selinux-enabled": true, 02:01:24 "seccomp-profile": "/etc/docker/seccomp.json" 02:01:24 } [Pipeline] sh 02:01:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:01:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:43 provisioning config files... 02:01:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/155@tmp/config11299503655260653844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:43 ---> ****-login.sh 02:01:43 nexus3.edgexfoundry.org:10001 02:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:44 Configure a credential helper to remove this warning. See 02:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:44 02:01:44 Login Succeeded 02:01:44 nexus3.edgexfoundry.org:10002 02:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:44 Configure a credential helper to remove this warning. See 02:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:44 02:01:44 Login Succeeded 02:01:44 nexus3.edgexfoundry.org:10003 02:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:45 Configure a credential helper to remove this warning. See 02:01:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:45 02:01:45 Login Succeeded 02:01:45 nexus3.edgexfoundry.org:10004 02:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:45 Configure a credential helper to remove this warning. See 02:01:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:45 02:01:45 Login Succeeded 02:01:45 ****.io 02:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:46 Configure a credential helper to remove this warning. See 02:01:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:46 02:01:46 Login Succeeded 02:01:46 ---> ****-login.sh ends [Pipeline] } 02:01:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:01:46 ========================================================= 02:01:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:01:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:47 + 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 . 02:01:49 Sending build context to Docker daemon 8.752MB 02:01:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:01:49 Step 2/12 : FROM ${BASE} AS builder 02:01:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:01:50 9fda8d8052c6: Pulling fs layer 02:01:50 5d54e960e981: Pulling fs layer 02:01:50 c4a7e357bf2a: Pulling fs layer 02:01:50 f0e02332f6b5: Pulling fs layer 02:01:50 872ee5b61b7b: Pulling fs layer 02:01:50 0c6a40ed1a82: Pulling fs layer 02:01:50 94ae7d8d031c: Pulling fs layer 02:01:50 872ee5b61b7b: Waiting 02:01:50 0c6a40ed1a82: Waiting 02:01:50 94ae7d8d031c: Waiting 02:01:50 f0e02332f6b5: Waiting 02:01:50 5d54e960e981: Verifying Checksum 02:01:50 f0e02332f6b5: Download complete 02:01:50 872ee5b61b7b: Verifying Checksum 02:01:50 872ee5b61b7b: Download complete 02:01:50 9fda8d8052c6: Download complete 02:01:50 94ae7d8d031c: Verifying Checksum 02:01:50 94ae7d8d031c: Download complete 02:01:51 9fda8d8052c6: Pull complete 02:01:51 5d54e960e981: Pull complete 02:01:51 c4a7e357bf2a: Verifying Checksum 02:01:51 c4a7e357bf2a: Download complete 02:01:53 0c6a40ed1a82: Verifying Checksum 02:01:53 0c6a40ed1a82: Download complete 02:02:05 c4a7e357bf2a: Pull complete 02:02:05 f0e02332f6b5: Pull complete 02:02:05 872ee5b61b7b: Pull complete 02:02:12 0c6a40ed1a82: Pull complete 02:02:13 94ae7d8d031c: Pull complete 02:02:13 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:02:13 ---> 86de565de09d 02:02:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:02:15 ---> Running in 6a72266b791d 02:02:15 Removing intermediate container 6a72266b791d 02:02:15 ---> 0aa2b436f82d 02:02:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:15 ---> Running in 2c9285485822 02:02:15 Removing intermediate container 2c9285485822 02:02:15 ---> 7740bde767cc 02:02:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:16 ---> Running in ea79187e5adb 02:02:16 Removing intermediate container ea79187e5adb 02:02:16 ---> f3221a58dec5 02:02:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:02:16 ---> Running in 30526c3d3cad 02:02:16 Removing intermediate container 30526c3d3cad 02:02:16 ---> c77cdfec1710 02:02:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:17 ---> Running in 89f3b3e08972 02:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:02:19 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:02:19 (2/4) Installing libedit (20221030.3.1-r1) 02:02:19 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:02:19 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:02:19 Executing busybox-1.36.1-r5.trigger 02:02:19 OK: 271 MiB in 56 packages 02:02:20 Removing intermediate container 89f3b3e08972 02:02:20 ---> 4bf7c70a31ea 02:02:20 Step 8/12 : WORKDIR /device-mqtt-go 02:02:20 ---> Running in f27a43b1a169 02:02:21 Removing intermediate container f27a43b1a169 02:02:21 ---> ea9c14e8623e 02:02:21 Step 9/12 : COPY go.mod vendor* ./ 02:02:21 ---> d477f19d0b58 02:02:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:21 ---> Running in 767904bf3e27 02:03:43 Removing intermediate container 767904bf3e27 02:03:43 ---> 0b9f849a7e67 02:03:43 Step 11/12 : COPY . . 02:03:43 ---> e0386485e5e1 02:03:43 Step 12/12 : RUN $MAKE 02:03:43 ---> Running in 50d646247b1f 02:03:43 noop 02:03:43 Removing intermediate container 50d646247b1f 02:03:43 ---> 638107d733ee 02:03:43 Successfully built 638107d733ee 02:03:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:44 + docker inspect -f . ci-base-image-arm64 02:03:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:44 prd-ubuntu20.04-docker-arm64-4c-16g-9075 does not seem to be running inside a container 02:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/155 -v /w/workspace/device-mqtt-go/155:/w/workspace/device-mqtt-go/155:rw,z -v /w/workspace/device-mqtt-go/155@tmp:/w/workspace/device-mqtt-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:03:45 $ docker top 396d25c5ef7db3a48fe1c0645f5a45bad8d44f1596df7aabebad066bd3f7c8a4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:46 + go version 02:03:46 go version go1.21.0 linux/arm64 [Pipeline] } 02:03:46 $ docker stop --time=1 396d25c5ef7db3a48fe1c0645f5a45bad8d44f1596df7aabebad066bd3f7c8a4 02:03:48 $ docker rm -f --volumes 396d25c5ef7db3a48fe1c0645f5a45bad8d44f1596df7aabebad066bd3f7c8a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:49 + docker inspect -f . ci-base-image-arm64 02:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:49 prd-ubuntu20.04-docker-arm64-4c-16g-9075 does not seem to be running inside a container 02:03:49 $ 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/155 -v /w/workspace/device-mqtt-go/155:/w/workspace/device-mqtt-go/155:rw,z -v /w/workspace/device-mqtt-go/155@tmp:/w/workspace/device-mqtt-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:03:50 $ docker top 82e7e35a39a9fc115db5332ae684456fec44d07687a1fbb37e28b79b7c1cf4c0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:51 + git config --global --add safe.directory /w/workspace/device-mqtt-go/155 [Pipeline] fileExists [Pipeline] sh 02:03:51 + make test 02:03:51 go test ./... -coverprofile=coverage.out ./... 02:03:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:05:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:05:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:05:32 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements 02:05:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:05:32 go vet ./... 02:05:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:05:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:05:51 ./bin/test-attribution-txt.sh [Pipeline] echo 02:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:05:51 $ docker stop --time=1 82e7e35a39a9fc115db5332ae684456fec44d07687a1fbb37e28b79b7c1cf4c0 02:05:53 $ docker rm -f --volumes 82e7e35a39a9fc115db5332ae684456fec44d07687a1fbb37e28b79b7c1cf4c0 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:05:54 Warning: overwriting stash ‘coverage-report’ 02:05:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:05:59 + ls -al . 02:05:59 total 180 02:05:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 02:03 . 02:05:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 02:01 .. 02:05:59 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 02:01 .dockerignore 02:05:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 02:01 .git 02:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:01 .github 02:05:59 -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 02:01 .gitignore 02:05:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 02:01 .golangci.yml 02:05:59 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 29 02:01 Attribution.txt 02:05:59 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 29 02:01 CHANGELOG.md 02:05:59 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 29 02:01 Dockerfile 02:05:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 02:01 GOVERNANCE.md 02:05:59 -rw-rw-r-- 1 jenkins jenkins 657 Nov 29 02:01 Jenkinsfile 02:05:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 02:01 LICENSE 02:05:59 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 29 02:01 Makefile 02:05:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 02:01 OWNERS.md 02:05:59 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 29 02:01 README.md 02:05:59 -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 01:54 VERSION 02:05:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 02:01 bin 02:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:01 cmd 02:05:59 -rw-r--r-- 1 jenkins jenkins 18506 Nov 29 02:05 coverage.out 02:05:59 -rw-rw-r-- 1 jenkins jenkins 3817 Nov 29 02:01 go.mod 02:05:59 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 02:01 go.sum 02:05:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 02:01 internal 02:05:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 02:01 mock 02:05:59 -rw-rw-r-- 1 jenkins jenkins 227 Nov 29 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:59 + 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=00d7df9bfc12085a417893dc2a73ff3105929001 --label arch=arm64 --label version=3.2.0-dev.2 . 02:06:00 Sending build context to Docker daemon 8.772MB 02:06:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:06:00 Step 2/25 : FROM ${BASE} AS builder 02:06:00 ---> 638107d733ee 02:06:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:06:00 ---> Running in 20f45db8139a 02:06:00 Removing intermediate container 20f45db8139a 02:06:00 ---> fec12108f9af 02:06:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:00 ---> Running in 50a23cc15a33 02:06:01 Removing intermediate container 50a23cc15a33 02:06:01 ---> 0d319cf863d1 02:06:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:01 ---> Running in 871f50d481fd 02:06:01 Removing intermediate container 871f50d481fd 02:06:01 ---> 3b41d27ee667 02:06:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:06:02 ---> Running in 13afddde62a0 02:06:02 Removing intermediate container 13afddde62a0 02:06:02 ---> 88293338b4a0 02:06:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:02 ---> Running in 761b55cbb330 02:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:06:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:06:05 OK: 271 MiB in 56 packages 02:06:06 Removing intermediate container 761b55cbb330 02:06:06 ---> 9faca6143014 02:06:06 Step 8/25 : WORKDIR /device-mqtt-go 02:06:06 ---> Running in 66274911b1d5 02:06:06 Removing intermediate container 66274911b1d5 02:06:06 ---> f112184ac5c6 02:06:06 Step 9/25 : COPY go.mod vendor* ./ 02:06:08 ---> ae52b8b71a85 02:06:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:08 ---> Running in 2e256aa41161 02:06:13 Removing intermediate container 2e256aa41161 02:06:13 ---> 970a26235bf4 02:06:13 Step 11/25 : COPY . . 02:06:14 ---> 824ea75f70c7 02:06:14 Step 12/25 : RUN $MAKE 02:06:14 ---> Running in e52c93a32295 02:06:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:08:07 Removing intermediate container e52c93a32295 02:08:07 ---> 64a6840a73c4 02:08:07 Step 13/25 : FROM alpine:3.18 02:08:07 3.18: Pulling from library/alpine 02:08:07 579b34f0a95b: Pulling fs layer 02:08:07 579b34f0a95b: Verifying Checksum 02:08:07 579b34f0a95b: Download complete 02:08:07 579b34f0a95b: Pull complete 02:08:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 02:08:07 Status: Downloaded newer image for alpine:3.18 02:08:07 ---> 3cc203321400 02:08:07 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:08:07 ---> Running in ec39d1e57691 02:08:07 Removing intermediate container ec39d1e57691 02:08:07 ---> 71a1607b3467 02:08:07 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:08:07 ---> Running in 8fda3f04ddcd 02:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:08:10 (1/1) Installing dumb-init (1.2.5-r2) 02:08:10 Executing busybox-1.36.1-r2.trigger 02:08:10 OK: 8 MiB in 16 packages 02:08:11 Removing intermediate container 8fda3f04ddcd 02:08:11 ---> c2b3887a4694 02:08:11 Step 16/25 : RUN apk --no-cache upgrade 02:08:11 ---> Running in d4bcb934545f 02:08:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:08:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:08:13 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 02:08:13 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 02:08:13 Executing busybox-1.36.1-r5.post-upgrade 02:08:13 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 02:08:13 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 02:08:13 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 02:08:13 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 02:08:13 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 02:08:13 Executing busybox-1.36.1-r5.trigger 02:08:13 OK: 8 MiB in 16 packages 02:08:15 Removing intermediate container d4bcb934545f 02:08:15 ---> 670a6906fbba 02:08:15 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:08:16 ---> f4a766200171 02:08:16 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:08:17 ---> a4454d3b34f0 02:08:17 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:08:17 ---> 627d465e9e64 02:08:17 Step 20/25 : EXPOSE 59982 02:08:17 ---> Running in 6ada9ae5e4b2 02:08:18 Removing intermediate container 6ada9ae5e4b2 02:08:18 ---> 9eae6f188844 02:08:18 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:08:18 ---> Running in 99c597bc9968 02:08:18 Removing intermediate container 99c597bc9968 02:08:18 ---> aae97d9865bb 02:08:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:08:18 ---> Running in b09170b1f61f 02:08:18 Removing intermediate container b09170b1f61f 02:08:18 ---> 877868036ee4 02:08:18 Step 23/25 : LABEL arch=arm64 02:08:18 ---> Running in b827eff6b48c 02:08:19 Removing intermediate container b827eff6b48c 02:08:19 ---> d1ba7009c0df 02:08:19 Step 24/25 : LABEL git_sha=00d7df9bfc12085a417893dc2a73ff3105929001 02:08:19 ---> Running in c572de1f0c42 02:08:19 Removing intermediate container c572de1f0c42 02:08:19 ---> 779c194cee12 02:08:19 Step 25/25 : LABEL version=3.2.0-dev.2 02:08:19 ---> Running in 4d4a236225f6 02:08:19 Removing intermediate container 4d4a236225f6 02:08:19 ---> 539c4c138c41 02:08:19 [Warning] One or more build-args [ARCH] were not consumed 02:08:19 Successfully built 539c4c138c41 02:08:19 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:08:20 provisioning config files... 02:08:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/155@tmp/config15309131707522000717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:08:20 ---> ****-login.sh 02:08:20 nexus3.edgexfoundry.org:10001 02:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:21 Configure a credential helper to remove this warning. See 02:08:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:21 02:08:21 Login Succeeded 02:08:21 nexus3.edgexfoundry.org:10002 02:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:21 Configure a credential helper to remove this warning. See 02:08:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:21 02:08:21 Login Succeeded 02:08:21 nexus3.edgexfoundry.org:10003 02:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:22 Configure a credential helper to remove this warning. See 02:08:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:22 02:08:22 Login Succeeded 02:08:22 nexus3.edgexfoundry.org:10004 02:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:22 Configure a credential helper to remove this warning. See 02:08:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:22 02:08:22 Login Succeeded 02:08:22 ****.io 02:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:22 Configure a credential helper to remove this warning. See 02:08:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:22 02:08:22 Login Succeeded 02:08:22 ---> ****-login.sh ends [Pipeline] } 02:08:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:08:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:08:23 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:08:23 00d7df9bfc12085a417893dc2a73ff3105929001 02:08:23 latest 02:08:23 3.2.0-dev.2 02:08:23 00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 02:08:23 main 02:08:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:00d7df9bfc12085a417893dc2a73ff3105929001 02:08:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:08:24 177f7fae4296: Preparing 02:08:24 56013f22c2d3: Preparing 02:08:24 978766063784: Preparing 02:08:24 cf4f3520015c: Preparing 02:08:24 f9ee7e9c5031: Preparing 02:08:24 5f4d9fc4d98d: Preparing 02:08:24 5f4d9fc4d98d: Waiting 02:08:24 f9ee7e9c5031: Pushed 02:08:24 177f7fae4296: Pushed 02:08:24 56013f22c2d3: Pushed 02:08:24 5f4d9fc4d98d: Layer already exists 02:08:25 cf4f3520015c: Pushed 02:08:30 978766063784: Pushed 02:08:30 00d7df9bfc12085a417893dc2a73ff3105929001: digest: sha256:cc37199017c9f6429082038f2b7a07d2260d114f031482b17f96915819dd19bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:08:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:08:31 177f7fae4296: Preparing 02:08:31 56013f22c2d3: Preparing 02:08:31 978766063784: Preparing 02:08:31 cf4f3520015c: Preparing 02:08:31 f9ee7e9c5031: Preparing 02:08:31 5f4d9fc4d98d: Preparing 02:08:31 5f4d9fc4d98d: Waiting 02:08:31 978766063784: Layer already exists 02:08:31 56013f22c2d3: Layer already exists 02:08:31 cf4f3520015c: Layer already exists 02:08:31 f9ee7e9c5031: Layer already exists 02:08:31 177f7fae4296: Layer already exists 02:08:31 5f4d9fc4d98d: Layer already exists 02:08:31 latest: digest: sha256:cc37199017c9f6429082038f2b7a07d2260d114f031482b17f96915819dd19bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.2 02:08:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:08:36 177f7fae4296: Preparing 02:08:36 56013f22c2d3: Preparing 02:08:36 978766063784: Preparing 02:08:36 cf4f3520015c: Preparing 02:08:36 f9ee7e9c5031: Preparing 02:08:36 5f4d9fc4d98d: Preparing 02:08:36 5f4d9fc4d98d: Waiting 02:08:36 f9ee7e9c5031: Layer already exists 02:08:36 cf4f3520015c: Layer already exists 02:08:36 177f7fae4296: Layer already exists 02:08:36 978766063784: Layer already exists 02:08:36 56013f22c2d3: Layer already exists 02:08:36 5f4d9fc4d98d: Layer already exists 02:08:36 3.2.0-dev.2: digest: sha256:cc37199017c9f6429082038f2b7a07d2260d114f031482b17f96915819dd19bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 02:08:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:08:37 177f7fae4296: Preparing 02:08:37 56013f22c2d3: Preparing 02:08:37 978766063784: Preparing 02:08:37 cf4f3520015c: Preparing 02:08:37 f9ee7e9c5031: Preparing 02:08:37 5f4d9fc4d98d: Preparing 02:08:37 5f4d9fc4d98d: Waiting 02:08:37 56013f22c2d3: Layer already exists 02:08:37 cf4f3520015c: Layer already exists 02:08:37 978766063784: Layer already exists 02:08:37 177f7fae4296: Layer already exists 02:08:37 f9ee7e9c5031: Layer already exists 02:08:37 5f4d9fc4d98d: Layer already exists 02:08:38 00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2: digest: sha256:cc37199017c9f6429082038f2b7a07d2260d114f031482b17f96915819dd19bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:08:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:08:39 177f7fae4296: Preparing 02:08:39 56013f22c2d3: Preparing 02:08:39 978766063784: Preparing 02:08:39 cf4f3520015c: Preparing 02:08:39 f9ee7e9c5031: Preparing 02:08:39 5f4d9fc4d98d: Preparing 02:08:39 5f4d9fc4d98d: Waiting 02:08:39 177f7fae4296: Layer already exists 02:08:39 56013f22c2d3: Layer already exists 02:08:39 f9ee7e9c5031: Layer already exists 02:08:39 cf4f3520015c: Layer already exists 02:08:39 978766063784: Layer already exists 02:08:39 5f4d9fc4d98d: Layer already exists 02:08:39 main: digest: sha256:cc37199017c9f6429082038f2b7a07d2260d114f031482b17f96915819dd19bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:08:39 ===================================================== [Pipeline] echo 02:08:39 taggedImages: 02:08:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:00d7df9bfc12085a417893dc2a73ff3105929001 02:08:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:08:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.2 02:08:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:00d7df9bfc12085a417893dc2a73ff3105929001-3.2.0-dev.2 02:08:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:08:40 02:08:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:08:40 arm64: Pulling from edgex-lftools-log-publisher 02:08:40 8998bd30e6a1: Pulling fs layer 02:08:40 04944245beec: Pulling fs layer 02:08:40 699f458cf7ca: Pulling fs layer 02:08:40 765212b225bb: Pulling fs layer 02:08:40 f23df028b6ca: Pulling fs layer 02:08:40 d65c8cfc05b1: Pulling fs layer 02:08:40 2437ff75d9bd: Pulling fs layer 02:08:40 765212b225bb: Waiting 02:08:40 f23df028b6ca: Waiting 02:08:40 d65c8cfc05b1: Waiting 02:08:40 2437ff75d9bd: Waiting 02:08:41 04944245beec: Verifying Checksum 02:08:41 04944245beec: Download complete 02:08:41 765212b225bb: Verifying Checksum 02:08:41 765212b225bb: Download complete 02:08:41 f23df028b6ca: Verifying Checksum 02:08:41 f23df028b6ca: Download complete 02:08:41 d65c8cfc05b1: Verifying Checksum 02:08:41 d65c8cfc05b1: Download complete 02:08:41 699f458cf7ca: Verifying Checksum 02:08:41 699f458cf7ca: Download complete 02:08:41 8998bd30e6a1: Verifying Checksum 02:08:41 8998bd30e6a1: Download complete 02:08:44 2437ff75d9bd: Verifying Checksum 02:08:44 2437ff75d9bd: Download complete 02:08:46 8998bd30e6a1: Pull complete 02:08:47 04944245beec: Pull complete 02:08:49 699f458cf7ca: Pull complete 02:08:49 765212b225bb: Pull complete 02:08:50 f23df028b6ca: Pull complete 02:08:50 d65c8cfc05b1: Pull complete 02:09:12 2437ff75d9bd: Pull complete 02:09:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:12 prd-ubuntu20.04-docker-arm64-4c-16g-9075 does not seem to be running inside a container 02:09:12 $ 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/155 -v /w/workspace/device-mqtt-go/155:/w/workspace/device-mqtt-go/155:rw,z -v /w/workspace/device-mqtt-go/155@tmp:/w/workspace/device-mqtt-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:09:15 $ docker top bb2ceef4964159245e4f5a0fe6f527836117c834e32f7624b98082ba3102bfcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:16 ---> job-cost.sh 02:09:16 lf-activate-venv: SKIPPING 02:09:16 INFO: No Stack... 02:09:16 INFO: Retrieving Pricing Info for: v3-standard-4 02:09:17 INFO: Archiving Costs [Pipeline] sh 02:09:18 + cat /w/workspace/device-mqtt-go/155/archives/cost.csv 02:09:18 + cut -d, -f6 [Pipeline] lock 02:09:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] 02:09:18 Resource [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] did not exist. Created. 02:09:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:09:18 /w/workspace/device-mqtt-go/155@tmp/durable-8ba223cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:09:19 + echo total: 0.10999999940395355 [Pipeline] stash 02:09:19 Warning: overwriting stash ‘stack-cost’ 02:09:19 Stashed 1 file(s) [Pipeline] } 02:09:19 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 02:09:19 $ docker stop --time=1 bb2ceef4964159245e4f5a0fe6f527836117c834e32f7624b98082ba3102bfcd 02:09:21 $ docker rm -f --volumes bb2ceef4964159245e4f5a0fe6f527836117c834e32f7624b98082ba3102bfcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:09:22 provisioning config files... 02:09:22 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8658200545616952899tmp [Pipeline] { [Pipeline] sh 02:09:23 + set +x 02:09:23 + curl -s https://codecov.io/bash 02:09:23 + bash -s -- 02:09:23 02:09:23 _____ _ 02:09:23 / ____| | | 02:09:23 | | ___ __| | ___ ___ _____ __ 02:09:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:09:23 | |___| (_) | (_| | __/ (_| (_) \ V / 02:09:23 \_____\___/ \__,_|\___|\___\___/ \_/ 02:09:23 Bash-1.0.6 02:09:23 02:09:23 02:09:23 ==> git version 2.25.1 found 02:09:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:09:23 Release-Date: 2020-01-08 02:09:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:09:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:09:23 ==> Jenkins CI detected. 02:09:23 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:09:23 project root: . 02:09:23 --> token set from env 02:09:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:09:23 ==> Running gcov in . (disable via -X gcov) 02:09:23 ==> Python coveragepy not found 02:09:23 ==> Searching for coverage reports in: 02:09:23 + . 02:09:23 -> Found 1 reports 02:09:23 ==> Detecting git/mercurial file structure 02:09:23 ==> Reading reports 02:09:23 + ./coverage.out bytes=18506 02:09:23 ==> Appending adjustments 02:09:23 https://docs.codecov.io/docs/fixing-reports 02:09:23 + Found adjustments 02:09:23 ==> Gzipping contents 02:09:23 4.0K /tmp/codecov.PKyzWW.gz 02:09:23 ==> Uploading reports 02:09:23 url: https://codecov.io 02:09:23 query: branch=main&commit=00d7df9bfc12085a417893dc2a73ff3105929001&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:09:23 -> Pinging Codecov 02:09:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=00d7df9bfc12085a417893dc2a73ff3105929001&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:09:23 -> Uploading to 02:09:23 https://storage.googleapis.com/codecov/v4/raw/2023-11-29/7D719EC7BBE17E464838252E33014C33/00d7df9bfc12085a417893dc2a73ff3105929001/3ef80564-2a65-4596-a9ee-b97f14ccd69b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231129T020923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b86528c469e1273d1157aadd3e3995982000a28a54b7200a251fb5bc4ac1b64 02:09:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:09:23 Dload Upload Total Spent Left Speed 02:09:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12394 --:--:-- --:--:-- --:--:-- 12394 02:09:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] } 02:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:09:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:09:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:09:24 02:09:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:09:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:09:24 df9b9388f04a: Pulling fs layer 02:09:24 52dc419b0ee2: Pulling fs layer 02:09:24 25bc292e5bac: Pulling fs layer 02:09:24 114826534d7a: Pulling fs layer 02:09:24 4657fd5d0bcf: Pulling fs layer 02:09:24 6ad1cebc031e: Pulling fs layer 02:09:24 8a3aa393b2d8: Pulling fs layer 02:09:24 6ad1cebc031e: Waiting 02:09:24 114826534d7a: Waiting 02:09:24 8a3aa393b2d8: Waiting 02:09:24 4657fd5d0bcf: Waiting 02:09:24 25bc292e5bac: Download complete 02:09:24 52dc419b0ee2: Download complete 02:09:24 4657fd5d0bcf: Download complete 02:09:24 df9b9388f04a: Download complete 02:09:25 6ad1cebc031e: Verifying Checksum 02:09:25 6ad1cebc031e: Download complete 02:09:25 df9b9388f04a: Pull complete 02:09:25 52dc419b0ee2: Pull complete 02:09:25 25bc292e5bac: Pull complete 02:09:25 114826534d7a: Verifying Checksum 02:09:25 114826534d7a: Download complete 02:09:25 8a3aa393b2d8: Verifying Checksum 02:09:25 8a3aa393b2d8: Download complete 02:09:29 114826534d7a: Pull complete 02:09:29 4657fd5d0bcf: Pull complete 02:09:29 6ad1cebc031e: Pull complete 02:09:33 8a3aa393b2d8: Pull complete 02:09:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:09:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:33 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 02:09:33 $ 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 02:09:38 $ docker top 65a2117b4c7a215f6b2814481af92cb9756bce7270edb70a32fa4cd7b57b1872 -eo pid,comm [Pipeline] { [Pipeline] echo 02:09:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:09:38 + set -o pipefail 02:09:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:09:44 02:09:44 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:09:44 02:09:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/8c3da5da-e8b1-41c2-8984-fbff0c29949f 02:09:44 02:09:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:09:44 02:09:44 02:09:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:09:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:09:44 More details here: https://snyk.co/ue1NS 02:09:44 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:09:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:09:44 $ docker stop --time=1 65a2117b4c7a215f6b2814481af92cb9756bce7270edb70a32fa4cd7b57b1872 02:09:47 $ docker rm -f --volumes 65a2117b4c7a215f6b2814481af92cb9756bce7270edb70a32fa4cd7b57b1872 [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:09:49 + git log --format=format:%s -1 00d7df9bfc12085a417893dc2a73ff3105929001 [Pipeline] sh 02:09:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:09:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:50 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 02:09:50 $ 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:09:50 $ docker top f7520f6f6973ff1ff4a87ea5dbeaa1d05072fdd141d8f13220afbd66423efd16 -eo pid,comm 02:09:50 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:09:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:09:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:09:51 [ssh-agent] Looking for ssh-agent implementation... 02:09:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:09:51 $ docker exec f7520f6f6973ff1ff4a87ea5dbeaa1d05072fdd141d8f13220afbd66423efd16 ssh-agent 02:09:51 SSH_AUTH_SOCK=/tmp/ssh-qBb2FLPWQSqb/agent.32 02:09:51 SSH_AGENT_PID=38 02:09:51 Running ssh-add (command line suppressed) 02:09:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16707148153351796020.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16707148153351796020.key) 02:09:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:09:51 + git semver tag 02:09:52 2023-11-29 02:09:51,911 [run_tag] DEBUG tag force:False 02:09:52 2023-11-29 02:09:51,912 [check_head_tag] DEBUG check head tag 02:09:52 2023-11-29 02:09:51,912 [execute] INFO git cat-file --batch-check 02:09:52 2023-11-29 02:09:51,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:09:52 2023-11-29 02:09:51,916 [execute] INFO git cat-file --batch 02:09:52 2023-11-29 02:09:51,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:09:52 2023-11-29 02:09:51,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:09:52 2023-11-29 02:09:51,934 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 02:09:52 2023-11-29 02:09:51,934 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:09:52 2023-11-29 02:09:51,938 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:09:52 3.2.0-dev.2 [Pipeline] } 02:09:52 $ docker exec --env ******** --env ******** f7520f6f6973ff1ff4a87ea5dbeaa1d05072fdd141d8f13220afbd66423efd16 ssh-agent -k 02:09:52 unset SSH_AUTH_SOCK; 02:09:52 unset SSH_AGENT_PID; 02:09:52 echo Agent pid 38 killed; 02:09:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:09:52 + git semver [Pipeline] } 02:09:52 $ docker stop --time=1 f7520f6f6973ff1ff4a87ea5dbeaa1d05072fdd141d8f13220afbd66423efd16 02:09:54 $ docker rm -f --volumes f7520f6f6973ff1ff4a87ea5dbeaa1d05072fdd141d8f13220afbd66423efd16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:09:54 02:09:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:09:55 0.23.1-centos7: Pulling from edgex-lftools 02:09:55 ab5ef0e58194: Pulling fs layer 02:09:55 9712f1f96733: Pulling fs layer 02:09:55 63f879dbbcfc: Pulling fs layer 02:09:55 0d9ebad4ef96: Pulling fs layer 02:09:55 e9a5061849ea: Pulling fs layer 02:09:55 d747dcd14b5f: Pulling fs layer 02:09:55 2de7ff778b66: Pulling fs layer 02:09:55 0d9ebad4ef96: Waiting 02:09:55 d747dcd14b5f: Waiting 02:09:55 2de7ff778b66: Waiting 02:09:55 9712f1f96733: Verifying Checksum 02:09:55 9712f1f96733: Download complete 02:09:55 63f879dbbcfc: Verifying Checksum 02:09:55 63f879dbbcfc: Download complete 02:09:55 e9a5061849ea: Verifying Checksum 02:09:55 e9a5061849ea: Download complete 02:09:55 d747dcd14b5f: Download complete 02:09:55 ab5ef0e58194: Verifying Checksum 02:09:55 ab5ef0e58194: Download complete 02:09:55 0d9ebad4ef96: Verifying Checksum 02:09:55 0d9ebad4ef96: Download complete 02:09:55 2de7ff778b66: Verifying Checksum 02:09:55 2de7ff778b66: Download complete 02:09:59 ab5ef0e58194: Pull complete 02:09:59 9712f1f96733: Pull complete 02:09:59 63f879dbbcfc: Pull complete 02:10:03 0d9ebad4ef96: Pull complete 02:10:03 e9a5061849ea: Pull complete 02:10:03 d747dcd14b5f: Pull complete 02:10:04 2de7ff778b66: Pull complete 02:10:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:10:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:04 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 02:10:04 $ 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:10:10 $ docker top 08bdccc1919f3fc819a05de10945c0d08d5603e6506fe046fef53414f8fbada4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:10:10 provisioning config files... 02:10:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13037783521003442667tmp 02:10:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11095002852540345393tmp 02:10:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5124852702023006092tmp [Pipeline] { [Pipeline] echo 02:10:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:10:10 ---> sigul-configuration.sh 02:10:10 gpg: directory `/root/.gnupg' created 02:10:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:10:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:10:10 gpg: keyring `/root/.gnupg/secring.gpg' created 02:10:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:10:10 gpg: CAST5 encrypted data 02:10:10 gpg: encrypted with 1 passphrase 02:10:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:10:11 + mkdir /home/jenkins 02:10:11 + mkdir /home/jenkins/sigul [Pipeline] sh 02:10:11 + 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:10:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:10:11 ---> sigul-install.sh 02:10:11 Sigul already installed; skipping installation. [Pipeline] sh 02:10:12 + git tag --list 02:10:12 0.7.1 02:10:12 v1.0.0 02:10:12 v1.1.0 02:10:12 v1.1.1 02:10:12 v1.2.2 02:10:12 v1.3.0 02:10:12 v1.3.1 02:10:12 v2.0.0 02:10:12 v2.1.0 02:10:12 v2.1.1 02:10:12 v2.2.0 02:10:12 v2.3.0 02:10:12 v3.0 02:10:12 v3.0.0 02:10:12 v3.1 02:10:12 v3.1.0 02:10:12 v3.1.0-dev.1 02:10:12 v3.1.0-dev.10 02:10:12 v3.1.0-dev.11 02:10:12 v3.1.0-dev.12 02:10:12 v3.1.0-dev.13 02:10:12 v3.1.0-dev.14 02:10:12 v3.1.0-dev.15 02:10:12 v3.1.0-dev.16 02:10:12 v3.1.0-dev.17 02:10:12 v3.1.0-dev.18 02:10:12 v3.1.0-dev.19 02:10:12 v3.1.0-dev.2 02:10:12 v3.1.0-dev.20 02:10:12 v3.1.0-dev.21 02:10:12 v3.1.0-dev.22 02:10:12 v3.1.0-dev.23 02:10:12 v3.1.0-dev.24 02:10:12 v3.1.0-dev.25 02:10:12 v3.1.0-dev.3 02:10:12 v3.1.0-dev.4 02:10:12 v3.1.0-dev.5 02:10:12 v3.1.0-dev.6 02:10:12 v3.1.0-dev.7 02:10:12 v3.1.0-dev.8 02:10:12 v3.1.0-dev.9 02:10:12 v3.2.0-dev.1 02:10:12 v3.2.0-dev.2 [Pipeline] sh 02:10:12 + lftools sign git-tag v3.2.0-dev.2 02:10:13 Signing Git tag with Sigul... 02:10:13 Signing v3.2.0-dev.2 [Pipeline] echo 02:10:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:10:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:10:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:10:13 $ docker stop --time=1 08bdccc1919f3fc819a05de10945c0d08d5603e6506fe046fef53414f8fbada4 02:10:15 $ docker rm -f --volumes 08bdccc1919f3fc819a05de10945c0d08d5603e6506fe046fef53414f8fbada4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:10:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:16 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 02:10:16 $ 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:10:17 $ docker top f36d1358ae6b7dc28c6b51ff2ea7f8cf4f6bb990a651a91e85d9ca6c17deb700 -eo pid,comm 02:10:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:10:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:17 [ssh-agent] Looking for ssh-agent implementation... 02:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:17 $ docker exec f36d1358ae6b7dc28c6b51ff2ea7f8cf4f6bb990a651a91e85d9ca6c17deb700 ssh-agent 02:10:17 SSH_AUTH_SOCK=/tmp/ssh-Qn8yFgaSCxlq/agent.32 02:10:17 SSH_AGENT_PID=38 02:10:17 Running ssh-add (command line suppressed) 02:10:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17354363686548223938.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17354363686548223938.key) 02:10:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:17 + git semver bump pre 02:10:18 2023-11-29 02:10:18,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:10:18 2023-11-29 02:10:18,155 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev 02:10:18 2023-11-29 02:10:18,155 [bump_version] DEBUG bumped version:3.2.0-dev.3 02:10:18 2023-11-29 02:10:18,155 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:10:18 2023-11-29 02:10:18,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:10:18 2023-11-29 02:10:18,156 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:10:18 2023-11-29 02:10:18,158 [execute] INFO git cat-file --batch-check 02:10:18 2023-11-29 02:10:18,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:18 2023-11-29 02:10:18,164 [execute] INFO git cat-file --batch 02:10:18 2023-11-29 02:10:18,164 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:18 2023-11-29 02:10:18,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:10:18 3.2.0-dev.3 [Pipeline] } 02:10:18 $ docker exec --env ******** --env ******** f36d1358ae6b7dc28c6b51ff2ea7f8cf4f6bb990a651a91e85d9ca6c17deb700 ssh-agent -k 02:10:18 unset SSH_AUTH_SOCK; 02:10:18 unset SSH_AGENT_PID; 02:10:18 echo Agent pid 38 killed; 02:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:18 + git semver [Pipeline] } 02:10:19 $ docker stop --time=1 f36d1358ae6b7dc28c6b51ff2ea7f8cf4f6bb990a651a91e85d9ca6c17deb700 02:10:20 $ docker rm -f --volumes f36d1358ae6b7dc28c6b51ff2ea7f8cf4f6bb990a651a91e85d9ca6c17deb700 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:21 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 02:10:21 $ 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:10:22 $ docker top 1547c82352f947ef02c2dacad15e9e22477ef34daf01bb13b8dd0dddc3c4de9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:22 [ssh-agent] Looking for ssh-agent implementation... 02:10:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:22 $ docker exec 1547c82352f947ef02c2dacad15e9e22477ef34daf01bb13b8dd0dddc3c4de9a ssh-agent 02:10:22 SSH_AUTH_SOCK=/tmp/ssh-DEQCJDnL3evl/agent.32 02:10:22 SSH_AGENT_PID=38 02:10:22 Running ssh-add (command line suppressed) 02:10:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11406430309621755921.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11406430309621755921.key) 02:10:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:23 + git semver push 02:10:23 2023-11-29 02:10:23,211 [run_push] DEBUG push 02:10:23 2023-11-29 02:10:23,212 [execute] INFO git cat-file --batch-check 02:10:23 2023-11-29 02:10:23,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:23 2023-11-29 02:10:23,216 [execute] INFO git rev-list 2801428acf38a456d0d6dc84bef26417649ef5ab -- 02:10:23 2023-11-29 02:10:23,216 [execute] DEBUG Popen(['git', 'rev-list', '2801428acf38a456d0d6dc84bef26417649ef5ab', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:10:23 2023-11-29 02:10:23,223 [execute] INFO git fetch -v origin 02:10:23 2023-11-29 02:10:23,223 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:10:23 2023-11-29 02:10:23,755 [run_push] DEBUG no remote changes detected 02:10:23 2023-11-29 02:10:23,756 [execute] INFO git push origin semver 02:10:23 2023-11-29 02:10:23,756 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:10:24 2023-11-29 02:10:24,573 [run_push] DEBUG push all version tags 02:10:24 2023-11-29 02:10:24,574 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:10:24 2023-11-29 02:10:24,574 [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:10:25 2023-11-29 02:10:25,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:10:25 3.2.0-dev.3 [Pipeline] } 02:10:25 $ docker exec --env ******** --env ******** 1547c82352f947ef02c2dacad15e9e22477ef34daf01bb13b8dd0dddc3c4de9a ssh-agent -k 02:10:25 unset SSH_AUTH_SOCK; 02:10:25 unset SSH_AGENT_PID; 02:10:25 echo Agent pid 38 killed; 02:10:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:26 + git semver [Pipeline] } 02:10:26 $ docker stop --time=1 1547c82352f947ef02c2dacad15e9e22477ef34daf01bb13b8dd0dddc3c4de9a 02:10:27 $ docker rm -f --volumes 1547c82352f947ef02c2dacad15e9e22477ef34daf01bb13b8dd0dddc3c4de9a [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:10:29 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:10:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:10:29 total 16 02:10:29 drwxr-xr-x 3 root root 4096 Nov 29 01:56 . 02:10:29 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 02:10 .. 02:10:29 drwxr-xr-x 2 root root 4096 Nov 29 01:56 cost 02:10:29 -rw-r--r-- 1 root root 86 Nov 29 01:56 cost.csv 02:10:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:10:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:10:29 total 16 02:10:29 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 01:56 . 02:10:29 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 02:10 .. 02:10:29 drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 01:56 cost 02:10:29 -rw-r--r-- 1 jenkins jenkins 86 Nov 29 01:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:10:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:10:30 ---> package-listing.sh 02:10:30 ++ facter osfamily 02:10:30 ++ tr '[:upper:]' '[:lower:]' 02:10:30 + OS_FAMILY=debian 02:10:30 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:10:30 + START_PACKAGES=/tmp/packages_start.txt 02:10:30 + END_PACKAGES=/tmp/packages_end.txt 02:10:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:10:30 + PACKAGES=/tmp/packages_start.txt 02:10:30 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:10:30 + PACKAGES=/tmp/packages_end.txt 02:10:30 + case "${OS_FAMILY}" in 02:10:30 + dpkg -l 02:10:30 + grep '^ii' 02:10:30 + '[' -f /tmp/packages_start.txt ']' 02:10:30 + '[' -f /tmp/packages_end.txt ']' 02:10:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:10:30 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:10:30 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:10:30 + 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:10:30 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:10:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:31 prd-ubuntu20.04-docker-8c-8g-9056 does not seem to be running inside a container 02:10:31 $ 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:10:31 $ docker top f0752aba7a6346d4972b7df482f8a263e513b117b48a3b4d92da57adf3c0e612 -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:32 + touch /tmp/pre-build-complete [Pipeline] sh 02:10:32 + mkdir -p /var/log/sysstat [Pipeline] sh 02:10:33 + ls /var/log/sa-host 02:10:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:33 provisioning config files... 02:10:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6023440388878845544tmp [Pipeline] { [Pipeline] echo 02:10:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:10:33 ---> create-netrc.sh [Pipeline] } 02:10:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:10:34 ---> python-tools-install.sh [Pipeline] echo 02:10:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:10:34 ---> sudo-logs.sh 02:10:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:10:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:10:34 ---> job-cost.sh 02:10:34 lf-activate-venv: SKIPPING 02:10:34 DEBUG: total: 0.2199999988079071 02:10:34 INFO: Retrieving Stack Cost... 02:10:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:10:35 INFO: Archiving Costs [Pipeline] echo 02:10:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:10:35 ---> logs-deploy.sh 02:10:35 lf-activate-venv: SKIPPING 02:10:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/155 02:10:35 INFO: archiving workspace using pattern(s): 02:10:36 Archives upload complete. 02:10:37 INFO: archiving logs to Nexus