Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a2016d423b1c70de9c1bd91a5949c98d975b79e0 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-ssh5250011485345473797.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-ssh11753418561657512773.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-ssh5132566747976033128.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-ssh4511485301042400072.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-ssh16690342057123169025.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu18.04-docker-8c-8g-22787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-23033’ is offline ‘prd-ubuntu20.04-docker-8c-8g-23034’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-23024’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-23032’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23039 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a2016d423b1c70de9c1bd91a5949c98d975b79e0 (main) Commit message: "Merge pull request #703 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2016d423b1c70de9c1bd91a5949c98d975b79e0 # timeout=10 > git rev-list --no-walk 2822fc24b8134fd9bdcc7ab00c9256dba2bd7cb9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:09 ========================================================= 01:59:09 EdgeX Global Pipelines Version Info 01:59:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:59:10 ------------------- 01:59:10 stable info: 01:59:10 ------------------- 01:59:10 Commited By: Ginny Guan ginny@iotechsys.com 01:59:10 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 01:59:10 Message: update stable to v1.0.265 01:59:11 ------------------- 01:59:11 experimental info: 01:59:11 ------------------- 01:59:11 Commited By: Cherry Wang cherry@iotechsys.com 01:59:11 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:59:11 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2016d4 [Pipeline] echo 01:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:11 provisioning config files... 01:59:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4254299046113151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:12 ---> ****-login.sh 01:59:12 nexus3.edgexfoundry.org:10001 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 nexus3.edgexfoundry.org:10002 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 nexus3.edgexfoundry.org:10003 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 nexus3.edgexfoundry.org:10004 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:12 Configure a credential helper to remove this warning. See 01:59:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:12 01:59:12 Login Succeeded 01:59:12 ****.io 01:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:13 Configure a credential helper to remove this warning. See 01:59:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:13 01:59:13 Login Succeeded 01:59:13 ---> ****-login.sh ends [Pipeline] } 01:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:59:13 + git rev-list -1 --merges a2016d423b1c70de9c1bd91a5949c98d975b79e0~1..a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] echo 01:59:13 -----------> git rev-list -1 --merges a2016d423b1c70de9c1bd91a5949c98d975b79e0~1..a2016d423b1c70de9c1bd91a5949c98d975b79e0 a2016d423b1c70de9c1bd91a5949c98d975b79e0 01:59:13 a2016d423b1c70de9c1bd91a5949c98d975b79e0 [false] [Pipeline] sh 01:59:13 + git log --format=format:%s -1 a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] echo 01:59:13 ========================================================= 01:59:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:59:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:14 + git log --format=format:%s -1 a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] echo 01:59:14 [semverPrep] GIT_COMMIT: a2016d423b1c70de9c1bd91a5949c98d975b79e0, Commit Message: Merge pull request #703 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47 [Pipeline] echo 01:59:14 [semverPrep] This is not a build commit. [Pipeline] sh 01:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:14 + grep -v github /etc/ssh/ssh_known_hosts 01:59:14 + [ -e /tmp/ssh_known_hosts ] 01:59:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:59:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:59:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:14 01:59:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:15 0.1.4: Pulling from edgex-devops/py-git-semver 01:59:15 b85a868b505f: Pulling fs layer 01:59:15 e2be974225ed: Pulling fs layer 01:59:15 339a4e72a1f5: Pulling fs layer 01:59:15 988bab9f4d93: Pulling fs layer 01:59:15 1469e6f7b9e6: Pulling fs layer 01:59:15 eaf3925da568: Pulling fs layer 01:59:15 bab4dde63d76: Pulling fs layer 01:59:15 bde34c3a00c8: Pulling fs layer 01:59:15 b352a97aabf1: Pulling fs layer 01:59:15 4872d77fe225: Pulling fs layer 01:59:15 5851b861e8e6: Pulling fs layer 01:59:15 bab4dde63d76: Waiting 01:59:15 bde34c3a00c8: Waiting 01:59:15 4872d77fe225: Waiting 01:59:15 b352a97aabf1: Waiting 01:59:15 988bab9f4d93: Waiting 01:59:15 5851b861e8e6: Waiting 01:59:15 1469e6f7b9e6: Waiting 01:59:15 eaf3925da568: Waiting 01:59:15 e2be974225ed: Verifying Checksum 01:59:15 e2be974225ed: Download complete 01:59:15 988bab9f4d93: Verifying Checksum 01:59:15 988bab9f4d93: Download complete 01:59:15 1469e6f7b9e6: Verifying Checksum 01:59:15 1469e6f7b9e6: Download complete 01:59:15 eaf3925da568: Verifying Checksum 01:59:15 eaf3925da568: Download complete 01:59:15 339a4e72a1f5: Verifying Checksum 01:59:15 339a4e72a1f5: Download complete 01:59:15 bde34c3a00c8: Download complete 01:59:15 b352a97aabf1: Download complete 01:59:15 4872d77fe225: Verifying Checksum 01:59:15 4872d77fe225: Download complete 01:59:15 5851b861e8e6: Verifying Checksum 01:59:15 5851b861e8e6: Download complete 01:59:15 b85a868b505f: Verifying Checksum 01:59:15 b85a868b505f: Download complete 01:59:15 bab4dde63d76: Verifying Checksum 01:59:15 bab4dde63d76: Download complete 01:59:16 b85a868b505f: Pull complete 01:59:16 e2be974225ed: Pull complete 01:59:17 339a4e72a1f5: Pull complete 01:59:17 988bab9f4d93: Pull complete 01:59:17 1469e6f7b9e6: Pull complete 01:59:17 eaf3925da568: Pull complete 01:59:19 bab4dde63d76: Pull complete 01:59:19 bde34c3a00c8: Pull complete 01:59:19 b352a97aabf1: Pull complete 01:59:19 4872d77fe225: Pull complete 01:59:19 5851b861e8e6: Pull complete 01:59:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:19 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 01:59:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:23 $ docker top eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba -eo pid,comm 01:59:23 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). 01:59:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:23 [ssh-agent] Looking for ssh-agent implementation... 01:59:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:23 $ docker exec eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba ssh-agent 01:59:23 SSH_AUTH_SOCK=/tmp/ssh-ZySbaLfXExdK/agent.33 01:59:23 SSH_AGENT_PID=39 01:59:23 Running ssh-add (command line suppressed) 01:59:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12212185450631798841.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12212185450631798841.key) 01:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:24 + git tag --points-at HEAD [Pipeline] } 01:59:24 $ docker exec --env ******** --env ******** eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba ssh-agent -k 01:59:24 unset SSH_AUTH_SOCK; 01:59:24 unset SSH_AGENT_PID; 01:59:24 echo Agent pid 39 killed; 01:59:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:59:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:24 [ssh-agent] Looking for ssh-agent implementation... 01:59:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:24 $ docker exec eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba ssh-agent 01:59:24 SSH_AUTH_SOCK=/tmp/ssh-g5HNokIYfaL7/agent.72 01:59:24 SSH_AGENT_PID=79 01:59:24 Running ssh-add (command line suppressed) 01:59:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12654228413570541670.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12654228413570541670.key) 01:59:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:24 + git semver init 01:59:25 2024-10-18 01:59:25,088 [run_init] DEBUG init version:0.0.0 force:False 01:59:25 2024-10-18 01:59:25,088 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:59:25 2024-10-18 01:59:25,089 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:59:25 2024-10-18 01:59:25,089 [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) 01:59:27 2024-10-18 01:59:26,812 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:59:27 2024-10-18 01:59:26,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:59:27 2024-10-18 01:59:26,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:27 2024-10-18 01:59:26,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:59:27 3.2.0-dev.23 [Pipeline] } 01:59:27 $ docker exec --env ******** --env ******** eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba ssh-agent -k 01:59:27 unset SSH_AUTH_SOCK; 01:59:27 unset SSH_AGENT_PID; 01:59:27 echo Agent pid 79 killed; 01:59:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:27 + git semver [Pipeline] } 01:59:27 $ docker stop --time=1 eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba 01:59:29 $ docker rm -f --volumes eff1f2083cee83171f659b3a7ac68d915a807d9e13082ae24f0a4dae934772ba [Pipeline] // withDockerContainer [Pipeline] sh 01:59:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:29 Stashed 1 file(s) [Pipeline] echo 01:59:29 [edgeXSemver]: initialized semver on version 3.2.0-dev.23 [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 01:59:29 provisioning config files... 01:59:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11398796555478363014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:30 ---> ****-login.sh 01:59:30 nexus3.edgexfoundry.org:10001 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 nexus3.edgexfoundry.org:10002 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 nexus3.edgexfoundry.org:10003 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 nexus3.edgexfoundry.org:10004 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 ****.io 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 ---> ****-login.sh ends [Pipeline] } 01:59:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:59:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:59:31 ========================================================= 01:59:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:59:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:31 + 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 . 01:59:31 Sending build context to Docker daemon 20.9MB 01:59:31 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:59:31 Step 2/12 : FROM ${BASE} AS builder 01:59:31 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:31 43c4264eed91: Pulling fs layer 01:59:31 4cc291be95ef: Pulling fs layer 01:59:31 2ac1f1163629: Pulling fs layer 01:59:31 5c3c966382ef: Pulling fs layer 01:59:31 4f4fb700ef54: Pulling fs layer 01:59:31 5d5c8e513c77: Pulling fs layer 01:59:31 9f66e0745190: Pulling fs layer 01:59:31 f49a43e4bbc0: Pulling fs layer 01:59:31 561ebcabdf7f: Pulling fs layer 01:59:31 5d5c8e513c77: Waiting 01:59:31 5c3c966382ef: Waiting 01:59:31 4f4fb700ef54: Waiting 01:59:31 9f66e0745190: Waiting 01:59:31 f49a43e4bbc0: Waiting 01:59:31 561ebcabdf7f: Waiting 01:59:31 4cc291be95ef: Verifying Checksum 01:59:31 4cc291be95ef: Download complete 01:59:31 5c3c966382ef: Verifying Checksum 01:59:31 5c3c966382ef: Download complete 01:59:31 4f4fb700ef54: Verifying Checksum 01:59:31 4f4fb700ef54: Download complete 01:59:31 5d5c8e513c77: Verifying Checksum 01:59:31 5d5c8e513c77: Download complete 01:59:31 43c4264eed91: Verifying Checksum 01:59:31 43c4264eed91: Download complete 01:59:31 9f66e0745190: Verifying Checksum 01:59:31 9f66e0745190: Download complete 01:59:31 43c4264eed91: Pull complete 01:59:31 561ebcabdf7f: Download complete 01:59:31 4cc291be95ef: Pull complete 01:59:32 2ac1f1163629: Download complete 01:59:32 f49a43e4bbc0: Verifying Checksum 01:59:32 f49a43e4bbc0: Download complete 01:59:35 2ac1f1163629: Pull complete 01:59:35 5c3c966382ef: Pull complete 01:59:35 4f4fb700ef54: Pull complete 01:59:35 5d5c8e513c77: Pull complete 01:59:35 9f66e0745190: Pull complete 01:59:37 f49a43e4bbc0: Pull complete 01:59:38 561ebcabdf7f: Pull complete 01:59:38 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 01:59:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:59:38 ---> 3a752c3f9dda 01:59:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:59:43 ---> Running in 15747da6d1d1 01:59:43 Removing intermediate container 15747da6d1d1 01:59:43 ---> 671aca0df26e 01:59:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:43 ---> Running in 8ebd6a86d852 01:59:43 Removing intermediate container 8ebd6a86d852 01:59:43 ---> 4ef08db323d8 01:59:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:43 ---> Running in 3fde8c73fe38 01:59:43 Removing intermediate container 3fde8c73fe38 01:59:43 ---> 254749fe18ba 01:59:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:59:43 ---> Running in 9341afb826d3 01:59:43 Removing intermediate container 9341afb826d3 01:59:43 ---> 0eaf58f5bf6f 01:59:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:43 ---> Running in fa1a5e6a2972 01:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:59:43 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:59:43 (2/4) Installing libedit (20240517.3.1-r0) 01:59:43 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:59:43 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:59:43 Executing busybox-1.36.1-r29.trigger 01:59:43 OK: 250 MiB in 58 packages 01:59:44 Removing intermediate container fa1a5e6a2972 01:59:44 ---> 973dfc304871 01:59:44 Step 8/12 : WORKDIR /device-mqtt-go 01:59:44 ---> Running in 3b33f36a1b19 01:59:44 Removing intermediate container 3b33f36a1b19 01:59:44 ---> 3400fd4d2647 01:59:44 Step 9/12 : COPY go.mod vendor* ./ 01:59:44 ---> 93670fc703b6 01:59:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:44 ---> Running in 1d67f3b24029 01:59:44 Still waiting to schedule task 01:59:44 ‘prd-ubuntu18.04-docker-8c-8g-22787’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:59:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23024’ is offline 01:59:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23042’ is offline 02:00:53 Removing intermediate container 1d67f3b24029 02:00:53 ---> aa127557ef5e 02:00:53 Step 11/12 : COPY . . 02:00:53 ---> 9a7c5d2b35c5 02:00:53 Step 12/12 : RUN $MAKE 02:00:53 ---> Running in e7349acc49de 02:00:53 noop 02:00:53 Removing intermediate container e7349acc49de 02:00:53 ---> 757811a19f5d 02:00:53 Successfully built 757811a19f5d 02:00:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:56 + docker inspect -f . ci-base-image-x86_64 02:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:01 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:01:01 $ 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 02:01:01 $ docker top d09acc94c32b6d49fc07582366b9519f73cccb138217cff7fdd06925a3160c19 -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:02 + go version 02:01:02 go version go1.23.2 linux/amd64 [Pipeline] } 02:01:02 $ docker stop --time=1 d09acc94c32b6d49fc07582366b9519f73cccb138217cff7fdd06925a3160c19 02:01:06 $ docker rm -f --volumes d09acc94c32b6d49fc07582366b9519f73cccb138217cff7fdd06925a3160c19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:06 + docker inspect -f . ci-base-image-x86_64 02:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:06 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:01:06 $ 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 02:01:10 $ docker top 9639a49b8fb08c6afa1ca5d7cd3bcf6aa92ae739a0a738aa0b866afc645a4a1b -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:01:11 + make test 02:01:11 go test ./... -coverprofile=coverage.out ./... 02:01:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:01:31 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:01:31 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:01:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 02:01:39 go vet ./... 02:01:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:01:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:01:44 ./bin/test-attribution-txt.sh [Pipeline] echo 02:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:01:44 $ docker stop --time=1 9639a49b8fb08c6afa1ca5d7cd3bcf6aa92ae739a0a738aa0b866afc645a4a1b 02:01:50 $ docker rm -f --volumes 9639a49b8fb08c6afa1ca5d7cd3bcf6aa92ae739a0a738aa0b866afc645a4a1b [Pipeline] // withDockerContainer [Pipeline] sh 02:01:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:01:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:01:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:51 + ls -al . 02:01:51 total 264 02:01:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 02:01 . 02:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 01:59 .. 02:01:51 -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 01:59 .dockerignore 02:01:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 02:01 .git 02:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:59 .github 02:01:51 -rw-rw-r-- 1 jenkins jenkins 264 Oct 18 01:59 .gitignore 02:01:51 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 01:59 .golangci.yml 02:01:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 01:59 .semver 02:01:51 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 18 01:59 Attribution.txt 02:01:51 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 18 01:59 CHANGELOG.md 02:01:51 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 18 01:59 Dockerfile 02:01:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 01:59 GOVERNANCE.md 02:01:51 -rw-rw-r-- 1 jenkins jenkins 657 Oct 18 01:59 Jenkinsfile 02:01:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 01:59 LICENSE 02:01:51 -rw-rw-r-- 1 jenkins jenkins 2500 Oct 18 01:59 Makefile 02:01:51 -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 01:59 OWNERS.md 02:01:51 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 18 01:59 README.md 02:01:51 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 01:59 VERSION 02:01:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 01:59 bin 02:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:59 cmd 02:01:51 -rw-r--r-- 1 jenkins jenkins 21039 Oct 18 02:01 coverage.out 02:01:51 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 18 01:59 go.mod 02:01:51 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 18 01:59 go.sum 02:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 01:59 internal 02:01:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 01:59 mock 02:01:51 -rw-rw-r-- 1 jenkins jenkins 227 Oct 18 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:52 + 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=a2016d423b1c70de9c1bd91a5949c98d975b79e0 --label arch=amd64 --label version=3.2.0-dev.23 . 02:01:52 Sending build context to Docker daemon 20.92MB 02:01:52 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 02:01:52 Step 2/25 : FROM ${BASE} AS builder 02:01:52 ---> 757811a19f5d 02:01:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:01:52 ---> Running in 1f8694df3e91 02:01:52 Removing intermediate container 1f8694df3e91 02:01:52 ---> 8c1c196872bd 02:01:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:52 ---> Running in df4c988c8695 02:01:53 Removing intermediate container df4c988c8695 02:01:53 ---> 53b13b5de2b9 02:01:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:53 ---> Running in a0e2465e8491 02:01:53 Removing intermediate container a0e2465e8491 02:01:53 ---> 2b01ed5bb975 02:01:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:01:53 ---> Running in 9121e889afea 02:01:53 Removing intermediate container 9121e889afea 02:01:53 ---> 5da309c6d566 02:01:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:53 ---> Running in 05394f9f1332 02:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:01:53 OK: 250 MiB in 58 packages 02:01:54 Removing intermediate container 05394f9f1332 02:01:54 ---> 7e0486629f5a 02:01:54 Step 8/25 : WORKDIR /device-mqtt-go 02:01:54 ---> Running in a0f4212d33db 02:01:54 Removing intermediate container a0f4212d33db 02:01:54 ---> b0b227689f52 02:01:54 Step 9/25 : COPY go.mod vendor* ./ 02:01:54 ---> 0237921cfddf 02:01:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:54 ---> Running in 356ebd0d9d8b 02:01:54 Removing intermediate container 356ebd0d9d8b 02:01:54 ---> c15aedbf3cd9 02:01:54 Step 11/25 : COPY . . 02:01:55 ---> 789afd640f18 02:01:55 Step 12/25 : RUN $MAKE 02:01:55 ---> Running in 05aec23eaa1a 02:01:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd 02:02:27 Removing intermediate container 05aec23eaa1a 02:02:27 ---> ea98315c958e 02:02:27 Step 13/25 : FROM alpine:3.20 02:02:28 3.20: Pulling from library/alpine 02:02:28 43c4264eed91: Already exists 02:02:28 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:02:28 Status: Downloaded newer image for alpine:3.20 02:02:28 ---> 91ef0af61f39 02:02:28 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 02:02:28 ---> Running in b75be56282e7 02:02:28 Removing intermediate container b75be56282e7 02:02:28 ---> 150da6f74709 02:02:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:02:28 ---> Running in 05d888f9fc4c 02:02:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:02:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:02:29 (1/1) Installing dumb-init (1.2.5-r3) 02:02:29 Executing busybox-1.36.1-r29.trigger 02:02:29 OK: 8 MiB in 15 packages 02:02:29 Removing intermediate container 05d888f9fc4c 02:02:29 ---> 224b1460f3f5 02:02:29 Step 16/25 : RUN apk --no-cache upgrade 02:02:29 ---> Running in 7417032f92d4 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:02:30 Upgrading critical system libraries and apk-tools: 02:02:30 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:02:30 Executing busybox-1.36.1-r29.trigger 02:02:30 Continuing the upgrade transaction with new apk-tools: 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:02:30 OK: 8 MiB in 15 packages 02:02:31 Removing intermediate container 7417032f92d4 02:02:31 ---> 97ead92aa4ed 02:02:31 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:02:32 ---> e9a93a3c77b5 02:02:32 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:02:32 ---> a7b60db775ec 02:02:32 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:02:32 ---> 7ebe13936d7d 02:02:32 Step 20/25 : EXPOSE 59982 02:02:32 ---> Running in 5e09b472429a 02:02:32 Removing intermediate container 5e09b472429a 02:02:32 ---> 1f0f8b7c489a 02:02:32 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:02:32 ---> Running in 35cfaf79a884 02:02:32 Removing intermediate container 35cfaf79a884 02:02:32 ---> dbababe45b38 02:02:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:02:32 ---> Running in e251573eed9e 02:02:32 Removing intermediate container e251573eed9e 02:02:32 ---> ff9399028aa5 02:02:32 Step 23/25 : LABEL arch=amd64 02:02:32 ---> Running in 54864c07d048 02:02:32 Removing intermediate container 54864c07d048 02:02:32 ---> b26d980ae2c7 02:02:32 Step 24/25 : LABEL git_sha=a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:02:33 ---> Running in 85d765e7a228 02:02:33 Removing intermediate container 85d765e7a228 02:02:33 ---> 436a3e33a385 02:02:33 Step 25/25 : LABEL version=3.2.0-dev.23 02:02:33 ---> Running in 6bacfcfd77ab 02:02:33 Removing intermediate container 6bacfcfd77ab 02:02:33 ---> 605ee9473c1a 02:02:33 [Warning] One or more build-args [ARCH] were not consumed 02:02:33 Successfully built 605ee9473c1a 02:02:33 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:33 provisioning config files... 02:02:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10324781038187866763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:33 ---> ****-login.sh 02:02:33 nexus3.edgexfoundry.org:10001 02:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:33 Configure a credential helper to remove this warning. See 02:02:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:33 02:02:33 Login Succeeded 02:02:33 nexus3.edgexfoundry.org:10002 02:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:33 Configure a credential helper to remove this warning. See 02:02:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:33 02:02:33 Login Succeeded 02:02:33 nexus3.edgexfoundry.org:10003 02:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:33 Configure a credential helper to remove this warning. See 02:02:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:33 02:02:33 Login Succeeded 02:02:33 nexus3.edgexfoundry.org:10004 02:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:33 Configure a credential helper to remove this warning. See 02:02:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:33 02:02:33 Login Succeeded 02:02:33 ****.io 02:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:34 Configure a credential helper to remove this warning. See 02:02:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:34 02:02:34 Login Succeeded 02:02:34 ---> ****-login.sh ends [Pipeline] } 02:02:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:02:34 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:02:34 a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:02:34 latest 02:02:34 3.2.0-dev.23 02:02:34 a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 02:02:34 main 02:02:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:02:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:02:34 838193346467: Preparing 02:02:34 78bf3ec9fd60: Preparing 02:02:34 c70ee1edc30a: Preparing 02:02:34 49015a6aad90: Preparing 02:02:34 6eaf80fb50fe: Preparing 02:02:34 63ca1fbb43ae: Preparing 02:02:34 63ca1fbb43ae: Waiting 02:02:34 6eaf80fb50fe: Pushed 02:02:34 838193346467: Pushed 02:02:34 78bf3ec9fd60: Pushed 02:02:34 63ca1fbb43ae: Layer already exists 02:02:34 49015a6aad90: Pushed 02:02:40 c70ee1edc30a: Pushed 02:02:40 a2016d423b1c70de9c1bd91a5949c98d975b79e0: digest: sha256:4d9c25c5e01a05407ad34e02c7b8fe9ac201d0fe74b50b9d02cd61a9549057c6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:02:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:02:40 838193346467: Preparing 02:02:40 78bf3ec9fd60: Preparing 02:02:40 c70ee1edc30a: Preparing 02:02:40 49015a6aad90: Preparing 02:02:40 6eaf80fb50fe: Preparing 02:02:40 63ca1fbb43ae: Preparing 02:02:40 63ca1fbb43ae: Waiting 02:02:40 78bf3ec9fd60: Layer already exists 02:02:40 838193346467: Layer already exists 02:02:40 49015a6aad90: Layer already exists 02:02:40 6eaf80fb50fe: Layer already exists 02:02:40 c70ee1edc30a: Layer already exists 02:02:40 63ca1fbb43ae: Layer already exists 02:02:40 latest: digest: sha256:4d9c25c5e01a05407ad34e02c7b8fe9ac201d0fe74b50b9d02cd61a9549057c6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.23 02:02:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:02:41 838193346467: Preparing 02:02:41 78bf3ec9fd60: Preparing 02:02:41 c70ee1edc30a: Preparing 02:02:41 49015a6aad90: Preparing 02:02:41 6eaf80fb50fe: Preparing 02:02:41 63ca1fbb43ae: Preparing 02:02:41 63ca1fbb43ae: Waiting 02:02:41 49015a6aad90: Layer already exists 02:02:41 6eaf80fb50fe: Layer already exists 02:02:41 c70ee1edc30a: Layer already exists 02:02:41 78bf3ec9fd60: Layer already exists 02:02:41 838193346467: Layer already exists 02:02:41 63ca1fbb43ae: Layer already exists 02:02:41 3.2.0-dev.23: digest: sha256:4d9c25c5e01a05407ad34e02c7b8fe9ac201d0fe74b50b9d02cd61a9549057c6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 02:02:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:02:42 838193346467: Preparing 02:02:42 78bf3ec9fd60: Preparing 02:02:42 c70ee1edc30a: Preparing 02:02:42 49015a6aad90: Preparing 02:02:42 6eaf80fb50fe: Preparing 02:02:42 63ca1fbb43ae: Preparing 02:02:42 63ca1fbb43ae: Waiting 02:02:42 c70ee1edc30a: Layer already exists 02:02:42 78bf3ec9fd60: Layer already exists 02:02:42 838193346467: Layer already exists 02:02:42 6eaf80fb50fe: Layer already exists 02:02:42 49015a6aad90: Layer already exists 02:02:42 63ca1fbb43ae: Layer already exists 02:02:42 a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23: digest: sha256:4d9c25c5e01a05407ad34e02c7b8fe9ac201d0fe74b50b9d02cd61a9549057c6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:02:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:02:42 838193346467: Preparing 02:02:42 78bf3ec9fd60: Preparing 02:02:42 c70ee1edc30a: Preparing 02:02:42 49015a6aad90: Preparing 02:02:42 6eaf80fb50fe: Preparing 02:02:42 63ca1fbb43ae: Preparing 02:02:42 63ca1fbb43ae: Waiting 02:02:42 78bf3ec9fd60: Layer already exists 02:02:42 838193346467: Layer already exists 02:02:42 c70ee1edc30a: Layer already exists 02:02:42 6eaf80fb50fe: Layer already exists 02:02:42 49015a6aad90: Layer already exists 02:02:42 63ca1fbb43ae: Layer already exists 02:02:42 main: digest: sha256:4d9c25c5e01a05407ad34e02c7b8fe9ac201d0fe74b50b9d02cd61a9549057c6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:42 ===================================================== [Pipeline] echo 02:02:42 taggedImages: 02:02:42 - nexus3.edgexfoundry.org:10004/device-mqtt:a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:02:42 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:02:42 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.23 02:02:42 - nexus3.edgexfoundry.org:10004/device-mqtt:a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 02:02:42 - 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 02:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:43 02:02:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:43 latest: Pulling from edgex-lftools-log-publisher 02:02:43 5eb5b503b376: Pulling fs layer 02:02:43 5c69ac0246d0: Pulling fs layer 02:02:43 ec43610c2a17: Pulling fs layer 02:02:43 3a2ae6a8a46f: Pulling fs layer 02:02:43 33b1e0a273af: Pulling fs layer 02:02:43 5d3b04190fa2: Pulling fs layer 02:02:43 2f39f015ded8: Pulling fs layer 02:02:43 3a2ae6a8a46f: Waiting 02:02:43 5d3b04190fa2: Waiting 02:02:43 2f39f015ded8: Waiting 02:02:43 33b1e0a273af: Waiting 02:02:43 5c69ac0246d0: Download complete 02:02:43 3a2ae6a8a46f: Verifying Checksum 02:02:43 3a2ae6a8a46f: Download complete 02:02:43 33b1e0a273af: Verifying Checksum 02:02:43 33b1e0a273af: Download complete 02:02:43 5d3b04190fa2: Download complete 02:02:43 ec43610c2a17: Verifying Checksum 02:02:43 ec43610c2a17: Download complete 02:02:43 5eb5b503b376: Verifying Checksum 02:02:43 5eb5b503b376: Download complete 02:02:44 2f39f015ded8: Download complete 02:02:45 5eb5b503b376: Pull complete 02:02:45 5c69ac0246d0: Pull complete 02:02:45 ec43610c2a17: Pull complete 02:02:45 3a2ae6a8a46f: Pull complete 02:02:45 33b1e0a273af: Pull complete 02:02:45 5d3b04190fa2: Pull complete 02:02:50 2f39f015ded8: Pull complete 02:02:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:50 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:02:50 $ 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 02:02:54 $ docker top 1ec2e639845bd90ffa5eb4435d15ea11237d87caf0c93c805d086d85ad2e9fa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:54 ---> job-cost.sh 02:02:54 lf-activate-venv: SKIPPING 02:02:54 INFO: No Stack... 02:02:54 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:54 INFO: Archiving Costs [Pipeline] sh 02:02:55 + cut -d, -f6 02:02:55 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 02:02:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] 02:02:55 Resource [jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] did not exist. Created. 02:02:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:55 + echo total: 0.2199999988079071 [Pipeline] stash 02:02:55 Stashed 1 file(s) [Pipeline] } 02:02:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 02:02:55 $ docker stop --time=1 1ec2e639845bd90ffa5eb4435d15ea11237d87caf0c93c805d086d85ad2e9fa1 02:02:56 $ docker rm -f --volumes 1ec2e639845bd90ffa5eb4435d15ea11237d87caf0c93c805d086d85ad2e9fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:23:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23233 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:23:39 Running in /w/workspace/device-mqtt-go/178 [Pipeline] { [Pipeline] checkout 02:23:43 The recommended git tool is: git 02:23:49 using credential edgex-jenkins-ssh 02:23:49 Cloning the remote Git repository 02:23:49 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:23:49 > git init /w/workspace/device-mqtt-go/178 # timeout=10 02:23:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:23:49 > git --version # timeout=10 02:23:49 > git --version # 'git version 2.25.1' 02:23:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:53 Avoid second fetch 02:23:53 Checking out Revision a2016d423b1c70de9c1bd91a5949c98d975b79e0 (main) 02:23:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:23:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:53 Commit message: "Merge pull request #703 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" 02:23:53 > git config core.sparsecheckout # timeout=10 02:23:53 > git checkout -f a2016d423b1c70de9c1bd91a5949c98d975b79e0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:23:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:24:01 % Total % Received % Xferd Average Speed Time Time Time Current 02:24:01 Dload Upload Total Spent Left Speed 02:24:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh 02:24:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:24:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:24:02 + sudo tee /etc/docker/daemon.new 02:24:02 { 02:24:02 "registry-mirrors": [ 02:24:02 "https://nexus3.edgexfoundry.org:10001" 02:24:02 ], 02:24:02 "bip": "10.250.0.254/24", 02:24:02 "hosts": [ 02:24:02 "tcp://0.0.0.0:5555", 02:24:02 "unix:///var/run/docker.sock" 02:24:02 ], 02:24:02 "mtu": 1458, 02:24:02 "selinux-enabled": true, 02:24:02 "seccomp-profile": "/etc/docker/seccomp.json" 02:24:02 } [Pipeline] sh 02:24:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:24:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:24:21 provisioning config files... 02:24:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/178@tmp/config15995516139978048221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:24:21 ---> ****-login.sh 02:24:21 nexus3.edgexfoundry.org:10001 02:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:24:22 Configure a credential helper to remove this warning. See 02:24:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:24:22 02:24:22 Login Succeeded 02:24:22 nexus3.edgexfoundry.org:10002 02:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:24:22 Configure a credential helper to remove this warning. See 02:24:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:24:22 02:24:22 Login Succeeded 02:24:22 nexus3.edgexfoundry.org:10003 02:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:24:23 Configure a credential helper to remove this warning. See 02:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:24:23 02:24:23 Login Succeeded 02:24:23 nexus3.edgexfoundry.org:10004 02:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:24:23 Configure a credential helper to remove this warning. See 02:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:24:23 02:24:23 Login Succeeded 02:24:23 ****.io 02:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:24:23 Configure a credential helper to remove this warning. See 02:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:24:23 02:24:23 Login Succeeded 02:24:23 ---> ****-login.sh ends [Pipeline] } 02:24:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:24:24 ========================================================= 02:24:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:24:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:24 + 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 . 02:24:25 Sending build context to Docker daemon 10.56MB 02:24:25 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:24:25 Step 2/12 : FROM ${BASE} AS builder 02:24:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:24:25 cf04c63912e1: Pulling fs layer 02:24:25 55b35a11ae5e: Pulling fs layer 02:24:25 a37a00ec5f00: Pulling fs layer 02:24:25 50b3750afda1: Pulling fs layer 02:24:25 4f4fb700ef54: Pulling fs layer 02:24:25 80978eb59214: Pulling fs layer 02:24:25 c9f46d7d2bd2: Pulling fs layer 02:24:25 c5a475d317c9: Pulling fs layer 02:24:25 50b3750afda1: Waiting 02:24:25 4f4fb700ef54: Waiting 02:24:25 80978eb59214: Waiting 02:24:25 c9f46d7d2bd2: Waiting 02:24:25 c5a475d317c9: Waiting 02:24:25 55b35a11ae5e: Verifying Checksum 02:24:25 55b35a11ae5e: Download complete 02:24:25 50b3750afda1: Verifying Checksum 02:24:25 50b3750afda1: Download complete 02:24:25 4f4fb700ef54: Verifying Checksum 02:24:25 4f4fb700ef54: Download complete 02:24:25 80978eb59214: Verifying Checksum 02:24:25 80978eb59214: Download complete 02:24:25 cf04c63912e1: Verifying Checksum 02:24:25 cf04c63912e1: Download complete 02:24:26 c5a475d317c9: Verifying Checksum 02:24:26 c5a475d317c9: Download complete 02:24:26 cf04c63912e1: Pull complete 02:24:27 55b35a11ae5e: Pull complete 02:24:27 a37a00ec5f00: Verifying Checksum 02:24:27 a37a00ec5f00: Download complete 02:24:28 c9f46d7d2bd2: Verifying Checksum 02:24:28 c9f46d7d2bd2: Download complete 02:24:43 a37a00ec5f00: Pull complete 02:24:43 50b3750afda1: Pull complete 02:24:43 4f4fb700ef54: Pull complete 02:24:43 80978eb59214: Pull complete 02:24:50 c9f46d7d2bd2: Pull complete 02:24:51 c5a475d317c9: Pull complete 02:24:51 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 02:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:24:51 ---> be29e6b0f0d4 02:24:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:24:53 ---> Running in e8219eee12b6 02:24:53 Removing intermediate container e8219eee12b6 02:24:53 ---> 0b637ef2b3fa 02:24:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:24:53 ---> Running in 71d7beb91447 02:24:54 Removing intermediate container 71d7beb91447 02:24:54 ---> 71e2f69ab52b 02:24:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:24:54 ---> Running in 28c1ca1f85cb 02:24:54 Removing intermediate container 28c1ca1f85cb 02:24:54 ---> c4bba24764db 02:24:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:24:54 ---> Running in 6e4077481fb5 02:24:54 Removing intermediate container 6e4077481fb5 02:24:54 ---> ac6c97cea8d6 02:24:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:24:55 ---> Running in 5a330e23914a 02:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:24:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:24:58 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:24:58 (2/4) Installing libedit (20240517.3.1-r0) 02:24:58 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:24:58 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:24:58 Executing busybox-1.36.1-r29.trigger 02:24:58 OK: 242 MiB in 58 packages 02:24:59 Removing intermediate container 5a330e23914a 02:24:59 ---> 38e8ef634671 02:24:59 Step 8/12 : WORKDIR /device-mqtt-go 02:24:59 ---> Running in 5de50cef7f85 02:25:00 Removing intermediate container 5de50cef7f85 02:25:00 ---> 0813009b5ac2 02:25:00 Step 9/12 : COPY go.mod vendor* ./ 02:25:00 ---> 1846f3e1982e 02:25:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:25:00 ---> Running in 050fa4186a47 02:27:07 Removing intermediate container 050fa4186a47 02:27:07 ---> 11bdd78769b1 02:27:07 Step 11/12 : COPY . . 02:27:07 ---> d7bcc49a39f5 02:27:07 Step 12/12 : RUN $MAKE 02:27:07 ---> Running in b74142f5e257 02:27:07 noop 02:27:07 Removing intermediate container b74142f5e257 02:27:07 ---> e2dc0084863c 02:27:07 Successfully built e2dc0084863c 02:27:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:27:07 + docker inspect -f . ci-base-image-arm64 02:27:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:27:07 prd-ubuntu20.04-docker-arm64-4c-16g-23233 does not seem to be running inside a container 02:27:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/178 -v /w/workspace/device-mqtt-go/178:/w/workspace/device-mqtt-go/178:rw,z -v /w/workspace/device-mqtt-go/178@tmp:/w/workspace/device-mqtt-go/178@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 02:27:09 $ docker top 5300bee2818d155bd57b3adffdd5367b484d071ccda2922a6cbb6dc95ed4b36c -eo pid,comm [Pipeline] { [Pipeline] sh 02:27:10 + go version 02:27:10 go version go1.23.2 linux/arm64 [Pipeline] } 02:27:10 $ docker stop --time=1 5300bee2818d155bd57b3adffdd5367b484d071ccda2922a6cbb6dc95ed4b36c 02:27:11 $ docker rm -f --volumes 5300bee2818d155bd57b3adffdd5367b484d071ccda2922a6cbb6dc95ed4b36c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:27:12 + docker inspect -f . ci-base-image-arm64 02:27:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:27:12 prd-ubuntu20.04-docker-arm64-4c-16g-23233 does not seem to be running inside a container 02:27: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/178 -v /w/workspace/device-mqtt-go/178:/w/workspace/device-mqtt-go/178:rw,z -v /w/workspace/device-mqtt-go/178@tmp:/w/workspace/device-mqtt-go/178@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 02:27:14 $ docker top 5b4364e689c0c75ded9a7466ff0080526d62604146621469420b37d389e2495d -eo pid,comm [Pipeline] { [Pipeline] sh 02:27:15 + git config --global --add safe.directory /w/workspace/device-mqtt-go/178 [Pipeline] fileExists [Pipeline] sh 02:27:15 + make test 02:27:15 go test ./... -coverprofile=coverage.out ./... 02:27:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:31:14 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:31:14 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:31:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements 02:31:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:31:15 go vet ./... 02:32:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:11 ./bin/test-attribution-txt.sh [Pipeline] echo 02:32:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:32:11 $ docker stop --time=1 5b4364e689c0c75ded9a7466ff0080526d62604146621469420b37d389e2495d 02:32:13 $ docker rm -f --volumes 5b4364e689c0c75ded9a7466ff0080526d62604146621469420b37d389e2495d [Pipeline] // withDockerContainer [Pipeline] sh 02:32:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:32:15 Warning: overwriting stash ‘coverage-report’ 02:32:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:16 + ls -al . 02:32:16 total 260 02:32:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 02:27 . 02:32:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:23 .. 02:32:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 02:23 .dockerignore 02:32:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 02:23 .git 02:32:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:23 .github 02:32:16 -rw-rw-r-- 1 jenkins jenkins 264 Oct 18 02:23 .gitignore 02:32:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 02:23 .golangci.yml 02:32:16 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 18 02:23 Attribution.txt 02:32:16 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 18 02:23 CHANGELOG.md 02:32:16 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 18 02:23 Dockerfile 02:32:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 02:23 GOVERNANCE.md 02:32:16 -rw-rw-r-- 1 jenkins jenkins 657 Oct 18 02:23 Jenkinsfile 02:32:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 02:23 LICENSE 02:32:16 -rw-rw-r-- 1 jenkins jenkins 2500 Oct 18 02:23 Makefile 02:32:16 -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 02:23 OWNERS.md 02:32:16 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 18 02:23 README.md 02:32:16 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 01:59 VERSION 02:32:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 02:23 bin 02:32:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:23 cmd 02:32:16 -rw-r--r-- 1 jenkins jenkins 21039 Oct 18 02:31 coverage.out 02:32:16 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 18 02:23 go.mod 02:32:16 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 18 02:23 go.sum 02:32:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:23 internal 02:32:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 02:23 mock 02:32:16 -rw-rw-r-- 1 jenkins jenkins 227 Oct 18 02:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:17 + 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=a2016d423b1c70de9c1bd91a5949c98d975b79e0 --label arch=arm64 --label version=3.2.0-dev.23 . 02:32:17 Sending build context to Docker daemon 10.59MB 02:32:17 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 02:32:17 Step 2/25 : FROM ${BASE} AS builder 02:32:17 ---> e2dc0084863c 02:32:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:32:17 ---> Running in 20ad045b544c 02:32:18 Removing intermediate container 20ad045b544c 02:32:18 ---> 5c44f9945581 02:32:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:18 ---> Running in 1a2c3f8ac08e 02:32:18 Removing intermediate container 1a2c3f8ac08e 02:32:18 ---> 7f2ddfdda372 02:32:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:32:18 ---> Running in e5d9d18355bf 02:32:18 Removing intermediate container e5d9d18355bf 02:32:18 ---> e3f448ab57a6 02:32:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:32:18 ---> Running in 6f3ab42cdca8 02:32:19 Removing intermediate container 6f3ab42cdca8 02:32:19 ---> 5035cceb8794 02:32:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:19 ---> Running in f3a1248ccedf 02:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:32:22 OK: 242 MiB in 58 packages 02:32:23 Removing intermediate container f3a1248ccedf 02:32:23 ---> 1b07a07139a1 02:32:23 Step 8/25 : WORKDIR /device-mqtt-go 02:32:23 ---> Running in 975e789f7c13 02:32:23 Removing intermediate container 975e789f7c13 02:32:23 ---> 206b24219a11 02:32:23 Step 9/25 : COPY go.mod vendor* ./ 02:32:23 ---> 98fc1f6ebd22 02:32:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:23 ---> Running in 7394f8eef5ae 02:32:26 Removing intermediate container 7394f8eef5ae 02:32:26 ---> d4d2a40268ba 02:32:26 Step 11/25 : COPY . . 02:32:27 ---> 3ed8b274e805 02:32:27 Step 12/25 : RUN $MAKE 02:32:27 ---> Running in 4a5232e4616f 02:32:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd 02:36:04 Removing intermediate container 4a5232e4616f 02:36:04 ---> 20be63db77a9 02:36:04 Step 13/25 : FROM alpine:3.20 02:36:04 3.20: Pulling from library/alpine 02:36:04 cf04c63912e1: Already exists 02:36:04 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:36:04 Status: Downloaded newer image for alpine:3.20 02:36:04 ---> c157a85ed455 02:36:04 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 02:36:04 ---> Running in 951c64e9ad4f 02:36:04 Removing intermediate container 951c64e9ad4f 02:36:04 ---> cc4f6fb445e7 02:36:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:36:04 ---> Running in b544cab08e51 02:36:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:07 (1/1) Installing dumb-init (1.2.5-r3) 02:36:07 Executing busybox-1.36.1-r29.trigger 02:36:07 OK: 9 MiB in 15 packages 02:36:08 Removing intermediate container b544cab08e51 02:36:08 ---> ddd71982a5a0 02:36:08 Step 16/25 : RUN apk --no-cache upgrade 02:36:08 ---> Running in 4edbe2bbc5d8 02:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:11 Upgrading critical system libraries and apk-tools: 02:36:11 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:36:11 Executing busybox-1.36.1-r29.trigger 02:36:11 Continuing the upgrade transaction with new apk-tools: 02:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:13 OK: 9 MiB in 15 packages 02:36:14 Removing intermediate container 4edbe2bbc5d8 02:36:14 ---> f08b97f51715 02:36:14 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:36:17 ---> 7fcd054bdbdf 02:36:17 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:36:17 ---> 91a32f3ae768 02:36:17 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:36:18 ---> ab2ffbfd4f97 02:36:18 Step 20/25 : EXPOSE 59982 02:36:18 ---> Running in 24d854e418d6 02:36:18 Removing intermediate container 24d854e418d6 02:36:18 ---> 6be042541fcb 02:36:18 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:36:18 ---> Running in 88f51d0b6455 02:36:18 Removing intermediate container 88f51d0b6455 02:36:18 ---> a8c6860bc92f 02:36:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:36:19 ---> Running in 831e5e9f0257 02:36:19 Removing intermediate container 831e5e9f0257 02:36:19 ---> 64f5cbe5b0bf 02:36:19 Step 23/25 : LABEL arch=arm64 02:36:19 ---> Running in 50f1f45bf5ed 02:36:19 Removing intermediate container 50f1f45bf5ed 02:36:19 ---> 20e75c115477 02:36:19 Step 24/25 : LABEL git_sha=a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:36:19 ---> Running in b7602d777ff0 02:36:20 Removing intermediate container b7602d777ff0 02:36:20 ---> 892fbe8ac955 02:36:20 Step 25/25 : LABEL version=3.2.0-dev.23 02:36:20 ---> Running in 55798f5d8bf0 02:36:20 Removing intermediate container 55798f5d8bf0 02:36:20 ---> 003996216eec 02:36:20 [Warning] One or more build-args [ARCH] were not consumed 02:36:20 Successfully built 003996216eec 02:36:20 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 02:36:20 provisioning config files... 02:36:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/178@tmp/config13693869068862761443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:21 ---> ****-login.sh 02:36:21 nexus3.edgexfoundry.org:10001 02:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:21 Configure a credential helper to remove this warning. See 02:36:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:21 02:36:21 Login Succeeded 02:36:21 nexus3.edgexfoundry.org:10002 02:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:22 Configure a credential helper to remove this warning. See 02:36:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:22 02:36:22 Login Succeeded 02:36:22 nexus3.edgexfoundry.org:10003 02:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:22 Configure a credential helper to remove this warning. See 02:36:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:22 02:36:22 Login Succeeded 02:36:22 nexus3.edgexfoundry.org:10004 02:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:22 Configure a credential helper to remove this warning. See 02:36:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:22 02:36:22 Login Succeeded 02:36:22 ****.io 02:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:23 Configure a credential helper to remove this warning. See 02:36:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:23 02:36:23 Login Succeeded 02:36:23 ---> ****-login.sh ends [Pipeline] } 02:36:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:36:23 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:36:23 a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:36:23 latest 02:36:23 3.2.0-dev.23 02:36:23 a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 02:36:23 main 02:36:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:24 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:36:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:24 61f6ea597fec: Preparing 02:36:24 e2996cdce924: Preparing 02:36:24 af558734ca94: Preparing 02:36:24 525e02f9c885: Preparing 02:36:24 366f41a78a91: Preparing 02:36:24 16113d51b718: Preparing 02:36:24 16113d51b718: Waiting 02:36:24 366f41a78a91: Pushed 02:36:24 e2996cdce924: Pushed 02:36:24 61f6ea597fec: Pushed 02:36:24 16113d51b718: Layer already exists 02:36:24 525e02f9c885: Pushed 02:36:34 af558734ca94: Pushed 02:36:34 a2016d423b1c70de9c1bd91a5949c98d975b79e0: digest: sha256:8b1c9adad8de5acd24e6a3be13a2fe1df58957983ce505fb1ef082f324cc0928 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:36:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:35 61f6ea597fec: Preparing 02:36:35 e2996cdce924: Preparing 02:36:35 af558734ca94: Preparing 02:36:35 525e02f9c885: Preparing 02:36:35 366f41a78a91: Preparing 02:36:35 16113d51b718: Preparing 02:36:35 16113d51b718: Waiting 02:36:35 e2996cdce924: Layer already exists 02:36:35 366f41a78a91: Layer already exists 02:36:35 61f6ea597fec: Layer already exists 02:36:35 525e02f9c885: Layer already exists 02:36:35 af558734ca94: Layer already exists 02:36:35 16113d51b718: Layer already exists 02:36:35 latest: digest: sha256:8b1c9adad8de5acd24e6a3be13a2fe1df58957983ce505fb1ef082f324cc0928 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.23 02:36:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:36 61f6ea597fec: Preparing 02:36:36 e2996cdce924: Preparing 02:36:36 af558734ca94: Preparing 02:36:36 525e02f9c885: Preparing 02:36:36 366f41a78a91: Preparing 02:36:36 16113d51b718: Preparing 02:36:36 16113d51b718: Waiting 02:36:36 525e02f9c885: Layer already exists 02:36:36 af558734ca94: Layer already exists 02:36:36 366f41a78a91: Layer already exists 02:36:36 61f6ea597fec: Layer already exists 02:36:36 e2996cdce924: Layer already exists 02:36:36 16113d51b718: Layer already exists 02:36:36 3.2.0-dev.23: digest: sha256:8b1c9adad8de5acd24e6a3be13a2fe1df58957983ce505fb1ef082f324cc0928 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 02:36:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:37 61f6ea597fec: Preparing 02:36:37 e2996cdce924: Preparing 02:36:37 af558734ca94: Preparing 02:36:37 525e02f9c885: Preparing 02:36:37 366f41a78a91: Preparing 02:36:37 16113d51b718: Preparing 02:36:37 16113d51b718: Waiting 02:36:37 525e02f9c885: Layer already exists 02:36:37 366f41a78a91: Layer already exists 02:36:37 af558734ca94: Layer already exists 02:36:37 e2996cdce924: Layer already exists 02:36:37 61f6ea597fec: Layer already exists 02:36:37 16113d51b718: Layer already exists 02:36:37 a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23: digest: sha256:8b1c9adad8de5acd24e6a3be13a2fe1df58957983ce505fb1ef082f324cc0928 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:36:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:36:38 61f6ea597fec: Preparing 02:36:38 e2996cdce924: Preparing 02:36:38 af558734ca94: Preparing 02:36:38 525e02f9c885: Preparing 02:36:38 366f41a78a91: Preparing 02:36:38 16113d51b718: Preparing 02:36:38 16113d51b718: Waiting 02:36:38 e2996cdce924: Layer already exists 02:36:38 af558734ca94: Layer already exists 02:36:38 61f6ea597fec: Layer already exists 02:36:38 366f41a78a91: Layer already exists 02:36:38 525e02f9c885: Layer already exists 02:36:38 16113d51b718: Layer already exists 02:36:38 main: digest: sha256:8b1c9adad8de5acd24e6a3be13a2fe1df58957983ce505fb1ef082f324cc0928 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:38 ===================================================== [Pipeline] echo 02:36:38 taggedImages: 02:36:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a2016d423b1c70de9c1bd91a5949c98d975b79e0 02:36:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:36:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.23 02:36:38 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a2016d423b1c70de9c1bd91a5949c98d975b79e0-3.2.0-dev.23 02:36:38 - 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 02:36:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:36:39 02:36:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:36:39 arm64: Pulling from edgex-lftools-log-publisher 02:36:39 8998bd30e6a1: Pulling fs layer 02:36:39 04944245beec: Pulling fs layer 02:36:39 699f458cf7ca: Pulling fs layer 02:36:39 765212b225bb: Pulling fs layer 02:36:39 f23df028b6ca: Pulling fs layer 02:36:39 d65c8cfc05b1: Pulling fs layer 02:36:39 2437ff75d9bd: Pulling fs layer 02:36:39 765212b225bb: Waiting 02:36:39 f23df028b6ca: Waiting 02:36:39 d65c8cfc05b1: Waiting 02:36:39 2437ff75d9bd: Waiting 02:36:40 04944245beec: Verifying Checksum 02:36:40 04944245beec: Download complete 02:36:40 765212b225bb: Verifying Checksum 02:36:40 765212b225bb: Download complete 02:36:40 f23df028b6ca: Verifying Checksum 02:36:40 f23df028b6ca: Download complete 02:36:40 d65c8cfc05b1: Download complete 02:36:40 699f458cf7ca: Verifying Checksum 02:36:40 699f458cf7ca: Download complete 02:36:40 8998bd30e6a1: Verifying Checksum 02:36:40 8998bd30e6a1: Download complete 02:36:43 2437ff75d9bd: Verifying Checksum 02:36:43 2437ff75d9bd: Download complete 02:36:45 8998bd30e6a1: Pull complete 02:36:46 04944245beec: Pull complete 02:36:47 699f458cf7ca: Pull complete 02:36:47 765212b225bb: Pull complete 02:36:48 f23df028b6ca: Pull complete 02:36:48 d65c8cfc05b1: Pull complete 02:37:06 2437ff75d9bd: Pull complete 02:37:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:07 prd-ubuntu20.04-docker-arm64-4c-16g-23233 does not seem to be running inside a container 02:37:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/178 -v /w/workspace/device-mqtt-go/178:/w/workspace/device-mqtt-go/178:rw,z -v /w/workspace/device-mqtt-go/178@tmp:/w/workspace/device-mqtt-go/178@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 02:37:10 $ docker top 9113d200f211a405dae753cba72788271f0069b55dcf38309fb5bcaf2a862838 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:10 ---> job-cost.sh 02:37:10 lf-activate-venv: SKIPPING 02:37:10 INFO: No Stack... 02:37:11 INFO: Retrieving Pricing Info for: v3-standard-4 02:37:12 INFO: Archiving Costs [Pipeline] sh 02:37:12 + cat /w/workspace/device-mqtt-go/178/archives/cost.csv 02:37:12 + cut -d, -f6 [Pipeline] lock 02:37:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] 02:37:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] did not exist. Created. 02:37:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:13 /w/workspace/device-mqtt-go/178@tmp/durable-04b136b1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:37:14 + echo total: 0.10999999940395355 [Pipeline] stash 02:37:14 Warning: overwriting stash ‘stack-cost’ 02:37:14 Stashed 1 file(s) [Pipeline] } 02:37:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:14 $ docker stop --time=1 9113d200f211a405dae753cba72788271f0069b55dcf38309fb5bcaf2a862838 02:37:15 $ docker rm -f --volumes 9113d200f211a405dae753cba72788271f0069b55dcf38309fb5bcaf2a862838 [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 02:37:17 provisioning config files... 02:37:17 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12361934412740883186tmp [Pipeline] { [Pipeline] sh 02:37:17 + set +x 02:37:17 + curl -s https://codecov.io/bash 02:37:17 + bash -s -- 02:37:17 02:37:17 _____ _ 02:37:17 / ____| | | 02:37:17 | | ___ __| | ___ ___ _____ __ 02:37:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:37:17 | |___| (_) | (_| | __/ (_| (_) \ V / 02:37:17 \_____\___/ \__,_|\___|\___\___/ \_/ 02:37:17 Bash-1.0.6 02:37:17 02:37:17 02:37:17 ==> git version 2.25.1 found 02:37:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:37:17 Release-Date: 2020-01-08 02:37:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:37:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:37:17 ==> Jenkins CI detected. 02:37:17 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:37:17 project root: . 02:37:17 --> token set from env 02:37:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:37:17 ==> Running gcov in . (disable via -X gcov) 02:37:17 ==> Python coveragepy not found 02:37:17 ==> Searching for coverage reports in: 02:37:17 + . 02:37:17 -> Found 1 reports 02:37:17 ==> Detecting git/mercurial file structure 02:37:18 ==> Reading reports 02:37:18 + ./coverage.out bytes=21039 02:37:18 ==> Appending adjustments 02:37:18 https://docs.codecov.io/docs/fixing-reports 02:37:18 + Found adjustments 02:37:18 ==> Gzipping contents 02:37:18 4.0K /tmp/codecov.Tb8X6g.gz 02:37:18 ==> Uploading reports 02:37:18 url: https://codecov.io 02:37:18 query: branch=main&commit=a2016d423b1c70de9c1bd91a5949c98d975b79e0&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:18 -> Pinging Codecov 02:37:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a2016d423b1c70de9c1bd91a5949c98d975b79e0&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:18 -> Uploading to 02:37:18 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/a2016d423b1c70de9c1bd91a5949c98d975b79e0/722cbcfb-89a6-4a1a-a61f-ff7127359d8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T023718Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b3a7e38bfe8d3f2b73e0cafd5c5bf7fc2cc54af17e833c1a9bb7fd0760a5a2b5 02:37:18 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:18 Dload Upload Total Spent Left Speed 02:37:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 12722 --:--:-- --:--:-- --:--:-- 12722 02:37:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] } 02:37:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:37:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:37:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:37:19 02:37:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:37:19 latest: Pulling from edgex-devops/edgex-snyk-go 02:37:19 43c4264eed91: Already exists 02:37:19 4cc291be95ef: Already exists 02:37:19 2ac1f1163629: Already exists 02:37:20 5c3c966382ef: Already exists 02:37:20 4f4fb700ef54: Already exists 02:37:20 d9c7d2e4e75e: Pulling fs layer 02:37:20 9c3e1370e548: Pulling fs layer 02:37:20 d9c7d2e4e75e: Verifying Checksum 02:37:20 d9c7d2e4e75e: Download complete 02:37:22 9c3e1370e548: Verifying Checksum 02:37:22 9c3e1370e548: Download complete 02:37:22 d9c7d2e4e75e: Pull complete 02:37:25 9c3e1370e548: Pull complete 02:37:25 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:37:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:37:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:25 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:37:25 $ 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 02:37:31 $ docker top b7963f714663db9a772497ab54bc9a77e5c3809bd1750dcec8db502753c87e4f -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 02:37:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:37:31 + set -o pipefail 02:37:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:37:40 02:37:40 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:37:40 02:37:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/9c9d043f-50f8-4fe2-8edb-c17b93135c08 02:37:40 02:37:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:37:40 02:37:40 02:37:40 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:37:40 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:37:40 $ docker stop --time=1 b7963f714663db9a772497ab54bc9a77e5c3809bd1750dcec8db502753c87e4f 02:37:46 $ docker rm -f --volumes b7963f714663db9a772497ab54bc9a77e5c3809bd1750dcec8db502753c87e4f [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 02:37:47 + git log --format=format:%s -1 a2016d423b1c70de9c1bd91a5949c98d975b79e0 [Pipeline] sh 02:37:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:37:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:48 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:37:48 $ 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 02:37:49 $ docker top a350e2f59b3b583a373acee64e95da7ac58daf9d09bf396674cceeaa345e4e6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:49 [ssh-agent] Looking for ssh-agent implementation... 02:37:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:49 $ docker exec a350e2f59b3b583a373acee64e95da7ac58daf9d09bf396674cceeaa345e4e6c ssh-agent 02:37:49 SSH_AUTH_SOCK=/tmp/ssh-qXMU3VvQtXqt/agent.32 02:37:49 SSH_AGENT_PID=38 02:37:49 Running ssh-add (command line suppressed) 02:37:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17895369390453779566.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17895369390453779566.key) 02:37:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:49 + git semver tag 02:37:50 2024-10-18 02:37:50,064 [run_tag] DEBUG tag force:False 02:37:50 2024-10-18 02:37:50,064 [check_head_tag] DEBUG check head tag 02:37:50 2024-10-18 02:37:50,065 [execute] INFO git cat-file --batch-check 02:37:50 2024-10-18 02:37:50,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:37:50 2024-10-18 02:37:50,070 [execute] INFO git cat-file --batch 02:37:50 2024-10-18 02:37:50,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:37:50 2024-10-18 02:37:50,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:37:50 2024-10-18 02:37:50,088 [execute] INFO git tag -a v3.2.0-dev.23 -m v3.2.0-dev.23 02:37:50 2024-10-18 02:37:50,088 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.23', '-m', 'v3.2.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:37:50 2024-10-18 02:37:50,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:37:50 3.2.0-dev.23 [Pipeline] } 02:37:50 $ docker exec --env ******** --env ******** a350e2f59b3b583a373acee64e95da7ac58daf9d09bf396674cceeaa345e4e6c ssh-agent -k 02:37:50 unset SSH_AUTH_SOCK; 02:37:50 unset SSH_AGENT_PID; 02:37:50 echo Agent pid 38 killed; 02:37:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:50 + git semver [Pipeline] } 02:37:50 $ docker stop --time=1 a350e2f59b3b583a373acee64e95da7ac58daf9d09bf396674cceeaa345e4e6c 02:37:52 $ docker rm -f --volumes a350e2f59b3b583a373acee64e95da7ac58daf9d09bf396674cceeaa345e4e6c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:52 02:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:52 0.23.1-centos7: Pulling from edgex-lftools 02:37:52 ab5ef0e58194: Pulling fs layer 02:37:52 9712f1f96733: Pulling fs layer 02:37:52 63f879dbbcfc: Pulling fs layer 02:37:52 0d9ebad4ef96: Pulling fs layer 02:37:52 e9a5061849ea: Pulling fs layer 02:37:52 d747dcd14b5f: Pulling fs layer 02:37:52 2de7ff778b66: Pulling fs layer 02:37:52 d747dcd14b5f: Waiting 02:37:52 2de7ff778b66: Waiting 02:37:52 0d9ebad4ef96: Waiting 02:37:52 9712f1f96733: Verifying Checksum 02:37:52 9712f1f96733: Download complete 02:37:53 63f879dbbcfc: Verifying Checksum 02:37:53 63f879dbbcfc: Download complete 02:37:53 e9a5061849ea: Verifying Checksum 02:37:53 e9a5061849ea: Download complete 02:37:53 d747dcd14b5f: Download complete 02:37:53 0d9ebad4ef96: Verifying Checksum 02:37:53 0d9ebad4ef96: Download complete 02:37:53 ab5ef0e58194: Verifying Checksum 02:37:53 ab5ef0e58194: Download complete 02:37:53 2de7ff778b66: Verifying Checksum 02:37:53 2de7ff778b66: Download complete 02:37:56 ab5ef0e58194: Pull complete 02:37:56 9712f1f96733: Pull complete 02:37:56 63f879dbbcfc: Pull complete 02:38:00 0d9ebad4ef96: Pull complete 02:38:00 e9a5061849ea: Pull complete 02:38:00 d747dcd14b5f: Pull complete 02:38:01 2de7ff778b66: Pull complete 02:38:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:38:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:38:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:01 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:38:01 $ 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 02:38:11 $ docker top 729921e33be7b08de71a54025c650660a1481b712dd654779416b898c0614ecb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:38:11 provisioning config files... 02:38:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5630050490595702534tmp 02:38:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config714740519460654957tmp 02:38:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8449556475320922570tmp [Pipeline] { [Pipeline] echo 02:38:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:38:11 ---> sigul-configuration.sh 02:38:11 gpg: directory `/root/.gnupg' created 02:38:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:38:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:38:11 gpg: keyring `/root/.gnupg/secring.gpg' created 02:38:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:38:11 gpg: CAST5 encrypted data 02:38:11 gpg: encrypted with 1 passphrase 02:38:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:38:12 + mkdir /home/jenkins 02:38:12 + mkdir /home/jenkins/sigul [Pipeline] sh 02:38:12 + 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 02:38:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:38:12 ---> sigul-install.sh 02:38:12 Sigul already installed; skipping installation. [Pipeline] sh 02:38:13 + git tag --list 02:38:13 0.7.1 02:38:13 v1.0.0 02:38:13 v1.1.0 02:38:13 v1.1.1 02:38:13 v1.2.2 02:38:13 v1.3.0 02:38:13 v1.3.1 02:38:13 v2.0.0 02:38:13 v2.1.0 02:38:13 v2.1.1 02:38:13 v2.2.0 02:38:13 v2.3.0 02:38:13 v3.0 02:38:13 v3.0.0 02:38:13 v3.1 02:38:13 v3.1.0 02:38:13 v3.1.0-dev.1 02:38:13 v3.1.0-dev.10 02:38:13 v3.1.0-dev.11 02:38:13 v3.1.0-dev.12 02:38:13 v3.1.0-dev.13 02:38:13 v3.1.0-dev.14 02:38:13 v3.1.0-dev.15 02:38:13 v3.1.0-dev.16 02:38:13 v3.1.0-dev.17 02:38:13 v3.1.0-dev.18 02:38:13 v3.1.0-dev.19 02:38:13 v3.1.0-dev.2 02:38:13 v3.1.0-dev.20 02:38:13 v3.1.0-dev.21 02:38:13 v3.1.0-dev.22 02:38:13 v3.1.0-dev.23 02:38:13 v3.1.0-dev.24 02:38:13 v3.1.0-dev.25 02:38:13 v3.1.0-dev.3 02:38:13 v3.1.0-dev.4 02:38:13 v3.1.0-dev.5 02:38:13 v3.1.0-dev.6 02:38:13 v3.1.0-dev.7 02:38:13 v3.1.0-dev.8 02:38:13 v3.1.0-dev.9 02:38:13 v3.1.1 02:38:13 v3.2.0-dev.1 02:38:13 v3.2.0-dev.10 02:38:13 v3.2.0-dev.11 02:38:13 v3.2.0-dev.12 02:38:13 v3.2.0-dev.13 02:38:13 v3.2.0-dev.14 02:38:13 v3.2.0-dev.15 02:38:13 v3.2.0-dev.16 02:38:13 v3.2.0-dev.17 02:38:13 v3.2.0-dev.18 02:38:13 v3.2.0-dev.19 02:38:13 v3.2.0-dev.2 02:38:13 v3.2.0-dev.20 02:38:13 v3.2.0-dev.21 02:38:13 v3.2.0-dev.22 02:38:13 v3.2.0-dev.23 02:38:13 v3.2.0-dev.3 02:38:13 v3.2.0-dev.4 02:38:13 v3.2.0-dev.5 02:38:13 v3.2.0-dev.6 02:38:13 v3.2.0-dev.7 02:38:13 v3.2.0-dev.8 02:38:13 v3.2.0-dev.9 [Pipeline] sh 02:38:13 + lftools sign git-tag v3.2.0-dev.23 02:38:13 Signing Git tag with Sigul... 02:38:13 Signing v3.2.0-dev.23 [Pipeline] echo 02:38:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:38:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:38:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:38:14 $ docker stop --time=1 729921e33be7b08de71a54025c650660a1481b712dd654779416b898c0614ecb 02:38:16 $ docker rm -f --volumes 729921e33be7b08de71a54025c650660a1481b712dd654779416b898c0614ecb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:38:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:17 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:38:17 $ 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 02:38:18 $ docker top 97734e3555ae3f187ffa9b4fedd1ec87e6715cb9b1dd3d6587f049811924ad1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:18 [ssh-agent] Looking for ssh-agent implementation... 02:38:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:18 $ docker exec 97734e3555ae3f187ffa9b4fedd1ec87e6715cb9b1dd3d6587f049811924ad1f ssh-agent 02:38:18 SSH_AUTH_SOCK=/tmp/ssh-D26G2E0gwf9o/agent.32 02:38:18 SSH_AGENT_PID=38 02:38:18 Running ssh-add (command line suppressed) 02:38:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16800828760331443845.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16800828760331443845.key) 02:38:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:19 + git semver bump pre 02:38:19 2024-10-18 02:38:19,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:19 2024-10-18 02:38:19,341 [bump_version] DEBUG bumping version:3.2.0-dev.23 on axis:pre with prefix:dev 02:38:19 2024-10-18 02:38:19,341 [bump_version] DEBUG bumped version:3.2.0-dev.24 02:38:19 2024-10-18 02:38:19,341 [write_version] DEBUG write version:3.2.0-dev.24 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:38:19 2024-10-18 02:38:19,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:19 2024-10-18 02:38:19,341 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:19 2024-10-18 02:38:19,343 [execute] INFO git cat-file --batch-check 02:38:19 2024-10-18 02:38:19,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:38:19 2024-10-18 02:38:19,348 [execute] INFO git cat-file --batch 02:38:19 2024-10-18 02:38:19,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:38:19 2024-10-18 02:38:19,353 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:19 3.2.0-dev.24 [Pipeline] } 02:38:19 $ docker exec --env ******** --env ******** 97734e3555ae3f187ffa9b4fedd1ec87e6715cb9b1dd3d6587f049811924ad1f ssh-agent -k 02:38:19 unset SSH_AUTH_SOCK; 02:38:19 unset SSH_AGENT_PID; 02:38:19 echo Agent pid 38 killed; 02:38:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:19 + git semver [Pipeline] } 02:38:20 $ docker stop --time=1 97734e3555ae3f187ffa9b4fedd1ec87e6715cb9b1dd3d6587f049811924ad1f 02:38:21 $ docker rm -f --volumes 97734e3555ae3f187ffa9b4fedd1ec87e6715cb9b1dd3d6587f049811924ad1f [Pipeline] // withDockerContainer [Pipeline] sh 02:38:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:22 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:38:22 $ 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 02:38:22 $ docker top 1754e1e552c621474810a9328c10906d0c1e7ac537a0a98a37df55109d3747dc -eo pid,comm 02:38:22 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). 02:38:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:22 [ssh-agent] Looking for ssh-agent implementation... 02:38:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:22 $ docker exec 1754e1e552c621474810a9328c10906d0c1e7ac537a0a98a37df55109d3747dc ssh-agent 02:38:22 SSH_AUTH_SOCK=/tmp/ssh-JzUPmfUAyQH5/agent.33 02:38:22 SSH_AGENT_PID=39 02:38:22 Running ssh-add (command line suppressed) 02:38:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14799723458188653672.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14799723458188653672.key) 02:38:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:23 + git semver push 02:38:23 2024-10-18 02:38:23,455 [run_push] DEBUG push 02:38:23 2024-10-18 02:38:23,456 [execute] INFO git cat-file --batch-check 02:38:23 2024-10-18 02:38:23,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:38:23 2024-10-18 02:38:23,460 [execute] INFO git rev-list e004440692373f1471fd98c85293c57b0bf736cf -- 02:38:23 2024-10-18 02:38:23,461 [execute] DEBUG Popen(['git', 'rev-list', 'e004440692373f1471fd98c85293c57b0bf736cf', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:38:23 2024-10-18 02:38:23,467 [execute] INFO git fetch -v origin 02:38:23 2024-10-18 02:38:23,468 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:38:24 2024-10-18 02:38:23,924 [run_push] DEBUG no remote changes detected 02:38:24 2024-10-18 02:38:23,924 [execute] INFO git push origin semver 02:38:24 2024-10-18 02:38:23,925 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:38:24 2024-10-18 02:38:24,564 [run_push] DEBUG push all version tags 02:38:24 2024-10-18 02:38:24,564 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:38:24 2024-10-18 02:38:24,565 [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) 02:38:25 2024-10-18 02:38:25,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:38:25 3.2.0-dev.24 [Pipeline] } 02:38:25 $ docker exec --env ******** --env ******** 1754e1e552c621474810a9328c10906d0c1e7ac537a0a98a37df55109d3747dc ssh-agent -k 02:38:25 unset SSH_AUTH_SOCK; 02:38:25 unset SSH_AGENT_PID; 02:38:25 echo Agent pid 39 killed; 02:38:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:25 + git semver [Pipeline] } 02:38:25 $ docker stop --time=1 1754e1e552c621474810a9328c10906d0c1e7ac537a0a98a37df55109d3747dc 02:38:27 $ docker rm -f --volumes 1754e1e552c621474810a9328c10906d0c1e7ac537a0a98a37df55109d3747dc [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 02:38:27 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:38:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:38:27 total 16 02:38:27 drwxr-xr-x 3 root root 4096 Oct 18 02:02 . 02:38:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 02:38 .. 02:38:27 drwxr-xr-x 2 root root 4096 Oct 18 02:02 cost 02:38:27 -rw-r--r-- 1 root root 86 Oct 18 02:02 cost.csv 02:38:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:38:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:38:27 total 16 02:38:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 02:02 . 02:38:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 02:38 .. 02:38:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 02:02 cost 02:38:27 -rw-r--r-- 1 jenkins jenkins 86 Oct 18 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:38:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:38:29 ---> package-listing.sh 02:38:29 ++ facter osfamily 02:38:29 ++ tr '[:upper:]' '[:lower:]' 02:38:29 + OS_FAMILY=debian 02:38:29 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:38:29 + START_PACKAGES=/tmp/packages_start.txt 02:38:29 + END_PACKAGES=/tmp/packages_end.txt 02:38:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:38:29 + PACKAGES=/tmp/packages_start.txt 02:38:29 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:38:29 + PACKAGES=/tmp/packages_end.txt 02:38:29 + case "${OS_FAMILY}" in 02:38:29 + dpkg -l 02:38:29 + grep '^ii' 02:38:29 + '[' -f /tmp/packages_start.txt ']' 02:38:29 + '[' -f /tmp/packages_end.txt ']' 02:38:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:38:29 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:38:29 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:38:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:38:29 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 02:38:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:38:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:30 prd-ubuntu20.04-docker-8c-8g-23039 does not seem to be running inside a container 02:38:30 $ 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 02:38:30 $ docker top 3cd1666358e5c788a1c6e4ec2837dd8e97a2d081dd0ff11a49414edb79d98c63 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:30 + touch /tmp/pre-build-complete [Pipeline] sh 02:38:31 + mkdir -p /var/log/sysstat [Pipeline] sh 02:38:31 + ls /var/log/sa-host 02:38:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:38:31 provisioning config files... 02:38:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config500603443044216122tmp [Pipeline] { [Pipeline] echo 02:38:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:38:31 ---> create-netrc.sh [Pipeline] } 02:38:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:38:32 ---> python-tools-install.sh [Pipeline] echo 02:38:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:38:32 ---> sudo-logs.sh 02:38:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:38:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:38:32 ---> job-cost.sh 02:38:32 lf-activate-venv: SKIPPING 02:38:32 DEBUG: total: 0.2199999988079071 02:38:32 INFO: Retrieving Stack Cost... 02:38:33 INFO: Retrieving Pricing Info for: v3-standard-8 02:38:33 INFO: Archiving Costs [Pipeline] echo 02:38:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:38:34 ---> logs-deploy.sh 02:38:34 lf-activate-venv: SKIPPING 02:38:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/178 02:38:34 INFO: archiving workspace using pattern(s): 02:38:34 Archives upload complete. 02:38:34 INFO: archiving logs to Nexus