Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7bcf2a01f0ca0871350a0480051ec51dd105a569 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-ssh16624880490208568228.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh2984992867964549800.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh11491186469993186453.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh7303683435583353812.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-ssh5290242797349366242.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26425 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 7bcf2a01f0ca0871350a0480051ec51dd105a569 (main) Commit message: "Merge pull request #711 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7" > 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 7bcf2a01f0ca0871350a0480051ec51dd105a569 # timeout=10 > git rev-list --no-walk 84743cd4846c2a040d455589816366e8bf795dd2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:07:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:07:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:07:54 ========================================================= 07:07:54 EdgeX Global Pipelines Version Info 07:07:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:07:56 ------------------- 07:07:56 stable info: 07:07:56 ------------------- 07:07:56 Commited By: Ginny Guan ginny@iotechsys.com 07:07:56 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:07:56 Message: update stable to v1.0.265 07:07:56 ------------------- 07:07:56 experimental info: 07:07:56 ------------------- 07:07:56 Commited By: Cherry Wang cherry@iotechsys.com 07:07:56 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:07:56 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:07:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:07:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:07:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:07:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:07:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] echo 07:07:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bcf2a0 [Pipeline] echo 07:07:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:07:57 provisioning config files... 07:07:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11635547351234147333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:57 ---> ****-login.sh 07:07:57 nexus3.edgexfoundry.org:10001 07:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:07:57 Configure a credential helper to remove this warning. See 07:07:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:07:57 07:07:57 Login Succeeded 07:07:57 nexus3.edgexfoundry.org:10002 07:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:07:58 Configure a credential helper to remove this warning. See 07:07:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:07:58 07:07:58 Login Succeeded 07:07:58 nexus3.edgexfoundry.org:10003 07:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:07:58 Configure a credential helper to remove this warning. See 07:07:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:07:58 07:07:58 Login Succeeded 07:07:58 nexus3.edgexfoundry.org:10004 07:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:07:58 Configure a credential helper to remove this warning. See 07:07:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:07:58 07:07:58 Login Succeeded 07:07:58 ****.io 07:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:07:58 Configure a credential helper to remove this warning. See 07:07:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:07:58 07:07:58 Login Succeeded 07:07:58 ---> ****-login.sh ends [Pipeline] } 07:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:07:59 + git rev-list -1 --merges 7bcf2a01f0ca0871350a0480051ec51dd105a569~1..7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] echo 07:07:59 -----------> git rev-list -1 --merges 7bcf2a01f0ca0871350a0480051ec51dd105a569~1..7bcf2a01f0ca0871350a0480051ec51dd105a569 7bcf2a01f0ca0871350a0480051ec51dd105a569 07:07:59 7bcf2a01f0ca0871350a0480051ec51dd105a569 [false] [Pipeline] sh 07:07:59 + git log --format=format:%s -1 7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] echo 07:07:59 ========================================================= 07:07:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:07:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:07:59 + git log --format=format:%s -1 7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] echo 07:07:59 [semverPrep] GIT_COMMIT: 7bcf2a01f0ca0871350a0480051ec51dd105a569, Commit Message: Merge pull request #711 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7 [Pipeline] echo 07:07:59 [semverPrep] This is not a build commit. [Pipeline] sh 07:08:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:00 + grep -v github /etc/ssh/ssh_known_hosts 07:08:00 + [ -e /tmp/ssh_known_hosts ] 07:08:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:08:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:08:00 + sudo tee -a /etc/ssh/ssh_known_hosts 07:08:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:00 07:08:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:00 0.1.4: Pulling from edgex-devops/py-git-semver 07:08:00 b85a868b505f: Pulling fs layer 07:08:00 e2be974225ed: Pulling fs layer 07:08:00 339a4e72a1f5: Pulling fs layer 07:08:00 988bab9f4d93: Pulling fs layer 07:08:00 1469e6f7b9e6: Pulling fs layer 07:08:00 988bab9f4d93: Waiting 07:08:00 eaf3925da568: Pulling fs layer 07:08:00 bab4dde63d76: Pulling fs layer 07:08:00 1469e6f7b9e6: Waiting 07:08:00 bde34c3a00c8: Pulling fs layer 07:08:00 b352a97aabf1: Pulling fs layer 07:08:00 4872d77fe225: Pulling fs layer 07:08:00 5851b861e8e6: Pulling fs layer 07:08:00 bde34c3a00c8: Waiting 07:08:00 eaf3925da568: Waiting 07:08:00 bab4dde63d76: Waiting 07:08:00 5851b861e8e6: Waiting 07:08:00 b352a97aabf1: Waiting 07:08:00 4872d77fe225: Waiting 07:08:00 e2be974225ed: Verifying Checksum 07:08:00 e2be974225ed: Download complete 07:08:00 988bab9f4d93: Download complete 07:08:00 1469e6f7b9e6: Verifying Checksum 07:08:00 1469e6f7b9e6: Download complete 07:08:00 339a4e72a1f5: Verifying Checksum 07:08:00 339a4e72a1f5: Download complete 07:08:01 eaf3925da568: Download complete 07:08:01 bde34c3a00c8: Download complete 07:08:01 b352a97aabf1: Verifying Checksum 07:08:01 b352a97aabf1: Download complete 07:08:01 4872d77fe225: Verifying Checksum 07:08:01 4872d77fe225: Download complete 07:08:01 5851b861e8e6: Verifying Checksum 07:08:01 5851b861e8e6: Download complete 07:08:01 b85a868b505f: Verifying Checksum 07:08:01 b85a868b505f: Download complete 07:08:01 bab4dde63d76: Verifying Checksum 07:08:01 bab4dde63d76: Download complete 07:08:02 b85a868b505f: Pull complete 07:08:02 e2be974225ed: Pull complete 07:08:02 339a4e72a1f5: Pull complete 07:08:02 988bab9f4d93: Pull complete 07:08:03 1469e6f7b9e6: Pull complete 07:08:03 eaf3925da568: Pull complete 07:08:04 bab4dde63d76: Pull complete 07:08:04 bde34c3a00c8: Pull complete 07:08:05 b352a97aabf1: Pull complete 07:08:05 4872d77fe225: Pull complete 07:08:05 5851b861e8e6: Pull complete 07:08:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:05 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:08: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:08:06 $ docker top dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c -eo pid,comm 07:08:06 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). 07:08:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:06 [ssh-agent] Looking for ssh-agent implementation... 07:08:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:06 $ docker exec dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c ssh-agent 07:08:06 SSH_AUTH_SOCK=/tmp/ssh-lQvoZrFj41W9/agent.32 07:08:06 SSH_AGENT_PID=38 07:08:06 Running ssh-add (command line suppressed) 07:08:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8305292350618905540.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8305292350618905540.key) 07:08:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:07 + git tag --points-at HEAD [Pipeline] } 07:08:07 $ docker exec --env ******** --env ******** dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c ssh-agent -k 07:08:07 unset SSH_AUTH_SOCK; 07:08:07 unset SSH_AGENT_PID; 07:08:07 echo Agent pid 38 killed; 07:08:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:08:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:07 [ssh-agent] Looking for ssh-agent implementation... 07:08:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:07 $ docker exec dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c ssh-agent 07:08:07 SSH_AUTH_SOCK=/tmp/ssh-rzjyBVp3tv27/agent.71 07:08:07 SSH_AGENT_PID=77 07:08:07 Running ssh-add (command line suppressed) 07:08:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8837988316478853503.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8837988316478853503.key) 07:08:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:08 + git semver init 07:08:08 2024-11-14 07:08:08,330 [run_init] DEBUG init version:0.0.0 force:False 07:08:08 2024-11-14 07:08:08,331 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:08:08 2024-11-14 07:08:08,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:08:08 2024-11-14 07:08:08,331 [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) 07:08:10 2024-11-14 07:08:09,868 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 07:08:10 2024-11-14 07:08:09,868 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 07:08:10 2024-11-14 07:08:09,868 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:08:10 2024-11-14 07:08:09,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:08:10 4.0.0-dev.5 [Pipeline] } 07:08:10 $ docker exec --env ******** --env ******** dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c ssh-agent -k 07:08:10 unset SSH_AUTH_SOCK; 07:08:10 unset SSH_AGENT_PID; 07:08:10 echo Agent pid 77 killed; 07:08:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:10 + git semver [Pipeline] } 07:08:11 $ docker stop --time=1 dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c 07:08:12 $ docker rm -f --volumes dfd9fb696d3ac850b515b8e71ee556ebdd435d2714a4646a067c80802357a36c [Pipeline] // withDockerContainer [Pipeline] sh 07:08:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:08:12 Stashed 1 file(s) [Pipeline] echo 07:08:12 [edgeXSemver]: initialized semver on version 4.0.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 07:08:13 provisioning config files... 07:08:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14325444102218902211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:13 ---> ****-login.sh 07:08:13 nexus3.edgexfoundry.org:10001 07:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:13 Configure a credential helper to remove this warning. See 07:08:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:13 07:08:13 Login Succeeded 07:08:13 nexus3.edgexfoundry.org:10002 07:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:13 Configure a credential helper to remove this warning. See 07:08:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:13 07:08:13 Login Succeeded 07:08:13 nexus3.edgexfoundry.org:10003 07:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:13 Configure a credential helper to remove this warning. See 07:08:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:13 07:08:13 Login Succeeded 07:08:13 nexus3.edgexfoundry.org:10004 07:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:13 Configure a credential helper to remove this warning. See 07:08:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:13 07:08:13 Login Succeeded 07:08:13 ****.io 07:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:14 Configure a credential helper to remove this warning. See 07:08:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:14 07:08:14 Login Succeeded 07:08:14 ---> ****-login.sh ends [Pipeline] } 07:08:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:08:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:08:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:08:14 ========================================================= 07:08:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:08:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:08:14 Sending build context to Docker daemon 20.91MB 07:08:14 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:08:14 Step 2/12 : FROM ${BASE} AS builder 07:08:14 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:08:14 43c4264eed91: Pulling fs layer 07:08:14 4cc291be95ef: Pulling fs layer 07:08:14 2ac1f1163629: Pulling fs layer 07:08:14 5c3c966382ef: Pulling fs layer 07:08:14 4f4fb700ef54: Pulling fs layer 07:08:14 5d5c8e513c77: Pulling fs layer 07:08:14 9f66e0745190: Pulling fs layer 07:08:14 f49a43e4bbc0: Pulling fs layer 07:08:14 561ebcabdf7f: Pulling fs layer 07:08:14 5c3c966382ef: Waiting 07:08:14 4f4fb700ef54: Waiting 07:08:14 f49a43e4bbc0: Waiting 07:08:14 561ebcabdf7f: Waiting 07:08:14 5d5c8e513c77: Waiting 07:08:14 9f66e0745190: Waiting 07:08:14 4cc291be95ef: Download complete 07:08:14 5c3c966382ef: Download complete 07:08:14 4f4fb700ef54: Verifying Checksum 07:08:14 4f4fb700ef54: Download complete 07:08:14 5d5c8e513c77: Verifying Checksum 07:08:14 5d5c8e513c77: Download complete 07:08:14 43c4264eed91: Download complete 07:08:14 9f66e0745190: Verifying Checksum 07:08:14 9f66e0745190: Download complete 07:08:14 43c4264eed91: Pull complete 07:08:15 561ebcabdf7f: Download complete 07:08:15 4cc291be95ef: Pull complete 07:08:15 2ac1f1163629: Verifying Checksum 07:08:15 2ac1f1163629: Download complete 07:08:15 f49a43e4bbc0: Verifying Checksum 07:08:15 f49a43e4bbc0: Download complete 07:08:18 2ac1f1163629: Pull complete 07:08:18 5c3c966382ef: Pull complete 07:08:18 4f4fb700ef54: Pull complete 07:08:18 5d5c8e513c77: Pull complete 07:08:18 9f66e0745190: Pull complete 07:08:20 f49a43e4bbc0: Pull complete 07:08:21 561ebcabdf7f: Pull complete 07:08:21 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:08:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:08:21 ---> 3a752c3f9dda 07:08:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:08:23 ---> Running in a6f21b9d1f25 07:08:23 Removing intermediate container a6f21b9d1f25 07:08:23 ---> d7aac70d27c8 07:08:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:08:23 ---> Running in c5e5d6bdca9c 07:08:23 Removing intermediate container c5e5d6bdca9c 07:08:23 ---> 1116eac5446b 07:08:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:08:23 ---> Running in 72e60f96b5fc 07:08:23 Removing intermediate container 72e60f96b5fc 07:08:23 ---> 2712057928b7 07:08:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:08:23 ---> Running in 1d51e88402e1 07:08:23 Removing intermediate container 1d51e88402e1 07:08:23 ---> 115216c6775f 07:08:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:08:23 ---> Running in 73cffda1d09c 07:08:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:08:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:08:23 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:08:23 (2/4) Installing libedit (20240517.3.1-r0) 07:08:23 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:08:23 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:08:23 Executing busybox-1.36.1-r29.trigger 07:08:24 OK: 250 MiB in 58 packages 07:08:24 Removing intermediate container 73cffda1d09c 07:08:24 ---> bccbcc6b77a0 07:08:24 Step 8/12 : WORKDIR /device-mqtt-go 07:08:24 ---> Running in fdaa99107d9a 07:08:24 Removing intermediate container fdaa99107d9a 07:08:24 ---> e5c7f6dd8ee3 07:08:24 Step 9/12 : COPY go.mod vendor* ./ 07:08:24 ---> 84d7bae7479f 07:08:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:08:24 ---> Running in 511898c92ee1 07:08:28 Still waiting to schedule task 07:08:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:09:20 Removing intermediate container 511898c92ee1 07:09:20 ---> 5bdafc24c631 07:09:20 Step 11/12 : COPY . . 07:09:20 ---> 2919303ec65a 07:09:20 Step 12/12 : RUN $MAKE 07:09:20 ---> Running in f309ac1966b5 07:09:20 noop 07:09:20 Removing intermediate container f309ac1966b5 07:09:20 ---> 745fe5ccd9e4 07:09:20 Successfully built 745fe5ccd9e4 07:09:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:21 + docker inspect -f . ci-base-image-x86_64 07:09:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:21 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:09:21 $ 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 07:09:21 $ docker top b7983d94948d98c00c1df38a01135672ded701001d68fa6b05f3a0aad2562ade -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:22 + go version 07:09:22 go version go1.23.2 linux/amd64 [Pipeline] } 07:09:22 $ docker stop --time=1 b7983d94948d98c00c1df38a01135672ded701001d68fa6b05f3a0aad2562ade 07:09:23 $ docker rm -f --volumes b7983d94948d98c00c1df38a01135672ded701001d68fa6b05f3a0aad2562ade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:23 + docker inspect -f . ci-base-image-x86_64 07:09:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:23 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:09:23 $ 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 07:09:24 $ docker top d47863a34feb14ab85d7070f96d6b9b98c2426f23093bedb07f0520fe2d2b364 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 07:09:24 + make test 07:09:24 go test ./... -coverprofile=coverage.out ./... 07:09:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:09:44 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 07:09:44 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 07:09:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements 07:09:57 go vet ./... 07:10:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:10:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:10:01 ./bin/test-attribution-txt.sh [Pipeline] echo 07:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:10:01 $ docker stop --time=1 d47863a34feb14ab85d7070f96d6b9b98c2426f23093bedb07f0520fe2d2b364 07:10:05 $ docker rm -f --volumes d47863a34feb14ab85d7070f96d6b9b98c2426f23093bedb07f0520fe2d2b364 [Pipeline] // withDockerContainer [Pipeline] sh 07:10:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:10:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:10:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:10:07 + ls -al . 07:10:07 total 252 07:10:07 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 07:09 . 07:10:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 07:07 .. 07:10:07 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 07:07 .dockerignore 07:10:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 07:09 .git 07:10:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 07:07 .github 07:10:07 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 07:07 .gitignore 07:10:07 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 07:07 .golangci.yml 07:10:07 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 07:08 .semver 07:10:07 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 14 07:07 Attribution.txt 07:10:07 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 07:07 CHANGELOG.md 07:10:07 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 14 07:07 Dockerfile 07:10:07 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 07:07 GOVERNANCE.md 07:10:07 -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 07:07 Jenkinsfile 07:10:07 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 07:07 LICENSE 07:10:07 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 14 07:07 Makefile 07:10:07 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 07:07 OWNERS.md 07:10:07 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 07:07 README.md 07:10:07 -rw-rw-r-- 1 jenkins jenkins 11 Nov 14 07:08 VERSION 07:10:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 07:07 bin 07:10:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 07:07 cmd 07:10:07 -rw-r--r-- 1 jenkins jenkins 21039 Nov 14 07:09 coverage.out 07:10:07 -rw-rw-r-- 1 jenkins jenkins 6321 Nov 14 07:07 go.mod 07:10:07 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 14 07:07 go.sum 07:10:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 07:07 internal 07:10:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 07:07 mock 07:10:07 -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 07:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:07 + 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=7bcf2a01f0ca0871350a0480051ec51dd105a569 --label arch=amd64 --label version=4.0.0-dev.5 . 07:10:07 Sending build context to Docker daemon 20.93MB 07:10:07 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 07:10:07 Step 2/25 : FROM ${BASE} AS builder 07:10:07 ---> 745fe5ccd9e4 07:10:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:10:07 ---> Running in 336ffdb4c476 07:10:08 Removing intermediate container 336ffdb4c476 07:10:08 ---> b5a06c21e58f 07:10:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:10:08 ---> Running in 5855f60537de 07:10:08 Removing intermediate container 5855f60537de 07:10:08 ---> c5cd654f5aa5 07:10:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:10:08 ---> Running in b7d054d21180 07:10:08 Removing intermediate container b7d054d21180 07:10:08 ---> 5ae22e839d78 07:10:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:10:08 ---> Running in f4d90cdbaf7d 07:10:08 Removing intermediate container f4d90cdbaf7d 07:10:08 ---> 88e4200347b7 07:10:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:10:08 ---> Running in 11c29aa1e3f9 07:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:10:09 OK: 250 MiB in 58 packages 07:10:09 Removing intermediate container 11c29aa1e3f9 07:10:09 ---> 8b02538bc4ef 07:10:09 Step 8/25 : WORKDIR /device-mqtt-go 07:10:09 ---> Running in 2a2543e29156 07:10:09 Removing intermediate container 2a2543e29156 07:10:09 ---> 54c270b85617 07:10:09 Step 9/25 : COPY go.mod vendor* ./ 07:10:09 ---> d8fd0a2f361f 07:10:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:09 ---> Running in 1b6068c7fb03 07:10:10 Removing intermediate container 1b6068c7fb03 07:10:10 ---> 98852a0c2157 07:10:10 Step 11/25 : COPY . . 07:10:11 ---> 8d8dec54b25b 07:10:11 Step 12/25 : RUN $MAKE 07:10:11 ---> Running in a72234f97c1b 07:10:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 07:10:43 Removing intermediate container a72234f97c1b 07:10:43 ---> f64940a5f869 07:10:43 Step 13/25 : FROM alpine:3.20 07:10:43 3.20: Pulling from library/alpine 07:10:43 da9db072f522: Pulling fs layer 07:10:43 da9db072f522: Download complete 07:10:43 da9db072f522: Pull complete 07:10:43 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 07:10:43 Status: Downloaded newer image for alpine:3.20 07:10:43 ---> 63b790fccc90 07:10:43 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 07:10:43 ---> Running in 5412e8273c94 07:10:44 Removing intermediate container 5412e8273c94 07:10:44 ---> f81b07af5f83 07:10:44 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:10:44 ---> Running in 9ba8a617cfb5 07:10:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:10:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:10:44 (1/1) Installing dumb-init (1.2.5-r3) 07:10:44 Executing busybox-1.36.1-r29.trigger 07:10:44 OK: 8 MiB in 15 packages 07:10:45 Removing intermediate container 9ba8a617cfb5 07:10:45 ---> cdfa7c127ccc 07:10:45 Step 16/25 : RUN apk --no-cache upgrade 07:10:45 ---> Running in 592599b04d57 07:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:10:45 Upgrading critical system libraries and apk-tools: 07:10:45 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:10:45 Executing busybox-1.36.1-r29.trigger 07:10:45 Continuing the upgrade transaction with new apk-tools: 07:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:10:46 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:10:46 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:10:46 OK: 8 MiB in 15 packages 07:10:46 Removing intermediate container 592599b04d57 07:10:46 ---> eaf9ab7bb426 07:10:46 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 07:10:48 ---> 1a5775d21fdc 07:10:48 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 07:10:48 ---> e77c924a954d 07:10:48 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:10:48 ---> b9ea4bbf07b3 07:10:48 Step 20/25 : EXPOSE 59982 07:10:48 ---> Running in 4ad1850cf733 07:10:48 Removing intermediate container 4ad1850cf733 07:10:48 ---> b50e5650dcc3 07:10:48 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 07:10:48 ---> Running in f1a207bfb36c 07:10:48 Removing intermediate container f1a207bfb36c 07:10:48 ---> 313ebd00315c 07:10:48 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:10:48 ---> Running in fc4042498637 07:10:48 Removing intermediate container fc4042498637 07:10:48 ---> 6d58d46319f7 07:10:48 Step 23/25 : LABEL arch=amd64 07:10:48 ---> Running in 70a77ebfa6c1 07:10:48 Removing intermediate container 70a77ebfa6c1 07:10:48 ---> 9a74464619dc 07:10:48 Step 24/25 : LABEL git_sha=7bcf2a01f0ca0871350a0480051ec51dd105a569 07:10:48 ---> Running in 614496e0cd07 07:10:48 Removing intermediate container 614496e0cd07 07:10:48 ---> d0c199b35b7d 07:10:48 Step 25/25 : LABEL version=4.0.0-dev.5 07:10:48 ---> Running in 0c882dcffa56 07:10:48 Removing intermediate container 0c882dcffa56 07:10:48 ---> 65a8f035974a 07:10:48 [Warning] One or more build-args [ARCH] were not consumed 07:10:48 Successfully built 65a8f035974a 07:10:48 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:49 provisioning config files... 07:10:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5327033333873279084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:49 ---> ****-login.sh 07:10:49 nexus3.edgexfoundry.org:10001 07:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:49 Configure a credential helper to remove this warning. See 07:10:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:49 07:10:49 Login Succeeded 07:10:49 nexus3.edgexfoundry.org:10002 07:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:49 Configure a credential helper to remove this warning. See 07:10:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:49 07:10:49 Login Succeeded 07:10:49 nexus3.edgexfoundry.org:10003 07:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:49 Configure a credential helper to remove this warning. See 07:10:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:49 07:10:49 Login Succeeded 07:10:49 nexus3.edgexfoundry.org:10004 07:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:49 Configure a credential helper to remove this warning. See 07:10:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:49 07:10:49 Login Succeeded 07:10:49 ****.io 07:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:49 Configure a credential helper to remove this warning. See 07:10:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:49 07:10:49 Login Succeeded 07:10:49 ---> ****-login.sh ends [Pipeline] } 07:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:10:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:10:49 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:10:49 7bcf2a01f0ca0871350a0480051ec51dd105a569 07:10:49 latest 07:10:49 4.0.0-dev.5 07:10:49 7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 07:10:49 main 07:10:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7bcf2a01f0ca0871350a0480051ec51dd105a569 07:10:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:10:50 7f50ffb8aa5b: Preparing 07:10:50 3475ba75ff57: Preparing 07:10:50 9e751cfce307: Preparing 07:10:50 d76c122996c0: Preparing 07:10:50 ea13ec5b87ae: Preparing 07:10:50 75654b8eeebd: Preparing 07:10:50 75654b8eeebd: Waiting 07:10:50 7f50ffb8aa5b: Pushed 07:10:50 3475ba75ff57: Pushed 07:10:50 ea13ec5b87ae: Pushed 07:10:50 75654b8eeebd: Layer already exists 07:10:51 d76c122996c0: Pushed 07:10:55 9e751cfce307: Pushed 07:10:55 7bcf2a01f0ca0871350a0480051ec51dd105a569: digest: sha256:d0f0d849bcf73da5ba11f33c8ef7d9ce58372ee8f66f801ec3950b183b9c29f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:55 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:10:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:10:56 7f50ffb8aa5b: Preparing 07:10:56 3475ba75ff57: Preparing 07:10:56 9e751cfce307: Preparing 07:10:56 d76c122996c0: Preparing 07:10:56 ea13ec5b87ae: Preparing 07:10:56 75654b8eeebd: Preparing 07:10:56 75654b8eeebd: Waiting 07:10:56 d76c122996c0: Layer already exists 07:10:56 7f50ffb8aa5b: Layer already exists 07:10:56 9e751cfce307: Layer already exists 07:10:56 3475ba75ff57: Layer already exists 07:10:56 ea13ec5b87ae: Layer already exists 07:10:56 75654b8eeebd: Layer already exists 07:10:56 latest: digest: sha256:d0f0d849bcf73da5ba11f33c8ef7d9ce58372ee8f66f801ec3950b183b9c29f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.5 07:10:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:10:56 7f50ffb8aa5b: Preparing 07:10:56 3475ba75ff57: Preparing 07:10:56 9e751cfce307: Preparing 07:10:56 d76c122996c0: Preparing 07:10:56 ea13ec5b87ae: Preparing 07:10:56 75654b8eeebd: Preparing 07:10:56 75654b8eeebd: Waiting 07:10:56 d76c122996c0: Layer already exists 07:10:56 3475ba75ff57: Layer already exists 07:10:56 9e751cfce307: Layer already exists 07:10:56 ea13ec5b87ae: Layer already exists 07:10:56 7f50ffb8aa5b: Layer already exists 07:10:56 75654b8eeebd: Layer already exists 07:10:56 4.0.0-dev.5: digest: sha256:d0f0d849bcf73da5ba11f33c8ef7d9ce58372ee8f66f801ec3950b183b9c29f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 07:10:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:10:57 7f50ffb8aa5b: Preparing 07:10:57 3475ba75ff57: Preparing 07:10:57 9e751cfce307: Preparing 07:10:57 d76c122996c0: Preparing 07:10:57 ea13ec5b87ae: Preparing 07:10:57 75654b8eeebd: Preparing 07:10:57 75654b8eeebd: Waiting 07:10:57 ea13ec5b87ae: Layer already exists 07:10:57 7f50ffb8aa5b: Layer already exists 07:10:57 3475ba75ff57: Layer already exists 07:10:57 9e751cfce307: Layer already exists 07:10:57 d76c122996c0: Layer already exists 07:10:57 75654b8eeebd: Layer already exists 07:10:57 7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5: digest: sha256:d0f0d849bcf73da5ba11f33c8ef7d9ce58372ee8f66f801ec3950b183b9c29f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 07:10:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:10:58 7f50ffb8aa5b: Preparing 07:10:58 3475ba75ff57: Preparing 07:10:58 9e751cfce307: Preparing 07:10:58 d76c122996c0: Preparing 07:10:58 ea13ec5b87ae: Preparing 07:10:58 75654b8eeebd: Preparing 07:10:58 75654b8eeebd: Waiting 07:10:58 3475ba75ff57: Layer already exists 07:10:58 d76c122996c0: Layer already exists 07:10:58 9e751cfce307: Layer already exists 07:10:58 ea13ec5b87ae: Layer already exists 07:10:58 7f50ffb8aa5b: Layer already exists 07:10:58 75654b8eeebd: Layer already exists 07:10:58 main: digest: sha256:d0f0d849bcf73da5ba11f33c8ef7d9ce58372ee8f66f801ec3950b183b9c29f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:10:58 ===================================================== [Pipeline] echo 07:10:58 taggedImages: 07:10:58 - nexus3.edgexfoundry.org:10004/device-mqtt:7bcf2a01f0ca0871350a0480051ec51dd105a569 07:10:58 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:10:58 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.5 07:10:58 - nexus3.edgexfoundry.org:10004/device-mqtt:7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 07:10:58 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:58 07:10:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:58 latest: Pulling from edgex-lftools-log-publisher 07:10:58 5eb5b503b376: Pulling fs layer 07:10:58 5c69ac0246d0: Pulling fs layer 07:10:58 ec43610c2a17: Pulling fs layer 07:10:58 3a2ae6a8a46f: Pulling fs layer 07:10:58 33b1e0a273af: Pulling fs layer 07:10:58 5d3b04190fa2: Pulling fs layer 07:10:58 2f39f015ded8: Pulling fs layer 07:10:58 2f39f015ded8: Waiting 07:10:58 5d3b04190fa2: Waiting 07:10:58 3a2ae6a8a46f: Waiting 07:10:58 33b1e0a273af: Waiting 07:10:58 5c69ac0246d0: Download complete 07:10:59 3a2ae6a8a46f: Verifying Checksum 07:10:59 3a2ae6a8a46f: Download complete 07:10:59 33b1e0a273af: Verifying Checksum 07:10:59 33b1e0a273af: Download complete 07:10:59 5d3b04190fa2: Download complete 07:10:59 ec43610c2a17: Verifying Checksum 07:10:59 ec43610c2a17: Download complete 07:11:00 5eb5b503b376: Verifying Checksum 07:11:00 5eb5b503b376: Download complete 07:11:00 2f39f015ded8: Download complete 07:11:01 5eb5b503b376: Pull complete 07:11:01 5c69ac0246d0: Pull complete 07:11:02 ec43610c2a17: Pull complete 07:11:02 3a2ae6a8a46f: Pull complete 07:11:02 33b1e0a273af: Pull complete 07:11:02 5d3b04190fa2: Pull complete 07:11:06 2f39f015ded8: Pull complete 07:11:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:11:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:06 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:11:06 $ 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 07:11:10 $ docker top f802d287a9e4cb5a4d32d69b49109597b25a46e0a3338ec7c107c385e0a984a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:10 ---> job-cost.sh 07:11:10 lf-activate-venv: SKIPPING 07:11:10 INFO: No Stack... 07:11:11 INFO: Retrieving Pricing Info for: v3-standard-8 07:11:11 INFO: Archiving Costs [Pipeline] sh 07:11:11 + + catcut /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv -d, 07:11:11 -f6 [Pipeline] lock 07:11:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] 07:11:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] did not exist. Created. 07:11:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:11:12 + echo total: 0.2199999988079071 [Pipeline] stash 07:11:12 Stashed 1 file(s) [Pipeline] } 07:11:12 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 07:11:12 $ docker stop --time=1 f802d287a9e4cb5a4d32d69b49109597b25a46e0a3338ec7c107c385e0a984a5 07:11:13 $ docker rm -f --volumes f802d287a9e4cb5a4d32d69b49109597b25a46e0a3338ec7c107c385e0a984a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:11:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26427 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 07:11:19 Running in /w/workspace/device-mqtt-go/183 [Pipeline] { [Pipeline] checkout 07:11:22 The recommended git tool is: git 07:11:28 using credential edgex-jenkins-ssh 07:11:28 Cloning the remote Git repository 07:11:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:11:28 > git init /w/workspace/device-mqtt-go/183 # timeout=10 07:11:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:11:28 > git --version # timeout=10 07:11:28 > git --version # 'git version 2.25.1' 07:11:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:11:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:32 Avoid second fetch 07:11:32 Checking out Revision 7bcf2a01f0ca0871350a0480051ec51dd105a569 (main) 07:11:32 Commit message: "Merge pull request #711 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7" 07:11:32 > git config core.sparsecheckout # timeout=10 07:11:32 > git checkout -f 7bcf2a01f0ca0871350a0480051ec51dd105a569 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:11:37 % Total % Received % Xferd Average Speed Time Time Time Current 07:11:37 Dload Upload Total Spent Left Speed 07:11:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 84394 0 --:--:-- --:--:-- --:--:-- 83843 [Pipeline] sh 07:11:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:11:38 + sudo tee /etc/docker/daemon.new 07:11:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:11:38 { 07:11:38 "registry-mirrors": [ 07:11:38 "https://nexus3.edgexfoundry.org:10001" 07:11:38 ], 07:11:38 "bip": "10.250.0.254/24", 07:11:38 "hosts": [ 07:11:38 "tcp://0.0.0.0:5555", 07:11:38 "unix:///var/run/docker.sock" 07:11:38 ], 07:11:38 "mtu": 1458, 07:11:38 "selinux-enabled": true, 07:11:38 "seccomp-profile": "/etc/docker/seccomp.json" 07:11:38 } [Pipeline] sh 07:11:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:11:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:56 provisioning config files... 07:11:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/183@tmp/config13692786429519866364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:57 ---> ****-login.sh 07:11:57 nexus3.edgexfoundry.org:10001 07:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:58 Configure a credential helper to remove this warning. See 07:11:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:58 07:11:58 Login Succeeded 07:11:58 nexus3.edgexfoundry.org:10002 07:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:58 Configure a credential helper to remove this warning. See 07:11:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:58 07:11:58 Login Succeeded 07:11:58 nexus3.edgexfoundry.org:10003 07:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:58 Configure a credential helper to remove this warning. See 07:11:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:58 07:11:58 Login Succeeded 07:11:58 nexus3.edgexfoundry.org:10004 07:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:59 Configure a credential helper to remove this warning. See 07:11:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:59 07:11:59 Login Succeeded 07:11:59 ****.io 07:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:59 Configure a credential helper to remove this warning. See 07:11:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:59 07:11:59 Login Succeeded 07:11:59 ---> ****-login.sh ends [Pipeline] } 07:11:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:12:00 ========================================================= 07:12:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:12:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:12:01 Sending build context to Docker daemon 10.57MB 07:12:01 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:12:01 Step 2/12 : FROM ${BASE} AS builder 07:12:01 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:12:01 cf04c63912e1: Pulling fs layer 07:12:01 55b35a11ae5e: Pulling fs layer 07:12:01 a37a00ec5f00: Pulling fs layer 07:12:01 50b3750afda1: Pulling fs layer 07:12:01 4f4fb700ef54: Pulling fs layer 07:12:01 80978eb59214: Pulling fs layer 07:12:01 c9f46d7d2bd2: Pulling fs layer 07:12:01 c5a475d317c9: Pulling fs layer 07:12:01 50b3750afda1: Waiting 07:12:01 4f4fb700ef54: Waiting 07:12:01 c9f46d7d2bd2: Waiting 07:12:01 80978eb59214: Waiting 07:12:01 c5a475d317c9: Waiting 07:12:01 55b35a11ae5e: Download complete 07:12:01 50b3750afda1: Verifying Checksum 07:12:01 50b3750afda1: Download complete 07:12:01 4f4fb700ef54: Verifying Checksum 07:12:01 4f4fb700ef54: Download complete 07:12:01 80978eb59214: Verifying Checksum 07:12:01 80978eb59214: Download complete 07:12:01 cf04c63912e1: Verifying Checksum 07:12:01 cf04c63912e1: Download complete 07:12:01 c5a475d317c9: Verifying Checksum 07:12:01 c5a475d317c9: Download complete 07:12:02 cf04c63912e1: Pull complete 07:12:03 55b35a11ae5e: Pull complete 07:12:03 a37a00ec5f00: Verifying Checksum 07:12:03 a37a00ec5f00: Download complete 07:12:03 c9f46d7d2bd2: Verifying Checksum 07:12:03 c9f46d7d2bd2: Download complete 07:12:18 a37a00ec5f00: Pull complete 07:12:18 50b3750afda1: Pull complete 07:12:18 4f4fb700ef54: Pull complete 07:12:18 80978eb59214: Pull complete 07:12:25 c9f46d7d2bd2: Pull complete 07:12:27 c5a475d317c9: Pull complete 07:12:27 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:12:27 ---> be29e6b0f0d4 07:12:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:12:27 ---> Running in 9c15d3631393 07:12:28 Removing intermediate container 9c15d3631393 07:12:28 ---> 81b85ebbe6bc 07:12:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:12:28 ---> Running in c32c0379bb23 07:12:28 Removing intermediate container c32c0379bb23 07:12:28 ---> 27b7a76f2c1a 07:12:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:12:28 ---> Running in 6f464d4757f9 07:12:29 Removing intermediate container 6f464d4757f9 07:12:29 ---> 6c17968e4b24 07:12:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:12:29 ---> Running in 595aaa17bfbf 07:12:29 Removing intermediate container 595aaa17bfbf 07:12:29 ---> 9a05dd5b398b 07:12:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:29 ---> Running in dbdc8f7d689f 07:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:12:32 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:12:32 (2/4) Installing libedit (20240517.3.1-r0) 07:12:32 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:12:32 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:12:32 Executing busybox-1.36.1-r29.trigger 07:12:32 OK: 242 MiB in 58 packages 07:12:33 Removing intermediate container dbdc8f7d689f 07:12:33 ---> 50c7825974ec 07:12:33 Step 8/12 : WORKDIR /device-mqtt-go 07:12:33 ---> Running in 34667f138e6c 07:12:33 Removing intermediate container 34667f138e6c 07:12:33 ---> 5d2365743a70 07:12:33 Step 9/12 : COPY go.mod vendor* ./ 07:12:33 ---> f518eef3d023 07:12:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:34 ---> Running in 6c22b110c645 07:14:25 Removing intermediate container 6c22b110c645 07:14:25 ---> dca53d457d49 07:14:25 Step 11/12 : COPY . . 07:14:25 ---> 31d2e347a5c7 07:14:25 Step 12/12 : RUN $MAKE 07:14:25 ---> Running in 7888b81244ec 07:14:25 noop 07:14:25 Removing intermediate container 7888b81244ec 07:14:25 ---> fa329c5cb995 07:14:25 Successfully built fa329c5cb995 07:14:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:26 + docker inspect -f . ci-base-image-arm64 07:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:26 prd-ubuntu20.04-docker-arm64-4c-16g-26427 does not seem to be running inside a container 07:14:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/183 -v /w/workspace/device-mqtt-go/183:/w/workspace/device-mqtt-go/183:rw,z -v /w/workspace/device-mqtt-go/183@tmp:/w/workspace/device-mqtt-go/183@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 07:14:27 $ docker top f3439ef080af813377c59d10f29673c2592c902a2bb79ab765461c4b8134a039 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:28 + go version 07:14:28 go version go1.23.2 linux/arm64 [Pipeline] } 07:14:28 $ docker stop --time=1 f3439ef080af813377c59d10f29673c2592c902a2bb79ab765461c4b8134a039 07:14:29 $ docker rm -f --volumes f3439ef080af813377c59d10f29673c2592c902a2bb79ab765461c4b8134a039 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:30 + docker inspect -f . ci-base-image-arm64 07:14:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:30 prd-ubuntu20.04-docker-arm64-4c-16g-26427 does not seem to be running inside a container 07:14:30 $ 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/183 -v /w/workspace/device-mqtt-go/183:/w/workspace/device-mqtt-go/183:rw,z -v /w/workspace/device-mqtt-go/183@tmp:/w/workspace/device-mqtt-go/183@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 07:14:33 $ docker top adb2ca0066917862fb892cec2cf4a650dad808a0f0b0abe04163ade5509b1c28 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/183 [Pipeline] fileExists [Pipeline] sh 07:14:33 + make test 07:14:33 go test ./... -coverprofile=coverage.out ./... 07:14:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:17:45 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 07:17:45 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 07:17:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.8% of statements 07:17:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:17:45 go vet ./... 07:18:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:18:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:18:24 ./bin/test-attribution-txt.sh [Pipeline] echo 07:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:18:24 $ docker stop --time=1 adb2ca0066917862fb892cec2cf4a650dad808a0f0b0abe04163ade5509b1c28 07:18:26 $ docker rm -f --volumes adb2ca0066917862fb892cec2cf4a650dad808a0f0b0abe04163ade5509b1c28 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:18:28 Warning: overwriting stash ‘coverage-report’ 07:18:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:18:29 + ls -al . 07:18:29 total 248 07:18:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 07:14 . 07:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 07:11 .. 07:18:29 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 07:11 .dockerignore 07:18:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 07:11 .git 07:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 07:11 .github 07:18:29 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 07:11 .gitignore 07:18:29 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 07:11 .golangci.yml 07:18:29 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 14 07:11 Attribution.txt 07:18:29 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 07:11 CHANGELOG.md 07:18:29 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 14 07:11 Dockerfile 07:18:29 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 07:11 GOVERNANCE.md 07:18:29 -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 07:11 Jenkinsfile 07:18:29 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 07:11 LICENSE 07:18:29 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 14 07:11 Makefile 07:18:29 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 07:11 OWNERS.md 07:18:29 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 07:11 README.md 07:18:29 -rw-rw-r-- 1 jenkins jenkins 11 Nov 14 07:08 VERSION 07:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 07:11 bin 07:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 07:11 cmd 07:18:29 -rw-r--r-- 1 jenkins jenkins 21039 Nov 14 07:17 coverage.out 07:18:29 -rw-rw-r-- 1 jenkins jenkins 6321 Nov 14 07:11 go.mod 07:18:29 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 14 07:11 go.sum 07:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 07:11 internal 07:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 07:11 mock 07:18:29 -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:29 + 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=7bcf2a01f0ca0871350a0480051ec51dd105a569 --label arch=arm64 --label version=4.0.0-dev.5 . 07:18:30 Sending build context to Docker daemon 10.59MB 07:18:30 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 07:18:30 Step 2/25 : FROM ${BASE} AS builder 07:18:30 ---> fa329c5cb995 07:18:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:18:30 ---> Running in 9892646db1c5 07:18:30 Removing intermediate container 9892646db1c5 07:18:30 ---> e8975e02a0ae 07:18:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:18:30 ---> Running in 356745cb837c 07:18:30 Removing intermediate container 356745cb837c 07:18:30 ---> 245ead62df72 07:18:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:18:31 ---> Running in 5152efe6ccc6 07:18:31 Removing intermediate container 5152efe6ccc6 07:18:31 ---> a1654808d822 07:18:31 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:18:31 ---> Running in 94e3c905937e 07:18:31 Removing intermediate container 94e3c905937e 07:18:31 ---> e35e12d5d46c 07:18:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:31 ---> Running in 5d8b24000b87 07:18:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:18:34 OK: 242 MiB in 58 packages 07:18:35 Removing intermediate container 5d8b24000b87 07:18:35 ---> 1ef06592aae3 07:18:35 Step 8/25 : WORKDIR /device-mqtt-go 07:18:35 ---> Running in 0cfe6df77c8f 07:18:35 Removing intermediate container 0cfe6df77c8f 07:18:35 ---> 2e3fcd11443b 07:18:35 Step 9/25 : COPY go.mod vendor* ./ 07:18:35 ---> fd691373cbe4 07:18:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:36 ---> Running in 0d5866b5259c 07:18:38 Removing intermediate container 0d5866b5259c 07:18:38 ---> bbe71bcf5dc4 07:18:38 Step 11/25 : COPY . . 07:18:39 ---> b5daacb76081 07:18:39 Step 12/25 : RUN $MAKE 07:18:39 ---> Running in 3c635e47c905 07:18:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 07:22:01 Removing intermediate container 3c635e47c905 07:22:01 ---> b5107a435c60 07:22:01 Step 13/25 : FROM alpine:3.20 07:22:01 3.20: Pulling from library/alpine 07:22:01 9986a736f7d3: Pulling fs layer 07:22:01 9986a736f7d3: Verifying Checksum 07:22:01 9986a736f7d3: Download complete 07:22:01 9986a736f7d3: Pull complete 07:22:01 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 07:22:01 Status: Downloaded newer image for alpine:3.20 07:22:01 ---> 511a44083d3a 07:22:01 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 07:22:01 ---> Running in ff9aa806c35e 07:22:01 Removing intermediate container ff9aa806c35e 07:22:01 ---> e3cc89039efe 07:22:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:22:01 ---> Running in 8f67abb723e0 07:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:22:01 (1/1) Installing dumb-init (1.2.5-r3) 07:22:01 Executing busybox-1.36.1-r29.trigger 07:22:01 OK: 9 MiB in 15 packages 07:22:01 Removing intermediate container 8f67abb723e0 07:22:01 ---> 33bf06e2109f 07:22:01 Step 16/25 : RUN apk --no-cache upgrade 07:22:01 ---> Running in 7d1979cd990f 07:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:22:01 Upgrading critical system libraries and apk-tools: 07:22:01 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:22:01 Executing busybox-1.36.1-r29.trigger 07:22:01 Continuing the upgrade transaction with new apk-tools: 07:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:22:01 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:22:01 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:22:01 OK: 9 MiB in 15 packages 07:22:02 Removing intermediate container 7d1979cd990f 07:22:02 ---> 68564ce60a34 07:22:02 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 07:22:04 ---> b9fef16ac9b8 07:22:04 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 07:22:04 ---> 4fa11f8f59d0 07:22:04 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:22:05 ---> 7c5fa79ef9c9 07:22:05 Step 20/25 : EXPOSE 59982 07:22:05 ---> Running in 64e4db62d9fc 07:22:05 Removing intermediate container 64e4db62d9fc 07:22:05 ---> ab9270da458a 07:22:05 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 07:22:05 ---> Running in 61a530dee746 07:22:05 Removing intermediate container 61a530dee746 07:22:05 ---> 3ffdf0c2ca54 07:22:05 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:22:05 ---> Running in b539f62d1786 07:22:06 Removing intermediate container b539f62d1786 07:22:06 ---> e7b914fa1b19 07:22:06 Step 23/25 : LABEL arch=arm64 07:22:06 ---> Running in b9c07c0053c2 07:22:06 Removing intermediate container b9c07c0053c2 07:22:06 ---> f26484a8d736 07:22:06 Step 24/25 : LABEL git_sha=7bcf2a01f0ca0871350a0480051ec51dd105a569 07:22:06 ---> Running in 57c73c2e91d9 07:22:07 Removing intermediate container 57c73c2e91d9 07:22:07 ---> d111f715bd25 07:22:07 Step 25/25 : LABEL version=4.0.0-dev.5 07:22:07 ---> Running in c221068532e5 07:22:07 Removing intermediate container c221068532e5 07:22:07 ---> a737264adaa9 07:22:07 [Warning] One or more build-args [ARCH] were not consumed 07:22:07 Successfully built a737264adaa9 07:22:07 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:07 provisioning config files... 07:22:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/183@tmp/config3987605862266744363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:08 ---> ****-login.sh 07:22:08 nexus3.edgexfoundry.org:10001 07:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:08 Configure a credential helper to remove this warning. See 07:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:08 07:22:08 Login Succeeded 07:22:08 nexus3.edgexfoundry.org:10002 07:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:08 Configure a credential helper to remove this warning. See 07:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:08 07:22:08 Login Succeeded 07:22:08 nexus3.edgexfoundry.org:10003 07:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:08 Configure a credential helper to remove this warning. See 07:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:08 07:22:08 Login Succeeded 07:22:09 nexus3.edgexfoundry.org:10004 07:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:09 Configure a credential helper to remove this warning. See 07:22:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:09 07:22:09 Login Succeeded 07:22:09 ****.io 07:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:09 Configure a credential helper to remove this warning. See 07:22:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:09 07:22:09 Login Succeeded 07:22:09 ---> ****-login.sh ends [Pipeline] } 07:22:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:22:10 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 07:22:10 7bcf2a01f0ca0871350a0480051ec51dd105a569 07:22:10 latest 07:22:10 4.0.0-dev.5 07:22:10 7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 07:22:10 main 07:22:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7bcf2a01f0ca0871350a0480051ec51dd105a569 07:22:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:22:10 b2305329a1ee: Preparing 07:22:10 8f3197656da6: Preparing 07:22:10 bdc53abc7a03: Preparing 07:22:10 fe89960c9712: Preparing 07:22:10 2e02da243989: Preparing 07:22:10 651d9022c234: Preparing 07:22:10 651d9022c234: Waiting 07:22:11 b2305329a1ee: Pushed 07:22:11 2e02da243989: Pushed 07:22:11 8f3197656da6: Pushed 07:22:11 651d9022c234: Layer already exists 07:22:12 fe89960c9712: Pushed 07:22:19 bdc53abc7a03: Pushed 07:22:19 7bcf2a01f0ca0871350a0480051ec51dd105a569: digest: sha256:e748b2f58aa2c272e25a84c17149fc0bf85733039066dca11ee517a2cbcd2ac4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:22:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:22:19 b2305329a1ee: Preparing 07:22:19 8f3197656da6: Preparing 07:22:19 bdc53abc7a03: Preparing 07:22:19 fe89960c9712: Preparing 07:22:19 2e02da243989: Preparing 07:22:19 651d9022c234: Preparing 07:22:19 651d9022c234: Waiting 07:22:19 b2305329a1ee: Layer already exists 07:22:19 fe89960c9712: Layer already exists 07:22:19 2e02da243989: Layer already exists 07:22:19 8f3197656da6: Layer already exists 07:22:19 bdc53abc7a03: Layer already exists 07:22:19 651d9022c234: Layer already exists 07:22:20 latest: digest: sha256:e748b2f58aa2c272e25a84c17149fc0bf85733039066dca11ee517a2cbcd2ac4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.5 07:22:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:22:20 b2305329a1ee: Preparing 07:22:20 8f3197656da6: Preparing 07:22:20 bdc53abc7a03: Preparing 07:22:20 fe89960c9712: Preparing 07:22:20 2e02da243989: Preparing 07:22:20 651d9022c234: Preparing 07:22:20 651d9022c234: Waiting 07:22:20 8f3197656da6: Layer already exists 07:22:20 fe89960c9712: Layer already exists 07:22:20 2e02da243989: Layer already exists 07:22:20 b2305329a1ee: Layer already exists 07:22:20 bdc53abc7a03: Layer already exists 07:22:20 651d9022c234: Layer already exists 07:22:21 4.0.0-dev.5: digest: sha256:e748b2f58aa2c272e25a84c17149fc0bf85733039066dca11ee517a2cbcd2ac4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 07:22:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:22:22 b2305329a1ee: Preparing 07:22:22 8f3197656da6: Preparing 07:22:22 bdc53abc7a03: Preparing 07:22:22 fe89960c9712: Preparing 07:22:22 2e02da243989: Preparing 07:22:22 651d9022c234: Preparing 07:22:22 651d9022c234: Waiting 07:22:22 b2305329a1ee: Layer already exists 07:22:22 8f3197656da6: Layer already exists 07:22:22 fe89960c9712: Layer already exists 07:22:22 bdc53abc7a03: Layer already exists 07:22:22 2e02da243989: Layer already exists 07:22:22 651d9022c234: Layer already exists 07:22:22 7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5: digest: sha256:e748b2f58aa2c272e25a84c17149fc0bf85733039066dca11ee517a2cbcd2ac4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 07:22:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:22:23 b2305329a1ee: Preparing 07:22:23 8f3197656da6: Preparing 07:22:23 bdc53abc7a03: Preparing 07:22:23 fe89960c9712: Preparing 07:22:23 2e02da243989: Preparing 07:22:23 651d9022c234: Preparing 07:22:23 651d9022c234: Waiting 07:22:23 b2305329a1ee: Layer already exists 07:22:23 bdc53abc7a03: Layer already exists 07:22:23 8f3197656da6: Layer already exists 07:22:23 2e02da243989: Layer already exists 07:22:23 fe89960c9712: Layer already exists 07:22:23 651d9022c234: Layer already exists 07:22:23 main: digest: sha256:e748b2f58aa2c272e25a84c17149fc0bf85733039066dca11ee517a2cbcd2ac4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:24 ===================================================== [Pipeline] echo 07:22:24 taggedImages: 07:22:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7bcf2a01f0ca0871350a0480051ec51dd105a569 07:22:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:22:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.5 07:22:24 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7bcf2a01f0ca0871350a0480051ec51dd105a569-4.0.0-dev.5 07:22:24 - 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 07:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:24 07:22:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:24 arm64: Pulling from edgex-lftools-log-publisher 07:22:24 8998bd30e6a1: Pulling fs layer 07:22:24 04944245beec: Pulling fs layer 07:22:24 699f458cf7ca: Pulling fs layer 07:22:24 765212b225bb: Pulling fs layer 07:22:24 f23df028b6ca: Pulling fs layer 07:22:24 d65c8cfc05b1: Pulling fs layer 07:22:24 2437ff75d9bd: Pulling fs layer 07:22:24 f23df028b6ca: Waiting 07:22:24 d65c8cfc05b1: Waiting 07:22:24 2437ff75d9bd: Waiting 07:22:24 765212b225bb: Waiting 07:22:25 04944245beec: Verifying Checksum 07:22:25 04944245beec: Download complete 07:22:25 765212b225bb: Verifying Checksum 07:22:25 765212b225bb: Download complete 07:22:25 f23df028b6ca: Verifying Checksum 07:22:25 f23df028b6ca: Download complete 07:22:25 d65c8cfc05b1: Verifying Checksum 07:22:25 d65c8cfc05b1: Download complete 07:22:25 699f458cf7ca: Verifying Checksum 07:22:25 699f458cf7ca: Download complete 07:22:25 8998bd30e6a1: Verifying Checksum 07:22:25 8998bd30e6a1: Download complete 07:22:28 2437ff75d9bd: Verifying Checksum 07:22:28 2437ff75d9bd: Download complete 07:22:30 8998bd30e6a1: Pull complete 07:22:30 04944245beec: Pull complete 07:22:32 699f458cf7ca: Pull complete 07:22:32 765212b225bb: Pull complete 07:22:33 f23df028b6ca: Pull complete 07:22:33 d65c8cfc05b1: Pull complete 07:22:48 2437ff75d9bd: Pull complete 07:22:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:48 prd-ubuntu20.04-docker-arm64-4c-16g-26427 does not seem to be running inside a container 07:22:48 $ 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/183 -v /w/workspace/device-mqtt-go/183:/w/workspace/device-mqtt-go/183:rw,z -v /w/workspace/device-mqtt-go/183@tmp:/w/workspace/device-mqtt-go/183@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 07:22:50 $ docker top 5c19098c5bd17e82ac42dea5b2d792fd1d91618bff900a1949ca352d28641f87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:51 ---> job-cost.sh 07:22:51 lf-activate-venv: SKIPPING 07:22:51 INFO: No Stack... 07:22:52 INFO: Retrieving Pricing Info for: v3-standard-4 07:22:52 INFO: Archiving Costs [Pipeline] sh 07:22:53 + cat /w/workspace/device-mqtt-go/183/archives/cost.csv 07:22:53 + cut -d, -f6 [Pipeline] lock 07:22:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] 07:22:53 Resource [jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] did not exist. Created. 07:22:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:54 /w/workspace/device-mqtt-go/183@tmp/durable-1bc8129e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:22:54 + echo total: 0.10999999940395355 [Pipeline] stash 07:22:54 Warning: overwriting stash ‘stack-cost’ 07:22:54 Stashed 1 file(s) [Pipeline] } 07:22:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:54 $ docker stop --time=1 5c19098c5bd17e82ac42dea5b2d792fd1d91618bff900a1949ca352d28641f87 07:22:56 $ docker rm -f --volumes 5c19098c5bd17e82ac42dea5b2d792fd1d91618bff900a1949ca352d28641f87 [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 07:22:56 provisioning config files... 07:22:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5494693442818093333tmp [Pipeline] { [Pipeline] sh 07:22:56 + set +x 07:22:56 + curl -s https://codecov.io/bash 07:22:56 + bash -s -- 07:22:57 07:22:57 _____ _ 07:22:57 / ____| | | 07:22:57 | | ___ __| | ___ ___ _____ __ 07:22:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:22:57 | |___| (_) | (_| | __/ (_| (_) \ V / 07:22:57 \_____\___/ \__,_|\___|\___\___/ \_/ 07:22:57 Bash-1.0.6 07:22:57 07:22:57 07:22:57 ==> git version 2.25.1 found 07:22:57 ==> 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 07:22:57 Release-Date: 2020-01-08 07:22:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:22:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:22:57 ==> Jenkins CI detected. 07:22:57 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 07:22:57 project root: . 07:22:57 --> token set from env 07:22:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:22:57 ==> Running gcov in . (disable via -X gcov) 07:22:57 ==> Python coveragepy not found 07:22:57 ==> Searching for coverage reports in: 07:22:57 + . 07:22:57 -> Found 1 reports 07:22:57 ==> Detecting git/mercurial file structure 07:22:57 ==> Reading reports 07:22:57 + ./coverage.out bytes=21039 07:22:57 ==> Appending adjustments 07:22:57 https://docs.codecov.io/docs/fixing-reports 07:22:57 + Found adjustments 07:22:57 ==> Gzipping contents 07:22:57 4.0K /tmp/codecov.olrH9A.gz 07:22:57 ==> Uploading reports 07:22:57 url: https://codecov.io 07:22:57 query: branch=main&commit=7bcf2a01f0ca0871350a0480051ec51dd105a569&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:22:57 -> Pinging Codecov 07:22:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=7bcf2a01f0ca0871350a0480051ec51dd105a569&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:22:57 -> Uploading to 07:22:57 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/7bcf2a01f0ca0871350a0480051ec51dd105a569/8cc501c6-698d-475b-badd-177066b170f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241114%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241114T072257Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=75e40f52cf2f797cf15a6da35a65fce48088bcd76f14b6bd91adc67b7a16a3cb 07:22:57 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:57 Dload Upload Total Spent Left Speed 07:22:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 15783 --:--:-- --:--:-- --:--:-- 15783 07:22:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] } 07:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:22:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:22:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:22:58 07:22:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:22:58 latest: Pulling from edgex-devops/edgex-snyk-go 07:22:58 43c4264eed91: Already exists 07:22:58 4cc291be95ef: Already exists 07:22:58 2ac1f1163629: Already exists 07:22:58 5c3c966382ef: Already exists 07:22:58 4f4fb700ef54: Already exists 07:22:58 d9c7d2e4e75e: Pulling fs layer 07:22:58 9c3e1370e548: Pulling fs layer 07:22:58 d9c7d2e4e75e: Verifying Checksum 07:22:58 d9c7d2e4e75e: Download complete 07:22:59 d9c7d2e4e75e: Pull complete 07:22:59 9c3e1370e548: Verifying Checksum 07:22:59 9c3e1370e548: Download complete 07:23:02 9c3e1370e548: Pull complete 07:23:02 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:23:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:02 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:23:02 $ 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:latest cat 07:23:04 $ docker top 20c31042f332a18f9f6172be5f342bdcbb100258a2b525dceaf4bba3cca9f008 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 07:23:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 07:23:05 + set -o pipefail 07:23:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 07:23:13 07:23:13 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 07:23:13 07:23:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/d68d69ba-d65a-4180-b79c-fa183d5fa075 07:23:13 07:23:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:23:13 07:23:13 07:23:13 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:23:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:23:13 $ docker stop --time=1 20c31042f332a18f9f6172be5f342bdcbb100258a2b525dceaf4bba3cca9f008 07:23:18 $ docker rm -f --volumes 20c31042f332a18f9f6172be5f342bdcbb100258a2b525dceaf4bba3cca9f008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:23:19 + git log --format=format:%s -1 7bcf2a01f0ca0871350a0480051ec51dd105a569 [Pipeline] sh 07:23:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:20 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:23:20 $ 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 07:23:20 $ docker top e2581b09455339325639c5ab2d8db3135e3e4b0478dc69437b01b22f8f040b31 -eo pid,comm 07:23:20 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). 07:23:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:20 [ssh-agent] Looking for ssh-agent implementation... 07:23:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:20 $ docker exec e2581b09455339325639c5ab2d8db3135e3e4b0478dc69437b01b22f8f040b31 ssh-agent 07:23:20 SSH_AUTH_SOCK=/tmp/ssh-1QkNbzrUvXk4/agent.32 07:23:20 SSH_AGENT_PID=38 07:23:20 Running ssh-add (command line suppressed) 07:23:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12945612797592511645.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12945612797592511645.key) 07:23:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:21 + git semver tag 07:23:21 2024-11-14 07:23:21,564 [run_tag] DEBUG tag force:False 07:23:21 2024-11-14 07:23:21,564 [check_head_tag] DEBUG check head tag 07:23:21 2024-11-14 07:23:21,565 [execute] INFO git cat-file --batch-check 07:23:21 2024-11-14 07:23:21,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:23:21 2024-11-14 07:23:21,569 [execute] INFO git cat-file --batch 07:23:21 2024-11-14 07:23:21,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:23:21 2024-11-14 07:23:21,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:21 2024-11-14 07:23:21,590 [execute] INFO git tag -a v4.0.0-dev.5 -m v4.0.0-dev.5 07:23:21 2024-11-14 07:23:21,590 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.5', '-m', 'v4.0.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:23:21 2024-11-14 07:23:21,594 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:21 4.0.0-dev.5 [Pipeline] } 07:23:21 $ docker exec --env ******** --env ******** e2581b09455339325639c5ab2d8db3135e3e4b0478dc69437b01b22f8f040b31 ssh-agent -k 07:23:21 unset SSH_AUTH_SOCK; 07:23:21 unset SSH_AGENT_PID; 07:23:21 echo Agent pid 38 killed; 07:23:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:22 + git semver [Pipeline] } 07:23:22 $ docker stop --time=1 e2581b09455339325639c5ab2d8db3135e3e4b0478dc69437b01b22f8f040b31 07:23:23 $ docker rm -f --volumes e2581b09455339325639c5ab2d8db3135e3e4b0478dc69437b01b22f8f040b31 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:24 07:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:24 0.23.1-centos7: Pulling from edgex-lftools 07:23:24 ab5ef0e58194: Pulling fs layer 07:23:24 9712f1f96733: Pulling fs layer 07:23:24 63f879dbbcfc: Pulling fs layer 07:23:24 0d9ebad4ef96: Pulling fs layer 07:23:24 e9a5061849ea: Pulling fs layer 07:23:24 d747dcd14b5f: Pulling fs layer 07:23:24 2de7ff778b66: Pulling fs layer 07:23:24 0d9ebad4ef96: Waiting 07:23:24 e9a5061849ea: Waiting 07:23:24 2de7ff778b66: Waiting 07:23:24 d747dcd14b5f: Waiting 07:23:24 9712f1f96733: Download complete 07:23:24 63f879dbbcfc: Verifying Checksum 07:23:24 63f879dbbcfc: Download complete 07:23:24 e9a5061849ea: Verifying Checksum 07:23:24 e9a5061849ea: Download complete 07:23:24 d747dcd14b5f: Download complete 07:23:24 0d9ebad4ef96: Verifying Checksum 07:23:24 0d9ebad4ef96: Download complete 07:23:24 2de7ff778b66: Download complete 07:23:24 ab5ef0e58194: Verifying Checksum 07:23:24 ab5ef0e58194: Download complete 07:23:28 ab5ef0e58194: Pull complete 07:23:28 9712f1f96733: Pull complete 07:23:28 63f879dbbcfc: Pull complete 07:23:32 0d9ebad4ef96: Pull complete 07:23:32 e9a5061849ea: Pull complete 07:23:32 d747dcd14b5f: Pull complete 07:23:34 2de7ff778b66: Pull complete 07:23:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:34 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:23:34 $ 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 07:23:39 $ docker top b61ea5879c569df20104f8d3c999bab1094b6b0be2affa02025ee75f9dfa633e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:23:39 provisioning config files... 07:23:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16552239744469894420tmp 07:23:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7613050261434828412tmp 07:23:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5126055373923948581tmp [Pipeline] { [Pipeline] echo 07:23:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:23:39 ---> sigul-configuration.sh 07:23:39 gpg: directory `/root/.gnupg' created 07:23:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:23:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:23:39 gpg: keyring `/root/.gnupg/secring.gpg' created 07:23:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:23:39 gpg: CAST5 encrypted data 07:23:39 gpg: encrypted with 1 passphrase 07:23:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:23:40 + mkdir /home/jenkins 07:23:40 + mkdir /home/jenkins/sigul [Pipeline] sh 07:23:40 + 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 07:23:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:23:40 ---> sigul-install.sh 07:23:40 Sigul already installed; skipping installation. [Pipeline] sh 07:23:40 + git tag --list 07:23:40 0.7.1 07:23:40 v1.0.0 07:23:40 v1.1.0 07:23:40 v1.1.1 07:23:40 v1.2.2 07:23:40 v1.3.0 07:23:40 v1.3.1 07:23:40 v2.0.0 07:23:40 v2.1.0 07:23:40 v2.1.1 07:23:40 v2.2.0 07:23:40 v2.3.0 07:23:40 v3.0 07:23:40 v3.0.0 07:23:40 v3.1 07:23:40 v3.1.0 07:23:40 v3.1.0-dev.1 07:23:40 v3.1.0-dev.10 07:23:40 v3.1.0-dev.11 07:23:40 v3.1.0-dev.12 07:23:40 v3.1.0-dev.13 07:23:40 v3.1.0-dev.14 07:23:40 v3.1.0-dev.15 07:23:40 v3.1.0-dev.16 07:23:40 v3.1.0-dev.17 07:23:40 v3.1.0-dev.18 07:23:40 v3.1.0-dev.19 07:23:40 v3.1.0-dev.2 07:23:40 v3.1.0-dev.20 07:23:40 v3.1.0-dev.21 07:23:40 v3.1.0-dev.22 07:23:40 v3.1.0-dev.23 07:23:40 v3.1.0-dev.24 07:23:40 v3.1.0-dev.25 07:23:40 v3.1.0-dev.3 07:23:40 v3.1.0-dev.4 07:23:40 v3.1.0-dev.5 07:23:40 v3.1.0-dev.6 07:23:40 v3.1.0-dev.7 07:23:40 v3.1.0-dev.8 07:23:40 v3.1.0-dev.9 07:23:40 v3.1.1 07:23:40 v3.2.0-dev.1 07:23:40 v3.2.0-dev.10 07:23:40 v3.2.0-dev.11 07:23:40 v3.2.0-dev.12 07:23:40 v3.2.0-dev.13 07:23:40 v3.2.0-dev.14 07:23:40 v3.2.0-dev.15 07:23:40 v3.2.0-dev.16 07:23:40 v3.2.0-dev.17 07:23:40 v3.2.0-dev.18 07:23:40 v3.2.0-dev.19 07:23:40 v3.2.0-dev.2 07:23:40 v3.2.0-dev.20 07:23:40 v3.2.0-dev.21 07:23:40 v3.2.0-dev.22 07:23:40 v3.2.0-dev.23 07:23:40 v3.2.0-dev.3 07:23:40 v3.2.0-dev.4 07:23:40 v3.2.0-dev.5 07:23:40 v3.2.0-dev.6 07:23:40 v3.2.0-dev.7 07:23:40 v3.2.0-dev.8 07:23:40 v3.2.0-dev.9 07:23:40 v4.0.0-dev.1 07:23:40 v4.0.0-dev.2 07:23:40 v4.0.0-dev.3 07:23:40 v4.0.0-dev.4 07:23:40 v4.0.0-dev.5 [Pipeline] sh 07:23:41 + lftools sign git-tag v4.0.0-dev.5 07:23:41 Signing Git tag with Sigul... 07:23:41 Signing v4.0.0-dev.5 [Pipeline] echo 07:23:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:23:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:23:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:23:42 $ docker stop --time=1 b61ea5879c569df20104f8d3c999bab1094b6b0be2affa02025ee75f9dfa633e 07:23:44 $ docker rm -f --volumes b61ea5879c569df20104f8d3c999bab1094b6b0be2affa02025ee75f9dfa633e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:23:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:44 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:23:44 $ 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 07:23:45 $ docker top e24f3fd9e75bac9aa12e301c9a709cb07b58eca772ede3b2eff7071ea027b7db -eo pid,comm 07:23:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:23:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:45 [ssh-agent] Looking for ssh-agent implementation... 07:23:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:45 $ docker exec e24f3fd9e75bac9aa12e301c9a709cb07b58eca772ede3b2eff7071ea027b7db ssh-agent 07:23:45 SSH_AUTH_SOCK=/tmp/ssh-q1TMmvorebmK/agent.31 07:23:45 SSH_AGENT_PID=37 07:23:45 Running ssh-add (command line suppressed) 07:23:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3424424633219621262.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3424424633219621262.key) 07:23:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:46 + git semver bump pre 07:23:46 2024-11-14 07:23:46,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:46 2024-11-14 07:23:46,251 [bump_version] DEBUG bumping version:4.0.0-dev.5 on axis:pre with prefix:dev 07:23:46 2024-11-14 07:23:46,251 [bump_version] DEBUG bumped version:4.0.0-dev.6 07:23:46 2024-11-14 07:23:46,252 [write_version] DEBUG write version:4.0.0-dev.6 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 07:23:46 2024-11-14 07:23:46,252 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:46 2024-11-14 07:23:46,252 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:46 2024-11-14 07:23:46,254 [execute] INFO git cat-file --batch-check 07:23:46 2024-11-14 07:23:46,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:23:46 2024-11-14 07:23:46,261 [execute] INFO git cat-file --batch 07:23:46 2024-11-14 07:23:46,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:23:46 2024-11-14 07:23:46,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:46 4.0.0-dev.6 [Pipeline] } 07:23:46 $ docker exec --env ******** --env ******** e24f3fd9e75bac9aa12e301c9a709cb07b58eca772ede3b2eff7071ea027b7db ssh-agent -k 07:23:46 unset SSH_AUTH_SOCK; 07:23:46 unset SSH_AGENT_PID; 07:23:46 echo Agent pid 37 killed; 07:23:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:46 + git semver [Pipeline] } 07:23:47 $ docker stop --time=1 e24f3fd9e75bac9aa12e301c9a709cb07b58eca772ede3b2eff7071ea027b7db 07:23:48 $ docker rm -f --volumes e24f3fd9e75bac9aa12e301c9a709cb07b58eca772ede3b2eff7071ea027b7db [Pipeline] // withDockerContainer [Pipeline] sh 07:23:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:49 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:23:49 $ 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 07:23:49 $ docker top e4a6f6e3dcb526e72faffb9c8f503f35bf856f2d6a72a7e74949bd4c699e6638 -eo pid,comm 07:23:49 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). 07:23:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:49 [ssh-agent] Looking for ssh-agent implementation... 07:23:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:49 $ docker exec e4a6f6e3dcb526e72faffb9c8f503f35bf856f2d6a72a7e74949bd4c699e6638 ssh-agent 07:23:49 SSH_AUTH_SOCK=/tmp/ssh-60dhWVBGdFRr/agent.31 07:23:49 SSH_AGENT_PID=37 07:23:49 Running ssh-add (command line suppressed) 07:23:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11893309951962548884.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11893309951962548884.key) 07:23:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:50 + git semver push 07:23:50 2024-11-14 07:23:50,385 [run_push] DEBUG push 07:23:50 2024-11-14 07:23:50,386 [execute] INFO git cat-file --batch-check 07:23:50 2024-11-14 07:23:50,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:23:50 2024-11-14 07:23:50,390 [execute] INFO git rev-list c056146450067f1121848de531467a8e34a65f1d -- 07:23:50 2024-11-14 07:23:50,390 [execute] DEBUG Popen(['git', 'rev-list', 'c056146450067f1121848de531467a8e34a65f1d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:23:50 2024-11-14 07:23:50,401 [execute] INFO git fetch -v origin 07:23:50 2024-11-14 07:23:50,401 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:23:51 2024-11-14 07:23:50,873 [run_push] DEBUG no remote changes detected 07:23:51 2024-11-14 07:23:50,874 [execute] INFO git push origin semver 07:23:51 2024-11-14 07:23:50,874 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:23:51 2024-11-14 07:23:51,544 [run_push] DEBUG push all version tags 07:23:51 2024-11-14 07:23:51,545 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:23:51 2024-11-14 07:23:51,545 [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) 07:23:52 2024-11-14 07:23:52,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:52 4.0.0-dev.6 [Pipeline] } 07:23:52 $ docker exec --env ******** --env ******** e4a6f6e3dcb526e72faffb9c8f503f35bf856f2d6a72a7e74949bd4c699e6638 ssh-agent -k 07:23:52 unset SSH_AUTH_SOCK; 07:23:52 unset SSH_AGENT_PID; 07:23:52 echo Agent pid 37 killed; 07:23:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:53 + git semver [Pipeline] } 07:23:53 $ docker stop --time=1 e4a6f6e3dcb526e72faffb9c8f503f35bf856f2d6a72a7e74949bd4c699e6638 07:23:54 $ docker rm -f --volumes e4a6f6e3dcb526e72faffb9c8f503f35bf856f2d6a72a7e74949bd4c699e6638 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:23:55 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:23:55 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:23:55 total 16 07:23:55 drwxr-xr-x 3 root root 4096 Nov 14 07:11 . 07:23:55 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 07:23 .. 07:23:55 drwxr-xr-x 2 root root 4096 Nov 14 07:11 cost 07:23:55 -rw-r--r-- 1 root root 86 Nov 14 07:11 cost.csv 07:23:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:23:55 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:23:55 total 16 07:23:55 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 07:11 . 07:23:55 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 07:23 .. 07:23:55 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 07:11 cost 07:23:55 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 07:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:23:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:23:56 ---> package-listing.sh 07:23:56 ++ facter osfamily 07:23:56 ++ tr '[:upper:]' '[:lower:]' 07:23:56 + OS_FAMILY=debian 07:23:56 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:23:56 + START_PACKAGES=/tmp/packages_start.txt 07:23:56 + END_PACKAGES=/tmp/packages_end.txt 07:23:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:23:56 + PACKAGES=/tmp/packages_start.txt 07:23:56 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:23:56 + PACKAGES=/tmp/packages_end.txt 07:23:56 + case "${OS_FAMILY}" in 07:23:56 + dpkg -l 07:23:56 + grep '^ii' 07:23:56 + '[' -f /tmp/packages_start.txt ']' 07:23:56 + '[' -f /tmp/packages_end.txt ']' 07:23:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:23:56 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:23:56 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:23:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 07:23:56 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 07:23:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:57 prd-ubuntu20.04-docker-8c-8g-26425 does not seem to be running inside a container 07:23:57 $ 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 07:23:57 $ docker top b438091f7f3c6f6b1e4614013523f9e2007dc71788fdc6363298c0ee963a53fc -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:58 + touch /tmp/pre-build-complete [Pipeline] sh 07:23:58 + mkdir -p /var/log/sysstat [Pipeline] sh 07:23:58 + ls /var/log/sa-host 07:23:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:59 provisioning config files... 07:23:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7688062009592379795tmp [Pipeline] { [Pipeline] echo 07:23:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:23:59 ---> create-netrc.sh [Pipeline] } 07:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:23:59 ---> python-tools-install.sh [Pipeline] echo 07:23:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:24:00 ---> sudo-logs.sh 07:24:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:24:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:24:00 ---> job-cost.sh 07:24:00 lf-activate-venv: SKIPPING 07:24:00 DEBUG: total: 0.2199999988079071 07:24:00 INFO: Retrieving Stack Cost... 07:24:00 INFO: Retrieving Pricing Info for: v3-standard-8 07:24:01 INFO: Archiving Costs [Pipeline] echo 07:24:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:24:01 ---> logs-deploy.sh 07:24:01 lf-activate-venv: SKIPPING 07:24:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/183 07:24:01 INFO: archiving workspace using pattern(s): 07:24:02 Archives upload complete. 07:24:02 INFO: archiving logs to Nexus