Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6320066227888112c6c0a181794f3c9cc54daea1 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-ssh7251689046115016083.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-ssh458756239364180370.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-ssh16313716750326083832.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-ssh5734486443859017480.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-ssh10883714312279469244.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-24290’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24291 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 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Avoid second fetch Checking out Revision 6320066227888112c6c0a181794f3c9cc54daea1 (main) Commit message: "Merge pull request #706 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 > git rev-list --no-walk 4b0ee577561404748c59762cefd7cd847fb7a9a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:38:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:38:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:38:44 ========================================================= 07:38:44 EdgeX Global Pipelines Version Info 07:38:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:38:45 ------------------- 07:38:45 stable info: 07:38:45 ------------------- 07:38:45 Commited By: Ginny Guan ginny@iotechsys.com 07:38:45 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:38:45 Message: update stable to v1.0.265 07:38:46 ------------------- 07:38:46 experimental info: 07:38:46 ------------------- 07:38:46 Commited By: Cherry Wang cherry@iotechsys.com 07:38:46 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:38:46 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6320066 [Pipeline] echo 07:38:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:46 provisioning config files... 07:38:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13766274783301831722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:47 ---> ****-login.sh 07:38:47 nexus3.edgexfoundry.org:10001 07:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:47 Configure a credential helper to remove this warning. See 07:38:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:47 07:38:47 Login Succeeded 07:38:47 nexus3.edgexfoundry.org:10002 07:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:47 Configure a credential helper to remove this warning. See 07:38:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:47 07:38:47 Login Succeeded 07:38:47 nexus3.edgexfoundry.org:10003 07:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:47 Configure a credential helper to remove this warning. See 07:38:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:47 07:38:47 Login Succeeded 07:38:47 nexus3.edgexfoundry.org:10004 07:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:48 Configure a credential helper to remove this warning. See 07:38:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:48 07:38:48 Login Succeeded 07:38:48 ****.io 07:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:48 Configure a credential helper to remove this warning. See 07:38:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:48 07:38:48 Login Succeeded 07:38:48 ---> ****-login.sh ends [Pipeline] } 07:38:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:38:48 + git rev-list -1 --merges 6320066227888112c6c0a181794f3c9cc54daea1~1..6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] echo 07:38:48 -----------> git rev-list -1 --merges 6320066227888112c6c0a181794f3c9cc54daea1~1..6320066227888112c6c0a181794f3c9cc54daea1 6320066227888112c6c0a181794f3c9cc54daea1 07:38:48 6320066227888112c6c0a181794f3c9cc54daea1 [false] [Pipeline] sh 07:38:49 + git log --format=format:%s -1 6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] echo 07:38:49 ========================================================= 07:38:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:38:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:49 + git log --format=format:%s -1 6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] echo 07:38:49 [semverPrep] GIT_COMMIT: 6320066227888112c6c0a181794f3c9cc54daea1, Commit Message: Merge pull request #706 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2 [Pipeline] echo 07:38:49 [semverPrep] This is not a build commit. [Pipeline] sh 07:38:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:49 + grep -v github /etc/ssh/ssh_known_hosts 07:38:49 + [ -e /tmp/ssh_known_hosts ] 07:38:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:38:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:38:49 + sudo tee -a /etc/ssh/ssh_known_hosts 07:38:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:50 07:38:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:50 0.1.4: Pulling from edgex-devops/py-git-semver 07:38:50 b85a868b505f: Pulling fs layer 07:38:50 e2be974225ed: Pulling fs layer 07:38:50 339a4e72a1f5: Pulling fs layer 07:38:50 988bab9f4d93: Pulling fs layer 07:38:50 1469e6f7b9e6: Pulling fs layer 07:38:50 eaf3925da568: Pulling fs layer 07:38:50 bab4dde63d76: Pulling fs layer 07:38:50 988bab9f4d93: Waiting 07:38:50 bde34c3a00c8: Pulling fs layer 07:38:50 b352a97aabf1: Pulling fs layer 07:38:50 4872d77fe225: Pulling fs layer 07:38:50 1469e6f7b9e6: Waiting 07:38:50 eaf3925da568: Waiting 07:38:50 bde34c3a00c8: Waiting 07:38:50 bab4dde63d76: Waiting 07:38:50 b352a97aabf1: Waiting 07:38:50 5851b861e8e6: Pulling fs layer 07:38:50 4872d77fe225: Waiting 07:38:50 5851b861e8e6: Waiting 07:38:50 e2be974225ed: Verifying Checksum 07:38:50 e2be974225ed: Download complete 07:38:50 988bab9f4d93: Verifying Checksum 07:38:50 988bab9f4d93: Download complete 07:38:50 1469e6f7b9e6: Verifying Checksum 07:38:50 1469e6f7b9e6: Download complete 07:38:50 339a4e72a1f5: Verifying Checksum 07:38:50 339a4e72a1f5: Download complete 07:38:50 eaf3925da568: Verifying Checksum 07:38:50 eaf3925da568: Download complete 07:38:50 bde34c3a00c8: Verifying Checksum 07:38:50 bde34c3a00c8: Download complete 07:38:50 b352a97aabf1: Verifying Checksum 07:38:50 b352a97aabf1: Download complete 07:38:50 4872d77fe225: Verifying Checksum 07:38:50 4872d77fe225: Download complete 07:38:50 5851b861e8e6: Verifying Checksum 07:38:50 5851b861e8e6: Download complete 07:38:50 b85a868b505f: Verifying Checksum 07:38:50 b85a868b505f: Download complete 07:38:50 bab4dde63d76: Verifying Checksum 07:38:51 b85a868b505f: Pull complete 07:38:52 e2be974225ed: Pull complete 07:38:52 339a4e72a1f5: Pull complete 07:38:52 988bab9f4d93: Pull complete 07:38:53 1469e6f7b9e6: Pull complete 07:38:53 eaf3925da568: Pull complete 07:38:55 bab4dde63d76: Pull complete 07:38:55 bde34c3a00c8: Pull complete 07:38:55 b352a97aabf1: Pull complete 07:38:55 4872d77fe225: Pull complete 07:38:55 5851b861e8e6: Pull complete 07:38:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:38:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:56 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:38:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:39:00 $ docker top caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc -eo pid,comm 07:39:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:39:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:39:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:00 [ssh-agent] Looking for ssh-agent implementation... 07:39:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:00 $ docker exec caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc ssh-agent 07:39:00 SSH_AUTH_SOCK=/tmp/ssh-9VzHhBhvewgj/agent.33 07:39:00 SSH_AGENT_PID=39 07:39:00 Running ssh-add (command line suppressed) 07:39:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6058635416825622848.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6058635416825622848.key) 07:39:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:01 + git tag --points-at HEAD [Pipeline] } 07:39:01 $ docker exec --env ******** --env ******** caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc ssh-agent -k 07:39:01 unset SSH_AUTH_SOCK; 07:39:01 unset SSH_AGENT_PID; 07:39:01 echo Agent pid 39 killed; 07:39:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:01 [ssh-agent] Looking for ssh-agent implementation... 07:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:01 $ docker exec caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc ssh-agent 07:39:01 SSH_AUTH_SOCK=/tmp/ssh-FxCEGnWjTq5B/agent.72 07:39:01 SSH_AGENT_PID=78 07:39:01 Running ssh-add (command line suppressed) 07:39:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2140121207460987539.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2140121207460987539.key) 07:39:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:02 + git semver init 07:39:02 2024-11-01 07:39:02,474 [run_init] DEBUG init version:0.0.0 force:False 07:39:02 2024-11-01 07:39:02,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:39:02 2024-11-01 07:39:02,475 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:39:02 2024-11-01 07:39:02,475 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:39:04 2024-11-01 07:39:04,181 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 07:39:04 2024-11-01 07:39:04,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 07:39:04 2024-11-01 07:39:04,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:39:04 2024-11-01 07:39:04,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:39:04 4.0.0-dev.2 [Pipeline] } 07:39:04 $ docker exec --env ******** --env ******** caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc ssh-agent -k 07:39:04 unset SSH_AUTH_SOCK; 07:39:04 unset SSH_AGENT_PID; 07:39:04 echo Agent pid 78 killed; 07:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:39:05 + git semver [Pipeline] } 07:39:05 $ docker stop --time=1 caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc 07:39:06 $ docker rm -f --volumes caedcd3c04ee3de20fbcd209ac9e2a22c225c4d2ded10649189eff31dd3c7ccc [Pipeline] // withDockerContainer [Pipeline] sh 07:39:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:39:07 Stashed 1 file(s) [Pipeline] echo 07:39:07 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:07 provisioning config files... 07:39:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17068527378086234573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:07 ---> ****-login.sh 07:39:07 nexus3.edgexfoundry.org:10001 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 nexus3.edgexfoundry.org:10002 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 nexus3.edgexfoundry.org:10003 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 nexus3.edgexfoundry.org:10004 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 ****.io 07:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:08 Configure a credential helper to remove this warning. See 07:39:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:08 07:39:08 Login Succeeded 07:39:08 ---> ****-login.sh ends [Pipeline] } 07:39:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:08 ========================================================= 07:39:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:39:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:39:08 Sending build context to Docker daemon 20.95MB 07:39:08 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:39:08 Step 2/12 : FROM ${BASE} AS builder 07:39:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:39:08 43c4264eed91: Pulling fs layer 07:39:08 4cc291be95ef: Pulling fs layer 07:39:08 2ac1f1163629: Pulling fs layer 07:39:08 5c3c966382ef: Pulling fs layer 07:39:08 4f4fb700ef54: Pulling fs layer 07:39:08 5d5c8e513c77: Pulling fs layer 07:39:08 4f4fb700ef54: Waiting 07:39:08 9f66e0745190: Pulling fs layer 07:39:08 f49a43e4bbc0: Pulling fs layer 07:39:08 5d5c8e513c77: Waiting 07:39:08 9f66e0745190: Waiting 07:39:08 561ebcabdf7f: Pulling fs layer 07:39:08 561ebcabdf7f: Waiting 07:39:08 4cc291be95ef: Verifying Checksum 07:39:08 4cc291be95ef: Download complete 07:39:08 5c3c966382ef: Verifying Checksum 07:39:08 5c3c966382ef: Download complete 07:39:08 4f4fb700ef54: Verifying Checksum 07:39:08 4f4fb700ef54: Download complete 07:39:08 5d5c8e513c77: Verifying Checksum 07:39:08 5d5c8e513c77: Download complete 07:39:08 43c4264eed91: Download complete 07:39:08 9f66e0745190: Verifying Checksum 07:39:08 9f66e0745190: Download complete 07:39:08 43c4264eed91: Pull complete 07:39:09 4cc291be95ef: Pull complete 07:39:09 561ebcabdf7f: Verifying Checksum 07:39:09 2ac1f1163629: Download complete 07:39:09 f49a43e4bbc0: Verifying Checksum 07:39:09 f49a43e4bbc0: Download complete 07:39:13 2ac1f1163629: Pull complete 07:39:13 5c3c966382ef: Pull complete 07:39:13 4f4fb700ef54: Pull complete 07:39:13 5d5c8e513c77: Pull complete 07:39:13 9f66e0745190: Pull complete 07:39:15 f49a43e4bbc0: Pull complete 07:39:16 561ebcabdf7f: Pull complete 07:39:16 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:39:16 ---> 3a752c3f9dda 07:39:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:39:22 Still waiting to schedule task 07:39:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24292’ 07:39:22 ---> Running in 73084df4622b 07:39:22 Removing intermediate container 73084df4622b 07:39:22 ---> 917f8367b51f 07:39:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:22 ---> Running in 5ab2873cc9b8 07:39:22 Removing intermediate container 5ab2873cc9b8 07:39:22 ---> de8cd83e1386 07:39:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:22 ---> Running in 4ed0b01ef973 07:39:23 Removing intermediate container 4ed0b01ef973 07:39:23 ---> eef8a330f5e0 07:39:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:39:23 ---> Running in d0f7db965330 07:39:23 Removing intermediate container d0f7db965330 07:39:23 ---> 0f86e938e670 07:39:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:23 ---> Running in 61084e15b391 07:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:24 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:39:24 (2/4) Installing libedit (20240517.3.1-r0) 07:39:24 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:39:24 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:39:24 Executing busybox-1.36.1-r29.trigger 07:39:24 OK: 250 MiB in 58 packages 07:39:24 Removing intermediate container 61084e15b391 07:39:24 ---> b2567024c8e5 07:39:24 Step 8/12 : WORKDIR /device-mqtt-go 07:39:24 ---> Running in 892742bf3287 07:39:25 Removing intermediate container 892742bf3287 07:39:25 ---> 0a754ba3ff59 07:39:25 Step 9/12 : COPY go.mod vendor* ./ 07:39:25 ---> 2301bc071ff7 07:39:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:25 ---> Running in b1faf7518528 07:40:21 Removing intermediate container b1faf7518528 07:40:21 ---> aa2cad795e70 07:40:21 Step 11/12 : COPY . . 07:40:21 ---> df179f3623f9 07:40:21 Step 12/12 : RUN $MAKE 07:40:21 ---> Running in 15d7d15c2387 07:40:21 noop 07:40:21 Removing intermediate container 15d7d15c2387 07:40:21 ---> 01a6c776a00f 07:40:21 Successfully built 01a6c776a00f 07:40:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:21 + docker inspect -f . ci-base-image-x86_64 07:40:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:21 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:40:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:40:22 $ docker top e510400fa0dbd8675b54710bafce01b7cf7ae8d25945f1b6be7ec9e51c93d619 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:22 + go version 07:40:22 go version go1.23.2 linux/amd64 [Pipeline] } 07:40:22 $ docker stop --time=1 e510400fa0dbd8675b54710bafce01b7cf7ae8d25945f1b6be7ec9e51c93d619 07:40:23 $ docker rm -f --volumes e510400fa0dbd8675b54710bafce01b7cf7ae8d25945f1b6be7ec9e51c93d619 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:24 + docker inspect -f . ci-base-image-x86_64 07:40:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:24 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:40:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:40:24 $ docker top 83a1a6139002d1727aa0349cb91ed9008651e5697143456c01d236bbf3ba2f5b -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 07:40:25 + make test 07:40:25 go test ./... -coverprofile=coverage.out ./... 07:40:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:40:49 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 07:40:49 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 07:40:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 07:40:59 go vet ./... 07:41:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:41:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:41:05 ./bin/test-attribution-txt.sh [Pipeline] echo 07:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:41:05 $ docker stop --time=1 83a1a6139002d1727aa0349cb91ed9008651e5697143456c01d236bbf3ba2f5b 07:41:10 $ docker rm -f --volumes 83a1a6139002d1727aa0349cb91ed9008651e5697143456c01d236bbf3ba2f5b [Pipeline] // withDockerContainer [Pipeline] sh 07:41:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:41:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:41:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:41:11 + ls -al . 07:41:11 total 252 07:41:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 07:40 . 07:41:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:38 .. 07:41:11 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 07:38 .dockerignore 07:41:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:40 .git 07:41:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:38 .github 07:41:11 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 07:38 .gitignore 07:41:11 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 07:38 .golangci.yml 07:41:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 07:39 .semver 07:41:11 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 1 07:38 Attribution.txt 07:41:11 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 1 07:38 CHANGELOG.md 07:41:11 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 1 07:38 Dockerfile 07:41:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 07:38 GOVERNANCE.md 07:41:11 -rw-rw-r-- 1 jenkins jenkins 657 Nov 1 07:38 Jenkinsfile 07:41:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 07:38 LICENSE 07:41:11 -rw-rw-r-- 1 jenkins jenkins 2500 Nov 1 07:38 Makefile 07:41:11 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 07:38 OWNERS.md 07:41:11 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 1 07:38 README.md 07:41:11 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 07:39 VERSION 07:41:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:38 bin 07:41:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:38 cmd 07:41:11 -rw-r--r-- 1 jenkins jenkins 21039 Nov 1 07:40 coverage.out 07:41:11 -rw-rw-r-- 1 jenkins jenkins 6370 Nov 1 07:38 go.mod 07:41:11 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 07:38 go.sum 07:41:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:38 internal 07:41:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:38 mock 07:41:11 -rw-rw-r-- 1 jenkins jenkins 227 Nov 1 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:11 + 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=6320066227888112c6c0a181794f3c9cc54daea1 --label arch=amd64 --label version=4.0.0-dev.2 . 07:41:11 Sending build context to Docker daemon 20.97MB 07:41:11 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 07:41:11 Step 2/25 : FROM ${BASE} AS builder 07:41:11 ---> 01a6c776a00f 07:41:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:41:12 ---> Running in 0ceb49fe3605 07:41:12 Removing intermediate container 0ceb49fe3605 07:41:12 ---> c0b7d8e1805e 07:41:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:41:12 ---> Running in c1b356421bf0 07:41:12 Removing intermediate container c1b356421bf0 07:41:12 ---> 104d9a9c684e 07:41:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:41:12 ---> Running in 13ef2f9e938d 07:41:12 Removing intermediate container 13ef2f9e938d 07:41:12 ---> 0c9fe17da3c1 07:41:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:41:12 ---> Running in dd7d1db67456 07:41:13 Removing intermediate container dd7d1db67456 07:41:13 ---> ca20e172e0a9 07:41:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:41:13 ---> Running in 144a2aafb23c 07:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:41:14 OK: 250 MiB in 58 packages 07:41:14 Removing intermediate container 144a2aafb23c 07:41:14 ---> 542c2b041aca 07:41:14 Step 8/25 : WORKDIR /device-mqtt-go 07:41:15 ---> Running in a022b5e8d700 07:41:15 Removing intermediate container a022b5e8d700 07:41:15 ---> d59ebfa83f47 07:41:15 Step 9/25 : COPY go.mod vendor* ./ 07:41:15 ---> d31320bd63cb 07:41:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:41:15 ---> Running in 72f81ebf9968 07:41:16 Removing intermediate container 72f81ebf9968 07:41:16 ---> 3fb4276a91f5 07:41:16 Step 11/25 : COPY . . 07:41:17 ---> 34ab069c39ef 07:41:17 Step 12/25 : RUN $MAKE 07:41:17 ---> Running in 67c05be561c6 07:41:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd 07:41:56 Removing intermediate container 67c05be561c6 07:41:56 ---> 52bc8198a091 07:41:56 Step 13/25 : FROM alpine:3.20 07:41:56 3.20: Pulling from library/alpine 07:41:57 43c4264eed91: Already exists 07:41:57 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:41:57 Status: Downloaded newer image for alpine:3.20 07:41:57 ---> 91ef0af61f39 07:41:57 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 07:41:57 ---> Running in 9a80fa916a87 07:41:57 Removing intermediate container 9a80fa916a87 07:41:57 ---> 084a1162bc74 07:41:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:41:57 ---> Running in e05ffce54d0b 07:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:41:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:41:58 (1/1) Installing dumb-init (1.2.5-r3) 07:41:58 Executing busybox-1.36.1-r29.trigger 07:41:58 OK: 8 MiB in 15 packages 07:41:58 Removing intermediate container e05ffce54d0b 07:41:58 ---> 53f68bbd1cb1 07:41:58 Step 16/25 : RUN apk --no-cache upgrade 07:41:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24293 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 07:41:59 Running in /w/workspace/device-mqtt-go/180 [Pipeline] { [Pipeline] checkout 07:41:59 ---> Running in 9c2240017e23 07:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:41:59 Upgrading critical system libraries and apk-tools: 07:41:59 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:41:59 Executing busybox-1.36.1-r29.trigger 07:41:59 Continuing the upgrade transaction with new apk-tools: 07:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:42:00 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:42:00 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:42:00 OK: 8 MiB in 15 packages 07:42:01 Removing intermediate container 9c2240017e23 07:42:01 ---> 94e301582098 07:42:01 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 07:42:02 The recommended git tool is: git 07:42:03 ---> 334ddd1d1820 07:42:03 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 07:42:03 ---> 2e7dd649a5e0 07:42:03 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:42:04 ---> 1f82dc7b4dbf 07:42:04 Step 20/25 : EXPOSE 59982 07:42:04 ---> Running in 341db1e1385a 07:42:04 Removing intermediate container 341db1e1385a 07:42:04 ---> 2a60f494341e 07:42:04 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 07:42:04 ---> Running in 587340e6ba13 07:42:04 Removing intermediate container 587340e6ba13 07:42:04 ---> 41e9091d16da 07:42:04 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:42:04 ---> Running in e7196dd24b1f 07:42:05 Removing intermediate container e7196dd24b1f 07:42:05 ---> ce43a21c8564 07:42:05 Step 23/25 : LABEL arch=amd64 07:42:05 ---> Running in 8728468661bd 07:42:05 Removing intermediate container 8728468661bd 07:42:05 ---> 3c0f2213a6ac 07:42:05 Step 24/25 : LABEL git_sha=6320066227888112c6c0a181794f3c9cc54daea1 07:42:06 ---> Running in 7f6c52dfd9a1 07:42:06 Removing intermediate container 7f6c52dfd9a1 07:42:06 ---> cfa596ce88d6 07:42:06 Step 25/25 : LABEL version=4.0.0-dev.2 07:42:06 ---> Running in 0e17f5fbadff 07:42:07 Removing intermediate container 0e17f5fbadff 07:42:07 ---> 129a6a123100 07:42:07 [Warning] One or more build-args [ARCH] were not consumed 07:42:07 Successfully built 129a6a123100 07:42:07 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:42:07 provisioning config files... 07:42:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10465410984583873799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:42:07 ---> ****-login.sh 07:42:07 nexus3.edgexfoundry.org:10001 07:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:07 Configure a credential helper to remove this warning. See 07:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:07 07:42:07 Login Succeeded 07:42:07 nexus3.edgexfoundry.org:10002 07:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:07 Configure a credential helper to remove this warning. See 07:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:07 07:42:07 Login Succeeded 07:42:07 nexus3.edgexfoundry.org:10003 07:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:07 Configure a credential helper to remove this warning. See 07:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:07 07:42:07 Login Succeeded 07:42:07 nexus3.edgexfoundry.org:10004 07:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:08 Configure a credential helper to remove this warning. See 07:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:08 07:42:08 Login Succeeded 07:42:08 ****.io 07:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:08 Configure a credential helper to remove this warning. See 07:42:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:08 07:42:08 Login Succeeded 07:42:08 ---> ****-login.sh ends [Pipeline] } 07:42:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:42:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:42:08 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:42:08 6320066227888112c6c0a181794f3c9cc54daea1 07:42:08 latest 07:42:08 4.0.0-dev.2 07:42:08 6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 07:42:08 main 07:42:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6320066227888112c6c0a181794f3c9cc54daea1 07:42:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:42:09 7e60d4a88ac4: Preparing 07:42:09 201486e9d3a8: Preparing 07:42:09 449d0a4bceb7: Preparing 07:42:09 619a19b3605e: Preparing 07:42:09 ec689eb04930: Preparing 07:42:09 63ca1fbb43ae: Preparing 07:42:09 63ca1fbb43ae: Waiting 07:42:09 ec689eb04930: Pushed 07:42:09 201486e9d3a8: Pushed 07:42:09 7e60d4a88ac4: Pushed 07:42:09 63ca1fbb43ae: Layer already exists 07:42:09 619a19b3605e: Pushed 07:42:11 using credential edgex-jenkins-ssh 07:42:11 Cloning the remote Git repository 07:42:11 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:42:11 > git init /w/workspace/device-mqtt-go/180 # timeout=10 07:42:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:42:11 > git --version # timeout=10 07:42:11 > git --version # 'git version 2.25.1' 07:42:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:42:14 449d0a4bceb7: Pushed 07:42:14 6320066227888112c6c0a181794f3c9cc54daea1: digest: sha256:542e0ce2bf800c27f7107dd38ee25cacd47dbe3c7a874f78e980dea77db305ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:42:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:42:14 7e60d4a88ac4: Preparing 07:42:14 201486e9d3a8: Preparing 07:42:14 449d0a4bceb7: Preparing 07:42:14 619a19b3605e: Preparing 07:42:14 ec689eb04930: Preparing 07:42:14 63ca1fbb43ae: Preparing 07:42:14 63ca1fbb43ae: Waiting 07:42:14 ec689eb04930: Layer already exists 07:42:14 449d0a4bceb7: Layer already exists 07:42:14 7e60d4a88ac4: Layer already exists 07:42:14 201486e9d3a8: Layer already exists 07:42:14 619a19b3605e: Layer already exists 07:42:14 63ca1fbb43ae: Layer already exists 07:42:14 latest: digest: sha256:542e0ce2bf800c27f7107dd38ee25cacd47dbe3c7a874f78e980dea77db305ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.2 07:42:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:42:15 7e60d4a88ac4: Preparing 07:42:15 201486e9d3a8: Preparing 07:42:15 449d0a4bceb7: Preparing 07:42:15 619a19b3605e: Preparing 07:42:15 ec689eb04930: Preparing 07:42:15 63ca1fbb43ae: Preparing 07:42:15 63ca1fbb43ae: Waiting 07:42:15 619a19b3605e: Layer already exists 07:42:15 201486e9d3a8: Layer already exists 07:42:15 7e60d4a88ac4: Layer already exists 07:42:15 449d0a4bceb7: Layer already exists 07:42:15 ec689eb04930: Layer already exists 07:42:15 63ca1fbb43ae: Layer already exists 07:42:15 4.0.0-dev.2: digest: sha256:542e0ce2bf800c27f7107dd38ee25cacd47dbe3c7a874f78e980dea77db305ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:42:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:42:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 07:42:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:42:16 7e60d4a88ac4: Preparing 07:42:16 201486e9d3a8: Preparing 07:42:16 449d0a4bceb7: Preparing 07:42:16 619a19b3605e: Preparing 07:42:16 ec689eb04930: Preparing 07:42:16 63ca1fbb43ae: Preparing 07:42:16 63ca1fbb43ae: Waiting 07:42:16 449d0a4bceb7: Layer already exists 07:42:16 619a19b3605e: Layer already exists 07:42:16 201486e9d3a8: Layer already exists 07:42:16 7e60d4a88ac4: Layer already exists 07:42:16 ec689eb04930: Layer already exists 07:42:16 63ca1fbb43ae: Layer already exists 07:42:16 6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2: digest: sha256:542e0ce2bf800c27f7107dd38ee25cacd47dbe3c7a874f78e980dea77db305ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:16 Avoid second fetch 07:42:16 Checking out Revision 6320066227888112c6c0a181794f3c9cc54daea1 (main) 07:42:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 07:42:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:42:16 7e60d4a88ac4: Preparing 07:42:16 201486e9d3a8: Preparing 07:42:16 449d0a4bceb7: Preparing 07:42:16 619a19b3605e: Preparing 07:42:16 ec689eb04930: Preparing 07:42:16 63ca1fbb43ae: Preparing 07:42:16 63ca1fbb43ae: Waiting 07:42:16 619a19b3605e: Layer already exists 07:42:16 7e60d4a88ac4: Layer already exists 07:42:16 ec689eb04930: Layer already exists 07:42:16 449d0a4bceb7: Layer already exists 07:42:16 201486e9d3a8: Layer already exists 07:42:16 63ca1fbb43ae: Layer already exists 07:42:16 main: digest: sha256:542e0ce2bf800c27f7107dd38ee25cacd47dbe3c7a874f78e980dea77db305ac size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:42:16 ===================================================== [Pipeline] echo 07:42:16 taggedImages: 07:42:16 - nexus3.edgexfoundry.org:10004/device-mqtt:6320066227888112c6c0a181794f3c9cc54daea1 07:42:16 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:42:16 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.2 07:42:16 - nexus3.edgexfoundry.org:10004/device-mqtt:6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 07:42:16 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:16 Commit message: "Merge pull request #706 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" 07:42:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:42:17 07:42:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:16 > git config core.sparsecheckout # timeout=10 07:42:16 > git checkout -f 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 07:42:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:42:17 latest: Pulling from edgex-lftools-log-publisher 07:42:17 5eb5b503b376: Pulling fs layer 07:42:17 5c69ac0246d0: Pulling fs layer 07:42:17 ec43610c2a17: Pulling fs layer 07:42:17 3a2ae6a8a46f: Pulling fs layer 07:42:17 33b1e0a273af: Pulling fs layer 07:42:17 5d3b04190fa2: Pulling fs layer 07:42:17 2f39f015ded8: Pulling fs layer 07:42:17 3a2ae6a8a46f: Waiting 07:42:17 33b1e0a273af: Waiting 07:42:17 5d3b04190fa2: Waiting 07:42:17 2f39f015ded8: Waiting 07:42:17 5c69ac0246d0: Verifying Checksum 07:42:17 5c69ac0246d0: Download complete 07:42:17 3a2ae6a8a46f: Verifying Checksum 07:42:17 3a2ae6a8a46f: Download complete 07:42:17 33b1e0a273af: Verifying Checksum 07:42:17 33b1e0a273af: Download complete 07:42:17 5d3b04190fa2: Verifying Checksum 07:42:17 5d3b04190fa2: Download complete 07:42:17 ec43610c2a17: Verifying Checksum 07:42:17 ec43610c2a17: Download complete 07:42:17 5eb5b503b376: Verifying Checksum 07:42:17 5eb5b503b376: Download complete 07:42:18 2f39f015ded8: Download complete 07:42:19 5eb5b503b376: Pull complete 07:42:19 5c69ac0246d0: Pull complete 07:42:19 ec43610c2a17: Pull complete 07:42:19 3a2ae6a8a46f: Pull complete 07:42:20 33b1e0a273af: Pull complete 07:42:20 5d3b04190fa2: Pull complete 07:42:21 07:42:21 GitHub has been notified of this commit’s build result 07:42:21 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:42:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:42:21 % Total % Received % Xferd Average Speed Time Time Time Current 07:42:21 Dload Upload Total Spent Left Speed 07:42:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 07:42:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:42:22 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 07:42:22 tee /etc/docker/daemon.new 07:42:22 { 07:42:22 "registry-mirrors": [ 07:42:22 "https://nexus3.edgexfoundry.org:10001" 07:42:22 ], 07:42:22 "bip": "10.250.0.254/24", 07:42:22 "hosts": [ 07:42:22 "tcp://0.0.0.0:5555", 07:42:22 "unix:///var/run/docker.sock" 07:42:22 ], 07:42:22 "mtu": 1458, 07:42:22 "selinux-enabled": true, 07:42:22 "seccomp-profile": "/etc/docker/seccomp.json" 07:42:22 } [Pipeline] sh 07:42:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:42:23 + sudo service docker restart 07:42:25 2f39f015ded8: Pull complete 07:42:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:42:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:42:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:25 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:42:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:42:32 $ docker top cb7077ccc98f17cf90545fe5512bea63b1f31e3c522267328a503b74e1b4077c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:42:33 ---> job-cost.sh 07:42:33 lf-activate-venv: SKIPPING 07:42:33 INFO: No Stack... 07:42:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:42:33 INFO: Archiving Costs [Pipeline] sh 07:42:33 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 07:42:33 + cut -d, -f6 [Pipeline] lock 07:42:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] 07:42:33 Resource [jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] did not exist. Created. 07:42:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:42:34 + echo total: 0.2199999988079071 [Pipeline] stash 07:42:34 Stashed 1 file(s) [Pipeline] } 07:42:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 07:42:34 $ docker stop --time=1 cb7077ccc98f17cf90545fe5512bea63b1f31e3c522267328a503b74e1b4077c 07:42:35 $ docker rm -f --volumes cb7077ccc98f17cf90545fe5512bea63b1f31e3c522267328a503b74e1b4077c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:42:41 provisioning config files... 07:42:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/180@tmp/config9632691632303883165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:42:41 ---> ****-login.sh 07:42:41 nexus3.edgexfoundry.org:10001 07:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:42 Configure a credential helper to remove this warning. See 07:42:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:42 07:42:42 Login Succeeded 07:42:42 nexus3.edgexfoundry.org:10002 07:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:42 Configure a credential helper to remove this warning. See 07:42:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:42 07:42:42 Login Succeeded 07:42:42 nexus3.edgexfoundry.org:10003 07:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:43 Configure a credential helper to remove this warning. See 07:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:43 07:42:43 Login Succeeded 07:42:43 nexus3.edgexfoundry.org:10004 07:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:43 Configure a credential helper to remove this warning. See 07:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:43 07:42:43 Login Succeeded 07:42:43 ****.io 07:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:42:44 Configure a credential helper to remove this warning. See 07:42:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:42:44 07:42:44 Login Succeeded 07:42:44 ---> ****-login.sh ends [Pipeline] } 07:42:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:42:44 ========================================================= 07:42:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:42:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:42:45 Sending build context to Docker daemon 10.59MB 07:42:45 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:42:45 Step 2/12 : FROM ${BASE} AS builder 07:42:45 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:42:45 cf04c63912e1: Pulling fs layer 07:42:45 55b35a11ae5e: Pulling fs layer 07:42:45 a37a00ec5f00: Pulling fs layer 07:42:45 50b3750afda1: Pulling fs layer 07:42:45 4f4fb700ef54: Pulling fs layer 07:42:45 80978eb59214: Pulling fs layer 07:42:45 c9f46d7d2bd2: Pulling fs layer 07:42:45 c5a475d317c9: Pulling fs layer 07:42:45 50b3750afda1: Waiting 07:42:45 4f4fb700ef54: Waiting 07:42:45 80978eb59214: Waiting 07:42:45 c9f46d7d2bd2: Waiting 07:42:45 c5a475d317c9: Waiting 07:42:45 55b35a11ae5e: Download complete 07:42:45 50b3750afda1: Verifying Checksum 07:42:45 50b3750afda1: Download complete 07:42:45 4f4fb700ef54: Verifying Checksum 07:42:45 4f4fb700ef54: Download complete 07:42:45 80978eb59214: Verifying Checksum 07:42:45 80978eb59214: Download complete 07:42:45 cf04c63912e1: Verifying Checksum 07:42:45 cf04c63912e1: Download complete 07:42:46 c5a475d317c9: Verifying Checksum 07:42:46 c5a475d317c9: Download complete 07:42:46 cf04c63912e1: Pull complete 07:42:47 55b35a11ae5e: Pull complete 07:42:47 a37a00ec5f00: Verifying Checksum 07:42:47 a37a00ec5f00: Download complete 07:42:48 c9f46d7d2bd2: Verifying Checksum 07:42:48 c9f46d7d2bd2: Download complete 07:43:03 a37a00ec5f00: Pull complete 07:43:03 50b3750afda1: Pull complete 07:43:03 4f4fb700ef54: Pull complete 07:43:03 80978eb59214: Pull complete 07:43:10 c9f46d7d2bd2: Pull complete 07:43:12 c5a475d317c9: Pull complete 07:43:12 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:43:12 ---> be29e6b0f0d4 07:43:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:43:13 ---> Running in e9c7cfac5d60 07:43:13 Removing intermediate container e9c7cfac5d60 07:43:13 ---> f1e2dfb95c18 07:43:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:13 ---> Running in aa22ac4cf14b 07:43:13 Removing intermediate container aa22ac4cf14b 07:43:13 ---> 6fb94d47a1ab 07:43:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:43:13 ---> Running in 392f53a62f0a 07:43:13 Removing intermediate container 392f53a62f0a 07:43:13 ---> 621019deef67 07:43:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:43:14 ---> Running in e94353071f20 07:43:14 Removing intermediate container e94353071f20 07:43:14 ---> b7983ac06602 07:43:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:43:14 ---> Running in 077c5feb9a04 07:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:43:17 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:43:17 (2/4) Installing libedit (20240517.3.1-r0) 07:43:17 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:43:17 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:43:17 Executing busybox-1.36.1-r29.trigger 07:43:17 OK: 242 MiB in 58 packages 07:43:20 Removing intermediate container 077c5feb9a04 07:43:20 ---> a6442abaf675 07:43:20 Step 8/12 : WORKDIR /device-mqtt-go 07:43:20 ---> Running in da2ffb0ab81d 07:43:20 Removing intermediate container da2ffb0ab81d 07:43:20 ---> c06ed6d72632 07:43:20 Step 9/12 : COPY go.mod vendor* ./ 07:43:20 ---> 308c742f15e4 07:43:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:20 ---> Running in 25e262d796cf 07:45:12 Removing intermediate container 25e262d796cf 07:45:12 ---> 72b5fc122b6a 07:45:12 Step 11/12 : COPY . . 07:45:12 ---> ab2b786744c7 07:45:12 Step 12/12 : RUN $MAKE 07:45:12 ---> Running in 886dcf70e647 07:45:12 noop 07:45:12 Removing intermediate container 886dcf70e647 07:45:12 ---> 566f94efcdd8 07:45:12 Successfully built 566f94efcdd8 07:45:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:12 + docker inspect -f . ci-base-image-arm64 07:45:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:12 prd-ubuntu20.04-docker-arm64-4c-16g-24293 does not seem to be running inside a container 07:45:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/180 -v /w/workspace/device-mqtt-go/180:/w/workspace/device-mqtt-go/180:rw,z -v /w/workspace/device-mqtt-go/180@tmp:/w/workspace/device-mqtt-go/180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:45:14 $ docker top b3c8cc0c53bacb578724b8911abde89fcba6452b823d5b4437fdff81ab605ac0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:15 + go version 07:45:15 go version go1.23.2 linux/arm64 [Pipeline] } 07:45:15 $ docker stop --time=1 b3c8cc0c53bacb578724b8911abde89fcba6452b823d5b4437fdff81ab605ac0 07:45:16 $ docker rm -f --volumes b3c8cc0c53bacb578724b8911abde89fcba6452b823d5b4437fdff81ab605ac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:17 + docker inspect -f . ci-base-image-arm64 07:45:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:17 prd-ubuntu20.04-docker-arm64-4c-16g-24293 does not seem to be running inside a container 07:45:17 $ 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/180 -v /w/workspace/device-mqtt-go/180:/w/workspace/device-mqtt-go/180:rw,z -v /w/workspace/device-mqtt-go/180@tmp:/w/workspace/device-mqtt-go/180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:45:18 $ docker top d2c71bdf088fbb9109c65aae10f340a3e2eb082a82ac6f92e3ddf9d4367c4ff3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:19 + git config --global --add safe.directory /w/workspace/device-mqtt-go/180 [Pipeline] fileExists [Pipeline] sh 07:45:19 + make test 07:45:20 go test ./... -coverprofile=coverage.out ./... 07:45:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:48:48 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 07:48:50 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 07:48:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 22.8% of statements 07:48:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:48:52 go vet ./... 07:49:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:49:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:49:48 ./bin/test-attribution-txt.sh [Pipeline] echo 07:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:49:48 $ docker stop --time=1 d2c71bdf088fbb9109c65aae10f340a3e2eb082a82ac6f92e3ddf9d4367c4ff3 07:49:50 $ docker rm -f --volumes d2c71bdf088fbb9109c65aae10f340a3e2eb082a82ac6f92e3ddf9d4367c4ff3 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:49:52 Warning: overwriting stash ‘coverage-report’ 07:49:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:49:53 + ls -al . 07:49:53 total 248 07:49:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:45 . 07:49:53 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:42 .. 07:49:53 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 07:42 .dockerignore 07:49:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:42 .git 07:49:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:42 .github 07:49:53 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 07:42 .gitignore 07:49:53 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 07:42 .golangci.yml 07:49:53 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 1 07:42 Attribution.txt 07:49:53 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 1 07:42 CHANGELOG.md 07:49:53 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 1 07:42 Dockerfile 07:49:53 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 07:42 GOVERNANCE.md 07:49:53 -rw-rw-r-- 1 jenkins jenkins 657 Nov 1 07:42 Jenkinsfile 07:49:53 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 07:42 LICENSE 07:49:53 -rw-rw-r-- 1 jenkins jenkins 2500 Nov 1 07:42 Makefile 07:49:53 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 07:42 OWNERS.md 07:49:53 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 1 07:42 README.md 07:49:53 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 07:39 VERSION 07:49:53 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:42 bin 07:49:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:42 cmd 07:49:53 -rw-r--r-- 1 jenkins jenkins 21039 Nov 1 07:48 coverage.out 07:49:53 -rw-rw-r-- 1 jenkins jenkins 6370 Nov 1 07:42 go.mod 07:49:53 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 07:42 go.sum 07:49:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:42 internal 07:49:53 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:42 mock 07:49:53 -rw-rw-r-- 1 jenkins jenkins 227 Nov 1 07:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:53 + 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=6320066227888112c6c0a181794f3c9cc54daea1 --label arch=arm64 --label version=4.0.0-dev.2 . 07:49:54 Sending build context to Docker daemon 10.61MB 07:49:54 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 07:49:54 Step 2/25 : FROM ${BASE} AS builder 07:49:54 ---> 566f94efcdd8 07:49:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:49:54 ---> Running in 2cceddb73438 07:49:54 Removing intermediate container 2cceddb73438 07:49:54 ---> 455450d6831c 07:49:54 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:49:55 ---> Running in a09091e5e62c 07:49:55 Removing intermediate container a09091e5e62c 07:49:55 ---> 21119b03e2e4 07:49:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:49:55 ---> Running in af6f238a9302 07:49:55 Removing intermediate container af6f238a9302 07:49:55 ---> d1e66f548233 07:49:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:49:55 ---> Running in c0fd02e00d3f 07:49:56 Removing intermediate container c0fd02e00d3f 07:49:56 ---> c40fc9ad9e74 07:49:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:49:56 ---> Running in 5020a51bd3a3 07:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:49:59 OK: 242 MiB in 58 packages 07:50:00 Removing intermediate container 5020a51bd3a3 07:50:00 ---> fee748c1b57a 07:50:00 Step 8/25 : WORKDIR /device-mqtt-go 07:50:00 ---> Running in bae2ce01efb0 07:50:00 Removing intermediate container bae2ce01efb0 07:50:00 ---> b37a0fd0d195 07:50:00 Step 9/25 : COPY go.mod vendor* ./ 07:50:00 ---> 01d7a991f43b 07:50:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:50:00 ---> Running in b8e61032d6fd 07:50:03 Removing intermediate container b8e61032d6fd 07:50:03 ---> 7cc93e7190b8 07:50:03 Step 11/25 : COPY . . 07:50:04 ---> 4fc7e8a2de55 07:50:04 Step 12/25 : RUN $MAKE 07:50:04 ---> Running in 41ac14be4f69 07:50:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd 07:53:42 Removing intermediate container 41ac14be4f69 07:53:42 ---> adb898cab64b 07:53:42 Step 13/25 : FROM alpine:3.20 07:53:42 3.20: Pulling from library/alpine 07:53:42 cf04c63912e1: Already exists 07:53:42 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:53:42 Status: Downloaded newer image for alpine:3.20 07:53:42 ---> c157a85ed455 07:53:42 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 07:53:42 ---> Running in 6c698619abe7 07:53:42 Removing intermediate container 6c698619abe7 07:53:42 ---> f0977fc4b017 07:53:42 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:53:42 ---> Running in 778c0c659453 07:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:53:42 (1/1) Installing dumb-init (1.2.5-r3) 07:53:42 Executing busybox-1.36.1-r29.trigger 07:53:42 OK: 9 MiB in 15 packages 07:53:42 Removing intermediate container 778c0c659453 07:53:42 ---> fb3de001a88f 07:53:42 Step 16/25 : RUN apk --no-cache upgrade 07:53:42 ---> Running in 7a8e393e870b 07:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:53:43 Upgrading critical system libraries and apk-tools: 07:53:43 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:53:43 Executing busybox-1.36.1-r29.trigger 07:53:43 Continuing the upgrade transaction with new apk-tools: 07:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:53:45 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:53:45 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:53:45 OK: 9 MiB in 15 packages 07:53:46 Removing intermediate container 7a8e393e870b 07:53:46 ---> 1c42256bc274 07:53:46 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 07:53:49 ---> afb8a7a76330 07:53:49 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 07:53:49 ---> 220e3ca751b8 07:53:49 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:53:50 ---> bbc38d5769d6 07:53:50 Step 20/25 : EXPOSE 59982 07:53:50 ---> Running in 5189987b6463 07:53:50 Removing intermediate container 5189987b6463 07:53:50 ---> 079ef7068394 07:53:50 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 07:53:50 ---> Running in 4f4e1795f8af 07:53:50 Removing intermediate container 4f4e1795f8af 07:53:50 ---> d0814f4d0eee 07:53:50 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:53:50 ---> Running in 364634b4864a 07:53:51 Removing intermediate container 364634b4864a 07:53:51 ---> 58bc194b1e4d 07:53:51 Step 23/25 : LABEL arch=arm64 07:53:51 ---> Running in 1e226e6a03ec 07:53:51 Removing intermediate container 1e226e6a03ec 07:53:51 ---> 7ce8e1a752f4 07:53:51 Step 24/25 : LABEL git_sha=6320066227888112c6c0a181794f3c9cc54daea1 07:53:51 ---> Running in edbd34c1620c 07:53:51 Removing intermediate container edbd34c1620c 07:53:51 ---> 406d44138c44 07:53:51 Step 25/25 : LABEL version=4.0.0-dev.2 07:53:51 ---> Running in 97540a3fe0a2 07:53:52 Removing intermediate container 97540a3fe0a2 07:53:52 ---> 2faeabab2f04 07:53:52 [Warning] One or more build-args [ARCH] were not consumed 07:53:52 Successfully built 2faeabab2f04 07:53:52 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:53 provisioning config files... 07:53:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/180@tmp/config12979039489391240483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:53 ---> ****-login.sh 07:53:53 nexus3.edgexfoundry.org:10001 07:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:53:53 Configure a credential helper to remove this warning. See 07:53:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:53:53 07:53:53 Login Succeeded 07:53:53 nexus3.edgexfoundry.org:10002 07:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:53:54 Configure a credential helper to remove this warning. See 07:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:53:54 07:53:54 Login Succeeded 07:53:54 nexus3.edgexfoundry.org:10003 07:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:53:54 Configure a credential helper to remove this warning. See 07:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:53:54 07:53:54 Login Succeeded 07:53:54 nexus3.edgexfoundry.org:10004 07:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:53:54 Configure a credential helper to remove this warning. See 07:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:53:54 07:53:54 Login Succeeded 07:53:54 ****.io 07:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:53:55 Configure a credential helper to remove this warning. See 07:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:53:55 07:53:55 Login Succeeded 07:53:55 ---> ****-login.sh ends [Pipeline] } 07:53:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:53:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:53:55 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 07:53:55 6320066227888112c6c0a181794f3c9cc54daea1 07:53:55 latest 07:53:55 4.0.0-dev.2 07:53:55 6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 07:53:55 main 07:53:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6320066227888112c6c0a181794f3c9cc54daea1 07:53:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:53:56 deb9616f185e: Preparing 07:53:56 a2c359c237e4: Preparing 07:53:56 6874cd9f96f8: Preparing 07:53:56 d0c8c5e26e98: Preparing 07:53:56 907d6ed766a3: Preparing 07:53:56 16113d51b718: Preparing 07:53:56 16113d51b718: Waiting 07:53:56 907d6ed766a3: Pushed 07:53:56 a2c359c237e4: Pushed 07:53:56 deb9616f185e: Pushed 07:53:56 16113d51b718: Layer already exists 07:53:57 d0c8c5e26e98: Pushed 07:54:07 6874cd9f96f8: Pushed 07:54:07 6320066227888112c6c0a181794f3c9cc54daea1: digest: sha256:761e8006a75a73d945f4d4a12befdce0ec78134971f4ee043194903d19158e48 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:54:08 deb9616f185e: Preparing 07:54:08 a2c359c237e4: Preparing 07:54:08 6874cd9f96f8: Preparing 07:54:08 d0c8c5e26e98: Preparing 07:54:08 907d6ed766a3: Preparing 07:54:08 16113d51b718: Preparing 07:54:08 16113d51b718: Waiting 07:54:08 a2c359c237e4: Layer already exists 07:54:08 907d6ed766a3: Layer already exists 07:54:08 d0c8c5e26e98: Layer already exists 07:54:08 6874cd9f96f8: Layer already exists 07:54:08 deb9616f185e: Layer already exists 07:54:08 16113d51b718: Layer already exists 07:54:08 latest: digest: sha256:761e8006a75a73d945f4d4a12befdce0ec78134971f4ee043194903d19158e48 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.2 07:54:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:54:09 deb9616f185e: Preparing 07:54:09 a2c359c237e4: Preparing 07:54:09 6874cd9f96f8: Preparing 07:54:09 d0c8c5e26e98: Preparing 07:54:09 907d6ed766a3: Preparing 07:54:09 16113d51b718: Preparing 07:54:09 16113d51b718: Waiting 07:54:09 deb9616f185e: Layer already exists 07:54:09 d0c8c5e26e98: Layer already exists 07:54:09 a2c359c237e4: Layer already exists 07:54:09 907d6ed766a3: Layer already exists 07:54:09 6874cd9f96f8: Layer already exists 07:54:09 16113d51b718: Layer already exists 07:54:09 4.0.0-dev.2: digest: sha256:761e8006a75a73d945f4d4a12befdce0ec78134971f4ee043194903d19158e48 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 07:54:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:54:10 deb9616f185e: Preparing 07:54:10 a2c359c237e4: Preparing 07:54:10 6874cd9f96f8: Preparing 07:54:10 d0c8c5e26e98: Preparing 07:54:10 907d6ed766a3: Preparing 07:54:10 16113d51b718: Preparing 07:54:10 16113d51b718: Waiting 07:54:10 a2c359c237e4: Layer already exists 07:54:10 907d6ed766a3: Layer already exists 07:54:10 d0c8c5e26e98: Layer already exists 07:54:10 deb9616f185e: Layer already exists 07:54:10 6874cd9f96f8: Layer already exists 07:54:10 16113d51b718: Layer already exists 07:54:10 6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2: digest: sha256:761e8006a75a73d945f4d4a12befdce0ec78134971f4ee043194903d19158e48 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 07:54:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:54:11 deb9616f185e: Preparing 07:54:11 a2c359c237e4: Preparing 07:54:11 6874cd9f96f8: Preparing 07:54:11 d0c8c5e26e98: Preparing 07:54:11 907d6ed766a3: Preparing 07:54:11 16113d51b718: Preparing 07:54:11 6874cd9f96f8: Layer already exists 07:54:11 d0c8c5e26e98: Layer already exists 07:54:11 907d6ed766a3: Layer already exists 07:54:11 a2c359c237e4: Layer already exists 07:54:11 deb9616f185e: Layer already exists 07:54:11 16113d51b718: Layer already exists 07:54:11 main: digest: sha256:761e8006a75a73d945f4d4a12befdce0ec78134971f4ee043194903d19158e48 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:54:11 ===================================================== [Pipeline] echo 07:54:11 taggedImages: 07:54:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6320066227888112c6c0a181794f3c9cc54daea1 07:54:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:54:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.2 07:54:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6320066227888112c6c0a181794f3c9cc54daea1-4.0.0-dev.2 07:54:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:54:11 07:54:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:54:12 arm64: Pulling from edgex-lftools-log-publisher 07:54:12 8998bd30e6a1: Pulling fs layer 07:54:12 04944245beec: Pulling fs layer 07:54:12 699f458cf7ca: Pulling fs layer 07:54:12 765212b225bb: Pulling fs layer 07:54:12 f23df028b6ca: Pulling fs layer 07:54:12 d65c8cfc05b1: Pulling fs layer 07:54:12 2437ff75d9bd: Pulling fs layer 07:54:12 765212b225bb: Waiting 07:54:12 f23df028b6ca: Waiting 07:54:12 d65c8cfc05b1: Waiting 07:54:12 2437ff75d9bd: Waiting 07:54:12 04944245beec: Verifying Checksum 07:54:12 04944245beec: Download complete 07:54:12 765212b225bb: Verifying Checksum 07:54:12 765212b225bb: Download complete 07:54:12 f23df028b6ca: Verifying Checksum 07:54:12 f23df028b6ca: Download complete 07:54:12 d65c8cfc05b1: Verifying Checksum 07:54:12 d65c8cfc05b1: Download complete 07:54:12 699f458cf7ca: Verifying Checksum 07:54:12 699f458cf7ca: Download complete 07:54:13 8998bd30e6a1: Download complete 07:54:15 2437ff75d9bd: Verifying Checksum 07:54:15 2437ff75d9bd: Download complete 07:54:17 8998bd30e6a1: Pull complete 07:54:17 04944245beec: Pull complete 07:54:19 699f458cf7ca: Pull complete 07:54:19 765212b225bb: Pull complete 07:54:20 f23df028b6ca: Pull complete 07:54:20 d65c8cfc05b1: Pull complete 07:54:35 2437ff75d9bd: Pull complete 07:54:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:54:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:54:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:35 prd-ubuntu20.04-docker-arm64-4c-16g-24293 does not seem to be running inside a container 07:54:35 $ 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/180 -v /w/workspace/device-mqtt-go/180:/w/workspace/device-mqtt-go/180:rw,z -v /w/workspace/device-mqtt-go/180@tmp:/w/workspace/device-mqtt-go/180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:54:37 $ docker top fc7090e95d099504660bac1c5eeef4ed06be4cf60c1b3b1cd99e9f8bb1d02a3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:38 ---> job-cost.sh 07:54:38 lf-activate-venv: SKIPPING 07:54:38 INFO: No Stack... 07:54:39 INFO: Retrieving Pricing Info for: v3-standard-4 07:54:39 INFO: Archiving Costs [Pipeline] sh 07:54:40 + cat /w/workspace/device-mqtt-go/180/archives/cost.csv 07:54:40 + cut -d, -f6 [Pipeline] lock 07:54:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] 07:54:40 Resource [jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] did not exist. Created. 07:54:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:54:40 /w/workspace/device-mqtt-go/180@tmp/durable-c2307dcb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:54:41 + echo total: 0.10999999940395355 [Pipeline] stash 07:54:41 Warning: overwriting stash ‘stack-cost’ 07:54:41 Stashed 1 file(s) [Pipeline] } 07:54:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 07:54:41 $ docker stop --time=1 fc7090e95d099504660bac1c5eeef4ed06be4cf60c1b3b1cd99e9f8bb1d02a3f 07:54:42 $ docker rm -f --volumes fc7090e95d099504660bac1c5eeef4ed06be4cf60c1b3b1cd99e9f8bb1d02a3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:54:43 provisioning config files... 07:54:43 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6634346340768289462tmp [Pipeline] { [Pipeline] sh 07:54:43 + set +x 07:54:43 + bash -s -- 07:54:43 + curl -s https://codecov.io/bash 07:54:43 07:54:43 _____ _ 07:54:43 / ____| | | 07:54:43 | | ___ __| | ___ ___ _____ __ 07:54:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:54:43 | |___| (_) | (_| | __/ (_| (_) \ V / 07:54:43 \_____\___/ \__,_|\___|\___\___/ \_/ 07:54:43 Bash-1.0.6 07:54:43 07:54:43 07:54:43 ==> git version 2.25.1 found 07:54:43 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:54:43 Release-Date: 2020-01-08 07:54:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:54:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:54:43 ==> Jenkins CI detected. 07:54:43 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 07:54:43 project root: . 07:54:43 --> token set from env 07:54:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:54:43 ==> Running gcov in . (disable via -X gcov) 07:54:43 ==> Python coveragepy not found 07:54:43 ==> Searching for coverage reports in: 07:54:43 + . 07:54:43 -> Found 1 reports 07:54:43 ==> Detecting git/mercurial file structure 07:54:43 ==> Reading reports 07:54:43 + ./coverage.out bytes=21039 07:54:43 ==> Appending adjustments 07:54:43 https://docs.codecov.io/docs/fixing-reports 07:54:43 + Found adjustments 07:54:43 ==> Gzipping contents 07:54:43 4.0K /tmp/codecov.sw7nEb.gz 07:54:43 ==> Uploading reports 07:54:43 url: https://codecov.io 07:54:43 query: branch=main&commit=6320066227888112c6c0a181794f3c9cc54daea1&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:54:43 -> Pinging Codecov 07:54:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6320066227888112c6c0a181794f3c9cc54daea1&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:54:43 -> Uploading to 07:54:43 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/6320066227888112c6c0a181794f3c9cc54daea1/d8351e94-9e25-4cf0-b110-7721b4d7bab0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T075443Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=1aee34678abb2cf71f1ad71d0e41ce35421798b2cde7382cd5476340a726c23c 07:54:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:54:43 Dload Upload Total Spent Left Speed 07:54:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14422 --:--:-- --:--:-- --:--:-- 14360 07:54:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] } 07:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:54:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:54:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:54:44 07:54:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:54:44 latest: Pulling from edgex-devops/edgex-snyk-go 07:54:44 43c4264eed91: Already exists 07:54:44 4cc291be95ef: Already exists 07:54:44 2ac1f1163629: Already exists 07:54:44 5c3c966382ef: Already exists 07:54:44 4f4fb700ef54: Already exists 07:54:44 d9c7d2e4e75e: Pulling fs layer 07:54:44 9c3e1370e548: Pulling fs layer 07:54:45 d9c7d2e4e75e: Verifying Checksum 07:54:45 d9c7d2e4e75e: Download complete 07:54:45 d9c7d2e4e75e: Pull complete 07:54:46 9c3e1370e548: Verifying Checksum 07:54:46 9c3e1370e548: Download complete 07:54:49 9c3e1370e548: Pull complete 07:54:49 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:54:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:54:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:49 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:54:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:54:52 $ docker top 5dd0b0d675f62ed567e28ba17340f5d99f8216c771f72c413ad61bf401d945bd -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 07:54:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 07:54:53 + set -o pipefail 07:54:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 07:54:59 07:54:59 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 07:54:59 07:54:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/33e5f722-37ee-4519-b555-a943b1b041bf 07:54:59 07:54:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:54:59 [Pipeline] } 07:54:59 $ docker stop --time=1 5dd0b0d675f62ed567e28ba17340f5d99f8216c771f72c413ad61bf401d945bd 07:55:06 $ docker rm -f --volumes 5dd0b0d675f62ed567e28ba17340f5d99f8216c771f72c413ad61bf401d945bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:07 + git log --format=format:%s -1 6320066227888112c6c0a181794f3c9cc54daea1 [Pipeline] sh 07:55:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:55:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:55:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:08 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:55:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:55:09 $ docker top 0f60dafe159d7e0c654a6fffd134c2ccfc2147f1652dcb1f06603797033edd1b -eo pid,comm 07:55:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:55:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:55:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:55:09 [ssh-agent] Looking for ssh-agent implementation... 07:55:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:55:09 $ docker exec 0f60dafe159d7e0c654a6fffd134c2ccfc2147f1652dcb1f06603797033edd1b ssh-agent 07:55:09 SSH_AUTH_SOCK=/tmp/ssh-zfgTm1sh0T7R/agent.33 07:55:09 SSH_AGENT_PID=39 07:55:09 Running ssh-add (command line suppressed) 07:55:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5593069296937170744.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5593069296937170744.key) 07:55:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:55:09 + git semver tag 07:55:10 2024-11-01 07:55:10,164 [run_tag] DEBUG tag force:False 07:55:10 2024-11-01 07:55:10,164 [check_head_tag] DEBUG check head tag 07:55:10 2024-11-01 07:55:10,165 [execute] INFO git cat-file --batch-check 07:55:10 2024-11-01 07:55:10,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:55:10 2024-11-01 07:55:10,169 [execute] INFO git cat-file --batch 07:55:10 2024-11-01 07:55:10,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:55:10 2024-11-01 07:55:10,191 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:10 2024-11-01 07:55:10,192 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 07:55:10 2024-11-01 07:55:10,192 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:55:10 2024-11-01 07:55:10,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:10 4.0.0-dev.2 [Pipeline] } 07:55:10 $ docker exec --env ******** --env ******** 0f60dafe159d7e0c654a6fffd134c2ccfc2147f1652dcb1f06603797033edd1b ssh-agent -k 07:55:10 unset SSH_AUTH_SOCK; 07:55:10 unset SSH_AGENT_PID; 07:55:10 echo Agent pid 39 killed; 07:55:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:55:10 + git semver [Pipeline] } 07:55:11 $ docker stop --time=1 0f60dafe159d7e0c654a6fffd134c2ccfc2147f1652dcb1f06603797033edd1b 07:55:12 $ docker rm -f --volumes 0f60dafe159d7e0c654a6fffd134c2ccfc2147f1652dcb1f06603797033edd1b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:55:14 07:55:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:55:14 0.23.1-centos7: Pulling from edgex-lftools 07:55:14 ab5ef0e58194: Pulling fs layer 07:55:14 9712f1f96733: Pulling fs layer 07:55:14 63f879dbbcfc: Pulling fs layer 07:55:14 0d9ebad4ef96: Pulling fs layer 07:55:14 e9a5061849ea: Pulling fs layer 07:55:14 d747dcd14b5f: Pulling fs layer 07:55:14 2de7ff778b66: Pulling fs layer 07:55:14 0d9ebad4ef96: Waiting 07:55:14 e9a5061849ea: Waiting 07:55:14 d747dcd14b5f: Waiting 07:55:14 9712f1f96733: Verifying Checksum 07:55:14 9712f1f96733: Download complete 07:55:14 63f879dbbcfc: Verifying Checksum 07:55:14 63f879dbbcfc: Download complete 07:55:14 0d9ebad4ef96: Verifying Checksum 07:55:14 0d9ebad4ef96: Download complete 07:55:14 e9a5061849ea: Verifying Checksum 07:55:14 e9a5061849ea: Download complete 07:55:14 d747dcd14b5f: Verifying Checksum 07:55:14 d747dcd14b5f: Download complete 07:55:14 ab5ef0e58194: Verifying Checksum 07:55:14 ab5ef0e58194: Download complete 07:55:15 2de7ff778b66: Verifying Checksum 07:55:15 2de7ff778b66: Download complete 07:55:17 ab5ef0e58194: Pull complete 07:55:17 9712f1f96733: Pull complete 07:55:18 63f879dbbcfc: Pull complete 07:55:22 0d9ebad4ef96: Pull complete 07:55:22 e9a5061849ea: Pull complete 07:55:22 d747dcd14b5f: Pull complete 07:55:23 2de7ff778b66: Pull complete 07:55:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:55:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:55:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:23 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:55:31 $ docker top ba826355aa6768d90602ecf5ff7bac7426cb26333dc7d085a7cd5179c3237b96 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:55:31 provisioning config files... 07:55:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5287024882147316746tmp 07:55:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5637642177807829874tmp 07:55:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4430590537085611853tmp [Pipeline] { [Pipeline] echo 07:55:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:55:31 ---> sigul-configuration.sh 07:55:31 gpg: directory `/root/.gnupg' created 07:55:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:55:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:55:31 gpg: keyring `/root/.gnupg/secring.gpg' created 07:55:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:55:31 gpg: CAST5 encrypted data 07:55:31 gpg: encrypted with 1 passphrase 07:55:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:55:31 + mkdir /home/jenkins 07:55:31 + mkdir /home/jenkins/sigul [Pipeline] sh 07:55:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:55:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:55:32 ---> sigul-install.sh 07:55:32 Sigul already installed; skipping installation. [Pipeline] sh 07:55:32 + git tag --list 07:55:32 0.7.1 07:55:32 v1.0.0 07:55:32 v1.1.0 07:55:32 v1.1.1 07:55:32 v1.2.2 07:55:32 v1.3.0 07:55:32 v1.3.1 07:55:32 v2.0.0 07:55:32 v2.1.0 07:55:32 v2.1.1 07:55:32 v2.2.0 07:55:32 v2.3.0 07:55:32 v3.0 07:55:32 v3.0.0 07:55:32 v3.1 07:55:32 v3.1.0 07:55:32 v3.1.0-dev.1 07:55:32 v3.1.0-dev.10 07:55:32 v3.1.0-dev.11 07:55:32 v3.1.0-dev.12 07:55:32 v3.1.0-dev.13 07:55:32 v3.1.0-dev.14 07:55:32 v3.1.0-dev.15 07:55:32 v3.1.0-dev.16 07:55:32 v3.1.0-dev.17 07:55:32 v3.1.0-dev.18 07:55:32 v3.1.0-dev.19 07:55:32 v3.1.0-dev.2 07:55:32 v3.1.0-dev.20 07:55:32 v3.1.0-dev.21 07:55:32 v3.1.0-dev.22 07:55:32 v3.1.0-dev.23 07:55:32 v3.1.0-dev.24 07:55:32 v3.1.0-dev.25 07:55:32 v3.1.0-dev.3 07:55:32 v3.1.0-dev.4 07:55:32 v3.1.0-dev.5 07:55:32 v3.1.0-dev.6 07:55:32 v3.1.0-dev.7 07:55:32 v3.1.0-dev.8 07:55:32 v3.1.0-dev.9 07:55:32 v3.1.1 07:55:32 v3.2.0-dev.1 07:55:32 v3.2.0-dev.10 07:55:32 v3.2.0-dev.11 07:55:32 v3.2.0-dev.12 07:55:32 v3.2.0-dev.13 07:55:32 v3.2.0-dev.14 07:55:32 v3.2.0-dev.15 07:55:32 v3.2.0-dev.16 07:55:32 v3.2.0-dev.17 07:55:32 v3.2.0-dev.18 07:55:32 v3.2.0-dev.19 07:55:32 v3.2.0-dev.2 07:55:32 v3.2.0-dev.20 07:55:32 v3.2.0-dev.21 07:55:32 v3.2.0-dev.22 07:55:32 v3.2.0-dev.23 07:55:32 v3.2.0-dev.3 07:55:32 v3.2.0-dev.4 07:55:32 v3.2.0-dev.5 07:55:32 v3.2.0-dev.6 07:55:32 v3.2.0-dev.7 07:55:32 v3.2.0-dev.8 07:55:32 v3.2.0-dev.9 07:55:32 v4.0.0-dev.1 07:55:32 v4.0.0-dev.2 [Pipeline] sh 07:55:33 + lftools sign git-tag v4.0.0-dev.2 07:55:33 Signing Git tag with Sigul... 07:55:33 Signing v4.0.0-dev.2 [Pipeline] echo 07:55:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:55:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:55:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:55:34 $ docker stop --time=1 ba826355aa6768d90602ecf5ff7bac7426cb26333dc7d085a7cd5179c3237b96 07:55:36 $ docker rm -f --volumes ba826355aa6768d90602ecf5ff7bac7426cb26333dc7d085a7cd5179c3237b96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:55:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:55:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:55:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:37 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:55: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 07:55:37 $ docker top 848eb107ba8bd4d50a73c5893bedaa76b4f450a60770061079e3ec0cd5e43a05 -eo pid,comm 07:55: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). 07:55:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:55:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:55:37 [ssh-agent] Looking for ssh-agent implementation... 07:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:55:38 $ docker exec 848eb107ba8bd4d50a73c5893bedaa76b4f450a60770061079e3ec0cd5e43a05 ssh-agent 07:55:38 SSH_AUTH_SOCK=/tmp/ssh-3QtI28J1HxmH/agent.32 07:55:38 SSH_AGENT_PID=38 07:55:38 Running ssh-add (command line suppressed) 07:55:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2785958176387657606.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2785958176387657606.key) 07:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:55:38 + git semver bump pre 07:55:38 2024-11-01 07:55:38,728 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:38 2024-11-01 07:55:38,728 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 07:55:38 2024-11-01 07:55:38,728 [bump_version] DEBUG bumped version:4.0.0-dev.3 07:55:38 2024-11-01 07:55:38,728 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 07:55:38 2024-11-01 07:55:38,728 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:38 2024-11-01 07:55:38,728 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:38 2024-11-01 07:55:38,730 [execute] INFO git cat-file --batch-check 07:55:38 2024-11-01 07:55:38,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:55:38 2024-11-01 07:55:38,735 [execute] INFO git cat-file --batch 07:55:38 2024-11-01 07:55:38,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:55:38 2024-11-01 07:55:38,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:38 4.0.0-dev.3 [Pipeline] } 07:55:38 $ docker exec --env ******** --env ******** 848eb107ba8bd4d50a73c5893bedaa76b4f450a60770061079e3ec0cd5e43a05 ssh-agent -k 07:55:38 unset SSH_AUTH_SOCK; 07:55:38 unset SSH_AGENT_PID; 07:55:38 echo Agent pid 38 killed; 07:55:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:55:39 + git semver [Pipeline] } 07:55:39 $ docker stop --time=1 848eb107ba8bd4d50a73c5893bedaa76b4f450a60770061079e3ec0cd5e43a05 07:55:40 $ docker rm -f --volumes 848eb107ba8bd4d50a73c5893bedaa76b4f450a60770061079e3ec0cd5e43a05 [Pipeline] // withDockerContainer [Pipeline] sh 07:55:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:55:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:41 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:55:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:55:42 $ docker top 3968124bbd837fe7c222fbbef2157b849c01ac0ef0108371b8d1e211c60c8aee -eo pid,comm 07:55:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:55:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:55:42 [ssh-agent] Looking for ssh-agent implementation... 07:55:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:55:42 $ docker exec 3968124bbd837fe7c222fbbef2157b849c01ac0ef0108371b8d1e211c60c8aee ssh-agent 07:55:42 SSH_AUTH_SOCK=/tmp/ssh-gTOHyPMQ085r/agent.32 07:55:42 SSH_AGENT_PID=38 07:55:42 Running ssh-add (command line suppressed) 07:55:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11641328131420460642.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11641328131420460642.key) 07:55:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:55:43 + git semver push 07:55:43 2024-11-01 07:55:43,219 [run_push] DEBUG push 07:55:43 2024-11-01 07:55:43,219 [execute] INFO git cat-file --batch-check 07:55:43 2024-11-01 07:55:43,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:55:43 2024-11-01 07:55:43,224 [execute] INFO git rev-list f0d2fb0f861b2c01df15129dd2b7aa51c5bd70b3 -- 07:55:43 2024-11-01 07:55:43,224 [execute] DEBUG Popen(['git', 'rev-list', 'f0d2fb0f861b2c01df15129dd2b7aa51c5bd70b3', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:55:43 2024-11-01 07:55:43,236 [execute] INFO git fetch -v origin 07:55:43 2024-11-01 07:55:43,236 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:55:43 2024-11-01 07:55:43,688 [run_push] DEBUG no remote changes detected 07:55:43 2024-11-01 07:55:43,688 [execute] INFO git push origin semver 07:55:43 2024-11-01 07:55:43,689 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:55:44 2024-11-01 07:55:44,404 [run_push] DEBUG push all version tags 07:55:44 2024-11-01 07:55:44,405 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:55:44 2024-11-01 07:55:44,405 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:55:45 2024-11-01 07:55:45,065 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:55:45 4.0.0-dev.3 [Pipeline] } 07:55:45 $ docker exec --env ******** --env ******** 3968124bbd837fe7c222fbbef2157b849c01ac0ef0108371b8d1e211c60c8aee ssh-agent -k 07:55:45 unset SSH_AUTH_SOCK; 07:55:45 unset SSH_AGENT_PID; 07:55:45 echo Agent pid 38 killed; 07:55:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:55:45 + git semver [Pipeline] } 07:55:46 $ docker stop --time=1 3968124bbd837fe7c222fbbef2157b849c01ac0ef0108371b8d1e211c60c8aee 07:55:47 $ docker rm -f --volumes 3968124bbd837fe7c222fbbef2157b849c01ac0ef0108371b8d1e211c60c8aee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:55:48 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:55:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:55:48 total 16 07:55:48 drwxr-xr-x 3 root root 4096 Nov 1 07:42 . 07:55:48 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 07:55 .. 07:55:48 drwxr-xr-x 2 root root 4096 Nov 1 07:42 cost 07:55:48 -rw-r--r-- 1 root root 86 Nov 1 07:42 cost.csv 07:55:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:55:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:55:48 total 16 07:55:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 07:42 . 07:55:48 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 07:55 .. 07:55:48 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 07:42 cost 07:55:48 -rw-r--r-- 1 jenkins jenkins 86 Nov 1 07:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:55:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:55:49 ---> package-listing.sh 07:55:49 ++ facter osfamily 07:55:49 ++ tr '[:upper:]' '[:lower:]' 07:55:49 + OS_FAMILY=debian 07:55:49 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:55:49 + START_PACKAGES=/tmp/packages_start.txt 07:55:49 + END_PACKAGES=/tmp/packages_end.txt 07:55:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:55:49 + PACKAGES=/tmp/packages_start.txt 07:55:49 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:55:49 + PACKAGES=/tmp/packages_end.txt 07:55:49 + case "${OS_FAMILY}" in 07:55:49 + dpkg -l 07:55:49 + grep '^ii' 07:55:49 + '[' -f /tmp/packages_start.txt ']' 07:55:49 + '[' -f /tmp/packages_end.txt ']' 07:55:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:55:49 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:55:49 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:55:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 07:55:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:55:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:50 prd-ubuntu20.04-docker-8c-8g-24291 does not seem to be running inside a container 07:55:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:55:50 $ docker top d2749a2e09c78a5053569f309c05b06fce268143b07a64311b1ee0d07bbed9a6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:55:51 + touch /tmp/pre-build-complete [Pipeline] sh 07:55:51 + mkdir -p /var/log/sysstat [Pipeline] sh 07:55:51 + ls /var/log/sa-host 07:55:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:51 provisioning config files... 07:55:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15532721797159573789tmp [Pipeline] { [Pipeline] echo 07:55:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:55:52 ---> create-netrc.sh [Pipeline] } 07:55:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:55:52 ---> python-tools-install.sh [Pipeline] echo 07:55:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:55:52 ---> sudo-logs.sh 07:55:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:55:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:55:52 ---> job-cost.sh 07:55:52 lf-activate-venv: SKIPPING 07:55:52 DEBUG: total: 0.2199999988079071 07:55:52 INFO: Retrieving Stack Cost... 07:55:53 INFO: Retrieving Pricing Info for: v3-standard-8 07:55:53 INFO: Archiving Costs [Pipeline] echo 07:55:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:55:54 ---> logs-deploy.sh 07:55:54 lf-activate-venv: SKIPPING 07:55:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/180 07:55:54 INFO: archiving workspace using pattern(s): 07:55:55 Archives upload complete. 07:55:55 INFO: archiving logs to Nexus