Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3549df6dcc703df88a56d94e623ba7f0daa5638e 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-ssh6991512489027827104.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh16803389291200291563.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh643882984757308303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh14851109419242368598.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-ssh16893552145639906227.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-36672 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 3549df6dcc703df88a56d94e623ba7f0daa5638e (main) Commit message: "Merge pull request #722 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.17" > 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 3549df6dcc703df88a56d94e623ba7f0daa5638e # timeout=10 > git rev-list --no-walk 588142181ad7be3b3223bf8aa6fc12d14b197a1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:36:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:36:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:36:46 ========================================================= 02:36:46 EdgeX Global Pipelines Version Info 02:36:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:36:47 ------------------- 02:36:47 stable info: 02:36:47 ------------------- 02:36:47 Commited By: Cherry Wang cherry@iotechsys.com 02:36:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:36:47 Message: update stable to v1.0.269 02:36:48 ------------------- 02:36:48 experimental info: 02:36:48 ------------------- 02:36:48 Commited By: **** collab-it+edgex@linuxfoundation.org 02:36:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:36:48 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3549df6 [Pipeline] echo 02:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:36:49 provisioning config files... 02:36:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10284410471011724735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:49 ---> ****-login.sh 02:36:49 nexus3.edgexfoundry.org:10001 02:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:49 Configure a credential helper to remove this warning. See 02:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:49 02:36:49 Login Succeeded 02:36:49 nexus3.edgexfoundry.org:10002 02:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:49 Configure a credential helper to remove this warning. See 02:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:49 02:36:49 Login Succeeded 02:36:49 nexus3.edgexfoundry.org:10003 02:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:49 Configure a credential helper to remove this warning. See 02:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:49 02:36:49 Login Succeeded 02:36:49 nexus3.edgexfoundry.org:10004 02:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:49 Configure a credential helper to remove this warning. See 02:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:49 02:36:49 Login Succeeded 02:36:49 ****.io 02:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:36:50 Configure a credential helper to remove this warning. See 02:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:36:50 02:36:50 Login Succeeded 02:36:50 ---> ****-login.sh ends [Pipeline] } 02:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:36:50 + git rev-list -1 --merges 3549df6dcc703df88a56d94e623ba7f0daa5638e~1..3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] echo 02:36:50 -----------> git rev-list -1 --merges 3549df6dcc703df88a56d94e623ba7f0daa5638e~1..3549df6dcc703df88a56d94e623ba7f0daa5638e 3549df6dcc703df88a56d94e623ba7f0daa5638e 02:36:50 3549df6dcc703df88a56d94e623ba7f0daa5638e [false] [Pipeline] sh 02:36:50 + git log --format=format:%s -1 3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] echo 02:36:50 ========================================================= 02:36:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:36:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:36:51 + git log --format=format:%s -1 3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] echo 02:36:51 [semverPrep] GIT_COMMIT: 3549df6dcc703df88a56d94e623ba7f0daa5638e, Commit Message: Merge pull request #722 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.17 [Pipeline] echo 02:36:51 [semverPrep] This is not a build commit. [Pipeline] sh 02:36:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:36:51 + grep -v github /etc/ssh/ssh_known_hosts 02:36:51 + [ -e /tmp/ssh_known_hosts ] 02:36:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:36:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:36:51 + sudo tee -a /etc/ssh/ssh_known_hosts 02:36:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:36:52 02:36:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:36:52 0.1.4: Pulling from edgex-devops/py-git-semver 02:36:52 b85a868b505f: Pulling fs layer 02:36:52 e2be974225ed: Pulling fs layer 02:36:52 339a4e72a1f5: Pulling fs layer 02:36:52 988bab9f4d93: Pulling fs layer 02:36:52 1469e6f7b9e6: Pulling fs layer 02:36:52 eaf3925da568: Pulling fs layer 02:36:52 bab4dde63d76: Pulling fs layer 02:36:52 bde34c3a00c8: Pulling fs layer 02:36:52 b352a97aabf1: Pulling fs layer 02:36:52 4872d77fe225: Pulling fs layer 02:36:52 5851b861e8e6: Pulling fs layer 02:36:52 bde34c3a00c8: Waiting 02:36:52 988bab9f4d93: Waiting 02:36:52 4872d77fe225: Waiting 02:36:52 1469e6f7b9e6: Waiting 02:36:52 eaf3925da568: Waiting 02:36:52 b352a97aabf1: Waiting 02:36:52 bab4dde63d76: Waiting 02:36:52 5851b861e8e6: Waiting 02:36:52 e2be974225ed: Download complete 02:36:52 988bab9f4d93: Verifying Checksum 02:36:52 988bab9f4d93: Download complete 02:36:52 1469e6f7b9e6: Verifying Checksum 02:36:52 1469e6f7b9e6: Download complete 02:36:52 339a4e72a1f5: Verifying Checksum 02:36:52 339a4e72a1f5: Download complete 02:36:52 eaf3925da568: Verifying Checksum 02:36:52 eaf3925da568: Download complete 02:36:52 bde34c3a00c8: Verifying Checksum 02:36:52 bde34c3a00c8: Download complete 02:36:52 b352a97aabf1: Download complete 02:36:52 4872d77fe225: Verifying Checksum 02:36:52 4872d77fe225: Download complete 02:36:52 5851b861e8e6: Download complete 02:36:52 b85a868b505f: Verifying Checksum 02:36:52 b85a868b505f: Download complete 02:36:53 bab4dde63d76: Verifying Checksum 02:36:53 bab4dde63d76: Download complete 02:36:54 b85a868b505f: Pull complete 02:36:54 e2be974225ed: Pull complete 02:36:54 339a4e72a1f5: Pull complete 02:36:54 988bab9f4d93: Pull complete 02:36:54 1469e6f7b9e6: Pull complete 02:36:54 eaf3925da568: Pull complete 02:36:56 bab4dde63d76: Pull complete 02:36:56 bde34c3a00c8: Pull complete 02:36:56 b352a97aabf1: Pull complete 02:36:56 4872d77fe225: Pull complete 02:36:56 5851b861e8e6: Pull complete 02:36:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:36:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:56 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:37:00 $ docker top ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 -eo pid,comm 02:37:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:37:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:00 [ssh-agent] Looking for ssh-agent implementation... 02:37:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:00 $ docker exec ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 ssh-agent 02:37:00 SSH_AUTH_SOCK=/tmp/ssh-ZexOwKSqGDkn/agent.32 02:37:00 SSH_AGENT_PID=38 02:37:00 Running ssh-add (command line suppressed) 02:37:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8891278805566435200.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8891278805566435200.key) 02:37:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:01 + git tag --points-at HEAD [Pipeline] } 02:37:01 $ docker exec --env ******** --env ******** ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 ssh-agent -k 02:37:01 unset SSH_AUTH_SOCK; 02:37:01 unset SSH_AGENT_PID; 02:37:01 echo Agent pid 38 killed; 02:37:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:37:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:01 [ssh-agent] Looking for ssh-agent implementation... 02:37:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:01 $ docker exec ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 ssh-agent 02:37:01 SSH_AUTH_SOCK=/tmp/ssh-CTKCkUH98TU4/agent.71 02:37:01 SSH_AGENT_PID=77 02:37:01 Running ssh-add (command line suppressed) 02:37:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3741757143027854120.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3741757143027854120.key) 02:37:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:01 + git semver init 02:37:02 2025-01-14 02:37:02,117 [run_init] DEBUG init version:0.0.0 force:False 02:37:02 2025-01-14 02:37:02,117 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:37:02 2025-01-14 02:37:02,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:37:02 2025-01-14 02:37:02,118 [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) 02:37:04 2025-01-14 02:37:03,675 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:37:04 2025-01-14 02:37:03,676 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:37:04 2025-01-14 02:37:03,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:37:04 2025-01-14 02:37:03,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:37:04 4.0.0-dev.9 [Pipeline] } 02:37:04 $ docker exec --env ******** --env ******** ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 ssh-agent -k 02:37:04 unset SSH_AUTH_SOCK; 02:37:04 unset SSH_AGENT_PID; 02:37:04 echo Agent pid 77 killed; 02:37:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:04 + git semver [Pipeline] } 02:37:04 $ docker stop --time=1 ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 02:37:06 $ docker rm -f --volumes ce0e726d2eaebd26bc126ffe27e9d41ed6ce4e6251ebf54724bdf5db55789204 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:37:06 Stashed 1 file(s) [Pipeline] echo 02:37:06 [edgeXSemver]: initialized semver on version 4.0.0-dev.9 [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 02:37:06 provisioning config files... 02:37:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17085489222424168979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:07 ---> ****-login.sh 02:37:07 nexus3.edgexfoundry.org:10001 02:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:07 Configure a credential helper to remove this warning. See 02:37:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:07 02:37:07 Login Succeeded 02:37:07 nexus3.edgexfoundry.org:10002 02:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:07 Configure a credential helper to remove this warning. See 02:37:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:07 02:37:07 Login Succeeded 02:37:07 nexus3.edgexfoundry.org:10003 02:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:07 Configure a credential helper to remove this warning. See 02:37:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:07 02:37:07 Login Succeeded 02:37:07 nexus3.edgexfoundry.org:10004 02:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:07 Configure a credential helper to remove this warning. See 02:37:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:07 02:37:07 Login Succeeded 02:37:07 ****.io 02:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:07 Configure a credential helper to remove this warning. See 02:37:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:07 02:37:07 Login Succeeded 02:37:07 ---> ****-login.sh ends [Pipeline] } 02:37:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:37:07 ========================================================= 02:37:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:37:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 02:37:08 Sending build context to Docker daemon 21.11MB 02:37:08 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:37:08 Step 2/12 : FROM ${BASE} AS builder 02:37:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:37:08 da9db072f522: Pulling fs layer 02:37:08 6ef4a4ee8ca5: Pulling fs layer 02:37:08 06f05ace1117: Pulling fs layer 02:37:08 5fe327b54edc: Pulling fs layer 02:37:08 4f4fb700ef54: Pulling fs layer 02:37:08 92a5565b7b96: Pulling fs layer 02:37:08 ff9bb7016b71: Pulling fs layer 02:37:08 b67dba6c2c7d: Pulling fs layer 02:37:08 a813b0c90790: Pulling fs layer 02:37:08 92a5565b7b96: Waiting 02:37:08 a813b0c90790: Waiting 02:37:08 b67dba6c2c7d: Waiting 02:37:08 5fe327b54edc: Waiting 02:37:08 6ef4a4ee8ca5: Verifying Checksum 02:37:08 6ef4a4ee8ca5: Download complete 02:37:08 5fe327b54edc: Download complete 02:37:08 4f4fb700ef54: Verifying Checksum 02:37:08 4f4fb700ef54: Download complete 02:37:08 92a5565b7b96: Download complete 02:37:08 da9db072f522: Verifying Checksum 02:37:08 da9db072f522: Download complete 02:37:08 ff9bb7016b71: Verifying Checksum 02:37:08 ff9bb7016b71: Download complete 02:37:08 da9db072f522: Pull complete 02:37:08 a813b0c90790: Verifying Checksum 02:37:08 a813b0c90790: Download complete 02:37:08 6ef4a4ee8ca5: Pull complete 02:37:09 06f05ace1117: Verifying Checksum 02:37:09 06f05ace1117: Download complete 02:37:09 b67dba6c2c7d: Verifying Checksum 02:37:09 b67dba6c2c7d: Download complete 02:37:12 06f05ace1117: Pull complete 02:37:12 5fe327b54edc: Pull complete 02:37:12 4f4fb700ef54: Pull complete 02:37:12 92a5565b7b96: Pull complete 02:37:12 ff9bb7016b71: Pull complete 02:37:15 b67dba6c2c7d: Pull complete 02:37:15 a813b0c90790: Pull complete 02:37:15 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 02:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:37:15 ---> 3ba60ce46760 02:37:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:37:20 ---> Running in 0f74417bc8e7 02:37:20 Removing intermediate container 0f74417bc8e7 02:37:20 ---> 7679b2bb15a3 02:37:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:20 ---> Running in f6109fe6073b 02:37:20 Removing intermediate container f6109fe6073b 02:37:20 ---> d2214681bfce 02:37:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:37:20 ---> Running in 47cd90b0d088 02:37:20 Removing intermediate container 47cd90b0d088 02:37:20 ---> 33f949e60cee 02:37:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:37:20 ---> Running in e7ebc9e7e921 02:37:20 Removing intermediate container e7ebc9e7e921 02:37:20 ---> ffb0db950eb4 02:37:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:20 ---> Running in ba660534c71e 02:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:37:21 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:37:21 (2/4) Installing libedit (20240517.3.1-r0) 02:37:21 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:37:21 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:37:21 Executing busybox-1.36.1-r29.trigger 02:37:21 OK: 252 MiB in 62 packages 02:37:21 Removing intermediate container ba660534c71e 02:37:21 ---> a766bbf06f9a 02:37:21 Step 8/12 : WORKDIR /device-mqtt-go 02:37:21 ---> Running in ca477f1de307 02:37:21 Removing intermediate container ca477f1de307 02:37:21 ---> 788c5ced2956 02:37:21 Step 9/12 : COPY go.mod vendor* ./ 02:37:21 ---> d0a52fddd58b 02:37:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:21 Still waiting to schedule task 02:37:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-36670’ 02:37:22 ---> Running in c168faf60b98 02:38:18 Removing intermediate container c168faf60b98 02:38:18 ---> 1acaa852f8f5 02:38:18 Step 11/12 : COPY . . 02:38:18 ---> 8353e14eb763 02:38:18 Step 12/12 : RUN $MAKE 02:38:18 ---> Running in 782562aeba5f 02:38:18 noop 02:38:18 Removing intermediate container 782562aeba5f 02:38:18 ---> e06f4a510412 02:38:18 Successfully built e06f4a510412 02:38:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:18 + docker inspect -f . ci-base-image-x86_64 02:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:18 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:38:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:38:19 $ docker top c68580a897c58af48bee2d422bf5cf2ff49561e627a183d0b414eeffc2e46418 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:19 + go version 02:38:19 go version go1.23.4 linux/amd64 [Pipeline] } 02:38:19 $ docker stop --time=1 c68580a897c58af48bee2d422bf5cf2ff49561e627a183d0b414eeffc2e46418 02:38:20 $ docker rm -f --volumes c68580a897c58af48bee2d422bf5cf2ff49561e627a183d0b414eeffc2e46418 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:21 + docker inspect -f . ci-base-image-x86_64 02:38:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:21 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:38:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:38:21 $ docker top 3c3f11d4e0fd808f18d4a871ab91cedca917bd0f3bd34d736cb9f82033d82837 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:38:22 + make test 02:38:22 go test ./... -coverprofile=coverage.out ./... 02:38:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:38:42 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:38:42 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:38:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 02:38:50 go vet ./... 02:38:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:38:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:38:55 ./bin/test-attribution-txt.sh [Pipeline] echo 02:38:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:38:55 $ docker stop --time=1 3c3f11d4e0fd808f18d4a871ab91cedca917bd0f3bd34d736cb9f82033d82837 02:39:01 $ docker rm -f --volumes 3c3f11d4e0fd808f18d4a871ab91cedca917bd0f3bd34d736cb9f82033d82837 [Pipeline] // withDockerContainer [Pipeline] sh 02:39:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:39:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:39:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:39:03 + ls -al . 02:39:03 total 252 02:39:03 drwxrwxr-x 9 jenkins jenkins 4096 Jan 14 02:38 . 02:39:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 02:36 .. 02:39:03 -rw-rw-r-- 1 jenkins jenkins 140 Jan 14 02:36 .dockerignore 02:39:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 02:38 .git 02:39:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 02:36 .github 02:39:03 -rw-rw-r-- 1 jenkins jenkins 264 Jan 14 02:36 .gitignore 02:39:03 -rw-rw-r-- 1 jenkins jenkins 41 Jan 14 02:36 .golangci.yml 02:39:03 drwxr-xr-x 3 jenkins jenkins 4096 Jan 14 02:37 .semver 02:39:03 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 14 02:36 Attribution.txt 02:39:03 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 14 02:36 CHANGELOG.md 02:39:03 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 14 02:36 Dockerfile 02:39:03 -rw-rw-r-- 1 jenkins jenkins 677 Jan 14 02:36 GOVERNANCE.md 02:39:03 -rw-rw-r-- 1 jenkins jenkins 657 Jan 14 02:36 Jenkinsfile 02:39:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 14 02:36 LICENSE 02:39:03 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 14 02:36 Makefile 02:39:03 -rw-rw-r-- 1 jenkins jenkins 620 Jan 14 02:36 OWNERS.md 02:39:03 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 14 02:36 README.md 02:39:03 -rw-rw-r-- 1 jenkins jenkins 11 Jan 14 02:37 VERSION 02:39:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 02:36 bin 02:39:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 02:36 cmd 02:39:03 -rw-r--r-- 1 jenkins jenkins 21039 Jan 14 02:38 coverage.out 02:39:03 -rw-rw-r-- 1 jenkins jenkins 6269 Jan 14 02:36 go.mod 02:39:03 -rw-rw-r-- 1 jenkins jenkins 86632 Jan 14 02:36 go.sum 02:39:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 02:36 internal 02:39:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 02:36 mock 02:39:03 -rw-rw-r-- 1 jenkins jenkins 227 Jan 14 02:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:03 + 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=3549df6dcc703df88a56d94e623ba7f0daa5638e --label arch=amd64 --label version=4.0.0-dev.9 . 02:39:03 Sending build context to Docker daemon 21.13MB 02:39:03 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 02:39:03 Step 2/25 : FROM ${BASE} AS builder 02:39:03 ---> e06f4a510412 02:39:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:39:03 ---> Running in ac04d26cd23a 02:39:03 Removing intermediate container ac04d26cd23a 02:39:03 ---> 95380e2a565a 02:39:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:39:03 ---> Running in bae8c4a28c05 02:39:04 Removing intermediate container bae8c4a28c05 02:39:04 ---> 34435db29325 02:39:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:39:04 ---> Running in 62739954edec 02:39:04 Removing intermediate container 62739954edec 02:39:04 ---> 32d53d6eafd5 02:39:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:39:04 ---> Running in 07f0cae9e468 02:39:04 Removing intermediate container 07f0cae9e468 02:39:04 ---> c2417a6f107d 02:39:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:39:04 ---> Running in bc1221e0a5de 02:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:39:04 OK: 252 MiB in 62 packages 02:39:05 Removing intermediate container bc1221e0a5de 02:39:05 ---> f5630c254cba 02:39:05 Step 8/25 : WORKDIR /device-mqtt-go 02:39:05 ---> Running in 275de5492a56 02:39:05 Removing intermediate container 275de5492a56 02:39:05 ---> 6a55a39dd2bb 02:39:05 Step 9/25 : COPY go.mod vendor* ./ 02:39:05 ---> 9f40c7d84f64 02:39:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:39:05 ---> Running in be3ecf83cd69 02:39:06 Removing intermediate container be3ecf83cd69 02:39:06 ---> 78f9bbec79f1 02:39:06 Step 11/25 : COPY . . 02:39:06 ---> ec8de9c0cf1e 02:39:06 Step 12/25 : RUN $MAKE 02:39:06 ---> Running in 7d12383c2ebb 02:39:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.17 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:39:45 Removing intermediate container 7d12383c2ebb 02:39:45 ---> 8d99b4463a21 02:39:45 Step 13/25 : FROM alpine:3.20 02:39:45 3.20: Pulling from library/alpine 02:39:45 66a3d608f3fa: Pulling fs layer 02:39:45 66a3d608f3fa: Verifying Checksum 02:39:45 66a3d608f3fa: Download complete 02:39:45 66a3d608f3fa: Pull complete 02:39:45 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:39:45 Status: Downloaded newer image for alpine:3.20 02:39:45 ---> e29df9b510ff 02:39:45 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 02:39:45 ---> Running in 6aca81bca79f 02:39:45 Removing intermediate container 6aca81bca79f 02:39:45 ---> c12ed041da57 02:39:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:39:45 ---> Running in a8c6e9604f25 02:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:39:45 (1/1) Installing dumb-init (1.2.5-r3) 02:39:45 Executing busybox-1.36.1-r29.trigger 02:39:45 OK: 8 MiB in 15 packages 02:39:45 Removing intermediate container a8c6e9604f25 02:39:45 ---> 976ad4be5b12 02:39:45 Step 16/25 : RUN apk --no-cache upgrade 02:39:45 ---> Running in 62e5bac904ea 02:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:39:45 OK: 8 MiB in 15 packages 02:39:45 Removing intermediate container 62e5bac904ea 02:39:45 ---> bef5827c4356 02:39:45 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:39:45 ---> ce827aa27aa7 02:39:45 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:39:45 ---> bde797633360 02:39:45 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:39:45 ---> 3480ea50b827 02:39:45 Step 20/25 : EXPOSE 59982 02:39:45 ---> Running in 0c46277974ab 02:39:45 Removing intermediate container 0c46277974ab 02:39:45 ---> cd303d62400b 02:39:45 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:39:45 ---> Running in 6578076d58d9 02:39:45 Removing intermediate container 6578076d58d9 02:39:45 ---> f6babd70970a 02:39:45 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:39:45 ---> Running in 331962c6f405 02:39:45 Removing intermediate container 331962c6f405 02:39:45 ---> 79653ed362ba 02:39:45 Step 23/25 : LABEL arch=amd64 02:39:45 ---> Running in dc804030a384 02:39:45 Removing intermediate container dc804030a384 02:39:45 ---> c8bd4941315b 02:39:45 Step 24/25 : LABEL git_sha=3549df6dcc703df88a56d94e623ba7f0daa5638e 02:39:45 ---> Running in 26966f4aec52 02:39:45 Removing intermediate container 26966f4aec52 02:39:45 ---> 0ca0c252cf50 02:39:45 Step 25/25 : LABEL version=4.0.0-dev.9 02:39:45 ---> Running in f0a97aca2239 02:39:45 Removing intermediate container f0a97aca2239 02:39:45 ---> 9cebd1a1188e 02:39:45 [Warning] One or more build-args [ARCH] were not consumed 02:39:45 Successfully built 9cebd1a1188e 02:39:45 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:46 provisioning config files... 02:39:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4721742346785010852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:46 ---> ****-login.sh 02:39:46 nexus3.edgexfoundry.org:10001 02:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:46 Configure a credential helper to remove this warning. See 02:39:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:46 02:39:46 Login Succeeded 02:39:46 nexus3.edgexfoundry.org:10002 02:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:46 Configure a credential helper to remove this warning. See 02:39:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:46 02:39:46 Login Succeeded 02:39:46 nexus3.edgexfoundry.org:10003 02:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:46 Configure a credential helper to remove this warning. See 02:39:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:46 02:39:46 Login Succeeded 02:39:46 nexus3.edgexfoundry.org:10004 02:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:46 Configure a credential helper to remove this warning. See 02:39:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:46 02:39:46 Login Succeeded 02:39:46 ****.io 02:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:46 Configure a credential helper to remove this warning. See 02:39:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:46 02:39:46 Login Succeeded 02:39:46 ---> ****-login.sh ends [Pipeline] } 02:39:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:39:47 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:39:47 3549df6dcc703df88a56d94e623ba7f0daa5638e 02:39:47 latest 02:39:47 4.0.0-dev.9 02:39:47 3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 02:39:47 main 02:39:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3549df6dcc703df88a56d94e623ba7f0daa5638e 02:39:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:47 c9de461672b9: Preparing 02:39:47 0241b3192a49: Preparing 02:39:47 2c2fa7d6dabe: Preparing 02:39:47 e9bf32c737b9: Preparing 02:39:47 27dd9c7c3875: Preparing 02:39:47 ce5a8cde9eee: Preparing 02:39:47 ce5a8cde9eee: Waiting 02:39:47 0241b3192a49: Pushed 02:39:47 27dd9c7c3875: Pushed 02:39:47 c9de461672b9: Pushed 02:39:47 e9bf32c737b9: Pushed 02:39:47 ce5a8cde9eee: Layer already exists 02:39:51 2c2fa7d6dabe: Pushed 02:39:51 3549df6dcc703df88a56d94e623ba7f0daa5638e: digest: sha256:6326b039eddb651eb2c92a8a4368c56389d8df646af3a5810259a85cf34049ef size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:39:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:52 c9de461672b9: Preparing 02:39:52 0241b3192a49: Preparing 02:39:52 2c2fa7d6dabe: Preparing 02:39:52 e9bf32c737b9: Preparing 02:39:52 27dd9c7c3875: Preparing 02:39:52 ce5a8cde9eee: Preparing 02:39:52 ce5a8cde9eee: Waiting 02:39:52 2c2fa7d6dabe: Layer already exists 02:39:52 27dd9c7c3875: Layer already exists 02:39:52 e9bf32c737b9: Layer already exists 02:39:52 c9de461672b9: Layer already exists 02:39:52 0241b3192a49: Layer already exists 02:39:52 ce5a8cde9eee: Layer already exists 02:39:52 latest: digest: sha256:6326b039eddb651eb2c92a8a4368c56389d8df646af3a5810259a85cf34049ef size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.9 02:39:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:53 c9de461672b9: Preparing 02:39:53 0241b3192a49: Preparing 02:39:53 2c2fa7d6dabe: Preparing 02:39:53 e9bf32c737b9: Preparing 02:39:53 27dd9c7c3875: Preparing 02:39:53 ce5a8cde9eee: Preparing 02:39:53 ce5a8cde9eee: Waiting 02:39:53 0241b3192a49: Layer already exists 02:39:53 e9bf32c737b9: Layer already exists 02:39:53 c9de461672b9: Layer already exists 02:39:53 27dd9c7c3875: Layer already exists 02:39:53 2c2fa7d6dabe: Layer already exists 02:39:53 ce5a8cde9eee: Layer already exists 02:39:53 4.0.0-dev.9: digest: sha256:6326b039eddb651eb2c92a8a4368c56389d8df646af3a5810259a85cf34049ef size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 02:39:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:53 c9de461672b9: Preparing 02:39:53 0241b3192a49: Preparing 02:39:53 2c2fa7d6dabe: Preparing 02:39:53 e9bf32c737b9: Preparing 02:39:53 27dd9c7c3875: Preparing 02:39:53 ce5a8cde9eee: Preparing 02:39:53 ce5a8cde9eee: Waiting 02:39:53 2c2fa7d6dabe: Layer already exists 02:39:53 c9de461672b9: Layer already exists 02:39:53 e9bf32c737b9: Layer already exists 02:39:53 27dd9c7c3875: Layer already exists 02:39:53 0241b3192a49: Layer already exists 02:39:53 ce5a8cde9eee: Layer already exists 02:39:53 3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9: digest: sha256:6326b039eddb651eb2c92a8a4368c56389d8df646af3a5810259a85cf34049ef size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:39:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:39:54 c9de461672b9: Preparing 02:39:54 0241b3192a49: Preparing 02:39:54 2c2fa7d6dabe: Preparing 02:39:54 e9bf32c737b9: Preparing 02:39:54 27dd9c7c3875: Preparing 02:39:54 ce5a8cde9eee: Preparing 02:39:54 c9de461672b9: Layer already exists 02:39:54 0241b3192a49: Layer already exists 02:39:54 2c2fa7d6dabe: Layer already exists 02:39:54 e9bf32c737b9: Layer already exists 02:39:54 27dd9c7c3875: Layer already exists 02:39:54 ce5a8cde9eee: Layer already exists 02:39:54 main: digest: sha256:6326b039eddb651eb2c92a8a4368c56389d8df646af3a5810259a85cf34049ef size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:54 ===================================================== [Pipeline] echo 02:39:54 taggedImages: 02:39:54 - nexus3.edgexfoundry.org:10004/device-mqtt:3549df6dcc703df88a56d94e623ba7f0daa5638e 02:39:54 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:39:54 - nexus3.edgexfoundry.org:10004/device-mqtt:4.0.0-dev.9 02:39:54 - nexus3.edgexfoundry.org:10004/device-mqtt:3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 02:39:54 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:55 02:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:55 latest: Pulling from edgex-lftools-log-publisher 02:39:55 5eb5b503b376: Pulling fs layer 02:39:55 5c69ac0246d0: Pulling fs layer 02:39:55 ec43610c2a17: Pulling fs layer 02:39:55 3a2ae6a8a46f: Pulling fs layer 02:39:55 33b1e0a273af: Pulling fs layer 02:39:55 3a2ae6a8a46f: Waiting 02:39:55 5d3b04190fa2: Pulling fs layer 02:39:55 2f39f015ded8: Pulling fs layer 02:39:55 33b1e0a273af: Waiting 02:39:55 2f39f015ded8: Waiting 02:39:55 5c69ac0246d0: Download complete 02:39:55 3a2ae6a8a46f: Verifying Checksum 02:39:55 3a2ae6a8a46f: Download complete 02:39:55 33b1e0a273af: Verifying Checksum 02:39:55 33b1e0a273af: Download complete 02:39:55 5d3b04190fa2: Verifying Checksum 02:39:55 5d3b04190fa2: Download complete 02:39:55 ec43610c2a17: Verifying Checksum 02:39:55 ec43610c2a17: Download complete 02:39:55 5eb5b503b376: Verifying Checksum 02:39:55 5eb5b503b376: Download complete 02:39:57 5eb5b503b376: Pull complete 02:39:57 5c69ac0246d0: Pull complete 02:39:57 ec43610c2a17: Pull complete 02:39:57 3a2ae6a8a46f: Pull complete 02:39:57 33b1e0a273af: Pull complete 02:39:57 5d3b04190fa2: Pull complete 02:40:03 2f39f015ded8: Pull complete 02:40:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:40:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:03 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:40:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:40:08 $ docker top 7d4e1ee5b80bdb40775c3e0ebd869c642a175782910f3051312d6bab7a4a4742 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:09 ---> job-cost.sh 02:40:09 lf-activate-venv: SKIPPING 02:40:09 INFO: No Stack... 02:40:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:40:09 INFO: Archiving Costs [Pipeline] sh 02:40:10 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:40:10 + cut -d, -f6 [Pipeline] lock 02:40:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] 02:40:10 Resource [jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] did not exist. Created. 02:40:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:40:10 + echo total: 0.2199999988079071 [Pipeline] stash 02:40:10 Stashed 1 file(s) [Pipeline] } 02:40:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] [Pipeline] // lock [Pipeline] } 02:40:10 $ docker stop --time=1 7d4e1ee5b80bdb40775c3e0ebd869c642a175782910f3051312d6bab7a4a4742 02:40:11 $ docker rm -f --volumes 7d4e1ee5b80bdb40775c3e0ebd869c642a175782910f3051312d6bab7a4a4742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:41:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-36673 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:41:01 Running in /w/workspace/device-mqtt-go/187 [Pipeline] { [Pipeline] checkout 02:41:04 The recommended git tool is: git 02:41:09 using credential edgex-jenkins-ssh 02:41:10 Cloning the remote Git repository 02:41:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:41:10 > git init /w/workspace/device-mqtt-go/187 # timeout=10 02:41:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:41:10 > git --version # timeout=10 02:41:10 > git --version # 'git version 2.25.1' 02:41:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:41:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:14 Avoid second fetch 02:41:14 Checking out Revision 3549df6dcc703df88a56d94e623ba7f0daa5638e (main) 02:41:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:41:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:14 > git config core.sparsecheckout # timeout=10 02:41:14 Commit message: "Merge pull request #722 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.17" 02:41:14 > git checkout -f 3549df6dcc703df88a56d94e623ba7f0daa5638e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:41:19 % Total % Received % Xferd Average Speed Time Time Time Current 02:41:19 Dload Upload Total Spent Left Speed 02:41:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 88468 0 --:--:-- --:--:-- --:--:-- 89083 [Pipeline] sh 02:41:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:41:20 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 02:41:20 02:41:20 { 02:41:20 "registry-mirrors": [ 02:41:20 "https://nexus3.edgexfoundry.org:10001" 02:41:20 ], 02:41:20 "bip": "10.250.0.254/24", 02:41:20 "hosts": [ 02:41:20 "tcp://0.0.0.0:5555", 02:41:20 "unix:///var/run/docker.sock" 02:41:20 ], 02:41:20 "mtu": 1458, 02:41:20 "selinux-enabled": true, 02:41:20 "seccomp-profile": "/etc/docker/seccomp.json" 02:41:20 } [Pipeline] sh 02:41:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:41:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:41:39 provisioning config files... 02:41:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/187@tmp/config5895037185514790144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:39 ---> ****-login.sh 02:41:39 nexus3.edgexfoundry.org:10001 02:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:40 Configure a credential helper to remove this warning. See 02:41:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:40 02:41:40 Login Succeeded 02:41:40 nexus3.edgexfoundry.org:10002 02:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:40 Configure a credential helper to remove this warning. See 02:41:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:40 02:41:40 Login Succeeded 02:41:40 nexus3.edgexfoundry.org:10003 02:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 nexus3.edgexfoundry.org:10004 02:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 ****.io 02:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:41 Configure a credential helper to remove this warning. See 02:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:41 02:41:41 Login Succeeded 02:41:41 ---> ****-login.sh ends [Pipeline] } 02:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:41:42 ========================================================= 02:41:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:41:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 02:41:44 #0 building with "default" instance using docker driver 02:41:44 02:41:44 #1 [internal] load build definition from Dockerfile 02:41:44 #1 transferring dockerfile: 1.84kB 0.0s done 02:41:44 #1 DONE 0.1s 02:41:44 02:41:44 #2 [internal] load .dockerignore 02:41:44 #2 transferring context: 182B done 02:41:44 #2 DONE 0.1s 02:41:44 02:41:44 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:41:44 #3 DONE 0.1s 02:41:44 02:41:44 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:41:44 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 02:41:44 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 1.44MB / 70.67MB 0.2s 02:41:44 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 3.30MB / 4.09MB 0.2s 02:41:44 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 02:41:44 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 02:41:44 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 0B / 126B 0.2s 02:41:44 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 02:41:44 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.2s done 02:41:44 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 02:41:44 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 0B / 441B 0.3s 02:41:44 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 7.57MB / 70.67MB 0.4s 02:41:44 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.2s done 02:41:44 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s done 02:41:44 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 02:41:44 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.4s done 02:41:44 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 0B / 98.78MB 0.4s 02:41:44 #4 ... 02:41:44 02:41:44 #5 [internal] load build context 02:41:44 #5 transferring context: 10.54MB 0.5s done 02:41:44 #5 DONE 0.6s 02:41:44 02:41:44 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:41:44 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.10MB / 12.74MB 0.5s 02:41:44 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 14.68MB / 70.67MB 0.6s 02:41:44 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.24MB / 98.78MB 0.6s 02:41:44 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 5.24MB / 12.74MB 0.6s 02:41:44 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 18.87MB / 70.67MB 0.7s 02:41:44 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 02:41:44 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 9.44MB / 12.74MB 0.7s 02:41:44 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 28.57MB / 70.67MB 0.9s 02:41:44 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 19.30MB / 98.78MB 0.9s 02:41:44 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s done 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 33.55MB / 70.67MB 1.0s 02:41:45 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 40.89MB / 70.67MB 1.2s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 35.65MB / 98.78MB 1.2s 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 46.14MB / 70.67MB 1.3s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 40.89MB / 98.78MB 1.3s 02:41:45 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 52.43MB / 70.67MB 1.5s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 51.38MB / 98.78MB 1.5s 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 57.67MB / 70.67MB 1.6s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 56.62MB / 98.78MB 1.6s 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 62.91MB / 70.67MB 1.7s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 61.87MB / 98.78MB 1.7s 02:41:45 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.06MB / 70.67MB 1.8s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 67.11MB / 98.78MB 1.8s 02:41:45 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 73.75MB / 98.78MB 1.9s 02:41:45 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 02:41:46 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.9s done 02:41:46 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 85.98MB / 98.78MB 2.1s 02:41:46 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 91.45MB / 98.78MB 2.2s 02:41:46 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 97.52MB / 98.78MB 2.3s 02:41:46 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.4s done 02:41:53 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.2s 02:41:57 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.2s 02:42:05 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 18.8s done 02:42:07 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 02:42:07 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:42:07 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 02:42:07 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 02:42:07 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 02:42:07 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 02:42:12 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.2s 02:42:16 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.2s done 02:42:16 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 02:42:17 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 1.8s done 02:42:18 #4 DONE 34.0s 02:42:18 02:42:18 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:42:18 #6 0.708 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:42:19 #6 1.058 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:42:20 #6 2.441 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:42:20 #6 2.464 (2/4) Installing libedit (20240517.3.1-r0) 02:42:20 #6 2.476 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:42:20 #6 2.539 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:42:20 #6 2.564 Executing busybox-1.36.1-r29.trigger 02:42:20 #6 2.601 OK: 244 MiB in 62 packages 02:42:22 #6 DONE 4.5s 02:42:22 02:42:22 #7 [builder 3/7] WORKDIR /device-mqtt-go 02:42:22 #7 DONE 0.1s 02:42:22 02:42:22 #8 [builder 4/7] COPY go.mod vendor* ./ 02:42:22 #8 DONE 0.2s 02:42:22 02:42:22 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:55 #9 DONE 30.6s 02:42:55 02:42:55 #10 [builder 6/7] COPY . . 02:42:55 #10 DONE 0.3s 02:42:55 02:42:55 #11 [builder 7/7] RUN echo noop 02:42:55 #11 0.577 noop 02:42:55 #11 DONE 0.7s 02:42:55 02:42:55 #12 exporting to image 02:42:55 #12 exporting layers 02:43:34 #12 exporting layers 34.3s done 02:43:34 #12 writing image sha256:e99f261ee526cb6a71b51f4df37083d9dde1382904b934069dd676c85a45426a done 02:43:34 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:43:34 #12 DONE 34.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:34 + docker inspect -f . ci-base-image-arm64 02:43:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:34 prd-ubuntu20.04-docker-arm64-4c-16g-36673 does not seem to be running inside a container 02:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/187 -v /w/workspace/device-mqtt-go/187:/w/workspace/device-mqtt-go/187:rw,z -v /w/workspace/device-mqtt-go/187@tmp:/w/workspace/device-mqtt-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:43:35 $ docker top 1da411937dd9de124bc8f79c71526742730fbfa212b89f19c25c87bccc7c53c4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:36 + go version 02:43:36 go version go1.23.4 linux/arm64 [Pipeline] } 02:43:36 $ docker stop --time=1 1da411937dd9de124bc8f79c71526742730fbfa212b89f19c25c87bccc7c53c4 02:43:38 $ docker rm -f --volumes 1da411937dd9de124bc8f79c71526742730fbfa212b89f19c25c87bccc7c53c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:38 + docker inspect -f . ci-base-image-arm64 02:43:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:39 prd-ubuntu20.04-docker-arm64-4c-16g-36673 does not seem to be running inside a container 02:43:39 $ 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/187 -v /w/workspace/device-mqtt-go/187:/w/workspace/device-mqtt-go/187:rw,z -v /w/workspace/device-mqtt-go/187@tmp:/w/workspace/device-mqtt-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:43:40 $ docker top 711d41a137b2d6ade45b2d58229c233b52812afceea9cc9317773ecaf48b5480 -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:40 + git config --global --add safe.directory /w/workspace/device-mqtt-go/187 [Pipeline] fileExists [Pipeline] sh 02:43:40 + make test 02:43:40 go test ./... -coverprofile=coverage.out ./... 02:43:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:45:52 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 02:45:52 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 02:45:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.045s coverage: 22.8% of statements 02:45:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:45:52 go vet ./... 02:46:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:11 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:46:11 $ docker stop --time=1 711d41a137b2d6ade45b2d58229c233b52812afceea9cc9317773ecaf48b5480 02:46:13 $ docker rm -f --volumes 711d41a137b2d6ade45b2d58229c233b52812afceea9cc9317773ecaf48b5480 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:14 Warning: overwriting stash ‘coverage-report’ 02:46:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:15 + ls -al . 02:46:15 total 248 02:46:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 02:43 . 02:46:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 02:41 .. 02:46:15 -rw-rw-r-- 1 jenkins jenkins 140 Jan 14 02:41 .dockerignore 02:46:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 02:41 .git 02:46:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 02:41 .github 02:46:15 -rw-rw-r-- 1 jenkins jenkins 264 Jan 14 02:41 .gitignore 02:46:15 -rw-rw-r-- 1 jenkins jenkins 41 Jan 14 02:41 .golangci.yml 02:46:15 -rw-rw-r-- 1 jenkins jenkins 19106 Jan 14 02:41 Attribution.txt 02:46:15 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 14 02:41 CHANGELOG.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 1803 Jan 14 02:41 Dockerfile 02:46:15 -rw-rw-r-- 1 jenkins jenkins 677 Jan 14 02:41 GOVERNANCE.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 657 Jan 14 02:41 Jenkinsfile 02:46:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 14 02:41 LICENSE 02:46:15 -rw-rw-r-- 1 jenkins jenkins 2545 Jan 14 02:41 Makefile 02:46:15 -rw-rw-r-- 1 jenkins jenkins 620 Jan 14 02:41 OWNERS.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 14 02:41 README.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 11 Jan 14 02:37 VERSION 02:46:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 02:41 bin 02:46:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 02:41 cmd 02:46:15 -rw-r--r-- 1 jenkins jenkins 21039 Jan 14 02:45 coverage.out 02:46:15 -rw-rw-r-- 1 jenkins jenkins 6269 Jan 14 02:41 go.mod 02:46:15 -rw-rw-r-- 1 jenkins jenkins 86632 Jan 14 02:41 go.sum 02:46:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 02:41 internal 02:46:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 02:41 mock 02:46:15 -rw-rw-r-- 1 jenkins jenkins 227 Jan 14 02:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:16 + 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=3549df6dcc703df88a56d94e623ba7f0daa5638e --label arch=arm64 --label version=4.0.0-dev.9 . 02:46:17 #0 building with "default" instance using docker driver 02:46:17 02:46:17 #1 [internal] load .dockerignore 02:46:17 #1 transferring context: 182B 0.0s done 02:46:17 #1 DONE 0.0s 02:46:17 02:46:17 #2 [internal] load build definition from Dockerfile 02:46:17 #2 transferring dockerfile: 1.84kB 0.0s done 02:46:17 #2 DONE 0.0s 02:46:17 02:46:17 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:46:17 #3 DONE 0.0s 02:46:17 02:46:17 #4 [internal] load metadata for docker.io/library/alpine:3.20 02:46:17 #4 DONE 0.7s 02:46:17 02:46:17 #5 [internal] load build context 02:46:17 #5 transferring context: 28.36kB 0.1s done 02:46:17 #5 DONE 0.1s 02:46:17 02:46:17 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:46:17 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.1s done 02:46:17 #6 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 02:46:17 #6 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 02:46:17 #6 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 02:46:17 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0B / 4.09MB 0.1s 02:46:18 #6 ... 02:46:18 02:46:18 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:46:18 #7 DONE 0.2s 02:46:18 02:46:18 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:46:18 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 1.05MB / 4.09MB 0.2s 02:46:18 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 02:46:18 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.3s done 02:46:18 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.4s done 02:46:18 #6 DONE 1.1s 02:46:18 02:46:18 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:46:19 #8 0.633 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:46:19 #8 0.933 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:46:21 #8 ... 02:46:21 02:46:21 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:46:21 #9 0.706 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:46:21 #9 1.125 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:46:21 #9 2.624 OK: 244 MiB in 62 packages 02:46:21 #9 DONE 3.0s 02:46:21 02:46:21 #10 [builder 3/7] WORKDIR /device-mqtt-go 02:46:21 #10 DONE 0.1s 02:46:21 02:46:21 #11 [builder 4/7] COPY go.mod vendor* ./ 02:46:21 #11 DONE 0.1s 02:46:21 02:46:21 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:46:21 #8 2.373 (1/1) Installing dumb-init (1.2.5-r3) 02:46:21 #8 2.409 Executing busybox-1.36.1-r29.trigger 02:46:21 #8 2.435 OK: 9 MiB in 15 packages 02:46:21 #8 DONE 2.8s 02:46:21 02:46:21 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:46:22 #12 0.783 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:46:22 #12 ... 02:46:22 02:46:22 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:22 #13 DONE 1.5s 02:46:22 02:46:22 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:46:22 #12 1.148 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:46:23 #12 ... 02:46:23 02:46:23 #14 [builder 6/7] COPY . . 02:46:23 #14 DONE 0.4s 02:46:23 02:46:23 #15 [builder 7/7] RUN make build 02:46:23 #15 0.660 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.0.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.17 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:46:25 #15 ... 02:46:25 02:46:25 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:46:25 #12 2.748 OK: 9 MiB in 15 packages 02:46:25 #12 DONE 3.2s 02:46:25 02:46:25 #15 [builder 7/7] RUN make build 02:48:31 #15 DONE 122.4s 02:48:31 02:48:31 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 02:48:31 #16 DONE 0.5s 02:48:31 02:48:31 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 02:48:31 #17 DONE 0.1s 02:48:31 02:48:31 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 02:48:31 #18 DONE 0.1s 02:48:31 02:48:31 #19 exporting to image 02:48:31 #19 exporting layers 02:48:31 #19 exporting layers 0.7s done 02:48:31 #19 writing image sha256:f8db07e6dba2cab9ab059c01f23233af127894780b0759bf3aa22759ae458b01 done 02:48:31 #19 naming to docker.io/library/device-mqtt-arm64 done 02:48:31 #19 DONE 0.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:32 provisioning config files... 02:48:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/187@tmp/config17059001626714766175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:32 ---> ****-login.sh 02:48:32 nexus3.edgexfoundry.org:10001 02:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:32 Configure a credential helper to remove this warning. See 02:48:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:32 02:48:32 Login Succeeded 02:48:32 nexus3.edgexfoundry.org:10002 02:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:32 Configure a credential helper to remove this warning. See 02:48:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:32 02:48:32 Login Succeeded 02:48:32 nexus3.edgexfoundry.org:10003 02:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:33 Configure a credential helper to remove this warning. See 02:48:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:33 02:48:33 Login Succeeded 02:48:33 nexus3.edgexfoundry.org:10004 02:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:33 Configure a credential helper to remove this warning. See 02:48:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:33 02:48:33 Login Succeeded 02:48:33 ****.io 02:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:33 Configure a credential helper to remove this warning. See 02:48:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:33 02:48:33 Login Succeeded 02:48:33 ---> ****-login.sh ends [Pipeline] } 02:48:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:48:34 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:48:34 3549df6dcc703df88a56d94e623ba7f0daa5638e 02:48:34 latest 02:48:34 4.0.0-dev.9 02:48:34 3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 02:48:34 main 02:48:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3549df6dcc703df88a56d94e623ba7f0daa5638e 02:48:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:34 927eeae57db6: Preparing 02:48:34 5cd2270393c7: Preparing 02:48:34 b2e5416ca48f: Preparing 02:48:34 79bc63523ae0: Preparing 02:48:34 c69cf622891c: Preparing 02:48:34 534a70dc8296: Preparing 02:48:34 534a70dc8296: Waiting 02:48:35 927eeae57db6: Pushed 02:48:35 5cd2270393c7: Pushed 02:48:35 c69cf622891c: Pushed 02:48:35 79bc63523ae0: Pushed 02:48:35 534a70dc8296: Layer already exists 02:48:45 b2e5416ca48f: Pushed 02:48:45 3549df6dcc703df88a56d94e623ba7f0daa5638e: digest: sha256:c3b0fd42a85369d70e06f3818d35fd522b47d707a9fa2e44ca39325132233817 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:48:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:45 927eeae57db6: Preparing 02:48:45 5cd2270393c7: Preparing 02:48:45 b2e5416ca48f: Preparing 02:48:45 79bc63523ae0: Preparing 02:48:45 c69cf622891c: Preparing 02:48:45 534a70dc8296: Preparing 02:48:45 534a70dc8296: Waiting 02:48:45 c69cf622891c: Layer already exists 02:48:45 927eeae57db6: Layer already exists 02:48:45 5cd2270393c7: Layer already exists 02:48:45 79bc63523ae0: Layer already exists 02:48:45 b2e5416ca48f: Layer already exists 02:48:45 534a70dc8296: Layer already exists 02:48:46 latest: digest: sha256:c3b0fd42a85369d70e06f3818d35fd522b47d707a9fa2e44ca39325132233817 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.9 02:48:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:46 927eeae57db6: Preparing 02:48:46 5cd2270393c7: Preparing 02:48:46 b2e5416ca48f: Preparing 02:48:46 79bc63523ae0: Preparing 02:48:46 c69cf622891c: Preparing 02:48:46 534a70dc8296: Preparing 02:48:46 534a70dc8296: Waiting 02:48:46 b2e5416ca48f: Layer already exists 02:48:46 79bc63523ae0: Layer already exists 02:48:46 927eeae57db6: Layer already exists 02:48:46 c69cf622891c: Layer already exists 02:48:46 5cd2270393c7: Layer already exists 02:48:46 534a70dc8296: Layer already exists 02:48:47 4.0.0-dev.9: digest: sha256:c3b0fd42a85369d70e06f3818d35fd522b47d707a9fa2e44ca39325132233817 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 02:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:47 927eeae57db6: Preparing 02:48:47 5cd2270393c7: Preparing 02:48:47 b2e5416ca48f: Preparing 02:48:47 79bc63523ae0: Preparing 02:48:47 c69cf622891c: Preparing 02:48:47 534a70dc8296: Preparing 02:48:47 534a70dc8296: Waiting 02:48:47 5cd2270393c7: Layer already exists 02:48:47 927eeae57db6: Layer already exists 02:48:47 b2e5416ca48f: Layer already exists 02:48:47 79bc63523ae0: Layer already exists 02:48:47 c69cf622891c: Layer already exists 02:48:47 534a70dc8296: Layer already exists 02:48:48 3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9: digest: sha256:c3b0fd42a85369d70e06f3818d35fd522b47d707a9fa2e44ca39325132233817 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:48:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:48:48 927eeae57db6: Preparing 02:48:48 5cd2270393c7: Preparing 02:48:48 b2e5416ca48f: Preparing 02:48:48 79bc63523ae0: Preparing 02:48:48 c69cf622891c: Preparing 02:48:48 534a70dc8296: Preparing 02:48:48 534a70dc8296: Waiting 02:48:48 b2e5416ca48f: Layer already exists 02:48:48 79bc63523ae0: Layer already exists 02:48:48 927eeae57db6: Layer already exists 02:48:48 5cd2270393c7: Layer already exists 02:48:48 c69cf622891c: Layer already exists 02:48:48 534a70dc8296: Layer already exists 02:48:49 main: digest: sha256:c3b0fd42a85369d70e06f3818d35fd522b47d707a9fa2e44ca39325132233817 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:49 ===================================================== [Pipeline] echo 02:48:49 taggedImages: 02:48:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3549df6dcc703df88a56d94e623ba7f0daa5638e 02:48:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:48:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.0.0-dev.9 02:48:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3549df6dcc703df88a56d94e623ba7f0daa5638e-4.0.0-dev.9 02:48:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:49 02:48:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:50 arm64: Pulling from edgex-lftools-log-publisher 02:48:50 8998bd30e6a1: Pulling fs layer 02:48:50 04944245beec: Pulling fs layer 02:48:50 699f458cf7ca: Pulling fs layer 02:48:50 765212b225bb: Pulling fs layer 02:48:50 f23df028b6ca: Pulling fs layer 02:48:50 d65c8cfc05b1: Pulling fs layer 02:48:50 765212b225bb: Waiting 02:48:50 f23df028b6ca: Waiting 02:48:50 2437ff75d9bd: Pulling fs layer 02:48:50 d65c8cfc05b1: Waiting 02:48:50 2437ff75d9bd: Waiting 02:48:50 04944245beec: Verifying Checksum 02:48:50 04944245beec: Download complete 02:48:50 765212b225bb: Verifying Checksum 02:48:50 765212b225bb: Download complete 02:48:50 f23df028b6ca: Verifying Checksum 02:48:50 f23df028b6ca: Download complete 02:48:50 d65c8cfc05b1: Download complete 02:48:50 699f458cf7ca: Verifying Checksum 02:48:50 699f458cf7ca: Download complete 02:48:51 8998bd30e6a1: Verifying Checksum 02:48:51 8998bd30e6a1: Download complete 02:48:53 2437ff75d9bd: Download complete 02:48:57 8998bd30e6a1: Pull complete 02:48:57 04944245beec: Pull complete 02:48:59 699f458cf7ca: Pull complete 02:48:59 765212b225bb: Pull complete 02:49:00 f23df028b6ca: Pull complete 02:49:00 d65c8cfc05b1: Pull complete 02:49:27 2437ff75d9bd: Pull complete 02:49:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:49:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:27 prd-ubuntu20.04-docker-arm64-4c-16g-36673 does not seem to be running inside a container 02:49:27 $ 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/187 -v /w/workspace/device-mqtt-go/187:/w/workspace/device-mqtt-go/187:rw,z -v /w/workspace/device-mqtt-go/187@tmp:/w/workspace/device-mqtt-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:49:29 $ docker top 839ad6419698d704afd35f44928202f79f531b60eaab479b2cb5e5cc0d9673f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:30 ---> job-cost.sh 02:49:30 lf-activate-venv: SKIPPING 02:49:30 INFO: No Stack... 02:49:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:49:31 INFO: Archiving Costs [Pipeline] sh 02:49:32 + cat /w/workspace/device-mqtt-go/187/archives/cost.csv 02:49:32 + cut -d, -f6 [Pipeline] lock 02:49:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] 02:49:32 Resource [jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] did not exist. Created. 02:49:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:32 /w/workspace/device-mqtt-go/187@tmp/durable-1096cf60/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:49:32 + echo total: 0.2199999988079071 [Pipeline] stash 02:49:32 Warning: overwriting stash ‘stack-cost’ 02:49:33 Stashed 1 file(s) [Pipeline] } 02:49:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-187-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:33 $ docker stop --time=1 839ad6419698d704afd35f44928202f79f531b60eaab479b2cb5e5cc0d9673f9 02:49:34 $ docker rm -f --volumes 839ad6419698d704afd35f44928202f79f531b60eaab479b2cb5e5cc0d9673f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:49:34 provisioning config files... 02:49:34 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14024349027281140963tmp [Pipeline] { [Pipeline] sh 02:49:35 + set +x 02:49:35 + curl -s https://codecov.io/bash 02:49:35 + bash -s -- 02:49:35 02:49:35 _____ _ 02:49:35 / ____| | | 02:49:35 | | ___ __| | ___ ___ _____ __ 02:49:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:35 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:35 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:35 Bash-1.0.6 02:49:35 02:49:35 02:49:35 ==> git version 2.25.1 found 02:49:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:49:35 Release-Date: 2020-01-08 02:49:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:49:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:49:35 ==> Jenkins CI detected. 02:49:35 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:49:35 project root: . 02:49:35 --> token set from env 02:49:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:35 ==> Running gcov in . (disable via -X gcov) 02:49:35 ==> Python coveragepy not found 02:49:35 ==> Searching for coverage reports in: 02:49:35 + . 02:49:35 -> Found 1 reports 02:49:35 ==> Detecting git/mercurial file structure 02:49:35 ==> Reading reports 02:49:35 + ./coverage.out bytes=21039 02:49:35 ==> Appending adjustments 02:49:35 https://docs.codecov.io/docs/fixing-reports 02:49:35 + Found adjustments 02:49:35 ==> Gzipping contents 02:49:35 4.0K /tmp/codecov.juX6Cp.gz 02:49:35 ==> Uploading reports 02:49:35 url: https://codecov.io 02:49:35 query: branch=main&commit=3549df6dcc703df88a56d94e623ba7f0daa5638e&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F187%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:35 -> Pinging Codecov 02:49:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3549df6dcc703df88a56d94e623ba7f0daa5638e&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F187%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:35 -> Uploading to 02:49:35 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-mqtt-go/3549df6dcc703df88a56d94e623ba7f0daa5638e/cd4f28c2-f70d-40ca-a56f-bb88c3318c5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250114%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250114T024935Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=47d836371a366cfe6511d59e1c8e523a437083f3a20d1bffa71b2e7583a7d185 02:49:35 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:35 Dload Upload Total Spent Left Speed 02:49:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 19011 --:--:-- --:--:-- --:--:-- 19011 02:49:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] } 02:49:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:49:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:49:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:36 02:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:36 latest: Pulling from edgex-devops/edgex-snyk-go 02:49:36 43c4264eed91: Pulling fs layer 02:49:36 4cc291be95ef: Pulling fs layer 02:49:36 2ac1f1163629: Pulling fs layer 02:49:36 5c3c966382ef: Pulling fs layer 02:49:36 4f4fb700ef54: Pulling fs layer 02:49:36 d9c7d2e4e75e: Pulling fs layer 02:49:36 9c3e1370e548: Pulling fs layer 02:49:36 4f4fb700ef54: Waiting 02:49:36 d9c7d2e4e75e: Waiting 02:49:36 9c3e1370e548: Waiting 02:49:36 4cc291be95ef: Verifying Checksum 02:49:36 4cc291be95ef: Download complete 02:49:36 5c3c966382ef: Verifying Checksum 02:49:36 5c3c966382ef: Download complete 02:49:36 4f4fb700ef54: Verifying Checksum 02:49:36 4f4fb700ef54: Download complete 02:49:36 43c4264eed91: Download complete 02:49:37 43c4264eed91: Pull complete 02:49:37 d9c7d2e4e75e: Verifying Checksum 02:49:37 d9c7d2e4e75e: Download complete 02:49:37 4cc291be95ef: Pull complete 02:49:37 2ac1f1163629: Verifying Checksum 02:49:37 2ac1f1163629: Download complete 02:49:38 9c3e1370e548: Verifying Checksum 02:49:38 9c3e1370e548: Download complete 02:49:40 2ac1f1163629: Pull complete 02:49:40 5c3c966382ef: Pull complete 02:49:40 4f4fb700ef54: Pull complete 02:49:41 d9c7d2e4e75e: Pull complete 02:49:44 9c3e1370e548: Pull complete 02:49:44 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:49:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:44 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:49:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:49:51 $ docker top f7fd6f68797531d3370cb1071133eb7f61b081d3bbc54d00729e3a4a91ca21fb -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 02:49:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:49:51 + set -o pipefail 02:49:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:49:59 02:49:59 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:49:59 02:49:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/c2c3180c-0cd4-418c-bbde-b3e347184ed9 02:49:59 02:49:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:49:59 02:49:59 02:49:59 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:49:59 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:49:59 $ docker stop --time=1 f7fd6f68797531d3370cb1071133eb7f61b081d3bbc54d00729e3a4a91ca21fb 02:50:06 $ docker rm -f --volumes f7fd6f68797531d3370cb1071133eb7f61b081d3bbc54d00729e3a4a91ca21fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:50:07 + git log --format=format:%s -1 3549df6dcc703df88a56d94e623ba7f0daa5638e [Pipeline] sh 02:50:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:08 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:50:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:08 $ docker top e63fa8d393d58033589b5a596822ac5c97c6ecbbbc1ecf2bc8e1419ca765433d -eo pid,comm 02:50:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:50:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:08 [ssh-agent] Looking for ssh-agent implementation... 02:50:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:09 $ docker exec e63fa8d393d58033589b5a596822ac5c97c6ecbbbc1ecf2bc8e1419ca765433d ssh-agent 02:50:09 SSH_AUTH_SOCK=/tmp/ssh-iJzjz0Ny4RRs/agent.33 02:50:09 SSH_AGENT_PID=39 02:50:09 Running ssh-add (command line suppressed) 02:50:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2775147222734898235.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2775147222734898235.key) 02:50:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:09 + git semver tag 02:50:09 2025-01-14 02:50:09,794 [run_tag] DEBUG tag force:False 02:50:09 2025-01-14 02:50:09,795 [check_head_tag] DEBUG check head tag 02:50:09 2025-01-14 02:50:09,796 [execute] INFO git cat-file --batch-check 02:50:09 2025-01-14 02:50:09,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:50:09 2025-01-14 02:50:09,799 [execute] INFO git cat-file --batch 02:50:09 2025-01-14 02:50:09,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:50:09 2025-01-14 02:50:09,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:09 2025-01-14 02:50:09,822 [execute] INFO git tag -a v4.0.0-dev.9 -m v4.0.0-dev.9 02:50:09 2025-01-14 02:50:09,822 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.9', '-m', 'v4.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:50:09 2025-01-14 02:50:09,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:09 4.0.0-dev.9 [Pipeline] } 02:50:09 $ docker exec --env ******** --env ******** e63fa8d393d58033589b5a596822ac5c97c6ecbbbc1ecf2bc8e1419ca765433d ssh-agent -k 02:50:09 unset SSH_AUTH_SOCK; 02:50:09 unset SSH_AGENT_PID; 02:50:09 echo Agent pid 39 killed; 02:50:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:10 + git semver [Pipeline] } 02:50:10 $ docker stop --time=1 e63fa8d393d58033589b5a596822ac5c97c6ecbbbc1ecf2bc8e1419ca765433d 02:50:11 $ docker rm -f --volumes e63fa8d393d58033589b5a596822ac5c97c6ecbbbc1ecf2bc8e1419ca765433d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:12 02:50:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:12 0.23.1-centos7: Pulling from edgex-lftools 02:50:12 ab5ef0e58194: Pulling fs layer 02:50:12 9712f1f96733: Pulling fs layer 02:50:12 63f879dbbcfc: Pulling fs layer 02:50:12 0d9ebad4ef96: Pulling fs layer 02:50:12 e9a5061849ea: Pulling fs layer 02:50:12 d747dcd14b5f: Pulling fs layer 02:50:12 2de7ff778b66: Pulling fs layer 02:50:12 0d9ebad4ef96: Waiting 02:50:12 e9a5061849ea: Waiting 02:50:12 d747dcd14b5f: Waiting 02:50:12 2de7ff778b66: Waiting 02:50:12 9712f1f96733: Verifying Checksum 02:50:12 9712f1f96733: Download complete 02:50:12 63f879dbbcfc: Verifying Checksum 02:50:12 63f879dbbcfc: Download complete 02:50:13 e9a5061849ea: Verifying Checksum 02:50:13 e9a5061849ea: Download complete 02:50:13 d747dcd14b5f: Download complete 02:50:13 0d9ebad4ef96: Verifying Checksum 02:50:13 0d9ebad4ef96: Download complete 02:50:13 ab5ef0e58194: Download complete 02:50:13 2de7ff778b66: Verifying Checksum 02:50:13 2de7ff778b66: Download complete 02:50:15 ab5ef0e58194: Pull complete 02:50:15 9712f1f96733: Pull complete 02:50:16 63f879dbbcfc: Pull complete 02:50:20 0d9ebad4ef96: Pull complete 02:50:20 e9a5061849ea: Pull complete 02:50:20 d747dcd14b5f: Pull complete 02:50:20 2de7ff778b66: Pull complete 02:50:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:21 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:50:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:50:29 $ docker top 33549f03f3ee498e7c3258c45352fa5d15759fae57c9828968dec9a9e8d99b48 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:50:29 provisioning config files... 02:50:29 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17041286890564316040tmp 02:50:29 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13053957604125525124tmp 02:50:29 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13385842478756540531tmp [Pipeline] { [Pipeline] echo 02:50:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:50:29 ---> sigul-configuration.sh 02:50:29 gpg: directory `/root/.gnupg' created 02:50:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:50:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:50:29 gpg: keyring `/root/.gnupg/secring.gpg' created 02:50:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:50:29 gpg: CAST5 encrypted data 02:50:29 gpg: encrypted with 1 passphrase 02:50:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:50:29 + mkdir /home/jenkins 02:50:29 + mkdir /home/jenkins/sigul [Pipeline] sh 02:50:30 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:50:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:30 ---> sigul-install.sh 02:50:30 Sigul already installed; skipping installation. [Pipeline] sh 02:50:30 + git tag --list 02:50:30 0.7.1 02:50:30 v1.0.0 02:50:30 v1.1.0 02:50:30 v1.1.1 02:50:30 v1.2.2 02:50:30 v1.3.0 02:50:30 v1.3.1 02:50:30 v2.0.0 02:50:30 v2.1.0 02:50:30 v2.1.1 02:50:30 v2.2.0 02:50:30 v2.3.0 02:50:30 v3.0 02:50:30 v3.0.0 02:50:30 v3.1 02:50:30 v3.1.0 02:50:30 v3.1.0-dev.1 02:50:30 v3.1.0-dev.10 02:50:30 v3.1.0-dev.11 02:50:30 v3.1.0-dev.12 02:50:30 v3.1.0-dev.13 02:50:30 v3.1.0-dev.14 02:50:30 v3.1.0-dev.15 02:50:30 v3.1.0-dev.16 02:50:30 v3.1.0-dev.17 02:50:30 v3.1.0-dev.18 02:50:30 v3.1.0-dev.19 02:50:30 v3.1.0-dev.2 02:50:30 v3.1.0-dev.20 02:50:30 v3.1.0-dev.21 02:50:30 v3.1.0-dev.22 02:50:30 v3.1.0-dev.23 02:50:30 v3.1.0-dev.24 02:50:30 v3.1.0-dev.25 02:50:30 v3.1.0-dev.3 02:50:30 v3.1.0-dev.4 02:50:30 v3.1.0-dev.5 02:50:30 v3.1.0-dev.6 02:50:30 v3.1.0-dev.7 02:50:30 v3.1.0-dev.8 02:50:30 v3.1.0-dev.9 02:50:30 v3.1.1 02:50:30 v3.2.0-dev.1 02:50:30 v3.2.0-dev.10 02:50:30 v3.2.0-dev.11 02:50:30 v3.2.0-dev.12 02:50:30 v3.2.0-dev.13 02:50:30 v3.2.0-dev.14 02:50:30 v3.2.0-dev.15 02:50:30 v3.2.0-dev.16 02:50:30 v3.2.0-dev.17 02:50:30 v3.2.0-dev.18 02:50:30 v3.2.0-dev.19 02:50:30 v3.2.0-dev.2 02:50:30 v3.2.0-dev.20 02:50:30 v3.2.0-dev.21 02:50:30 v3.2.0-dev.22 02:50:30 v3.2.0-dev.23 02:50:30 v3.2.0-dev.3 02:50:30 v3.2.0-dev.4 02:50:30 v3.2.0-dev.5 02:50:30 v3.2.0-dev.6 02:50:30 v3.2.0-dev.7 02:50:30 v3.2.0-dev.8 02:50:30 v3.2.0-dev.9 02:50:30 v4.0.0-dev.1 02:50:30 v4.0.0-dev.2 02:50:30 v4.0.0-dev.3 02:50:30 v4.0.0-dev.4 02:50:30 v4.0.0-dev.5 02:50:30 v4.0.0-dev.6 02:50:30 v4.0.0-dev.7 02:50:30 v4.0.0-dev.8 02:50:30 v4.0.0-dev.9 [Pipeline] sh 02:50:31 + lftools sign git-tag v4.0.0-dev.9 02:50:31 Signing Git tag with Sigul... 02:50:31 Signing v4.0.0-dev.9 [Pipeline] echo 02:50:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:50:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:50:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:50:32 $ docker stop --time=1 33549f03f3ee498e7c3258c45352fa5d15759fae57c9828968dec9a9e8d99b48 02:50:33 $ docker rm -f --volumes 33549f03f3ee498e7c3258c45352fa5d15759fae57c9828968dec9a9e8d99b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:50:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:34 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:50:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:35 $ docker top 7e9c1d0eed314567a1c7bc0fd5395d83bb1f199c3cb3f1f1be624eaa7ba1a089 -eo pid,comm 02:50: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). 02:50:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:35 [ssh-agent] Looking for ssh-agent implementation... 02:50:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:35 $ docker exec 7e9c1d0eed314567a1c7bc0fd5395d83bb1f199c3cb3f1f1be624eaa7ba1a089 ssh-agent 02:50:35 SSH_AUTH_SOCK=/tmp/ssh-O36ZwVBEW9Pk/agent.32 02:50:35 SSH_AGENT_PID=38 02:50:35 Running ssh-add (command line suppressed) 02:50:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4656208180715401281.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4656208180715401281.key) 02:50:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:35 + git semver bump pre 02:50:36 2025-01-14 02:50:36,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:36 2025-01-14 02:50:36,179 [bump_version] DEBUG bumping version:4.0.0-dev.9 on axis:pre with prefix:dev 02:50:36 2025-01-14 02:50:36,179 [bump_version] DEBUG bumped version:4.0.0-dev.10 02:50:36 2025-01-14 02:50:36,179 [write_version] DEBUG write version:4.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:50:36 2025-01-14 02:50:36,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:36 2025-01-14 02:50:36,179 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:36 2025-01-14 02:50:36,181 [execute] INFO git cat-file --batch-check 02:50:36 2025-01-14 02:50:36,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:36 2025-01-14 02:50:36,186 [execute] INFO git cat-file --batch 02:50:36 2025-01-14 02:50:36,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:36 2025-01-14 02:50:36,191 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:36 4.0.0-dev.10 [Pipeline] } 02:50:36 $ docker exec --env ******** --env ******** 7e9c1d0eed314567a1c7bc0fd5395d83bb1f199c3cb3f1f1be624eaa7ba1a089 ssh-agent -k 02:50:36 unset SSH_AUTH_SOCK; 02:50:36 unset SSH_AGENT_PID; 02:50:36 echo Agent pid 38 killed; 02:50:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:36 + git semver [Pipeline] } 02:50:36 $ docker stop --time=1 7e9c1d0eed314567a1c7bc0fd5395d83bb1f199c3cb3f1f1be624eaa7ba1a089 02:50:38 $ docker rm -f --volumes 7e9c1d0eed314567a1c7bc0fd5395d83bb1f199c3cb3f1f1be624eaa7ba1a089 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:38 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:50:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:39 $ docker top bda5828b16143de859ae71e31720687c74f1d4e7f042d48c7af69a297f8a5dfb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:39 [ssh-agent] Looking for ssh-agent implementation... 02:50:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:39 $ docker exec bda5828b16143de859ae71e31720687c74f1d4e7f042d48c7af69a297f8a5dfb ssh-agent 02:50:39 SSH_AUTH_SOCK=/tmp/ssh-RYoonWp2Dqxu/agent.31 02:50:39 SSH_AGENT_PID=37 02:50:39 Running ssh-add (command line suppressed) 02:50:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12102450206994764518.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12102450206994764518.key) 02:50:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:40 + git semver push 02:50:40 2025-01-14 02:50:40,238 [run_push] DEBUG push 02:50:40 2025-01-14 02:50:40,239 [execute] INFO git cat-file --batch-check 02:50:40 2025-01-14 02:50:40,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:40 2025-01-14 02:50:40,242 [execute] INFO git rev-list c1055ccc4038e52d83abcf723616c238055823c7 -- 02:50:40 2025-01-14 02:50:40,242 [execute] DEBUG Popen(['git', 'rev-list', 'c1055ccc4038e52d83abcf723616c238055823c7', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:40 2025-01-14 02:50:40,251 [execute] INFO git fetch -v origin 02:50:40 2025-01-14 02:50:40,251 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:50:40 2025-01-14 02:50:40,699 [run_push] DEBUG no remote changes detected 02:50:40 2025-01-14 02:50:40,700 [execute] INFO git push origin semver 02:50:40 2025-01-14 02:50:40,700 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:41 2025-01-14 02:50:41,542 [run_push] DEBUG push all version tags 02:50:41 2025-01-14 02:50:41,543 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:50:41 2025-01-14 02:50:41,543 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:50:42 2025-01-14 02:50:42,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:50:42 4.0.0-dev.10 [Pipeline] } 02:50:42 $ docker exec --env ******** --env ******** bda5828b16143de859ae71e31720687c74f1d4e7f042d48c7af69a297f8a5dfb ssh-agent -k 02:50:42 unset SSH_AUTH_SOCK; 02:50:42 unset SSH_AGENT_PID; 02:50:42 echo Agent pid 37 killed; 02:50:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:42 + git semver [Pipeline] } 02:50:43 $ docker stop --time=1 bda5828b16143de859ae71e31720687c74f1d4e7f042d48c7af69a297f8a5dfb 02:50:44 $ docker rm -f --volumes bda5828b16143de859ae71e31720687c74f1d4e7f042d48c7af69a297f8a5dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:50:45 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:50:45 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:50:45 total 16 02:50:45 drwxr-xr-x 3 root root 4096 Jan 14 02:40 . 02:50:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 14 02:50 .. 02:50:45 drwxr-xr-x 2 root root 4096 Jan 14 02:40 cost 02:50:45 -rw-r--r-- 1 root root 86 Jan 14 02:40 cost.csv 02:50:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:50:45 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:50:45 total 16 02:50:45 drwxr-xr-x 3 jenkins jenkins 4096 Jan 14 02:40 . 02:50:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 14 02:50 .. 02:50:45 drwxr-xr-x 2 jenkins jenkins 4096 Jan 14 02:40 cost 02:50:45 -rw-r--r-- 1 jenkins jenkins 86 Jan 14 02:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:50:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:46 ---> package-listing.sh 02:50:46 ++ tr '[:upper:]' '[:lower:]' 02:50:46 ++ facter osfamily 02:50:46 + OS_FAMILY=debian 02:50:46 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:50:46 + START_PACKAGES=/tmp/packages_start.txt 02:50:46 + END_PACKAGES=/tmp/packages_end.txt 02:50:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:46 + PACKAGES=/tmp/packages_start.txt 02:50:46 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:50:46 + PACKAGES=/tmp/packages_end.txt 02:50:46 + case "${OS_FAMILY}" in 02:50:46 + dpkg -l 02:50:46 + grep '^ii' 02:50:46 + '[' -f /tmp/packages_start.txt ']' 02:50:46 + '[' -f /tmp/packages_end.txt ']' 02:50:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:46 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:50:46 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:50:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:50:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:47 prd-ubuntu20.04-docker-8c-8g-36672 does not seem to be running inside a container 02:50:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:50:47 $ docker top 56557de7814fd5d8a1eb6492342b44290dd4f4b4391d1ca6607b4fc308f37f3a -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:48 + mkdir -p /var/log/sysstat [Pipeline] sh 02:50:48 + ls /var/log/sa-host 02:50:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:48 provisioning config files... 02:50:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2895605577821986731tmp [Pipeline] { [Pipeline] echo 02:50:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> create-netrc.sh [Pipeline] } 02:50:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> python-tools-install.sh [Pipeline] echo 02:50:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> sudo-logs.sh 02:50:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:50:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:50 ---> job-cost.sh 02:50:50 lf-activate-venv: SKIPPING 02:50:50 DEBUG: total: 0.2199999988079071 02:50:50 INFO: Retrieving Stack Cost... 02:50:50 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:50 INFO: Archiving Costs [Pipeline] echo 02:50:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:50 ---> logs-deploy.sh 02:50:50 lf-activate-venv: SKIPPING 02:50:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/187 02:50:50 INFO: archiving workspace using pattern(s): 02:50:51 Archives upload complete. 02:50:51 INFO: archiving logs to Nexus