Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4e218282e077fec14fc384a358d0b18c03acea40 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-ssh7441341771813629429.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-ssh2431955301638196944.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-ssh6922098056348438166.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-ssh10192674100605603632.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-ssh15615391302376529974.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-24227 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 4e218282e077fec14fc384a358d0b18c03acea40 (main) > 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 4e218282e077fec14fc384a358d0b18c03acea40 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#651)" > git rev-list --no-walk 00d7df9bfc12085a417893dc2a73ff3105929001 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:27:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:27:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:27:30 ========================================================= 15:27:30 EdgeX Global Pipelines Version Info 15:27:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:27:31 ------------------- 15:27:31 stable info: 15:27:31 ------------------- 15:27:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:27:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:27:31 Message: update stable to v1.0.258 15:27:32 ------------------- 15:27:32 experimental info: 15:27:32 ------------------- 15:27:32 Commited By: **** collab-it+edgex@linuxfoundation.org 15:27:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:27:32 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:27:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e21828 [Pipeline] echo 15:27:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:33 provisioning config files... 15:27:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17521228438297864979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:33 ---> ****-login.sh 15:27:33 nexus3.edgexfoundry.org:10001 15:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:33 Configure a credential helper to remove this warning. See 15:27:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:33 15:27:33 Login Succeeded 15:27:33 nexus3.edgexfoundry.org:10002 15:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:33 Configure a credential helper to remove this warning. See 15:27:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:33 15:27:33 Login Succeeded 15:27:33 nexus3.edgexfoundry.org:10003 15:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:34 Configure a credential helper to remove this warning. See 15:27:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:34 15:27:34 Login Succeeded 15:27:34 nexus3.edgexfoundry.org:10004 15:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:34 Configure a credential helper to remove this warning. See 15:27:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:34 15:27:34 Login Succeeded 15:27:34 ****.io 15:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:34 Configure a credential helper to remove this warning. See 15:27:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:34 15:27:34 Login Succeeded 15:27:34 ---> ****-login.sh ends [Pipeline] } 15:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:27:35 + git rev-list -1 --merges 4e218282e077fec14fc384a358d0b18c03acea40~1..4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] echo 15:27:35 -----------> git rev-list -1 --merges 4e218282e077fec14fc384a358d0b18c03acea40~1..4e218282e077fec14fc384a358d0b18c03acea40 4e218282e077fec14fc384a358d0b18c03acea40 [false] [Pipeline] sh 15:27:35 + git log --format=format:%s -1 4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] echo 15:27:35 ========================================================= 15:27:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:27:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:27:35 + git log --format=format:%s -1 4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] echo 15:27:35 [semverPrep] GIT_COMMIT: 4e218282e077fec14fc384a358d0b18c03acea40, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#651) [Pipeline] echo 15:27:35 [semverPrep] This is not a build commit. [Pipeline] sh 15:27:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:27:36 + grep -v github /etc/ssh/ssh_known_hosts 15:27:36 + [ -e /tmp/ssh_known_hosts ] 15:27:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:27:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:27:36 + sudo tee -a /etc/ssh/ssh_known_hosts 15:27:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:36 15:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:36 0.1.4: Pulling from edgex-devops/py-git-semver 15:27:36 b85a868b505f: Pulling fs layer 15:27:36 e2be974225ed: Pulling fs layer 15:27:36 339a4e72a1f5: Pulling fs layer 15:27:36 988bab9f4d93: Pulling fs layer 15:27:36 1469e6f7b9e6: Pulling fs layer 15:27:36 eaf3925da568: Pulling fs layer 15:27:36 bab4dde63d76: Pulling fs layer 15:27:36 bde34c3a00c8: Pulling fs layer 15:27:36 b352a97aabf1: Pulling fs layer 15:27:36 4872d77fe225: Pulling fs layer 15:27:36 5851b861e8e6: Pulling fs layer 15:27:36 b352a97aabf1: Waiting 15:27:36 4872d77fe225: Waiting 15:27:36 5851b861e8e6: Waiting 15:27:36 1469e6f7b9e6: Waiting 15:27:36 eaf3925da568: Waiting 15:27:36 bde34c3a00c8: Waiting 15:27:36 988bab9f4d93: Waiting 15:27:36 e2be974225ed: Verifying Checksum 15:27:36 e2be974225ed: Download complete 15:27:36 988bab9f4d93: Download complete 15:27:37 1469e6f7b9e6: Verifying Checksum 15:27:37 339a4e72a1f5: Verifying Checksum 15:27:37 339a4e72a1f5: Download complete 15:27:37 eaf3925da568: Verifying Checksum 15:27:37 eaf3925da568: Download complete 15:27:37 bde34c3a00c8: Download complete 15:27:37 b352a97aabf1: Download complete 15:27:37 4872d77fe225: Verifying Checksum 15:27:37 4872d77fe225: Download complete 15:27:37 5851b861e8e6: Verifying Checksum 15:27:37 5851b861e8e6: Download complete 15:27:37 b85a868b505f: Verifying Checksum 15:27:37 b85a868b505f: Download complete 15:27:37 bab4dde63d76: Download complete 15:27:38 b85a868b505f: Pull complete 15:27:38 e2be974225ed: Pull complete 15:27:38 339a4e72a1f5: Pull complete 15:27:39 988bab9f4d93: Pull complete 15:27:39 1469e6f7b9e6: Pull complete 15:27:39 eaf3925da568: Pull complete 15:27:41 bab4dde63d76: Pull complete 15:27:41 bde34c3a00c8: Pull complete 15:27:41 b352a97aabf1: Pull complete 15:27:41 4872d77fe225: Pull complete 15:27:41 5851b861e8e6: Pull complete 15:27:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:41 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:27:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:27:45 $ docker top 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef -eo pid,comm 15:27:45 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). 15:27:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:45 [ssh-agent] Looking for ssh-agent implementation... 15:27:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:45 $ docker exec 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef ssh-agent 15:27:45 SSH_AUTH_SOCK=/tmp/ssh-u7W9lY6w1lgI/agent.32 15:27:45 SSH_AGENT_PID=38 15:27:45 Running ssh-add (command line suppressed) 15:27:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18059041905750433985.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18059041905750433985.key) 15:27:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:46 + git tag --points-at HEAD [Pipeline] } 15:27:46 $ docker exec --env ******** --env ******** 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef ssh-agent -k 15:27:46 unset SSH_AUTH_SOCK; 15:27:46 unset SSH_AGENT_PID; 15:27:46 echo Agent pid 38 killed; 15:27:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:27:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:46 [ssh-agent] Looking for ssh-agent implementation... 15:27:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:46 $ docker exec 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef ssh-agent 15:27:46 SSH_AUTH_SOCK=/tmp/ssh-wI0KekuWeYiF/agent.71 15:27:46 SSH_AGENT_PID=77 15:27:46 Running ssh-add (command line suppressed) 15:27:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3755778525309548050.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3755778525309548050.key) 15:27:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:46 + git semver init 15:27:47 2023-12-06 15:27:47,099 [run_init] DEBUG init version:0.0.0 force:False 15:27:47 2023-12-06 15:27:47,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:27:47 2023-12-06 15:27:47,102 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:27:47 2023-12-06 15:27:47,102 [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) 15:27:50 2023-12-06 15:27:48,319 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 15:27:50 2023-12-06 15:27:48,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 15:27:50 2023-12-06 15:27:48,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:27:50 2023-12-06 15:27:48,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:27:50 3.2.0-dev.3 [Pipeline] } 15:27:50 $ docker exec --env ******** --env ******** 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef ssh-agent -k 15:27:50 unset SSH_AUTH_SOCK; 15:27:50 unset SSH_AGENT_PID; 15:27:50 echo Agent pid 77 killed; 15:27:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:51 + git semver [Pipeline] } 15:27:51 $ docker stop --time=1 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef 15:27:52 $ docker rm -f --volumes 4454001115ab13f0a8eb400a61bbef220eaa96399542d4b1cd570028fa2e36ef [Pipeline] // withDockerContainer [Pipeline] sh 15:27:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:27:53 Stashed 1 file(s) [Pipeline] echo 15:27:53 [edgeXSemver]: initialized semver on version 3.2.0-dev.3 [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 15:27:53 provisioning config files... 15:27:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12241667283076999611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:54 ---> ****-login.sh 15:27:54 nexus3.edgexfoundry.org:10001 15:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:54 Configure a credential helper to remove this warning. See 15:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:54 15:27:54 Login Succeeded 15:27:54 nexus3.edgexfoundry.org:10002 15:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:54 Configure a credential helper to remove this warning. See 15:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:54 15:27:54 Login Succeeded 15:27:54 nexus3.edgexfoundry.org:10003 15:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:54 Configure a credential helper to remove this warning. See 15:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:54 15:27:54 Login Succeeded 15:27:54 nexus3.edgexfoundry.org:10004 15:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:54 Configure a credential helper to remove this warning. See 15:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:54 15:27:54 Login Succeeded 15:27:54 ****.io 15:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:54 Configure a credential helper to remove this warning. See 15:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:54 15:27:54 Login Succeeded 15:27:54 ---> ****-login.sh ends [Pipeline] } 15:27:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:27:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:27:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:27:54 ========================================================= 15:27:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:27:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:55 + 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 . 15:27:55 Sending build context to Docker daemon 17.31MB 15:27:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:27:55 Step 2/12 : FROM ${BASE} AS builder 15:27:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:27:55 7264a8db6415: Pulling fs layer 15:27:55 c4d48a809fc2: Pulling fs layer 15:27:55 4f1c88b9dad5: Pulling fs layer 15:27:55 ad3a456e5733: Pulling fs layer 15:27:55 69c7f0334f64: Pulling fs layer 15:27:55 1f1c1a5573a3: Pulling fs layer 15:27:55 69c7f0334f64: Waiting 15:27:55 ce7588e14bc9: Pulling fs layer 15:27:55 b5e4710f87ac: Pulling fs layer 15:27:55 1f1c1a5573a3: Waiting 15:27:55 c4d48a809fc2: Verifying Checksum 15:27:55 c4d48a809fc2: Download complete 15:27:55 ad3a456e5733: Verifying Checksum 15:27:55 ad3a456e5733: Download complete 15:27:55 69c7f0334f64: Verifying Checksum 15:27:55 69c7f0334f64: Download complete 15:27:55 7264a8db6415: Verifying Checksum 15:27:55 7264a8db6415: Download complete 15:27:55 1f1c1a5573a3: Verifying Checksum 15:27:55 1f1c1a5573a3: Download complete 15:27:55 7264a8db6415: Pull complete 15:27:55 b5e4710f87ac: Verifying Checksum 15:27:55 b5e4710f87ac: Download complete 15:27:55 c4d48a809fc2: Pull complete 15:27:56 4f1c88b9dad5: Verifying Checksum 15:27:56 4f1c88b9dad5: Download complete 15:27:56 ce7588e14bc9: Verifying Checksum 15:27:58 4f1c88b9dad5: Pull complete 15:27:58 ad3a456e5733: Pull complete 15:27:58 69c7f0334f64: Pull complete 15:27:59 1f1c1a5573a3: Pull complete 15:28:01 ce7588e14bc9: Pull complete 15:28:01 b5e4710f87ac: Pull complete 15:28:01 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 15:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:28:01 ---> 88b5674ff536 15:28:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:28:05 ---> Running in d54e690d3d9d 15:28:06 Removing intermediate container d54e690d3d9d 15:28:06 ---> bacbb373547e 15:28:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:28:06 ---> Running in 29063aed03a1 15:28:06 Removing intermediate container 29063aed03a1 15:28:06 ---> 51b3e02155cb 15:28:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:28:06 ---> Running in 51aed158a4dd 15:28:06 Removing intermediate container 51aed158a4dd 15:28:06 ---> 43c4cf7b3672 15:28:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:28:06 ---> Running in d8b6bfaf809a 15:28:06 Removing intermediate container d8b6bfaf809a 15:28:06 ---> 8da4c3425683 15:28:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:06 ---> Running in 568cecd7cf32 15:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:28:06 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:28:06 (2/4) Installing libedit (20221030.3.1-r1) 15:28:06 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:28:06 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:28:06 Executing busybox-1.36.1-r5.trigger 15:28:06 OK: 268 MiB in 56 packages 15:28:07 Removing intermediate container 568cecd7cf32 15:28:07 ---> 4b8fdef573db 15:28:07 Step 8/12 : WORKDIR /device-mqtt-go 15:28:07 ---> Running in 7c592dc3bd55 15:28:07 Removing intermediate container 7c592dc3bd55 15:28:07 ---> 82818ac4f536 15:28:07 Step 9/12 : COPY go.mod vendor* ./ 15:28:07 ---> 2c3639e7abfe 15:28:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:07 ---> Running in f075311888b5 15:28:08 Still waiting to schedule task 15:28:08 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:28:46 Removing intermediate container f075311888b5 15:28:46 ---> 5dac2e709798 15:28:46 Step 11/12 : COPY . . 15:28:46 ---> 3fa18f809928 15:28:46 Step 12/12 : RUN $MAKE 15:28:46 ---> Running in f29bc5cb1a40 15:28:46 noop 15:28:46 Removing intermediate container f29bc5cb1a40 15:28:46 ---> bce0ebc4e6d5 15:28:46 Successfully built bce0ebc4e6d5 15:28:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:46 + docker inspect -f . ci-base-image-x86_64 15:28:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:46 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:28:47 $ docker top 069f8405d416d88a13beb19c86ab41ea23bf7452033099b0d1d9747d5fddf1b9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:47 + go version 15:28:47 go version go1.21.0 linux/amd64 [Pipeline] } 15:28:47 $ docker stop --time=1 069f8405d416d88a13beb19c86ab41ea23bf7452033099b0d1d9747d5fddf1b9 15:28:48 $ docker rm -f --volumes 069f8405d416d88a13beb19c86ab41ea23bf7452033099b0d1d9747d5fddf1b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:49 + docker inspect -f . ci-base-image-x86_64 15:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:49 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:28:50 $ docker top 72a657658abf041a671de280ce9b2bf1e083984feefb2fc8bbe085b13fcca53a -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 15:28:50 + make test 15:28:50 go test ./... -coverprofile=coverage.out ./... 15:28:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:29:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:29:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:29:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements 15:29:07 go vet ./... 15:29:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:29:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:29:10 ./bin/test-attribution-txt.sh [Pipeline] echo 15:29:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:29:10 $ docker stop --time=1 72a657658abf041a671de280ce9b2bf1e083984feefb2fc8bbe085b13fcca53a 15:29:13 $ docker rm -f --volumes 72a657658abf041a671de280ce9b2bf1e083984feefb2fc8bbe085b13fcca53a [Pipeline] // withDockerContainer [Pipeline] sh 15:29:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:29:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:29:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:29:15 + ls -al . 15:29:15 total 184 15:29:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 15:28 . 15:29:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:27 .. 15:29:15 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 15:27 .dockerignore 15:29:15 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:29 .git 15:29:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:27 .github 15:29:15 -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 15:27 .gitignore 15:29:15 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 15:27 .golangci.yml 15:29:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:27 .semver 15:29:15 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 6 15:27 Attribution.txt 15:29:15 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 6 15:27 CHANGELOG.md 15:29:15 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 6 15:27 Dockerfile 15:29:15 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:27 GOVERNANCE.md 15:29:15 -rw-rw-r-- 1 jenkins jenkins 657 Dec 6 15:27 Jenkinsfile 15:29:15 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 15:27 LICENSE 15:29:15 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 6 15:27 Makefile 15:29:15 -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 15:27 OWNERS.md 15:29:15 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 6 15:27 README.md 15:29:15 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:27 VERSION 15:29:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:27 bin 15:29:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:27 cmd 15:29:15 -rw-r--r-- 1 jenkins jenkins 18506 Dec 6 15:29 coverage.out 15:29:15 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 6 15:27 go.mod 15:29:15 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 15:27 go.sum 15:29:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:27 internal 15:29:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:27 mock 15:29:15 -rw-rw-r-- 1 jenkins jenkins 227 Dec 6 15:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:15 + 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=4e218282e077fec14fc384a358d0b18c03acea40 --label arch=amd64 --label version=3.2.0-dev.3 . 15:29:15 Sending build context to Docker daemon 17.33MB 15:29:15 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:29:15 Step 2/25 : FROM ${BASE} AS builder 15:29:15 ---> bce0ebc4e6d5 15:29:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:29:15 ---> Running in 90c7ed5a3c24 15:29:15 Removing intermediate container 90c7ed5a3c24 15:29:15 ---> 29577566610f 15:29:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:29:15 ---> Running in cc015b095d7d 15:29:16 Removing intermediate container cc015b095d7d 15:29:16 ---> 760a9389e7b4 15:29:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:29:16 ---> Running in dd5e319c2c82 15:29:16 Removing intermediate container dd5e319c2c82 15:29:16 ---> c012eb1c50e4 15:29:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:29:16 ---> Running in 8dc014aa7bc4 15:29:16 Removing intermediate container 8dc014aa7bc4 15:29:16 ---> 43a0ca320c08 15:29:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:29:16 ---> Running in 1f32609c5543 15:29:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:29:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:29:16 OK: 268 MiB in 56 packages 15:29:17 Removing intermediate container 1f32609c5543 15:29:17 ---> c689c5cc1fb0 15:29:17 Step 8/25 : WORKDIR /device-mqtt-go 15:29:17 ---> Running in 576007f41d69 15:29:17 Removing intermediate container 576007f41d69 15:29:17 ---> a6d9a9cbbac0 15:29:17 Step 9/25 : COPY go.mod vendor* ./ 15:29:17 ---> 99ef45e53492 15:29:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:17 ---> Running in 52d7a1f12a44 15:29:17 Removing intermediate container 52d7a1f12a44 15:29:17 ---> 63d7c791e577 15:29:17 Step 11/25 : COPY . . 15:29:18 ---> 64e041c957db 15:29:18 Step 12/25 : RUN $MAKE 15:29:18 ---> Running in 9185efa0a180 15:29:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:29:40 Removing intermediate container 9185efa0a180 15:29:40 ---> 4e10136d2155 15:29:40 Step 13/25 : FROM alpine:3.18 15:29:40 3.18: Pulling from library/alpine 15:29:40 c926b61bad3b: Pulling fs layer 15:29:40 c926b61bad3b: Verifying Checksum 15:29:40 c926b61bad3b: Download complete 15:29:40 c926b61bad3b: Pull complete 15:29:40 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:29:40 Status: Downloaded newer image for alpine:3.18 15:29:40 ---> b541f2080109 15:29:40 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:29:40 ---> Running in 38a364e69b90 15:29:40 Removing intermediate container 38a364e69b90 15:29:40 ---> 9aca23aba833 15:29:40 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:29:40 ---> Running in b7733d630b66 15:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:29:40 (1/1) Installing dumb-init (1.2.5-r2) 15:29:40 Executing busybox-1.36.1-r5.trigger 15:29:40 OK: 7 MiB in 16 packages 15:29:40 Removing intermediate container b7733d630b66 15:29:40 ---> ce16a999c414 15:29:40 Step 16/25 : RUN apk --no-cache upgrade 15:29:40 ---> Running in b4c0d44bc215 15:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:29:40 OK: 7 MiB in 16 packages 15:29:40 Removing intermediate container b4c0d44bc215 15:29:40 ---> fb11c470791e 15:29:40 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 15:29:41 ---> 442fd1bba4db 15:29:41 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 15:29:41 ---> 08285433a210 15:29:41 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:29:41 ---> b131e099aa16 15:29:41 Step 20/25 : EXPOSE 59982 15:29:41 ---> Running in 0a2292c752bc 15:29:41 Removing intermediate container 0a2292c752bc 15:29:41 ---> 0c90b696bcdf 15:29:41 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 15:29:41 ---> Running in b39843420f63 15:29:42 Removing intermediate container b39843420f63 15:29:42 ---> def70f759b93 15:29:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:29:42 ---> Running in d73f814d64cd 15:29:42 Removing intermediate container d73f814d64cd 15:29:42 ---> 3712171261bc 15:29:42 Step 23/25 : LABEL arch=amd64 15:29:42 ---> Running in ccee1539e952 15:29:42 Removing intermediate container ccee1539e952 15:29:42 ---> a561c88abfeb 15:29:42 Step 24/25 : LABEL git_sha=4e218282e077fec14fc384a358d0b18c03acea40 15:29:42 ---> Running in 073c6831914b 15:29:42 Removing intermediate container 073c6831914b 15:29:42 ---> 3c78ec0a5faa 15:29:42 Step 25/25 : LABEL version=3.2.0-dev.3 15:29:42 ---> Running in 3a5c956e2810 15:29:42 Removing intermediate container 3a5c956e2810 15:29:42 ---> 9f7b2df07811 15:29:42 [Warning] One or more build-args [ARCH] were not consumed 15:29:42 Successfully built 9f7b2df07811 15:29:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:42 provisioning config files... 15:29:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6602346946173296930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:29:42 ---> ****-login.sh 15:29:42 nexus3.edgexfoundry.org:10001 15:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:42 Configure a credential helper to remove this warning. See 15:29:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:42 15:29:42 Login Succeeded 15:29:42 nexus3.edgexfoundry.org:10002 15:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:42 Configure a credential helper to remove this warning. See 15:29:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:42 15:29:42 Login Succeeded 15:29:42 nexus3.edgexfoundry.org:10003 15:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:45 Configure a credential helper to remove this warning. See 15:29:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:45 15:29:45 Login Succeeded 15:29:45 nexus3.edgexfoundry.org:10004 15:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:45 Configure a credential helper to remove this warning. See 15:29:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:45 15:29:45 Login Succeeded 15:29:45 ****.io 15:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:45 Configure a credential helper to remove this warning. See 15:29:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:45 15:29:45 Login Succeeded 15:29:45 ---> ****-login.sh ends [Pipeline] } 15:29:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:29:45 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:29:45 4e218282e077fec14fc384a358d0b18c03acea40 15:29:45 latest 15:29:45 3.2.0-dev.3 15:29:45 4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 15:29:45 main 15:29:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4e218282e077fec14fc384a358d0b18c03acea40 15:29:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:29:46 fbbac85e370c: Preparing 15:29:46 59c051283743: Preparing 15:29:46 b2c54ec659da: Preparing 15:29:46 aa97801a1ca0: Preparing 15:29:46 64b04d6d4e98: Preparing 15:29:46 9fe9a137fd00: Preparing 15:29:46 9fe9a137fd00: Waiting 15:29:46 fbbac85e370c: Pushed 15:29:46 aa97801a1ca0: Pushed 15:29:46 64b04d6d4e98: Pushed 15:29:46 59c051283743: Pushed 15:29:46 9fe9a137fd00: Layer already exists 15:29:50 b2c54ec659da: Pushed 15:29:50 4e218282e077fec14fc384a358d0b18c03acea40: digest: sha256:128b6154639203b68351d2ba85d393bb5f83ebc590a360c68d173d001f5c9d3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:29:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:29:51 fbbac85e370c: Preparing 15:29:51 59c051283743: Preparing 15:29:51 b2c54ec659da: Preparing 15:29:51 aa97801a1ca0: Preparing 15:29:51 64b04d6d4e98: Preparing 15:29:51 9fe9a137fd00: Preparing 15:29:51 9fe9a137fd00: Waiting 15:29:51 59c051283743: Layer already exists 15:29:51 aa97801a1ca0: Layer already exists 15:29:51 b2c54ec659da: Layer already exists 15:29:51 64b04d6d4e98: Layer already exists 15:29:51 fbbac85e370c: Layer already exists 15:29:51 9fe9a137fd00: Layer already exists 15:29:51 latest: digest: sha256:128b6154639203b68351d2ba85d393bb5f83ebc590a360c68d173d001f5c9d3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.3 15:29:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:29:51 fbbac85e370c: Preparing 15:29:51 59c051283743: Preparing 15:29:51 b2c54ec659da: Preparing 15:29:51 aa97801a1ca0: Preparing 15:29:51 64b04d6d4e98: Preparing 15:29:51 9fe9a137fd00: Preparing 15:29:51 b2c54ec659da: Layer already exists 15:29:51 64b04d6d4e98: Layer already exists 15:29:51 fbbac85e370c: Layer already exists 15:29:51 59c051283743: Layer already exists 15:29:51 aa97801a1ca0: Layer already exists 15:29:51 9fe9a137fd00: Layer already exists 15:29:51 3.2.0-dev.3: digest: sha256:128b6154639203b68351d2ba85d393bb5f83ebc590a360c68d173d001f5c9d3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 15:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:29:52 fbbac85e370c: Preparing 15:29:52 59c051283743: Preparing 15:29:52 b2c54ec659da: Preparing 15:29:52 aa97801a1ca0: Preparing 15:29:52 64b04d6d4e98: Preparing 15:29:52 9fe9a137fd00: Preparing 15:29:52 9fe9a137fd00: Waiting 15:29:52 b2c54ec659da: Layer already exists 15:29:52 fbbac85e370c: Layer already exists 15:29:52 64b04d6d4e98: Layer already exists 15:29:52 59c051283743: Layer already exists 15:29:52 aa97801a1ca0: Layer already exists 15:29:52 9fe9a137fd00: Layer already exists 15:29:52 4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3: digest: sha256:128b6154639203b68351d2ba85d393bb5f83ebc590a360c68d173d001f5c9d3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 15:29:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:29:53 fbbac85e370c: Preparing 15:29:53 59c051283743: Preparing 15:29:53 b2c54ec659da: Preparing 15:29:53 aa97801a1ca0: Preparing 15:29:53 64b04d6d4e98: Preparing 15:29:53 9fe9a137fd00: Preparing 15:29:53 9fe9a137fd00: Waiting 15:29:53 59c051283743: Layer already exists 15:29:53 fbbac85e370c: Layer already exists 15:29:53 aa97801a1ca0: Layer already exists 15:29:53 b2c54ec659da: Layer already exists 15:29:53 64b04d6d4e98: Layer already exists 15:29:53 9fe9a137fd00: Layer already exists 15:29:53 main: digest: sha256:128b6154639203b68351d2ba85d393bb5f83ebc590a360c68d173d001f5c9d3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:53 ===================================================== [Pipeline] echo 15:29:53 taggedImages: 15:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:4e218282e077fec14fc384a358d0b18c03acea40 15:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.3 15:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 15:29:53 - 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 15:29:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:54 15:29:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:54 latest: Pulling from edgex-lftools-log-publisher 15:29:54 5eb5b503b376: Pulling fs layer 15:29:54 5c69ac0246d0: Pulling fs layer 15:29:54 ec43610c2a17: Pulling fs layer 15:29:54 3a2ae6a8a46f: Pulling fs layer 15:29:54 33b1e0a273af: Pulling fs layer 15:29:54 5d3b04190fa2: Pulling fs layer 15:29:54 2f39f015ded8: Pulling fs layer 15:29:54 3a2ae6a8a46f: Waiting 15:29:54 33b1e0a273af: Waiting 15:29:54 5d3b04190fa2: Waiting 15:29:54 5c69ac0246d0: Verifying Checksum 15:29:54 5c69ac0246d0: Download complete 15:29:54 3a2ae6a8a46f: Verifying Checksum 15:29:54 3a2ae6a8a46f: Download complete 15:29:54 33b1e0a273af: Verifying Checksum 15:29:54 33b1e0a273af: Download complete 15:29:54 5d3b04190fa2: Verifying Checksum 15:29:54 5d3b04190fa2: Download complete 15:29:54 ec43610c2a17: Verifying Checksum 15:29:54 ec43610c2a17: Download complete 15:29:55 5eb5b503b376: Verifying Checksum 15:29:55 5eb5b503b376: Download complete 15:29:55 2f39f015ded8: Download complete 15:29:56 5eb5b503b376: Pull complete 15:29:56 5c69ac0246d0: Pull complete 15:29:56 ec43610c2a17: Pull complete 15:29:57 3a2ae6a8a46f: Pull complete 15:29:57 33b1e0a273af: Pull complete 15:29:57 5d3b04190fa2: Pull complete 15:30:01 2f39f015ded8: Pull complete 15:30:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:30:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:01 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:30:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:30:06 $ docker top 12ba785212141c46a2e14d7c9dcd9240e0351f95cb3eb5081205aabbe775bb04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:07 ---> job-cost.sh 15:30:07 lf-activate-venv: SKIPPING 15:30:07 INFO: No Stack... 15:30:07 INFO: Retrieving Pricing Info for: v3-standard-8 15:30:07 INFO: Archiving Costs [Pipeline] sh 15:30:07 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 15:30:07 + cut -d, -f6 [Pipeline] lock 15:30:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] 15:30:07 Resource [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] did not exist. Created. 15:30:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:30:08 + echo total: 0.2199999988079071 [Pipeline] stash 15:30:08 Stashed 1 file(s) [Pipeline] } 15:30:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 15:30:08 $ docker stop --time=1 12ba785212141c46a2e14d7c9dcd9240e0351f95cb3eb5081205aabbe775bb04 15:30:09 $ docker rm -f --volumes 12ba785212141c46a2e14d7c9dcd9240e0351f95cb3eb5081205aabbe775bb04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:37:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24366 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 15:37:03 Running in /w/workspace/device-mqtt-go/156 [Pipeline] { [Pipeline] checkout 15:37:03 The recommended git tool is: git 15:37:14 using credential edgex-jenkins-ssh 15:37:14 Cloning the remote Git repository 15:37:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:37:14 > git init /w/workspace/device-mqtt-go/156 # timeout=10 15:37:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:37:14 > git --version # timeout=10 15:37:14 > git --version # 'git version 2.25.1' 15:37:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:37:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:37:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:37:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:37:17 Avoid second fetch 15:37:17 Checking out Revision 4e218282e077fec14fc384a358d0b18c03acea40 (main) 15:37:18 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#651)" 15:37:17 > git config core.sparsecheckout # timeout=10 15:37:17 > git checkout -f 4e218282e077fec14fc384a358d0b18c03acea40 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:37:19 % Total % Received % Xferd Average Speed Time Time Time Current 15:37:19 Dload Upload Total Spent Left Speed 15:37:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 233k 0 --:--:-- --:--:-- --:--:-- 238k [Pipeline] sh 15:37:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:37:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:37:19 + sudo tee /etc/docker/daemon.new 15:37:19 { 15:37:19 "registry-mirrors": [ 15:37:19 "https://nexus3.edgexfoundry.org:10001" 15:37:19 ], 15:37:19 "bip": "10.250.0.254/24", 15:37:19 "hosts": [ 15:37:19 "tcp://0.0.0.0:5555", 15:37:19 "unix:///var/run/docker.sock" 15:37:19 ], 15:37:19 "mtu": 1458, 15:37:19 "selinux-enabled": true, 15:37:19 "seccomp-profile": "/etc/docker/seccomp.json" 15:37:19 } [Pipeline] sh 15:37:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:37:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:42 provisioning config files... 15:37:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/156@tmp/config5105403525329829210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:43 ---> ****-login.sh 15:37:43 nexus3.edgexfoundry.org:10001 15:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:43 Configure a credential helper to remove this warning. See 15:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:43 15:37:43 Login Succeeded 15:37:43 nexus3.edgexfoundry.org:10002 15:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:43 Configure a credential helper to remove this warning. See 15:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:43 15:37:43 Login Succeeded 15:37:43 nexus3.edgexfoundry.org:10003 15:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:44 Configure a credential helper to remove this warning. See 15:37:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:44 15:37:44 Login Succeeded 15:37:44 nexus3.edgexfoundry.org:10004 15:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:44 Configure a credential helper to remove this warning. See 15:37:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:44 15:37:44 Login Succeeded 15:37:44 ****.io 15:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:45 Configure a credential helper to remove this warning. See 15:37:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:45 15:37:45 Login Succeeded 15:37:45 ---> ****-login.sh ends [Pipeline] } 15:37:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:37:45 ========================================================= 15:37:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:37:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:46 + 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 . 15:37:47 #0 building with "default" instance using docker driver 15:37:47 15:37:47 #1 [internal] load .dockerignore 15:37:47 #1 transferring context: 182B done 15:37:47 #1 DONE 0.1s 15:37:47 15:37:47 #2 [internal] load build definition from Dockerfile 15:37:47 #2 transferring dockerfile: 1.84kB done 15:37:47 #2 DONE 0.1s 15:37:47 15:37:47 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:37:47 #3 DONE 0.1s 15:37:47 15:37:47 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:37:47 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 15:37:47 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 15:37:47 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 15:37:47 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 15:37:47 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 15:37:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.2s 15:37:47 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 15:37:47 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 15:37:47 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 15:37:47 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 15:37:47 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 15:37:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 15:37:47 #4 ... 15:37:47 15:37:47 #5 [internal] load build context 15:37:47 #5 transferring context: 8.65MB 0.3s done 15:37:47 #5 DONE 0.4s 15:37:47 15:37:47 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:37:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.4s 15:37:47 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 15:37:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.6s 15:37:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 0.6s 15:37:47 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.6s 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.7s 15:37:48 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 15:37:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.8s 15:37:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.8s 15:37:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.9s 15:37:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.85MB / 97.63MB 0.9s 15:37:48 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.1s 15:37:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.60MB / 97.63MB 1.1s 15:37:48 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 1.2s 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 49.28MB / 63.99MB 1.3s 15:37:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.00MB / 97.63MB 1.3s 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.4s 15:37:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.4s 15:37:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s 15:37:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.6s 15:37:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 15:37:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.7s 15:37:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15:37:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.8s 15:37:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.70MB / 97.63MB 1.9s 15:37:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 2.1s 15:37:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s 15:37:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 15:37:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 15:37:59 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.6s 15:38:06 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.7s done 15:38:09 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 15:38:09 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 15:38:09 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 15:38:09 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15:38:15 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 15:38:19 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.2s done 15:38:19 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 15:38:21 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 15:38:21 #4 DONE 34.1s 15:38:21 15:38:21 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 15:38:22 #6 0.728 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:38:22 #6 1.093 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:38:23 #6 2.180 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:38:23 #6 2.200 (2/4) Installing libedit (20221030.3.1-r1) 15:38:23 #6 2.213 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:38:23 #6 2.303 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:38:23 #6 2.330 Executing busybox-1.36.1-r5.trigger 15:38:23 #6 2.369 OK: 271 MiB in 56 packages 15:38:25 #6 DONE 4.1s 15:38:25 15:38:25 #7 [builder 3/7] WORKDIR /device-mqtt-go 15:38:25 #7 DONE 0.1s 15:38:25 15:38:25 #8 [builder 4/7] COPY go.mod vendor* ./ 15:38:25 #8 DONE 0.1s 15:38:25 15:38:25 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:47 #9 DONE 22.0s 15:38:47 15:38:47 #10 [builder 6/7] COPY . . 15:38:48 #10 DONE 0.3s 15:38:48 15:38:48 #11 [builder 7/7] RUN echo noop 15:38:48 #11 0.598 noop 15:38:48 #11 DONE 0.7s 15:38:48 15:38:48 #12 exporting to image 15:38:48 #12 exporting layers 15:39:10 #12 exporting layers 21.1s done 15:39:10 #12 writing image sha256:6e83d83598c10c5123dd3ed4b795a123546eda28cecf32c895c2954014259c92 done 15:39:10 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 15:39:10 #12 DONE 21.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:11 + docker inspect -f . ci-base-image-arm64 15:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:11 prd-ubuntu20.04-docker-arm64-4c-16g-24366 does not seem to be running inside a container 15:39:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/156 -v /w/workspace/device-mqtt-go/156:/w/workspace/device-mqtt-go/156:rw,z -v /w/workspace/device-mqtt-go/156@tmp:/w/workspace/device-mqtt-go/156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:39:13 $ docker top 8c027650c6809dfffd9580507288894c1c16eb445b6886245015cee92ef0c5b5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:13 + go version 15:39:13 go version go1.21.0 linux/arm64 [Pipeline] } 15:39:13 $ docker stop --time=1 8c027650c6809dfffd9580507288894c1c16eb445b6886245015cee92ef0c5b5 15:39:15 $ docker rm -f --volumes 8c027650c6809dfffd9580507288894c1c16eb445b6886245015cee92ef0c5b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:16 + docker inspect -f . ci-base-image-arm64 15:39:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:16 prd-ubuntu20.04-docker-arm64-4c-16g-24366 does not seem to be running inside a container 15:39:16 $ 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/156 -v /w/workspace/device-mqtt-go/156:/w/workspace/device-mqtt-go/156:rw,z -v /w/workspace/device-mqtt-go/156@tmp:/w/workspace/device-mqtt-go/156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:39:17 $ docker top e69586f2c32fd017a00759f2dc78b916236d2a44fe21e8a35c10e1da502ffc58 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:18 + git config --global --add safe.directory /w/workspace/device-mqtt-go/156 [Pipeline] fileExists [Pipeline] sh 15:39:18 + make test 15:39:18 go test ./... -coverprofile=coverage.out ./... 15:39:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:40:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:40:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:40:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 22.8% of statements 15:40:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:40:21 go vet ./... 15:40:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:40:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:40:40 ./bin/test-attribution-txt.sh [Pipeline] echo 15:40:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:40:40 $ docker stop --time=1 e69586f2c32fd017a00759f2dc78b916236d2a44fe21e8a35c10e1da502ffc58 15:40:42 $ docker rm -f --volumes e69586f2c32fd017a00759f2dc78b916236d2a44fe21e8a35c10e1da502ffc58 [Pipeline] // withDockerContainer [Pipeline] sh 15:40:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:40:43 Warning: overwriting stash ‘coverage-report’ 15:40:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:40:44 + ls -al . 15:40:44 total 180 15:40:44 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:39 . 15:40:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:37 .. 15:40:44 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 15:37 .dockerignore 15:40:44 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:37 .git 15:40:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:37 .github 15:40:44 -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 15:37 .gitignore 15:40:44 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 15:37 .golangci.yml 15:40:44 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 6 15:37 Attribution.txt 15:40:44 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 6 15:37 CHANGELOG.md 15:40:44 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 6 15:37 Dockerfile 15:40:44 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:37 GOVERNANCE.md 15:40:44 -rw-rw-r-- 1 jenkins jenkins 657 Dec 6 15:37 Jenkinsfile 15:40:44 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 15:37 LICENSE 15:40:44 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 6 15:37 Makefile 15:40:44 -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 15:37 OWNERS.md 15:40:44 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 6 15:37 README.md 15:40:44 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:27 VERSION 15:40:44 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:37 bin 15:40:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:37 cmd 15:40:44 -rw-r--r-- 1 jenkins jenkins 18506 Dec 6 15:40 coverage.out 15:40:44 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 6 15:37 go.mod 15:40:44 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 15:37 go.sum 15:40:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:37 internal 15:40:44 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:37 mock 15:40:44 -rw-rw-r-- 1 jenkins jenkins 227 Dec 6 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:45 + 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=4e218282e077fec14fc384a358d0b18c03acea40 --label arch=arm64 --label version=3.2.0-dev.3 . 15:40:46 #0 building with "default" instance using docker driver 15:40:46 15:40:46 #1 [internal] load .dockerignore 15:40:46 #1 transferring context: 182B 0.0s done 15:40:46 #1 DONE 0.0s 15:40:46 15:40:46 #2 [internal] load build definition from Dockerfile 15:40:46 #2 transferring dockerfile: 1.84kB 0.0s done 15:40:46 #2 DONE 0.1s 15:40:46 15:40:46 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 15:40:46 #3 DONE 0.0s 15:40:46 15:40:46 #4 [internal] load metadata for docker.io/library/alpine:3.18 15:40:46 #4 DONE 0.4s 15:40:46 15:40:46 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:40:46 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 15:40:46 #5 ... 15:40:46 15:40:46 #6 [internal] load build context 15:40:46 #6 transferring context: 25.22kB 0.0s done 15:40:46 #6 DONE 0.1s 15:40:46 15:40:46 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:40:46 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 15:40:46 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 15:40:46 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 15:40:46 #5 ... 15:40:46 15:40:46 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 15:40:46 #7 DONE 0.2s 15:40:46 15:40:46 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:40:46 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 15:40:46 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 15:40:46 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 15:40:47 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 15:40:49 #5 DONE 2.6s 15:40:49 15:40:49 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:40:49 #8 ... 15:40:49 15:40:49 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 15:40:49 #9 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:40:49 #9 1.154 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:40:49 #9 2.385 OK: 271 MiB in 56 packages 15:40:49 #9 DONE 2.8s 15:40:49 15:40:49 #10 [builder 3/7] WORKDIR /device-mqtt-go 15:40:49 #10 DONE 0.1s 15:40:49 15:40:49 #11 [builder 4/7] COPY go.mod vendor* ./ 15:40:49 #11 DONE 0.2s 15:40:49 15:40:49 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:40:49 #8 0.828 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:40:50 #8 1.225 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:40:51 #8 ... 15:40:51 15:40:51 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:40:51 #12 DONE 1.3s 15:40:51 15:40:51 #13 [builder 6/7] COPY . . 15:40:51 #13 DONE 0.3s 15:40:51 15:40:51 #14 [builder 7/7] RUN make build 15:40:51 #14 ... 15:40:51 15:40:51 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:40:51 #8 2.423 (1/1) Installing dumb-init (1.2.5-r2) 15:40:51 #8 2.437 Executing busybox-1.36.1-r5.trigger 15:40:51 #8 2.462 OK: 8 MiB in 16 packages 15:40:51 #8 DONE 2.8s 15:40:52 15:40:52 #15 [stage-1 3/6] RUN apk --no-cache upgrade 15:40:52 #15 0.907 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:40:53 #15 1.293 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:40:54 #15 2.374 OK: 8 MiB in 16 packages 15:40:54 #15 DONE 2.7s 15:40:54 15:40:54 #14 [builder 7/7] RUN make build 15:40:54 #14 0.824 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:42:02 #14 DONE 69.8s 15:42:02 15:42:02 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 15:42:02 #16 DONE 0.3s 15:42:02 15:42:02 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 15:42:02 #17 DONE 0.1s 15:42:02 15:42:02 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 15:42:02 #18 DONE 0.1s 15:42:02 15:42:02 #19 exporting to image 15:42:02 #19 exporting layers 15:42:02 #19 exporting layers 0.4s done 15:42:02 #19 writing image sha256:2452d7acce681b9282a0094a5b38d55480c08ac91d1cd41fcb9d00951382c345 done 15:42:02 #19 naming to docker.io/library/device-mqtt-arm64 done 15:42:02 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:02 provisioning config files... 15:42:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/156@tmp/config14059707080122777449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:03 ---> ****-login.sh 15:42:03 nexus3.edgexfoundry.org:10001 15:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:03 Configure a credential helper to remove this warning. See 15:42:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:03 15:42:03 Login Succeeded 15:42:03 nexus3.edgexfoundry.org:10002 15:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:03 Configure a credential helper to remove this warning. See 15:42:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:03 15:42:03 Login Succeeded 15:42:03 nexus3.edgexfoundry.org:10003 15:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:04 Configure a credential helper to remove this warning. See 15:42:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:04 15:42:04 Login Succeeded 15:42:04 nexus3.edgexfoundry.org:10004 15:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:04 Configure a credential helper to remove this warning. See 15:42:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:04 15:42:04 Login Succeeded 15:42:04 ****.io 15:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:05 Configure a credential helper to remove this warning. See 15:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:05 15:42:05 Login Succeeded 15:42:05 ---> ****-login.sh ends [Pipeline] } 15:42:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:42:05 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 15:42:05 4e218282e077fec14fc384a358d0b18c03acea40 15:42:05 latest 15:42:05 3.2.0-dev.3 15:42:05 4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 15:42:05 main 15:42:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e218282e077fec14fc384a358d0b18c03acea40 15:42:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:42:06 3d216800351c: Preparing 15:42:06 41e00c8c4979: Preparing 15:42:06 7374f8e7dead: Preparing 15:42:06 d77b012ba908: Preparing 15:42:06 694637c865d7: Preparing 15:42:06 0faf9b67be60: Preparing 15:42:06 0faf9b67be60: Waiting 15:42:06 3d216800351c: Pushed 15:42:06 694637c865d7: Pushed 15:42:06 41e00c8c4979: Pushed 15:42:06 0faf9b67be60: Layer already exists 15:42:06 d77b012ba908: Pushed 15:42:13 7374f8e7dead: Pushed 15:42:13 4e218282e077fec14fc384a358d0b18c03acea40: digest: sha256:46b80be0570a551abc3700ff3f4096e81cb6229007ca4a2e2bdc2286c6f1bac5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 15:42:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:42:17 3d216800351c: Preparing 15:42:17 41e00c8c4979: Preparing 15:42:17 7374f8e7dead: Preparing 15:42:17 d77b012ba908: Preparing 15:42:17 694637c865d7: Preparing 15:42:17 0faf9b67be60: Preparing 15:42:17 0faf9b67be60: Waiting 15:42:17 41e00c8c4979: Layer already exists 15:42:17 694637c865d7: Layer already exists 15:42:17 d77b012ba908: Layer already exists 15:42:17 3d216800351c: Layer already exists 15:42:17 7374f8e7dead: Layer already exists 15:42:17 0faf9b67be60: Layer already exists 15:42:17 latest: digest: sha256:46b80be0570a551abc3700ff3f4096e81cb6229007ca4a2e2bdc2286c6f1bac5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.3 15:42:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:42:18 3d216800351c: Preparing 15:42:18 41e00c8c4979: Preparing 15:42:18 7374f8e7dead: Preparing 15:42:18 d77b012ba908: Preparing 15:42:18 694637c865d7: Preparing 15:42:18 0faf9b67be60: Preparing 15:42:18 0faf9b67be60: Waiting 15:42:18 3d216800351c: Layer already exists 15:42:18 7374f8e7dead: Layer already exists 15:42:18 d77b012ba908: Layer already exists 15:42:18 694637c865d7: Layer already exists 15:42:18 41e00c8c4979: Layer already exists 15:42:18 0faf9b67be60: Layer already exists 15:42:18 3.2.0-dev.3: digest: sha256:46b80be0570a551abc3700ff3f4096e81cb6229007ca4a2e2bdc2286c6f1bac5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 15:42:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:42:19 3d216800351c: Preparing 15:42:19 41e00c8c4979: Preparing 15:42:19 7374f8e7dead: Preparing 15:42:19 d77b012ba908: Preparing 15:42:19 694637c865d7: Preparing 15:42:19 0faf9b67be60: Preparing 15:42:19 0faf9b67be60: Waiting 15:42:19 694637c865d7: Layer already exists 15:42:19 d77b012ba908: Layer already exists 15:42:19 7374f8e7dead: Layer already exists 15:42:19 41e00c8c4979: Layer already exists 15:42:19 3d216800351c: Layer already exists 15:42:19 0faf9b67be60: Layer already exists 15:42:19 4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3: digest: sha256:46b80be0570a551abc3700ff3f4096e81cb6229007ca4a2e2bdc2286c6f1bac5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 15:42:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 15:42:20 3d216800351c: Preparing 15:42:20 41e00c8c4979: Preparing 15:42:20 7374f8e7dead: Preparing 15:42:20 d77b012ba908: Preparing 15:42:20 694637c865d7: Preparing 15:42:20 0faf9b67be60: Preparing 15:42:20 0faf9b67be60: Waiting 15:42:20 694637c865d7: Layer already exists 15:42:20 7374f8e7dead: Layer already exists 15:42:20 41e00c8c4979: Layer already exists 15:42:20 d77b012ba908: Layer already exists 15:42:20 3d216800351c: Layer already exists 15:42:20 0faf9b67be60: Layer already exists 15:42:21 main: digest: sha256:46b80be0570a551abc3700ff3f4096e81cb6229007ca4a2e2bdc2286c6f1bac5 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:21 ===================================================== [Pipeline] echo 15:42:21 taggedImages: 15:42:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e218282e077fec14fc384a358d0b18c03acea40 15:42:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 15:42:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.3 15:42:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e218282e077fec14fc384a358d0b18c03acea40-3.2.0-dev.3 15:42:21 - 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 15:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:22 15:42:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:22 arm64: Pulling from edgex-lftools-log-publisher 15:42:22 8998bd30e6a1: Pulling fs layer 15:42:22 04944245beec: Pulling fs layer 15:42:22 699f458cf7ca: Pulling fs layer 15:42:22 765212b225bb: Pulling fs layer 15:42:22 f23df028b6ca: Pulling fs layer 15:42:22 d65c8cfc05b1: Pulling fs layer 15:42:22 2437ff75d9bd: Pulling fs layer 15:42:22 f23df028b6ca: Waiting 15:42:22 d65c8cfc05b1: Waiting 15:42:22 2437ff75d9bd: Waiting 15:42:22 765212b225bb: Waiting 15:42:22 04944245beec: Verifying Checksum 15:42:22 04944245beec: Download complete 15:42:22 765212b225bb: Verifying Checksum 15:42:22 765212b225bb: Download complete 15:42:22 f23df028b6ca: Verifying Checksum 15:42:22 f23df028b6ca: Download complete 15:42:22 d65c8cfc05b1: Download complete 15:42:22 699f458cf7ca: Verifying Checksum 15:42:22 699f458cf7ca: Download complete 15:42:23 8998bd30e6a1: Verifying Checksum 15:42:23 8998bd30e6a1: Download complete 15:42:25 2437ff75d9bd: Verifying Checksum 15:42:25 2437ff75d9bd: Download complete 15:42:31 8998bd30e6a1: Pull complete 15:42:31 04944245beec: Pull complete 15:42:33 699f458cf7ca: Pull complete 15:42:33 765212b225bb: Pull complete 15:42:34 f23df028b6ca: Pull complete 15:42:34 d65c8cfc05b1: Pull complete 15:42:56 2437ff75d9bd: Pull complete 15:42:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:57 prd-ubuntu20.04-docker-arm64-4c-16g-24366 does not seem to be running inside a container 15:42:57 $ 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/156 -v /w/workspace/device-mqtt-go/156:/w/workspace/device-mqtt-go/156:rw,z -v /w/workspace/device-mqtt-go/156@tmp:/w/workspace/device-mqtt-go/156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:43:00 $ docker top 77a9ebf11edc0c8905b38d6cff295ea9406521216c7a5d1497f0bbf92e713f45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:00 ---> job-cost.sh 15:43:01 lf-activate-venv: SKIPPING 15:43:01 INFO: No Stack... 15:43:01 INFO: Retrieving Pricing Info for: v3-standard-8 15:43:02 INFO: Archiving Costs [Pipeline] sh 15:43:02 + cat /w/workspace/device-mqtt-go/156/archives/cost.csv 15:43:02 + cut -d, -f6 [Pipeline] lock 15:43:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] 15:43:02 Resource [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] did not exist. Created. 15:43:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:43:02 /w/workspace/device-mqtt-go/156@tmp/durable-32284b54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:43:03 + echo total: 0.2199999988079071 [Pipeline] stash 15:43:03 Warning: overwriting stash ‘stack-cost’ 15:43:03 Stashed 1 file(s) [Pipeline] } 15:43:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 15:43:03 $ docker stop --time=1 77a9ebf11edc0c8905b38d6cff295ea9406521216c7a5d1497f0bbf92e713f45 15:43:04 $ docker rm -f --volumes 77a9ebf11edc0c8905b38d6cff295ea9406521216c7a5d1497f0bbf92e713f45 [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 15:43:06 provisioning config files... 15:43:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4078740478511968090tmp [Pipeline] { [Pipeline] sh 15:43:06 + set +x 15:43:06 + + bash -s -- 15:43:06 curl -s https://codecov.io/bash 15:43:06 15:43:06 _____ _ 15:43:06 / ____| | | 15:43:06 | | ___ __| | ___ ___ _____ __ 15:43:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:43:06 | |___| (_) | (_| | __/ (_| (_) \ V / 15:43:06 \_____\___/ \__,_|\___|\___\___/ \_/ 15:43:06 Bash-1.0.6 15:43:06 15:43:06 15:43:06 ==> git version 2.25.1 found 15:43:06 ==> 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 15:43:06 Release-Date: 2020-01-08 15:43:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:43:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:43:06 ==> Jenkins CI detected. 15:43:06 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 15:43:06 project root: . 15:43:06 --> token set from env 15:43:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:43:06 ==> Running gcov in . (disable via -X gcov) 15:43:06 ==> Python coveragepy not found 15:43:06 ==> Searching for coverage reports in: 15:43:06 + . 15:43:06 -> Found 1 reports 15:43:06 ==> Detecting git/mercurial file structure 15:43:06 ==> Reading reports 15:43:06 + ./coverage.out bytes=18506 15:43:06 ==> Appending adjustments 15:43:06 https://docs.codecov.io/docs/fixing-reports 15:43:06 + Found adjustments 15:43:06 ==> Gzipping contents 15:43:06 4.0K /tmp/codecov.8PbQSZ.gz 15:43:06 ==> Uploading reports 15:43:06 url: https://codecov.io 15:43:06 query: branch=main&commit=4e218282e077fec14fc384a358d0b18c03acea40&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:43:06 -> Pinging Codecov 15:43:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4e218282e077fec14fc384a358d0b18c03acea40&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:43:07 -> Uploading to 15:43:07 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/7D719EC7BBE17E464838252E33014C33/4e218282e077fec14fc384a358d0b18c03acea40/1db86ed5-c2c2-466a-a760-94dcce0c8776.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T154306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91a54000ed5384d8214eb77d5298cd431d5203da8c5096ca78797d408605d16e 15:43:07 % Total % Received % Xferd Average Speed Time Time Time Current 15:43:07 Dload Upload Total Spent Left Speed 15:43:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11726 --:--:-- --:--:-- --:--:-- 11726 15:43:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] } 15:43:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:43:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:43:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:43:08 15:43:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:43:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:43:08 df9b9388f04a: Pulling fs layer 15:43:08 52dc419b0ee2: Pulling fs layer 15:43:08 25bc292e5bac: Pulling fs layer 15:43:08 114826534d7a: Pulling fs layer 15:43:08 4657fd5d0bcf: Pulling fs layer 15:43:08 6ad1cebc031e: Pulling fs layer 15:43:08 8a3aa393b2d8: Pulling fs layer 15:43:08 4657fd5d0bcf: Waiting 15:43:08 8a3aa393b2d8: Waiting 15:43:08 114826534d7a: Waiting 15:43:08 25bc292e5bac: Download complete 15:43:08 52dc419b0ee2: Download complete 15:43:08 4657fd5d0bcf: Verifying Checksum 15:43:08 4657fd5d0bcf: Download complete 15:43:08 df9b9388f04a: Verifying Checksum 15:43:08 df9b9388f04a: Download complete 15:43:08 df9b9388f04a: Pull complete 15:43:08 6ad1cebc031e: Verifying Checksum 15:43:08 6ad1cebc031e: Download complete 15:43:08 52dc419b0ee2: Pull complete 15:43:09 25bc292e5bac: Pull complete 15:43:09 114826534d7a: Verifying Checksum 15:43:09 114826534d7a: Download complete 15:43:09 8a3aa393b2d8: Verifying Checksum 15:43:09 8a3aa393b2d8: Download complete 15:43:13 114826534d7a: Pull complete 15:43:13 4657fd5d0bcf: Pull complete 15:43:13 6ad1cebc031e: Pull complete 15:43:16 8a3aa393b2d8: Pull complete 15:43:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:43:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:43:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:16 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:43:22 $ docker top 773dcb6348a63067a91184fefe8d21fd3f57a7589b27a3644ee85fa50257fde6 -eo pid,comm [Pipeline] { [Pipeline] echo 15:43:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 15:43:22 + set -o pipefail 15:43:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 15:43:27 15:43:27 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 15:43:27 15:43:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/8c66e679-8af0-49f7-835f-e033768aaa2d 15:43:27 15:43:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:43:27 15:43:27 15:43:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:43:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:43:27 More details here: https://snyk.co/ue1NS 15:43:27 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:43:27 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:43:27 $ docker stop --time=1 773dcb6348a63067a91184fefe8d21fd3f57a7589b27a3644ee85fa50257fde6 15:43:33 $ docker rm -f --volumes 773dcb6348a63067a91184fefe8d21fd3f57a7589b27a3644ee85fa50257fde6 [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 15:43:34 + git log --format=format:%s -1 4e218282e077fec14fc384a358d0b18c03acea40 [Pipeline] sh 15:43:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:43:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:43:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:35 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:43:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:43:35 $ docker top fe55a6742159c0d617cf78ae805c6b634ebcdb64ea243b47902f0306786975ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:43:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:35 [ssh-agent] Looking for ssh-agent implementation... 15:43:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:36 $ docker exec fe55a6742159c0d617cf78ae805c6b634ebcdb64ea243b47902f0306786975ae ssh-agent 15:43:36 SSH_AUTH_SOCK=/tmp/ssh-4JVPBlFs4VUg/agent.33 15:43:36 SSH_AGENT_PID=39 15:43:36 Running ssh-add (command line suppressed) 15:43:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18189849202870722647.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18189849202870722647.key) 15:43:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:36 + git semver tag 15:43:36 2023-12-06 15:43:36,868 [run_tag] DEBUG tag force:False 15:43:36 2023-12-06 15:43:36,868 [check_head_tag] DEBUG check head tag 15:43:36 2023-12-06 15:43:36,869 [execute] INFO git cat-file --batch-check 15:43:36 2023-12-06 15:43:36,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 15:43:36 2023-12-06 15:43:36,874 [execute] INFO git cat-file --batch 15:43:36 2023-12-06 15:43:36,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 15:43:36 2023-12-06 15:43:36,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:43:36 2023-12-06 15:43:36,893 [execute] INFO git tag -a v3.2.0-dev.3 -m v3.2.0-dev.3 15:43:36 2023-12-06 15:43:36,893 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.3', '-m', 'v3.2.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 15:43:36 2023-12-06 15:43:36,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:43:36 3.2.0-dev.3 [Pipeline] } 15:43:36 $ docker exec --env ******** --env ******** fe55a6742159c0d617cf78ae805c6b634ebcdb64ea243b47902f0306786975ae ssh-agent -k 15:43:37 unset SSH_AUTH_SOCK; 15:43:37 unset SSH_AGENT_PID; 15:43:37 echo Agent pid 39 killed; 15:43:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:43:37 + git semver [Pipeline] } 15:43:37 $ docker stop --time=1 fe55a6742159c0d617cf78ae805c6b634ebcdb64ea243b47902f0306786975ae 15:43:39 $ docker rm -f --volumes fe55a6742159c0d617cf78ae805c6b634ebcdb64ea243b47902f0306786975ae [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:43:39 15:43:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:43:40 0.23.1-centos7: Pulling from edgex-lftools 15:43:40 ab5ef0e58194: Pulling fs layer 15:43:40 9712f1f96733: Pulling fs layer 15:43:40 63f879dbbcfc: Pulling fs layer 15:43:40 0d9ebad4ef96: Pulling fs layer 15:43:40 e9a5061849ea: Pulling fs layer 15:43:40 d747dcd14b5f: Pulling fs layer 15:43:40 2de7ff778b66: Pulling fs layer 15:43:40 e9a5061849ea: Waiting 15:43:40 0d9ebad4ef96: Waiting 15:43:40 d747dcd14b5f: Waiting 15:43:40 2de7ff778b66: Waiting 15:43:40 9712f1f96733: Verifying Checksum 15:43:40 9712f1f96733: Download complete 15:43:40 63f879dbbcfc: Verifying Checksum 15:43:40 63f879dbbcfc: Download complete 15:43:40 e9a5061849ea: Verifying Checksum 15:43:40 e9a5061849ea: Download complete 15:43:40 d747dcd14b5f: Download complete 15:43:40 ab5ef0e58194: Verifying Checksum 15:43:40 ab5ef0e58194: Download complete 15:43:40 0d9ebad4ef96: Verifying Checksum 15:43:40 0d9ebad4ef96: Download complete 15:43:40 2de7ff778b66: Verifying Checksum 15:43:40 2de7ff778b66: Download complete 15:43:44 ab5ef0e58194: Pull complete 15:43:44 9712f1f96733: Pull complete 15:43:44 63f879dbbcfc: Pull complete 15:43:48 0d9ebad4ef96: Pull complete 15:43:48 e9a5061849ea: Pull complete 15:43:48 d747dcd14b5f: Pull complete 15:43:49 2de7ff778b66: Pull complete 15:43:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:43:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:43:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:50 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:43:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:43:58 $ docker top 9d5b721c044e3bc1494b956b2f5c5760e0cf848adc16a410640d4a75fac4254f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:43:58 provisioning config files... 15:43:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8677368163624304591tmp 15:43:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2510784035707543032tmp 15:43:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1801575818802204245tmp [Pipeline] { [Pipeline] echo 15:43:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:43:58 ---> sigul-configuration.sh 15:43:58 gpg: directory `/root/.gnupg' created 15:43:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:43:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:43:58 gpg: keyring `/root/.gnupg/secring.gpg' created 15:43:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:43:58 gpg: CAST5 encrypted data 15:43:58 gpg: encrypted with 1 passphrase 15:43:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:43:59 + mkdir /home/jenkins 15:43:59 + mkdir /home/jenkins/sigul [Pipeline] sh 15:43:59 + 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 15:43:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:43:59 ---> sigul-install.sh 15:43:59 Sigul already installed; skipping installation. [Pipeline] sh 15:44:00 + git tag --list 15:44:00 0.7.1 15:44:00 v1.0.0 15:44:00 v1.1.0 15:44:00 v1.1.1 15:44:00 v1.2.2 15:44:00 v1.3.0 15:44:00 v1.3.1 15:44:00 v2.0.0 15:44:00 v2.1.0 15:44:00 v2.1.1 15:44:00 v2.2.0 15:44:00 v2.3.0 15:44:00 v3.0 15:44:00 v3.0.0 15:44:00 v3.1 15:44:00 v3.1.0 15:44:00 v3.1.0-dev.1 15:44:00 v3.1.0-dev.10 15:44:00 v3.1.0-dev.11 15:44:00 v3.1.0-dev.12 15:44:00 v3.1.0-dev.13 15:44:00 v3.1.0-dev.14 15:44:00 v3.1.0-dev.15 15:44:00 v3.1.0-dev.16 15:44:00 v3.1.0-dev.17 15:44:00 v3.1.0-dev.18 15:44:00 v3.1.0-dev.19 15:44:00 v3.1.0-dev.2 15:44:00 v3.1.0-dev.20 15:44:00 v3.1.0-dev.21 15:44:00 v3.1.0-dev.22 15:44:00 v3.1.0-dev.23 15:44:00 v3.1.0-dev.24 15:44:00 v3.1.0-dev.25 15:44:00 v3.1.0-dev.3 15:44:00 v3.1.0-dev.4 15:44:00 v3.1.0-dev.5 15:44:00 v3.1.0-dev.6 15:44:00 v3.1.0-dev.7 15:44:00 v3.1.0-dev.8 15:44:00 v3.1.0-dev.9 15:44:00 v3.2.0-dev.1 15:44:00 v3.2.0-dev.2 15:44:00 v3.2.0-dev.3 [Pipeline] sh 15:44:00 + lftools sign git-tag v3.2.0-dev.3 15:44:01 Signing Git tag with Sigul... 15:44:01 Signing v3.2.0-dev.3 [Pipeline] echo 15:44:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:44:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:44:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:44:02 $ docker stop --time=1 9d5b721c044e3bc1494b956b2f5c5760e0cf848adc16a410640d4a75fac4254f 15:44:03 $ docker rm -f --volumes 9d5b721c044e3bc1494b956b2f5c5760e0cf848adc16a410640d4a75fac4254f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:44:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:04 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:44: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:44:05 $ docker top 503a296f9d5f0996dbc20f2f988d325179958d3e447ec5e7b0b39222d5434d80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:05 [ssh-agent] Looking for ssh-agent implementation... 15:44:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:05 $ docker exec 503a296f9d5f0996dbc20f2f988d325179958d3e447ec5e7b0b39222d5434d80 ssh-agent 15:44:05 SSH_AUTH_SOCK=/tmp/ssh-HjzyAlzZEKXA/agent.32 15:44:05 SSH_AGENT_PID=38 15:44:05 Running ssh-add (command line suppressed) 15:44:05 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3242218172567325434.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3242218172567325434.key) 15:44:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:06 + git semver bump pre 15:44:06 2023-12-06 15:44:06,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:44:06 2023-12-06 15:44:06,412 [bump_version] DEBUG bumping version:3.2.0-dev.3 on axis:pre with prefix:dev 15:44:06 2023-12-06 15:44:06,412 [bump_version] DEBUG bumped version:3.2.0-dev.4 15:44:06 2023-12-06 15:44:06,412 [write_version] DEBUG write version:3.2.0-dev.4 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 15:44:06 2023-12-06 15:44:06,412 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:44:06 2023-12-06 15:44:06,412 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:44:06 2023-12-06 15:44:06,414 [execute] INFO git cat-file --batch-check 15:44:06 2023-12-06 15:44:06,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:44:06 2023-12-06 15:44:06,420 [execute] INFO git cat-file --batch 15:44:06 2023-12-06 15:44:06,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:44:06 2023-12-06 15:44:06,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:44:06 3.2.0-dev.4 [Pipeline] } 15:44:06 $ docker exec --env ******** --env ******** 503a296f9d5f0996dbc20f2f988d325179958d3e447ec5e7b0b39222d5434d80 ssh-agent -k 15:44:06 unset SSH_AUTH_SOCK; 15:44:06 unset SSH_AGENT_PID; 15:44:06 echo Agent pid 38 killed; 15:44:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:07 + git semver [Pipeline] } 15:44:07 $ docker stop --time=1 503a296f9d5f0996dbc20f2f988d325179958d3e447ec5e7b0b39222d5434d80 15:44:08 $ docker rm -f --volumes 503a296f9d5f0996dbc20f2f988d325179958d3e447ec5e7b0b39222d5434d80 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:09 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:44:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:44:10 $ docker top a48256b2a5ef97d00fc1b608672a25447829f2b8f613d3625c26157d35387015 -eo pid,comm 15:44:10 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). 15:44:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:10 [ssh-agent] Looking for ssh-agent implementation... 15:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:10 $ docker exec a48256b2a5ef97d00fc1b608672a25447829f2b8f613d3625c26157d35387015 ssh-agent 15:44:10 SSH_AUTH_SOCK=/tmp/ssh-aHRGTVkS4ZAY/agent.32 15:44:10 SSH_AGENT_PID=38 15:44:10 Running ssh-add (command line suppressed) 15:44:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11450793364488538503.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11450793364488538503.key) 15:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:11 + git semver push 15:44:11 2023-12-06 15:44:11,296 [run_push] DEBUG push 15:44:11 2023-12-06 15:44:11,297 [execute] INFO git cat-file --batch-check 15:44:11 2023-12-06 15:44:11,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:44:11 2023-12-06 15:44:11,301 [execute] INFO git rev-list 5e5ef7014d2269e7dc17ab0b2ab9f1f61ca63500 -- 15:44:11 2023-12-06 15:44:11,302 [execute] DEBUG Popen(['git', 'rev-list', '5e5ef7014d2269e7dc17ab0b2ab9f1f61ca63500', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:44:11 2023-12-06 15:44:11,311 [execute] INFO git fetch -v origin 15:44:11 2023-12-06 15:44:11,311 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:44:12 2023-12-06 15:44:11,870 [run_push] DEBUG no remote changes detected 15:44:12 2023-12-06 15:44:11,870 [execute] INFO git push origin semver 15:44:12 2023-12-06 15:44:11,871 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:44:12 2023-12-06 15:44:12,706 [run_push] DEBUG push all version tags 15:44:12 2023-12-06 15:44:12,707 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:44:12 2023-12-06 15:44:12,707 [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) 15:44:13 2023-12-06 15:44:13,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:44:13 3.2.0-dev.4 [Pipeline] } 15:44:13 $ docker exec --env ******** --env ******** a48256b2a5ef97d00fc1b608672a25447829f2b8f613d3625c26157d35387015 ssh-agent -k 15:44:13 unset SSH_AUTH_SOCK; 15:44:13 unset SSH_AGENT_PID; 15:44:13 echo Agent pid 38 killed; 15:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:14 + git semver [Pipeline] } 15:44:14 $ docker stop --time=1 a48256b2a5ef97d00fc1b608672a25447829f2b8f613d3625c26157d35387015 15:44:16 $ docker rm -f --volumes a48256b2a5ef97d00fc1b608672a25447829f2b8f613d3625c26157d35387015 [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 15:44:17 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 15:44:17 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:44:17 total 16 15:44:17 drwxr-xr-x 3 root root 4096 Dec 6 15:30 . 15:44:17 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:43 .. 15:44:17 drwxr-xr-x 2 root root 4096 Dec 6 15:30 cost 15:44:17 -rw-r--r-- 1 root root 86 Dec 6 15:30 cost.csv 15:44:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:44:17 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 15:44:17 total 16 15:44:17 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:30 . 15:44:17 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:43 .. 15:44:17 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 15:30 cost 15:44:17 -rw-r--r-- 1 jenkins jenkins 86 Dec 6 15:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:44:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:44:18 ---> package-listing.sh 15:44:18 ++ facter osfamily 15:44:18 ++ tr '[:upper:]' '[:lower:]' 15:44:19 + OS_FAMILY=debian 15:44:19 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 15:44:19 + START_PACKAGES=/tmp/packages_start.txt 15:44:19 + END_PACKAGES=/tmp/packages_end.txt 15:44:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:44:19 + PACKAGES=/tmp/packages_start.txt 15:44:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 15:44:19 + PACKAGES=/tmp/packages_end.txt 15:44:19 + case "${OS_FAMILY}" in 15:44:19 + dpkg -l 15:44:19 + grep '^ii' 15:44:19 + '[' -f /tmp/packages_start.txt ']' 15:44:19 + '[' -f /tmp/packages_end.txt ']' 15:44:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:44:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 15:44:19 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 15:44:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 15:44:19 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 15:44:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:20 prd-ubuntu20.04-docker-8c-8g-24227 does not seem to be running inside a container 15:44:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:44:21 $ docker top c866acc98dd320f9e8cd45c054436d2c1108eb1881da7e48de1612aeedd73e0c -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:22 + touch /tmp/pre-build-complete [Pipeline] sh 15:44:22 + mkdir -p /var/log/sysstat [Pipeline] sh 15:44:22 + ls /var/log/sa-host 15:44:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:22 provisioning config files... 15:44:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17585468340222694672tmp [Pipeline] { [Pipeline] echo 15:44:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:44:23 ---> create-netrc.sh [Pipeline] } 15:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:44:23 ---> python-tools-install.sh [Pipeline] echo 15:44:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:44:23 ---> sudo-logs.sh 15:44:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:44:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:44:24 ---> job-cost.sh 15:44:24 lf-activate-venv: SKIPPING 15:44:24 DEBUG: total: 0.2199999988079071 15:44:24 INFO: Retrieving Stack Cost... 15:44:24 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:25 INFO: Archiving Costs [Pipeline] echo 15:44:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:44:25 ---> logs-deploy.sh 15:44:25 lf-activate-venv: SKIPPING 15:44:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/156 15:44:25 INFO: archiving workspace using pattern(s): 15:44:26 Archives upload complete. 15:44:26 INFO: archiving logs to Nexus