Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5520233bf84df16304f7dd08ef94c536c7e2796 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-ssh8482172472002423142.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-ssh1646308183784432776.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-ssh9410375643320582384.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-ssh14756308259302226854.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-ssh3839520108872063160.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-25114 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 e5520233bf84df16304f7dd08ef94c536c7e2796 (main) Commit message: "Merge pull request #654 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" > 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 e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 > git rev-list --no-walk 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:28:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:28:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:28:20 ========================================================= 02:28:20 EdgeX Global Pipelines Version Info 02:28:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:28:21 ------------------- 02:28:21 stable info: 02:28:21 ------------------- 02:28:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:28:21 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:21 Message: update stable to v1.0.258 02:28:21 ------------------- 02:28:21 experimental info: 02:28:21 ------------------- 02:28:21 Commited By: **** collab-it+edgex@linuxfoundation.org 02:28:21 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:21 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e552023 [Pipeline] echo 02:28:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:22 provisioning config files... 02:28:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3334311410417125694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:23 ---> ****-login.sh 02:28:23 nexus3.edgexfoundry.org:10001 02:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:23 Configure a credential helper to remove this warning. See 02:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:23 02:28:23 Login Succeeded 02:28:23 nexus3.edgexfoundry.org:10002 02:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:23 Configure a credential helper to remove this warning. See 02:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:23 02:28:23 Login Succeeded 02:28:23 nexus3.edgexfoundry.org:10003 02:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:23 Configure a credential helper to remove this warning. See 02:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:23 02:28:23 Login Succeeded 02:28:23 nexus3.edgexfoundry.org:10004 02:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:23 Configure a credential helper to remove this warning. See 02:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:23 02:28:23 Login Succeeded 02:28:23 ****.io 02:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:24 Configure a credential helper to remove this warning. See 02:28:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:24 02:28:24 Login Succeeded 02:28:24 ---> ****-login.sh ends [Pipeline] } 02:28:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:28:24 + git rev-list -1 --merges e5520233bf84df16304f7dd08ef94c536c7e2796~1..e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] echo 02:28:24 -----------> git rev-list -1 --merges e5520233bf84df16304f7dd08ef94c536c7e2796~1..e5520233bf84df16304f7dd08ef94c536c7e2796 e5520233bf84df16304f7dd08ef94c536c7e2796 02:28:24 e5520233bf84df16304f7dd08ef94c536c7e2796 [false] [Pipeline] sh 02:28:25 + git log --format=format:%s -1 e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] echo 02:28:25 ========================================================= 02:28:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:28:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:25 + git log --format=format:%s -1 e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] echo 02:28:25 [semverPrep] GIT_COMMIT: e5520233bf84df16304f7dd08ef94c536c7e2796, Commit Message: Merge pull request #654 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4 [Pipeline] echo 02:28:25 [semverPrep] This is not a build commit. [Pipeline] sh 02:28:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:28:25 + grep -v github /etc/ssh/ssh_known_hosts 02:28:25 + [ -e /tmp/ssh_known_hosts ] 02:28:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:28:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:28:25 + sudo tee -a /etc/ssh/ssh_known_hosts 02:28:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:26 02:28:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:26 0.1.4: Pulling from edgex-devops/py-git-semver 02:28:26 b85a868b505f: Pulling fs layer 02:28:26 e2be974225ed: Pulling fs layer 02:28:26 339a4e72a1f5: Pulling fs layer 02:28:26 988bab9f4d93: Pulling fs layer 02:28:26 1469e6f7b9e6: Pulling fs layer 02:28:26 988bab9f4d93: Waiting 02:28:26 eaf3925da568: Pulling fs layer 02:28:26 1469e6f7b9e6: Waiting 02:28:26 bab4dde63d76: Pulling fs layer 02:28:26 bde34c3a00c8: Pulling fs layer 02:28:26 b352a97aabf1: Pulling fs layer 02:28:26 bab4dde63d76: Waiting 02:28:26 bde34c3a00c8: Waiting 02:28:26 4872d77fe225: Pulling fs layer 02:28:26 5851b861e8e6: Pulling fs layer 02:28:26 b352a97aabf1: Waiting 02:28:26 4872d77fe225: Waiting 02:28:26 5851b861e8e6: Waiting 02:28:26 e2be974225ed: Download complete 02:28:26 988bab9f4d93: Verifying Checksum 02:28:26 988bab9f4d93: Download complete 02:28:26 1469e6f7b9e6: Verifying Checksum 02:28:26 1469e6f7b9e6: Download complete 02:28:26 339a4e72a1f5: Verifying Checksum 02:28:26 339a4e72a1f5: Download complete 02:28:26 eaf3925da568: Download complete 02:28:26 bde34c3a00c8: Verifying Checksum 02:28:26 bde34c3a00c8: Download complete 02:28:26 b352a97aabf1: Verifying Checksum 02:28:26 b352a97aabf1: Download complete 02:28:26 b85a868b505f: Verifying Checksum 02:28:26 b85a868b505f: Download complete 02:28:26 4872d77fe225: Verifying Checksum 02:28:26 4872d77fe225: Download complete 02:28:27 bab4dde63d76: Verifying Checksum 02:28:27 bab4dde63d76: Download complete 02:28:28 b85a868b505f: Pull complete 02:28:28 e2be974225ed: Pull complete 02:28:28 339a4e72a1f5: Pull complete 02:28:28 988bab9f4d93: Pull complete 02:28:29 1469e6f7b9e6: Pull complete 02:28:29 eaf3925da568: Pull complete 02:28:31 bab4dde63d76: Pull complete 02:28:31 bde34c3a00c8: Pull complete 02:28:31 b352a97aabf1: Pull complete 02:28:31 4872d77fe225: Pull complete 02:28:31 5851b861e8e6: Pull complete 02:28:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:31 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:28:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:28:35 $ docker top 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 -eo pid,comm 02:28:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:28:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:28:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:35 [ssh-agent] Looking for ssh-agent implementation... 02:28:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:35 $ docker exec 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 ssh-agent 02:28:35 SSH_AUTH_SOCK=/tmp/ssh-204NkFlzAi8u/agent.32 02:28:35 SSH_AGENT_PID=38 02:28:35 Running ssh-add (command line suppressed) 02:28:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14190479735519021290.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14190479735519021290.key) 02:28:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:36 + git tag --points-at HEAD [Pipeline] } 02:28:36 $ docker exec --env ******** --env ******** 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 ssh-agent -k 02:28:36 unset SSH_AUTH_SOCK; 02:28:36 unset SSH_AGENT_PID; 02:28:36 echo Agent pid 38 killed; 02:28:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:28:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:36 [ssh-agent] Looking for ssh-agent implementation... 02:28:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:36 $ docker exec 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 ssh-agent 02:28:36 SSH_AUTH_SOCK=/tmp/ssh-IrsCQZKdgOAa/agent.70 02:28:36 SSH_AGENT_PID=76 02:28:36 Running ssh-add (command line suppressed) 02:28:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7796023373988992269.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7796023373988992269.key) 02:28:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:37 + git semver init 02:28:37 2023-12-15 02:28:37,244 [run_init] DEBUG init version:0.0.0 force:False 02:28:37 2023-12-15 02:28:37,245 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:28:37 2023-12-15 02:28:37,245 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:28:37 2023-12-15 02:28:37,246 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:28:38 2023-12-15 02:28:38,290 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:28:38 2023-12-15 02:28:38,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:28:38 2023-12-15 02:28:38,290 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:28:38 2023-12-15 02:28:38,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:28:38 3.2.0-dev.5 [Pipeline] } 02:28:38 $ docker exec --env ******** --env ******** 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 ssh-agent -k 02:28:38 unset SSH_AUTH_SOCK; 02:28:38 unset SSH_AGENT_PID; 02:28:38 echo Agent pid 76 killed; 02:28:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:28:39 + git semver [Pipeline] } 02:28:39 $ docker stop --time=1 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 02:28:40 $ docker rm -f --volumes 9e96be1f6432fbb24ef35483ad002e395bf8ee773e97e4bc20a8205239586339 [Pipeline] // withDockerContainer [Pipeline] sh 02:28:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:28:41 Stashed 1 file(s) [Pipeline] echo 02:28:41 [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:41 provisioning config files... 02:28:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9648991070295166503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:42 ---> ****-login.sh 02:28:42 nexus3.edgexfoundry.org:10001 02:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:42 Configure a credential helper to remove this warning. See 02:28:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:42 02:28:42 Login Succeeded 02:28:42 nexus3.edgexfoundry.org:10002 02:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:42 Configure a credential helper to remove this warning. See 02:28:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:42 02:28:42 Login Succeeded 02:28:42 nexus3.edgexfoundry.org:10003 02:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:42 Configure a credential helper to remove this warning. See 02:28:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:42 02:28:42 Login Succeeded 02:28:42 nexus3.edgexfoundry.org:10004 02:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:42 Configure a credential helper to remove this warning. See 02:28:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:42 02:28:42 Login Succeeded 02:28:42 ****.io 02:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:42 Configure a credential helper to remove this warning. See 02:28:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:42 02:28:42 Login Succeeded 02:28:42 ---> ****-login.sh ends [Pipeline] } 02:28:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:28:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:28:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:28:42 ========================================================= 02:28:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:28:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:43 + 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 . 02:28:43 Sending build context to Docker daemon 14.86MB 02:28:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:28:43 Step 2/12 : FROM ${BASE} AS builder 02:28:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:28:43 7264a8db6415: Pulling fs layer 02:28:43 c4d48a809fc2: Pulling fs layer 02:28:43 4f1c88b9dad5: Pulling fs layer 02:28:43 ad3a456e5733: Pulling fs layer 02:28:43 69c7f0334f64: Pulling fs layer 02:28:43 1f1c1a5573a3: Pulling fs layer 02:28:43 ce7588e14bc9: Pulling fs layer 02:28:43 b5e4710f87ac: Pulling fs layer 02:28:43 ce7588e14bc9: Waiting 02:28:43 b5e4710f87ac: Waiting 02:28:43 69c7f0334f64: Waiting 02:28:44 c4d48a809fc2: Download complete 02:28:44 ad3a456e5733: Download complete 02:28:44 69c7f0334f64: Verifying Checksum 02:28:44 69c7f0334f64: Download complete 02:28:44 7264a8db6415: Verifying Checksum 02:28:44 7264a8db6415: Download complete 02:28:44 1f1c1a5573a3: Verifying Checksum 02:28:44 1f1c1a5573a3: Download complete 02:28:44 7264a8db6415: Pull complete 02:28:45 c4d48a809fc2: Pull complete 02:28:45 b5e4710f87ac: Verifying Checksum 02:28:45 b5e4710f87ac: Download complete 02:28:45 4f1c88b9dad5: Verifying Checksum 02:28:45 4f1c88b9dad5: Download complete 02:28:46 ce7588e14bc9: Verifying Checksum 02:28:46 ce7588e14bc9: Download complete 02:28:49 4f1c88b9dad5: Pull complete 02:28:49 ad3a456e5733: Pull complete 02:28:49 69c7f0334f64: Pull complete 02:28:49 1f1c1a5573a3: Pull complete 02:28:51 ce7588e14bc9: Pull complete 02:28:52 b5e4710f87ac: Pull complete 02:28:52 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 02:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:28:52 ---> 88b5674ff536 02:28:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:28:56 Still waiting to schedule task 02:28:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:28:58 ---> Running in 6cb0b1e5e396 02:28:58 Removing intermediate container 6cb0b1e5e396 02:28:58 ---> f03994a23f2d 02:28:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:28:58 ---> Running in f641f69c2e5f 02:28:58 Removing intermediate container f641f69c2e5f 02:28:58 ---> c3b33e233f70 02:28:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:28:58 ---> Running in 40557fe64384 02:28:58 Removing intermediate container 40557fe64384 02:28:58 ---> 20f1f4a4944a 02:28:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:28:58 ---> Running in b895977e984e 02:28:58 Removing intermediate container b895977e984e 02:28:58 ---> 9dcbb5fc06f0 02:28:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:28:58 ---> Running in 4f21ef5eebaf 02:28:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:28:59 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:28:59 (2/4) Installing libedit (20221030.3.1-r1) 02:28:59 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:28:59 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:28:59 Executing busybox-1.36.1-r5.trigger 02:28:59 OK: 268 MiB in 56 packages 02:29:00 Removing intermediate container 4f21ef5eebaf 02:29:00 ---> 2fc1f8d6eb71 02:29:00 Step 8/12 : WORKDIR /device-mqtt-go 02:29:00 ---> Running in 8b3f3263998e 02:29:00 Removing intermediate container 8b3f3263998e 02:29:00 ---> 40eeec30ce38 02:29:00 Step 9/12 : COPY go.mod vendor* ./ 02:29:00 ---> 9ec66d8a4486 02:29:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:29:00 ---> Running in 90b31426dfa1 02:29:47 Removing intermediate container 90b31426dfa1 02:29:47 ---> c3158e02f1c7 02:29:47 Step 11/12 : COPY . . 02:29:47 ---> 6e2cbd7bb545 02:29:47 Step 12/12 : RUN $MAKE 02:29:47 ---> Running in 4fb7c900a0a7 02:29:47 noop 02:29:47 Removing intermediate container 4fb7c900a0a7 02:29:47 ---> 2cd64156e2e6 02:29:47 Successfully built 2cd64156e2e6 02:29:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:47 + docker inspect -f . ci-base-image-x86_64 02:29:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:47 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:29: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 02:29:48 $ docker top e99dfa1b072b6063b0741ed6f878e8665703d0d938e748d58891c04d37399337 -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:48 + go version 02:29:48 go version go1.21.0 linux/amd64 [Pipeline] } 02:29:48 $ docker stop --time=1 e99dfa1b072b6063b0741ed6f878e8665703d0d938e748d58891c04d37399337 02:29:49 $ docker rm -f --volumes e99dfa1b072b6063b0741ed6f878e8665703d0d938e748d58891c04d37399337 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:50 + docker inspect -f . ci-base-image-x86_64 02:29:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:50 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:29:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:29:50 $ docker top a2efe6da72bd94037f44bd204c574049e54c7fa47a72be4fbdb3e12578b06a03 -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:29:51 + make test 02:29:51 go test ./... -coverprofile=coverage.out ./... 02:29:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:30:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:30:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:30:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements 02:30:11 go vet ./... 02:30:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:30:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:30:14 ./bin/test-attribution-txt.sh [Pipeline] echo 02:30:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:30:14 $ docker stop --time=1 a2efe6da72bd94037f44bd204c574049e54c7fa47a72be4fbdb3e12578b06a03 02:30:17 $ docker rm -f --volumes a2efe6da72bd94037f44bd204c574049e54c7fa47a72be4fbdb3e12578b06a03 [Pipeline] // withDockerContainer [Pipeline] sh 02:30:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:30:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:30:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:30:20 + ls -al . 02:30:20 total 184 02:30:20 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:29 . 02:30:20 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:28 .. 02:30:20 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:28 .dockerignore 02:30:20 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:30 .git 02:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 .github 02:30:20 -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:28 .gitignore 02:30:20 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:28 .golangci.yml 02:30:20 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:28 .semver 02:30:20 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 15 02:28 Attribution.txt 02:30:20 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 15 02:28 CHANGELOG.md 02:30:20 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 15 02:28 Dockerfile 02:30:20 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:28 GOVERNANCE.md 02:30:20 -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 02:28 Jenkinsfile 02:30:20 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:28 LICENSE 02:30:20 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 15 02:28 Makefile 02:30:20 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:28 OWNERS.md 02:30:20 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 15 02:28 README.md 02:30:20 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 02:28 VERSION 02:30:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:28 bin 02:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 cmd 02:30:20 -rw-r--r-- 1 jenkins jenkins 18506 Dec 15 02:30 coverage.out 02:30:20 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 15 02:28 go.mod 02:30:20 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:28 go.sum 02:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 internal 02:30:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:28 mock 02:30:20 -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 02:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:20 + 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=e5520233bf84df16304f7dd08ef94c536c7e2796 --label arch=amd64 --label version=3.2.0-dev.5 . 02:30:20 Sending build context to Docker daemon 14.87MB 02:30:20 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:30:20 Step 2/25 : FROM ${BASE} AS builder 02:30:20 ---> 2cd64156e2e6 02:30:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:30:20 ---> Running in 5a970093aaee 02:30:20 Removing intermediate container 5a970093aaee 02:30:20 ---> 7b5463322033 02:30:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:20 ---> Running in 06819215fac1 02:30:21 Removing intermediate container 06819215fac1 02:30:21 ---> eb56a2eee6a9 02:30:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:30:21 ---> Running in 45f0b35e25bb 02:30:21 Removing intermediate container 45f0b35e25bb 02:30:21 ---> 38c8f67d33bd 02:30:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:30:21 ---> Running in debf9988d66b 02:30:21 Removing intermediate container debf9988d66b 02:30:21 ---> 86053f81f5a2 02:30:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:21 ---> Running in 7b5c8a10ea2d 02:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:22 OK: 268 MiB in 56 packages 02:30:22 Removing intermediate container 7b5c8a10ea2d 02:30:22 ---> 3e8d7e610c9d 02:30:22 Step 8/25 : WORKDIR /device-mqtt-go 02:30:22 ---> Running in b5bd225677d4 02:30:22 Removing intermediate container b5bd225677d4 02:30:22 ---> 1ac93882c124 02:30:22 Step 9/25 : COPY go.mod vendor* ./ 02:30:22 ---> fa4bacd7a35e 02:30:22 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:22 ---> Running in 6c62c23259ce 02:30:23 Removing intermediate container 6c62c23259ce 02:30:23 ---> 83a3a1bb6495 02:30:23 Step 11/25 : COPY . . 02:30:24 ---> 3f82b3a8ca56 02:30:24 Step 12/25 : RUN $MAKE 02:30:24 ---> Running in 15b5593d5c16 02:30:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:30:42 Removing intermediate container 15b5593d5c16 02:30:42 ---> 3640c8b45675 02:30:42 Step 13/25 : FROM alpine:3.18 02:30:42 3.18: Pulling from library/alpine 02:30:42 c926b61bad3b: Pulling fs layer 02:30:42 c926b61bad3b: Verifying Checksum 02:30:42 c926b61bad3b: Download complete 02:30:43 c926b61bad3b: Pull complete 02:30:43 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:30:43 Status: Downloaded newer image for alpine:3.18 02:30:43 ---> b541f2080109 02:30:43 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:30:43 ---> Running in f212b472b8eb 02:30:43 Removing intermediate container f212b472b8eb 02:30:43 ---> 71f3fcb719e9 02:30:43 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:30:43 ---> Running in afff101ba871 02:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:43 (1/1) Installing dumb-init (1.2.5-r2) 02:30:43 Executing busybox-1.36.1-r5.trigger 02:30:43 OK: 7 MiB in 16 packages 02:30:44 Removing intermediate container afff101ba871 02:30:44 ---> ab06e29aed17 02:30:44 Step 16/25 : RUN apk --no-cache upgrade 02:30:44 ---> Running in 78521b94c7d4 02:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:44 OK: 7 MiB in 16 packages 02:30:45 Removing intermediate container 78521b94c7d4 02:30:45 ---> 8f54019f1945 02:30:45 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:30:46 ---> 9deb36d9d1eb 02:30:46 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:30:46 ---> 531cdfba7a77 02:30:46 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:30:46 ---> 1c48a534789e 02:30:46 Step 20/25 : EXPOSE 59982 02:30:46 ---> Running in 3129d887dc05 02:30:46 Removing intermediate container 3129d887dc05 02:30:46 ---> 626b2c7a2106 02:30:46 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:30:46 ---> Running in eba1c5f88252 02:30:46 Removing intermediate container eba1c5f88252 02:30:46 ---> e28887079288 02:30:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:30:46 ---> Running in 754e854fe066 02:30:46 Removing intermediate container 754e854fe066 02:30:46 ---> 6d236c835903 02:30:46 Step 23/25 : LABEL arch=amd64 02:30:46 ---> Running in ca5fe30604c9 02:30:46 Removing intermediate container ca5fe30604c9 02:30:46 ---> 63da2fe0e5e1 02:30:46 Step 24/25 : LABEL git_sha=e5520233bf84df16304f7dd08ef94c536c7e2796 02:30:46 ---> Running in 84662aa48d57 02:30:46 Removing intermediate container 84662aa48d57 02:30:46 ---> 6c5086770293 02:30:46 Step 25/25 : LABEL version=3.2.0-dev.5 02:30:46 ---> Running in 47d5d46b9de7 02:30:46 Removing intermediate container 47d5d46b9de7 02:30:46 ---> 61e1bc426647 02:30:46 [Warning] One or more build-args [ARCH] were not consumed 02:30:46 Successfully built 61e1bc426647 02:30:46 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:47 provisioning config files... 02:30:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12754489079093824488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:47 ---> ****-login.sh 02:30:47 nexus3.edgexfoundry.org:10001 02:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:47 Configure a credential helper to remove this warning. See 02:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:47 02:30:47 Login Succeeded 02:30:47 nexus3.edgexfoundry.org:10002 02:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:47 Configure a credential helper to remove this warning. See 02:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:47 02:30:47 Login Succeeded 02:30:47 nexus3.edgexfoundry.org:10003 02:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:47 Configure a credential helper to remove this warning. See 02:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:47 02:30:47 Login Succeeded 02:30:47 nexus3.edgexfoundry.org:10004 02:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:47 Configure a credential helper to remove this warning. See 02:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:47 02:30:47 Login Succeeded 02:30:47 ****.io 02:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:47 Configure a credential helper to remove this warning. See 02:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:47 02:30:47 Login Succeeded 02:30:47 ---> ****-login.sh ends [Pipeline] } 02:30:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:48 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:30:48 e5520233bf84df16304f7dd08ef94c536c7e2796 02:30:48 latest 02:30:48 3.2.0-dev.5 02:30:48 e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 02:30:48 main 02:30:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e5520233bf84df16304f7dd08ef94c536c7e2796 02:30:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:30:49 cb95bad4021f: Preparing 02:30:49 a394cb3da3e7: Preparing 02:30:49 3ad22d96f2f6: Preparing 02:30:49 9439f7926353: Preparing 02:30:49 2385b2651c71: Preparing 02:30:49 9fe9a137fd00: Preparing 02:30:49 9fe9a137fd00: Waiting 02:30:49 a394cb3da3e7: Pushed 02:30:49 9fe9a137fd00: Layer already exists 02:30:49 2385b2651c71: Pushed 02:30:49 cb95bad4021f: Pushed 02:30:49 9439f7926353: Pushed 02:30:52 3ad22d96f2f6: Pushed 02:30:52 e5520233bf84df16304f7dd08ef94c536c7e2796: digest: sha256:010428ae408ddb3ffc329d353fc3c2f712f27f245e13cf7896c8f49424ece355 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:30:53 cb95bad4021f: Preparing 02:30:53 a394cb3da3e7: Preparing 02:30:53 3ad22d96f2f6: Preparing 02:30:53 9439f7926353: Preparing 02:30:53 2385b2651c71: Preparing 02:30:53 9fe9a137fd00: Preparing 02:30:53 9fe9a137fd00: Waiting 02:30:53 a394cb3da3e7: Layer already exists 02:30:53 3ad22d96f2f6: Layer already exists 02:30:53 2385b2651c71: Layer already exists 02:30:53 cb95bad4021f: Layer already exists 02:30:53 9439f7926353: Layer already exists 02:30:53 9fe9a137fd00: Layer already exists 02:30:53 latest: digest: sha256:010428ae408ddb3ffc329d353fc3c2f712f27f245e13cf7896c8f49424ece355 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.5 02:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:30:53 cb95bad4021f: Preparing 02:30:53 a394cb3da3e7: Preparing 02:30:53 3ad22d96f2f6: Preparing 02:30:53 9439f7926353: Preparing 02:30:53 2385b2651c71: Preparing 02:30:53 9fe9a137fd00: Preparing 02:30:53 9fe9a137fd00: Waiting 02:30:53 2385b2651c71: Layer already exists 02:30:53 3ad22d96f2f6: Layer already exists 02:30:53 9439f7926353: Layer already exists 02:30:53 cb95bad4021f: Layer already exists 02:30:53 a394cb3da3e7: Layer already exists 02:30:53 9fe9a137fd00: Layer already exists 02:30:53 3.2.0-dev.5: digest: sha256:010428ae408ddb3ffc329d353fc3c2f712f27f245e13cf7896c8f49424ece355 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 02:30:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:30:54 cb95bad4021f: Preparing 02:30:54 a394cb3da3e7: Preparing 02:30:54 3ad22d96f2f6: Preparing 02:30:54 9439f7926353: Preparing 02:30:54 2385b2651c71: Preparing 02:30:54 9fe9a137fd00: Preparing 02:30:54 9fe9a137fd00: Waiting 02:30:54 2385b2651c71: Layer already exists 02:30:54 cb95bad4021f: Layer already exists 02:30:54 9439f7926353: Layer already exists 02:30:54 a394cb3da3e7: Layer already exists 02:30:54 3ad22d96f2f6: Layer already exists 02:30:54 9fe9a137fd00: Layer already exists 02:30:54 e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5: digest: sha256:010428ae408ddb3ffc329d353fc3c2f712f27f245e13cf7896c8f49424ece355 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:55 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:30:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:30:55 cb95bad4021f: Preparing 02:30:55 a394cb3da3e7: Preparing 02:30:55 3ad22d96f2f6: Preparing 02:30:55 9439f7926353: Preparing 02:30:55 2385b2651c71: Preparing 02:30:55 9fe9a137fd00: Preparing 02:30:55 9fe9a137fd00: Waiting 02:30:55 9439f7926353: Layer already exists 02:30:55 a394cb3da3e7: Layer already exists 02:30:55 2385b2651c71: Layer already exists 02:30:55 cb95bad4021f: Layer already exists 02:30:55 3ad22d96f2f6: Layer already exists 02:30:55 9fe9a137fd00: Layer already exists 02:30:55 main: digest: sha256:010428ae408ddb3ffc329d353fc3c2f712f27f245e13cf7896c8f49424ece355 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:30:55 ===================================================== [Pipeline] echo 02:30:55 taggedImages: 02:30:55 - nexus3.edgexfoundry.org:10004/device-mqtt:e5520233bf84df16304f7dd08ef94c536c7e2796 02:30:55 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:30:55 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.5 02:30:55 - nexus3.edgexfoundry.org:10004/device-mqtt:e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 02:30:55 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:30:56 02:30:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:30:56 latest: Pulling from edgex-lftools-log-publisher 02:30:56 5eb5b503b376: Pulling fs layer 02:30:56 5c69ac0246d0: Pulling fs layer 02:30:56 ec43610c2a17: Pulling fs layer 02:30:56 3a2ae6a8a46f: Pulling fs layer 02:30:56 33b1e0a273af: Pulling fs layer 02:30:56 5d3b04190fa2: Pulling fs layer 02:30:56 2f39f015ded8: Pulling fs layer 02:30:56 3a2ae6a8a46f: Waiting 02:30:56 33b1e0a273af: Waiting 02:30:56 5d3b04190fa2: Waiting 02:30:56 2f39f015ded8: Waiting 02:30:56 5c69ac0246d0: Verifying Checksum 02:30:56 5c69ac0246d0: Download complete 02:30:56 3a2ae6a8a46f: Verifying Checksum 02:30:56 3a2ae6a8a46f: Download complete 02:30:56 33b1e0a273af: Verifying Checksum 02:30:56 33b1e0a273af: Download complete 02:30:56 5d3b04190fa2: Verifying Checksum 02:30:56 5d3b04190fa2: Download complete 02:30:56 ec43610c2a17: Verifying Checksum 02:30:56 ec43610c2a17: Download complete 02:30:57 5eb5b503b376: Verifying Checksum 02:30:57 5eb5b503b376: Download complete 02:30:58 5eb5b503b376: Pull complete 02:30:58 5c69ac0246d0: Pull complete 02:30:58 2f39f015ded8: Download complete 02:30:58 ec43610c2a17: Pull complete 02:30:58 3a2ae6a8a46f: Pull complete 02:30:59 33b1e0a273af: Pull complete 02:30:59 5d3b04190fa2: Pull complete 02:31:03 2f39f015ded8: Pull complete 02:31:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:03 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:31:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:31:05 $ docker top a3a639a994012e827c79e779a794861170eb6619acc95df8b0835060e8a5bd38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:06 ---> job-cost.sh 02:31:06 lf-activate-venv: SKIPPING 02:31:06 INFO: No Stack... 02:31:07 INFO: Retrieving Pricing Info for: v3-standard-8 02:31:07 INFO: Archiving Costs [Pipeline] sh 02:31:07 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:31:07 + cut -d, -f6 [Pipeline] lock 02:31:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] 02:31:07 Resource [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] did not exist. Created. 02:31:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:08 + echo total: 0.2199999988079071 [Pipeline] stash 02:31:08 Stashed 1 file(s) [Pipeline] } 02:31:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 02:31:08 $ docker stop --time=1 a3a639a994012e827c79e779a794861170eb6619acc95df8b0835060e8a5bd38 02:31:09 $ docker rm -f --volumes a3a639a994012e827c79e779a794861170eb6619acc95df8b0835060e8a5bd38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:31:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25121 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:31:12 Running in /w/workspace/device-mqtt-go/158 [Pipeline] { [Pipeline] checkout 02:31:12 The recommended git tool is: git 02:31:19 using credential edgex-jenkins-ssh 02:31:19 Cloning the remote Git repository 02:31:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:31:19 > git init /w/workspace/device-mqtt-go/158 # timeout=10 02:31:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:31:19 > git --version # timeout=10 02:31:19 > git --version # 'git version 2.25.1' 02:31:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:31:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:31:22 Avoid second fetch 02:31:22 Checking out Revision e5520233bf84df16304f7dd08ef94c536c7e2796 (main) 02:31:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:31:22 > git config core.sparsecheckout # timeout=10 02:31:22 > git checkout -f e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 02:31:23 Commit message: "Merge pull request #654 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:31:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:31:24 Dload Upload Total Spent Left Speed 02:31:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 206k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 02:31:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:31:25 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 02:31:25 /etc/docker/daemon.new 02:31:25 { 02:31:25 "registry-mirrors": [ 02:31:25 "https://nexus3.edgexfoundry.org:10001" 02:31:25 ], 02:31:25 "bip": "10.250.0.254/24", 02:31:25 "hosts": [ 02:31:25 "tcp://0.0.0.0:5555", 02:31:25 "unix:///var/run/docker.sock" 02:31:25 ], 02:31:25 "mtu": 1458, 02:31:25 "selinux-enabled": true, 02:31:25 "seccomp-profile": "/etc/docker/seccomp.json" 02:31:25 } [Pipeline] sh 02:31:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:31:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:44 provisioning config files... 02:31:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/158@tmp/config2935849689328001167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:44 ---> ****-login.sh 02:31:44 nexus3.edgexfoundry.org:10001 02:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:45 Configure a credential helper to remove this warning. See 02:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:45 02:31:45 Login Succeeded 02:31:45 nexus3.edgexfoundry.org:10002 02:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:45 Configure a credential helper to remove this warning. See 02:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:45 02:31:45 Login Succeeded 02:31:45 nexus3.edgexfoundry.org:10003 02:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:45 Configure a credential helper to remove this warning. See 02:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:45 02:31:45 Login Succeeded 02:31:45 nexus3.edgexfoundry.org:10004 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 ****.io 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 ---> ****-login.sh ends [Pipeline] } 02:31:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:47 ========================================================= 02:31:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:31:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:31:49 #0 building with "default" instance using docker driver 02:31:49 02:31:49 #1 [internal] load build definition from Dockerfile 02:31:49 #1 transferring dockerfile: 02:31:49 #1 transferring dockerfile: 1.84kB 0.0s done 02:31:49 #1 DONE 0.1s 02:31:49 02:31:49 #2 [internal] load .dockerignore 02:31:49 #2 transferring context: 182B done 02:31:49 #2 DONE 0.1s 02:31:49 02:31:49 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:31:49 #3 DONE 0.1s 02:31:49 02:31:49 #4 [internal] load build context 02:31:49 #4 DONE 0.0s 02:31:49 02:31:49 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:31:49 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 02:31:49 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 02:31:49 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 02:31:49 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 02:31:49 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 02:31:49 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.2s 02:31:49 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s 02:31:49 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s 02:31:50 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.3s 02:31:50 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 02:31:50 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 02:31:50 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 02:31:50 #5 ... 02:31:50 02:31:50 #4 [internal] load build context 02:31:50 #4 transferring context: 7.42MB 0.3s done 02:31:50 #4 DONE 0.4s 02:31:50 02:31:50 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.4s 02:31:50 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.15MB / 97.63MB 0.4s 02:31:50 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.58MB / 11.40MB 0.4s 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.5s 02:31:50 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.78MB / 11.40MB 0.5s 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.21MB / 63.99MB 0.7s 02:31:50 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.7s 02:31:50 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.85MB / 63.99MB 0.8s 02:31:50 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 02:31:50 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 0.9s 02:31:50 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.17MB / 97.63MB 0.9s 02:31:50 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 43.60MB / 63.99MB 1.1s 02:31:50 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.1s 02:31:50 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.2s 02:31:50 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 02:31:51 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.51MB / 63.99MB 1.4s 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.59MB / 97.63MB 1.4s 02:31:51 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.5s 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.6s 02:31:51 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.7s 02:31:51 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.16MB / 97.63MB 1.8s 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.23MB / 97.63MB 2.0s 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.2s 02:31:51 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.93MB / 97.63MB 2.3s 02:31:52 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.87MB / 97.63MB 2.4s 02:31:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.8s done 02:31:56 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 02:32:02 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 02:32:09 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.7s done 02:32:11 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 02:32:11 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 02:32:11 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 02:32:11 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 02:32:16 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 02:32:19 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done 02:32:19 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 02:32:21 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 02:32:22 #5 DONE 32.4s 02:32:22 02:32:22 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:32:22 #6 0.766 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:32:23 #6 1.176 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:32:24 #6 2.337 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:32:24 #6 2.365 (2/4) Installing libedit (20221030.3.1-r1) 02:32:24 #6 2.380 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:32:24 #6 2.453 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:32:24 #6 2.483 Executing busybox-1.36.1-r5.trigger 02:32:24 #6 2.523 OK: 271 MiB in 56 packages 02:32:26 #6 DONE 4.4s 02:32:26 02:32:26 #7 [builder 3/7] WORKDIR /device-mqtt-go 02:32:26 #7 DONE 0.1s 02:32:26 02:32:26 #8 [builder 4/7] COPY go.mod vendor* ./ 02:32:26 #8 DONE 0.1s 02:32:26 02:32:26 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:59 #9 DONE 27.2s 02:32:59 02:32:59 #10 [builder 6/7] COPY . . 02:32:59 #10 DONE 0.4s 02:32:59 02:32:59 #11 [builder 7/7] RUN echo noop 02:32:59 #11 0.720 noop 02:32:59 #11 DONE 0.9s 02:32:59 02:32:59 #12 exporting to image 02:32:59 #12 exporting layers 02:33:20 #12 exporting layers 21.9s done 02:33:20 #12 writing image sha256:7ea841eaf4db69207393bb07874ceebad373d876687c77e2b4caaf420abfe742 0.0s done 02:33:20 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:33:20 #12 DONE 21.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:20 + docker inspect -f . ci-base-image-arm64 02:33:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:20 prd-ubuntu20.04-docker-arm64-4c-16g-25121 does not seem to be running inside a container 02:33:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/158 -v /w/workspace/device-mqtt-go/158:/w/workspace/device-mqtt-go/158:rw,z -v /w/workspace/device-mqtt-go/158@tmp:/w/workspace/device-mqtt-go/158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:33:22 $ docker top aac2283e36ab188b2862e5c27e08e1f79634d0d2d53a41f6d3288a84495e873c -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:23 + go version 02:33:23 go version go1.21.0 linux/arm64 [Pipeline] } 02:33:23 $ docker stop --time=1 aac2283e36ab188b2862e5c27e08e1f79634d0d2d53a41f6d3288a84495e873c 02:33:24 $ docker rm -f --volumes aac2283e36ab188b2862e5c27e08e1f79634d0d2d53a41f6d3288a84495e873c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:25 + docker inspect -f . ci-base-image-arm64 02:33:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:25 prd-ubuntu20.04-docker-arm64-4c-16g-25121 does not seem to be running inside a container 02:33:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/158 -v /w/workspace/device-mqtt-go/158:/w/workspace/device-mqtt-go/158:rw,z -v /w/workspace/device-mqtt-go/158@tmp:/w/workspace/device-mqtt-go/158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:33:26 $ docker top 5a8118a1061b2ae8383e8a266e6e684918f67040e42cda3055b4b9117dba697a -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:27 + git config --global --add safe.directory /w/workspace/device-mqtt-go/158 [Pipeline] fileExists [Pipeline] sh 02:33:28 + make test 02:33:28 go test ./... -coverprofile=coverage.out ./... 02:33:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:34:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:34:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:34:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 22.8% of statements 02:34:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:34:40 go vet ./... 02:34:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:34:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:34:55 ./bin/test-attribution-txt.sh [Pipeline] echo 02:34:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:34:56 $ docker stop --time=1 5a8118a1061b2ae8383e8a266e6e684918f67040e42cda3055b4b9117dba697a 02:34:58 $ docker rm -f --volumes 5a8118a1061b2ae8383e8a266e6e684918f67040e42cda3055b4b9117dba697a [Pipeline] // withDockerContainer [Pipeline] sh 02:34:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:59 Warning: overwriting stash ‘coverage-report’ 02:35:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:01 + ls -al . 02:35:01 total 180 02:35:01 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:33 . 02:35:01 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:31 .. 02:35:01 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:31 .dockerignore 02:35:01 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:31 .git 02:35:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:31 .github 02:35:01 -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:31 .gitignore 02:35:01 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:31 .golangci.yml 02:35:01 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 15 02:31 Attribution.txt 02:35:01 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 15 02:31 CHANGELOG.md 02:35:01 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 15 02:31 Dockerfile 02:35:01 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:31 GOVERNANCE.md 02:35:01 -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 02:31 Jenkinsfile 02:35:01 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:31 LICENSE 02:35:01 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 15 02:31 Makefile 02:35:01 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:31 OWNERS.md 02:35:01 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 15 02:31 README.md 02:35:01 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 02:28 VERSION 02:35:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:31 bin 02:35:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:31 cmd 02:35:01 -rw-r--r-- 1 jenkins jenkins 18506 Dec 15 02:34 coverage.out 02:35:01 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 15 02:31 go.mod 02:35:01 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:31 go.sum 02:35:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:31 internal 02:35:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:31 mock 02:35:01 -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 02:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:01 + 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=e5520233bf84df16304f7dd08ef94c536c7e2796 --label arch=arm64 --label version=3.2.0-dev.5 . 02:35:02 #0 building with "default" instance using docker driver 02:35:02 02:35:02 #1 [internal] load build definition from Dockerfile 02:35:02 #1 transferring dockerfile: 1.84kB 0.0s done 02:35:02 #1 DONE 0.0s 02:35:02 02:35:02 #2 [internal] load .dockerignore 02:35:02 #2 transferring context: 182B 0.0s done 02:35:02 #2 DONE 0.0s 02:35:02 02:35:02 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:35:02 #3 DONE 0.0s 02:35:02 02:35:02 #4 [internal] load metadata for docker.io/library/alpine:3.18 02:35:03 #4 DONE 0.3s 02:35:03 02:35:03 #5 [internal] load build context 02:35:03 #5 transferring context: 24.53kB 0.0s done 02:35:03 #5 DONE 0.1s 02:35:03 02:35:03 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:35:03 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 02:35:03 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 02:35:03 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 02:35:03 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 02:35:03 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 02:35:03 #6 ... 02:35:03 02:35:03 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:35:03 #7 DONE 0.3s 02:35:03 02:35:03 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:35:03 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 02:35:03 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 02:35:03 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 02:35:04 #6 DONE 1.0s 02:35:04 02:35:04 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:35:04 #8 0.708 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:05 #8 1.085 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:06 #8 ... 02:35:06 02:35:06 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:35:06 #9 0.758 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:06 #9 1.243 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:06 #9 2.573 OK: 271 MiB in 56 packages 02:35:06 #9 DONE 2.9s 02:35:06 02:35:06 #10 [builder 3/7] WORKDIR /device-mqtt-go 02:35:06 #10 DONE 0.1s 02:35:06 02:35:06 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:35:06 #8 2.420 (1/1) Installing dumb-init (1.2.5-r2) 02:35:06 #8 ... 02:35:06 02:35:06 #11 [builder 4/7] COPY go.mod vendor* ./ 02:35:06 #11 DONE 0.2s 02:35:06 02:35:06 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:35:06 #8 2.437 Executing busybox-1.36.1-r5.trigger 02:35:06 #8 2.466 OK: 8 MiB in 16 packages 02:35:07 #8 DONE 2.9s 02:35:07 02:35:07 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:35:08 #12 0.897 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:08 #12 ... 02:35:08 02:35:08 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:08 #13 DONE 1.5s 02:35:08 02:35:08 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:35:08 #12 1.327 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:08 #12 ... 02:35:08 02:35:08 #14 [builder 6/7] COPY . . 02:35:08 #14 DONE 0.4s 02:35:08 02:35:08 #15 [builder 7/7] RUN make build 02:35:09 #15 0.773 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:35:09 #15 ... 02:35:09 02:35:09 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:35:09 #12 2.650 OK: 8 MiB in 16 packages 02:35:09 #12 DONE 3.0s 02:35:10 02:35:10 #15 [builder 7/7] RUN make build 02:36:46 #15 DONE 84.4s 02:36:46 02:36:46 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 02:36:46 #16 DONE 0.4s 02:36:46 02:36:46 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 02:36:46 #17 DONE 0.1s 02:36:46 02:36:46 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 02:36:46 #18 DONE 0.1s 02:36:46 02:36:46 #19 exporting to image 02:36:46 #19 exporting layers 02:36:46 #19 exporting layers 0.4s done 02:36:46 #19 writing image sha256:3d29b1922127d4358539b45b29724eae87b1d345943621c484453d18bfe6ad38 done 02:36:46 #19 naming to docker.io/library/device-mqtt-arm64 02:36:46 #19 naming to docker.io/library/device-mqtt-arm64 0.0s done 02:36:46 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:36:47 provisioning config files... 02:36:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/158@tmp/config7929979756036709700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:47 ---> ****-login.sh 02:36:47 nexus3.edgexfoundry.org:10001 02:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:48 Configure a credential helper to remove this warning. See 02:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:48 02:36:48 Login Succeeded 02:36:48 nexus3.edgexfoundry.org:10002 02:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:48 Configure a credential helper to remove this warning. See 02:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:48 02:36:48 Login Succeeded 02:36:48 nexus3.edgexfoundry.org:10003 02:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:48 Configure a credential helper to remove this warning. See 02:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:48 02:36:48 Login Succeeded 02:36:48 nexus3.edgexfoundry.org:10004 02:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:48 Configure a credential helper to remove this warning. See 02:36:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:48 02:36:48 Login Succeeded 02:36:48 ****.io 02:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:49 Configure a credential helper to remove this warning. See 02:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:49 02:36:49 Login Succeeded 02:36:49 ---> ****-login.sh ends [Pipeline] } 02:36:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:36:49 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:36:49 e5520233bf84df16304f7dd08ef94c536c7e2796 02:36:49 latest 02:36:49 3.2.0-dev.5 02:36:49 e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 02:36:49 main 02:36:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e5520233bf84df16304f7dd08ef94c536c7e2796 02:36:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:50 b8e3b680d430: Preparing 02:36:50 789bf81b3385: Preparing 02:36:50 b57a44bc5b2e: Preparing 02:36:50 34d4920d084c: Preparing 02:36:50 d0ca4c7710cc: Preparing 02:36:50 0faf9b67be60: Preparing 02:36:50 0faf9b67be60: Waiting 02:36:50 34d4920d084c: Pushed 02:36:50 d0ca4c7710cc: Pushed 02:36:50 789bf81b3385: Pushed 02:36:50 b8e3b680d430: Pushed 02:36:50 0faf9b67be60: Layer already exists 02:36:56 b57a44bc5b2e: Pushed 02:36:56 e5520233bf84df16304f7dd08ef94c536c7e2796: digest: sha256:5376add9d11a4c4ce554ac848428a55b8083f18b7770d1ff63469cfae5e52b40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:36:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:57 b8e3b680d430: Preparing 02:36:57 789bf81b3385: Preparing 02:36:57 b57a44bc5b2e: Preparing 02:36:57 34d4920d084c: Preparing 02:36:57 d0ca4c7710cc: Preparing 02:36:57 0faf9b67be60: Preparing 02:36:57 0faf9b67be60: Waiting 02:36:57 34d4920d084c: Layer already exists 02:36:57 789bf81b3385: Layer already exists 02:36:57 d0ca4c7710cc: Layer already exists 02:36:57 b57a44bc5b2e: Layer already exists 02:36:57 b8e3b680d430: Layer already exists 02:36:57 0faf9b67be60: Layer already exists 02:36:57 latest: digest: sha256:5376add9d11a4c4ce554ac848428a55b8083f18b7770d1ff63469cfae5e52b40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.5 02:37:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:37:00 b8e3b680d430: Preparing 02:37:00 789bf81b3385: Preparing 02:37:00 b57a44bc5b2e: Preparing 02:37:00 34d4920d084c: Preparing 02:37:00 d0ca4c7710cc: Preparing 02:37:00 0faf9b67be60: Preparing 02:37:00 0faf9b67be60: Waiting 02:37:00 d0ca4c7710cc: Layer already exists 02:37:00 b57a44bc5b2e: Layer already exists 02:37:00 34d4920d084c: Layer already exists 02:37:00 789bf81b3385: Layer already exists 02:37:00 b8e3b680d430: Layer already exists 02:37:00 0faf9b67be60: Layer already exists 02:37:01 3.2.0-dev.5: digest: sha256:5376add9d11a4c4ce554ac848428a55b8083f18b7770d1ff63469cfae5e52b40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 02:37:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:37:02 b8e3b680d430: Preparing 02:37:02 789bf81b3385: Preparing 02:37:02 b57a44bc5b2e: Preparing 02:37:02 34d4920d084c: Preparing 02:37:02 d0ca4c7710cc: Preparing 02:37:02 0faf9b67be60: Preparing 02:37:02 0faf9b67be60: Waiting 02:37:02 b8e3b680d430: Layer already exists 02:37:02 34d4920d084c: Layer already exists 02:37:02 789bf81b3385: Layer already exists 02:37:02 d0ca4c7710cc: Layer already exists 02:37:02 b57a44bc5b2e: Layer already exists 02:37:02 0faf9b67be60: Layer already exists 02:37:02 e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5: digest: sha256:5376add9d11a4c4ce554ac848428a55b8083f18b7770d1ff63469cfae5e52b40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:02 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:37:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:37:03 b8e3b680d430: Preparing 02:37:03 789bf81b3385: Preparing 02:37:03 b57a44bc5b2e: Preparing 02:37:03 34d4920d084c: Preparing 02:37:03 d0ca4c7710cc: Preparing 02:37:03 0faf9b67be60: Preparing 02:37:03 0faf9b67be60: Waiting 02:37:03 789bf81b3385: Layer already exists 02:37:03 b57a44bc5b2e: Layer already exists 02:37:03 34d4920d084c: Layer already exists 02:37:03 d0ca4c7710cc: Layer already exists 02:37:03 b8e3b680d430: Layer already exists 02:37:03 0faf9b67be60: Layer already exists 02:37:03 main: digest: sha256:5376add9d11a4c4ce554ac848428a55b8083f18b7770d1ff63469cfae5e52b40 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:03 ===================================================== [Pipeline] echo 02:37:03 taggedImages: 02:37:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e5520233bf84df16304f7dd08ef94c536c7e2796 02:37:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:37:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.5 02:37:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e5520233bf84df16304f7dd08ef94c536c7e2796-3.2.0-dev.5 02:37:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:04 02:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:05 arm64: Pulling from edgex-lftools-log-publisher 02:37:05 8998bd30e6a1: Pulling fs layer 02:37:05 04944245beec: Pulling fs layer 02:37:05 699f458cf7ca: Pulling fs layer 02:37:05 765212b225bb: Pulling fs layer 02:37:05 f23df028b6ca: Pulling fs layer 02:37:05 d65c8cfc05b1: Pulling fs layer 02:37:05 2437ff75d9bd: Pulling fs layer 02:37:05 f23df028b6ca: Waiting 02:37:05 d65c8cfc05b1: Waiting 02:37:05 2437ff75d9bd: Waiting 02:37:05 765212b225bb: Waiting 02:37:05 04944245beec: Verifying Checksum 02:37:05 04944245beec: Download complete 02:37:05 765212b225bb: Verifying Checksum 02:37:05 765212b225bb: Download complete 02:37:05 f23df028b6ca: Verifying Checksum 02:37:05 f23df028b6ca: Download complete 02:37:05 d65c8cfc05b1: Verifying Checksum 02:37:05 d65c8cfc05b1: Download complete 02:37:05 699f458cf7ca: Verifying Checksum 02:37:05 699f458cf7ca: Download complete 02:37:05 8998bd30e6a1: Verifying Checksum 02:37:05 8998bd30e6a1: Download complete 02:37:08 2437ff75d9bd: Verifying Checksum 02:37:08 2437ff75d9bd: Download complete 02:37:12 8998bd30e6a1: Pull complete 02:37:12 04944245beec: Pull complete 02:37:14 699f458cf7ca: Pull complete 02:37:14 765212b225bb: Pull complete 02:37:15 f23df028b6ca: Pull complete 02:37:15 d65c8cfc05b1: Pull complete 02:37:42 2437ff75d9bd: Pull complete 02:37:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:37:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:42 prd-ubuntu20.04-docker-arm64-4c-16g-25121 does not seem to be running inside a container 02:37:42 $ 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/158 -v /w/workspace/device-mqtt-go/158:/w/workspace/device-mqtt-go/158:rw,z -v /w/workspace/device-mqtt-go/158@tmp:/w/workspace/device-mqtt-go/158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:37:45 $ docker top 113e66d454a6ae23e88b287d25f40c3c01a8e47b3629f89222cb8b3825ba9526 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:45 ---> job-cost.sh 02:37:46 lf-activate-venv: SKIPPING 02:37:46 INFO: No Stack... 02:37:46 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:47 INFO: Archiving Costs [Pipeline] sh 02:37:47 + cat /w/workspace/device-mqtt-go/158/archives/cost.csv 02:37:47 + cut -d, -f6 [Pipeline] lock 02:37:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] 02:37:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] did not exist. Created. 02:37:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:48 /w/workspace/device-mqtt-go/158@tmp/durable-c479c314/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:37:48 + echo total: 0.2199999988079071 [Pipeline] stash 02:37:48 Warning: overwriting stash ‘stack-cost’ 02:37:48 Stashed 1 file(s) [Pipeline] } 02:37:48 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:48 $ docker stop --time=1 113e66d454a6ae23e88b287d25f40c3c01a8e47b3629f89222cb8b3825ba9526 02:37:50 $ docker rm -f --volumes 113e66d454a6ae23e88b287d25f40c3c01a8e47b3629f89222cb8b3825ba9526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:37:51 provisioning config files... 02:37:51 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5114077316186258491tmp [Pipeline] { [Pipeline] sh 02:37:51 + set +x 02:37:51 + curl -s https://codecov.io/bash 02:37:51 + bash -s -- 02:37:51 02:37:51 _____ _ 02:37:51 / ____| | | 02:37:51 | | ___ __| | ___ ___ _____ __ 02:37:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:37:51 | |___| (_) | (_| | __/ (_| (_) \ V / 02:37:51 \_____\___/ \__,_|\___|\___\___/ \_/ 02:37:51 Bash-1.0.6 02:37:51 02:37:51 02:37:51 ==> git version 2.25.1 found 02:37:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:37:51 Release-Date: 2020-01-08 02:37:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:37:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:37:51 ==> Jenkins CI detected. 02:37:51 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:37:51 project root: . 02:37:51 --> token set from env 02:37:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:37:51 ==> Running gcov in . (disable via -X gcov) 02:37:51 ==> Python coveragepy not found 02:37:51 ==> Searching for coverage reports in: 02:37:51 + . 02:37:51 -> Found 1 reports 02:37:51 ==> Detecting git/mercurial file structure 02:37:51 ==> Reading reports 02:37:51 + ./coverage.out bytes=18506 02:37:51 ==> Appending adjustments 02:37:51 https://docs.codecov.io/docs/fixing-reports 02:37:52 + Found adjustments 02:37:52 ==> Gzipping contents 02:37:52 4.0K /tmp/codecov.uMSFCL.gz 02:37:52 ==> Uploading reports 02:37:52 url: https://codecov.io 02:37:52 query: branch=main&commit=e5520233bf84df16304f7dd08ef94c536c7e2796&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:52 -> Pinging Codecov 02:37:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e5520233bf84df16304f7dd08ef94c536c7e2796&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:52 -> Uploading to 02:37:52 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/7D719EC7BBE17E464838252E33014C33/e5520233bf84df16304f7dd08ef94c536c7e2796/22213078-277e-446d-b067-357eb2614c6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T023752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=468244819ced15290673d42837769bd2a4adcaa74b5302958be3f13d2e4cdde0 02:37:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:52 Dload Upload Total Spent Left Speed 02:37:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13256 --:--:-- --:--:-- --:--:-- 13314 02:37:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] } 02:37:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:37:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:37:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:37:53 02:37:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:37:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:37:53 df9b9388f04a: Pulling fs layer 02:37:53 52dc419b0ee2: Pulling fs layer 02:37:53 25bc292e5bac: Pulling fs layer 02:37:53 114826534d7a: Pulling fs layer 02:37:53 4657fd5d0bcf: Pulling fs layer 02:37:53 6ad1cebc031e: Pulling fs layer 02:37:53 8a3aa393b2d8: Pulling fs layer 02:37:53 4657fd5d0bcf: Waiting 02:37:53 6ad1cebc031e: Waiting 02:37:53 8a3aa393b2d8: Waiting 02:37:53 114826534d7a: Waiting 02:37:53 25bc292e5bac: Verifying Checksum 02:37:53 25bc292e5bac: Download complete 02:37:53 52dc419b0ee2: Download complete 02:37:53 4657fd5d0bcf: Verifying Checksum 02:37:53 4657fd5d0bcf: Download complete 02:37:53 df9b9388f04a: Download complete 02:37:53 6ad1cebc031e: Verifying Checksum 02:37:53 6ad1cebc031e: Download complete 02:37:53 df9b9388f04a: Pull complete 02:37:53 52dc419b0ee2: Pull complete 02:37:54 25bc292e5bac: Pull complete 02:37:54 114826534d7a: Verifying Checksum 02:37:54 114826534d7a: Download complete 02:37:54 8a3aa393b2d8: Verifying Checksum 02:37:54 8a3aa393b2d8: Download complete 02:37:58 114826534d7a: Pull complete 02:37:58 4657fd5d0bcf: Pull complete 02:37:58 6ad1cebc031e: Pull complete 02:38:05 8a3aa393b2d8: Pull complete 02:38:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:38:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:05 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:38:14 $ docker top bf004d4a7599227ebfbe8c166c5300ab2f0344ffb26d9ff955e12cc49f256bf9 -eo pid,comm [Pipeline] { [Pipeline] echo 02:38:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:38:14 + set -o pipefail 02:38:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:38:19 02:38:19 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:38:19 02:38:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/9b7dd5bf-68ef-4d84-a638-d2a210948592 02:38:19 02:38:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:38:19 02:38:19 02:38:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:38:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:38:19 More details here: https://snyk.co/ue1NS 02:38:19 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:38:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:38:19 $ docker stop --time=1 bf004d4a7599227ebfbe8c166c5300ab2f0344ffb26d9ff955e12cc49f256bf9 02:38:25 $ docker rm -f --volumes bf004d4a7599227ebfbe8c166c5300ab2f0344ffb26d9ff955e12cc49f256bf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:38:26 + git log --format=format:%s -1 e5520233bf84df16304f7dd08ef94c536c7e2796 [Pipeline] sh 02:38:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:27 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:38:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:38:28 $ docker top 37f3868fa20acff8cd44445dd4f68211ff7b896a50f780c45b8bd1ac3c3d314b -eo pid,comm 02:38:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:38:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:28 [ssh-agent] Looking for ssh-agent implementation... 02:38:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:28 $ docker exec 37f3868fa20acff8cd44445dd4f68211ff7b896a50f780c45b8bd1ac3c3d314b ssh-agent 02:38:28 SSH_AUTH_SOCK=/tmp/ssh-D4TRGo5aXXSG/agent.31 02:38:28 SSH_AGENT_PID=38 02:38:28 Running ssh-add (command line suppressed) 02:38:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8769054383571463716.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8769054383571463716.key) 02:38:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:28 + git semver tag 02:38:29 2023-12-15 02:38:29,121 [run_tag] DEBUG tag force:False 02:38:29 2023-12-15 02:38:29,121 [check_head_tag] DEBUG check head tag 02:38:29 2023-12-15 02:38:29,122 [execute] INFO git cat-file --batch-check 02:38:29 2023-12-15 02:38:29,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:38:29 2023-12-15 02:38:29,126 [execute] INFO git cat-file --batch 02:38:29 2023-12-15 02:38:29,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:38:29 2023-12-15 02:38:29,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:29 2023-12-15 02:38:29,146 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 02:38:29 2023-12-15 02:38:29,146 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:38:29 2023-12-15 02:38:29,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:29 3.2.0-dev.5 [Pipeline] } 02:38:29 $ docker exec --env ******** --env ******** 37f3868fa20acff8cd44445dd4f68211ff7b896a50f780c45b8bd1ac3c3d314b ssh-agent -k 02:38:29 unset SSH_AUTH_SOCK; 02:38:29 unset SSH_AGENT_PID; 02:38:29 echo Agent pid 38 killed; 02:38:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:29 + git semver [Pipeline] } 02:38:30 $ docker stop --time=1 37f3868fa20acff8cd44445dd4f68211ff7b896a50f780c45b8bd1ac3c3d314b 02:38:31 $ docker rm -f --volumes 37f3868fa20acff8cd44445dd4f68211ff7b896a50f780c45b8bd1ac3c3d314b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:32 02:38:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:32 0.23.1-centos7: Pulling from edgex-lftools 02:38:32 ab5ef0e58194: Pulling fs layer 02:38:32 9712f1f96733: Pulling fs layer 02:38:32 63f879dbbcfc: Pulling fs layer 02:38:32 0d9ebad4ef96: Pulling fs layer 02:38:32 e9a5061849ea: Pulling fs layer 02:38:32 d747dcd14b5f: Pulling fs layer 02:38:32 2de7ff778b66: Pulling fs layer 02:38:32 0d9ebad4ef96: Waiting 02:38:32 e9a5061849ea: Waiting 02:38:32 d747dcd14b5f: Waiting 02:38:32 2de7ff778b66: Waiting 02:38:32 9712f1f96733: Download complete 02:38:32 63f879dbbcfc: Verifying Checksum 02:38:32 63f879dbbcfc: Download complete 02:38:32 e9a5061849ea: Verifying Checksum 02:38:32 e9a5061849ea: Download complete 02:38:32 d747dcd14b5f: Download complete 02:38:32 0d9ebad4ef96: Verifying Checksum 02:38:32 0d9ebad4ef96: Download complete 02:38:32 ab5ef0e58194: Verifying Checksum 02:38:32 ab5ef0e58194: Download complete 02:38:32 2de7ff778b66: Verifying Checksum 02:38:32 2de7ff778b66: Download complete 02:38:35 ab5ef0e58194: Pull complete 02:38:35 9712f1f96733: Pull complete 02:38:36 63f879dbbcfc: Pull complete 02:38:40 0d9ebad4ef96: Pull complete 02:38:40 e9a5061849ea: Pull complete 02:38:41 d747dcd14b5f: Pull complete 02:38:42 2de7ff778b66: Pull complete 02:38:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:38:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:43 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:38:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:38:58 $ docker top 101d1e7c876f342f1ed501e0b3d0e1ec55983a6d5501f1e577cc3a2bb72ebc3a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:38:59 provisioning config files... 02:38:59 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8346957746205895297tmp 02:38:59 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4376480166995711892tmp 02:38:59 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4079874404653321418tmp [Pipeline] { [Pipeline] echo 02:38:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:38:59 ---> sigul-configuration.sh 02:38:59 gpg: directory `/root/.gnupg' created 02:38:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:38:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:38:59 gpg: keyring `/root/.gnupg/secring.gpg' created 02:38:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:38:59 gpg: CAST5 encrypted data 02:38:59 gpg: encrypted with 1 passphrase 02:38:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:39:00 + mkdir /home/jenkins 02:39:00 + mkdir /home/jenkins/sigul [Pipeline] sh 02:39:00 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:39:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:39:00 ---> sigul-install.sh 02:39:00 Sigul already installed; skipping installation. [Pipeline] sh 02:39:00 + git tag --list 02:39:00 0.7.1 02:39:00 v1.0.0 02:39:00 v1.1.0 02:39:00 v1.1.1 02:39:00 v1.2.2 02:39:00 v1.3.0 02:39:00 v1.3.1 02:39:00 v2.0.0 02:39:00 v2.1.0 02:39:00 v2.1.1 02:39:00 v2.2.0 02:39:00 v2.3.0 02:39:00 v3.0 02:39:00 v3.0.0 02:39:00 v3.1 02:39:00 v3.1.0 02:39:00 v3.1.0-dev.1 02:39:00 v3.1.0-dev.10 02:39:00 v3.1.0-dev.11 02:39:00 v3.1.0-dev.12 02:39:00 v3.1.0-dev.13 02:39:00 v3.1.0-dev.14 02:39:00 v3.1.0-dev.15 02:39:00 v3.1.0-dev.16 02:39:00 v3.1.0-dev.17 02:39:00 v3.1.0-dev.18 02:39:00 v3.1.0-dev.19 02:39:00 v3.1.0-dev.2 02:39:00 v3.1.0-dev.20 02:39:00 v3.1.0-dev.21 02:39:00 v3.1.0-dev.22 02:39:00 v3.1.0-dev.23 02:39:00 v3.1.0-dev.24 02:39:00 v3.1.0-dev.25 02:39:00 v3.1.0-dev.3 02:39:00 v3.1.0-dev.4 02:39:00 v3.1.0-dev.5 02:39:00 v3.1.0-dev.6 02:39:00 v3.1.0-dev.7 02:39:00 v3.1.0-dev.8 02:39:00 v3.1.0-dev.9 02:39:00 v3.2.0-dev.1 02:39:00 v3.2.0-dev.2 02:39:00 v3.2.0-dev.3 02:39:00 v3.2.0-dev.4 02:39:00 v3.2.0-dev.5 [Pipeline] sh 02:39:01 + lftools sign git-tag v3.2.0-dev.5 02:39:01 Signing Git tag with Sigul... 02:39:01 Signing v3.2.0-dev.5 [Pipeline] echo 02:39:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:39:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:39:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:39:02 $ docker stop --time=1 101d1e7c876f342f1ed501e0b3d0e1ec55983a6d5501f1e577cc3a2bb72ebc3a 02:39:03 $ docker rm -f --volumes 101d1e7c876f342f1ed501e0b3d0e1ec55983a6d5501f1e577cc3a2bb72ebc3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:39:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:05 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:39:05 $ docker top 4af03110cc52cc0e0b2880c1dcbe12abe8dc7bcc9656b76723a608e1581f1449 -eo pid,comm 02:39:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:39:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:05 [ssh-agent] Looking for ssh-agent implementation... 02:39:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:06 $ docker exec 4af03110cc52cc0e0b2880c1dcbe12abe8dc7bcc9656b76723a608e1581f1449 ssh-agent 02:39:06 SSH_AUTH_SOCK=/tmp/ssh-uPvjP7cUPycq/agent.33 02:39:06 SSH_AGENT_PID=39 02:39:06 Running ssh-add (command line suppressed) 02:39:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13570423803171247060.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13570423803171247060.key) 02:39:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:06 + git semver bump pre 02:39:06 2023-12-15 02:39:06,798 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:39:06 2023-12-15 02:39:06,798 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev 02:39:06 2023-12-15 02:39:06,799 [bump_version] DEBUG bumped version:3.2.0-dev.6 02:39:06 2023-12-15 02:39:06,799 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:39:06 2023-12-15 02:39:06,799 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:39:06 2023-12-15 02:39:06,799 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:39:06 2023-12-15 02:39:06,800 [execute] INFO git cat-file --batch-check 02:39:06 2023-12-15 02:39:06,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:06 2023-12-15 02:39:06,807 [execute] INFO git cat-file --batch 02:39:06 2023-12-15 02:39:06,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:06 2023-12-15 02:39:06,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:39:06 3.2.0-dev.6 [Pipeline] } 02:39:06 $ docker exec --env ******** --env ******** 4af03110cc52cc0e0b2880c1dcbe12abe8dc7bcc9656b76723a608e1581f1449 ssh-agent -k 02:39:06 unset SSH_AUTH_SOCK; 02:39:06 unset SSH_AGENT_PID; 02:39:06 echo Agent pid 39 killed; 02:39:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:07 + git semver [Pipeline] } 02:39:07 $ docker stop --time=1 4af03110cc52cc0e0b2880c1dcbe12abe8dc7bcc9656b76723a608e1581f1449 02:39:09 $ docker rm -f --volumes 4af03110cc52cc0e0b2880c1dcbe12abe8dc7bcc9656b76723a608e1581f1449 [Pipeline] // withDockerContainer [Pipeline] sh 02:39:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:10 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:39:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:39:11 $ docker top 6936c5f198f06adef731c8b40cc7681a7c6fa3a656e51daf1686adf7a50d005e -eo pid,comm 02:39:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:39:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:11 [ssh-agent] Looking for ssh-agent implementation... 02:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:11 $ docker exec 6936c5f198f06adef731c8b40cc7681a7c6fa3a656e51daf1686adf7a50d005e ssh-agent 02:39:11 SSH_AUTH_SOCK=/tmp/ssh-qxKtjInlSGk0/agent.31 02:39:11 SSH_AGENT_PID=37 02:39:11 Running ssh-add (command line suppressed) 02:39:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1178640412270267633.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1178640412270267633.key) 02:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:12 + git semver push 02:39:12 2023-12-15 02:39:12,491 [run_push] DEBUG push 02:39:12 2023-12-15 02:39:12,491 [execute] INFO git cat-file --batch-check 02:39:12 2023-12-15 02:39:12,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:12 2023-12-15 02:39:12,495 [execute] INFO git rev-list f88c6c45d3e7df42f9e183c9df645086665b5d56 -- 02:39:12 2023-12-15 02:39:12,495 [execute] DEBUG Popen(['git', 'rev-list', 'f88c6c45d3e7df42f9e183c9df645086665b5d56', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:39:12 2023-12-15 02:39:12,504 [execute] INFO git fetch -v origin 02:39:12 2023-12-15 02:39:12,505 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:39:13 2023-12-15 02:39:13,039 [run_push] DEBUG no remote changes detected 02:39:13 2023-12-15 02:39:13,039 [execute] INFO git push origin semver 02:39:13 2023-12-15 02:39:13,039 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:39:14 2023-12-15 02:39:13,786 [run_push] DEBUG push all version tags 02:39:14 2023-12-15 02:39:13,787 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:39:14 2023-12-15 02:39:13,788 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:39:14 2023-12-15 02:39:14,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:39:14 3.2.0-dev.6 [Pipeline] } 02:39:14 $ docker exec --env ******** --env ******** 6936c5f198f06adef731c8b40cc7681a7c6fa3a656e51daf1686adf7a50d005e ssh-agent -k 02:39:14 unset SSH_AUTH_SOCK; 02:39:14 unset SSH_AGENT_PID; 02:39:14 echo Agent pid 37 killed; 02:39:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:15 + git semver [Pipeline] } 02:39:15 $ docker stop --time=1 6936c5f198f06adef731c8b40cc7681a7c6fa3a656e51daf1686adf7a50d005e 02:39:16 $ docker rm -f --volumes 6936c5f198f06adef731c8b40cc7681a7c6fa3a656e51daf1686adf7a50d005e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:39:18 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:39:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:39:18 total 16 02:39:18 drwxr-xr-x 3 root root 4096 Dec 15 02:31 . 02:39:18 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:39 .. 02:39:18 drwxr-xr-x 2 root root 4096 Dec 15 02:31 cost 02:39:18 -rw-r--r-- 1 root root 86 Dec 15 02:31 cost.csv 02:39:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:39:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:39:18 total 16 02:39:18 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:31 . 02:39:18 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:39 .. 02:39:18 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:31 cost 02:39:18 -rw-r--r-- 1 jenkins jenkins 86 Dec 15 02:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:39:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:39:19 ---> package-listing.sh 02:39:19 ++ facter osfamily 02:39:19 ++ tr '[:upper:]' '[:lower:]' 02:39:19 + OS_FAMILY=debian 02:39:19 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:39:19 + START_PACKAGES=/tmp/packages_start.txt 02:39:19 + END_PACKAGES=/tmp/packages_end.txt 02:39:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:39:19 + PACKAGES=/tmp/packages_start.txt 02:39:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:39:19 + PACKAGES=/tmp/packages_end.txt 02:39:19 + case "${OS_FAMILY}" in 02:39:19 + dpkg -l 02:39:19 + grep '^ii' 02:39:19 + '[' -f /tmp/packages_start.txt ']' 02:39:19 + '[' -f /tmp/packages_end.txt ']' 02:39:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:39:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:39:19 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:39: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 02:39: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 02:39:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:20 prd-ubuntu20.04-docker-8c-8g-25114 does not seem to be running inside a container 02:39: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 02:39:21 $ docker top dc4ba26fc67fd48f96a8d3ac6819e27ad72e5215db4f9c52e4340aa911a2c6c4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:21 + touch /tmp/pre-build-complete [Pipeline] sh 02:39:21 + mkdir -p /var/log/sysstat [Pipeline] sh 02:39:22 + ls /var/log/sa-host 02:39:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:22 provisioning config files... 02:39:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16368578766531591184tmp [Pipeline] { [Pipeline] echo 02:39:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:39:22 ---> create-netrc.sh [Pipeline] } 02:39:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:39:23 ---> python-tools-install.sh [Pipeline] echo 02:39:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:39:23 ---> sudo-logs.sh 02:39:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:39:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:39:23 ---> job-cost.sh 02:39:23 lf-activate-venv: SKIPPING 02:39:23 DEBUG: total: 0.2199999988079071 02:39:23 INFO: Retrieving Stack Cost... 02:39:24 INFO: Retrieving Pricing Info for: v3-standard-8 02:39:24 INFO: Archiving Costs [Pipeline] echo 02:39:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:39:24 ---> logs-deploy.sh 02:39:24 lf-activate-venv: SKIPPING 02:39:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/158 02:39:24 INFO: archiving workspace using pattern(s): 02:39:25 Archives upload complete. 02:39:25 INFO: archiving logs to Nexus