Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9248015ec63f16b77f424838ee7cf1dbf126cff5 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-ssh6841628953708491765.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-ssh4314319098781468684.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-ssh13773516162764133846.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-ssh6296617252461141581.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-ssh6252359978360099527.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 ‘prd-ubuntu20.04-docker-8c-8g-22521’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22524’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-22520’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22526 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 9248015ec63f16b77f424838ee7cf1dbf126cff5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9248015ec63f16b77f424838ee7cf1dbf126cff5 # timeout=10 Commit message: "Merge pull request #700 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" > git rev-list --no-walk 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:02:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:02:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:02:45 ========================================================= 10:02:45 EdgeX Global Pipelines Version Info 10:02:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:02:46 ------------------- 10:02:46 stable info: 10:02:46 ------------------- 10:02:46 Commited By: Ginny Guan ginny@iotechsys.com 10:02:46 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 10:02:46 Message: update stable to v1.0.265 10:02:46 ------------------- 10:02:46 experimental info: 10:02:46 ------------------- 10:02:46 Commited By: Cherry Wang cherry@iotechsys.com 10:02:46 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:02:46 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:02:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9248015 [Pipeline] echo 10:02:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:47 provisioning config files... 10:02:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7195151250113569849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:47 ---> ****-login.sh 10:02:47 nexus3.edgexfoundry.org:10001 10:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:48 Configure a credential helper to remove this warning. See 10:02:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:48 10:02:48 Login Succeeded 10:02:48 nexus3.edgexfoundry.org:10002 10:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:48 Configure a credential helper to remove this warning. See 10:02:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:48 10:02:48 Login Succeeded 10:02:48 nexus3.edgexfoundry.org:10003 10:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:48 Configure a credential helper to remove this warning. See 10:02:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:48 10:02:48 Login Succeeded 10:02:48 nexus3.edgexfoundry.org:10004 10:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:48 Configure a credential helper to remove this warning. See 10:02:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:48 10:02:48 Login Succeeded 10:02:48 ****.io 10:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:48 Configure a credential helper to remove this warning. See 10:02:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:48 10:02:48 Login Succeeded 10:02:48 ---> ****-login.sh ends [Pipeline] } 10:02:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:02:49 + git rev-list -1 --merges 9248015ec63f16b77f424838ee7cf1dbf126cff5~1..9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] echo 10:02:49 -----------> git rev-list -1 --merges 9248015ec63f16b77f424838ee7cf1dbf126cff5~1..9248015ec63f16b77f424838ee7cf1dbf126cff5 9248015ec63f16b77f424838ee7cf1dbf126cff5 10:02:49 9248015ec63f16b77f424838ee7cf1dbf126cff5 [false] [Pipeline] sh 10:02:49 + git log --format=format:%s -1 9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] echo 10:02:49 ========================================================= 10:02:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:02:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:02:50 + git log --format=format:%s -1 9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] echo 10:02:50 [semverPrep] GIT_COMMIT: 9248015ec63f16b77f424838ee7cf1dbf126cff5, Commit Message: Merge pull request #700 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45 [Pipeline] echo 10:02:50 [semverPrep] This is not a build commit. [Pipeline] sh 10:02:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:50 + grep -v github /etc/ssh/ssh_known_hosts 10:02:50 + [ -e /tmp/ssh_known_hosts ] 10:02:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:02:50 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:02:50 sudo tee -a /etc/ssh/ssh_known_hosts 10:02:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:50 10:02:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:51 0.1.4: Pulling from edgex-devops/py-git-semver 10:02:51 b85a868b505f: Pulling fs layer 10:02:51 e2be974225ed: Pulling fs layer 10:02:51 339a4e72a1f5: Pulling fs layer 10:02:51 988bab9f4d93: Pulling fs layer 10:02:51 1469e6f7b9e6: Pulling fs layer 10:02:51 eaf3925da568: Pulling fs layer 10:02:51 bab4dde63d76: Pulling fs layer 10:02:51 bde34c3a00c8: Pulling fs layer 10:02:51 b352a97aabf1: Pulling fs layer 10:02:51 4872d77fe225: Pulling fs layer 10:02:51 5851b861e8e6: Pulling fs layer 10:02:51 eaf3925da568: Waiting 10:02:51 1469e6f7b9e6: Waiting 10:02:51 988bab9f4d93: Waiting 10:02:51 bab4dde63d76: Waiting 10:02:51 4872d77fe225: Waiting 10:02:51 5851b861e8e6: Waiting 10:02:51 bde34c3a00c8: Waiting 10:02:51 b352a97aabf1: Waiting 10:02:51 e2be974225ed: Verifying Checksum 10:02:51 e2be974225ed: Download complete 10:02:51 988bab9f4d93: Verifying Checksum 10:02:51 988bab9f4d93: Download complete 10:02:51 1469e6f7b9e6: Verifying Checksum 10:02:51 1469e6f7b9e6: Download complete 10:02:51 339a4e72a1f5: Verifying Checksum 10:02:51 339a4e72a1f5: Download complete 10:02:51 eaf3925da568: Download complete 10:02:51 bde34c3a00c8: Verifying Checksum 10:02:51 bde34c3a00c8: Download complete 10:02:51 b352a97aabf1: Verifying Checksum 10:02:51 b352a97aabf1: Download complete 10:02:51 4872d77fe225: Verifying Checksum 10:02:51 5851b861e8e6: Verifying Checksum 10:02:51 5851b861e8e6: Download complete 10:02:51 b85a868b505f: Verifying Checksum 10:02:51 b85a868b505f: Download complete 10:02:51 bab4dde63d76: Verifying Checksum 10:02:52 b85a868b505f: Pull complete 10:02:52 e2be974225ed: Pull complete 10:02:53 339a4e72a1f5: Pull complete 10:02:53 988bab9f4d93: Pull complete 10:02:53 1469e6f7b9e6: Pull complete 10:02:53 eaf3925da568: Pull complete 10:02:55 bab4dde63d76: Pull complete 10:02:55 bde34c3a00c8: Pull complete 10:02:55 b352a97aabf1: Pull complete 10:02:55 4872d77fe225: Pull complete 10:02:55 5851b861e8e6: Pull complete 10:02:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:55 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:02:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:02:58 $ docker top 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 -eo pid,comm 10:02:58 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). 10:02:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:58 [ssh-agent] Looking for ssh-agent implementation... 10:02:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:58 $ docker exec 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 ssh-agent 10:02:58 SSH_AUTH_SOCK=/tmp/ssh-rOMIXBsaL90T/agent.32 10:02:58 SSH_AGENT_PID=38 10:02:58 Running ssh-add (command line suppressed) 10:02:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15877359289254517787.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15877359289254517787.key) 10:02:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:59 + git tag --points-at HEAD [Pipeline] } 10:02:59 $ docker exec --env ******** --env ******** 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 ssh-agent -k 10:02:59 unset SSH_AUTH_SOCK; 10:02:59 unset SSH_AGENT_PID; 10:02:59 echo Agent pid 38 killed; 10:02:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:02:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:59 [ssh-agent] Looking for ssh-agent implementation... 10:02:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:59 $ docker exec 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 ssh-agent 10:02:59 SSH_AUTH_SOCK=/tmp/ssh-lf4YVue9Ou8x/agent.71 10:02:59 SSH_AGENT_PID=77 10:02:59 Running ssh-add (command line suppressed) 10:02:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15017447190304286310.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15017447190304286310.key) 10:02:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:59 + git semver init 10:03:00 2024-10-11 10:03:00,208 [run_init] DEBUG init version:0.0.0 force:False 10:03:00 2024-10-11 10:03:00,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:03:00 2024-10-11 10:03:00,210 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:03:00 2024-10-11 10:03:00,210 [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) 10:03:01 2024-10-11 10:03:01,804 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 10:03:01 2024-10-11 10:03:01,804 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 10:03:01 2024-10-11 10:03:01,804 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:03:01 2024-10-11 10:03:01,804 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:03:01 3.2.0-dev.21 [Pipeline] } 10:03:01 $ docker exec --env ******** --env ******** 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 ssh-agent -k 10:03:01 unset SSH_AUTH_SOCK; 10:03:01 unset SSH_AGENT_PID; 10:03:01 echo Agent pid 77 killed; 10:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:03:02 + git semver [Pipeline] } 10:03:02 $ docker stop --time=1 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 10:03:04 $ docker rm -f --volumes 1c6c4c7b2b4788f1b8bcbff6352bed3b4564464c8477612b407e7b69f2928939 [Pipeline] // withDockerContainer [Pipeline] sh 10:03:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:03:04 Stashed 1 file(s) [Pipeline] echo 10:03:04 [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [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 10:03:05 provisioning config files... 10:03:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6051451154943402328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:05 ---> ****-login.sh 10:03:05 nexus3.edgexfoundry.org:10001 10:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:03:05 Configure a credential helper to remove this warning. See 10:03:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:03:05 10:03:05 Login Succeeded 10:03:05 nexus3.edgexfoundry.org:10002 10:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:03:05 Configure a credential helper to remove this warning. See 10:03:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:03:05 10:03:05 Login Succeeded 10:03:05 nexus3.edgexfoundry.org:10003 10:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:03:05 Configure a credential helper to remove this warning. See 10:03:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:03:05 10:03:05 Login Succeeded 10:03:05 nexus3.edgexfoundry.org:10004 10:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:03:05 Configure a credential helper to remove this warning. See 10:03:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:03:05 10:03:05 Login Succeeded 10:03:05 ****.io 10:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:03:05 Configure a credential helper to remove this warning. See 10:03:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:03:05 10:03:05 Login Succeeded 10:03:05 ---> ****-login.sh ends [Pipeline] } 10:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:03:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:03:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:03:06 ========================================================= 10:03:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:03:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:06 + 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 . 10:03:06 Sending build context to Docker daemon 20.88MB 10:03:06 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:03:06 Step 2/12 : FROM ${BASE} AS builder 10:03:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:03:06 43c4264eed91: Pulling fs layer 10:03:06 4cc291be95ef: Pulling fs layer 10:03:06 2ac1f1163629: Pulling fs layer 10:03:06 5c3c966382ef: Pulling fs layer 10:03:06 4f4fb700ef54: Pulling fs layer 10:03:06 5d5c8e513c77: Pulling fs layer 10:03:06 9f66e0745190: Pulling fs layer 10:03:06 f49a43e4bbc0: Pulling fs layer 10:03:06 561ebcabdf7f: Pulling fs layer 10:03:06 f49a43e4bbc0: Waiting 10:03:06 9f66e0745190: Waiting 10:03:06 561ebcabdf7f: Waiting 10:03:06 4f4fb700ef54: Waiting 10:03:06 5c3c966382ef: Waiting 10:03:06 5d5c8e513c77: Waiting 10:03:06 4cc291be95ef: Verifying Checksum 10:03:06 4cc291be95ef: Download complete 10:03:06 5c3c966382ef: Verifying Checksum 10:03:06 5c3c966382ef: Download complete 10:03:06 4f4fb700ef54: Verifying Checksum 10:03:06 4f4fb700ef54: Download complete 10:03:06 5d5c8e513c77: Verifying Checksum 10:03:06 5d5c8e513c77: Download complete 10:03:06 43c4264eed91: Download complete 10:03:06 9f66e0745190: Verifying Checksum 10:03:06 9f66e0745190: Download complete 10:03:06 561ebcabdf7f: Verifying Checksum 10:03:06 561ebcabdf7f: Download complete 10:03:06 43c4264eed91: Pull complete 10:03:07 2ac1f1163629: Verifying Checksum 10:03:07 2ac1f1163629: Download complete 10:03:07 4cc291be95ef: Pull complete 10:03:07 f49a43e4bbc0: Verifying Checksum 10:03:07 f49a43e4bbc0: Download complete 10:03:11 2ac1f1163629: Pull complete 10:03:11 5c3c966382ef: Pull complete 10:03:11 4f4fb700ef54: Pull complete 10:03:11 5d5c8e513c77: Pull complete 10:03:11 9f66e0745190: Pull complete 10:03:13 f49a43e4bbc0: Pull complete 10:03:13 561ebcabdf7f: Pull complete 10:03:13 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 10:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:03:13 ---> 3a752c3f9dda 10:03:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:03:17 ---> Running in 309b7947ee35 10:03:17 Removing intermediate container 309b7947ee35 10:03:17 ---> 8f33afb549a9 10:03:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:03:17 ---> Running in bf648efc57a3 10:03:17 Removing intermediate container bf648efc57a3 10:03:17 ---> 7c39a9032e05 10:03:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:03:17 ---> Running in a2a4d7750689 10:03:18 Removing intermediate container a2a4d7750689 10:03:18 ---> cfa686bfdfe8 10:03:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:03:18 ---> Running in 64ff9e1bc0d4 10:03:18 Removing intermediate container 64ff9e1bc0d4 10:03:18 ---> 69df0b8e43db 10:03:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:03:18 ---> Running in b0161719c135 10:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:03:18 (1/4) Installing openssh-keygen (9.7_p1-r4) 10:03:18 (2/4) Installing libedit (20240517.3.1-r0) 10:03:18 (3/4) Installing openssh-client-common (9.7_p1-r4) 10:03:18 (4/4) Installing openssh-client-default (9.7_p1-r4) 10:03:18 Executing busybox-1.36.1-r29.trigger 10:03:18 OK: 250 MiB in 58 packages 10:03:19 Removing intermediate container b0161719c135 10:03:19 ---> e24b662ca602 10:03:19 Step 8/12 : WORKDIR /device-mqtt-go 10:03:19 ---> Running in aac4451ea06e 10:03:19 Removing intermediate container aac4451ea06e 10:03:19 ---> 15eb8e942c38 10:03:19 Step 9/12 : COPY go.mod vendor* ./ 10:03:20 ---> a8f89288cfc4 10:03:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:20 ---> Running in d2ec220e8f1e 10:03:20 Still waiting to schedule task 10:03:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22523’ 10:04:18 Removing intermediate container d2ec220e8f1e 10:04:18 ---> 3bd3672afe90 10:04:18 Step 11/12 : COPY . . 10:04:18 ---> 6baf7d062b01 10:04:18 Step 12/12 : RUN $MAKE 10:04:18 ---> Running in 0833ff6850a5 10:04:18 noop 10:04:18 Removing intermediate container 0833ff6850a5 10:04:18 ---> cd177cb4e2bd 10:04:18 Successfully built cd177cb4e2bd 10:04:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:19 + docker inspect -f . ci-base-image-x86_64 10:04:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:19 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:04:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:04:19 $ docker top 2483e18ffbe7c55e502a3f7b6896451e889b6fd3a5104859afe671565f652e17 -eo pid,comm [Pipeline] { [Pipeline] sh 10:04:20 + go version 10:04:20 go version go1.23.2 linux/amd64 [Pipeline] } 10:04:20 $ docker stop --time=1 2483e18ffbe7c55e502a3f7b6896451e889b6fd3a5104859afe671565f652e17 10:04:21 $ docker rm -f --volumes 2483e18ffbe7c55e502a3f7b6896451e889b6fd3a5104859afe671565f652e17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:21 + docker inspect -f . ci-base-image-x86_64 10:04:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:21 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:04:22 $ docker top d7e709113ef4d2bbbaeff8b4ce3f55bea65366d76365fe1e3867d1e966b04550 -eo pid,comm [Pipeline] { [Pipeline] sh 10:04:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 10:04:22 + make test 10:04:22 go test ./... -coverprofile=coverage.out ./... 10:04:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:04:42 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 10:04:42 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 10:04:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 10:04:55 go vet ./... 10:05:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:05:01 ./bin/test-attribution-txt.sh [Pipeline] echo 10:05:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:05:01 $ docker stop --time=1 d7e709113ef4d2bbbaeff8b4ce3f55bea65366d76365fe1e3867d1e966b04550 10:05:06 $ docker rm -f --volumes d7e709113ef4d2bbbaeff8b4ce3f55bea65366d76365fe1e3867d1e966b04550 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:07 + ls -al . 10:05:07 total 264 10:05:07 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 10:04 . 10:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:02 .. 10:05:07 -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 10:02 .dockerignore 10:05:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:04 .git 10:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:02 .github 10:05:07 -rw-rw-r-- 1 jenkins jenkins 264 Oct 11 10:02 .gitignore 10:05:07 -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 10:02 .golangci.yml 10:05:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 10:03 .semver 10:05:07 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 11 10:02 Attribution.txt 10:05:07 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 11 10:02 CHANGELOG.md 10:05:07 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 11 10:02 Dockerfile 10:05:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 10:02 GOVERNANCE.md 10:05:07 -rw-rw-r-- 1 jenkins jenkins 657 Oct 11 10:02 Jenkinsfile 10:05:07 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 10:02 LICENSE 10:05:07 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 11 10:02 Makefile 10:05:07 -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 10:02 OWNERS.md 10:05:07 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 11 10:02 README.md 10:05:07 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 10:03 VERSION 10:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:02 bin 10:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:02 cmd 10:05:07 -rw-r--r-- 1 jenkins jenkins 21039 Oct 11 10:04 coverage.out 10:05:07 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 11 10:02 go.mod 10:05:07 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 11 10:02 go.sum 10:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:02 internal 10:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:02 mock 10:05:07 -rw-rw-r-- 1 jenkins jenkins 227 Oct 11 10:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05: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=9248015ec63f16b77f424838ee7cf1dbf126cff5 --label arch=amd64 --label version=3.2.0-dev.21 . 10:05:07 Sending build context to Docker daemon 20.9MB 10:05:07 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 10:05:07 Step 2/25 : FROM ${BASE} AS builder 10:05:07 ---> cd177cb4e2bd 10:05:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:05:08 ---> Running in f339f204563b 10:05:08 Removing intermediate container f339f204563b 10:05:08 ---> 9442b3bad463 10:05:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:08 ---> Running in 34cd39b7ec5e 10:05:08 Removing intermediate container 34cd39b7ec5e 10:05:08 ---> aa9533599301 10:05:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:05:08 ---> Running in 70e208298e82 10:05:08 Removing intermediate container 70e208298e82 10:05:08 ---> 4dcc92a7078f 10:05:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:05:08 ---> Running in c1dc13b661c6 10:05:08 Removing intermediate container c1dc13b661c6 10:05:08 ---> 4443cac9161e 10:05:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:08 ---> Running in 35e34f612bad 10:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:08 OK: 250 MiB in 58 packages 10:05:09 Removing intermediate container 35e34f612bad 10:05:09 ---> b26ab4c96304 10:05:09 Step 8/25 : WORKDIR /device-mqtt-go 10:05:09 ---> Running in e86eb51f0c50 10:05:09 Removing intermediate container e86eb51f0c50 10:05:09 ---> f4255b21478f 10:05:09 Step 9/25 : COPY go.mod vendor* ./ 10:05:09 ---> f68e1aeb415c 10:05:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:09 ---> Running in 71a20083cc9b 10:05:10 Removing intermediate container 71a20083cc9b 10:05:10 ---> 15bdab3ed7e6 10:05:10 Step 11/25 : COPY . . 10:05:10 ---> d01c20f2dfa5 10:05:10 Step 12/25 : RUN $MAKE 10:05:10 ---> Running in a852b37f6619 10:05:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 10:05:49 Removing intermediate container a852b37f6619 10:05:49 ---> aece17112ec6 10:05:49 Step 13/25 : FROM alpine:3.20 10:05:49 3.20: Pulling from library/alpine 10:05:49 43c4264eed91: Already exists 10:05:49 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:05:49 Status: Downloaded newer image for alpine:3.20 10:05:49 ---> 91ef0af61f39 10:05:49 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 10:05:49 ---> Running in 2c55fdf4054a 10:05:49 Removing intermediate container 2c55fdf4054a 10:05:49 ---> 280a14ec969e 10:05:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 10:05:49 ---> Running in 5ca6aa4358a6 10:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:49 (1/1) Installing dumb-init (1.2.5-r3) 10:05:49 Executing busybox-1.36.1-r29.trigger 10:05:49 OK: 8 MiB in 15 packages 10:05:49 Removing intermediate container 5ca6aa4358a6 10:05:49 ---> 38c04d15ecc9 10:05:49 Step 16/25 : RUN apk --no-cache upgrade 10:05:49 ---> Running in 00ccad505f3c 10:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:49 Upgrading critical system libraries and apk-tools: 10:05:49 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:05:49 Executing busybox-1.36.1-r29.trigger 10:05:49 Continuing the upgrade transaction with new apk-tools: 10:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:50 OK: 8 MiB in 15 packages 10:05:50 Removing intermediate container 00ccad505f3c 10:05:50 ---> 45449bde9d9a 10:05:50 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 10:05:52 ---> 5af147aa7eed 10:05:52 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 10:05:52 ---> ba70e50d7bfb 10:05:52 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:05:52 ---> cbd4f3ca62ae 10:05:52 Step 20/25 : EXPOSE 59982 10:05:52 ---> Running in eb69a48fcf2f 10:05:52 Removing intermediate container eb69a48fcf2f 10:05:52 ---> 9cb8b23bf026 10:05:52 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 10:05:52 ---> Running in 14e3900901ce 10:05:52 Removing intermediate container 14e3900901ce 10:05:52 ---> 33e32ef96d91 10:05:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:05:52 ---> Running in 87442019ac2c 10:05:52 Removing intermediate container 87442019ac2c 10:05:52 ---> 9e0418ff0a75 10:05:52 Step 23/25 : LABEL arch=amd64 10:05:52 ---> Running in afd41a064f3e 10:05:52 Removing intermediate container afd41a064f3e 10:05:52 ---> efb829fa1071 10:05:52 Step 24/25 : LABEL git_sha=9248015ec63f16b77f424838ee7cf1dbf126cff5 10:05:52 ---> Running in e4cba0a81c85 10:05:52 Removing intermediate container e4cba0a81c85 10:05:52 ---> a13ef53f42dc 10:05:52 Step 25/25 : LABEL version=3.2.0-dev.21 10:05:52 ---> Running in 3e4d6c0aa716 10:05:52 Removing intermediate container 3e4d6c0aa716 10:05:52 ---> fe49cab8b31a 10:05:52 [Warning] One or more build-args [ARCH] were not consumed 10:05:52 Successfully built fe49cab8b31a 10:05:52 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:52 provisioning config files... 10:05:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11505795869168281359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:53 ---> ****-login.sh 10:05:53 nexus3.edgexfoundry.org:10001 10:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:53 Configure a credential helper to remove this warning. See 10:05:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:53 10:05:53 Login Succeeded 10:05:53 nexus3.edgexfoundry.org:10002 10:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:53 Configure a credential helper to remove this warning. See 10:05:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:53 10:05:53 Login Succeeded 10:05:53 nexus3.edgexfoundry.org:10003 10:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:53 Configure a credential helper to remove this warning. See 10:05:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:53 10:05:53 Login Succeeded 10:05:53 nexus3.edgexfoundry.org:10004 10:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:53 Configure a credential helper to remove this warning. See 10:05:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:53 10:05:53 Login Succeeded 10:05:53 ****.io 10:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:53 Configure a credential helper to remove this warning. See 10:05:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:53 10:05:53 Login Succeeded 10:05:53 ---> ****-login.sh ends [Pipeline] } 10:05:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:53 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 10:05:53 9248015ec63f16b77f424838ee7cf1dbf126cff5 10:05:53 latest 10:05:53 3.2.0-dev.21 10:05:53 9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 10:05:53 main 10:05:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9248015ec63f16b77f424838ee7cf1dbf126cff5 10:05:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:05:54 fff39991f1e6: Preparing 10:05:54 49041f5c7a13: Preparing 10:05:54 2acc3af5f81c: Preparing 10:05:54 ff7c51a508aa: Preparing 10:05:54 c58670572596: Preparing 10:05:54 63ca1fbb43ae: Preparing 10:05:54 63ca1fbb43ae: Waiting 10:05:54 c58670572596: Pushed 10:05:54 ff7c51a508aa: Pushed 10:05:54 63ca1fbb43ae: Layer already exists 10:05:54 49041f5c7a13: Pushed 10:05:54 fff39991f1e6: Pushed 10:05:58 2acc3af5f81c: Pushed 10:05:58 9248015ec63f16b77f424838ee7cf1dbf126cff5: digest: sha256:dcb6bbe1e265aac52331b35ca60c0af7f4917fa77aa591acf13a83618c02f0b4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:05:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:05:59 fff39991f1e6: Preparing 10:05:59 49041f5c7a13: Preparing 10:05:59 2acc3af5f81c: Preparing 10:05:59 ff7c51a508aa: Preparing 10:05:59 c58670572596: Preparing 10:05:59 63ca1fbb43ae: Preparing 10:05:59 63ca1fbb43ae: Waiting 10:05:59 ff7c51a508aa: Layer already exists 10:05:59 fff39991f1e6: Layer already exists 10:05:59 c58670572596: Layer already exists 10:05:59 2acc3af5f81c: Layer already exists 10:05:59 49041f5c7a13: Layer already exists 10:05:59 63ca1fbb43ae: Layer already exists 10:05:59 latest: digest: sha256:dcb6bbe1e265aac52331b35ca60c0af7f4917fa77aa591acf13a83618c02f0b4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.21 10:06:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:06:00 fff39991f1e6: Preparing 10:06:00 49041f5c7a13: Preparing 10:06:00 2acc3af5f81c: Preparing 10:06:00 ff7c51a508aa: Preparing 10:06:00 c58670572596: Preparing 10:06:00 63ca1fbb43ae: Preparing 10:06:00 63ca1fbb43ae: Waiting 10:06:00 2acc3af5f81c: Layer already exists 10:06:00 49041f5c7a13: Layer already exists 10:06:00 fff39991f1e6: Layer already exists 10:06:00 ff7c51a508aa: Layer already exists 10:06:00 c58670572596: Layer already exists 10:06:00 63ca1fbb43ae: Layer already exists 10:06:00 3.2.0-dev.21: digest: sha256:dcb6bbe1e265aac52331b35ca60c0af7f4917fa77aa591acf13a83618c02f0b4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 10:06:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:06:00 fff39991f1e6: Preparing 10:06:00 49041f5c7a13: Preparing 10:06:00 2acc3af5f81c: Preparing 10:06:00 ff7c51a508aa: Preparing 10:06:00 c58670572596: Preparing 10:06:00 63ca1fbb43ae: Preparing 10:06:00 63ca1fbb43ae: Waiting 10:06:00 fff39991f1e6: Layer already exists 10:06:00 49041f5c7a13: Layer already exists 10:06:00 ff7c51a508aa: Layer already exists 10:06:00 2acc3af5f81c: Layer already exists 10:06:00 c58670572596: Layer already exists 10:06:00 63ca1fbb43ae: Layer already exists 10:06:00 9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21: digest: sha256:dcb6bbe1e265aac52331b35ca60c0af7f4917fa77aa591acf13a83618c02f0b4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 10:06:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:06:01 fff39991f1e6: Preparing 10:06:01 49041f5c7a13: Preparing 10:06:01 2acc3af5f81c: Preparing 10:06:01 ff7c51a508aa: Preparing 10:06:01 c58670572596: Preparing 10:06:01 63ca1fbb43ae: Preparing 10:06:01 63ca1fbb43ae: Waiting 10:06:01 2acc3af5f81c: Layer already exists 10:06:01 fff39991f1e6: Layer already exists 10:06:01 49041f5c7a13: Layer already exists 10:06:01 ff7c51a508aa: Layer already exists 10:06:01 c58670572596: Layer already exists 10:06:01 63ca1fbb43ae: Layer already exists 10:06:01 main: digest: sha256:dcb6bbe1e265aac52331b35ca60c0af7f4917fa77aa591acf13a83618c02f0b4 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:06:01 ===================================================== [Pipeline] echo 10:06:01 taggedImages: 10:06:01 - nexus3.edgexfoundry.org:10004/device-mqtt:9248015ec63f16b77f424838ee7cf1dbf126cff5 10:06:01 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:06:01 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.21 10:06:01 - nexus3.edgexfoundry.org:10004/device-mqtt:9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 10:06:01 - 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 10:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:01 10:06:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:02 latest: Pulling from edgex-lftools-log-publisher 10:06:02 5eb5b503b376: Pulling fs layer 10:06:02 5c69ac0246d0: Pulling fs layer 10:06:02 ec43610c2a17: Pulling fs layer 10:06:02 3a2ae6a8a46f: Pulling fs layer 10:06:02 33b1e0a273af: Pulling fs layer 10:06:02 5d3b04190fa2: Pulling fs layer 10:06:02 2f39f015ded8: Pulling fs layer 10:06:02 3a2ae6a8a46f: Waiting 10:06:02 2f39f015ded8: Waiting 10:06:02 5d3b04190fa2: Waiting 10:06:02 5c69ac0246d0: Verifying Checksum 10:06:02 5c69ac0246d0: Download complete 10:06:02 3a2ae6a8a46f: Verifying Checksum 10:06:02 3a2ae6a8a46f: Download complete 10:06:02 33b1e0a273af: Verifying Checksum 10:06:02 33b1e0a273af: Download complete 10:06:02 5d3b04190fa2: Verifying Checksum 10:06:02 5d3b04190fa2: Download complete 10:06:02 ec43610c2a17: Download complete 10:06:02 5eb5b503b376: Verifying Checksum 10:06:02 5eb5b503b376: Download complete 10:06:02 2f39f015ded8: Download complete 10:06:03 5eb5b503b376: Pull complete 10:06:04 5c69ac0246d0: Pull complete 10:06:04 ec43610c2a17: Pull complete 10:06:04 3a2ae6a8a46f: Pull complete 10:06:05 33b1e0a273af: Pull complete 10:06:05 5d3b04190fa2: Pull complete 10:06:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22531 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 10:06:06 Running in /w/workspace/device-mqtt-go/176 [Pipeline] { [Pipeline] checkout 10:06:09 The recommended git tool is: git 10:06:09 2f39f015ded8: Pull complete 10:06:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:09 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:06:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:06:13 $ docker top 1ce5e615a02be3b323dfe2bc1afd190ece6eb2c6ab0a2278ef2f285972e64c66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:13 ---> job-cost.sh 10:06:13 lf-activate-venv: SKIPPING 10:06:13 INFO: No Stack... 10:06:14 INFO: Retrieving Pricing Info for: v3-standard-8 10:06:14 INFO: Archiving Costs [Pipeline] sh 10:06:14 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 10:06:14 + cut -d, -f6 [Pipeline] lock 10:06:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] 10:06:14 Resource [jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] did not exist. Created. 10:06:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:06:14 + echo total: 0.2199999988079071 [Pipeline] stash 10:06:15 Stashed 1 file(s) [Pipeline] } 10:06:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 10:06:15 $ docker stop --time=1 1ce5e615a02be3b323dfe2bc1afd190ece6eb2c6ab0a2278ef2f285972e64c66 10:06:15 using credential edgex-jenkins-ssh 10:06:15 Cloning the remote Git repository 10:06:16 $ docker rm -f --volumes 1ce5e615a02be3b323dfe2bc1afd190ece6eb2c6ab0a2278ef2f285972e64c66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:06:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:06:15 > git init /w/workspace/device-mqtt-go/176 # timeout=10 10:06:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:06:15 > git --version # timeout=10 10:06:15 > git --version # 'git version 2.25.1' 10:06:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:06:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:06:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:06:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:06:20 Avoid second fetch 10:06:20 Checking out Revision 9248015ec63f16b77f424838ee7cf1dbf126cff5 (main) 10:06:20 > git config core.sparsecheckout # timeout=10 10:06:20 > git checkout -f 9248015ec63f16b77f424838ee7cf1dbf126cff5 # timeout=10 10:06:21 Commit message: "Merge pull request #700 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:06:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:06:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:06:26 Dload Upload Total Spent Left Speed 10:06:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 10:06:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:06:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:06:26 + sudo tee /etc/docker/daemon.new 10:06:26 { 10:06:26 "registry-mirrors": [ 10:06:26 "https://nexus3.edgexfoundry.org:10001" 10:06:26 ], 10:06:26 "bip": "10.250.0.254/24", 10:06:26 "hosts": [ 10:06:26 "tcp://0.0.0.0:5555", 10:06:26 "unix:///var/run/docker.sock" 10:06:26 ], 10:06:26 "mtu": 1458, 10:06:26 "selinux-enabled": true, 10:06:26 "seccomp-profile": "/etc/docker/seccomp.json" 10:06:26 } [Pipeline] sh 10:06:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:06:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:45 provisioning config files... 10:06:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/176@tmp/config10127033504109530247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:46 ---> ****-login.sh 10:06:46 nexus3.edgexfoundry.org:10001 10:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:47 Configure a credential helper to remove this warning. See 10:06:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:47 10:06:47 Login Succeeded 10:06:47 nexus3.edgexfoundry.org:10002 10:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:47 Configure a credential helper to remove this warning. See 10:06:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:47 10:06:47 Login Succeeded 10:06:47 nexus3.edgexfoundry.org:10003 10:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:48 Configure a credential helper to remove this warning. See 10:06:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:48 10:06:48 Login Succeeded 10:06:48 nexus3.edgexfoundry.org:10004 10:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:48 Configure a credential helper to remove this warning. See 10:06:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:48 10:06:48 Login Succeeded 10:06:48 ****.io 10:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:48 Configure a credential helper to remove this warning. See 10:06:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:48 10:06:48 Login Succeeded 10:06:48 ---> ****-login.sh ends [Pipeline] } 10:06:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:06:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:06:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:06:49 ========================================================= 10:06:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 10:06:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:49 + 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 . 10:06:50 Sending build context to Docker daemon 10.55MB 10:06:50 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:06:50 Step 2/12 : FROM ${BASE} AS builder 10:06:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:06:50 cf04c63912e1: Pulling fs layer 10:06:50 55b35a11ae5e: Pulling fs layer 10:06:50 a37a00ec5f00: Pulling fs layer 10:06:50 50b3750afda1: Pulling fs layer 10:06:50 4f4fb700ef54: Pulling fs layer 10:06:50 80978eb59214: Pulling fs layer 10:06:50 c9f46d7d2bd2: Pulling fs layer 10:06:50 c5a475d317c9: Pulling fs layer 10:06:50 50b3750afda1: Waiting 10:06:50 4f4fb700ef54: Waiting 10:06:50 80978eb59214: Waiting 10:06:50 c9f46d7d2bd2: Waiting 10:06:50 c5a475d317c9: Waiting 10:06:50 55b35a11ae5e: Verifying Checksum 10:06:50 55b35a11ae5e: Download complete 10:06:50 50b3750afda1: Verifying Checksum 10:06:50 50b3750afda1: Download complete 10:06:50 4f4fb700ef54: Verifying Checksum 10:06:50 4f4fb700ef54: Download complete 10:06:50 80978eb59214: Verifying Checksum 10:06:50 80978eb59214: Download complete 10:06:50 cf04c63912e1: Verifying Checksum 10:06:50 cf04c63912e1: Download complete 10:06:51 c5a475d317c9: Verifying Checksum 10:06:51 c5a475d317c9: Download complete 10:06:51 cf04c63912e1: Pull complete 10:06:52 55b35a11ae5e: Pull complete 10:06:53 a37a00ec5f00: Download complete 10:06:54 c9f46d7d2bd2: Verifying Checksum 10:06:54 c9f46d7d2bd2: Download complete 10:07:09 a37a00ec5f00: Pull complete 10:07:09 50b3750afda1: Pull complete 10:07:09 4f4fb700ef54: Pull complete 10:07:09 80978eb59214: Pull complete 10:07:17 c9f46d7d2bd2: Pull complete 10:07:18 c5a475d317c9: Pull complete 10:07:18 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 10:07:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 10:07:18 ---> be29e6b0f0d4 10:07:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:07:19 ---> Running in 6e7ad4b31170 10:07:20 Removing intermediate container 6e7ad4b31170 10:07:20 ---> 69911f4fc422 10:07:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:07:20 ---> Running in 1c27b32559bc 10:07:20 Removing intermediate container 1c27b32559bc 10:07:20 ---> c746445589b8 10:07:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:07:20 ---> Running in 3f438066733f 10:07:20 Removing intermediate container 3f438066733f 10:07:20 ---> 1ce908ac7f61 10:07:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:07:20 ---> Running in 770d32b35172 10:07:21 Removing intermediate container 770d32b35172 10:07:21 ---> db91ac15b604 10:07:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:07:21 ---> Running in af38e9befe30 10:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:07:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:07:25 (1/4) Installing openssh-keygen (9.7_p1-r4) 10:07:25 (2/4) Installing libedit (20240517.3.1-r0) 10:07:25 (3/4) Installing openssh-client-common (9.7_p1-r4) 10:07:25 (4/4) Installing openssh-client-default (9.7_p1-r4) 10:07:25 Executing busybox-1.36.1-r29.trigger 10:07:25 OK: 242 MiB in 58 packages 10:07:26 Removing intermediate container af38e9befe30 10:07:26 ---> fd4683d9d7b3 10:07:26 Step 8/12 : WORKDIR /device-mqtt-go 10:07:26 ---> Running in e186b0d038e8 10:07:26 Removing intermediate container e186b0d038e8 10:07:26 ---> 4ac72fc53e8f 10:07:26 Step 9/12 : COPY go.mod vendor* ./ 10:07:27 ---> 030dd11cd3a7 10:07:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:27 ---> Running in f74ff230774a 10:09:19 Removing intermediate container f74ff230774a 10:09:19 ---> d2ceceef9b18 10:09:19 Step 11/12 : COPY . . 10:09:19 ---> f2adbdf468f5 10:09:19 Step 12/12 : RUN $MAKE 10:09:19 ---> Running in 015a1c78fedb 10:09:20 noop 10:09:20 Removing intermediate container 015a1c78fedb 10:09:20 ---> 646df787e087 10:09:21 Successfully built 646df787e087 10:09:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:21 + docker inspect -f . ci-base-image-arm64 10:09:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-22531 does not seem to be running inside a container 10:09:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/176 -v /w/workspace/device-mqtt-go/176:/w/workspace/device-mqtt-go/176:rw,z -v /w/workspace/device-mqtt-go/176@tmp:/w/workspace/device-mqtt-go/176@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 10:09:23 $ docker top 09e67eec7b61b584a60575e62e50e80f6f9351f993f67c85159b334acde642c7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:23 + go version 10:09:23 go version go1.23.2 linux/arm64 [Pipeline] } 10:09:23 $ docker stop --time=1 09e67eec7b61b584a60575e62e50e80f6f9351f993f67c85159b334acde642c7 10:09:25 $ docker rm -f --volumes 09e67eec7b61b584a60575e62e50e80f6f9351f993f67c85159b334acde642c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:26 + docker inspect -f . ci-base-image-arm64 10:09:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:26 prd-ubuntu20.04-docker-arm64-4c-16g-22531 does not seem to be running inside a container 10:09:26 $ 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/176 -v /w/workspace/device-mqtt-go/176:/w/workspace/device-mqtt-go/176:rw,z -v /w/workspace/device-mqtt-go/176@tmp:/w/workspace/device-mqtt-go/176@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 10:09:27 $ docker top eaabd6b3bd28c01320360f0544cf04dcd567d30b1bd690495790fa5766a9f494 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:28 + git config --global --add safe.directory /w/workspace/device-mqtt-go/176 [Pipeline] fileExists [Pipeline] sh 10:09:29 + make test 10:09:29 go test ./... -coverprofile=coverage.out ./... 10:09:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:13:58 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 10:13:58 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 10:13:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 22.8% of statements 10:13:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:13:59 go vet ./... 10:14:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:55 ./bin/test-attribution-txt.sh [Pipeline] echo 10:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:14:55 $ docker stop --time=1 eaabd6b3bd28c01320360f0544cf04dcd567d30b1bd690495790fa5766a9f494 10:14:58 $ docker rm -f --volumes eaabd6b3bd28c01320360f0544cf04dcd567d30b1bd690495790fa5766a9f494 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:59 Warning: overwriting stash ‘coverage-report’ 10:15:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:15:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:15:00 + ls -al . 10:15:00 total 260 10:15:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:09 . 10:15:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:06 .. 10:15:00 -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 10:06 .dockerignore 10:15:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:06 .git 10:15:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:06 .github 10:15:00 -rw-rw-r-- 1 jenkins jenkins 264 Oct 11 10:06 .gitignore 10:15:00 -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 10:06 .golangci.yml 10:15:00 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 11 10:06 Attribution.txt 10:15:00 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 11 10:06 CHANGELOG.md 10:15:00 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 11 10:06 Dockerfile 10:15:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 10:06 GOVERNANCE.md 10:15:00 -rw-rw-r-- 1 jenkins jenkins 657 Oct 11 10:06 Jenkinsfile 10:15:00 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 10:06 LICENSE 10:15:00 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 11 10:06 Makefile 10:15:00 -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 10:06 OWNERS.md 10:15:00 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 11 10:06 README.md 10:15:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 10:03 VERSION 10:15:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:06 bin 10:15:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:06 cmd 10:15:00 -rw-r--r-- 1 jenkins jenkins 21039 Oct 11 10:13 coverage.out 10:15:00 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 11 10:06 go.mod 10:15:00 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 11 10:06 go.sum 10:15:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:06 internal 10:15:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:06 mock 10:15:00 -rw-rw-r-- 1 jenkins jenkins 227 Oct 11 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:01 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9248015ec63f16b77f424838ee7cf1dbf126cff5 --label arch=arm64 --label version=3.2.0-dev.21 . 10:15:01 Sending build context to Docker daemon 10.58MB 10:15:01 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 10:15:01 Step 2/25 : FROM ${BASE} AS builder 10:15:01 ---> 646df787e087 10:15:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:15:01 ---> Running in 054cc30dd671 10:15:02 Removing intermediate container 054cc30dd671 10:15:02 ---> 24149759c16a 10:15:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:15:02 ---> Running in d8a6d603999a 10:15:02 Removing intermediate container d8a6d603999a 10:15:02 ---> 8182ddb6d7ec 10:15:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:15:02 ---> Running in 5f7fd895d661 10:15:03 Removing intermediate container 5f7fd895d661 10:15:03 ---> 13c3e679fe0c 10:15:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:15:03 ---> Running in f13ccb9ff14b 10:15:03 Removing intermediate container f13ccb9ff14b 10:15:03 ---> 009fe805a36b 10:15:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:03 ---> Running in 08fe9732b2a6 10:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:15:06 OK: 242 MiB in 58 packages 10:15:07 Removing intermediate container 08fe9732b2a6 10:15:07 ---> 260c900b62e2 10:15:07 Step 8/25 : WORKDIR /device-mqtt-go 10:15:07 ---> Running in fb0c34208818 10:15:07 Removing intermediate container fb0c34208818 10:15:07 ---> 2deba6f9ac91 10:15:07 Step 9/25 : COPY go.mod vendor* ./ 10:15:08 ---> 60d66dda95fa 10:15:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:08 ---> Running in 8f41f35dcb92 10:15:10 Removing intermediate container 8f41f35dcb92 10:15:10 ---> 79e3dbd42d9f 10:15:10 Step 11/25 : COPY . . 10:15:11 ---> ee98a6939eb4 10:15:11 Step 12/25 : RUN $MAKE 10:15:11 ---> Running in 95813a9227a4 10:15:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 10:19:19 Removing intermediate container 95813a9227a4 10:19:19 ---> e60fd62b6508 10:19:19 Step 13/25 : FROM alpine:3.20 10:19:19 3.20: Pulling from library/alpine 10:19:19 cf04c63912e1: Already exists 10:19:19 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:19:19 Status: Downloaded newer image for alpine:3.20 10:19:19 ---> c157a85ed455 10:19:19 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 10:19:19 ---> Running in ce45e3bd130e 10:19:19 Removing intermediate container ce45e3bd130e 10:19:19 ---> 6bccf816f9f3 10:19:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 10:19:19 ---> Running in 7420c1787615 10:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:19:19 (1/1) Installing dumb-init (1.2.5-r3) 10:19:19 Executing busybox-1.36.1-r29.trigger 10:19:19 OK: 9 MiB in 15 packages 10:19:19 Removing intermediate container 7420c1787615 10:19:19 ---> 30cee9911ef4 10:19:19 Step 16/25 : RUN apk --no-cache upgrade 10:19:19 ---> Running in 38b2b69a0192 10:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:19:19 Upgrading critical system libraries and apk-tools: 10:19:19 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:19:19 Executing busybox-1.36.1-r29.trigger 10:19:19 Continuing the upgrade transaction with new apk-tools: 10:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:19:19 OK: 9 MiB in 15 packages 10:19:19 Removing intermediate container 38b2b69a0192 10:19:19 ---> ab5ff1ff5120 10:19:19 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 10:19:19 ---> b42ae4b8dca8 10:19:19 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 10:19:20 ---> 1065b3210d8b 10:19:20 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:19:21 ---> d0500cf7a799 10:19:21 Step 20/25 : EXPOSE 59982 10:19:21 ---> Running in 0bc185013363 10:19:21 Removing intermediate container 0bc185013363 10:19:21 ---> f0c7e713a548 10:19:21 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 10:19:21 ---> Running in 7ee960a04153 10:19:21 Removing intermediate container 7ee960a04153 10:19:21 ---> 922b6d00040d 10:19:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:19:21 ---> Running in 23077c19814b 10:19:22 Removing intermediate container 23077c19814b 10:19:22 ---> 4d93d82f427a 10:19:22 Step 23/25 : LABEL arch=arm64 10:19:22 ---> Running in 7bbac4f45d52 10:19:22 Removing intermediate container 7bbac4f45d52 10:19:22 ---> 3056016417d7 10:19:22 Step 24/25 : LABEL git_sha=9248015ec63f16b77f424838ee7cf1dbf126cff5 10:19:22 ---> Running in bd6031ffed2b 10:19:22 Removing intermediate container bd6031ffed2b 10:19:22 ---> b071faeec88d 10:19:22 Step 25/25 : LABEL version=3.2.0-dev.21 10:19:23 ---> Running in e5dbb594e552 10:19:23 Removing intermediate container e5dbb594e552 10:19:23 ---> 13533f1fb2b7 10:19:23 [Warning] One or more build-args [ARCH] were not consumed 10:19:23 Successfully built 13533f1fb2b7 10:19:23 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 10:19:23 provisioning config files... 10:19:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/176@tmp/config9414698997508638220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:23 ---> ****-login.sh 10:19:23 nexus3.edgexfoundry.org:10001 10:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:24 Configure a credential helper to remove this warning. See 10:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:24 10:19:24 Login Succeeded 10:19:24 nexus3.edgexfoundry.org:10002 10:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:24 Configure a credential helper to remove this warning. See 10:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:24 10:19:24 Login Succeeded 10:19:24 nexus3.edgexfoundry.org:10003 10:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:25 Configure a credential helper to remove this warning. See 10:19:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:25 10:19:25 Login Succeeded 10:19:25 nexus3.edgexfoundry.org:10004 10:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:25 Configure a credential helper to remove this warning. See 10:19:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:25 10:19:25 Login Succeeded 10:19:25 ****.io 10:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:25 Configure a credential helper to remove this warning. See 10:19:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:25 10:19:26 Login Succeeded 10:19:26 ---> ****-login.sh ends [Pipeline] } 10:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:19:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 10:19:26 9248015ec63f16b77f424838ee7cf1dbf126cff5 10:19:26 latest 10:19:26 3.2.0-dev.21 10:19:26 9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 10:19:26 main 10:19:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9248015ec63f16b77f424838ee7cf1dbf126cff5 10:19:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:19:26 b8293a288341: Preparing 10:19:26 d54129ec8d9a: Preparing 10:19:26 68fb634b2964: Preparing 10:19:26 ae3fe3e2d5f4: Preparing 10:19:26 99b0705ddda2: Preparing 10:19:26 16113d51b718: Preparing 10:19:26 16113d51b718: Waiting 10:19:27 b8293a288341: Pushed 10:19:27 d54129ec8d9a: Pushed 10:19:27 99b0705ddda2: Pushed 10:19:27 16113d51b718: Layer already exists 10:19:27 ae3fe3e2d5f4: Pushed 10:19:39 68fb634b2964: Pushed 10:19:39 9248015ec63f16b77f424838ee7cf1dbf126cff5: digest: sha256:6eac486bdab342d6b0e56a833c29ceb9416d342db91f285d88edf1e2cf60112d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 10:19:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:19:40 b8293a288341: Preparing 10:19:40 d54129ec8d9a: Preparing 10:19:40 68fb634b2964: Preparing 10:19:40 ae3fe3e2d5f4: Preparing 10:19:40 99b0705ddda2: Preparing 10:19:40 16113d51b718: Preparing 10:19:40 16113d51b718: Waiting 10:19:40 d54129ec8d9a: Layer already exists 10:19:40 99b0705ddda2: Layer already exists 10:19:40 68fb634b2964: Layer already exists 10:19:40 b8293a288341: Layer already exists 10:19:40 ae3fe3e2d5f4: Layer already exists 10:19:40 16113d51b718: Layer already exists 10:19:40 latest: digest: sha256:6eac486bdab342d6b0e56a833c29ceb9416d342db91f285d88edf1e2cf60112d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.21 10:19:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:19:41 b8293a288341: Preparing 10:19:41 d54129ec8d9a: Preparing 10:19:41 68fb634b2964: Preparing 10:19:41 ae3fe3e2d5f4: Preparing 10:19:41 99b0705ddda2: Preparing 10:19:41 16113d51b718: Preparing 10:19:41 16113d51b718: Waiting 10:19:41 d54129ec8d9a: Layer already exists 10:19:41 b8293a288341: Layer already exists 10:19:41 ae3fe3e2d5f4: Layer already exists 10:19:41 68fb634b2964: Layer already exists 10:19:41 99b0705ddda2: Layer already exists 10:19:41 16113d51b718: Layer already exists 10:19:41 3.2.0-dev.21: digest: sha256:6eac486bdab342d6b0e56a833c29ceb9416d342db91f285d88edf1e2cf60112d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 10:19:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:19:42 b8293a288341: Preparing 10:19:42 d54129ec8d9a: Preparing 10:19:42 68fb634b2964: Preparing 10:19:42 ae3fe3e2d5f4: Preparing 10:19:42 99b0705ddda2: Preparing 10:19:42 16113d51b718: Preparing 10:19:42 16113d51b718: Waiting 10:19:42 ae3fe3e2d5f4: Layer already exists 10:19:42 b8293a288341: Layer already exists 10:19:42 99b0705ddda2: Layer already exists 10:19:42 d54129ec8d9a: Layer already exists 10:19:42 68fb634b2964: Layer already exists 10:19:42 16113d51b718: Layer already exists 10:19:42 9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21: digest: sha256:6eac486bdab342d6b0e56a833c29ceb9416d342db91f285d88edf1e2cf60112d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 10:19:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:19:43 b8293a288341: Preparing 10:19:43 d54129ec8d9a: Preparing 10:19:43 68fb634b2964: Preparing 10:19:43 ae3fe3e2d5f4: Preparing 10:19:43 99b0705ddda2: Preparing 10:19:43 16113d51b718: Preparing 10:19:43 16113d51b718: Waiting 10:19:43 68fb634b2964: Layer already exists 10:19:43 b8293a288341: Layer already exists 10:19:43 d54129ec8d9a: Layer already exists 10:19:43 ae3fe3e2d5f4: Layer already exists 10:19:43 99b0705ddda2: Layer already exists 10:19:43 16113d51b718: Layer already exists 10:19:43 main: digest: sha256:6eac486bdab342d6b0e56a833c29ceb9416d342db91f285d88edf1e2cf60112d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:43 ===================================================== [Pipeline] echo 10:19:43 taggedImages: 10:19:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9248015ec63f16b77f424838ee7cf1dbf126cff5 10:19:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 10:19:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.21 10:19:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9248015ec63f16b77f424838ee7cf1dbf126cff5-3.2.0-dev.21 10:19:43 - 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 10:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:44 10:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:44 arm64: Pulling from edgex-lftools-log-publisher 10:19:44 8998bd30e6a1: Pulling fs layer 10:19:44 04944245beec: Pulling fs layer 10:19:44 699f458cf7ca: Pulling fs layer 10:19:44 765212b225bb: Pulling fs layer 10:19:44 f23df028b6ca: Pulling fs layer 10:19:44 d65c8cfc05b1: Pulling fs layer 10:19:44 2437ff75d9bd: Pulling fs layer 10:19:44 765212b225bb: Waiting 10:19:44 f23df028b6ca: Waiting 10:19:44 d65c8cfc05b1: Waiting 10:19:44 2437ff75d9bd: Waiting 10:19:44 04944245beec: Verifying Checksum 10:19:44 04944245beec: Download complete 10:19:44 765212b225bb: Verifying Checksum 10:19:44 765212b225bb: Download complete 10:19:44 f23df028b6ca: Verifying Checksum 10:19:44 f23df028b6ca: Download complete 10:19:44 d65c8cfc05b1: Verifying Checksum 10:19:44 d65c8cfc05b1: Download complete 10:19:45 699f458cf7ca: Verifying Checksum 10:19:45 699f458cf7ca: Download complete 10:19:45 8998bd30e6a1: Verifying Checksum 10:19:45 8998bd30e6a1: Download complete 10:19:47 2437ff75d9bd: Verifying Checksum 10:19:47 2437ff75d9bd: Download complete 10:19:50 8998bd30e6a1: Pull complete 10:19:51 04944245beec: Pull complete 10:19:53 699f458cf7ca: Pull complete 10:19:53 765212b225bb: Pull complete 10:19:53 f23df028b6ca: Pull complete 10:19:53 d65c8cfc05b1: Pull complete 10:20:12 2437ff75d9bd: Pull complete 10:20:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:20:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:12 prd-ubuntu20.04-docker-arm64-4c-16g-22531 does not seem to be running inside a container 10:20:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/176 -v /w/workspace/device-mqtt-go/176:/w/workspace/device-mqtt-go/176:rw,z -v /w/workspace/device-mqtt-go/176@tmp:/w/workspace/device-mqtt-go/176@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 10:20:15 $ docker top aa86b31bc74a80f8bdeae9986b18df64c174ff841e381ecaeaad99e902931e0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:16 ---> job-cost.sh 10:20:16 lf-activate-venv: SKIPPING 10:20:16 INFO: No Stack... 10:20:16 INFO: Retrieving Pricing Info for: v3-standard-4 10:20:17 INFO: Archiving Costs [Pipeline] sh 10:20:18 + cut -d, -f6 10:20:18 + cat /w/workspace/device-mqtt-go/176/archives/cost.csv [Pipeline] lock 10:20:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] 10:20:18 Resource [jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] did not exist. Created. 10:20:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:18 /w/workspace/device-mqtt-go/176@tmp/durable-f6e42be0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:20:19 + echo total: 0.10999999940395355 [Pipeline] stash 10:20:19 Warning: overwriting stash ‘stack-cost’ 10:20:19 Stashed 1 file(s) [Pipeline] } 10:20:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:19 $ docker stop --time=1 aa86b31bc74a80f8bdeae9986b18df64c174ff841e381ecaeaad99e902931e0c 10:20:21 $ docker rm -f --volumes aa86b31bc74a80f8bdeae9986b18df64c174ff841e381ecaeaad99e902931e0c [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 10:20:23 provisioning config files... 10:20:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11610565069709064519tmp [Pipeline] { [Pipeline] sh 10:20:26 + set +x 10:20:26 + curl -s https://codecov.io/bash 10:20:26 + bash -s -- 10:20:26 10:20:26 _____ _ 10:20:26 / ____| | | 10:20:26 | | ___ __| | ___ ___ _____ __ 10:20:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:20:26 | |___| (_) | (_| | __/ (_| (_) \ V / 10:20:26 \_____\___/ \__,_|\___|\___\___/ \_/ 10:20:26 Bash-1.0.6 10:20:26 10:20:26 10:20:26 ==> git version 2.25.1 found 10:20:26 ==> 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 10:20:26 Release-Date: 2020-01-08 10:20:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:20:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:20:26 ==> Jenkins CI detected. 10:20:26 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 10:20:26 project root: . 10:20:26 --> token set from env 10:20:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:20:26 ==> Running gcov in . (disable via -X gcov) 10:20:26 ==> Python coveragepy not found 10:20:26 ==> Searching for coverage reports in: 10:20:26 + . 10:20:26 -> Found 1 reports 10:20:26 ==> Detecting git/mercurial file structure 10:20:26 ==> Reading reports 10:20:26 + ./coverage.out bytes=21039 10:20:26 ==> Appending adjustments 10:20:26 https://docs.codecov.io/docs/fixing-reports 10:20:27 + Found adjustments 10:20:27 ==> Gzipping contents 10:20:27 4.0K /tmp/codecov.9MlWaO.gz 10:20:27 ==> Uploading reports 10:20:27 url: https://codecov.io 10:20:27 query: branch=main&commit=9248015ec63f16b77f424838ee7cf1dbf126cff5&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:20:27 -> Pinging Codecov 10:20:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=9248015ec63f16b77f424838ee7cf1dbf126cff5&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:20:27 -> Uploading to 10:20:27 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/9248015ec63f16b77f424838ee7cf1dbf126cff5/869f87fe-2532-441d-96c9-804aa203eb0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241011%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241011T102027Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=10e8617e099cef77c30a2d617b75467ed9fbf67891a8b7af8649c4c31b1ae244 10:20:27 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:27 Dload Upload Total Spent Left Speed 10:20:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 13883 --:--:-- --:--:-- --:--:-- 13941 10:20:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] } 10:20:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:20:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:20:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:20:28 10:20:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:20:28 latest: Pulling from edgex-devops/edgex-snyk-go 10:20:28 43c4264eed91: Already exists 10:20:28 4cc291be95ef: Already exists 10:20:28 2ac1f1163629: Already exists 10:20:28 5c3c966382ef: Already exists 10:20:28 4f4fb700ef54: Already exists 10:20:28 d9c7d2e4e75e: Pulling fs layer 10:20:28 9c3e1370e548: Pulling fs layer 10:20:28 d9c7d2e4e75e: Verifying Checksum 10:20:28 d9c7d2e4e75e: Download complete 10:20:29 d9c7d2e4e75e: Pull complete 10:20:29 9c3e1370e548: Verifying Checksum 10:20:29 9c3e1370e548: Download complete 10:20:32 9c3e1370e548: Pull complete 10:20:32 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 10:20:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:20:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:32 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:20:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 10:20:35 $ docker top 0f0b1628fb84ead9e213b958c6bbfcd467e68f21f946031af98c53949a714b19 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 10:20:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 10:20:36 + set -o pipefail 10:20:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 10:20:44 10:20:44 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 10:20:44 10:20:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/31d57244-6d82-4c26-ac5b-b6b1e446245a 10:20:44 10:20:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:20:44 10:20:44 10:20:44 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 10:20:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:20:44 $ docker stop --time=1 0f0b1628fb84ead9e213b958c6bbfcd467e68f21f946031af98c53949a714b19 10:20:51 $ docker rm -f --volumes 0f0b1628fb84ead9e213b958c6bbfcd467e68f21f946031af98c53949a714b19 [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 10:20:52 + git log --format=format:%s -1 9248015ec63f16b77f424838ee7cf1dbf126cff5 [Pipeline] sh 10:20:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:52 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:53 $ docker top 887bddb950998d0c0ffb0d09a1eca8297dfe7ce673c054800dbe9836aa86c06b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:53 [ssh-agent] Looking for ssh-agent implementation... 10:20:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:53 $ docker exec 887bddb950998d0c0ffb0d09a1eca8297dfe7ce673c054800dbe9836aa86c06b ssh-agent 10:20:53 SSH_AUTH_SOCK=/tmp/ssh-cNetICCdp965/agent.32 10:20:53 SSH_AGENT_PID=38 10:20:53 Running ssh-add (command line suppressed) 10:20:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7013037147456883298.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7013037147456883298.key) 10:20:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:54 + git semver tag 10:20:54 2024-10-11 10:20:54,223 [run_tag] DEBUG tag force:False 10:20:54 2024-10-11 10:20:54,223 [check_head_tag] DEBUG check head tag 10:20:54 2024-10-11 10:20:54,224 [execute] INFO git cat-file --batch-check 10:20:54 2024-10-11 10:20:54,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 10:20:54 2024-10-11 10:20:54,229 [execute] INFO git cat-file --batch 10:20:54 2024-10-11 10:20:54,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 10:20:54 2024-10-11 10:20:54,247 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:20:54 2024-10-11 10:20:54,247 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 10:20:54 2024-10-11 10:20:54,247 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 10:20:54 2024-10-11 10:20:54,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:20:54 3.2.0-dev.21 [Pipeline] } 10:20:54 $ docker exec --env ******** --env ******** 887bddb950998d0c0ffb0d09a1eca8297dfe7ce673c054800dbe9836aa86c06b ssh-agent -k 10:20:54 unset SSH_AUTH_SOCK; 10:20:54 unset SSH_AGENT_PID; 10:20:54 echo Agent pid 38 killed; 10:20:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:54 + git semver [Pipeline] } 10:20:55 $ docker stop --time=1 887bddb950998d0c0ffb0d09a1eca8297dfe7ce673c054800dbe9836aa86c06b 10:20:57 $ docker rm -f --volumes 887bddb950998d0c0ffb0d09a1eca8297dfe7ce673c054800dbe9836aa86c06b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:58 10:20:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:58 0.23.1-centos7: Pulling from edgex-lftools 10:20:58 ab5ef0e58194: Pulling fs layer 10:20:58 9712f1f96733: Pulling fs layer 10:20:58 63f879dbbcfc: Pulling fs layer 10:20:58 0d9ebad4ef96: Pulling fs layer 10:20:58 e9a5061849ea: Pulling fs layer 10:20:58 d747dcd14b5f: Pulling fs layer 10:20:58 2de7ff778b66: Pulling fs layer 10:20:58 e9a5061849ea: Waiting 10:20:58 0d9ebad4ef96: Waiting 10:20:58 2de7ff778b66: Waiting 10:20:58 9712f1f96733: Verifying Checksum 10:20:58 9712f1f96733: Download complete 10:20:58 63f879dbbcfc: Verifying Checksum 10:20:58 63f879dbbcfc: Download complete 10:20:59 e9a5061849ea: Verifying Checksum 10:20:59 e9a5061849ea: Download complete 10:20:59 d747dcd14b5f: Download complete 10:20:59 0d9ebad4ef96: Verifying Checksum 10:20:59 0d9ebad4ef96: Download complete 10:20:59 ab5ef0e58194: Verifying Checksum 10:20:59 ab5ef0e58194: Download complete 10:20:59 2de7ff778b66: Verifying Checksum 10:20:59 2de7ff778b66: Download complete 10:21:02 ab5ef0e58194: Pull complete 10:21:02 9712f1f96733: Pull complete 10:21:02 63f879dbbcfc: Pull complete 10:21:05 0d9ebad4ef96: Pull complete 10:21:06 e9a5061849ea: Pull complete 10:21:06 d747dcd14b5f: Pull complete 10:21:07 2de7ff778b66: Pull complete 10:21:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:21:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:07 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:21:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:21:13 $ docker top c8db0f53587eded2df2afbfcb22008b4320540f1a73b3fed7c3f55c0ed92b79e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:21:13 provisioning config files... 10:21:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7319835651907982172tmp 10:21:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1559962383695507781tmp 10:21:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15535084522723449492tmp [Pipeline] { [Pipeline] echo 10:21:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:21:14 ---> sigul-configuration.sh 10:21:14 gpg: directory `/root/.gnupg' created 10:21:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:21:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:21:14 gpg: keyring `/root/.gnupg/secring.gpg' created 10:21:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:21:14 gpg: CAST5 encrypted data 10:21:14 gpg: encrypted with 1 passphrase 10:21:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:21:14 + mkdir /home/jenkins 10:21:14 + mkdir /home/jenkins/sigul [Pipeline] sh 10:21:14 + 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 10:21:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:21:15 ---> sigul-install.sh 10:21:15 Sigul already installed; skipping installation. [Pipeline] sh 10:21:15 + git tag --list 10:21:15 0.7.1 10:21:15 v1.0.0 10:21:15 v1.1.0 10:21:15 v1.1.1 10:21:15 v1.2.2 10:21:15 v1.3.0 10:21:15 v1.3.1 10:21:15 v2.0.0 10:21:15 v2.1.0 10:21:15 v2.1.1 10:21:15 v2.2.0 10:21:15 v2.3.0 10:21:15 v3.0 10:21:15 v3.0.0 10:21:15 v3.1 10:21:15 v3.1.0 10:21:15 v3.1.0-dev.1 10:21:15 v3.1.0-dev.10 10:21:15 v3.1.0-dev.11 10:21:15 v3.1.0-dev.12 10:21:15 v3.1.0-dev.13 10:21:15 v3.1.0-dev.14 10:21:15 v3.1.0-dev.15 10:21:15 v3.1.0-dev.16 10:21:15 v3.1.0-dev.17 10:21:15 v3.1.0-dev.18 10:21:15 v3.1.0-dev.19 10:21:15 v3.1.0-dev.2 10:21:15 v3.1.0-dev.20 10:21:15 v3.1.0-dev.21 10:21:15 v3.1.0-dev.22 10:21:15 v3.1.0-dev.23 10:21:15 v3.1.0-dev.24 10:21:15 v3.1.0-dev.25 10:21:15 v3.1.0-dev.3 10:21:15 v3.1.0-dev.4 10:21:15 v3.1.0-dev.5 10:21:15 v3.1.0-dev.6 10:21:15 v3.1.0-dev.7 10:21:15 v3.1.0-dev.8 10:21:15 v3.1.0-dev.9 10:21:15 v3.1.1 10:21:15 v3.2.0-dev.1 10:21:15 v3.2.0-dev.10 10:21:15 v3.2.0-dev.11 10:21:15 v3.2.0-dev.12 10:21:15 v3.2.0-dev.13 10:21:15 v3.2.0-dev.14 10:21:15 v3.2.0-dev.15 10:21:15 v3.2.0-dev.16 10:21:15 v3.2.0-dev.17 10:21:15 v3.2.0-dev.18 10:21:15 v3.2.0-dev.19 10:21:15 v3.2.0-dev.2 10:21:15 v3.2.0-dev.20 10:21:15 v3.2.0-dev.21 10:21:15 v3.2.0-dev.3 10:21:15 v3.2.0-dev.4 10:21:15 v3.2.0-dev.5 10:21:15 v3.2.0-dev.6 10:21:15 v3.2.0-dev.7 10:21:15 v3.2.0-dev.8 10:21:15 v3.2.0-dev.9 [Pipeline] sh 10:21:15 + lftools sign git-tag v3.2.0-dev.21 10:21:16 Signing Git tag with Sigul... 10:21:16 Signing v3.2.0-dev.21 [Pipeline] echo 10:21:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:21:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:21:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:21:17 $ docker stop --time=1 c8db0f53587eded2df2afbfcb22008b4320540f1a73b3fed7c3f55c0ed92b79e 10:21:18 $ docker rm -f --volumes c8db0f53587eded2df2afbfcb22008b4320540f1a73b3fed7c3f55c0ed92b79e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:21:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:21:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:21:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:19 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:21:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:21:19 $ docker top 4f1cd6fab19bf762b1db0b84764349f357676ed5ba296d178fb103e42311e3bd -eo pid,comm 10:21:19 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). 10:21:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:19 [ssh-agent] Looking for ssh-agent implementation... 10:21:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:19 $ docker exec 4f1cd6fab19bf762b1db0b84764349f357676ed5ba296d178fb103e42311e3bd ssh-agent 10:21:19 SSH_AUTH_SOCK=/tmp/ssh-4S7n9o7Uh96Z/agent.32 10:21:19 SSH_AGENT_PID=38 10:21:19 Running ssh-add (command line suppressed) 10:21:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16955379419775880168.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16955379419775880168.key) 10:21:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:20 + git semver bump pre 10:21:20 2024-10-11 10:21:20,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:21:20 2024-10-11 10:21:20,326 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev 10:21:20 2024-10-11 10:21:20,326 [bump_version] DEBUG bumped version:3.2.0-dev.22 10:21:20 2024-10-11 10:21:20,326 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 10:21:20 2024-10-11 10:21:20,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:21:20 2024-10-11 10:21:20,326 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:21:20 2024-10-11 10:21:20,328 [execute] INFO git cat-file --batch-check 10:21:20 2024-10-11 10:21:20,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:21:20 2024-10-11 10:21:20,333 [execute] INFO git cat-file --batch 10:21:20 2024-10-11 10:21:20,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:21:20 2024-10-11 10:21:20,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:21:20 3.2.0-dev.22 [Pipeline] } 10:21:20 $ docker exec --env ******** --env ******** 4f1cd6fab19bf762b1db0b84764349f357676ed5ba296d178fb103e42311e3bd ssh-agent -k 10:21:20 unset SSH_AUTH_SOCK; 10:21:20 unset SSH_AGENT_PID; 10:21:20 echo Agent pid 38 killed; 10:21:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:21:20 + git semver [Pipeline] } 10:21:21 $ docker stop --time=1 4f1cd6fab19bf762b1db0b84764349f357676ed5ba296d178fb103e42311e3bd 10:21:22 $ docker rm -f --volumes 4f1cd6fab19bf762b1db0b84764349f357676ed5ba296d178fb103e42311e3bd [Pipeline] // withDockerContainer [Pipeline] sh 10:21:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:21:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:21:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:23 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:21:23 $ docker top fa6030a3b211ef7316efa2477c667b3a662c061998af4b2c99640d28157bcc7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:23 [ssh-agent] Looking for ssh-agent implementation... 10:21:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:23 $ docker exec fa6030a3b211ef7316efa2477c667b3a662c061998af4b2c99640d28157bcc7b ssh-agent 10:21:23 SSH_AUTH_SOCK=/tmp/ssh-tRDjwlteOC7K/agent.32 10:21:23 SSH_AGENT_PID=38 10:21:23 Running ssh-add (command line suppressed) 10:21:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7460181525091433154.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7460181525091433154.key) 10:21:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:24 + git semver push 10:21:24 2024-10-11 10:21:24,482 [run_push] DEBUG push 10:21:24 2024-10-11 10:21:24,482 [execute] INFO git cat-file --batch-check 10:21:24 2024-10-11 10:21:24,483 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:21:24 2024-10-11 10:21:24,486 [execute] INFO git rev-list 36cd070cfd1215cf2f1165375cb43a89eb30cd6d -- 10:21:24 2024-10-11 10:21:24,486 [execute] DEBUG Popen(['git', 'rev-list', '36cd070cfd1215cf2f1165375cb43a89eb30cd6d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:21:24 2024-10-11 10:21:24,495 [execute] INFO git fetch -v origin 10:21:24 2024-10-11 10:21:24,495 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:21:25 2024-10-11 10:21:24,950 [run_push] DEBUG no remote changes detected 10:21:25 2024-10-11 10:21:24,950 [execute] INFO git push origin semver 10:21:25 2024-10-11 10:21:24,950 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:21:25 2024-10-11 10:21:25,659 [run_push] DEBUG push all version tags 10:21:25 2024-10-11 10:21:25,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:21:25 2024-10-11 10:21:25,660 [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) 10:21:26 2024-10-11 10:21:26,282 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:21:26 3.2.0-dev.22 [Pipeline] } 10:21:26 $ docker exec --env ******** --env ******** fa6030a3b211ef7316efa2477c667b3a662c061998af4b2c99640d28157bcc7b ssh-agent -k 10:21:26 unset SSH_AUTH_SOCK; 10:21:26 unset SSH_AGENT_PID; 10:21:26 echo Agent pid 38 killed; 10:21:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:21:27 + git semver [Pipeline] } 10:21:27 $ docker stop --time=1 fa6030a3b211ef7316efa2477c667b3a662c061998af4b2c99640d28157bcc7b 10:21:28 $ docker rm -f --volumes fa6030a3b211ef7316efa2477c667b3a662c061998af4b2c99640d28157bcc7b [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 10:21:29 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 10:21:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:21:29 total 16 10:21:29 drwxr-xr-x 3 root root 4096 Oct 11 10:06 . 10:21:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 10:21 .. 10:21:29 drwxr-xr-x 2 root root 4096 Oct 11 10:06 cost 10:21:29 -rw-r--r-- 1 root root 86 Oct 11 10:06 cost.csv 10:21:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:21:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:21:29 total 16 10:21:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 10:06 . 10:21:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 10:21 .. 10:21:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 10:06 cost 10:21:29 -rw-r--r-- 1 jenkins jenkins 86 Oct 11 10:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:21:30 ---> package-listing.sh 10:21:30 ++ facter osfamily 10:21:30 ++ tr '[:upper:]' '[:lower:]' 10:21:30 + OS_FAMILY=debian 10:21:30 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 10:21:30 + START_PACKAGES=/tmp/packages_start.txt 10:21:30 + END_PACKAGES=/tmp/packages_end.txt 10:21:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:21:30 + PACKAGES=/tmp/packages_start.txt 10:21:30 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 10:21:30 + PACKAGES=/tmp/packages_end.txt 10:21:30 + case "${OS_FAMILY}" in 10:21:30 + dpkg -l 10:21:30 + grep '^ii' 10:21:30 + '[' -f /tmp/packages_start.txt ']' 10:21:30 + '[' -f /tmp/packages_end.txt ']' 10:21:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:21:30 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 10:21:30 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 10:21:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 10:21:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:21:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:31 prd-ubuntu20.04-docker-8c-8g-22526 does not seem to be running inside a container 10:21:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:31 $ docker top cbc1fde19ee9828703a9aa9e17e67ae37cd560a27d9998bc5be7adcc6a5b0978 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:32 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:32 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:32 + ls /var/log/sa-host 10:21:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:32 provisioning config files... 10:21:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17382650719997451600tmp [Pipeline] { [Pipeline] echo 10:21:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:33 ---> create-netrc.sh [Pipeline] } 10:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:33 ---> python-tools-install.sh [Pipeline] echo 10:21:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:33 ---> sudo-logs.sh 10:21:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:34 ---> job-cost.sh 10:21:34 lf-activate-venv: SKIPPING 10:21:34 DEBUG: total: 0.2199999988079071 10:21:34 INFO: Retrieving Stack Cost... 10:21:34 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:34 INFO: Archiving Costs [Pipeline] echo 10:21:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:35 ---> logs-deploy.sh 10:21:35 lf-activate-venv: SKIPPING 10:21:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/176 10:21:35 INFO: archiving workspace using pattern(s): 10:21:36 Archives upload complete. 10:21:36 INFO: archiving logs to Nexus