Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84743cd4846c2a040d455589816366e8bf795dd2 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-ssh7310728822529901638.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-ssh15681131021086898472.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-ssh13949799985768575126.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-ssh7152455308098919733.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-ssh2301539679286703805.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26240’ Running on prd-ubuntu20.04-docker-8c-8g-26246 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 84743cd4846c2a040d455589816366e8bf795dd2 (main) Commit message: "Merge pull request #710 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.6" > 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 84743cd4846c2a040d455589816366e8bf795dd2 # timeout=10 > git rev-list --no-walk 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:54:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:20 ========================================================= 05:54:20 EdgeX Global Pipelines Version Info 05:54:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:54:21 ------------------- 05:54:21 stable info: 05:54:21 ------------------- 05:54:21 Commited By: Ginny Guan ginny@iotechsys.com 05:54:21 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:54:21 Message: update stable to v1.0.265 05:54:21 ------------------- 05:54:21 experimental info: 05:54:21 ------------------- 05:54:21 Commited By: Cherry Wang cherry@iotechsys.com 05:54:21 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:54:21 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84743cd [Pipeline] echo 05:54:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:22 provisioning config files... 05:54:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14694370377761775727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:22 ---> ****-login.sh 05:54:22 nexus3.edgexfoundry.org:10001 05:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:23 Configure a credential helper to remove this warning. See 05:54:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:23 05:54:23 Login Succeeded 05:54:23 nexus3.edgexfoundry.org:10002 05:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:23 Configure a credential helper to remove this warning. See 05:54:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:23 05:54:23 Login Succeeded 05:54:23 nexus3.edgexfoundry.org:10003 05:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:23 Configure a credential helper to remove this warning. See 05:54:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:23 05:54:23 Login Succeeded 05:54:23 nexus3.edgexfoundry.org:10004 05:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:23 Configure a credential helper to remove this warning. See 05:54:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:23 05:54:23 Login Succeeded 05:54:23 ****.io 05:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:23 Configure a credential helper to remove this warning. See 05:54:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:23 05:54:23 Login Succeeded 05:54:23 ---> ****-login.sh ends [Pipeline] } 05:54:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:54:24 + git rev-list -1 --merges 84743cd4846c2a040d455589816366e8bf795dd2~1..84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] echo 05:54:24 -----------> git rev-list -1 --merges 84743cd4846c2a040d455589816366e8bf795dd2~1..84743cd4846c2a040d455589816366e8bf795dd2 84743cd4846c2a040d455589816366e8bf795dd2 05:54:24 84743cd4846c2a040d455589816366e8bf795dd2 [false] [Pipeline] sh 05:54:24 + git log --format=format:%s -1 84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] echo 05:54:25 ========================================================= 05:54:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:54:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:25 + git log --format=format:%s -1 84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] echo 05:54:25 [semverPrep] GIT_COMMIT: 84743cd4846c2a040d455589816366e8bf795dd2, Commit Message: Merge pull request #710 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.6 [Pipeline] echo 05:54:25 [semverPrep] This is not a build commit. [Pipeline] sh 05:54:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:54:26 + grep -v github /etc/ssh/ssh_known_hosts 05:54:26 + [ -e /tmp/ssh_known_hosts ] 05:54:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:54:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:54:26 + sudo tee -a /etc/ssh/ssh_known_hosts 05:54:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:26 05:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:26 0.1.4: Pulling from edgex-devops/py-git-semver 05:54:26 b85a868b505f: Pulling fs layer 05:54:26 e2be974225ed: Pulling fs layer 05:54:26 339a4e72a1f5: Pulling fs layer 05:54:26 988bab9f4d93: Pulling fs layer 05:54:26 1469e6f7b9e6: Pulling fs layer 05:54:26 eaf3925da568: Pulling fs layer 05:54:26 bab4dde63d76: Pulling fs layer 05:54:26 bde34c3a00c8: Pulling fs layer 05:54:26 b352a97aabf1: Pulling fs layer 05:54:26 4872d77fe225: Pulling fs layer 05:54:26 5851b861e8e6: Pulling fs layer 05:54:26 988bab9f4d93: Waiting 05:54:26 5851b861e8e6: Waiting 05:54:26 4872d77fe225: Waiting 05:54:26 b352a97aabf1: Waiting 05:54:26 1469e6f7b9e6: Waiting 05:54:26 bab4dde63d76: Waiting 05:54:26 eaf3925da568: Waiting 05:54:26 e2be974225ed: Verifying Checksum 05:54:26 e2be974225ed: Download complete 05:54:26 988bab9f4d93: Verifying Checksum 05:54:26 988bab9f4d93: Download complete 05:54:27 1469e6f7b9e6: Verifying Checksum 05:54:27 1469e6f7b9e6: Download complete 05:54:27 eaf3925da568: Download complete 05:54:27 339a4e72a1f5: Verifying Checksum 05:54:27 339a4e72a1f5: Download complete 05:54:27 bde34c3a00c8: Verifying Checksum 05:54:27 bde34c3a00c8: Download complete 05:54:27 b352a97aabf1: Download complete 05:54:27 4872d77fe225: Download complete 05:54:27 5851b861e8e6: Verifying Checksum 05:54:27 5851b861e8e6: Download complete 05:54:27 b85a868b505f: Download complete 05:54:27 bab4dde63d76: Verifying Checksum 05:54:27 bab4dde63d76: Download complete 05:54:28 b85a868b505f: Pull complete 05:54:28 e2be974225ed: Pull complete 05:54:29 339a4e72a1f5: Pull complete 05:54:29 988bab9f4d93: Pull complete 05:54:29 1469e6f7b9e6: Pull complete 05:54:29 eaf3925da568: Pull complete 05:54:31 bab4dde63d76: Pull complete 05:54:31 bde34c3a00c8: Pull complete 05:54:31 b352a97aabf1: Pull complete 05:54:31 4872d77fe225: Pull complete 05:54:32 5851b861e8e6: Pull complete 05:54:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:54:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:32 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 05:54:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:54:34 $ docker top 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 -eo pid,comm 05:54:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:54:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:35 [ssh-agent] Looking for ssh-agent implementation... 05:54:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:35 $ docker exec 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 ssh-agent 05:54:35 SSH_AUTH_SOCK=/tmp/ssh-9srIDmPEnXiT/agent.32 05:54:35 SSH_AGENT_PID=38 05:54:35 Running ssh-add (command line suppressed) 05:54:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1768150200153089754.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1768150200153089754.key) 05:54:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:35 + git tag --points-at HEAD [Pipeline] } 05:54:35 $ docker exec --env ******** --env ******** 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 ssh-agent -k 05:54:35 unset SSH_AUTH_SOCK; 05:54:35 unset SSH_AGENT_PID; 05:54:35 echo Agent pid 38 killed; 05:54:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:35 [ssh-agent] Looking for ssh-agent implementation... 05:54:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:36 $ docker exec 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 ssh-agent 05:54:36 SSH_AUTH_SOCK=/tmp/ssh-ghcOVTIge7P7/agent.71 05:54:36 SSH_AGENT_PID=78 05:54:36 Running ssh-add (command line suppressed) 05:54:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12001542687862449367.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12001542687862449367.key) 05:54:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:36 + git semver init 05:54:36 2024-11-12 05:54:36,757 [run_init] DEBUG init version:0.0.0 force:False 05:54:36 2024-11-12 05:54:36,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:54:36 2024-11-12 05:54:36,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:54:36 2024-11-12 05:54:36,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 05:54:38 2024-11-12 05:54:38,498 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 05:54:38 2024-11-12 05:54:38,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 05:54:38 2024-11-12 05:54:38,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:54:38 2024-11-12 05:54:38,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:54:38 4.0.0-dev.4 [Pipeline] } 05:54:38 $ docker exec --env ******** --env ******** 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 ssh-agent -k 05:54:38 unset SSH_AUTH_SOCK; 05:54:38 unset SSH_AGENT_PID; 05:54:38 echo Agent pid 78 killed; 05:54:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:39 + git semver [Pipeline] } 05:54:39 $ docker stop --time=1 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 05:54:40 $ docker rm -f --volumes 03afa85b1275654dd8ce8bd079b77d9aa8bd2906317c7cfb47ff3c8a8a74d558 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:54:41 Stashed 1 file(s) [Pipeline] echo 05:54:41 [edgeXSemver]: initialized semver on version 4.0.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:41 provisioning config files... 05:54:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13927996089867766651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:42 ---> ****-login.sh 05:54:42 nexus3.edgexfoundry.org:10001 05:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:42 Configure a credential helper to remove this warning. See 05:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:42 05:54:42 Login Succeeded 05:54:42 nexus3.edgexfoundry.org:10002 05:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:42 Configure a credential helper to remove this warning. See 05:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:42 05:54:42 Login Succeeded 05:54:42 nexus3.edgexfoundry.org:10003 05:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:42 Configure a credential helper to remove this warning. See 05:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:42 05:54:42 Login Succeeded 05:54:42 nexus3.edgexfoundry.org:10004 05:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:42 Configure a credential helper to remove this warning. See 05:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:42 05:54:42 Login Succeeded 05:54:42 ****.io 05:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:42 Configure a credential helper to remove this warning. See 05:54:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:42 05:54:42 Login Succeeded 05:54:42 ---> ****-login.sh ends [Pipeline] } 05:54:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:42 ========================================================= 05:54:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:54:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:54:43 Sending build context to Docker daemon 20.96MB 05:54:43 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:54:43 Step 2/12 : FROM ${BASE} AS builder 05:54:43 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:54:43 43c4264eed91: Pulling fs layer 05:54:43 4cc291be95ef: Pulling fs layer 05:54:43 2ac1f1163629: Pulling fs layer 05:54:43 5c3c966382ef: Pulling fs layer 05:54:43 4f4fb700ef54: Pulling fs layer 05:54:43 5d5c8e513c77: Pulling fs layer 05:54:43 9f66e0745190: Pulling fs layer 05:54:43 f49a43e4bbc0: Pulling fs layer 05:54:43 561ebcabdf7f: Pulling fs layer 05:54:43 9f66e0745190: Waiting 05:54:43 4f4fb700ef54: Waiting 05:54:43 f49a43e4bbc0: Waiting 05:54:43 5d5c8e513c77: Waiting 05:54:43 561ebcabdf7f: Waiting 05:54:43 4cc291be95ef: Verifying Checksum 05:54:43 4cc291be95ef: Download complete 05:54:43 5c3c966382ef: Verifying Checksum 05:54:43 5c3c966382ef: Download complete 05:54:43 4f4fb700ef54: Verifying Checksum 05:54:43 4f4fb700ef54: Download complete 05:54:43 5d5c8e513c77: Verifying Checksum 05:54:43 5d5c8e513c77: Download complete 05:54:43 43c4264eed91: Verifying Checksum 05:54:43 43c4264eed91: Download complete 05:54:43 9f66e0745190: Verifying Checksum 05:54:43 9f66e0745190: Download complete 05:54:43 43c4264eed91: Pull complete 05:54:43 561ebcabdf7f: Verifying Checksum 05:54:43 561ebcabdf7f: Download complete 05:54:43 4cc291be95ef: Pull complete 05:54:43 2ac1f1163629: Verifying Checksum 05:54:43 2ac1f1163629: Download complete 05:54:44 f49a43e4bbc0: Download complete 05:54:47 2ac1f1163629: Pull complete 05:54:47 5c3c966382ef: Pull complete 05:54:47 4f4fb700ef54: Pull complete 05:54:47 5d5c8e513c77: Pull complete 05:54:47 9f66e0745190: Pull complete 05:54:50 f49a43e4bbc0: Pull complete 05:54:50 561ebcabdf7f: Pull complete 05:54:50 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:54:50 ---> 3a752c3f9dda 05:54:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:54:54 ---> Running in e5e5fe3a7857 05:54:54 Removing intermediate container e5e5fe3a7857 05:54:54 ---> 156f3625298e 05:54:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:54:54 ---> Running in ea3fc7ba2b77 05:54:54 Removing intermediate container ea3fc7ba2b77 05:54:54 ---> 17a16242b581 05:54:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:54:54 ---> Running in 6d4ef997d61e 05:54:54 Removing intermediate container 6d4ef997d61e 05:54:54 ---> e0adf2691a36 05:54:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:54:54 ---> Running in af9071c7947a 05:54:54 Removing intermediate container af9071c7947a 05:54:54 ---> 1d294092b23c 05:54:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:54:54 ---> Running in 4b611ea19dcd 05:54:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:54:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:54:55 (1/4) Installing openssh-keygen (9.7_p1-r4) 05:54:55 (2/4) Installing libedit (20240517.3.1-r0) 05:54:55 (3/4) Installing openssh-client-common (9.7_p1-r4) 05:54:55 (4/4) Installing openssh-client-default (9.7_p1-r4) 05:54:55 Executing busybox-1.36.1-r29.trigger 05:54:55 OK: 250 MiB in 58 packages 05:54:56 Removing intermediate container 4b611ea19dcd 05:54:56 ---> c046584f5d55 05:54:56 Step 8/12 : WORKDIR /device-mqtt-go 05:54:56 ---> Running in 7f074d8ac9e2 05:54:56 Removing intermediate container 7f074d8ac9e2 05:54:56 ---> 27b1dacaa89d 05:54:56 Step 9/12 : COPY go.mod vendor* ./ 05:54:56 ---> fee442ee3509 05:54:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:56 ---> Running in d238ebed66a6 05:54:56 Still waiting to schedule task 05:54:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26242’ is offline 05:55:42 Removing intermediate container d238ebed66a6 05:55:42 ---> 425c61a642cd 05:55:42 Step 11/12 : COPY . . 05:55:42 ---> b011dfc9ee37 05:55:42 Step 12/12 : RUN $MAKE 05:55:42 ---> Running in f062224d9cbd 05:55:42 noop 05:55:43 Removing intermediate container f062224d9cbd 05:55:43 ---> 247d226dba74 05:55:43 Successfully built 247d226dba74 05:55:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:43 + docker inspect -f . ci-base-image-x86_64 05:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:43 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 05:55:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:44 $ docker top 99780d11296acbd8b96ab25497a1d47abcd369887156c7c3f397ce0c611907d1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:44 + go version 05:55:44 go version go1.23.2 linux/amd64 [Pipeline] } 05:55:44 $ docker stop --time=1 99780d11296acbd8b96ab25497a1d47abcd369887156c7c3f397ce0c611907d1 05:55:45 $ docker rm -f --volumes 99780d11296acbd8b96ab25497a1d47abcd369887156c7c3f397ce0c611907d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:54 + docker inspect -f . ci-base-image-x86_64 05:55:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:54 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 05:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:55 $ docker top 9b6f878c79d7761850851b2eac693fe165f1a8f61ede38b2227c38ff21c85353 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 05:55:55 + make test 05:55:55 go test ./... -coverprofile=coverage.out ./... 05:55:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:56:19 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 05:56:19 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 05:56:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 05:56:27 go vet ./... 05:56:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:56:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:56:34 ./bin/test-attribution-txt.sh [Pipeline] echo 05:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:56:34 $ docker stop --time=1 9b6f878c79d7761850851b2eac693fe165f1a8f61ede38b2227c38ff21c85353 05:56:38 $ docker rm -f --volumes 9b6f878c79d7761850851b2eac693fe165f1a8f61ede38b2227c38ff21c85353 [Pipeline] // withDockerContainer [Pipeline] sh 05:56:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:56:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:56:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:40 + ls -al . 05:56:40 total 252 05:56:40 drwxrwxr-x 9 jenkins jenkins 4096 Nov 12 05:55 . 05:56:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 05:54 .. 05:56:40 -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 05:54 .dockerignore 05:56:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 05:56 .git 05:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:54 .github 05:56:40 -rw-rw-r-- 1 jenkins jenkins 264 Nov 12 05:54 .gitignore 05:56:40 -rw-rw-r-- 1 jenkins jenkins 41 Nov 12 05:54 .golangci.yml 05:56:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 05:54 .semver 05:56:40 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 12 05:54 Attribution.txt 05:56:40 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 12 05:54 CHANGELOG.md 05:56:40 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 12 05:54 Dockerfile 05:56:40 -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 05:54 GOVERNANCE.md 05:56:40 -rw-rw-r-- 1 jenkins jenkins 657 Nov 12 05:54 Jenkinsfile 05:56:40 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 05:54 LICENSE 05:56:40 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 12 05:54 Makefile 05:56:40 -rw-rw-r-- 1 jenkins jenkins 620 Nov 12 05:54 OWNERS.md 05:56:40 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 12 05:54 README.md 05:56:40 -rw-rw-r-- 1 jenkins jenkins 11 Nov 12 05:54 VERSION 05:56:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:54 bin 05:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:54 cmd 05:56:40 -rw-r--r-- 1 jenkins jenkins 21039 Nov 12 05:56 coverage.out 05:56:40 -rw-rw-r-- 1 jenkins jenkins 6321 Nov 12 05:54 go.mod 05:56:40 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 12 05:54 go.sum 05:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:54 internal 05:56:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:54 mock 05:56:40 -rw-rw-r-- 1 jenkins jenkins 227 Nov 12 05:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:40 + 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=84743cd4846c2a040d455589816366e8bf795dd2 --label arch=amd64 --label version=4.0.0-dev.4 . 05:56:40 Sending build context to Docker daemon 20.99MB 05:56:40 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 05:56:40 Step 2/25 : FROM ${BASE} AS builder 05:56:40 ---> 247d226dba74 05:56:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:56:40 ---> Running in 9488535a8ef4 05:56:41 Removing intermediate container 9488535a8ef4 05:56:41 ---> e7901c0ee3d5 05:56:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:56:41 ---> Running in 66064c8612f4 05:56:41 Removing intermediate container 66064c8612f4 05:56:41 ---> 5ddfc09b5a6f 05:56:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:56:41 ---> Running in f02dcdb5faef 05:56:41 Removing intermediate container f02dcdb5faef 05:56:41 ---> 813df6cff769 05:56:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:56:41 ---> Running in f9b6648b0722 05:56:41 Removing intermediate container f9b6648b0722 05:56:41 ---> cdd5674ac69a 05:56:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:56:41 ---> Running in ca6aa6c6a003 05:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:56:42 OK: 250 MiB in 58 packages 05:56:42 Removing intermediate container ca6aa6c6a003 05:56:42 ---> 59937ab9ab23 05:56:42 Step 8/25 : WORKDIR /device-mqtt-go 05:56:42 ---> Running in 78600bf943da 05:56:42 Removing intermediate container 78600bf943da 05:56:42 ---> 9c4127dce689 05:56:42 Step 9/25 : COPY go.mod vendor* ./ 05:56:42 ---> 0eba6819768c 05:56:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:56:42 ---> Running in 1de24b38db39 05:56:43 Removing intermediate container 1de24b38db39 05:56:43 ---> 375a3b8de600 05:56:43 Step 11/25 : COPY . . 05:56:44 ---> 062fb820e00d 05:56:44 Step 12/25 : RUN $MAKE 05:56:44 ---> Running in f94bd1d86e44 05:56:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 05:57:16 Removing intermediate container f94bd1d86e44 05:57:16 ---> 7387c1fdf276 05:57:16 Step 13/25 : FROM alpine:3.20 05:57:16 3.20: Pulling from library/alpine 05:57:16 da9db072f522: Pulling fs layer 05:57:16 da9db072f522: Verifying Checksum 05:57:16 da9db072f522: Download complete 05:57:17 da9db072f522: Pull complete 05:57:17 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:57:17 Status: Downloaded newer image for alpine:3.20 05:57:17 ---> 63b790fccc90 05:57:17 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 05:57:17 ---> Running in 1b2f470f9d57 05:57:17 Removing intermediate container 1b2f470f9d57 05:57:17 ---> f79c467f97b5 05:57:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:57:17 ---> Running in e8359ed9d79b 05:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:57:17 (1/1) Installing dumb-init (1.2.5-r3) 05:57:17 Executing busybox-1.36.1-r29.trigger 05:57:17 OK: 8 MiB in 15 packages 05:57:18 Removing intermediate container e8359ed9d79b 05:57:18 ---> d55275849408 05:57:18 Step 16/25 : RUN apk --no-cache upgrade 05:57:18 ---> Running in 94a760f7c063 05:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:57:18 Upgrading critical system libraries and apk-tools: 05:57:18 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:57:18 Executing busybox-1.36.1-r29.trigger 05:57:18 Continuing the upgrade transaction with new apk-tools: 05:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:57:19 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:57:19 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:57:19 OK: 8 MiB in 15 packages 05:57:20 Removing intermediate container 94a760f7c063 05:57:20 ---> 3906f2907130 05:57:20 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 05:57:21 ---> f6776f819721 05:57:21 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 05:57:21 ---> 425126dd3285 05:57:21 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:57:21 ---> 2f8b11175195 05:57:21 Step 20/25 : EXPOSE 59982 05:57:21 ---> Running in 99e980df1fa4 05:57:21 Removing intermediate container 99e980df1fa4 05:57:21 ---> 018f82a78dd0 05:57:21 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 05:57:21 ---> Running in bb771748eb19 05:57:21 Removing intermediate container bb771748eb19 05:57:21 ---> e7646e5ce489 05:57:21 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:57:21 ---> Running in 07bfb25eda3d 05:57:21 Removing intermediate container 07bfb25eda3d 05:57:21 ---> 4b5b68bbd24e 05:57:21 Step 23/25 : LABEL arch=amd64 05:57:21 ---> Running in df99036521dc 05:57:21 Removing intermediate container df99036521dc 05:57:21 ---> 923dba11ead4 05:57:21 Step 24/25 : LABEL git_sha=84743cd4846c2a040d455589816366e8bf795dd2 05:57:21 ---> Running in 61154334078c 05:57:21 Removing intermediate container 61154334078c 05:57:21 ---> a88a036cb39f 05:57:21 Step 25/25 : LABEL version=4.0.0-dev.4 05:57:21 ---> Running in b2778bfa7f96 05:57:21 Removing intermediate container b2778bfa7f96 05:57:21 ---> 5430137e4ebd 05:57:21 [Warning] One or more build-args [ARCH] were not consumed 05:57:21 Successfully built 5430137e4ebd 05:57:21 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:21 provisioning config files... 05:57:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11196457510127353666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:22 ---> ****-login.sh 05:57:22 nexus3.edgexfoundry.org:10001 05:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:22 Configure a credential helper to remove this warning. See 05:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:22 05:57:22 Login Succeeded 05:57:22 nexus3.edgexfoundry.org:10002 05:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:22 Configure a credential helper to remove this warning. See 05:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:22 05:57:22 Login Succeeded 05:57:22 nexus3.edgexfoundry.org:10003 05:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:22 Configure a credential helper to remove this warning. See 05:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:22 05:57:22 Login Succeeded 05:57:22 nexus3.edgexfoundry.org:10004 05:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:22 Configure a credential helper to remove this warning. See 05:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:22 05:57:22 Login Succeeded 05:57:22 ****.io 05:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:22 Configure a credential helper to remove this warning. See 05:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:22 05:57:22 Login Succeeded 05:57:22 ---> ****-login.sh ends [Pipeline] } 05:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:57:22 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 05:57:22 84743cd4846c2a040d455589816366e8bf795dd2 05:57:22 latest 05:57:22 4.0.0-dev.4 05:57:22 84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 05:57:22 main 05:57:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:84743cd4846c2a040d455589816366e8bf795dd2 05:57:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:57:23 216293eb4255: Preparing 05:57:23 940e36cbe432: Preparing 05:57:23 aabd1df34057: Preparing 05:57:23 bcab8f5cbadf: Preparing 05:57:23 205d09f71264: Preparing 05:57:23 75654b8eeebd: Preparing 05:57:23 75654b8eeebd: Waiting 05:57:23 940e36cbe432: Pushed 05:57:23 205d09f71264: Pushed 05:57:23 216293eb4255: Pushed 05:57:23 75654b8eeebd: Layer already exists 05:57:24 bcab8f5cbadf: Pushed 05:57:28 aabd1df34057: Pushed 05:57:28 84743cd4846c2a040d455589816366e8bf795dd2: digest: sha256:f87b5f258e3246c69e1b744cdb65637e6d8f3308db8a4e2a2aff5f60eeb64383 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:57:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:57:28 216293eb4255: Preparing 05:57:28 940e36cbe432: Preparing 05:57:28 aabd1df34057: Preparing 05:57:28 bcab8f5cbadf: Preparing 05:57:28 205d09f71264: Preparing 05:57:28 75654b8eeebd: Preparing 05:57:28 75654b8eeebd: Waiting 05:57:28 aabd1df34057: Layer already exists 05:57:28 940e36cbe432: Layer already exists 05:57:28 205d09f71264: Layer already exists 05:57:28 bcab8f5cbadf: Layer already exists 05:57:28 216293eb4255: Layer already exists 05:57:28 75654b8eeebd: Layer already exists 05:57:28 latest: digest: sha256:f87b5f258e3246c69e1b744cdb65637e6d8f3308db8a4e2a2aff5f60eeb64383 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.4 05:57:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:57:29 216293eb4255: Preparing 05:57:29 940e36cbe432: Preparing 05:57:29 aabd1df34057: Preparing 05:57:29 bcab8f5cbadf: Preparing 05:57:29 205d09f71264: Preparing 05:57:29 75654b8eeebd: Preparing 05:57:29 75654b8eeebd: Waiting 05:57:29 940e36cbe432: Layer already exists 05:57:29 216293eb4255: Layer already exists 05:57:29 bcab8f5cbadf: Layer already exists 05:57:29 205d09f71264: Layer already exists 05:57:29 aabd1df34057: Layer already exists 05:57:29 75654b8eeebd: Layer already exists 05:57:29 4.0.0-dev.4: digest: sha256:f87b5f258e3246c69e1b744cdb65637e6d8f3308db8a4e2a2aff5f60eeb64383 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 05:57:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:57:30 216293eb4255: Preparing 05:57:30 940e36cbe432: Preparing 05:57:30 aabd1df34057: Preparing 05:57:30 bcab8f5cbadf: Preparing 05:57:30 205d09f71264: Preparing 05:57:30 75654b8eeebd: Preparing 05:57:30 75654b8eeebd: Waiting 05:57:30 bcab8f5cbadf: Layer already exists 05:57:30 940e36cbe432: Layer already exists 05:57:30 205d09f71264: Layer already exists 05:57:30 aabd1df34057: Layer already exists 05:57:30 216293eb4255: Layer already exists 05:57:30 75654b8eeebd: Layer already exists 05:57:30 84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4: digest: sha256:f87b5f258e3246c69e1b744cdb65637e6d8f3308db8a4e2a2aff5f60eeb64383 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 05:57:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:57:30 216293eb4255: Preparing 05:57:30 940e36cbe432: Preparing 05:57:30 aabd1df34057: Preparing 05:57:30 bcab8f5cbadf: Preparing 05:57:30 205d09f71264: Preparing 05:57:30 75654b8eeebd: Preparing 05:57:30 75654b8eeebd: Waiting 05:57:30 205d09f71264: Layer already exists 05:57:30 940e36cbe432: Layer already exists 05:57:30 bcab8f5cbadf: Layer already exists 05:57:30 216293eb4255: Layer already exists 05:57:30 aabd1df34057: Layer already exists 05:57:30 75654b8eeebd: Layer already exists 05:57:30 main: digest: sha256:f87b5f258e3246c69e1b744cdb65637e6d8f3308db8a4e2a2aff5f60eeb64383 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:57:30 ===================================================== [Pipeline] echo 05:57:30 taggedImages: 05:57:30 - nexus3.edgexfoundry.org:10004/device-mqtt:84743cd4846c2a040d455589816366e8bf795dd2 05:57:30 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:57:30 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.4 05:57:30 - nexus3.edgexfoundry.org:10004/device-mqtt:84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 05:57:30 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:57:31 05:57:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:57:31 latest: Pulling from edgex-lftools-log-publisher 05:57:31 5eb5b503b376: Pulling fs layer 05:57:31 5c69ac0246d0: Pulling fs layer 05:57:31 ec43610c2a17: Pulling fs layer 05:57:31 3a2ae6a8a46f: Pulling fs layer 05:57:31 33b1e0a273af: Pulling fs layer 05:57:31 5d3b04190fa2: Pulling fs layer 05:57:31 2f39f015ded8: Pulling fs layer 05:57:31 3a2ae6a8a46f: Waiting 05:57:31 33b1e0a273af: Waiting 05:57:31 5d3b04190fa2: Waiting 05:57:31 2f39f015ded8: Waiting 05:57:31 5c69ac0246d0: Download complete 05:57:31 3a2ae6a8a46f: Verifying Checksum 05:57:31 3a2ae6a8a46f: Download complete 05:57:31 33b1e0a273af: Verifying Checksum 05:57:31 33b1e0a273af: Download complete 05:57:31 5d3b04190fa2: Download complete 05:57:31 ec43610c2a17: Verifying Checksum 05:57:31 ec43610c2a17: Download complete 05:57:31 5eb5b503b376: Verifying Checksum 05:57:31 5eb5b503b376: Download complete 05:57:32 2f39f015ded8: Verifying Checksum 05:57:32 2f39f015ded8: Download complete 05:57:33 5eb5b503b376: Pull complete 05:57:33 5c69ac0246d0: Pull complete 05:57:33 ec43610c2a17: Pull complete 05:57:33 3a2ae6a8a46f: Pull complete 05:57:34 33b1e0a273af: Pull complete 05:57:34 5d3b04190fa2: Pull complete 05:57:39 2f39f015ded8: Pull complete 05:57:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:57:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:57:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:39 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 05:57:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:57:43 $ docker top 606a6e53953e83b90d19a439a75067d896358e587f111f5623b825cfa49bd8ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:43 ---> job-cost.sh 05:57:43 lf-activate-venv: SKIPPING 05:57:43 INFO: No Stack... 05:57:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:57:44 INFO: Archiving Costs [Pipeline] sh 05:57:44 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 05:57:44 + cut -d, -f6 [Pipeline] lock 05:57:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] 05:57:44 Resource [jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] did not exist. Created. 05:57:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:57:45 + echo total: 0.2199999988079071 [Pipeline] stash 05:57:45 Stashed 1 file(s) [Pipeline] } 05:57:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 05:57:45 $ docker stop --time=1 606a6e53953e83b90d19a439a75067d896358e587f111f5623b825cfa49bd8ed 05:57:46 $ docker rm -f --volumes 606a6e53953e83b90d19a439a75067d896358e587f111f5623b825cfa49bd8ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:57:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26248 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 05:57:49 Running in /w/workspace/device-mqtt-go/182 [Pipeline] { [Pipeline] checkout 05:57:52 The recommended git tool is: git 05:57:57 using credential edgex-jenkins-ssh 05:57:57 Cloning the remote Git repository 05:57:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:57:57 > git init /w/workspace/device-mqtt-go/182 # timeout=10 05:57:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:57:57 > git --version # timeout=10 05:57:57 > git --version # 'git version 2.25.1' 05:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:58:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:01 Avoid second fetch 05:58:01 Checking out Revision 84743cd4846c2a040d455589816366e8bf795dd2 (main) 05:58:02 Commit message: "Merge pull request #710 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.6" 05:58:01 > git config core.sparsecheckout # timeout=10 05:58:01 > git checkout -f 84743cd4846c2a040d455589816366e8bf795dd2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:58:06 % Total % Received % Xferd Average Speed Time Time Time Current 05:58:06 Dload Upload Total Spent Left Speed 05:58:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 260k 0 --:--:-- --:--:-- --:--:-- 260k [Pipeline] sh 05:58:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:58:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:58:07 + sudo tee /etc/docker/daemon.new 05:58:07 { 05:58:07 "registry-mirrors": [ 05:58:07 "https://nexus3.edgexfoundry.org:10001" 05:58:07 ], 05:58:07 "bip": "10.250.0.254/24", 05:58:07 "hosts": [ 05:58:07 "tcp://0.0.0.0:5555", 05:58:07 "unix:///var/run/docker.sock" 05:58:07 ], 05:58:07 "mtu": 1458, 05:58:07 "selinux-enabled": true, 05:58:07 "seccomp-profile": "/etc/docker/seccomp.json" 05:58:07 } [Pipeline] sh 05:58:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:58:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:26 provisioning config files... 05:58:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/182@tmp/config8987548695432720664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:27 ---> ****-login.sh 05:58:27 nexus3.edgexfoundry.org:10001 05:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:27 Configure a credential helper to remove this warning. See 05:58:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:27 05:58:27 Login Succeeded 05:58:27 nexus3.edgexfoundry.org:10002 05:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:28 Configure a credential helper to remove this warning. See 05:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:28 05:58:28 Login Succeeded 05:58:28 nexus3.edgexfoundry.org:10003 05:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:28 Configure a credential helper to remove this warning. See 05:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:28 05:58:28 Login Succeeded 05:58:28 nexus3.edgexfoundry.org:10004 05:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:28 Configure a credential helper to remove this warning. See 05:58:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:28 05:58:28 Login Succeeded 05:58:28 ****.io 05:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:29 Configure a credential helper to remove this warning. See 05:58:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:29 05:58:29 Login Succeeded 05:58:29 ---> ****-login.sh ends [Pipeline] } 05:58:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:58:29 ========================================================= 05:58:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:58:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:58:30 Sending build context to Docker daemon 10.6MB 05:58:30 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:58:30 Step 2/12 : FROM ${BASE} AS builder 05:58:31 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:58:31 cf04c63912e1: Pulling fs layer 05:58:31 55b35a11ae5e: Pulling fs layer 05:58:31 a37a00ec5f00: Pulling fs layer 05:58:31 50b3750afda1: Pulling fs layer 05:58:31 4f4fb700ef54: Pulling fs layer 05:58:31 80978eb59214: Pulling fs layer 05:58:31 c9f46d7d2bd2: Pulling fs layer 05:58:31 c5a475d317c9: Pulling fs layer 05:58:31 80978eb59214: Waiting 05:58:31 50b3750afda1: Waiting 05:58:31 4f4fb700ef54: Waiting 05:58:31 55b35a11ae5e: Verifying Checksum 05:58:31 55b35a11ae5e: Download complete 05:58:31 50b3750afda1: Verifying Checksum 05:58:31 50b3750afda1: Download complete 05:58:31 4f4fb700ef54: Verifying Checksum 05:58:31 4f4fb700ef54: Download complete 05:58:31 80978eb59214: Download complete 05:58:31 cf04c63912e1: Verifying Checksum 05:58:31 cf04c63912e1: Download complete 05:58:32 c5a475d317c9: Verifying Checksum 05:58:32 c5a475d317c9: Download complete 05:58:32 cf04c63912e1: Pull complete 05:58:33 55b35a11ae5e: Pull complete 05:58:33 a37a00ec5f00: Verifying Checksum 05:58:33 a37a00ec5f00: Download complete 05:58:34 c9f46d7d2bd2: Verifying Checksum 05:58:34 c9f46d7d2bd2: Download complete 05:58:49 a37a00ec5f00: Pull complete 05:58:49 50b3750afda1: Pull complete 05:58:49 4f4fb700ef54: Pull complete 05:58:49 80978eb59214: Pull complete 05:58:57 c9f46d7d2bd2: Pull complete 05:58:58 c5a475d317c9: Pull complete 05:58:58 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:58:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:58:58 ---> be29e6b0f0d4 05:58:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:58:59 ---> Running in e8c9b12ef235 05:58:59 Removing intermediate container e8c9b12ef235 05:58:59 ---> f253821be866 05:58:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:59 ---> Running in 1a008a52c05c 05:59:00 Removing intermediate container 1a008a52c05c 05:59:00 ---> d71e1a98ce13 05:59:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:59:00 ---> Running in 4a3362d6e7fd 05:59:00 Removing intermediate container 4a3362d6e7fd 05:59:00 ---> 42d25f590f91 05:59:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:59:00 ---> Running in b1e697c06da8 05:59:00 Removing intermediate container b1e697c06da8 05:59:00 ---> 835de1a76fde 05:59:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:01 ---> Running in 1ed14958ef6b 05:59:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:59:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:59:03 (1/4) Installing openssh-keygen (9.7_p1-r4) 05:59:03 (2/4) Installing libedit (20240517.3.1-r0) 05:59:03 (3/4) Installing openssh-client-common (9.7_p1-r4) 05:59:03 (4/4) Installing openssh-client-default (9.7_p1-r4) 05:59:03 Executing busybox-1.36.1-r29.trigger 05:59:03 OK: 242 MiB in 58 packages 05:59:05 Removing intermediate container 1ed14958ef6b 05:59:05 ---> 7ec4a8fe9991 05:59:05 Step 8/12 : WORKDIR /device-mqtt-go 05:59:05 ---> Running in ef064bf307a1 05:59:05 Removing intermediate container ef064bf307a1 05:59:05 ---> 37cd7e976551 05:59:05 Step 9/12 : COPY go.mod vendor* ./ 05:59:05 ---> 740aeb7d1305 05:59:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:06 ---> Running in a9412c1033d8 06:01:01 Removing intermediate container a9412c1033d8 06:01:01 ---> 80a4cf7f8835 06:01:01 Step 11/12 : COPY . . 06:01:01 ---> f60875d7afb8 06:01:01 Step 12/12 : RUN $MAKE 06:01:01 ---> Running in 901804f8d299 06:01:01 noop 06:01:01 Removing intermediate container 901804f8d299 06:01:01 ---> cda33259063d 06:01:01 Successfully built cda33259063d 06:01:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:01 + docker inspect -f . ci-base-image-arm64 06:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:02 prd-ubuntu20.04-docker-arm64-4c-16g-26248 does not seem to be running inside a container 06:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/182 -v /w/workspace/device-mqtt-go/182:/w/workspace/device-mqtt-go/182:rw,z -v /w/workspace/device-mqtt-go/182@tmp:/w/workspace/device-mqtt-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:01:03 $ docker top 9c534ad8764537b3cfc53bf9ac89064b18e370239f9d5d72955293ee91e1dc85 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:04 + go version 06:01:04 go version go1.23.2 linux/arm64 [Pipeline] } 06:01:04 $ docker stop --time=1 9c534ad8764537b3cfc53bf9ac89064b18e370239f9d5d72955293ee91e1dc85 06:01:06 $ docker rm -f --volumes 9c534ad8764537b3cfc53bf9ac89064b18e370239f9d5d72955293ee91e1dc85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:06 + docker inspect -f . ci-base-image-arm64 06:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:06 prd-ubuntu20.04-docker-arm64-4c-16g-26248 does not seem to be running inside a container 06: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/device-mqtt-go/182 -v /w/workspace/device-mqtt-go/182:/w/workspace/device-mqtt-go/182:rw,z -v /w/workspace/device-mqtt-go/182@tmp:/w/workspace/device-mqtt-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:01:08 $ docker top 422f23b8dd13a50c63604583b745c9b154d02c0b1aa161162f6abc66a2f9e842 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/182 [Pipeline] fileExists [Pipeline] sh 06:01:09 + make test 06:01:09 go test ./... -coverprofile=coverage.out ./... 06:01:16 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:04:38 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 06:04:42 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 06:04:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 22.8% of statements 06:04:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:04:43 go vet ./... 06:05:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:39 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:05:40 $ docker stop --time=1 422f23b8dd13a50c63604583b745c9b154d02c0b1aa161162f6abc66a2f9e842 06:05:41 $ docker rm -f --volumes 422f23b8dd13a50c63604583b745c9b154d02c0b1aa161162f6abc66a2f9e842 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:43 Warning: overwriting stash ‘coverage-report’ 06:05:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:44 + ls -al . 06:05:44 total 248 06:05:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 06:01 . 06:05:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 05:57 .. 06:05:44 -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 05:58 .dockerignore 06:05:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 05:58 .git 06:05:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:58 .github 06:05:44 -rw-rw-r-- 1 jenkins jenkins 264 Nov 12 05:58 .gitignore 06:05:44 -rw-rw-r-- 1 jenkins jenkins 41 Nov 12 05:58 .golangci.yml 06:05:44 -rw-rw-r-- 1 jenkins jenkins 19106 Nov 12 05:58 Attribution.txt 06:05:44 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 12 05:58 CHANGELOG.md 06:05:44 -rw-rw-r-- 1 jenkins jenkins 1803 Nov 12 05:58 Dockerfile 06:05:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 05:58 GOVERNANCE.md 06:05:44 -rw-rw-r-- 1 jenkins jenkins 657 Nov 12 05:58 Jenkinsfile 06:05:44 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 05:58 LICENSE 06:05:44 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 12 05:58 Makefile 06:05:44 -rw-rw-r-- 1 jenkins jenkins 620 Nov 12 05:58 OWNERS.md 06:05:44 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 12 05:58 README.md 06:05:44 -rw-rw-r-- 1 jenkins jenkins 11 Nov 12 05:54 VERSION 06:05:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:58 bin 06:05:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:58 cmd 06:05:44 -rw-r--r-- 1 jenkins jenkins 21039 Nov 12 06:04 coverage.out 06:05:44 -rw-rw-r-- 1 jenkins jenkins 6321 Nov 12 05:58 go.mod 06:05:44 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 12 05:58 go.sum 06:05:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:58 internal 06:05:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:58 mock 06:05:44 -rw-rw-r-- 1 jenkins jenkins 227 Nov 12 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:45 + 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=84743cd4846c2a040d455589816366e8bf795dd2 --label arch=arm64 --label version=4.0.0-dev.4 . 06:05:45 Sending build context to Docker daemon 10.62MB 06:05:45 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 06:05:45 Step 2/25 : FROM ${BASE} AS builder 06:05:45 ---> cda33259063d 06:05:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:05:45 ---> Running in 3df715765aae 06:05:45 Removing intermediate container 3df715765aae 06:05:45 ---> 68a6d7f65abd 06:05:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:46 ---> Running in a40ddfbf7346 06:05:46 Removing intermediate container a40ddfbf7346 06:05:46 ---> 3627d2d0a44f 06:05:46 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:05:46 ---> Running in b76096018078 06:05:46 Removing intermediate container b76096018078 06:05:46 ---> 629388afb395 06:05:46 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:05:47 ---> Running in 0ee0c6e3b434 06:05:47 Removing intermediate container 0ee0c6e3b434 06:05:47 ---> 2bdc5da0a6ac 06:05:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:47 ---> Running in 78f7a5c606db 06:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:05:50 OK: 242 MiB in 58 packages 06:05:51 Removing intermediate container 78f7a5c606db 06:05:51 ---> 491227cb72d0 06:05:51 Step 8/25 : WORKDIR /device-mqtt-go 06:05:51 ---> Running in 2243e16f5920 06:05:51 Removing intermediate container 2243e16f5920 06:05:51 ---> 39a2f3775a97 06:05:51 Step 9/25 : COPY go.mod vendor* ./ 06:05:52 ---> 1a8efc5e72d1 06:05:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:52 ---> Running in c0b98bfb7155 06:05:54 Removing intermediate container c0b98bfb7155 06:05:54 ---> a0ea21c0449f 06:05:54 Step 11/25 : COPY . . 06:05:55 ---> 0202c464c811 06:05:55 Step 12/25 : RUN $MAKE 06:05:55 ---> Running in 39575d6b69c9 06:05:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 06:09:05 Removing intermediate container 39575d6b69c9 06:09:05 ---> 3e94089b54df 06:09:05 Step 13/25 : FROM alpine:3.20 06:09:05 3.20: Pulling from library/alpine 06:09:06 9986a736f7d3: Pulling fs layer 06:09:06 9986a736f7d3: Verifying Checksum 06:09:06 9986a736f7d3: Download complete 06:09:07 9986a736f7d3: Pull complete 06:09:07 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 06:09:07 Status: Downloaded newer image for alpine:3.20 06:09:07 ---> 511a44083d3a 06:09:07 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 06:09:07 ---> Running in 5561eb1ac96d 06:09:07 Removing intermediate container 5561eb1ac96d 06:09:07 ---> f0f6904f3cf4 06:09:07 Step 15/25 : RUN apk add --update --no-cache dumb-init 06:09:07 ---> Running in 1a05530b6e0b 06:09:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:09:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:09:09 (1/1) Installing dumb-init (1.2.5-r3) 06:09:09 Executing busybox-1.36.1-r29.trigger 06:09:09 OK: 9 MiB in 15 packages 06:09:10 Removing intermediate container 1a05530b6e0b 06:09:10 ---> 10d220252638 06:09:10 Step 16/25 : RUN apk --no-cache upgrade 06:09:10 ---> Running in d6f1deb37ea1 06:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:09:13 Upgrading critical system libraries and apk-tools: 06:09:13 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:09:13 Executing busybox-1.36.1-r29.trigger 06:09:13 Continuing the upgrade transaction with new apk-tools: 06:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:09:15 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:09:15 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:09:15 OK: 9 MiB in 15 packages 06:09:17 Removing intermediate container d6f1deb37ea1 06:09:17 ---> 9e76ab9c52e8 06:09:17 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 06:09:19 ---> adf2de67893a 06:09:19 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 06:09:19 ---> b9d76cb0d058 06:09:19 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:09:20 ---> af095aa508c5 06:09:20 Step 20/25 : EXPOSE 59982 06:09:20 ---> Running in fa7c887df587 06:09:20 Removing intermediate container fa7c887df587 06:09:20 ---> fcec4e82103c 06:09:20 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 06:09:20 ---> Running in 9d2dd26cde8d 06:09:20 Removing intermediate container 9d2dd26cde8d 06:09:20 ---> 0582cabf129c 06:09:20 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:09:21 ---> Running in 0f3bff2bb4d4 06:09:21 Removing intermediate container 0f3bff2bb4d4 06:09:21 ---> 059b718aca2d 06:09:21 Step 23/25 : LABEL arch=arm64 06:09:21 ---> Running in 06f70cb9e63b 06:09:21 Removing intermediate container 06f70cb9e63b 06:09:21 ---> 97629f11085d 06:09:21 Step 24/25 : LABEL git_sha=84743cd4846c2a040d455589816366e8bf795dd2 06:09:21 ---> Running in 6652d8a1ffbd 06:09:21 Removing intermediate container 6652d8a1ffbd 06:09:21 ---> 55f88be3293d 06:09:21 Step 25/25 : LABEL version=4.0.0-dev.4 06:09:22 ---> Running in f518bad8ac59 06:09:22 Removing intermediate container f518bad8ac59 06:09:22 ---> 7336e4d4a1c6 06:09:22 [Warning] One or more build-args [ARCH] were not consumed 06:09:22 Successfully built 7336e4d4a1c6 06:09:22 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:22 provisioning config files... 06:09:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/182@tmp/config9044209307486140565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:22 ---> ****-login.sh 06:09:22 nexus3.edgexfoundry.org:10001 06:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:09:23 Configure a credential helper to remove this warning. See 06:09:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:09:23 06:09:23 Login Succeeded 06:09:23 nexus3.edgexfoundry.org:10002 06:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:09:23 Configure a credential helper to remove this warning. See 06:09:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:09:23 06:09:23 Login Succeeded 06:09:23 nexus3.edgexfoundry.org:10003 06:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:09:24 Configure a credential helper to remove this warning. See 06:09:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:09:24 06:09:24 Login Succeeded 06:09:24 nexus3.edgexfoundry.org:10004 06:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:09:24 Configure a credential helper to remove this warning. See 06:09:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:09:24 06:09:24 Login Succeeded 06:09:24 ****.io 06:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:09:24 Configure a credential helper to remove this warning. See 06:09:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:09:24 06:09:24 Login Succeeded 06:09:24 ---> ****-login.sh ends [Pipeline] } 06:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:09:24 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:09:24 84743cd4846c2a040d455589816366e8bf795dd2 06:09:24 latest 06:09:24 4.0.0-dev.4 06:09:24 84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 06:09:24 main 06:09:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:84743cd4846c2a040d455589816366e8bf795dd2 06:09:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:09:26 dace0ebb797f: Preparing 06:09:26 d60a6e83bb06: Preparing 06:09:26 2c3a737e8ff9: Preparing 06:09:26 a6087860a51c: Preparing 06:09:26 ddd4cc4d72e2: Preparing 06:09:26 651d9022c234: Preparing 06:09:26 651d9022c234: Waiting 06:09:26 dace0ebb797f: Pushed 06:09:26 d60a6e83bb06: Pushed 06:09:26 ddd4cc4d72e2: Pushed 06:09:26 651d9022c234: Layer already exists 06:09:27 a6087860a51c: Pushed 06:09:36 2c3a737e8ff9: Pushed 06:09:36 84743cd4846c2a040d455589816366e8bf795dd2: digest: sha256:f41fb9a864e1248cebd74fd4617c3870751efc995d20162cb20ffbe51eb09c34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:09:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:09:36 dace0ebb797f: Preparing 06:09:36 d60a6e83bb06: Preparing 06:09:36 2c3a737e8ff9: Preparing 06:09:36 a6087860a51c: Preparing 06:09:36 ddd4cc4d72e2: Preparing 06:09:36 651d9022c234: Preparing 06:09:36 651d9022c234: Waiting 06:09:36 dace0ebb797f: Layer already exists 06:09:36 2c3a737e8ff9: Layer already exists 06:09:36 ddd4cc4d72e2: Layer already exists 06:09:36 d60a6e83bb06: Layer already exists 06:09:36 a6087860a51c: Layer already exists 06:09:36 651d9022c234: Layer already exists 06:09:37 latest: digest: sha256:f41fb9a864e1248cebd74fd4617c3870751efc995d20162cb20ffbe51eb09c34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.4 06:09:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:09:37 dace0ebb797f: Preparing 06:09:37 d60a6e83bb06: Preparing 06:09:37 2c3a737e8ff9: Preparing 06:09:37 a6087860a51c: Preparing 06:09:37 ddd4cc4d72e2: Preparing 06:09:37 651d9022c234: Preparing 06:09:37 651d9022c234: Waiting 06:09:37 ddd4cc4d72e2: Layer already exists 06:09:37 d60a6e83bb06: Layer already exists 06:09:37 2c3a737e8ff9: Layer already exists 06:09:37 a6087860a51c: Layer already exists 06:09:37 dace0ebb797f: Layer already exists 06:09:37 651d9022c234: Layer already exists 06:09:38 4.0.0-dev.4: digest: sha256:f41fb9a864e1248cebd74fd4617c3870751efc995d20162cb20ffbe51eb09c34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 06:09:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:09:38 dace0ebb797f: Preparing 06:09:38 d60a6e83bb06: Preparing 06:09:38 2c3a737e8ff9: Preparing 06:09:38 a6087860a51c: Preparing 06:09:38 ddd4cc4d72e2: Preparing 06:09:38 651d9022c234: Preparing 06:09:38 651d9022c234: Waiting 06:09:38 2c3a737e8ff9: Layer already exists 06:09:38 ddd4cc4d72e2: Layer already exists 06:09:38 a6087860a51c: Layer already exists 06:09:38 d60a6e83bb06: Layer already exists 06:09:38 dace0ebb797f: Layer already exists 06:09:38 651d9022c234: Layer already exists 06:09:38 84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4: digest: sha256:f41fb9a864e1248cebd74fd4617c3870751efc995d20162cb20ffbe51eb09c34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:09:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:09:39 dace0ebb797f: Preparing 06:09:39 d60a6e83bb06: Preparing 06:09:39 2c3a737e8ff9: Preparing 06:09:39 a6087860a51c: Preparing 06:09:39 ddd4cc4d72e2: Preparing 06:09:39 651d9022c234: Preparing 06:09:39 dace0ebb797f: Layer already exists 06:09:39 2c3a737e8ff9: Layer already exists 06:09:39 a6087860a51c: Layer already exists 06:09:39 ddd4cc4d72e2: Layer already exists 06:09:39 d60a6e83bb06: Layer already exists 06:09:39 651d9022c234: Layer already exists 06:09:40 main: digest: sha256:f41fb9a864e1248cebd74fd4617c3870751efc995d20162cb20ffbe51eb09c34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:09:40 ===================================================== [Pipeline] echo 06:09:40 taggedImages: 06:09:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:84743cd4846c2a040d455589816366e8bf795dd2 06:09:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:09:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.4 06:09:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:84743cd4846c2a040d455589816366e8bf795dd2-4.0.0-dev.4 06:09:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:40 06:09:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:40 arm64: Pulling from edgex-lftools-log-publisher 06:09:40 8998bd30e6a1: Pulling fs layer 06:09:40 04944245beec: Pulling fs layer 06:09:40 699f458cf7ca: Pulling fs layer 06:09:40 765212b225bb: Pulling fs layer 06:09:40 f23df028b6ca: Pulling fs layer 06:09:40 d65c8cfc05b1: Pulling fs layer 06:09:40 2437ff75d9bd: Pulling fs layer 06:09:40 765212b225bb: Waiting 06:09:40 f23df028b6ca: Waiting 06:09:40 d65c8cfc05b1: Waiting 06:09:40 2437ff75d9bd: Waiting 06:09:41 04944245beec: Verifying Checksum 06:09:41 04944245beec: Download complete 06:09:41 765212b225bb: Verifying Checksum 06:09:41 765212b225bb: Download complete 06:09:41 f23df028b6ca: Verifying Checksum 06:09:41 f23df028b6ca: Download complete 06:09:41 d65c8cfc05b1: Verifying Checksum 06:09:41 d65c8cfc05b1: Download complete 06:09:41 699f458cf7ca: Verifying Checksum 06:09:41 699f458cf7ca: Download complete 06:09:41 8998bd30e6a1: Verifying Checksum 06:09:41 8998bd30e6a1: Download complete 06:09:44 2437ff75d9bd: Verifying Checksum 06:09:44 2437ff75d9bd: Download complete 06:09:46 8998bd30e6a1: Pull complete 06:09:46 04944245beec: Pull complete 06:09:48 699f458cf7ca: Pull complete 06:09:48 765212b225bb: Pull complete 06:09:49 f23df028b6ca: Pull complete 06:09:49 d65c8cfc05b1: Pull complete 06:10:07 2437ff75d9bd: Pull complete 06:10:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:07 prd-ubuntu20.04-docker-arm64-4c-16g-26248 does not seem to be running inside a container 06:10: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/182 -v /w/workspace/device-mqtt-go/182:/w/workspace/device-mqtt-go/182:rw,z -v /w/workspace/device-mqtt-go/182@tmp:/w/workspace/device-mqtt-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:10:10 $ docker top 7af469a566a87770c5990c3e06eb7c88c3dacd0bb370fd7e2f4d3e26e4141928 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:11 ---> job-cost.sh 06:10:11 lf-activate-venv: SKIPPING 06:10:11 INFO: No Stack... 06:10:11 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:12 INFO: Archiving Costs [Pipeline] sh 06:10:13 + cat /w/workspace/device-mqtt-go/182/archives/cost.csv 06:10:13 + cut -d, -f6 [Pipeline] lock 06:10:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] 06:10:13 Resource [jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] did not exist. Created. 06:10:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:13 /w/workspace/device-mqtt-go/182@tmp/durable-b68bfee1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:14 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:14 Warning: overwriting stash ‘stack-cost’ 06:10:14 Stashed 1 file(s) [Pipeline] } 06:10:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:14 $ docker stop --time=1 7af469a566a87770c5990c3e06eb7c88c3dacd0bb370fd7e2f4d3e26e4141928 06:10:16 $ docker rm -f --volumes 7af469a566a87770c5990c3e06eb7c88c3dacd0bb370fd7e2f4d3e26e4141928 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:10:16 provisioning config files... 06:10:16 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4323813009817767873tmp [Pipeline] { [Pipeline] sh 06:10:16 + set +x 06:10:16 + curl -s https://codecov.io/bash 06:10:16 + bash -s -- 06:10:16 06:10:16 _____ _ 06:10:16 / ____| | | 06:10:16 | | ___ __| | ___ ___ _____ __ 06:10:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:10:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:10:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:10:16 Bash-1.0.6 06:10:16 06:10:16 06:10:16 ==> git version 2.25.1 found 06:10:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:10:16 Release-Date: 2020-01-08 06:10:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:10:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:10:16 ==> Jenkins CI detected. 06:10:16 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:10:16 project root: . 06:10:16 --> token set from env 06:10:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:10:16 ==> Running gcov in . (disable via -X gcov) 06:10:16 ==> Python coveragepy not found 06:10:16 ==> Searching for coverage reports in: 06:10:16 + . 06:10:16 -> Found 1 reports 06:10:16 ==> Detecting git/mercurial file structure 06:10:16 ==> Reading reports 06:10:16 + ./coverage.out bytes=21039 06:10:16 ==> Appending adjustments 06:10:16 https://docs.codecov.io/docs/fixing-reports 06:10:17 + Found adjustments 06:10:17 ==> Gzipping contents 06:10:17 4.0K /tmp/codecov.f9WFjz.gz 06:10:17 ==> Uploading reports 06:10:17 url: https://codecov.io 06:10:17 query: branch=main&commit=84743cd4846c2a040d455589816366e8bf795dd2&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:10:17 -> Pinging Codecov 06:10:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=84743cd4846c2a040d455589816366e8bf795dd2&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:10:17 -> Uploading to 06:10:17 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/84743cd4846c2a040d455589816366e8bf795dd2/9b1d71a0-d030-4849-aef8-825a4d41d13a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241112%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241112T061017Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b4f7661b0cb979774aba745bb72f6455d90c0b9cb1479536d54ebf586045aa15 06:10:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:17 Dload Upload Total Spent Left Speed 06:10:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 12968 --:--:-- --:--:-- --:--:-- 12918 100 3346 0 0 100 3346 0 12968 --:--:-- --:--:-- --:--:-- 12918 06:10:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] } 06:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:10:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:10:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:10:18 06:10:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:10:18 latest: Pulling from edgex-devops/edgex-snyk-go 06:10:18 43c4264eed91: Already exists 06:10:18 4cc291be95ef: Already exists 06:10:18 2ac1f1163629: Already exists 06:10:18 5c3c966382ef: Already exists 06:10:18 4f4fb700ef54: Already exists 06:10:18 d9c7d2e4e75e: Pulling fs layer 06:10:18 9c3e1370e548: Pulling fs layer 06:10:18 d9c7d2e4e75e: Verifying Checksum 06:10:18 d9c7d2e4e75e: Download complete 06:10:19 d9c7d2e4e75e: Pull complete 06:10:19 9c3e1370e548: Download complete 06:10:22 9c3e1370e548: Pull complete 06:10:22 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:10:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:10:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:23 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 06:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:10:24 $ docker top 886ee4ed281580d1ebcbd6bb690486b887b9fb1359417dd3624e449e3d7f407b -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 06:10:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:10:25 + set -o pipefail 06:10:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:10:32 06:10:32 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:10:32 06:10:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/5e2cfffc-57f8-47b6-a594-940f1d63056b 06:10:32 06:10:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:10:32 06:10:32 06:10:32 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:10:32 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:10:32 $ docker stop --time=1 886ee4ed281580d1ebcbd6bb690486b887b9fb1359417dd3624e449e3d7f407b 06:10:36 $ docker rm -f --volumes 886ee4ed281580d1ebcbd6bb690486b887b9fb1359417dd3624e449e3d7f407b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:37 + git log --format=format:%s -1 84743cd4846c2a040d455589816366e8bf795dd2 [Pipeline] sh 06:10:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:38 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 06:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:38 $ docker top e8b1acd37b3608ea78db702247953404babd5ee3d6b33080d59104d2d38e3303 -eo pid,comm 06:10:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:10:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:39 [ssh-agent] Looking for ssh-agent implementation... 06:10:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:39 $ docker exec e8b1acd37b3608ea78db702247953404babd5ee3d6b33080d59104d2d38e3303 ssh-agent 06:10:39 SSH_AUTH_SOCK=/tmp/ssh-8wT7kNduurBS/agent.32 06:10:39 SSH_AGENT_PID=38 06:10:39 Running ssh-add (command line suppressed) 06:10:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6932722570696797344.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6932722570696797344.key) 06:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:39 + git semver tag 06:10:40 2024-11-12 06:10:39,973 [run_tag] DEBUG tag force:False 06:10:40 2024-11-12 06:10:39,973 [check_head_tag] DEBUG check head tag 06:10:40 2024-11-12 06:10:39,975 [execute] INFO git cat-file --batch-check 06:10:40 2024-11-12 06:10:39,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:10:40 2024-11-12 06:10:39,979 [execute] INFO git cat-file --batch 06:10:40 2024-11-12 06:10:39,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:10:40 2024-11-12 06:10:40,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:10:40 2024-11-12 06:10:40,001 [execute] INFO git tag -a v4.0.0-dev.4 -m v4.0.0-dev.4 06:10:40 2024-11-12 06:10:40,001 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.4', '-m', 'v4.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:10:40 2024-11-12 06:10:40,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:10:40 4.0.0-dev.4 [Pipeline] } 06:10:40 $ docker exec --env ******** --env ******** e8b1acd37b3608ea78db702247953404babd5ee3d6b33080d59104d2d38e3303 ssh-agent -k 06:10:40 unset SSH_AUTH_SOCK; 06:10:40 unset SSH_AGENT_PID; 06:10:40 echo Agent pid 38 killed; 06:10:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:40 + git semver [Pipeline] } 06:10:40 $ docker stop --time=1 e8b1acd37b3608ea78db702247953404babd5ee3d6b33080d59104d2d38e3303 06:10:42 $ docker rm -f --volumes e8b1acd37b3608ea78db702247953404babd5ee3d6b33080d59104d2d38e3303 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:10:42 06:10:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:10:42 0.23.1-centos7: Pulling from edgex-lftools 06:10:42 ab5ef0e58194: Pulling fs layer 06:10:42 9712f1f96733: Pulling fs layer 06:10:42 63f879dbbcfc: Pulling fs layer 06:10:42 0d9ebad4ef96: Pulling fs layer 06:10:42 e9a5061849ea: Pulling fs layer 06:10:42 d747dcd14b5f: Pulling fs layer 06:10:42 2de7ff778b66: Pulling fs layer 06:10:42 0d9ebad4ef96: Waiting 06:10:42 d747dcd14b5f: Waiting 06:10:42 e9a5061849ea: Waiting 06:10:42 2de7ff778b66: Waiting 06:10:42 9712f1f96733: Verifying Checksum 06:10:42 9712f1f96733: Download complete 06:10:43 63f879dbbcfc: Verifying Checksum 06:10:43 63f879dbbcfc: Download complete 06:10:43 e9a5061849ea: Verifying Checksum 06:10:43 e9a5061849ea: Download complete 06:10:43 d747dcd14b5f: Verifying Checksum 06:10:43 d747dcd14b5f: Download complete 06:10:43 0d9ebad4ef96: Verifying Checksum 06:10:43 0d9ebad4ef96: Download complete 06:10:43 ab5ef0e58194: Verifying Checksum 06:10:43 ab5ef0e58194: Download complete 06:10:43 2de7ff778b66: Verifying Checksum 06:10:43 2de7ff778b66: Download complete 06:10:45 ab5ef0e58194: Pull complete 06:10:46 9712f1f96733: Pull complete 06:10:46 63f879dbbcfc: Pull complete 06:10:50 0d9ebad4ef96: Pull complete 06:10:50 e9a5061849ea: Pull complete 06:10:50 d747dcd14b5f: Pull complete 06:10:51 2de7ff778b66: Pull complete 06:10:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:10:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:51 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 06:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:10:55 $ docker top 7acf71c2145eb220364c28eceddac198ffb12bf9966e7a83510e44b4e076b905 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:10:55 provisioning config files... 06:10:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15487047783816534376tmp 06:10:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2622780770559414326tmp 06:10:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12703165756331178652tmp [Pipeline] { [Pipeline] echo 06:10:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:10:56 ---> sigul-configuration.sh 06:10:56 gpg: directory `/root/.gnupg' created 06:10:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:10:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:10:56 gpg: keyring `/root/.gnupg/secring.gpg' created 06:10:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:10:56 gpg: CAST5 encrypted data 06:10:56 gpg: encrypted with 1 passphrase 06:10:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:10:56 + mkdir /home/jenkins 06:10:56 + mkdir /home/jenkins/sigul [Pipeline] sh 06:10:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:10:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:10:57 ---> sigul-install.sh 06:10:57 Sigul already installed; skipping installation. [Pipeline] sh 06:10:57 + git tag --list 06:10:57 0.7.1 06:10:57 v1.0.0 06:10:57 v1.1.0 06:10:57 v1.1.1 06:10:57 v1.2.2 06:10:57 v1.3.0 06:10:57 v1.3.1 06:10:57 v2.0.0 06:10:57 v2.1.0 06:10:57 v2.1.1 06:10:57 v2.2.0 06:10:57 v2.3.0 06:10:57 v3.0 06:10:57 v3.0.0 06:10:57 v3.1 06:10:57 v3.1.0 06:10:57 v3.1.0-dev.1 06:10:57 v3.1.0-dev.10 06:10:57 v3.1.0-dev.11 06:10:57 v3.1.0-dev.12 06:10:57 v3.1.0-dev.13 06:10:57 v3.1.0-dev.14 06:10:57 v3.1.0-dev.15 06:10:57 v3.1.0-dev.16 06:10:57 v3.1.0-dev.17 06:10:57 v3.1.0-dev.18 06:10:57 v3.1.0-dev.19 06:10:57 v3.1.0-dev.2 06:10:57 v3.1.0-dev.20 06:10:57 v3.1.0-dev.21 06:10:57 v3.1.0-dev.22 06:10:57 v3.1.0-dev.23 06:10:57 v3.1.0-dev.24 06:10:57 v3.1.0-dev.25 06:10:57 v3.1.0-dev.3 06:10:57 v3.1.0-dev.4 06:10:57 v3.1.0-dev.5 06:10:57 v3.1.0-dev.6 06:10:57 v3.1.0-dev.7 06:10:57 v3.1.0-dev.8 06:10:57 v3.1.0-dev.9 06:10:57 v3.1.1 06:10:57 v3.2.0-dev.1 06:10:57 v3.2.0-dev.10 06:10:57 v3.2.0-dev.11 06:10:57 v3.2.0-dev.12 06:10:57 v3.2.0-dev.13 06:10:57 v3.2.0-dev.14 06:10:57 v3.2.0-dev.15 06:10:57 v3.2.0-dev.16 06:10:57 v3.2.0-dev.17 06:10:57 v3.2.0-dev.18 06:10:57 v3.2.0-dev.19 06:10:57 v3.2.0-dev.2 06:10:57 v3.2.0-dev.20 06:10:57 v3.2.0-dev.21 06:10:57 v3.2.0-dev.22 06:10:57 v3.2.0-dev.23 06:10:57 v3.2.0-dev.3 06:10:57 v3.2.0-dev.4 06:10:57 v3.2.0-dev.5 06:10:57 v3.2.0-dev.6 06:10:57 v3.2.0-dev.7 06:10:57 v3.2.0-dev.8 06:10:57 v3.2.0-dev.9 06:10:57 v4.0.0-dev.1 06:10:57 v4.0.0-dev.2 06:10:57 v4.0.0-dev.3 06:10:57 v4.0.0-dev.4 [Pipeline] sh 06:10:57 + lftools sign git-tag v4.0.0-dev.4 06:10:58 Signing Git tag with Sigul... 06:10:58 Signing v4.0.0-dev.4 [Pipeline] echo 06:10:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:10:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:10:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:10:59 $ docker stop --time=1 7acf71c2145eb220364c28eceddac198ffb12bf9966e7a83510e44b4e076b905 06:11:00 $ docker rm -f --volumes 7acf71c2145eb220364c28eceddac198ffb12bf9966e7a83510e44b4e076b905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:11:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:11:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:01 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 06:11:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:11:01 $ docker top 2b5c6a2f24638d5228db49c3c8608dd90c5eb54d624ee7a8babb83eab9c78bde -eo pid,comm 06:11:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:11:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:11:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:11:01 [ssh-agent] Looking for ssh-agent implementation... 06:11:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:11:01 $ docker exec 2b5c6a2f24638d5228db49c3c8608dd90c5eb54d624ee7a8babb83eab9c78bde ssh-agent 06:11:01 SSH_AUTH_SOCK=/tmp/ssh-uNtjeOBf8H1s/agent.32 06:11:01 SSH_AGENT_PID=38 06:11:02 Running ssh-add (command line suppressed) 06:11:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17886643348429397775.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17886643348429397775.key) 06:11:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:11:02 + git semver bump pre 06:11:02 2024-11-12 06:11:02,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:11:02 2024-11-12 06:11:02,628 [bump_version] DEBUG bumping version:4.0.0-dev.4 on axis:pre with prefix:dev 06:11:02 2024-11-12 06:11:02,628 [bump_version] DEBUG bumped version:4.0.0-dev.5 06:11:02 2024-11-12 06:11:02,628 [write_version] DEBUG write version:4.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:11:02 2024-11-12 06:11:02,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:11:02 2024-11-12 06:11:02,628 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:11:02 2024-11-12 06:11:02,630 [execute] INFO git cat-file --batch-check 06:11:02 2024-11-12 06:11:02,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:11:02 2024-11-12 06:11:02,636 [execute] INFO git cat-file --batch 06:11:02 2024-11-12 06:11:02,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:11:02 2024-11-12 06:11:02,642 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:11:02 4.0.0-dev.5 [Pipeline] } 06:11:02 $ docker exec --env ******** --env ******** 2b5c6a2f24638d5228db49c3c8608dd90c5eb54d624ee7a8babb83eab9c78bde ssh-agent -k 06:11:02 unset SSH_AUTH_SOCK; 06:11:02 unset SSH_AGENT_PID; 06:11:02 echo Agent pid 38 killed; 06:11:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:11:03 + git semver [Pipeline] } 06:11:03 $ docker stop --time=1 2b5c6a2f24638d5228db49c3c8608dd90c5eb54d624ee7a8babb83eab9c78bde 06:11:04 $ docker rm -f --volumes 2b5c6a2f24638d5228db49c3c8608dd90c5eb54d624ee7a8babb83eab9c78bde [Pipeline] // withDockerContainer [Pipeline] sh 06:11:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:11:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:05 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 06:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:11:05 $ docker top 168de8f57309f9de39b0731e798e449566a72a1ecc9420e8182dcb87bb3f8cab -eo pid,comm 06:11:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:11:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:11:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:11:05 [ssh-agent] Looking for ssh-agent implementation... 06:11:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:11:06 $ docker exec 168de8f57309f9de39b0731e798e449566a72a1ecc9420e8182dcb87bb3f8cab ssh-agent 06:11:06 SSH_AUTH_SOCK=/tmp/ssh-lGsUtfdtadkw/agent.33 06:11:06 SSH_AGENT_PID=39 06:11:06 Running ssh-add (command line suppressed) 06:11:06 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17352550212102874164.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17352550212102874164.key) 06:11:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:11:06 + git semver push 06:11:06 2024-11-12 06:11:06,764 [run_push] DEBUG push 06:11:06 2024-11-12 06:11:06,765 [execute] INFO git cat-file --batch-check 06:11:06 2024-11-12 06:11:06,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:11:06 2024-11-12 06:11:06,769 [execute] INFO git rev-list e921b2589325121eca69f24f5c62d81da3013e6a -- 06:11:06 2024-11-12 06:11:06,769 [execute] DEBUG Popen(['git', 'rev-list', 'e921b2589325121eca69f24f5c62d81da3013e6a', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:11:06 2024-11-12 06:11:06,778 [execute] INFO git fetch -v origin 06:11:06 2024-11-12 06:11:06,778 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:11:07 2024-11-12 06:11:07,229 [run_push] DEBUG no remote changes detected 06:11:07 2024-11-12 06:11:07,229 [execute] INFO git push origin semver 06:11:07 2024-11-12 06:11:07,230 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:11:07 2024-11-12 06:11:07,841 [run_push] DEBUG push all version tags 06:11:07 2024-11-12 06:11:07,842 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:11:07 2024-11-12 06:11:07,843 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:11:08 2024-11-12 06:11:08,461 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:11:08 4.0.0-dev.5 [Pipeline] } 06:11:08 $ docker exec --env ******** --env ******** 168de8f57309f9de39b0731e798e449566a72a1ecc9420e8182dcb87bb3f8cab ssh-agent -k 06:11:08 unset SSH_AUTH_SOCK; 06:11:08 unset SSH_AGENT_PID; 06:11:08 echo Agent pid 39 killed; 06:11:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:11:09 + git semver [Pipeline] } 06:11:09 $ docker stop --time=1 168de8f57309f9de39b0731e798e449566a72a1ecc9420e8182dcb87bb3f8cab 06:11:10 $ docker rm -f --volumes 168de8f57309f9de39b0731e798e449566a72a1ecc9420e8182dcb87bb3f8cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:11:11 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:11:11 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:11:11 total 16 06:11:11 drwxr-xr-x 3 root root 4096 Nov 12 05:57 . 06:11:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 12 06:10 .. 06:11:11 drwxr-xr-x 2 root root 4096 Nov 12 05:57 cost 06:11:11 -rw-r--r-- 1 root root 86 Nov 12 05:57 cost.csv 06:11:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:11:11 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:11:11 total 16 06:11:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 05:57 . 06:11:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 12 06:10 .. 06:11:11 drwxr-xr-x 2 jenkins jenkins 4096 Nov 12 05:57 cost 06:11:11 -rw-r--r-- 1 jenkins jenkins 86 Nov 12 05:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:12 ---> package-listing.sh 06:11:12 ++ facter osfamily 06:11:12 ++ tr '[:upper:]' '[:lower:]' 06:11:12 + OS_FAMILY=debian 06:11:12 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:11:12 + START_PACKAGES=/tmp/packages_start.txt 06:11:12 + END_PACKAGES=/tmp/packages_end.txt 06:11:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:12 + PACKAGES=/tmp/packages_start.txt 06:11:12 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:11:12 + PACKAGES=/tmp/packages_end.txt 06:11:12 + case "${OS_FAMILY}" in 06:11:12 + dpkg -l 06:11:12 + grep '^ii' 06:11:12 + '[' -f /tmp/packages_start.txt ']' 06:11:12 + '[' -f /tmp/packages_end.txt ']' 06:11:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:12 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:11:12 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:11:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:11:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:13 prd-ubuntu20.04-docker-8c-8g-26246 does not seem to be running inside a container 06:11:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:13 $ docker top db0bcfff4ef7821d8c42bfd23e88b259f999c949c34639314dee052d8eea1020 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:14 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:14 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:14 + ls /var/log/sa-host 06:11:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:14 provisioning config files... 06:11:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7135593785037047285tmp [Pipeline] { [Pipeline] echo 06:11:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:15 ---> create-netrc.sh [Pipeline] } 06:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:15 ---> python-tools-install.sh [Pipeline] echo 06:11:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:15 ---> sudo-logs.sh 06:11:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:16 ---> job-cost.sh 06:11:16 lf-activate-venv: SKIPPING 06:11:16 DEBUG: total: 0.2199999988079071 06:11:16 INFO: Retrieving Stack Cost... 06:11:16 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:17 INFO: Archiving Costs [Pipeline] echo 06:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:17 ---> logs-deploy.sh 06:11:17 lf-activate-venv: SKIPPING 06:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/182 06:11:17 INFO: archiving workspace using pattern(s): 06:11:18 Archives upload complete. 06:11:18 INFO: archiving logs to Nexus