Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4b0ee577561404748c59762cefd7cd847fb7a9a9 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-ssh18033609712548579082.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-ssh13606369894458917427.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-ssh8185126924076137122.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-ssh16131819120559417824.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-ssh16052838804206966745.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24096 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 4b0ee577561404748c59762cefd7cd847fb7a9a9 (main) Commit message: "Merge pull request #705 from weichou1229/v4-module" > 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 4b0ee577561404748c59762cefd7cd847fb7a9a9 # timeout=10 > git rev-list --no-walk a2016d423b1c70de9c1bd91a5949c98d975b79e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:30:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:30:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:30:14 ========================================================= 06:30:14 EdgeX Global Pipelines Version Info 06:30:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:30:15 ------------------- 06:30:15 stable info: 06:30:15 ------------------- 06:30:15 Commited By: Ginny Guan ginny@iotechsys.com 06:30:15 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:30:15 Message: update stable to v1.0.265 06:30:15 ------------------- 06:30:15 experimental info: 06:30:15 ------------------- 06:30:15 Commited By: Cherry Wang cherry@iotechsys.com 06:30:15 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:30:15 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b0ee57 [Pipeline] echo 06:30:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:16 provisioning config files... 06:30:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12706994286609462429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:16 ---> ****-login.sh 06:30:16 nexus3.edgexfoundry.org:10001 06:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:17 Configure a credential helper to remove this warning. See 06:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:17 06:30:17 Login Succeeded 06:30:17 nexus3.edgexfoundry.org:10002 06:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:17 Configure a credential helper to remove this warning. See 06:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:17 06:30:17 Login Succeeded 06:30:17 nexus3.edgexfoundry.org:10003 06:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:17 Configure a credential helper to remove this warning. See 06:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:17 06:30:17 Login Succeeded 06:30:17 nexus3.edgexfoundry.org:10004 06:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:17 Configure a credential helper to remove this warning. See 06:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:17 06:30:17 Login Succeeded 06:30:17 ****.io 06:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:17 Configure a credential helper to remove this warning. See 06:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:17 06:30:17 Login Succeeded 06:30:17 ---> ****-login.sh ends [Pipeline] } 06:30:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:30:18 + git rev-list -1 --merges 4b0ee577561404748c59762cefd7cd847fb7a9a9~1..4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] echo 06:30:18 -----------> git rev-list -1 --merges 4b0ee577561404748c59762cefd7cd847fb7a9a9~1..4b0ee577561404748c59762cefd7cd847fb7a9a9 4b0ee577561404748c59762cefd7cd847fb7a9a9 06:30:18 4b0ee577561404748c59762cefd7cd847fb7a9a9 [false] [Pipeline] sh 06:30:18 + git log --format=format:%s -1 4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] echo 06:30:18 ========================================================= 06:30:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:30:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:18 + git log --format=format:%s -1 4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] echo 06:30:18 [semverPrep] GIT_COMMIT: 4b0ee577561404748c59762cefd7cd847fb7a9a9, Commit Message: Merge pull request #705 from weichou1229/v4-module [Pipeline] echo 06:30:18 [semverPrep] This is not a build commit. [Pipeline] sh 06:30:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:30:19 + grep -v github /etc/ssh/ssh_known_hosts 06:30:19 + [ -e /tmp/ssh_known_hosts ] 06:30:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:30:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:30:19 + sudo tee -a /etc/ssh/ssh_known_hosts 06:30:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:30:19 06:30:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:30:19 0.1.4: Pulling from edgex-devops/py-git-semver 06:30:19 b85a868b505f: Pulling fs layer 06:30:19 e2be974225ed: Pulling fs layer 06:30:19 339a4e72a1f5: Pulling fs layer 06:30:19 988bab9f4d93: Pulling fs layer 06:30:19 1469e6f7b9e6: Pulling fs layer 06:30:19 988bab9f4d93: Waiting 06:30:19 1469e6f7b9e6: Waiting 06:30:19 eaf3925da568: Pulling fs layer 06:30:19 bab4dde63d76: Pulling fs layer 06:30:19 bde34c3a00c8: Pulling fs layer 06:30:19 b352a97aabf1: Pulling fs layer 06:30:19 eaf3925da568: Waiting 06:30:19 bab4dde63d76: Waiting 06:30:19 4872d77fe225: Pulling fs layer 06:30:19 5851b861e8e6: Pulling fs layer 06:30:19 bde34c3a00c8: Waiting 06:30:19 b352a97aabf1: Waiting 06:30:19 4872d77fe225: Waiting 06:30:19 5851b861e8e6: Waiting 06:30:19 e2be974225ed: Verifying Checksum 06:30:19 e2be974225ed: Download complete 06:30:19 988bab9f4d93: Download complete 06:30:19 1469e6f7b9e6: Verifying Checksum 06:30:19 1469e6f7b9e6: Download complete 06:30:19 eaf3925da568: Verifying Checksum 06:30:19 eaf3925da568: Download complete 06:30:19 339a4e72a1f5: Verifying Checksum 06:30:19 339a4e72a1f5: Download complete 06:30:19 bde34c3a00c8: Verifying Checksum 06:30:19 bde34c3a00c8: Download complete 06:30:20 b352a97aabf1: Verifying Checksum 06:30:20 b352a97aabf1: Download complete 06:30:20 4872d77fe225: Download complete 06:30:20 5851b861e8e6: Download complete 06:30:20 b85a868b505f: Verifying Checksum 06:30:20 b85a868b505f: Download complete 06:30:20 bab4dde63d76: Verifying Checksum 06:30:20 bab4dde63d76: Download complete 06:30:21 b85a868b505f: Pull complete 06:30:21 e2be974225ed: Pull complete 06:30:21 339a4e72a1f5: Pull complete 06:30:21 988bab9f4d93: Pull complete 06:30:22 1469e6f7b9e6: Pull complete 06:30:22 eaf3925da568: Pull complete 06:30:24 bab4dde63d76: Pull complete 06:30:24 bde34c3a00c8: Pull complete 06:30:24 b352a97aabf1: Pull complete 06:30:24 4872d77fe225: Pull complete 06:30:24 5851b861e8e6: Pull complete 06:30:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:30:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:24 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:30:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:30:27 $ docker top 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a -eo pid,comm 06:30:27 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). 06:30:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:30:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:30:27 [ssh-agent] Looking for ssh-agent implementation... 06:30:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:30:27 $ docker exec 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a ssh-agent 06:30:27 SSH_AUTH_SOCK=/tmp/ssh-iV3NDTOY989a/agent.33 06:30:27 SSH_AGENT_PID=39 06:30:27 Running ssh-add (command line suppressed) 06:30:27 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3283023507607132654.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3283023507607132654.key) 06:30:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:30:27 + git tag --points-at HEAD [Pipeline] } 06:30:27 $ docker exec --env ******** --env ******** 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a ssh-agent -k 06:30:27 unset SSH_AUTH_SOCK; 06:30:27 unset SSH_AGENT_PID; 06:30:27 echo Agent pid 39 killed; 06:30:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:30:28 [ssh-agent] Looking for ssh-agent implementation... 06:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:30:28 $ docker exec 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a ssh-agent 06:30:28 SSH_AUTH_SOCK=/tmp/ssh-LZROXjJZ9lyE/agent.72 06:30:28 SSH_AGENT_PID=78 06:30:28 Running ssh-add (command line suppressed) 06:30:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10946493209785642847.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10946493209785642847.key) 06:30:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:30:28 + git semver init 06:30:28 2024-10-30 06:30:28,865 [run_init] DEBUG init version:0.0.0 force:False 06:30:28 2024-10-30 06:30:28,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:30:28 2024-10-30 06:30:28,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:30:28 2024-10-30 06:30:28,867 [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) 06:30:30 2024-10-30 06:30:30,566 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:30:30 2024-10-30 06:30:30,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 06:30:30 2024-10-30 06:30:30,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:30:30 2024-10-30 06:30:30,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:30:30 4.0.0-dev.1 [Pipeline] } 06:30:30 $ docker exec --env ******** --env ******** 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a ssh-agent -k 06:30:30 unset SSH_AUTH_SOCK; 06:30:30 unset SSH_AGENT_PID; 06:30:30 echo Agent pid 78 killed; 06:30:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:30:31 + git semver [Pipeline] } 06:30:31 $ docker stop --time=1 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a 06:30:32 $ docker rm -f --volumes 5f7c71d9c6366a43373e61752eb6fa13a16d9688ed6a9726e6c9a5a43bda009a [Pipeline] // withDockerContainer [Pipeline] sh 06:30:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:30:33 Stashed 1 file(s) [Pipeline] echo 06:30:33 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [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 06:30:33 provisioning config files... 06:30:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5699893513570791021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:33 ---> ****-login.sh 06:30:33 nexus3.edgexfoundry.org:10001 06:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:33 Configure a credential helper to remove this warning. See 06:30:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:33 06:30:33 Login Succeeded 06:30:33 nexus3.edgexfoundry.org:10002 06:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:34 Configure a credential helper to remove this warning. See 06:30:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:34 06:30:34 Login Succeeded 06:30:34 nexus3.edgexfoundry.org:10003 06:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:35 Configure a credential helper to remove this warning. See 06:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:35 06:30:35 Login Succeeded 06:30:35 nexus3.edgexfoundry.org:10004 06:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:35 Configure a credential helper to remove this warning. See 06:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:35 06:30:35 Login Succeeded 06:30:35 ****.io 06:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:35 Configure a credential helper to remove this warning. See 06:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:35 06:30:35 Login Succeeded 06:30:35 ---> ****-login.sh ends [Pipeline] } 06:30:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:30:35 ========================================================= 06:30:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:30:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:35 + 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 . 06:30:35 Sending build context to Docker daemon 20.94MB 06:30:35 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:30:35 Step 2/12 : FROM ${BASE} AS builder 06:30:35 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:30:35 43c4264eed91: Pulling fs layer 06:30:35 4cc291be95ef: Pulling fs layer 06:30:35 2ac1f1163629: Pulling fs layer 06:30:35 5c3c966382ef: Pulling fs layer 06:30:35 4f4fb700ef54: Pulling fs layer 06:30:35 5d5c8e513c77: Pulling fs layer 06:30:35 9f66e0745190: Pulling fs layer 06:30:35 f49a43e4bbc0: Pulling fs layer 06:30:35 561ebcabdf7f: Pulling fs layer 06:30:35 5c3c966382ef: Waiting 06:30:35 9f66e0745190: Waiting 06:30:35 f49a43e4bbc0: Waiting 06:30:35 561ebcabdf7f: Waiting 06:30:35 4f4fb700ef54: Waiting 06:30:35 5d5c8e513c77: Waiting 06:30:36 4cc291be95ef: Download complete 06:30:36 5c3c966382ef: Download complete 06:30:36 4f4fb700ef54: Verifying Checksum 06:30:36 4f4fb700ef54: Download complete 06:30:36 5d5c8e513c77: Download complete 06:30:36 43c4264eed91: Download complete 06:30:36 9f66e0745190: Verifying Checksum 06:30:36 9f66e0745190: Download complete 06:30:36 43c4264eed91: Pull complete 06:30:36 561ebcabdf7f: Verifying Checksum 06:30:36 561ebcabdf7f: Download complete 06:30:36 4cc291be95ef: Pull complete 06:30:36 2ac1f1163629: Verifying Checksum 06:30:36 2ac1f1163629: Download complete 06:30:36 f49a43e4bbc0: Verifying Checksum 06:30:36 f49a43e4bbc0: Download complete 06:30:40 2ac1f1163629: Pull complete 06:30:40 5c3c966382ef: Pull complete 06:30:40 4f4fb700ef54: Pull complete 06:30:40 5d5c8e513c77: Pull complete 06:30:40 9f66e0745190: Pull complete 06:30:42 f49a43e4bbc0: Pull complete 06:30:43 561ebcabdf7f: Pull complete 06:30:43 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:30:43 ---> 3a752c3f9dda 06:30:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:30:47 ---> Running in 66cbc930667e 06:30:47 Removing intermediate container 66cbc930667e 06:30:47 ---> 8a9af395915e 06:30:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:30:47 ---> Running in 7697128b1474 06:30:47 Removing intermediate container 7697128b1474 06:30:47 ---> 5778b23c341f 06:30:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:30:47 ---> Running in 0769f773e313 06:30:47 Removing intermediate container 0769f773e313 06:30:47 ---> ab3648e45582 06:30:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:30:47 ---> Running in c244f4faebcd 06:30:47 Removing intermediate container c244f4faebcd 06:30:47 ---> 4d1d879be318 06:30:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:47 ---> Running in 79fbf357b093 06:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:30:47 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:30:47 (2/4) Installing libedit (20240517.3.1-r0) 06:30:47 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:30:47 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:30:47 Executing busybox-1.36.1-r29.trigger 06:30:47 OK: 250 MiB in 58 packages 06:30:48 Removing intermediate container 79fbf357b093 06:30:48 ---> b7e73c255a2c 06:30:48 Step 8/12 : WORKDIR /device-mqtt-go 06:30:48 ---> Running in 5cab4d8484ff 06:30:48 Removing intermediate container 5cab4d8484ff 06:30:48 ---> dbd700d387c4 06:30:48 Step 9/12 : COPY go.mod vendor* ./ 06:30:48 Still waiting to schedule task 06:30:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:30:48 ---> 6bdc3817f8e8 06:30:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:30:48 ---> Running in d003576c9aa5 06:31:37 Removing intermediate container d003576c9aa5 06:31:37 ---> 2589c51c5d22 06:31:37 Step 11/12 : COPY . . 06:31:37 ---> 0403ad9a5b0f 06:31:37 Step 12/12 : RUN $MAKE 06:31:37 ---> Running in fcaa63d43955 06:31:37 noop 06:31:37 Removing intermediate container fcaa63d43955 06:31:37 ---> 73fc7b403ce8 06:31:37 Successfully built 73fc7b403ce8 06:31:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:38 + docker inspect -f . ci-base-image-x86_64 06:31:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:38 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:31:38 $ docker top e955e2e528d59ec61a63634b0a5a1f45a51e2b4d3b301d6f97ca0b3b0eee0d59 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:38 + go version 06:31:38 go version go1.23.2 linux/amd64 [Pipeline] } 06:31:39 $ docker stop --time=1 e955e2e528d59ec61a63634b0a5a1f45a51e2b4d3b301d6f97ca0b3b0eee0d59 06:31:40 $ docker rm -f --volumes e955e2e528d59ec61a63634b0a5a1f45a51e2b4d3b301d6f97ca0b3b0eee0d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:40 + docker inspect -f . ci-base-image-x86_64 06:31:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:40 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:31:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:31:41 $ docker top 66590264969e0c278219458f7669ee1e125bba00490fddd1ca69d7c0fc6346e0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 06:31:41 + make test 06:31:41 go test ./... -coverprofile=coverage.out ./... 06:31:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:32:03 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 06:32:03 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 06:32:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 22.8% of statements 06:32:15 go vet ./... 06:32:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:32:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:32:21 ./bin/test-attribution-txt.sh [Pipeline] echo 06:32:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:32:21 $ docker stop --time=1 66590264969e0c278219458f7669ee1e125bba00490fddd1ca69d7c0fc6346e0 06:32:24 $ docker rm -f --volumes 66590264969e0c278219458f7669ee1e125bba00490fddd1ca69d7c0fc6346e0 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:32:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:32:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:26 + ls -al . 06:32:26 total 264 06:32:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 06:31 . 06:32:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:30 .. 06:32:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:30 .dockerignore 06:32:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:32 .git 06:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:30 .github 06:32:26 -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 06:30 .gitignore 06:32:26 -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 06:30 .golangci.yml 06:32:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:30 .semver 06:32:26 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 30 06:30 Attribution.txt 06:32:26 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 30 06:30 CHANGELOG.md 06:32:26 -rw-rw-r-- 1 jenkins jenkins 1803 Oct 30 06:30 Dockerfile 06:32:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:30 GOVERNANCE.md 06:32:26 -rw-rw-r-- 1 jenkins jenkins 657 Oct 30 06:30 Jenkinsfile 06:32:26 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:30 LICENSE 06:32:26 -rw-rw-r-- 1 jenkins jenkins 2500 Oct 30 06:30 Makefile 06:32:26 -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 06:30 OWNERS.md 06:32:26 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 30 06:30 README.md 06:32:26 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 06:30 VERSION 06:32:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:30 bin 06:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:30 cmd 06:32:26 -rw-r--r-- 1 jenkins jenkins 21039 Oct 30 06:32 coverage.out 06:32:26 -rw-rw-r-- 1 jenkins jenkins 7030 Oct 30 06:30 go.mod 06:32:26 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 06:30 go.sum 06:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:30 internal 06:32:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:30 mock 06:32:26 -rw-rw-r-- 1 jenkins jenkins 227 Oct 30 06:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:26 + 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=4b0ee577561404748c59762cefd7cd847fb7a9a9 --label arch=amd64 --label version=4.0.0-dev.1 . 06:32:26 Sending build context to Docker daemon 20.97MB 06:32:26 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 06:32:26 Step 2/25 : FROM ${BASE} AS builder 06:32:26 ---> 73fc7b403ce8 06:32:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:32:26 ---> Running in 54e396f88cf5 06:32:26 Removing intermediate container 54e396f88cf5 06:32:26 ---> cf2a62861081 06:32:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:32:26 ---> Running in b46add0ca0fa 06:32:26 Removing intermediate container b46add0ca0fa 06:32:26 ---> 62d15552b59b 06:32:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:32:26 ---> Running in a76d79418470 06:32:26 Removing intermediate container a76d79418470 06:32:26 ---> d6d870a16c10 06:32:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:32:27 ---> Running in 4f2c433576e9 06:32:27 Removing intermediate container 4f2c433576e9 06:32:27 ---> 94f2802e82b2 06:32:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:27 ---> Running in 1fb9147acba2 06:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:32:27 OK: 250 MiB in 58 packages 06:32:28 Removing intermediate container 1fb9147acba2 06:32:28 ---> 1bdb9fcedad3 06:32:28 Step 8/25 : WORKDIR /device-mqtt-go 06:32:28 ---> Running in 2204a7242579 06:32:28 Removing intermediate container 2204a7242579 06:32:28 ---> c7f49440a5c7 06:32:28 Step 9/25 : COPY go.mod vendor* ./ 06:32:28 ---> 39da67a1b815 06:32:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:28 ---> Running in a2e00e8c96be 06:32:29 Removing intermediate container a2e00e8c96be 06:32:29 ---> e965bb8c9e62 06:32:29 Step 11/25 : COPY . . 06:32:29 ---> 4c2bd98865e0 06:32:29 Step 12/25 : RUN $MAKE 06:32:29 ---> Running in 1b01ee22ac70 06:32:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd 06:33:08 Removing intermediate container 1b01ee22ac70 06:33:08 ---> 9e7411a7ae0d 06:33:08 Step 13/25 : FROM alpine:3.20 06:33:08 3.20: Pulling from library/alpine 06:33:08 43c4264eed91: Already exists 06:33:08 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:33:08 Status: Downloaded newer image for alpine:3.20 06:33:08 ---> 91ef0af61f39 06:33:08 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 06:33:08 ---> Running in 86a49d32ed3f 06:33:08 Removing intermediate container 86a49d32ed3f 06:33:08 ---> 189830d8b0ef 06:33:08 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:33:08 ---> Running in 8b5520f149a6 06:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:33:08 (1/1) Installing dumb-init (1.2.5-r3) 06:33:08 Executing busybox-1.36.1-r29.trigger 06:33:08 OK: 8 MiB in 15 packages 06:33:08 Removing intermediate container 8b5520f149a6 06:33:08 ---> 3476729cce48 06:33:08 Step 16/25 : RUN apk --no-cache upgrade 06:33:08 ---> Running in cdcb9fe919c4 06:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:33:08 Upgrading critical system libraries and apk-tools: 06:33:08 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:33:08 Executing busybox-1.36.1-r29.trigger 06:33:08 Continuing the upgrade transaction with new apk-tools: 06:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:33:08 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:33:08 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:33:08 OK: 8 MiB in 15 packages 06:33:08 Removing intermediate container cdcb9fe919c4 06:33:08 ---> 2f3ad5bc9715 06:33:08 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 06:33:08 ---> 407f3e272230 06:33:08 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 06:33:08 ---> 49eb057ed21e 06:33:08 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:33:08 ---> 975537daee52 06:33:08 Step 20/25 : EXPOSE 59982 06:33:08 ---> Running in 9ec97176a5cb 06:33:08 Removing intermediate container 9ec97176a5cb 06:33:08 ---> cf23498acc98 06:33:08 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 06:33:08 ---> Running in 156c29e9f874 06:33:08 Removing intermediate container 156c29e9f874 06:33:08 ---> f379876e8eb1 06:33:08 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:33:08 ---> Running in 7eae1dae73f9 06:33:08 Removing intermediate container 7eae1dae73f9 06:33:08 ---> c9a3096d4053 06:33:08 Step 23/25 : LABEL arch=amd64 06:33:08 ---> Running in e68bd16b0b65 06:33:08 Removing intermediate container e68bd16b0b65 06:33:08 ---> dbf564c25c9d 06:33:08 Step 24/25 : LABEL git_sha=4b0ee577561404748c59762cefd7cd847fb7a9a9 06:33:08 ---> Running in 68db7dd24588 06:33:08 Removing intermediate container 68db7dd24588 06:33:08 ---> 3d97ada9ac2e 06:33:08 Step 25/25 : LABEL version=4.0.0-dev.1 06:33:08 ---> Running in 49d2f44b9b65 06:33:08 Removing intermediate container 49d2f44b9b65 06:33:08 ---> 5f1cfea2e061 06:33:08 [Warning] One or more build-args [ARCH] were not consumed 06:33:08 Successfully built 5f1cfea2e061 06:33:08 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:08 provisioning config files... 06:33:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14349209073534052012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:09 ---> ****-login.sh 06:33:09 nexus3.edgexfoundry.org:10001 06:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:09 Configure a credential helper to remove this warning. See 06:33:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:09 06:33:09 Login Succeeded 06:33:09 nexus3.edgexfoundry.org:10002 06:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:09 Configure a credential helper to remove this warning. See 06:33:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:09 06:33:09 Login Succeeded 06:33:09 nexus3.edgexfoundry.org:10003 06:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:09 Configure a credential helper to remove this warning. See 06:33:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:09 06:33:09 Login Succeeded 06:33:09 nexus3.edgexfoundry.org:10004 06:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:09 Configure a credential helper to remove this warning. See 06:33:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:09 06:33:09 Login Succeeded 06:33:09 ****.io 06:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:09 Configure a credential helper to remove this warning. See 06:33:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:09 06:33:09 Login Succeeded 06:33:09 ---> ****-login.sh ends [Pipeline] } 06:33:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:33:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:33:09 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:33:09 4b0ee577561404748c59762cefd7cd847fb7a9a9 06:33:09 latest 06:33:09 4.0.0-dev.1 06:33:09 4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 06:33:09 main 06:33:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4b0ee577561404748c59762cefd7cd847fb7a9a9 06:33:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:33:10 50007212cbf1: Preparing 06:33:10 20559db4a8ce: Preparing 06:33:10 45839e6ff589: Preparing 06:33:10 ba656caf0787: Preparing 06:33:10 5167c0b7da5d: Preparing 06:33:10 63ca1fbb43ae: Preparing 06:33:10 63ca1fbb43ae: Waiting 06:33:10 5167c0b7da5d: Pushed 06:33:10 20559db4a8ce: Pushed 06:33:10 50007212cbf1: Pushed 06:33:10 63ca1fbb43ae: Layer already exists 06:33:11 ba656caf0787: Pushed 06:33:15 45839e6ff589: Pushed 06:33:15 4b0ee577561404748c59762cefd7cd847fb7a9a9: digest: sha256:e16ed8248d14e56b2f4897885adc2cff56019f16a9c7fd6ef32b424a3623679d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:33:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:33:16 50007212cbf1: Preparing 06:33:16 20559db4a8ce: Preparing 06:33:16 45839e6ff589: Preparing 06:33:16 ba656caf0787: Preparing 06:33:16 5167c0b7da5d: Preparing 06:33:16 63ca1fbb43ae: Preparing 06:33:16 63ca1fbb43ae: Waiting 06:33:16 5167c0b7da5d: Layer already exists 06:33:16 50007212cbf1: Layer already exists 06:33:16 45839e6ff589: Layer already exists 06:33:16 ba656caf0787: Layer already exists 06:33:16 20559db4a8ce: Layer already exists 06:33:16 63ca1fbb43ae: Layer already exists 06:33:16 latest: digest: sha256:e16ed8248d14e56b2f4897885adc2cff56019f16a9c7fd6ef32b424a3623679d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.1 06:33:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:33:16 50007212cbf1: Preparing 06:33:16 20559db4a8ce: Preparing 06:33:16 45839e6ff589: Preparing 06:33:16 ba656caf0787: Preparing 06:33:16 5167c0b7da5d: Preparing 06:33:16 63ca1fbb43ae: Preparing 06:33:16 63ca1fbb43ae: Waiting 06:33:16 45839e6ff589: Layer already exists 06:33:16 ba656caf0787: Layer already exists 06:33:16 50007212cbf1: Layer already exists 06:33:16 20559db4a8ce: Layer already exists 06:33:16 5167c0b7da5d: Layer already exists 06:33:16 63ca1fbb43ae: Layer already exists 06:33:16 4.0.0-dev.1: digest: sha256:e16ed8248d14e56b2f4897885adc2cff56019f16a9c7fd6ef32b424a3623679d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 06:33:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:33:17 50007212cbf1: Preparing 06:33:17 20559db4a8ce: Preparing 06:33:17 45839e6ff589: Preparing 06:33:17 ba656caf0787: Preparing 06:33:17 5167c0b7da5d: Preparing 06:33:17 63ca1fbb43ae: Preparing 06:33:17 63ca1fbb43ae: Waiting 06:33:17 45839e6ff589: Layer already exists 06:33:17 50007212cbf1: Layer already exists 06:33:17 20559db4a8ce: Layer already exists 06:33:17 ba656caf0787: Layer already exists 06:33:17 5167c0b7da5d: Layer already exists 06:33:17 63ca1fbb43ae: Layer already exists 06:33:17 4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1: digest: sha256:e16ed8248d14e56b2f4897885adc2cff56019f16a9c7fd6ef32b424a3623679d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:33:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:33:18 50007212cbf1: Preparing 06:33:18 20559db4a8ce: Preparing 06:33:18 45839e6ff589: Preparing 06:33:18 ba656caf0787: Preparing 06:33:18 5167c0b7da5d: Preparing 06:33:18 63ca1fbb43ae: Preparing 06:33:18 63ca1fbb43ae: Waiting 06:33:18 45839e6ff589: Layer already exists 06:33:18 ba656caf0787: Layer already exists 06:33:18 5167c0b7da5d: Layer already exists 06:33:18 20559db4a8ce: Layer already exists 06:33:18 50007212cbf1: Layer already exists 06:33:18 63ca1fbb43ae: Layer already exists 06:33:18 main: digest: sha256:e16ed8248d14e56b2f4897885adc2cff56019f16a9c7fd6ef32b424a3623679d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:33:18 ===================================================== [Pipeline] echo 06:33:18 taggedImages: 06:33:18 - nexus3.edgexfoundry.org:10004/device-mqtt:4b0ee577561404748c59762cefd7cd847fb7a9a9 06:33:18 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:33:18 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.1 06:33:18 - nexus3.edgexfoundry.org:10004/device-mqtt:4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 06:33:18 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:18 06:33:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:18 latest: Pulling from edgex-lftools-log-publisher 06:33:18 5eb5b503b376: Pulling fs layer 06:33:18 5c69ac0246d0: Pulling fs layer 06:33:18 ec43610c2a17: Pulling fs layer 06:33:18 3a2ae6a8a46f: Pulling fs layer 06:33:18 33b1e0a273af: Pulling fs layer 06:33:18 5d3b04190fa2: Pulling fs layer 06:33:18 2f39f015ded8: Pulling fs layer 06:33:18 33b1e0a273af: Waiting 06:33:18 5d3b04190fa2: Waiting 06:33:18 2f39f015ded8: Waiting 06:33:18 3a2ae6a8a46f: Waiting 06:33:18 5c69ac0246d0: Verifying Checksum 06:33:18 5c69ac0246d0: Download complete 06:33:18 3a2ae6a8a46f: Verifying Checksum 06:33:18 3a2ae6a8a46f: Download complete 06:33:18 33b1e0a273af: Verifying Checksum 06:33:18 33b1e0a273af: Download complete 06:33:18 5d3b04190fa2: Download complete 06:33:18 ec43610c2a17: Verifying Checksum 06:33:18 ec43610c2a17: Download complete 06:33:19 5eb5b503b376: Verifying Checksum 06:33:19 5eb5b503b376: Download complete 06:33:19 2f39f015ded8: Download complete 06:33:20 5eb5b503b376: Pull complete 06:33:20 5c69ac0246d0: Pull complete 06:33:20 ec43610c2a17: Pull complete 06:33:20 3a2ae6a8a46f: Pull complete 06:33:21 33b1e0a273af: Pull complete 06:33:21 5d3b04190fa2: Pull complete 06:33:26 2f39f015ded8: Pull complete 06:33:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:33:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:26 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:33:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:33:29 $ docker top 61f915e31868490470ddd6a738f450aac35eb2ff87a62b7bb1f80f039e39433d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:30 ---> job-cost.sh 06:33:30 lf-activate-venv: SKIPPING 06:33:30 INFO: No Stack... 06:33:30 INFO: Retrieving Pricing Info for: v3-standard-8 06:33:31 INFO: Archiving Costs [Pipeline] sh 06:33:31 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:33:31 + cut -d, -f6 [Pipeline] lock 06:33:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] 06:33:31 Resource [jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] did not exist. Created. 06:33:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:33:31 + echo total: 0.2199999988079071 [Pipeline] stash 06:33:31 Stashed 1 file(s) [Pipeline] } 06:33:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 06:33:31 $ docker stop --time=1 61f915e31868490470ddd6a738f450aac35eb2ff87a62b7bb1f80f039e39433d 06:33:32 $ docker rm -f --volumes 61f915e31868490470ddd6a738f450aac35eb2ff87a62b7bb1f80f039e39433d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24097 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:34:36 Running in /w/workspace/device-mqtt-go/179 [Pipeline] { [Pipeline] checkout 06:34:39 The recommended git tool is: git 06:34:44 using credential edgex-jenkins-ssh 06:34:44 Cloning the remote Git repository 06:34:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:34:44 > git init /w/workspace/device-mqtt-go/179 # timeout=10 06:34:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:34:44 > git --version # timeout=10 06:34:44 > git --version # 'git version 2.25.1' 06:34:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:34:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:34:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:34:48 Avoid second fetch 06:34:48 Checking out Revision 4b0ee577561404748c59762cefd7cd847fb7a9a9 (main) 06:34:49 Commit message: "Merge pull request #705 from weichou1229/v4-module" 06:34:48 > git config core.sparsecheckout # timeout=10 06:34:48 > git checkout -f 4b0ee577561404748c59762cefd7cd847fb7a9a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:34:54 % Total % Received % Xferd Average Speed Time Time Time Current 06:34:54 Dload Upload Total Spent Left Speed 06:34:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 06:34:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:34:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:34:54 + sudo tee /etc/docker/daemon.new 06:34:54 { 06:34:54 "registry-mirrors": [ 06:34:54 "https://nexus3.edgexfoundry.org:10001" 06:34:54 ], 06:34:54 "bip": "10.250.0.254/24", 06:34:54 "hosts": [ 06:34:54 "tcp://0.0.0.0:5555", 06:34:54 "unix:///var/run/docker.sock" 06:34:54 ], 06:34:54 "mtu": 1458, 06:34:54 "selinux-enabled": true, 06:34:54 "seccomp-profile": "/etc/docker/seccomp.json" 06:34:54 } [Pipeline] sh 06:34:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:34:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:13 provisioning config files... 06:35:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/179@tmp/config15913647131781451292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:14 ---> ****-login.sh 06:35:14 nexus3.edgexfoundry.org:10001 06:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:14 Configure a credential helper to remove this warning. See 06:35:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:14 06:35:14 Login Succeeded 06:35:14 nexus3.edgexfoundry.org:10002 06:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:15 Configure a credential helper to remove this warning. See 06:35:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:15 06:35:15 Login Succeeded 06:35:15 nexus3.edgexfoundry.org:10003 06:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:15 Configure a credential helper to remove this warning. See 06:35:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:15 06:35:15 Login Succeeded 06:35:15 nexus3.edgexfoundry.org:10004 06:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:15 Configure a credential helper to remove this warning. See 06:35:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:15 06:35:15 Login Succeeded 06:35:15 ****.io 06:35:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:16 Configure a credential helper to remove this warning. See 06:35:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:16 06:35:16 Login Succeeded 06:35:16 ---> ****-login.sh ends [Pipeline] } 06:35:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:35:16 ========================================================= 06:35:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:35:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:17 + 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 . 06:35:17 Sending build context to Docker daemon 10.59MB 06:35:17 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:35:17 Step 2/12 : FROM ${BASE} AS builder 06:35:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:35:17 cf04c63912e1: Pulling fs layer 06:35:17 55b35a11ae5e: Pulling fs layer 06:35:17 a37a00ec5f00: Pulling fs layer 06:35:17 50b3750afda1: Pulling fs layer 06:35:17 4f4fb700ef54: Pulling fs layer 06:35:17 80978eb59214: Pulling fs layer 06:35:17 c9f46d7d2bd2: Pulling fs layer 06:35:17 c5a475d317c9: Pulling fs layer 06:35:17 80978eb59214: Waiting 06:35:17 50b3750afda1: Waiting 06:35:17 c9f46d7d2bd2: Waiting 06:35:17 c5a475d317c9: Waiting 06:35:17 4f4fb700ef54: Waiting 06:35:17 55b35a11ae5e: Verifying Checksum 06:35:17 55b35a11ae5e: Download complete 06:35:18 50b3750afda1: Verifying Checksum 06:35:18 50b3750afda1: Download complete 06:35:18 4f4fb700ef54: Verifying Checksum 06:35:18 4f4fb700ef54: Download complete 06:35:18 80978eb59214: Verifying Checksum 06:35:18 80978eb59214: Download complete 06:35:18 cf04c63912e1: Verifying Checksum 06:35:18 cf04c63912e1: Download complete 06:35:18 c5a475d317c9: Verifying Checksum 06:35:18 c5a475d317c9: Download complete 06:35:18 cf04c63912e1: Pull complete 06:35:19 55b35a11ae5e: Pull complete 06:35:20 a37a00ec5f00: Verifying Checksum 06:35:20 a37a00ec5f00: Download complete 06:35:21 c9f46d7d2bd2: Verifying Checksum 06:35:21 c9f46d7d2bd2: Download complete 06:35:36 a37a00ec5f00: Pull complete 06:35:36 50b3750afda1: Pull complete 06:35:36 4f4fb700ef54: Pull complete 06:35:36 80978eb59214: Pull complete 06:35:42 c9f46d7d2bd2: Pull complete 06:35:44 c5a475d317c9: Pull complete 06:35:44 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 06:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:35:44 ---> be29e6b0f0d4 06:35:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:35:45 ---> Running in eb5cfa7e6de0 06:35:46 Removing intermediate container eb5cfa7e6de0 06:35:46 ---> fda57a331f04 06:35:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:35:46 ---> Running in f662a1417441 06:35:46 Removing intermediate container f662a1417441 06:35:46 ---> 51f0fe246c5b 06:35:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:35:46 ---> Running in d28e6071df07 06:35:46 Removing intermediate container d28e6071df07 06:35:46 ---> 4df797f5e39d 06:35:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:35:47 ---> Running in 757835aba7d0 06:35:47 Removing intermediate container 757835aba7d0 06:35:47 ---> 67f926be2d1a 06:35:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:47 ---> Running in 9b8293e403a0 06:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:35:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:35:50 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:35:50 (2/4) Installing libedit (20240517.3.1-r0) 06:35:50 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:35:50 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:35:50 Executing busybox-1.36.1-r29.trigger 06:35:50 OK: 242 MiB in 58 packages 06:35:51 Removing intermediate container 9b8293e403a0 06:35:51 ---> 3420dca9de83 06:35:51 Step 8/12 : WORKDIR /device-mqtt-go 06:35:51 ---> Running in 5f90b4190686 06:35:51 Removing intermediate container 5f90b4190686 06:35:51 ---> 0740cf7fd4b0 06:35:51 Step 9/12 : COPY go.mod vendor* ./ 06:35:52 ---> 61fbcd3c2419 06:35:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:52 ---> Running in eea1aac3ed6f 06:37:44 Removing intermediate container eea1aac3ed6f 06:37:44 ---> 2a0921f79bbe 06:37:44 Step 11/12 : COPY . . 06:37:44 ---> e89db434e599 06:37:44 Step 12/12 : RUN $MAKE 06:37:44 ---> Running in e9cd5d4b27d5 06:37:44 noop 06:37:44 Removing intermediate container e9cd5d4b27d5 06:37:44 ---> dae45488f66c 06:37:44 Successfully built dae45488f66c 06:37:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:44 + docker inspect -f . ci-base-image-arm64 06:37:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:44 prd-ubuntu20.04-docker-arm64-4c-16g-24097 does not seem to be running inside a container 06:37:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/179 -v /w/workspace/device-mqtt-go/179:/w/workspace/device-mqtt-go/179:rw,z -v /w/workspace/device-mqtt-go/179@tmp:/w/workspace/device-mqtt-go/179@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 06:37:46 $ docker top 7c60217e12a80abdeedbe37c973eb3545d821398f9d4208cdc18385fdd17c9db -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:47 + go version 06:37:47 go version go1.23.2 linux/arm64 [Pipeline] } 06:37:47 $ docker stop --time=1 7c60217e12a80abdeedbe37c973eb3545d821398f9d4208cdc18385fdd17c9db 06:37:49 $ docker rm -f --volumes 7c60217e12a80abdeedbe37c973eb3545d821398f9d4208cdc18385fdd17c9db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:50 + docker inspect -f . ci-base-image-arm64 06:37:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:50 prd-ubuntu20.04-docker-arm64-4c-16g-24097 does not seem to be running inside a container 06:37:50 $ 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/179 -v /w/workspace/device-mqtt-go/179:/w/workspace/device-mqtt-go/179:rw,z -v /w/workspace/device-mqtt-go/179@tmp:/w/workspace/device-mqtt-go/179@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 06:37:51 $ docker top cb59545cfc7051e793ba07e6bef074c20ea55bb397c1e8f698cb289501582c10 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/179 [Pipeline] fileExists [Pipeline] sh 06:37:53 + make test 06:37:53 go test ./... -coverprofile=coverage.out ./... 06:37:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:41:36 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 06:41:36 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 06:41:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 22.8% of statements 06:41:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:41:36 go vet ./... 06:42:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:42:23 $ docker stop --time=1 cb59545cfc7051e793ba07e6bef074c20ea55bb397c1e8f698cb289501582c10 06:42:25 $ docker rm -f --volumes cb59545cfc7051e793ba07e6bef074c20ea55bb397c1e8f698cb289501582c10 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:27 Warning: overwriting stash ‘coverage-report’ 06:42:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:28 + ls -al . 06:42:28 total 260 06:42:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:37 . 06:42:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:34 .. 06:42:28 -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:34 .dockerignore 06:42:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:34 .git 06:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:34 .github 06:42:28 -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 06:34 .gitignore 06:42:28 -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 06:34 .golangci.yml 06:42:28 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 30 06:34 Attribution.txt 06:42:28 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 30 06:34 CHANGELOG.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 1803 Oct 30 06:34 Dockerfile 06:42:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:34 GOVERNANCE.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 657 Oct 30 06:34 Jenkinsfile 06:42:28 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:34 LICENSE 06:42:28 -rw-rw-r-- 1 jenkins jenkins 2500 Oct 30 06:34 Makefile 06:42:28 -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 06:34 OWNERS.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 30 06:34 README.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 06:30 VERSION 06:42:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:34 bin 06:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:34 cmd 06:42:28 -rw-r--r-- 1 jenkins jenkins 21039 Oct 30 06:41 coverage.out 06:42:28 -rw-rw-r-- 1 jenkins jenkins 7030 Oct 30 06:34 go.mod 06:42:28 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 06:34 go.sum 06:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:34 internal 06:42:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:34 mock 06:42:28 -rw-rw-r-- 1 jenkins jenkins 227 Oct 30 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:28 + 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=4b0ee577561404748c59762cefd7cd847fb7a9a9 --label arch=arm64 --label version=4.0.0-dev.1 . 06:42:29 Sending build context to Docker daemon 10.61MB 06:42:29 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 06:42:29 Step 2/25 : FROM ${BASE} AS builder 06:42:29 ---> dae45488f66c 06:42:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:42:29 ---> Running in 5cb138d1ff9a 06:42:29 Removing intermediate container 5cb138d1ff9a 06:42:29 ---> b243b5336f15 06:42:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:42:29 ---> Running in 71ca95001fb9 06:42:30 Removing intermediate container 71ca95001fb9 06:42:30 ---> b94e37107ddd 06:42:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:42:30 ---> Running in de03e186b373 06:42:30 Removing intermediate container de03e186b373 06:42:30 ---> f321d3b10621 06:42:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:42:30 ---> Running in ece5f6e113cf 06:42:30 Removing intermediate container ece5f6e113cf 06:42:30 ---> 53ab3eb0daf9 06:42:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:42:30 ---> Running in 6c407d3606bc 06:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:42:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:42:33 OK: 242 MiB in 58 packages 06:42:34 Removing intermediate container 6c407d3606bc 06:42:34 ---> 68111c3bc3d8 06:42:34 Step 8/25 : WORKDIR /device-mqtt-go 06:42:34 ---> Running in e63408421670 06:42:34 Removing intermediate container e63408421670 06:42:34 ---> fec31194af85 06:42:34 Step 9/25 : COPY go.mod vendor* ./ 06:42:35 ---> cad06eb12cee 06:42:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:35 ---> Running in 46f0bacbdb34 06:42:38 Removing intermediate container 46f0bacbdb34 06:42:38 ---> e27dfba2a993 06:42:38 Step 11/25 : COPY . . 06:42:38 ---> edb3043a00b0 06:42:38 Step 12/25 : RUN $MAKE 06:42:38 ---> Running in 329944c908e6 06:42:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd 06:46:17 Removing intermediate container 329944c908e6 06:46:17 ---> c35cb6163b6f 06:46:17 Step 13/25 : FROM alpine:3.20 06:46:17 3.20: Pulling from library/alpine 06:46:17 cf04c63912e1: Already exists 06:46:17 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:46:17 Status: Downloaded newer image for alpine:3.20 06:46:17 ---> c157a85ed455 06:46:17 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 06:46:17 ---> Running in 705a97ca6c12 06:46:17 Removing intermediate container 705a97ca6c12 06:46:17 ---> 3de6e422c102 06:46:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:46:17 ---> Running in 9a3beb939992 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:46:17 (1/1) Installing dumb-init (1.2.5-r3) 06:46:17 Executing busybox-1.36.1-r29.trigger 06:46:17 OK: 9 MiB in 15 packages 06:46:17 Removing intermediate container 9a3beb939992 06:46:17 ---> 588759c93aa8 06:46:17 Step 16/25 : RUN apk --no-cache upgrade 06:46:17 ---> Running in 4711f0efe1c9 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:46:17 Upgrading critical system libraries and apk-tools: 06:46:17 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:46:17 Executing busybox-1.36.1-r29.trigger 06:46:17 Continuing the upgrade transaction with new apk-tools: 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:46:17 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:46:17 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:46:17 OK: 9 MiB in 15 packages 06:46:17 Removing intermediate container 4711f0efe1c9 06:46:17 ---> e3e0353b6893 06:46:17 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 06:46:20 ---> c50f64c826d8 06:46:20 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 06:46:21 ---> 3cd9aab8ba8b 06:46:21 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:46:21 ---> 1ff20a08560d 06:46:21 Step 20/25 : EXPOSE 59982 06:46:21 ---> Running in 05c6db6c71c5 06:46:21 Removing intermediate container 05c6db6c71c5 06:46:21 ---> 806be890c680 06:46:21 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 06:46:21 ---> Running in cbe743c3248d 06:46:22 Removing intermediate container cbe743c3248d 06:46:22 ---> 5bcebea2f17b 06:46:22 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:46:22 ---> Running in fd10e9666401 06:46:22 Removing intermediate container fd10e9666401 06:46:22 ---> 93c75a1f0685 06:46:22 Step 23/25 : LABEL arch=arm64 06:46:22 ---> Running in 1b608390340f 06:46:23 Removing intermediate container 1b608390340f 06:46:23 ---> 7a7a80bb7851 06:46:23 Step 24/25 : LABEL git_sha=4b0ee577561404748c59762cefd7cd847fb7a9a9 06:46:23 ---> Running in 09784a92a2cd 06:46:23 Removing intermediate container 09784a92a2cd 06:46:23 ---> 2ae2042243da 06:46:23 Step 25/25 : LABEL version=4.0.0-dev.1 06:46:23 ---> Running in cda7314ca419 06:46:23 Removing intermediate container cda7314ca419 06:46:23 ---> a1a444a41240 06:46:23 [Warning] One or more build-args [ARCH] were not consumed 06:46:23 Successfully built a1a444a41240 06:46: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 06:46:23 provisioning config files... 06:46:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/179@tmp/config16470972857997829154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:24 ---> ****-login.sh 06:46:24 nexus3.edgexfoundry.org:10001 06:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:24 Configure a credential helper to remove this warning. See 06:46:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:24 06:46:24 Login Succeeded 06:46:24 nexus3.edgexfoundry.org:10002 06:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:24 Configure a credential helper to remove this warning. See 06:46:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:24 06:46:24 Login Succeeded 06:46:24 nexus3.edgexfoundry.org:10003 06:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:25 Configure a credential helper to remove this warning. See 06:46:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:25 06:46:25 Login Succeeded 06:46:25 nexus3.edgexfoundry.org:10004 06:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:25 Configure a credential helper to remove this warning. See 06:46:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:25 06:46:25 Login Succeeded 06:46:25 ****.io 06:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:26 Configure a credential helper to remove this warning. See 06:46:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:26 06:46:26 Login Succeeded 06:46:26 ---> ****-login.sh ends [Pipeline] } 06:46:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:46:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:46:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:46:26 4b0ee577561404748c59762cefd7cd847fb7a9a9 06:46:26 latest 06:46:26 4.0.0-dev.1 06:46:26 4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 06:46:26 main 06:46:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4b0ee577561404748c59762cefd7cd847fb7a9a9 06:46:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:46:27 65a983f90974: Preparing 06:46:27 b4c7b04be86f: Preparing 06:46:27 27f65ffdb1ae: Preparing 06:46:27 9f77162268f2: Preparing 06:46:27 c48743ef199a: Preparing 06:46:27 16113d51b718: Preparing 06:46:27 16113d51b718: Waiting 06:46:27 b4c7b04be86f: Pushed 06:46:27 65a983f90974: Pushed 06:46:27 c48743ef199a: Pushed 06:46:27 16113d51b718: Layer already exists 06:46:29 9f77162268f2: Pushed 06:46:39 27f65ffdb1ae: Pushed 06:46:39 4b0ee577561404748c59762cefd7cd847fb7a9a9: digest: sha256:33767db481a034e6424224e68cb57aa35e2bd82b0f9dd9c4478383432bbc2ee9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:46:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:46:39 65a983f90974: Preparing 06:46:39 b4c7b04be86f: Preparing 06:46:39 27f65ffdb1ae: Preparing 06:46:39 9f77162268f2: Preparing 06:46:39 c48743ef199a: Preparing 06:46:39 16113d51b718: Preparing 06:46:39 16113d51b718: Waiting 06:46:39 27f65ffdb1ae: Layer already exists 06:46:39 c48743ef199a: Layer already exists 06:46:39 9f77162268f2: Layer already exists 06:46:39 65a983f90974: Layer already exists 06:46:39 b4c7b04be86f: Layer already exists 06:46:39 16113d51b718: Layer already exists 06:46:40 latest: digest: sha256:33767db481a034e6424224e68cb57aa35e2bd82b0f9dd9c4478383432bbc2ee9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.1 06:46:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:46:40 65a983f90974: Preparing 06:46:40 b4c7b04be86f: Preparing 06:46:40 27f65ffdb1ae: Preparing 06:46:40 9f77162268f2: Preparing 06:46:40 c48743ef199a: Preparing 06:46:40 16113d51b718: Preparing 06:46:40 16113d51b718: Waiting 06:46:40 27f65ffdb1ae: Layer already exists 06:46:40 65a983f90974: Layer already exists 06:46:40 9f77162268f2: Layer already exists 06:46:40 c48743ef199a: Layer already exists 06:46:40 b4c7b04be86f: Layer already exists 06:46:40 16113d51b718: Layer already exists 06:46:41 4.0.0-dev.1: digest: sha256:33767db481a034e6424224e68cb57aa35e2bd82b0f9dd9c4478383432bbc2ee9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 06:46:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:46:41 65a983f90974: Preparing 06:46:41 b4c7b04be86f: Preparing 06:46:41 27f65ffdb1ae: Preparing 06:46:41 9f77162268f2: Preparing 06:46:41 c48743ef199a: Preparing 06:46:41 16113d51b718: Preparing 06:46:41 16113d51b718: Waiting 06:46:41 b4c7b04be86f: Layer already exists 06:46:41 c48743ef199a: Layer already exists 06:46:41 65a983f90974: Layer already exists 06:46:41 27f65ffdb1ae: Layer already exists 06:46:41 9f77162268f2: Layer already exists 06:46:41 16113d51b718: Layer already exists 06:46:42 4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1: digest: sha256:33767db481a034e6424224e68cb57aa35e2bd82b0f9dd9c4478383432bbc2ee9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:46:42 65a983f90974: Preparing 06:46:42 b4c7b04be86f: Preparing 06:46:42 27f65ffdb1ae: Preparing 06:46:42 9f77162268f2: Preparing 06:46:42 c48743ef199a: Preparing 06:46:42 16113d51b718: Preparing 06:46:42 65a983f90974: Layer already exists 06:46:42 c48743ef199a: Layer already exists 06:46:42 9f77162268f2: Layer already exists 06:46:42 27f65ffdb1ae: Layer already exists 06:46:42 b4c7b04be86f: Layer already exists 06:46:42 16113d51b718: Layer already exists 06:46:43 main: digest: sha256:33767db481a034e6424224e68cb57aa35e2bd82b0f9dd9c4478383432bbc2ee9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:46:43 ===================================================== [Pipeline] echo 06:46:43 taggedImages: 06:46:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4b0ee577561404748c59762cefd7cd847fb7a9a9 06:46:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:46:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.1 06:46:43 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4b0ee577561404748c59762cefd7cd847fb7a9a9-4.0.0-dev.1 06:46: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 06:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:46:43 06:46:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:46:43 arm64: Pulling from edgex-lftools-log-publisher 06:46:43 8998bd30e6a1: Pulling fs layer 06:46:43 04944245beec: Pulling fs layer 06:46:43 699f458cf7ca: Pulling fs layer 06:46:43 765212b225bb: Pulling fs layer 06:46:43 f23df028b6ca: Pulling fs layer 06:46:43 d65c8cfc05b1: Pulling fs layer 06:46:43 2437ff75d9bd: Pulling fs layer 06:46:43 765212b225bb: Waiting 06:46:43 f23df028b6ca: Waiting 06:46:43 2437ff75d9bd: Waiting 06:46:43 d65c8cfc05b1: Waiting 06:46:44 04944245beec: Verifying Checksum 06:46:44 04944245beec: Download complete 06:46:44 765212b225bb: Verifying Checksum 06:46:44 765212b225bb: Download complete 06:46:44 f23df028b6ca: Verifying Checksum 06:46:44 f23df028b6ca: Download complete 06:46:44 d65c8cfc05b1: Verifying Checksum 06:46:44 d65c8cfc05b1: Download complete 06:46:44 699f458cf7ca: Verifying Checksum 06:46:44 699f458cf7ca: Download complete 06:46:44 8998bd30e6a1: Verifying Checksum 06:46:44 8998bd30e6a1: Download complete 06:46:47 2437ff75d9bd: Verifying Checksum 06:46:47 2437ff75d9bd: Download complete 06:46:49 8998bd30e6a1: Pull complete 06:46:49 04944245beec: Pull complete 06:46:51 699f458cf7ca: Pull complete 06:46:51 765212b225bb: Pull complete 06:46:52 f23df028b6ca: Pull complete 06:46:52 d65c8cfc05b1: Pull complete 06:47:07 2437ff75d9bd: Pull complete 06:47:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:47:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:47:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:07 prd-ubuntu20.04-docker-arm64-4c-16g-24097 does not seem to be running inside a container 06:47:07 $ 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/179 -v /w/workspace/device-mqtt-go/179:/w/workspace/device-mqtt-go/179:rw,z -v /w/workspace/device-mqtt-go/179@tmp:/w/workspace/device-mqtt-go/179@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 06:47:10 $ docker top df35852adc8f0b225fd110adb000d89a054062daa5a56b13cbb8fe44e5d05011 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:11 ---> job-cost.sh 06:47:11 lf-activate-venv: SKIPPING 06:47:11 INFO: No Stack... 06:47:11 INFO: Retrieving Pricing Info for: v3-standard-4 06:47:12 INFO: Archiving Costs [Pipeline] sh 06:47:13 + cut -d, -f6 06:47:13 + cat /w/workspace/device-mqtt-go/179/archives/cost.csv [Pipeline] lock 06:47:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] 06:47:13 Resource [jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] did not exist. Created. 06:47:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:47:13 /w/workspace/device-mqtt-go/179@tmp/durable-396aba9e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:47:14 + echo total: 0.10999999940395355 [Pipeline] stash 06:47:14 Warning: overwriting stash ‘stack-cost’ 06:47:14 Stashed 1 file(s) [Pipeline] } 06:47:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 06:47:14 $ docker stop --time=1 df35852adc8f0b225fd110adb000d89a054062daa5a56b13cbb8fe44e5d05011 06:47:16 $ docker rm -f --volumes df35852adc8f0b225fd110adb000d89a054062daa5a56b13cbb8fe44e5d05011 [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 06:47:16 provisioning config files... 06:47:16 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6899786601943721061tmp [Pipeline] { [Pipeline] sh 06:47:17 + set +x 06:47:17 + bash -s -- 06:47:17 + curl -s https://codecov.io/bash 06:47:17 06:47:17 _____ _ 06:47:17 / ____| | | 06:47:17 | | ___ __| | ___ ___ _____ __ 06:47:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:47:17 | |___| (_) | (_| | __/ (_| (_) \ V / 06:47:17 \_____\___/ \__,_|\___|\___\___/ \_/ 06:47:17 Bash-1.0.6 06:47:17 06:47:17 06:47:17 ==> git version 2.25.1 found 06:47:17 ==> 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 06:47:17 Release-Date: 2020-01-08 06:47:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:47:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:47:17 ==> Jenkins CI detected. 06:47:17 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:47:17 project root: . 06:47:17 --> token set from env 06:47:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:47:17 ==> Running gcov in . (disable via -X gcov) 06:47:17 ==> Python coveragepy not found 06:47:17 ==> Searching for coverage reports in: 06:47:17 + . 06:47:17 -> Found 1 reports 06:47:17 ==> Detecting git/mercurial file structure 06:47:17 ==> Reading reports 06:47:17 + ./coverage.out bytes=21039 06:47:17 ==> Appending adjustments 06:47:17 https://docs.codecov.io/docs/fixing-reports 06:47:17 + Found adjustments 06:47:17 ==> Gzipping contents 06:47:17 4.0K /tmp/codecov.rpVuTj.gz 06:47:17 ==> Uploading reports 06:47:17 url: https://codecov.io 06:47:17 query: branch=main&commit=4b0ee577561404748c59762cefd7cd847fb7a9a9&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:47:17 -> Pinging Codecov 06:47:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4b0ee577561404748c59762cefd7cd847fb7a9a9&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:47:17 -> Uploading to 06:47:17 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/4b0ee577561404748c59762cefd7cd847fb7a9a9/3fa637b8-48fe-49d5-8668-b9b6ee2700a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T064717Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2221de6274b333cce68e1fa72e62dc348cc9f2a8e38e0aad0a639196f97bd9c6 06:47:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:17 Dload Upload Total Spent Left Speed 06:47:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14547 --:--:-- --:--:-- --:--:-- 14547 06:47:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] } 06:47:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:47:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:47:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:47:18 06:47:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:47:18 latest: Pulling from edgex-devops/edgex-snyk-go 06:47:18 43c4264eed91: Already exists 06:47:18 4cc291be95ef: Already exists 06:47:18 2ac1f1163629: Already exists 06:47:18 5c3c966382ef: Already exists 06:47:18 4f4fb700ef54: Already exists 06:47:18 d9c7d2e4e75e: Pulling fs layer 06:47:18 9c3e1370e548: Pulling fs layer 06:47:19 d9c7d2e4e75e: Verifying Checksum 06:47:19 d9c7d2e4e75e: Download complete 06:47:19 d9c7d2e4e75e: Pull complete 06:47:19 9c3e1370e548: Verifying Checksum 06:47:19 9c3e1370e548: Download complete 06:47:22 9c3e1370e548: Pull complete 06:47:22 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:47:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:22 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:47:24 $ docker top 2ffcddc69a0402f545d416583ea4759ca2db4f75777ba9116d8a6ddacb684119 -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 06:47:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:47:25 + set -o pipefail 06:47:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:47:31 06:47:31 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:47:31 06:47:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/2a06b02d-70be-4bfd-9f23-fd5edca2a370 06:47:31 06:47:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:47:31 [Pipeline] } 06:47:31 $ docker stop --time=1 2ffcddc69a0402f545d416583ea4759ca2db4f75777ba9116d8a6ddacb684119 06:47:35 $ docker rm -f --volumes 2ffcddc69a0402f545d416583ea4759ca2db4f75777ba9116d8a6ddacb684119 [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 06:47:36 + git log --format=format:%s -1 4b0ee577561404748c59762cefd7cd847fb7a9a9 [Pipeline] sh 06:47:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:47:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:47:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:37 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:47:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:47:37 $ docker top ecc15f9c84f8407b715f57ef7e9cb4c13af6304f9c749654637c447d363f24e2 -eo pid,comm 06:47:37 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). 06:47:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:47:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:47:37 [ssh-agent] Looking for ssh-agent implementation... 06:47:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:47:37 $ docker exec ecc15f9c84f8407b715f57ef7e9cb4c13af6304f9c749654637c447d363f24e2 ssh-agent 06:47:37 SSH_AUTH_SOCK=/tmp/ssh-7J39JVX3k4qi/agent.33 06:47:37 SSH_AGENT_PID=39 06:47:37 Running ssh-add (command line suppressed) 06:47:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9391931383154315126.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9391931383154315126.key) 06:47:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:47:38 + git semver tag 06:47:38 2024-10-30 06:47:38,317 [run_tag] DEBUG tag force:False 06:47:38 2024-10-30 06:47:38,318 [check_head_tag] DEBUG check head tag 06:47:38 2024-10-30 06:47:38,318 [execute] INFO git cat-file --batch-check 06:47:38 2024-10-30 06:47:38,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:47:38 2024-10-30 06:47:38,322 [execute] INFO git cat-file --batch 06:47:38 2024-10-30 06:47:38,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:47:38 2024-10-30 06:47:38,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:47:38 2024-10-30 06:47:38,345 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 06:47:38 2024-10-30 06:47:38,345 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:47:38 2024-10-30 06:47:38,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:47:38 4.0.0-dev.1 [Pipeline] } 06:47:38 $ docker exec --env ******** --env ******** ecc15f9c84f8407b715f57ef7e9cb4c13af6304f9c749654637c447d363f24e2 ssh-agent -k 06:47:38 unset SSH_AUTH_SOCK; 06:47:38 unset SSH_AGENT_PID; 06:47:38 echo Agent pid 39 killed; 06:47:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:47:38 + git semver [Pipeline] } 06:47:39 $ docker stop --time=1 ecc15f9c84f8407b715f57ef7e9cb4c13af6304f9c749654637c447d363f24e2 06:47:40 $ docker rm -f --volumes ecc15f9c84f8407b715f57ef7e9cb4c13af6304f9c749654637c447d363f24e2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:47:40 06:47:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:47:41 0.23.1-centos7: Pulling from edgex-lftools 06:47:41 ab5ef0e58194: Pulling fs layer 06:47:41 9712f1f96733: Pulling fs layer 06:47:41 63f879dbbcfc: Pulling fs layer 06:47:41 0d9ebad4ef96: Pulling fs layer 06:47:41 e9a5061849ea: Pulling fs layer 06:47:41 d747dcd14b5f: Pulling fs layer 06:47:41 2de7ff778b66: Pulling fs layer 06:47:41 0d9ebad4ef96: Waiting 06:47:41 e9a5061849ea: Waiting 06:47:41 d747dcd14b5f: Waiting 06:47:41 2de7ff778b66: Waiting 06:47:41 9712f1f96733: Download complete 06:47:41 63f879dbbcfc: Verifying Checksum 06:47:41 63f879dbbcfc: Download complete 06:47:41 e9a5061849ea: Verifying Checksum 06:47:41 e9a5061849ea: Download complete 06:47:41 d747dcd14b5f: Download complete 06:47:41 0d9ebad4ef96: Verifying Checksum 06:47:41 0d9ebad4ef96: Download complete 06:47:41 ab5ef0e58194: Verifying Checksum 06:47:41 ab5ef0e58194: Download complete 06:47:41 2de7ff778b66: Verifying Checksum 06:47:41 2de7ff778b66: Download complete 06:47:44 ab5ef0e58194: Pull complete 06:47:44 9712f1f96733: Pull complete 06:47:45 63f879dbbcfc: Pull complete 06:47:49 0d9ebad4ef96: Pull complete 06:47:49 e9a5061849ea: Pull complete 06:47:49 d747dcd14b5f: Pull complete 06:47:50 2de7ff778b66: Pull complete 06:47:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:47:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:50 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:47:54 $ docker top 6ba37fd91f38365af0040e2401f77fa125c5a5e46dd58a60626bbd2dbde5d700 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:47:54 provisioning config files... 06:47:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13427363515038125555tmp 06:47:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12627620387306005877tmp 06:47:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config677790481674816363tmp [Pipeline] { [Pipeline] echo 06:47:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:47:54 ---> sigul-configuration.sh 06:47:54 gpg: directory `/root/.gnupg' created 06:47:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:47:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:47:54 gpg: keyring `/root/.gnupg/secring.gpg' created 06:47:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:47:54 gpg: CAST5 encrypted data 06:47:54 gpg: encrypted with 1 passphrase 06:47:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:47:54 + mkdir /home/jenkins 06:47:54 + mkdir /home/jenkins/sigul [Pipeline] sh 06:47:55 + 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 06:47:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:47:55 ---> sigul-install.sh 06:47:55 Sigul already installed; skipping installation. [Pipeline] sh 06:47:55 + git tag --list 06:47:55 0.7.1 06:47:55 v1.0.0 06:47:55 v1.1.0 06:47:55 v1.1.1 06:47:55 v1.2.2 06:47:55 v1.3.0 06:47:55 v1.3.1 06:47:55 v2.0.0 06:47:55 v2.1.0 06:47:55 v2.1.1 06:47:55 v2.2.0 06:47:55 v2.3.0 06:47:55 v3.0 06:47:55 v3.0.0 06:47:55 v3.1 06:47:55 v3.1.0 06:47:55 v3.1.0-dev.1 06:47:55 v3.1.0-dev.10 06:47:55 v3.1.0-dev.11 06:47:55 v3.1.0-dev.12 06:47:55 v3.1.0-dev.13 06:47:55 v3.1.0-dev.14 06:47:55 v3.1.0-dev.15 06:47:55 v3.1.0-dev.16 06:47:55 v3.1.0-dev.17 06:47:55 v3.1.0-dev.18 06:47:55 v3.1.0-dev.19 06:47:55 v3.1.0-dev.2 06:47:55 v3.1.0-dev.20 06:47:55 v3.1.0-dev.21 06:47:55 v3.1.0-dev.22 06:47:55 v3.1.0-dev.23 06:47:55 v3.1.0-dev.24 06:47:55 v3.1.0-dev.25 06:47:55 v3.1.0-dev.3 06:47:55 v3.1.0-dev.4 06:47:55 v3.1.0-dev.5 06:47:55 v3.1.0-dev.6 06:47:55 v3.1.0-dev.7 06:47:55 v3.1.0-dev.8 06:47:55 v3.1.0-dev.9 06:47:55 v3.1.1 06:47:55 v3.2.0-dev.1 06:47:55 v3.2.0-dev.10 06:47:55 v3.2.0-dev.11 06:47:55 v3.2.0-dev.12 06:47:55 v3.2.0-dev.13 06:47:55 v3.2.0-dev.14 06:47:55 v3.2.0-dev.15 06:47:55 v3.2.0-dev.16 06:47:55 v3.2.0-dev.17 06:47:55 v3.2.0-dev.18 06:47:55 v3.2.0-dev.19 06:47:55 v3.2.0-dev.2 06:47:55 v3.2.0-dev.20 06:47:55 v3.2.0-dev.21 06:47:55 v3.2.0-dev.22 06:47:55 v3.2.0-dev.23 06:47:55 v3.2.0-dev.3 06:47:55 v3.2.0-dev.4 06:47:55 v3.2.0-dev.5 06:47:55 v3.2.0-dev.6 06:47:55 v3.2.0-dev.7 06:47:55 v3.2.0-dev.8 06:47:55 v3.2.0-dev.9 06:47:55 v4.0.0-dev.1 [Pipeline] sh 06:47:55 + lftools sign git-tag v4.0.0-dev.1 06:47:56 Signing Git tag with Sigul... 06:47:56 Signing v4.0.0-dev.1 [Pipeline] echo 06:47:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:47:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:47:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:47:57 $ docker stop --time=1 6ba37fd91f38365af0040e2401f77fa125c5a5e46dd58a60626bbd2dbde5d700 06:47:58 $ docker rm -f --volumes 6ba37fd91f38365af0040e2401f77fa125c5a5e46dd58a60626bbd2dbde5d700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:47:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:47:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:47:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:59 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:47:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:47:59 $ docker top 6834a673aa92818fdfeb5ede8622e7a3b00f3fd7ddbe35048b2be9d896c44ada -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:47:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:47:59 [ssh-agent] Looking for ssh-agent implementation... 06:47:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:47:59 $ docker exec 6834a673aa92818fdfeb5ede8622e7a3b00f3fd7ddbe35048b2be9d896c44ada ssh-agent 06:48:00 SSH_AUTH_SOCK=/tmp/ssh-dCMJZLqWJoBs/agent.34 06:48:00 SSH_AGENT_PID=40 06:48:00 Running ssh-add (command line suppressed) 06:48:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18048223668089942713.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18048223668089942713.key) 06:48:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:00 + git semver bump pre 06:48:00 2024-10-30 06:48:00,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:48:00 2024-10-30 06:48:00,636 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 06:48:00 2024-10-30 06:48:00,636 [bump_version] DEBUG bumped version:4.0.0-dev.2 06:48:00 2024-10-30 06:48:00,636 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:48:00 2024-10-30 06:48:00,636 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:48:00 2024-10-30 06:48:00,636 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:48:00 2024-10-30 06:48:00,638 [execute] INFO git cat-file --batch-check 06:48:00 2024-10-30 06:48:00,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:00 2024-10-30 06:48:00,643 [execute] INFO git cat-file --batch 06:48:00 2024-10-30 06:48:00,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:00 2024-10-30 06:48:00,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:48:00 4.0.0-dev.2 [Pipeline] } 06:48:00 $ docker exec --env ******** --env ******** 6834a673aa92818fdfeb5ede8622e7a3b00f3fd7ddbe35048b2be9d896c44ada ssh-agent -k 06:48:00 unset SSH_AUTH_SOCK; 06:48:00 unset SSH_AGENT_PID; 06:48:00 echo Agent pid 40 killed; 06:48:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:01 + git semver [Pipeline] } 06:48:01 $ docker stop --time=1 6834a673aa92818fdfeb5ede8622e7a3b00f3fd7ddbe35048b2be9d896c44ada 06:48:02 $ docker rm -f --volumes 6834a673aa92818fdfeb5ede8622e7a3b00f3fd7ddbe35048b2be9d896c44ada [Pipeline] // withDockerContainer [Pipeline] sh 06:48:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:48:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:03 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:48:03 $ docker top 20e25ec0919a4e20ceb21509f4f0e5d40a80679e6dde39dd2bbc8a242fe00c90 -eo pid,comm 06:48:03 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). 06:48:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:03 [ssh-agent] Looking for ssh-agent implementation... 06:48:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:04 $ docker exec 20e25ec0919a4e20ceb21509f4f0e5d40a80679e6dde39dd2bbc8a242fe00c90 ssh-agent 06:48:04 SSH_AUTH_SOCK=/tmp/ssh-Xms32O9FyHQR/agent.32 06:48:04 SSH_AGENT_PID=38 06:48:04 Running ssh-add (command line suppressed) 06:48:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12710367444592021280.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12710367444592021280.key) 06:48:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:04 + git semver push 06:48:04 2024-10-30 06:48:04,810 [run_push] DEBUG push 06:48:04 2024-10-30 06:48:04,810 [execute] INFO git cat-file --batch-check 06:48:04 2024-10-30 06:48:04,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:04 2024-10-30 06:48:04,815 [execute] INFO git rev-list 5b53f5ce46d5dc26e56febb32e00c4612c16df1a -- 06:48:04 2024-10-30 06:48:04,815 [execute] DEBUG Popen(['git', 'rev-list', '5b53f5ce46d5dc26e56febb32e00c4612c16df1a', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:48:04 2024-10-30 06:48:04,826 [execute] INFO git fetch -v origin 06:48:04 2024-10-30 06:48:04,826 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:48:05 2024-10-30 06:48:05,278 [run_push] DEBUG no remote changes detected 06:48:05 2024-10-30 06:48:05,278 [execute] INFO git push origin semver 06:48:05 2024-10-30 06:48:05,279 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:48:06 2024-10-30 06:48:05,975 [run_push] DEBUG push all version tags 06:48:06 2024-10-30 06:48:05,976 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:48:06 2024-10-30 06:48:05,976 [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) 06:48:06 2024-10-30 06:48:06,584 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:48:06 4.0.0-dev.2 [Pipeline] } 06:48:06 $ docker exec --env ******** --env ******** 20e25ec0919a4e20ceb21509f4f0e5d40a80679e6dde39dd2bbc8a242fe00c90 ssh-agent -k 06:48:06 unset SSH_AUTH_SOCK; 06:48:06 unset SSH_AGENT_PID; 06:48:06 echo Agent pid 38 killed; 06:48:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:07 + git semver [Pipeline] } 06:48:07 $ docker stop --time=1 20e25ec0919a4e20ceb21509f4f0e5d40a80679e6dde39dd2bbc8a242fe00c90 06:48:08 $ docker rm -f --volumes 20e25ec0919a4e20ceb21509f4f0e5d40a80679e6dde39dd2bbc8a242fe00c90 [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 06:48:09 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:48:09 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:48:09 total 16 06:48:09 drwxr-xr-x 3 root root 4096 Oct 30 06:33 . 06:48:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:47 .. 06:48:09 drwxr-xr-x 2 root root 4096 Oct 30 06:33 cost 06:48:09 -rw-r--r-- 1 root root 86 Oct 30 06:33 cost.csv 06:48:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:48:09 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:48:09 total 16 06:48:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:33 . 06:48:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:47 .. 06:48:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 06:33 cost 06:48:09 -rw-r--r-- 1 jenkins jenkins 86 Oct 30 06:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:48:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:48:10 ---> package-listing.sh 06:48:10 ++ facter osfamily 06:48:10 ++ tr '[:upper:]' '[:lower:]' 06:48:10 + OS_FAMILY=debian 06:48:10 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:48:10 + START_PACKAGES=/tmp/packages_start.txt 06:48:10 + END_PACKAGES=/tmp/packages_end.txt 06:48:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:48:10 + PACKAGES=/tmp/packages_start.txt 06:48:10 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:48:10 + PACKAGES=/tmp/packages_end.txt 06:48:10 + case "${OS_FAMILY}" in 06:48:10 + dpkg -l 06:48:10 + grep '^ii' 06:48:10 + '[' -f /tmp/packages_start.txt ']' 06:48:10 + '[' -f /tmp/packages_end.txt ']' 06:48:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:48:10 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:48:10 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:48:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:48:10 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 06:48:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:48:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:11 prd-ubuntu20.04-docker-8c-8g-24096 does not seem to be running inside a container 06:48:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:48:12 $ docker top 83b04252851eff5aa44c38404994af009518316ed8ce010a24ed889f89f9ca7f -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:12 + touch /tmp/pre-build-complete [Pipeline] sh 06:48:12 + mkdir -p /var/log/sysstat [Pipeline] sh 06:48:13 + ls /var/log/sa-host 06:48:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:48:13 provisioning config files... 06:48:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17187957985361780671tmp [Pipeline] { [Pipeline] echo 06:48:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:48:13 ---> create-netrc.sh [Pipeline] } 06:48:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:48:13 ---> python-tools-install.sh [Pipeline] echo 06:48:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:48:14 ---> sudo-logs.sh 06:48:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:48:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:48:14 ---> job-cost.sh 06:48:14 lf-activate-venv: SKIPPING 06:48:14 DEBUG: total: 0.2199999988079071 06:48:14 INFO: Retrieving Stack Cost... 06:48:14 INFO: Retrieving Pricing Info for: v3-standard-8 06:48:15 INFO: Archiving Costs [Pipeline] echo 06:48:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:48:15 ---> logs-deploy.sh 06:48:15 lf-activate-venv: SKIPPING 06:48:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/179 06:48:15 INFO: archiving workspace using pattern(s): 06:48:16 Archives upload complete. 06:48:16 INFO: archiving logs to Nexus 06:48:17 ---> uname -a: 06:48:17 Linux prd-ubuntu20-04-docker-8c-8g-24096 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:48:17 06:48:17 06:48:17 ---> lscpu: 06:48:17 Architecture: x86_64 06:48:17 CPU op-mode(s): 32-bit, 64-bit 06:48:17 Byte Order: Little Endian 06:48:17 Address sizes: 40 bits physical, 48 bits virtual 06:48:17 CPU(s): 8 06:48:17 On-line CPU(s) list: 0-7 06:48:17 Thread(s) per core: 1 06:48:17 Core(s) per socket: 1 06:48:17 Socket(s): 8 06:48:17 NUMA node(s): 1 06:48:17 Vendor ID: AuthenticAMD 06:48:17 CPU family: 23 06:48:17 Model: 49 06:48:17 Model name: AMD EPYC-Rome Processor 06:48:17 Stepping: 0 06:48:17 CPU MHz: 2799.998 06:48:17 BogoMIPS: 5599.99 06:48:17 Virtualization: AMD-V 06:48:17 Hypervisor vendor: KVM 06:48:17 Virtualization type: full 06:48:17 L1d cache: 256 KiB 06:48:17 L1i cache: 256 KiB 06:48:17 L2 cache: 4 MiB 06:48:17 L3 cache: 128 MiB 06:48:17 NUMA node0 CPU(s): 0-7 06:48:17 Vulnerability Itlb multihit: Not affected 06:48:17 Vulnerability L1tf: Not affected 06:48:17 Vulnerability Mds: Not affected 06:48:17 Vulnerability Meltdown: Not affected 06:48:17 Vulnerability Mmio stale data: Not affected 06:48:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:48:17 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:48:17 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:48:17 Vulnerability Srbds: Not affected 06:48:17 Vulnerability Tsx async abort: Not affected 06:48:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:48:17 06:48:17