Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05dffbfea524d4e44629aea546393e9ff3734411 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-ssh18094277902005374476.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-ssh18243235069409279643.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-ssh14633331317008211745.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-ssh15219422887219043913.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-ssh9141956702282375868.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25877 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 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 05dffbfea524d4e44629aea546393e9ff3734411 (main) Commit message: "Merge pull request #708 from jackchenjc/edgex-go-issue-4916-2" > git config core.sparsecheckout # timeout=10 > git checkout -f 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 > git rev-list --no-walk 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:48:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:48:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:48:45 ========================================================= 05:48:45 EdgeX Global Pipelines Version Info 05:48:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:48:46 ------------------- 05:48:46 stable info: 05:48:46 ------------------- 05:48:46 Commited By: Ginny Guan ginny@iotechsys.com 05:48:46 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:48:46 Message: update stable to v1.0.265 05:48:46 ------------------- 05:48:46 experimental info: 05:48:46 ------------------- 05:48:46 Commited By: Cherry Wang cherry@iotechsys.com 05:48:46 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:48:46 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05dffbf [Pipeline] echo 05:48:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:48 provisioning config files... 05:48:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14440051042318064889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:48 ---> ****-login.sh 05:48:48 nexus3.edgexfoundry.org:10001 05:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:49 Configure a credential helper to remove this warning. See 05:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:49 05:48:49 Login Succeeded 05:48:49 nexus3.edgexfoundry.org:10002 05:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:49 Configure a credential helper to remove this warning. See 05:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:49 05:48:49 Login Succeeded 05:48:49 nexus3.edgexfoundry.org:10003 05:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:49 Configure a credential helper to remove this warning. See 05:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:49 05:48:49 Login Succeeded 05:48:49 nexus3.edgexfoundry.org:10004 05:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:49 Configure a credential helper to remove this warning. See 05:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:49 05:48:49 Login Succeeded 05:48:49 ****.io 05:48:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:50 Configure a credential helper to remove this warning. See 05:48:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:50 05:48:50 Login Succeeded 05:48:50 ---> ****-login.sh ends [Pipeline] } 05:48:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:48:50 + git rev-list -1 --merges 05dffbfea524d4e44629aea546393e9ff3734411~1..05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] echo 05:48:50 -----------> git rev-list -1 --merges 05dffbfea524d4e44629aea546393e9ff3734411~1..05dffbfea524d4e44629aea546393e9ff3734411 05dffbfea524d4e44629aea546393e9ff3734411 05:48:50 05dffbfea524d4e44629aea546393e9ff3734411 [false] [Pipeline] sh 05:48:50 + git log --format=format:%s -1 05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] echo 05:48:50 ========================================================= 05:48:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:48:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:51 + git log --format=format:%s -1 05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] echo 05:48:51 [semverPrep] GIT_COMMIT: 05dffbfea524d4e44629aea546393e9ff3734411, Commit Message: Merge pull request #708 from jackchenjc/edgex-go-issue-4916-2 [Pipeline] echo 05:48:51 [semverPrep] This is not a build commit. [Pipeline] sh 05:48:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:48:51 + grep -v github /etc/ssh/ssh_known_hosts 05:48:51 + [ -e /tmp/ssh_known_hosts ] 05:48:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:48:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:48:51 + sudo tee -a /etc/ssh/ssh_known_hosts 05:48:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:48:52 05:48:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:48:52 0.1.4: Pulling from edgex-devops/py-git-semver 05:48:52 b85a868b505f: Pulling fs layer 05:48:52 e2be974225ed: Pulling fs layer 05:48:52 339a4e72a1f5: Pulling fs layer 05:48:52 988bab9f4d93: Pulling fs layer 05:48:52 1469e6f7b9e6: Pulling fs layer 05:48:52 eaf3925da568: Pulling fs layer 05:48:52 bab4dde63d76: Pulling fs layer 05:48:52 bde34c3a00c8: Pulling fs layer 05:48:52 b352a97aabf1: Pulling fs layer 05:48:52 4872d77fe225: Pulling fs layer 05:48:52 5851b861e8e6: Pulling fs layer 05:48:52 988bab9f4d93: Waiting 05:48:52 1469e6f7b9e6: Waiting 05:48:52 eaf3925da568: Waiting 05:48:52 4872d77fe225: Waiting 05:48:52 bab4dde63d76: Waiting 05:48:52 5851b861e8e6: Waiting 05:48:52 bde34c3a00c8: Waiting 05:48:52 b352a97aabf1: Waiting 05:48:52 e2be974225ed: Verifying Checksum 05:48:52 e2be974225ed: Download complete 05:48:52 988bab9f4d93: Verifying Checksum 05:48:52 988bab9f4d93: Download complete 05:48:52 339a4e72a1f5: Verifying Checksum 05:48:52 339a4e72a1f5: Download complete 05:48:52 1469e6f7b9e6: Verifying Checksum 05:48:52 1469e6f7b9e6: Download complete 05:48:52 eaf3925da568: Verifying Checksum 05:48:52 eaf3925da568: Download complete 05:48:52 bde34c3a00c8: Download complete 05:48:52 b352a97aabf1: Download complete 05:48:52 4872d77fe225: Verifying Checksum 05:48:52 4872d77fe225: Download complete 05:48:52 5851b861e8e6: Verifying Checksum 05:48:52 5851b861e8e6: Download complete 05:48:53 b85a868b505f: Download complete 05:48:53 bab4dde63d76: Verifying Checksum 05:48:53 bab4dde63d76: Download complete 05:48:54 b85a868b505f: Pull complete 05:48:55 e2be974225ed: Pull complete 05:48:56 339a4e72a1f5: Pull complete 05:48:56 988bab9f4d93: Pull complete 05:48:56 1469e6f7b9e6: Pull complete 05:48:56 eaf3925da568: Pull complete 05:48:59 bab4dde63d76: Pull complete 05:48:59 bde34c3a00c8: Pull complete 05:48:59 b352a97aabf1: Pull complete 05:48:59 4872d77fe225: Pull complete 05:48:59 5851b861e8e6: Pull complete 05:49:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:49:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:49:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:00 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 05:49:00 $ 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 05:49:07 $ docker top 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac -eo pid,comm 05:49:07 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). 05:49:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:49:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:07 [ssh-agent] Looking for ssh-agent implementation... 05:49:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:07 $ docker exec 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac ssh-agent 05:49:08 SSH_AUTH_SOCK=/tmp/ssh-UgjfQdPOo7u3/agent.20 05:49:08 SSH_AGENT_PID=38 05:49:08 Running ssh-add (command line suppressed) 05:49:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10691209850108704646.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10691209850108704646.key) 05:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:08 + git tag --points-at HEAD [Pipeline] } 05:49:08 $ docker exec --env ******** --env ******** 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac ssh-agent -k 05:49:08 unset SSH_AUTH_SOCK; 05:49:08 unset SSH_AGENT_PID; 05:49:08 echo Agent pid 38 killed; 05:49:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:49:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:08 [ssh-agent] Looking for ssh-agent implementation... 05:49:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:08 $ docker exec 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac ssh-agent 05:49:08 SSH_AUTH_SOCK=/tmp/ssh-CGFN2tWqbmhb/agent.72 05:49:08 SSH_AGENT_PID=78 05:49:08 Running ssh-add (command line suppressed) 05:49:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3382995517035946773.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3382995517035946773.key) 05:49:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:09 + git semver init 05:49:09 2024-11-08 05:49:09,539 [run_init] DEBUG init version:0.0.0 force:False 05:49:09 2024-11-08 05:49:09,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:49:09 2024-11-08 05:49:09,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:49:09 2024-11-08 05:49:09,542 [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) 05:49:12 2024-11-08 05:49:11,664 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 05:49:12 2024-11-08 05:49:11,665 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 05:49:12 2024-11-08 05:49:11,665 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:49:12 2024-11-08 05:49:11,666 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:49:12 4.0.0-dev.3 [Pipeline] } 05:49:12 $ docker exec --env ******** --env ******** 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac ssh-agent -k 05:49:12 unset SSH_AUTH_SOCK; 05:49:12 unset SSH_AGENT_PID; 05:49:12 echo Agent pid 78 killed; 05:49:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:12 + git semver [Pipeline] } 05:49:13 $ docker stop --time=1 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac 05:49:15 $ docker rm -f --volumes 798a11c0306ef89ce64f19a7f659c928b52b01ac3a118c3aa0b4b5dae1584bac [Pipeline] // withDockerContainer [Pipeline] sh 05:49:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:49:16 Stashed 1 file(s) [Pipeline] echo 05:49:16 [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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 05:49:16 provisioning config files... 05:49:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14806796390124261501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:17 ---> ****-login.sh 05:49:17 nexus3.edgexfoundry.org:10001 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:49:17 Configure a credential helper to remove this warning. See 05:49:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:49:17 05:49:17 Login Succeeded 05:49:17 nexus3.edgexfoundry.org:10002 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:49:17 Configure a credential helper to remove this warning. See 05:49:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:49:17 05:49:17 Login Succeeded 05:49:17 nexus3.edgexfoundry.org:10003 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:49:17 Configure a credential helper to remove this warning. See 05:49:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:49:17 05:49:17 Login Succeeded 05:49:17 nexus3.edgexfoundry.org:10004 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:49:17 Configure a credential helper to remove this warning. See 05:49:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:49:17 05:49:17 Login Succeeded 05:49:17 ****.io 05:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:49:17 Configure a credential helper to remove this warning. See 05:49:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:49:17 05:49:17 Login Succeeded 05:49:17 ---> ****-login.sh ends [Pipeline] } 05:49:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:49:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:49:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:49:17 ========================================================= 05:49:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:49:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:18 + 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 . 05:49:18 Sending build context to Docker daemon 20.97MB 05:49:18 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:49:18 Step 2/12 : FROM ${BASE} AS builder 05:49:19 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:19 43c4264eed91: Pulling fs layer 05:49:19 4cc291be95ef: Pulling fs layer 05:49:19 2ac1f1163629: Pulling fs layer 05:49:19 5c3c966382ef: Pulling fs layer 05:49:19 4f4fb700ef54: Pulling fs layer 05:49:19 5d5c8e513c77: Pulling fs layer 05:49:19 9f66e0745190: Pulling fs layer 05:49:19 f49a43e4bbc0: Pulling fs layer 05:49:19 561ebcabdf7f: Pulling fs layer 05:49:19 4f4fb700ef54: Waiting 05:49:19 5d5c8e513c77: Waiting 05:49:19 f49a43e4bbc0: Waiting 05:49:19 561ebcabdf7f: Waiting 05:49:19 5c3c966382ef: Waiting 05:49:19 9f66e0745190: Waiting 05:49:19 4cc291be95ef: Download complete 05:49:19 5c3c966382ef: Verifying Checksum 05:49:19 5c3c966382ef: Download complete 05:49:19 4f4fb700ef54: Verifying Checksum 05:49:19 4f4fb700ef54: Download complete 05:49:19 43c4264eed91: Download complete 05:49:19 5d5c8e513c77: Verifying Checksum 05:49:19 5d5c8e513c77: Download complete 05:49:19 9f66e0745190: Verifying Checksum 05:49:19 9f66e0745190: Download complete 05:49:19 561ebcabdf7f: Verifying Checksum 05:49:19 561ebcabdf7f: Download complete 05:49:19 2ac1f1163629: Verifying Checksum 05:49:19 2ac1f1163629: Download complete 05:49:19 43c4264eed91: Pull complete 05:49:20 f49a43e4bbc0: Download complete 05:49:20 4cc291be95ef: Pull complete 05:49:25 2ac1f1163629: Pull complete 05:49:25 5c3c966382ef: Pull complete 05:49:25 4f4fb700ef54: Pull complete 05:49:25 5d5c8e513c77: Pull complete 05:49:25 9f66e0745190: Pull complete 05:49:27 f49a43e4bbc0: Pull complete 05:49:28 561ebcabdf7f: Pull complete 05:49:28 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:49:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:49:28 ---> 3a752c3f9dda 05:49:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:49:31 Still waiting to schedule task 05:49:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:49:40 ---> Running in 2c979ae89988 05:49:40 Removing intermediate container 2c979ae89988 05:49:40 ---> 955c793cb9fd 05:49:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:49:40 ---> Running in 65c1a1735fe0 05:49:40 Removing intermediate container 65c1a1735fe0 05:49:40 ---> 9319db344e77 05:49:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:49:40 ---> Running in bcd576db4dbc 05:49:40 Removing intermediate container bcd576db4dbc 05:49:40 ---> af74db5dc754 05:49:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:49:40 ---> Running in 79fa8e8412c8 05:49:40 Removing intermediate container 79fa8e8412c8 05:49:40 ---> ba92f95efae2 05:49:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:49:40 ---> Running in aae447be252b 05:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:49:41 (1/4) Installing openssh-keygen (9.7_p1-r4) 05:49:41 (2/4) Installing libedit (20240517.3.1-r0) 05:49:41 (3/4) Installing openssh-client-common (9.7_p1-r4) 05:49:41 (4/4) Installing openssh-client-default (9.7_p1-r4) 05:49:41 Executing busybox-1.36.1-r29.trigger 05:49:41 OK: 250 MiB in 58 packages 05:49:41 Removing intermediate container aae447be252b 05:49:41 ---> dc935ba53c4f 05:49:41 Step 8/12 : WORKDIR /device-mqtt-go 05:49:41 ---> Running in 18606a27571b 05:49:41 Removing intermediate container 18606a27571b 05:49:41 ---> 9cb97e70dd85 05:49:41 Step 9/12 : COPY go.mod vendor* ./ 05:49:41 ---> d057b9c172cc 05:49:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:41 ---> Running in 7ff61ae3d870 05:51:18 Removing intermediate container 7ff61ae3d870 05:51:18 ---> fe7eb9b4ae02 05:51:18 Step 11/12 : COPY . . 05:51:18 ---> 3cbdb63424b7 05:51:18 Step 12/12 : RUN $MAKE 05:51:18 ---> Running in 9d7b0a65d533 05:51:18 noop 05:51:18 Removing intermediate container 9d7b0a65d533 05:51:18 ---> c54841ffc73f 05:51:18 Successfully built c54841ffc73f 05:51:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:18 + docker inspect -f . ci-base-image-x86_64 05:51:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:18 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 05:51:18 $ 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 05:51:20 $ docker top 0f10338718b919cd87c8bc53a04d0a2c01d29722a3216d654eca49056d7d34a8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:20 + go version 05:51:20 go version go1.23.2 linux/amd64 [Pipeline] } 05:51:20 $ docker stop --time=1 0f10338718b919cd87c8bc53a04d0a2c01d29722a3216d654eca49056d7d34a8 05:51:22 $ docker rm -f --volumes 0f10338718b919cd87c8bc53a04d0a2c01d29722a3216d654eca49056d7d34a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:23 + docker inspect -f . ci-base-image-x86_64 05:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:23 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 05:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:51:24 $ docker top 6074ce4c0215d36ec48152441c5202664b9eb45731cd2bf28ae8d79990f3d1b2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 05:51:25 + make test 05:51:25 go test ./... -coverprofile=coverage.out ./... 05:51:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:51:51 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 05:51:51 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 05:51:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements 05:51:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25879 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 05:51:59 Running in /w/workspace/device-mqtt-go/181 [Pipeline] { [Pipeline] checkout 05:51:59 The recommended git tool is: git 05:52:01 go vet ./... 05:52:05 using credential edgex-jenkins-ssh 05:52:05 Cloning the remote Git repository 05:52:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:52:05 > git init /w/workspace/device-mqtt-go/181 # timeout=10 05:52:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:52:05 > git --version # timeout=10 05:52:05 > git --version # 'git version 2.25.1' 05:52:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:06 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:52:06 $ docker stop --time=1 6074ce4c0215d36ec48152441c5202664b9eb45731cd2bf28ae8d79990f3d1b2 05:52:09 Avoid second fetch 05:52:09 Checking out Revision 05dffbfea524d4e44629aea546393e9ff3734411 (main) 05:52:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:52:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:09 > git config core.sparsecheckout # timeout=10 05:52:09 > git checkout -f 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 05:52:10 Commit message: "Merge pull request #708 from jackchenjc/edgex-go-issue-4916-2" 05:52:11 $ docker rm -f --volumes 6074ce4c0215d36ec48152441c5202664b9eb45731cd2bf28ae8d79990f3d1b2 [Pipeline] // withDockerContainer [Pipeline] sh 05:52:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:52:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:12 + ls -al . 05:52:12 total 252 05:52:12 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 05:51 . 05:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:48 .. 05:52:12 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 05:48 .dockerignore 05:52:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:51 .git 05:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:48 .github 05:52:12 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 05:48 .gitignore 05:52:12 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 05:48 .golangci.yml 05:52:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 05:49 .semver 05:52:12 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 8 05:48 Attribution.txt 05:52:12 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 05:48 CHANGELOG.md 05:52:12 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 8 05:48 Dockerfile 05:52:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:48 GOVERNANCE.md 05:52:12 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 05:48 Jenkinsfile 05:52:12 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:48 LICENSE 05:52:12 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 8 05:48 Makefile 05:52:12 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 05:48 OWNERS.md 05:52:12 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 05:48 README.md 05:52:12 -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 05:49 VERSION 05:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:48 bin 05:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:48 cmd 05:52:12 -rw-r--r-- 1 jenkins jenkins 21039 Nov 8 05:51 coverage.out 05:52:12 -rw-rw-r-- 1 jenkins jenkins 6370 Nov 8 05:48 go.mod 05:52:12 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 05:48 go.sum 05:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:48 internal 05:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:48 mock 05:52:12 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 05:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:12 + 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=05dffbfea524d4e44629aea546393e9ff3734411 --label arch=amd64 --label version=4.0.0-dev.3 . 05:52:12 Sending build context to Docker daemon 20.99MB 05:52:12 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 05:52:12 Step 2/25 : FROM ${BASE} AS builder 05:52:12 ---> c54841ffc73f 05:52:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:52:13 ---> Running in 4e366263301e 05:52:13 Removing intermediate container 4e366263301e 05:52:13 ---> acf2534c3a11 05:52:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:52:13 ---> Running in d4e870839ee7 05:52:13 Removing intermediate container d4e870839ee7 05:52:13 ---> 24d7ac9861b0 05:52:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:52:13 ---> Running in 1e7e372562b2 05:52:13 Removing intermediate container 1e7e372562b2 05:52:13 ---> 5654f876e7dc 05:52:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:52:13 ---> Running in baeab5fcc88f 05:52:13 Removing intermediate container baeab5fcc88f 05:52:13 ---> 95af425cc460 05:52:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:52:13 ---> Running in 733b8ffa56d6 05:52:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:52:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:52:14 OK: 250 MiB in 58 packages 05:52:14 Removing intermediate container 733b8ffa56d6 05:52:14 ---> a41617956a55 05:52:14 Step 8/25 : WORKDIR /device-mqtt-go 05:52:14 ---> Running in 717f513cf566 05:52:14 Removing intermediate container 717f513cf566 05:52:14 ---> 6d706bbde167 05:52:14 Step 9/25 : COPY go.mod vendor* ./ [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:15 ---> 92a8ebc820df 05:52:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:15 ---> Running in c06c19a91b0b 05:52:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:52:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:15 Dload Upload Total Spent Left Speed 05:52:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh 05:52:15 Removing intermediate container c06c19a91b0b 05:52:15 ---> d847c40d04b7 05:52:15 Step 11/25 : COPY . . 05:52:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:52:16 + sudo tee /etc/docker/daemon.new+ 05:52:16 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:52:16 { 05:52:16 "registry-mirrors": [ 05:52:16 "https://nexus3.edgexfoundry.org:10001" 05:52:16 ], 05:52:16 "bip": "10.250.0.254/24", 05:52:16 "hosts": [ 05:52:16 "tcp://0.0.0.0:5555", 05:52:16 "unix:///var/run/docker.sock" 05:52:16 ], 05:52:16 "mtu": 1458, 05:52:16 "selinux-enabled": true, 05:52:16 "seccomp-profile": "/etc/docker/seccomp.json" 05:52:16 } [Pipeline] sh 05:52:16 ---> 684ed0b3fa6d 05:52:16 Step 12/25 : RUN $MAKE 05:52:16 ---> Running in 5ec1a0cd3a14 05:52:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 05:52:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:52:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:35 provisioning config files... 05:52:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/181@tmp/config16222840057211605433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:35 ---> ****-login.sh 05:52:35 nexus3.edgexfoundry.org:10001 05:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:36 Configure a credential helper to remove this warning. See 05:52:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:36 05:52:36 Login Succeeded 05:52:36 nexus3.edgexfoundry.org:10002 05:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:36 Configure a credential helper to remove this warning. See 05:52:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:36 05:52:36 Login Succeeded 05:52:36 nexus3.edgexfoundry.org:10003 05:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:37 Configure a credential helper to remove this warning. See 05:52:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:37 05:52:37 Login Succeeded 05:52:37 nexus3.edgexfoundry.org:10004 05:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:37 Configure a credential helper to remove this warning. See 05:52:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:37 05:52:37 Login Succeeded 05:52:37 ****.io 05:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:37 Configure a credential helper to remove this warning. See 05:52:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:37 05:52:37 Login Succeeded 05:52:37 ---> ****-login.sh ends [Pipeline] } 05:52:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:52:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:52:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:52:38 ========================================================= 05:52:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:52:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:38 + 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 . 05:52:38 Sending build context to Docker daemon 10.6MB 05:52:39 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:52:39 Step 2/12 : FROM ${BASE} AS builder 05:52:39 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:52:39 cf04c63912e1: Pulling fs layer 05:52:39 55b35a11ae5e: Pulling fs layer 05:52:39 a37a00ec5f00: Pulling fs layer 05:52:39 50b3750afda1: Pulling fs layer 05:52:39 4f4fb700ef54: Pulling fs layer 05:52:39 80978eb59214: Pulling fs layer 05:52:39 c9f46d7d2bd2: Pulling fs layer 05:52:39 c5a475d317c9: Pulling fs layer 05:52:39 4f4fb700ef54: Waiting 05:52:39 80978eb59214: Waiting 05:52:39 50b3750afda1: Waiting 05:52:39 c9f46d7d2bd2: Waiting 05:52:39 c5a475d317c9: Waiting 05:52:39 55b35a11ae5e: Verifying Checksum 05:52:39 55b35a11ae5e: Download complete 05:52:39 50b3750afda1: Verifying Checksum 05:52:39 50b3750afda1: Download complete 05:52:39 4f4fb700ef54: Verifying Checksum 05:52:39 4f4fb700ef54: Download complete 05:52:39 80978eb59214: Verifying Checksum 05:52:39 80978eb59214: Download complete 05:52:39 cf04c63912e1: Verifying Checksum 05:52:39 cf04c63912e1: Download complete 05:52:40 c5a475d317c9: Verifying Checksum 05:52:40 c5a475d317c9: Download complete 05:52:40 cf04c63912e1: Pull complete 05:52:41 55b35a11ae5e: Pull complete 05:52:41 a37a00ec5f00: Verifying Checksum 05:52:41 a37a00ec5f00: Download complete 05:52:42 c9f46d7d2bd2: Verifying Checksum 05:52:42 c9f46d7d2bd2: Download complete 05:52:54 a37a00ec5f00: Pull complete 05:52:54 50b3750afda1: Pull complete 05:52:54 4f4fb700ef54: Pull complete 05:52:55 80978eb59214: Pull complete 05:52:55 Removing intermediate container 5ec1a0cd3a14 05:52:55 ---> a482222b0e2b 05:52:55 Step 13/25 : FROM alpine:3.20 05:52:55 3.20: Pulling from library/alpine 05:52:55 43c4264eed91: Already exists 05:52:55 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:52:55 Status: Downloaded newer image for alpine:3.20 05:52:55 ---> 91ef0af61f39 05:52:55 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 05:52:55 ---> Running in 668fa20fbf47 05:52:55 Removing intermediate container 668fa20fbf47 05:52:55 ---> 3bec942be0ff 05:52:55 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:52:55 ---> Running in 0d90b4121c50 05:52:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:52:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:52:55 (1/1) Installing dumb-init (1.2.5-r3) 05:52:55 Executing busybox-1.36.1-r29.trigger 05:52:55 OK: 8 MiB in 15 packages 05:52:55 Removing intermediate container 0d90b4121c50 05:52:55 ---> dbf8416a4191 05:52:55 Step 16/25 : RUN apk --no-cache upgrade 05:52:55 ---> Running in e0524e1b56b0 05:52:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:52:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:52:55 Upgrading critical system libraries and apk-tools: 05:52:55 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:52:55 Executing busybox-1.36.1-r29.trigger 05:52:55 Continuing the upgrade transaction with new apk-tools: 05:52:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:52:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:52:55 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:52:55 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:52:55 OK: 8 MiB in 15 packages 05:52:55 Removing intermediate container e0524e1b56b0 05:52:55 ---> f1f2c123b11c 05:52:55 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 05:52:55 ---> 5b89dadc253e 05:52:55 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 05:52:55 ---> dc23878fdd61 05:52:55 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:52:55 ---> 81cffe546875 05:52:55 Step 20/25 : EXPOSE 59982 05:52:55 ---> Running in 52881aee75fe 05:52:55 Removing intermediate container 52881aee75fe 05:52:55 ---> a8d31be49df6 05:52:55 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 05:52:55 ---> Running in f8bb802dbc84 05:52:55 Removing intermediate container f8bb802dbc84 05:52:55 ---> 7a5dbac0879d 05:52:55 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:52:55 ---> Running in cada930cf286 05:52:55 Removing intermediate container cada930cf286 05:52:55 ---> b885d5f245cf 05:52:55 Step 23/25 : LABEL arch=amd64 05:52:55 ---> Running in a45944bdb734 05:52:55 Removing intermediate container a45944bdb734 05:52:55 ---> 84f524e8f560 05:52:55 Step 24/25 : LABEL git_sha=05dffbfea524d4e44629aea546393e9ff3734411 05:52:55 ---> Running in 47f8564a0cf7 05:52:55 Removing intermediate container 47f8564a0cf7 05:52:55 ---> ffea0f279ab3 05:52:55 Step 25/25 : LABEL version=4.0.0-dev.3 05:52:55 ---> Running in 7446f8f777e9 05:52:55 Removing intermediate container 7446f8f777e9 05:52:55 ---> d305f36a2a22 05:52:55 [Warning] One or more build-args [ARCH] were not consumed 05:52:55 Successfully built d305f36a2a22 05:52:55 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:55 provisioning config files... 05:52:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10915824563889489185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:55 ---> ****-login.sh 05:52:55 nexus3.edgexfoundry.org:10001 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:55 Configure a credential helper to remove this warning. See 05:52:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:55 05:52:55 Login Succeeded 05:52:55 nexus3.edgexfoundry.org:10002 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:55 Configure a credential helper to remove this warning. See 05:52:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:55 05:52:55 Login Succeeded 05:52:55 nexus3.edgexfoundry.org:10003 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:55 Configure a credential helper to remove this warning. See 05:52:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:55 05:52:55 Login Succeeded 05:52:55 nexus3.edgexfoundry.org:10004 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:55 Configure a credential helper to remove this warning. See 05:52:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:55 05:52:55 Login Succeeded 05:52:55 ****.io 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:56 Configure a credential helper to remove this warning. See 05:52:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:56 05:52:56 Login Succeeded 05:52:56 ---> ****-login.sh ends [Pipeline] } 05:52:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:52:56 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 05:52:56 05dffbfea524d4e44629aea546393e9ff3734411 05:52:56 latest 05:52:56 4.0.0-dev.3 05:52:56 05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 05:52:56 main 05:52:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:05dffbfea524d4e44629aea546393e9ff3734411 05:52:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:52:56 d2350b34e158: Preparing 05:52:56 9cd9a41b745c: Preparing 05:52:56 8b6442a880cb: Preparing 05:52:56 5cc5ffb68077: Preparing 05:52:56 fab72bd4a7ef: Preparing 05:52:56 63ca1fbb43ae: Preparing 05:52:56 63ca1fbb43ae: Waiting 05:52:56 d2350b34e158: Pushed 05:52:56 fab72bd4a7ef: Pushed 05:52:56 9cd9a41b745c: Pushed 05:52:56 63ca1fbb43ae: Layer already exists 05:52:57 5cc5ffb68077: Pushed 05:53:01 8b6442a880cb: Pushed 05:53:01 05dffbfea524d4e44629aea546393e9ff3734411: digest: sha256:0bb5d03c174208f7cd11df80f7bce210aa4bc1fdc9a16f3582fb303d26d92456 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:53:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:53:02 d2350b34e158: Preparing 05:53:02 9cd9a41b745c: Preparing 05:53:02 8b6442a880cb: Preparing 05:53:02 5cc5ffb68077: Preparing 05:53:02 fab72bd4a7ef: Preparing 05:53:02 63ca1fbb43ae: Preparing 05:53:02 63ca1fbb43ae: Waiting 05:53:02 8b6442a880cb: Layer already exists 05:53:02 9cd9a41b745c: Layer already exists 05:53:02 d2350b34e158: Layer already exists 05:53:02 5cc5ffb68077: Layer already exists 05:53:02 fab72bd4a7ef: Layer already exists 05:53:02 63ca1fbb43ae: Layer already exists 05:53:02 latest: digest: sha256:0bb5d03c174208f7cd11df80f7bce210aa4bc1fdc9a16f3582fb303d26d92456 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.3 05:53:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:53:03 d2350b34e158: Preparing 05:53:03 9cd9a41b745c: Preparing 05:53:03 8b6442a880cb: Preparing 05:53:03 5cc5ffb68077: Preparing 05:53:03 fab72bd4a7ef: Preparing 05:53:03 63ca1fbb43ae: Preparing 05:53:03 63ca1fbb43ae: Waiting 05:53:03 5cc5ffb68077: Layer already exists 05:53:03 d2350b34e158: Layer already exists 05:53:03 8b6442a880cb: Layer already exists 05:53:03 9cd9a41b745c: Layer already exists 05:53:03 fab72bd4a7ef: Layer already exists 05:53:03 63ca1fbb43ae: Layer already exists 05:53:03 4.0.0-dev.3: digest: sha256:0bb5d03c174208f7cd11df80f7bce210aa4bc1fdc9a16f3582fb303d26d92456 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:03 c9f46d7d2bd2: Pull complete 05:53:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 05:53:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:53:03 d2350b34e158: Preparing 05:53:03 9cd9a41b745c: Preparing 05:53:03 8b6442a880cb: Preparing 05:53:03 5cc5ffb68077: Preparing 05:53:03 fab72bd4a7ef: Preparing 05:53:03 63ca1fbb43ae: Preparing 05:53:03 63ca1fbb43ae: Waiting 05:53:03 5cc5ffb68077: Layer already exists 05:53:03 9cd9a41b745c: Layer already exists 05:53:03 fab72bd4a7ef: Layer already exists 05:53:03 d2350b34e158: Layer already exists 05:53:03 8b6442a880cb: Layer already exists 05:53:03 63ca1fbb43ae: Layer already exists 05:53:03 05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3: digest: sha256:0bb5d03c174208f7cd11df80f7bce210aa4bc1fdc9a16f3582fb303d26d92456 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:04 c5a475d317c9: Pull complete 05:53:04 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:53:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:53:04 ---> be29e6b0f0d4 05:53:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:53:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 05:53:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:53:04 d2350b34e158: Preparing 05:53:04 9cd9a41b745c: Preparing 05:53:04 8b6442a880cb: Preparing 05:53:04 5cc5ffb68077: Preparing 05:53:04 fab72bd4a7ef: Preparing 05:53:04 63ca1fbb43ae: Preparing 05:53:04 63ca1fbb43ae: Waiting 05:53:04 8b6442a880cb: Layer already exists 05:53:04 d2350b34e158: Layer already exists 05:53:04 9cd9a41b745c: Layer already exists 05:53:04 fab72bd4a7ef: Layer already exists 05:53:04 5cc5ffb68077: Layer already exists 05:53:04 63ca1fbb43ae: Layer already exists 05:53:04 main: digest: sha256:0bb5d03c174208f7cd11df80f7bce210aa4bc1fdc9a16f3582fb303d26d92456 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:53:04 ===================================================== [Pipeline] echo 05:53:04 taggedImages: 05:53:04 - nexus3.edgexfoundry.org:10004/device-mqtt:05dffbfea524d4e44629aea546393e9ff3734411 05:53:04 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:53:04 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.3 05:53:04 - nexus3.edgexfoundry.org:10004/device-mqtt:05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 05:53:04 - 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 05:53:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:04 05:53:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:05 latest: Pulling from edgex-lftools-log-publisher 05:53:05 5eb5b503b376: Pulling fs layer 05:53:05 5c69ac0246d0: Pulling fs layer 05:53:05 ec43610c2a17: Pulling fs layer 05:53:05 3a2ae6a8a46f: Pulling fs layer 05:53:05 33b1e0a273af: Pulling fs layer 05:53:05 5d3b04190fa2: Pulling fs layer 05:53:05 2f39f015ded8: Pulling fs layer 05:53:05 5d3b04190fa2: Waiting 05:53:05 33b1e0a273af: Waiting 05:53:05 2f39f015ded8: Waiting 05:53:05 3a2ae6a8a46f: Waiting 05:53:05 5c69ac0246d0: Download complete 05:53:05 3a2ae6a8a46f: Verifying Checksum 05:53:05 3a2ae6a8a46f: Download complete 05:53:05 33b1e0a273af: Verifying Checksum 05:53:05 33b1e0a273af: Download complete 05:53:05 ec43610c2a17: Verifying Checksum 05:53:05 ec43610c2a17: Download complete 05:53:05 5d3b04190fa2: Verifying Checksum 05:53:05 5d3b04190fa2: Download complete 05:53:05 5eb5b503b376: Verifying Checksum 05:53:05 5eb5b503b376: Download complete 05:53:06 2f39f015ded8: Download complete 05:53:06 ---> Running in 3aaa915c7356 05:53:06 Removing intermediate container 3aaa915c7356 05:53:06 ---> fb5384e9ef3d 05:53:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:53:06 ---> Running in f1ee4ca76c34 05:53:06 5eb5b503b376: Pull complete 05:53:07 Removing intermediate container f1ee4ca76c34 05:53:07 ---> 7f31b5eac77a 05:53:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:53:07 ---> Running in b8620f660ae9 05:53:07 5c69ac0246d0: Pull complete 05:53:07 Removing intermediate container b8620f660ae9 05:53:07 ---> f62eece9a1d9 05:53:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:53:07 ---> Running in 4ef9f870eff6 05:53:07 ec43610c2a17: Pull complete 05:53:07 3a2ae6a8a46f: Pull complete 05:53:07 Removing intermediate container 4ef9f870eff6 05:53:07 ---> dc66217b87dc 05:53:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:53:07 ---> Running in 00fba651eea1 05:53:08 33b1e0a273af: Pull complete 05:53:08 5d3b04190fa2: Pull complete 05:53:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:53:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:53:10 (1/4) Installing openssh-keygen (9.7_p1-r4) 05:53:10 (2/4) Installing libedit (20240517.3.1-r0) 05:53:10 (3/4) Installing openssh-client-common (9.7_p1-r4) 05:53:10 (4/4) Installing openssh-client-default (9.7_p1-r4) 05:53:11 Executing busybox-1.36.1-r29.trigger 05:53:11 OK: 242 MiB in 58 packages 05:53:12 Removing intermediate container 00fba651eea1 05:53:12 ---> fe3272ed938a 05:53:12 Step 8/12 : WORKDIR /device-mqtt-go 05:53:12 ---> Running in 014ceb3ab6c5 05:53:12 2f39f015ded8: Pull complete 05:53:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:12 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 05:53:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 05:53:12 Removing intermediate container 014ceb3ab6c5 05:53:12 ---> 253ed92963d0 05:53:12 Step 9/12 : COPY go.mod vendor* ./ 05:53:13 ---> 6f86f4207a3d 05:53:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:13 ---> Running in 924f3ce93ea0 05:53:17 $ docker top 302a345bce9d6ad20c87e938c73d19d118ebd8cbbb99938307bd16d49db5e3a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:17 ---> job-cost.sh 05:53:17 lf-activate-venv: SKIPPING 05:53:17 INFO: No Stack... 05:53:18 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:18 INFO: Archiving Costs [Pipeline] sh 05:53:18 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 05:53:18 + cut -d, -f6 [Pipeline] lock 05:53:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] 05:53:18 Resource [jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] did not exist. Created. 05:53:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:19 + echo total: 0.2199999988079071 [Pipeline] stash 05:53:19 Stashed 1 file(s) [Pipeline] } 05:53:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:19 $ docker stop --time=1 302a345bce9d6ad20c87e938c73d19d118ebd8cbbb99938307bd16d49db5e3a2 05:53:20 $ docker rm -f --volumes 302a345bce9d6ad20c87e938c73d19d118ebd8cbbb99938307bd16d49db5e3a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:55:04 Removing intermediate container 924f3ce93ea0 05:55:04 ---> fb1615900ede 05:55:04 Step 11/12 : COPY . . 05:55:04 ---> 448f99902f28 05:55:04 Step 12/12 : RUN $MAKE 05:55:04 ---> Running in fd7e7da8a2dc 05:55:06 noop 05:55:06 Removing intermediate container fd7e7da8a2dc 05:55:06 ---> 424d6bf116bb 05:55:06 Successfully built 424d6bf116bb 05:55:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:07 + docker inspect -f . ci-base-image-arm64 05:55:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:07 prd-ubuntu20.04-docker-arm64-4c-16g-25879 does not seem to be running inside a container 05:55:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/181 -v /w/workspace/device-mqtt-go/181:/w/workspace/device-mqtt-go/181:rw,z -v /w/workspace/device-mqtt-go/181@tmp:/w/workspace/device-mqtt-go/181@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 05:55:08 $ docker top 871f9691ff25b869058e03cca90df7505ccf4021eb1e21a6977bf4299131a2c2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:09 + go version 05:55:09 go version go1.23.2 linux/arm64 [Pipeline] } 05:55:09 $ docker stop --time=1 871f9691ff25b869058e03cca90df7505ccf4021eb1e21a6977bf4299131a2c2 05:55:11 $ docker rm -f --volumes 871f9691ff25b869058e03cca90df7505ccf4021eb1e21a6977bf4299131a2c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:12 + docker inspect -f . ci-base-image-arm64 05:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:12 prd-ubuntu20.04-docker-arm64-4c-16g-25879 does not seem to be running inside a container 05:55:12 $ 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/181 -v /w/workspace/device-mqtt-go/181:/w/workspace/device-mqtt-go/181:rw,z -v /w/workspace/device-mqtt-go/181@tmp:/w/workspace/device-mqtt-go/181@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 05:55:14 $ docker top 6e3c2596971d1ae76cc092a788dabd3a2e055640dc4bd9d01dff576ffd934f3c -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:15 + git config --global --add safe.directory /w/workspace/device-mqtt-go/181 [Pipeline] fileExists [Pipeline] sh 05:55:15 + make test 05:55:15 go test ./... -coverprofile=coverage.out ./... 05:55:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:59:29 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 05:59:29 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 05:59:29 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.057s coverage: 22.8% of statements 05:59:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:59:29 go vet ./... 06:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:27 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:00:27 $ docker stop --time=1 6e3c2596971d1ae76cc092a788dabd3a2e055640dc4bd9d01dff576ffd934f3c 06:00:29 $ docker rm -f --volumes 6e3c2596971d1ae76cc092a788dabd3a2e055640dc4bd9d01dff576ffd934f3c [Pipeline] // withDockerContainer [Pipeline] sh 06:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:31 Warning: overwriting stash ‘coverage-report’ 06:00:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:33 + ls -al . 06:00:33 total 248 06:00:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:55 . 06:00:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:52 .. 06:00:33 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 05:52 .dockerignore 06:00:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:52 .git 06:00:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:52 .github 06:00:33 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 05:52 .gitignore 06:00:33 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 05:52 .golangci.yml 06:00:33 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 8 05:52 Attribution.txt 06:00:33 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 05:52 CHANGELOG.md 06:00:33 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 8 05:52 Dockerfile 06:00:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:52 GOVERNANCE.md 06:00:33 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 05:52 Jenkinsfile 06:00:33 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:52 LICENSE 06:00:33 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 8 05:52 Makefile 06:00:33 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 05:52 OWNERS.md 06:00:33 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 05:52 README.md 06:00:33 -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 05:49 VERSION 06:00:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:52 bin 06:00:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:52 cmd 06:00:33 -rw-r--r-- 1 jenkins jenkins 21039 Nov 8 05:59 coverage.out 06:00:33 -rw-rw-r-- 1 jenkins jenkins 6370 Nov 8 05:52 go.mod 06:00:33 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 05:52 go.sum 06:00:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:52 internal 06:00:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:52 mock 06:00:33 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 05:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:33 + 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=05dffbfea524d4e44629aea546393e9ff3734411 --label arch=arm64 --label version=4.0.0-dev.3 . 06:00:34 Sending build context to Docker daemon 10.63MB 06:00:34 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 06:00:34 Step 2/25 : FROM ${BASE} AS builder 06:00:34 ---> 424d6bf116bb 06:00:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:00:34 ---> Running in c1f95c697206 06:00:34 Removing intermediate container c1f95c697206 06:00:34 ---> 72a7df499c6d 06:00:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:34 ---> Running in 85fc23633b7f 06:00:35 Removing intermediate container 85fc23633b7f 06:00:35 ---> f972963cd75a 06:00:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:00:35 ---> Running in 10d7babab47f 06:00:35 Removing intermediate container 10d7babab47f 06:00:35 ---> d9f6e8b15eb2 06:00:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:00:35 ---> Running in 4c4d6b50a00f 06:00:35 Removing intermediate container 4c4d6b50a00f 06:00:35 ---> b2456ac12870 06:00:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:35 ---> Running in 2d51ffb6ca9f 06:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:00:38 OK: 242 MiB in 58 packages 06:00:42 Removing intermediate container 2d51ffb6ca9f 06:00:42 ---> 6b91e55b4265 06:00:42 Step 8/25 : WORKDIR /device-mqtt-go 06:00:42 ---> Running in 57c94ac9d144 06:00:42 Removing intermediate container 57c94ac9d144 06:00:42 ---> 84b267ce9bdc 06:00:42 Step 9/25 : COPY go.mod vendor* ./ 06:00:42 ---> e851d42c6283 06:00:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:42 ---> Running in 691ceee95c41 06:00:45 Removing intermediate container 691ceee95c41 06:00:45 ---> 057c7aae07a2 06:00:45 Step 11/25 : COPY . . 06:00:46 ---> b8a1ae81b2cb 06:00:46 Step 12/25 : RUN $MAKE 06:00:46 ---> Running in 74095e0cc5f7 06:00:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 06:05:09 Removing intermediate container 74095e0cc5f7 06:05:09 ---> fb806602d78e 06:05:09 Step 13/25 : FROM alpine:3.20 06:05:09 3.20: Pulling from library/alpine 06:05:09 cf04c63912e1: Already exists 06:05:09 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:05:09 Status: Downloaded newer image for alpine:3.20 06:05:09 ---> c157a85ed455 06:05:09 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 06:05:09 ---> Running in 345c7bd21fbe 06:05:09 Removing intermediate container 345c7bd21fbe 06:05:09 ---> c2a0f13cd71e 06:05:09 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:05:09 ---> Running in 0608e938ee02 06:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:05:09 (1/1) Installing dumb-init (1.2.5-r3) 06:05:09 Executing busybox-1.36.1-r29.trigger 06:05:09 OK: 9 MiB in 15 packages 06:05:09 Removing intermediate container 0608e938ee02 06:05:09 ---> c42992bcf456 06:05:09 Step 16/25 : RUN apk --no-cache upgrade 06:05:09 ---> Running in 02437bc19525 06:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:05:09 Upgrading critical system libraries and apk-tools: 06:05:09 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:05:09 Executing busybox-1.36.1-r29.trigger 06:05:09 Continuing the upgrade transaction with new apk-tools: 06:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:05:09 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:05:09 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:05:09 OK: 9 MiB in 15 packages 06:05:09 Removing intermediate container 02437bc19525 06:05:09 ---> 9e2ffc85e44c 06:05:09 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 06:05:11 ---> 4d597743fe30 06:05:11 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 06:05:12 ---> dd2e455921cf 06:05:12 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:05:12 ---> 8d7b6dcb53e4 06:05:12 Step 20/25 : EXPOSE 59982 06:05:12 ---> Running in 3ea317964f0f 06:05:12 Removing intermediate container 3ea317964f0f 06:05:12 ---> 91e53c9a8499 06:05:12 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 06:05:12 ---> Running in c2a806df856f 06:05:13 Removing intermediate container c2a806df856f 06:05:13 ---> 972fbfe03479 06:05:13 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:05:13 ---> Running in ae0c9079d613 06:05:13 Removing intermediate container ae0c9079d613 06:05:13 ---> d7c7c0f3f542 06:05:13 Step 23/25 : LABEL arch=arm64 06:05:13 ---> Running in 6e725ef25669 06:05:14 Removing intermediate container 6e725ef25669 06:05:14 ---> c49bec50cb71 06:05:14 Step 24/25 : LABEL git_sha=05dffbfea524d4e44629aea546393e9ff3734411 06:05:14 ---> Running in ab44d83dab88 06:05:14 Removing intermediate container ab44d83dab88 06:05:14 ---> 0392a3e3ae96 06:05:14 Step 25/25 : LABEL version=4.0.0-dev.3 06:05:14 ---> Running in 73ef94931a14 06:05:14 Removing intermediate container 73ef94931a14 06:05:14 ---> 6d6452677982 06:05:14 [Warning] One or more build-args [ARCH] were not consumed 06:05:15 Successfully built 6d6452677982 06:05:15 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:15 provisioning config files... 06:05:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/181@tmp/config15047075103335649723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:15 ---> ****-login.sh 06:05:15 nexus3.edgexfoundry.org:10001 06:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:15 Configure a credential helper to remove this warning. See 06:05:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:15 06:05:15 Login Succeeded 06:05:15 nexus3.edgexfoundry.org:10002 06:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:16 Configure a credential helper to remove this warning. See 06:05:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:16 06:05:16 Login Succeeded 06:05:16 nexus3.edgexfoundry.org:10003 06:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:16 Configure a credential helper to remove this warning. See 06:05:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:16 06:05:16 Login Succeeded 06:05:16 nexus3.edgexfoundry.org:10004 06:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:17 Configure a credential helper to remove this warning. See 06:05:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:17 06:05:17 Login Succeeded 06:05:17 ****.io 06:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:17 Configure a credential helper to remove this warning. See 06:05:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:17 06:05:17 Login Succeeded 06:05:17 ---> ****-login.sh ends [Pipeline] } 06:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:05:17 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:05:17 05dffbfea524d4e44629aea546393e9ff3734411 06:05:17 latest 06:05:17 4.0.0-dev.3 06:05:17 05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 06:05:17 main 06:05:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:05dffbfea524d4e44629aea546393e9ff3734411 06:05:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:05:18 3b1f5c3ea9dd: Preparing 06:05:18 371b6f2a5a22: Preparing 06:05:18 e012102781f6: Preparing 06:05:18 31a5392bf330: Preparing 06:05:18 d0daa90dbd3e: Preparing 06:05:18 16113d51b718: Preparing 06:05:18 16113d51b718: Waiting 06:05:19 371b6f2a5a22: Pushed 06:05:19 3b1f5c3ea9dd: Pushed 06:05:19 d0daa90dbd3e: Pushed 06:05:19 16113d51b718: Layer already exists 06:05:20 31a5392bf330: Pushed 06:05:30 e012102781f6: Pushed 06:05:30 05dffbfea524d4e44629aea546393e9ff3734411: digest: sha256:7bf4db4c2ee66af8017a6d2455f31f911746bc4c4da06c4818a9bd1c1092eb46 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:05:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:05:31 3b1f5c3ea9dd: Preparing 06:05:31 371b6f2a5a22: Preparing 06:05:31 e012102781f6: Preparing 06:05:31 31a5392bf330: Preparing 06:05:31 d0daa90dbd3e: Preparing 06:05:31 16113d51b718: Preparing 06:05:31 16113d51b718: Waiting 06:05:31 d0daa90dbd3e: Layer already exists 06:05:31 e012102781f6: Layer already exists 06:05:31 31a5392bf330: Layer already exists 06:05:31 3b1f5c3ea9dd: Layer already exists 06:05:31 371b6f2a5a22: Layer already exists 06:05:31 16113d51b718: Layer already exists 06:05:31 latest: digest: sha256:7bf4db4c2ee66af8017a6d2455f31f911746bc4c4da06c4818a9bd1c1092eb46 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.3 06:05:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:05:32 3b1f5c3ea9dd: Preparing 06:05:32 371b6f2a5a22: Preparing 06:05:32 e012102781f6: Preparing 06:05:32 31a5392bf330: Preparing 06:05:32 d0daa90dbd3e: Preparing 06:05:32 16113d51b718: Preparing 06:05:32 16113d51b718: Waiting 06:05:32 3b1f5c3ea9dd: Layer already exists 06:05:32 e012102781f6: Layer already exists 06:05:32 31a5392bf330: Layer already exists 06:05:32 d0daa90dbd3e: Layer already exists 06:05:32 371b6f2a5a22: Layer already exists 06:05:32 16113d51b718: Layer already exists 06:05:32 4.0.0-dev.3: digest: sha256:7bf4db4c2ee66af8017a6d2455f31f911746bc4c4da06c4818a9bd1c1092eb46 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 06:05:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:05:33 3b1f5c3ea9dd: Preparing 06:05:33 371b6f2a5a22: Preparing 06:05:33 e012102781f6: Preparing 06:05:33 31a5392bf330: Preparing 06:05:33 d0daa90dbd3e: Preparing 06:05:33 16113d51b718: Preparing 06:05:33 16113d51b718: Waiting 06:05:33 3b1f5c3ea9dd: Layer already exists 06:05:33 e012102781f6: Layer already exists 06:05:33 31a5392bf330: Layer already exists 06:05:33 d0daa90dbd3e: Layer already exists 06:05:33 371b6f2a5a22: Layer already exists 06:05:33 16113d51b718: Layer already exists 06:05:33 05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3: digest: sha256:7bf4db4c2ee66af8017a6d2455f31f911746bc4c4da06c4818a9bd1c1092eb46 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:05:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:05:34 3b1f5c3ea9dd: Preparing 06:05:34 371b6f2a5a22: Preparing 06:05:34 e012102781f6: Preparing 06:05:34 31a5392bf330: Preparing 06:05:34 d0daa90dbd3e: Preparing 06:05:34 16113d51b718: Preparing 06:05:34 16113d51b718: Waiting 06:05:34 e012102781f6: Layer already exists 06:05:34 371b6f2a5a22: Layer already exists 06:05:34 3b1f5c3ea9dd: Layer already exists 06:05:34 31a5392bf330: Layer already exists 06:05:34 d0daa90dbd3e: Layer already exists 06:05:34 16113d51b718: Layer already exists 06:05:34 main: digest: sha256:7bf4db4c2ee66af8017a6d2455f31f911746bc4c4da06c4818a9bd1c1092eb46 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:34 ===================================================== [Pipeline] echo 06:05:34 taggedImages: 06:05:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:05dffbfea524d4e44629aea546393e9ff3734411 06:05:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:05:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.3 06:05:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:05dffbfea524d4e44629aea546393e9ff3734411-4.0.0-dev.3 06:05:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:05:35 06:05:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:05:35 arm64: Pulling from edgex-lftools-log-publisher 06:05:35 8998bd30e6a1: Pulling fs layer 06:05:35 04944245beec: Pulling fs layer 06:05:35 699f458cf7ca: Pulling fs layer 06:05:35 765212b225bb: Pulling fs layer 06:05:35 f23df028b6ca: Pulling fs layer 06:05:35 d65c8cfc05b1: Pulling fs layer 06:05:35 2437ff75d9bd: Pulling fs layer 06:05:35 765212b225bb: Waiting 06:05:35 f23df028b6ca: Waiting 06:05:35 d65c8cfc05b1: Waiting 06:05:35 2437ff75d9bd: Waiting 06:05:35 04944245beec: Verifying Checksum 06:05:35 04944245beec: Download complete 06:05:35 765212b225bb: Verifying Checksum 06:05:35 765212b225bb: Download complete 06:05:35 f23df028b6ca: Download complete 06:05:35 d65c8cfc05b1: Verifying Checksum 06:05:35 d65c8cfc05b1: Download complete 06:05:36 699f458cf7ca: Verifying Checksum 06:05:36 699f458cf7ca: Download complete 06:05:36 8998bd30e6a1: Verifying Checksum 06:05:36 8998bd30e6a1: Download complete 06:05:39 2437ff75d9bd: Verifying Checksum 06:05:39 2437ff75d9bd: Download complete 06:05:41 8998bd30e6a1: Pull complete 06:05:42 04944245beec: Pull complete 06:05:44 699f458cf7ca: Pull complete 06:05:44 765212b225bb: Pull complete 06:05:45 f23df028b6ca: Pull complete 06:05:45 d65c8cfc05b1: Pull complete 06:06:03 2437ff75d9bd: Pull complete 06:06:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:03 prd-ubuntu20.04-docker-arm64-4c-16g-25879 does not seem to be running inside a container 06:06:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/181 -v /w/workspace/device-mqtt-go/181:/w/workspace/device-mqtt-go/181:rw,z -v /w/workspace/device-mqtt-go/181@tmp:/w/workspace/device-mqtt-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:06:06 $ docker top ff6b1760d95936e3831a28508905de15056a62f97ac23001ada533923ee6c394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:07 ---> job-cost.sh 06:06:07 lf-activate-venv: SKIPPING 06:06:07 INFO: No Stack... 06:06:08 INFO: Retrieving Pricing Info for: v3-standard-4 06:06:09 INFO: Archiving Costs [Pipeline] sh 06:06:09 + cat /w/workspace/device-mqtt-go/181/archives/cost.csv 06:06:09 + cut -d, -f6 [Pipeline] lock 06:06:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] 06:06:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] did not exist. Created. 06:06:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:10 /w/workspace/device-mqtt-go/181@tmp/durable-8e55274d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:06:11 + echo total: 0.10999999940395355 [Pipeline] stash 06:06:11 Warning: overwriting stash ‘stack-cost’ 06:06:11 Stashed 1 file(s) [Pipeline] } 06:06:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:11 $ docker stop --time=1 ff6b1760d95936e3831a28508905de15056a62f97ac23001ada533923ee6c394 06:06:12 $ docker rm -f --volumes ff6b1760d95936e3831a28508905de15056a62f97ac23001ada533923ee6c394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:06:13 provisioning config files... 06:06:13 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16000634892029518840tmp [Pipeline] { [Pipeline] sh 06:06:13 + set +x 06:06:13 + curl -s https://codecov.io/bash 06:06:13 + bash -s -- 06:06:13 06:06:13 _____ _ 06:06:13 / ____| | | 06:06:13 | | ___ __| | ___ ___ _____ __ 06:06:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:06:13 | |___| (_) | (_| | __/ (_| (_) \ V / 06:06:13 \_____\___/ \__,_|\___|\___\___/ \_/ 06:06:13 Bash-1.0.6 06:06:13 06:06:13 06:06:13 ==> git version 2.25.1 found 06:06:13 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:06:13 Release-Date: 2020-01-08 06:06:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:06:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:06:13 ==> Jenkins CI detected. 06:06:13 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:06:13 project root: . 06:06:13 --> token set from env 06:06:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:06:13 ==> Running gcov in . (disable via -X gcov) 06:06:13 ==> Python coveragepy not found 06:06:13 ==> Searching for coverage reports in: 06:06:13 + . 06:06:13 -> Found 1 reports 06:06:13 ==> Detecting git/mercurial file structure 06:06:13 ==> Reading reports 06:06:13 + ./coverage.out bytes=21039 06:06:13 ==> Appending adjustments 06:06:13 https://docs.codecov.io/docs/fixing-reports 06:06:13 + Found adjustments 06:06:13 ==> Gzipping contents 06:06:13 4.0K /tmp/codecov.VhWQvC.gz 06:06:13 ==> Uploading reports 06:06:13 url: https://codecov.io 06:06:13 query: branch=main&commit=05dffbfea524d4e44629aea546393e9ff3734411&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:06:13 -> Pinging Codecov 06:06:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=05dffbfea524d4e44629aea546393e9ff3734411&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:06:14 -> Uploading to 06:06:14 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/05dffbfea524d4e44629aea546393e9ff3734411/1d88f9ae-fd3b-4bde-b013-2c8ce9222363.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T060613Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4d15cc82562f8cf28b32ebfca94dc0b546cbaf6631281d0d4ae0f12e6176d6f8 06:06:14 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:14 Dload Upload Total Spent Left Speed 06:06:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 15562 --:--:-- --:--:-- --:--:-- 15562 06:06:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] } 06:06:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:06:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:06:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:06:14 06:06:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:06:15 latest: Pulling from edgex-devops/edgex-snyk-go 06:06:15 43c4264eed91: Already exists 06:06:15 4cc291be95ef: Already exists 06:06:15 2ac1f1163629: Already exists 06:06:15 5c3c966382ef: Already exists 06:06:15 4f4fb700ef54: Already exists 06:06:15 d9c7d2e4e75e: Pulling fs layer 06:06:15 9c3e1370e548: Pulling fs layer 06:06:15 d9c7d2e4e75e: Download complete 06:06:15 d9c7d2e4e75e: Pull complete 06:06:16 9c3e1370e548: Download complete 06:06:19 9c3e1370e548: Pull complete 06:06:19 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:06:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:19 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 06:06:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:06:23 $ docker top ab1c0a160cde06a9ff8e253757ff562c217ab1e7461e6363f1c9d7fa982e418d -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 06:06:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:06:23 + set -o pipefail 06:06:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:06:30 06:06:30 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:06:30 06:06:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/168ac4ba-57dc-4eaa-851e-b7b266571fd8 06:06:30 06:06:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:06:30 06:06:30 06:06:30 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:06:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:06:30 $ docker stop --time=1 ab1c0a160cde06a9ff8e253757ff562c217ab1e7461e6363f1c9d7fa982e418d 06:06:36 $ docker rm -f --volumes ab1c0a160cde06a9ff8e253757ff562c217ab1e7461e6363f1c9d7fa982e418d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:37 + git log --format=format:%s -1 05dffbfea524d4e44629aea546393e9ff3734411 [Pipeline] sh 06:06:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:06:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:38 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 06:06:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:06:38 $ docker top 613f4e116ed4b652d09cb681a5f0600ad50b112174b3345dfbbaece13b56f76d -eo pid,comm 06:06:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:06:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:38 [ssh-agent] Looking for ssh-agent implementation... 06:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:38 $ docker exec 613f4e116ed4b652d09cb681a5f0600ad50b112174b3345dfbbaece13b56f76d ssh-agent 06:06:39 SSH_AUTH_SOCK=/tmp/ssh-nHsP20ZQkBTK/agent.32 06:06:39 SSH_AGENT_PID=38 06:06:39 Running ssh-add (command line suppressed) 06:06:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8306160123598827331.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8306160123598827331.key) 06:06:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:39 + git semver tag 06:06:39 2024-11-08 06:06:39,624 [run_tag] DEBUG tag force:False 06:06:39 2024-11-08 06:06:39,624 [check_head_tag] DEBUG check head tag 06:06:39 2024-11-08 06:06:39,625 [execute] INFO git cat-file --batch-check 06:06:39 2024-11-08 06:06:39,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:06:39 2024-11-08 06:06:39,629 [execute] INFO git cat-file --batch 06:06:39 2024-11-08 06:06:39,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:06:39 2024-11-08 06:06:39,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:06:39 2024-11-08 06:06:39,650 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 06:06:39 2024-11-08 06:06:39,651 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:06:39 2024-11-08 06:06:39,655 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:06:39 4.0.0-dev.3 [Pipeline] } 06:06:39 $ docker exec --env ******** --env ******** 613f4e116ed4b652d09cb681a5f0600ad50b112174b3345dfbbaece13b56f76d ssh-agent -k 06:06:39 unset SSH_AUTH_SOCK; 06:06:39 unset SSH_AGENT_PID; 06:06:39 echo Agent pid 38 killed; 06:06:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:40 + git semver [Pipeline] } 06:06:40 $ docker stop --time=1 613f4e116ed4b652d09cb681a5f0600ad50b112174b3345dfbbaece13b56f76d 06:06:41 $ docker rm -f --volumes 613f4e116ed4b652d09cb681a5f0600ad50b112174b3345dfbbaece13b56f76d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:06:42 06:06:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:06:42 0.23.1-centos7: Pulling from edgex-lftools 06:06:42 ab5ef0e58194: Pulling fs layer 06:06:42 9712f1f96733: Pulling fs layer 06:06:42 63f879dbbcfc: Pulling fs layer 06:06:42 0d9ebad4ef96: Pulling fs layer 06:06:42 e9a5061849ea: Pulling fs layer 06:06:42 d747dcd14b5f: Pulling fs layer 06:06:42 2de7ff778b66: Pulling fs layer 06:06:42 e9a5061849ea: Waiting 06:06:42 2de7ff778b66: Waiting 06:06:42 d747dcd14b5f: Waiting 06:06:42 9712f1f96733: Download complete 06:06:42 63f879dbbcfc: Verifying Checksum 06:06:42 63f879dbbcfc: Download complete 06:06:42 0d9ebad4ef96: Verifying Checksum 06:06:42 0d9ebad4ef96: Download complete 06:06:42 e9a5061849ea: Verifying Checksum 06:06:42 e9a5061849ea: Download complete 06:06:42 d747dcd14b5f: Download complete 06:06:42 2de7ff778b66: Verifying Checksum 06:06:42 2de7ff778b66: Download complete 06:06:42 ab5ef0e58194: Verifying Checksum 06:06:42 ab5ef0e58194: Download complete 06:06:45 ab5ef0e58194: Pull complete 06:06:45 9712f1f96733: Pull complete 06:06:46 63f879dbbcfc: Pull complete 06:06:49 0d9ebad4ef96: Pull complete 06:06:50 e9a5061849ea: Pull complete 06:06:50 d747dcd14b5f: Pull complete 06:06:51 2de7ff778b66: Pull complete 06:06:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:06:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:06:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:51 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 06:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:06:57 $ docker top 746782c8ad20d44dc80cd3a7e507d554108cf9aafb2eed48be8ce3382661c762 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:06:57 provisioning config files... 06:06:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7626160307237586338tmp 06:06:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14959773865586802683tmp 06:06:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6375090515300012563tmp [Pipeline] { [Pipeline] echo 06:06:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:06:58 ---> sigul-configuration.sh 06:06:58 gpg: directory `/root/.gnupg' created 06:06:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:06:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:06:58 gpg: keyring `/root/.gnupg/secring.gpg' created 06:06:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:06:58 gpg: CAST5 encrypted data 06:06:58 gpg: encrypted with 1 passphrase 06:06:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:06:58 + mkdir /home/jenkins 06:06:58 + mkdir /home/jenkins/sigul [Pipeline] sh 06:06:58 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:06:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:06:58 ---> sigul-install.sh 06:06:58 Sigul already installed; skipping installation. [Pipeline] sh 06:06:59 + git tag --list 06:06:59 0.7.1 06:06:59 v1.0.0 06:06:59 v1.1.0 06:06:59 v1.1.1 06:06:59 v1.2.2 06:06:59 v1.3.0 06:06:59 v1.3.1 06:06:59 v2.0.0 06:06:59 v2.1.0 06:06:59 v2.1.1 06:06:59 v2.2.0 06:06:59 v2.3.0 06:06:59 v3.0 06:06:59 v3.0.0 06:06:59 v3.1 06:06:59 v3.1.0 06:06:59 v3.1.0-dev.1 06:06:59 v3.1.0-dev.10 06:06:59 v3.1.0-dev.11 06:06:59 v3.1.0-dev.12 06:06:59 v3.1.0-dev.13 06:06:59 v3.1.0-dev.14 06:06:59 v3.1.0-dev.15 06:06:59 v3.1.0-dev.16 06:06:59 v3.1.0-dev.17 06:06:59 v3.1.0-dev.18 06:06:59 v3.1.0-dev.19 06:06:59 v3.1.0-dev.2 06:06:59 v3.1.0-dev.20 06:06:59 v3.1.0-dev.21 06:06:59 v3.1.0-dev.22 06:06:59 v3.1.0-dev.23 06:06:59 v3.1.0-dev.24 06:06:59 v3.1.0-dev.25 06:06:59 v3.1.0-dev.3 06:06:59 v3.1.0-dev.4 06:06:59 v3.1.0-dev.5 06:06:59 v3.1.0-dev.6 06:06:59 v3.1.0-dev.7 06:06:59 v3.1.0-dev.8 06:06:59 v3.1.0-dev.9 06:06:59 v3.1.1 06:06:59 v3.2.0-dev.1 06:06:59 v3.2.0-dev.10 06:06:59 v3.2.0-dev.11 06:06:59 v3.2.0-dev.12 06:06:59 v3.2.0-dev.13 06:06:59 v3.2.0-dev.14 06:06:59 v3.2.0-dev.15 06:06:59 v3.2.0-dev.16 06:06:59 v3.2.0-dev.17 06:06:59 v3.2.0-dev.18 06:06:59 v3.2.0-dev.19 06:06:59 v3.2.0-dev.2 06:06:59 v3.2.0-dev.20 06:06:59 v3.2.0-dev.21 06:06:59 v3.2.0-dev.22 06:06:59 v3.2.0-dev.23 06:06:59 v3.2.0-dev.3 06:06:59 v3.2.0-dev.4 06:06:59 v3.2.0-dev.5 06:06:59 v3.2.0-dev.6 06:06:59 v3.2.0-dev.7 06:06:59 v3.2.0-dev.8 06:06:59 v3.2.0-dev.9 06:06:59 v4.0.0-dev.1 06:06:59 v4.0.0-dev.2 06:06:59 v4.0.0-dev.3 [Pipeline] sh 06:06:59 + lftools sign git-tag v4.0.0-dev.3 06:07:00 Signing Git tag with Sigul... 06:07:00 Signing v4.0.0-dev.3 [Pipeline] echo 06:07:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:07:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:07:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:07:00 $ docker stop --time=1 746782c8ad20d44dc80cd3a7e507d554108cf9aafb2eed48be8ce3382661c762 06:07:02 $ docker rm -f --volumes 746782c8ad20d44dc80cd3a7e507d554108cf9aafb2eed48be8ce3382661c762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:07:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:07:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:03 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 06:07:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:07:03 $ docker top 23ca0a69174d7bc658d4462dd8ad48499c33d7f86e070caecb21e86aeb33236d -eo pid,comm 06:07:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:07:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:03 [ssh-agent] Looking for ssh-agent implementation... 06:07:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:03 $ docker exec 23ca0a69174d7bc658d4462dd8ad48499c33d7f86e070caecb21e86aeb33236d ssh-agent 06:07:03 SSH_AUTH_SOCK=/tmp/ssh-NcldHTGI1sbn/agent.32 06:07:03 SSH_AGENT_PID=38 06:07:03 Running ssh-add (command line suppressed) 06:07:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6649442595490852318.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6649442595490852318.key) 06:07:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:04 + git semver bump pre 06:07:04 2024-11-08 06:07:04,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:07:04 2024-11-08 06:07:04,600 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev 06:07:04 2024-11-08 06:07:04,600 [bump_version] DEBUG bumped version:4.0.0-dev.4 06:07:04 2024-11-08 06:07:04,600 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:07:04 2024-11-08 06:07:04,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:07:04 2024-11-08 06:07:04,600 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:07:04 2024-11-08 06:07:04,604 [execute] INFO git cat-file --batch-check 06:07:04 2024-11-08 06:07:04,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:07:04 2024-11-08 06:07:04,609 [execute] INFO git cat-file --batch 06:07:04 2024-11-08 06:07:04,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:07:04 2024-11-08 06:07:04,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:07:04 4.0.0-dev.4 [Pipeline] } 06:07:04 $ docker exec --env ******** --env ******** 23ca0a69174d7bc658d4462dd8ad48499c33d7f86e070caecb21e86aeb33236d ssh-agent -k 06:07:04 unset SSH_AUTH_SOCK; 06:07:04 unset SSH_AGENT_PID; 06:07:04 echo Agent pid 38 killed; 06:07:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:07:05 + git semver [Pipeline] } 06:07:05 $ docker stop --time=1 23ca0a69174d7bc658d4462dd8ad48499c33d7f86e070caecb21e86aeb33236d 06:07:06 $ docker rm -f --volumes 23ca0a69174d7bc658d4462dd8ad48499c33d7f86e070caecb21e86aeb33236d [Pipeline] // withDockerContainer [Pipeline] sh 06:07:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:07:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:07 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 06:07:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:07:07 $ docker top 5957c7d4638f60ece9416ab0c74da60249e8d064a7bf2589940e9854eebbff0f -eo pid,comm 06:07:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:07:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:07 [ssh-agent] Looking for ssh-agent implementation... 06:07:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:08 $ docker exec 5957c7d4638f60ece9416ab0c74da60249e8d064a7bf2589940e9854eebbff0f ssh-agent 06:07:08 SSH_AUTH_SOCK=/tmp/ssh-xrDwt173JlyA/agent.31 06:07:08 SSH_AGENT_PID=37 06:07:08 Running ssh-add (command line suppressed) 06:07:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1991351328859192864.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1991351328859192864.key) 06:07:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:08 + git semver push 06:07:08 2024-11-08 06:07:08,714 [run_push] DEBUG push 06:07:08 2024-11-08 06:07:08,715 [execute] INFO git cat-file --batch-check 06:07:08 2024-11-08 06:07:08,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:07:08 2024-11-08 06:07:08,718 [execute] INFO git rev-list 6a82040fd10cfec2bf669f8534e16f11600eb6e4 -- 06:07:08 2024-11-08 06:07:08,718 [execute] DEBUG Popen(['git', 'rev-list', '6a82040fd10cfec2bf669f8534e16f11600eb6e4', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:07:08 2024-11-08 06:07:08,728 [execute] INFO git fetch -v origin 06:07:08 2024-11-08 06:07:08,728 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:07:09 2024-11-08 06:07:09,181 [run_push] DEBUG no remote changes detected 06:07:09 2024-11-08 06:07:09,181 [execute] INFO git push origin semver 06:07:09 2024-11-08 06:07:09,182 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:07:09 2024-11-08 06:07:09,870 [run_push] DEBUG push all version tags 06:07:09 2024-11-08 06:07:09,870 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:07:09 2024-11-08 06:07:09,871 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:07:10 2024-11-08 06:07:10,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:07:10 4.0.0-dev.4 [Pipeline] } 06:07:10 $ docker exec --env ******** --env ******** 5957c7d4638f60ece9416ab0c74da60249e8d064a7bf2589940e9854eebbff0f ssh-agent -k 06:07:10 unset SSH_AUTH_SOCK; 06:07:10 unset SSH_AGENT_PID; 06:07:10 echo Agent pid 37 killed; 06:07:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:07:11 + git semver [Pipeline] } 06:07:11 $ docker stop --time=1 5957c7d4638f60ece9416ab0c74da60249e8d064a7bf2589940e9854eebbff0f 06:07:12 $ docker rm -f --volumes 5957c7d4638f60ece9416ab0c74da60249e8d064a7bf2589940e9854eebbff0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:07:13 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:07:13 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:07:13 total 16 06:07:13 drwxr-xr-x 3 root root 4096 Nov 8 05:53 . 06:07:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 06:06 .. 06:07:13 drwxr-xr-x 2 root root 4096 Nov 8 05:53 cost 06:07:13 -rw-r--r-- 1 root root 86 Nov 8 05:53 cost.csv 06:07:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:07:13 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:07:13 total 16 06:07:13 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 05:53 . 06:07:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 06:06 .. 06:07:13 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 05:53 cost 06:07:13 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 05:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:07:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:07:14 ---> package-listing.sh 06:07:14 ++ facter osfamily 06:07:14 ++ tr '[:upper:]' '[:lower:]' 06:07:14 + OS_FAMILY=debian 06:07:14 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:07:14 + START_PACKAGES=/tmp/packages_start.txt 06:07:14 + END_PACKAGES=/tmp/packages_end.txt 06:07:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:07:14 + PACKAGES=/tmp/packages_start.txt 06:07:14 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:07:14 + PACKAGES=/tmp/packages_end.txt 06:07:14 + case "${OS_FAMILY}" in 06:07:14 + dpkg -l 06:07:14 + grep '^ii' 06:07:14 + '[' -f /tmp/packages_start.txt ']' 06:07:14 + '[' -f /tmp/packages_end.txt ']' 06:07:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:07:14 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:07:14 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:07:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:07:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:07:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:07:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:15 prd-ubuntu20.04-docker-8c-8g-25877 does not seem to be running inside a container 06:07:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:07:16 $ docker top 432d644d54cc82d15d8cd61ce87b8c7c3d8de5cc16228f18b9898d7b27e5dba6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:16 + touch /tmp/pre-build-complete [Pipeline] sh 06:07:16 + mkdir -p /var/log/sysstat [Pipeline] sh 06:07:16 + ls /var/log/sa-host 06:07:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:17 provisioning config files... 06:07:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4416112763404043732tmp [Pipeline] { [Pipeline] echo 06:07:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:07:17 ---> create-netrc.sh [Pipeline] } 06:07:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:07:17 ---> python-tools-install.sh [Pipeline] echo 06:07:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:07:17 ---> sudo-logs.sh 06:07:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:07:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:07:18 ---> job-cost.sh 06:07:18 lf-activate-venv: SKIPPING 06:07:18 DEBUG: total: 0.2199999988079071 06:07:18 INFO: Retrieving Stack Cost... 06:07:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:07:19 INFO: Archiving Costs [Pipeline] echo 06:07:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:07:19 ---> logs-deploy.sh 06:07:19 lf-activate-venv: SKIPPING 06:07:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/181 06:07:19 INFO: archiving workspace using pattern(s): 06:07:20 Archives upload complete. 06:07:20 INFO: archiving logs to Nexus