Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 151f68fece686541369959fa72875a7edd02f739 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-ssh4086624402945773401.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6938953329185405586.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15186661035178766958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh8982150614879907099.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-ssh17849353770307958540.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.21 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-6835 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 151f68fece686541369959fa72875a7edd02f739 (main) Commit message: "Merge pull request #685 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > 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 151f68fece686541369959fa72875a7edd02f739 # timeout=10 > git rev-list --no-walk 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:52:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:52:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:52:57 ========================================================= 02:52:57 EdgeX Global Pipelines Version Info 02:52:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:52:58 ------------------- 02:52:58 stable info: 02:52:58 ------------------- 02:52:58 Commited By: Ginny Guan ginny@iotechsys.com 02:52:58 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 02:52:58 Message: update stable to v1.0.260 02:52:58 ------------------- 02:52:58 experimental info: 02:52:58 ------------------- 02:52:58 Commited By: Ginny Guan ginny@iotechsys.com 02:52:58 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 02:52:58 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:52:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:52:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:52:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:52:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:52:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 151f68fece686541369959fa72875a7edd02f739 [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 151f68f [Pipeline] echo 02:52:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:59 provisioning config files... 02:52:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6572776137450837403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:00 ---> ****-login.sh 02:53:00 nexus3.edgexfoundry.org:10001 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10002 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10003 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10004 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 ****.io 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 ---> ****-login.sh ends [Pipeline] } 02:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:53:01 + git rev-list -1 --merges 151f68fece686541369959fa72875a7edd02f739~1..151f68fece686541369959fa72875a7edd02f739 [Pipeline] echo 02:53:01 -----------> git rev-list -1 --merges 151f68fece686541369959fa72875a7edd02f739~1..151f68fece686541369959fa72875a7edd02f739 151f68fece686541369959fa72875a7edd02f739 02:53:01 151f68fece686541369959fa72875a7edd02f739 [false] [Pipeline] sh 02:53:01 + git log --format=format:%s -1 151f68fece686541369959fa72875a7edd02f739 [Pipeline] echo 02:53:01 ========================================================= 02:53:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:02 + git log --format=format:%s -1 151f68fece686541369959fa72875a7edd02f739 [Pipeline] echo 02:53:02 [semverPrep] GIT_COMMIT: 151f68fece686541369959fa72875a7edd02f739, Commit Message: Merge pull request #685 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo 02:53:02 [semverPrep] This is not a build commit. [Pipeline] sh 02:53:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:02 + grep -v github /etc/ssh/ssh_known_hosts 02:53:02 + [ -e /tmp/ssh_known_hosts ] 02:53:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:53:02 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 02:53:02 -a /etc/ssh/ssh_known_hosts 02:53:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:02 02:53:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:03 0.1.4: Pulling from edgex-devops/py-git-semver 02:53:03 b85a868b505f: Pulling fs layer 02:53:03 e2be974225ed: Pulling fs layer 02:53:03 339a4e72a1f5: Pulling fs layer 02:53:03 988bab9f4d93: Pulling fs layer 02:53:03 1469e6f7b9e6: Pulling fs layer 02:53:03 eaf3925da568: Pulling fs layer 02:53:03 bab4dde63d76: Pulling fs layer 02:53:03 bde34c3a00c8: Pulling fs layer 02:53:03 b352a97aabf1: Pulling fs layer 02:53:03 4872d77fe225: Pulling fs layer 02:53:03 5851b861e8e6: Pulling fs layer 02:53:03 988bab9f4d93: Waiting 02:53:03 b352a97aabf1: Waiting 02:53:03 4872d77fe225: Waiting 02:53:03 eaf3925da568: Waiting 02:53:03 bab4dde63d76: Waiting 02:53:03 1469e6f7b9e6: Waiting 02:53:03 e2be974225ed: Download complete 02:53:03 988bab9f4d93: Verifying Checksum 02:53:03 988bab9f4d93: Download complete 02:53:03 1469e6f7b9e6: Verifying Checksum 02:53:03 1469e6f7b9e6: Download complete 02:53:03 339a4e72a1f5: Verifying Checksum 02:53:03 339a4e72a1f5: Download complete 02:53:03 eaf3925da568: Verifying Checksum 02:53:03 eaf3925da568: Download complete 02:53:03 bde34c3a00c8: Verifying Checksum 02:53:03 bde34c3a00c8: Download complete 02:53:03 b352a97aabf1: Verifying Checksum 02:53:03 b352a97aabf1: Download complete 02:53:03 4872d77fe225: Download complete 02:53:03 5851b861e8e6: Download complete 02:53:03 b85a868b505f: Download complete 02:53:03 bab4dde63d76: Verifying Checksum 02:53:03 bab4dde63d76: Download complete 02:53:04 b85a868b505f: Pull complete 02:53:04 e2be974225ed: Pull complete 02:53:05 339a4e72a1f5: Pull complete 02:53:05 988bab9f4d93: Pull complete 02:53:05 1469e6f7b9e6: Pull complete 02:53:05 eaf3925da568: Pull complete 02:53:07 bab4dde63d76: Pull complete 02:53:07 bde34c3a00c8: Pull complete 02:53:07 b352a97aabf1: Pull complete 02:53:07 4872d77fe225: Pull complete 02:53:07 5851b861e8e6: Pull complete 02:53:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:07 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 02:53:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:11 $ docker top 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 -eo pid,comm 02:53:11 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:53:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:11 [ssh-agent] Looking for ssh-agent implementation... 02:53:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:11 $ docker exec 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 ssh-agent 02:53:11 SSH_AUTH_SOCK=/tmp/ssh-Q8FWegMe8WwZ/agent.32 02:53:11 SSH_AGENT_PID=38 02:53:11 Running ssh-add (command line suppressed) 02:53:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15303378559675536142.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15303378559675536142.key) 02:53:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:12 + git tag --points-at HEAD [Pipeline] } 02:53:12 $ docker exec --env ******** --env ******** 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 ssh-agent -k 02:53:12 unset SSH_AUTH_SOCK; 02:53:12 unset SSH_AGENT_PID; 02:53:12 echo Agent pid 38 killed; 02:53:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:53:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:12 [ssh-agent] Looking for ssh-agent implementation... 02:53:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:12 $ docker exec 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 ssh-agent 02:53:12 SSH_AUTH_SOCK=/tmp/ssh-EUiGXBNtHd0Y/agent.71 02:53:12 SSH_AGENT_PID=77 02:53:12 Running ssh-add (command line suppressed) 02:53:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5437455502067391680.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5437455502067391680.key) 02:53:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:12 + git semver init 02:53:13 2024-07-31 02:53:13,092 [run_init] DEBUG init version:0.0.0 force:False 02:53:13 2024-07-31 02:53:13,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:53:13 2024-07-31 02:53:13,094 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:53:13 2024-07-31 02:53:13,094 [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:53:15 2024-07-31 02:53:14,756 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:53:15 2024-07-31 02:53:14,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:53:15 2024-07-31 02:53:14,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:15 2024-07-31 02:53:14,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:53:15 3.2.0-dev.18 [Pipeline] } 02:53:15 $ docker exec --env ******** --env ******** 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 ssh-agent -k 02:53:15 unset SSH_AUTH_SOCK; 02:53:15 unset SSH_AGENT_PID; 02:53:15 echo Agent pid 77 killed; 02:53:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:15 + git semver [Pipeline] } 02:53:15 $ docker stop --time=1 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 02:53:17 $ docker rm -f --volumes 91008966574a810c2e182d869cdcd52f497d46e558ca2326f7018a4823bfeb51 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:53:17 Stashed 1 file(s) [Pipeline] echo 02:53:17 [edgeXSemver]: initialized semver on version 3.2.0-dev.18 [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:53:17 provisioning config files... 02:53:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1099121604019924013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:18 ---> ****-login.sh 02:53:18 nexus3.edgexfoundry.org:10001 02:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:18 Configure a credential helper to remove this warning. See 02:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:18 02:53:18 Login Succeeded 02:53:18 nexus3.edgexfoundry.org:10002 02:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:18 Configure a credential helper to remove this warning. See 02:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:18 02:53:18 Login Succeeded 02:53:18 nexus3.edgexfoundry.org:10003 02:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:18 Configure a credential helper to remove this warning. See 02:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:18 02:53:18 Login Succeeded 02:53:18 nexus3.edgexfoundry.org:10004 02:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:18 Configure a credential helper to remove this warning. See 02:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:18 02:53:18 Login Succeeded 02:53:18 ****.io 02:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:53:18 Configure a credential helper to remove this warning. See 02:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:53:18 02:53:18 Login Succeeded 02:53:18 ---> ****-login.sh ends [Pipeline] } 02:53:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:53:18 ========================================================= 02:53:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:53:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:53:19 Sending build context to Docker daemon 20.81MB 02:53:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:53:19 Step 2/12 : FROM ${BASE} AS builder 02:53:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:53:19 619be1103602: Pulling fs layer 02:53:19 7862e08f4a3e: Pulling fs layer 02:53:19 5df492c9dc93: Pulling fs layer 02:53:19 7629e6793208: Pulling fs layer 02:53:19 4f4fb700ef54: Pulling fs layer 02:53:19 fb5054dd5b73: Pulling fs layer 02:53:19 eeca6798cff9: Pulling fs layer 02:53:19 aa269ceb94a6: Pulling fs layer 02:53:19 ada007ff1a6a: Pulling fs layer 02:53:19 7629e6793208: Waiting 02:53:19 aa269ceb94a6: Waiting 02:53:19 4f4fb700ef54: Waiting 02:53:19 fb5054dd5b73: Waiting 02:53:19 eeca6798cff9: Waiting 02:53:19 ada007ff1a6a: Waiting 02:53:19 7862e08f4a3e: Download complete 02:53:19 7629e6793208: Verifying Checksum 02:53:19 7629e6793208: Download complete 02:53:19 4f4fb700ef54: Verifying Checksum 02:53:19 4f4fb700ef54: Download complete 02:53:19 619be1103602: Download complete 02:53:19 fb5054dd5b73: Verifying Checksum 02:53:19 fb5054dd5b73: Download complete 02:53:19 eeca6798cff9: Verifying Checksum 02:53:19 eeca6798cff9: Download complete 02:53:19 619be1103602: Pull complete 02:53:19 ada007ff1a6a: Verifying Checksum 02:53:19 ada007ff1a6a: Download complete 02:53:19 7862e08f4a3e: Pull complete 02:53:20 5df492c9dc93: Verifying Checksum 02:53:20 5df492c9dc93: Download complete 02:53:20 aa269ceb94a6: Verifying Checksum 02:53:20 aa269ceb94a6: Download complete 02:53:22 5df492c9dc93: Pull complete 02:53:22 7629e6793208: Pull complete 02:53:22 4f4fb700ef54: Pull complete 02:53:23 fb5054dd5b73: Pull complete 02:53:23 eeca6798cff9: Pull complete 02:53:24 aa269ceb94a6: Pull complete 02:53:25 ada007ff1a6a: Pull complete 02:53:25 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:53:25 ---> f489d0715acc 02:53:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:53:32 ---> Running in 5ed37b45fbe6 02:53:32 Removing intermediate container 5ed37b45fbe6 02:53:32 ---> d036b0ad593b 02:53:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:32 ---> Running in a51341b30d23 02:53:32 Removing intermediate container a51341b30d23 02:53:32 ---> cc0eb942090b 02:53:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:53:32 ---> Running in ab6c6abbdcc2 02:53:32 Removing intermediate container ab6c6abbdcc2 02:53:32 ---> 675e6c6703e3 02:53:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:53:32 ---> Running in b07ab877bff4 02:53:32 Removing intermediate container b07ab877bff4 02:53:32 ---> e294deb87dbb 02:53:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:32 ---> Running in db4e181bb1cc 02:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:32 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:53:32 (2/4) Installing libedit (20221030.3.1-r1) 02:53:32 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:53:32 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:53:32 Executing busybox-1.36.1-r5.trigger 02:53:32 OK: 268 MiB in 56 packages 02:53:32 Still waiting to schedule task 02:53:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:53:33 Removing intermediate container db4e181bb1cc 02:53:33 ---> ecd71559c5e4 02:53:33 Step 8/12 : WORKDIR /device-mqtt-go 02:53:33 ---> Running in c28aa10c8efd 02:53:33 Removing intermediate container c28aa10c8efd 02:53:33 ---> fc4e0d1e7567 02:53:33 Step 9/12 : COPY go.mod vendor* ./ 02:53:33 ---> 0e94c8e23c8f 02:53:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:33 ---> Running in 2d37e0a05e29 02:54:41 Removing intermediate container 2d37e0a05e29 02:54:41 ---> 05375e811202 02:54:41 Step 11/12 : COPY . . 02:54:41 ---> a5866faf084a 02:54:41 Step 12/12 : RUN $MAKE 02:54:41 ---> Running in 9dc8c1207d5f 02:54:41 noop 02:54:41 Removing intermediate container 9dc8c1207d5f 02:54:41 ---> 676fc170b0d0 02:54:41 Successfully built 676fc170b0d0 02:54:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:41 + docker inspect -f . ci-base-image-x86_64 02:54:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:41 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 02:54:41 $ 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:54:42 $ docker top 098d14001993be0aa018f097d169995dad647b93f0fe7da721851663ba414c7f -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:42 + go version 02:54:42 go version go1.21.9 linux/amd64 [Pipeline] } 02:54:42 $ docker stop --time=1 098d14001993be0aa018f097d169995dad647b93f0fe7da721851663ba414c7f 02:54:47 $ docker rm -f --volumes 098d14001993be0aa018f097d169995dad647b93f0fe7da721851663ba414c7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:47 + docker inspect -f . ci-base-image-x86_64 02:54:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:47 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 02:54:47 $ 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:54:48 $ docker top 559499b31d7bf60ee1f4c4d86b3a095505343f6a9459809058948ad7cdb7acb0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:54:49 + make test 02:54:49 go test ./... -coverprofile=coverage.out ./... 02:54:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:55:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:55:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:55:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements 02:55:17 go vet ./... 02:55:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:55:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:55:22 ./bin/test-attribution-txt.sh 02:55:22 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:55:22 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:55:22 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:55:22 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:55:22 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:55:22 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:55:22 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:55:22 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:55:22 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:55:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:55:22 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:55:22 $ docker stop --time=1 559499b31d7bf60ee1f4c4d86b3a095505343f6a9459809058948ad7cdb7acb0 02:55:28 $ docker rm -f --volumes 559499b31d7bf60ee1f4c4d86b3a095505343f6a9459809058948ad7cdb7acb0 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:55:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:30 + ls -al . 02:55:30 total 252 02:55:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:54 . 02:55:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:52 .. 02:55:30 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:52 .dockerignore 02:55:30 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:55 .git 02:55:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:52 .github 02:55:30 -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:52 .gitignore 02:55:30 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:52 .golangci.yml 02:55:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:53 .semver 02:55:30 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 02:52 Attribution.txt 02:55:30 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 02:52 CHANGELOG.md 02:55:30 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 02:52 Dockerfile 02:55:30 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:52 GOVERNANCE.md 02:55:30 -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 02:52 Jenkinsfile 02:55:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:52 LICENSE 02:55:30 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 02:52 Makefile 02:55:30 -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:52 OWNERS.md 02:55:30 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 02:52 README.md 02:55:30 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:53 VERSION 02:55:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:52 bin 02:55:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:52 cmd 02:55:30 -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 02:55 coverage.out 02:55:30 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 02:52 go.mod 02:55:30 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:52 go.sum 02:55:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:52 internal 02:55:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:52 mock 02:55:30 -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:30 + 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=151f68fece686541369959fa72875a7edd02f739 --label arch=amd64 --label version=3.2.0-dev.18 . 02:55:30 Sending build context to Docker daemon 20.83MB 02:55:30 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:55:30 Step 2/25 : FROM ${BASE} AS builder 02:55:30 ---> 676fc170b0d0 02:55:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:55:31 ---> Running in a22a49bc97ad 02:55:31 Removing intermediate container a22a49bc97ad 02:55:31 ---> 049109f7a95c 02:55:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:31 ---> Running in c36b8b1246e4 02:55:31 Removing intermediate container c36b8b1246e4 02:55:31 ---> 013486a1430d 02:55:31 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:55:31 ---> Running in aebd4bd427b2 02:55:31 Removing intermediate container aebd4bd427b2 02:55:31 ---> 58b1f1d47880 02:55:31 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:55:31 ---> Running in fa48dbc5426f 02:55:31 Removing intermediate container fa48dbc5426f 02:55:31 ---> bd316885431f 02:55:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:31 ---> Running in 744cc96ed9b5 02:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:32 OK: 268 MiB in 56 packages 02:55:33 Removing intermediate container 744cc96ed9b5 02:55:33 ---> 9f55611144b4 02:55:33 Step 8/25 : WORKDIR /device-mqtt-go 02:55:33 ---> Running in b441ea48b337 02:55:33 Removing intermediate container b441ea48b337 02:55:33 ---> 2ebe0532d18d 02:55:33 Step 9/25 : COPY go.mod vendor* ./ 02:55:33 ---> 716ce4e634f4 02:55:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:33 ---> Running in 9cd0f7b0ca68 02:55:33 Removing intermediate container 9cd0f7b0ca68 02:55:33 ---> d324363c7fb8 02:55:33 Step 11/25 : COPY . . 02:55:34 ---> e62528278a8a 02:55:34 Step 12/25 : RUN $MAKE 02:55:34 ---> Running in f4a563c1c420 02:55:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:56:13 Removing intermediate container f4a563c1c420 02:56:13 ---> 9df0e5f8abbb 02:56:13 Step 13/25 : FROM alpine:3.18 02:56:13 3.18: Pulling from library/alpine 02:56:13 930bdd4d222e: Pulling fs layer 02:56:13 930bdd4d222e: Verifying Checksum 02:56:13 930bdd4d222e: Download complete 02:56:13 930bdd4d222e: Pull complete 02:56:13 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:56:13 Status: Downloaded newer image for alpine:3.18 02:56:13 ---> 18f865063206 02:56:13 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:56:13 ---> Running in 295fd0c8103c 02:56:13 Removing intermediate container 295fd0c8103c 02:56:13 ---> 08f20b8aa5f7 02:56:13 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:56:13 ---> Running in ab83c3ac1786 02:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:56:13 (1/1) Installing dumb-init (1.2.5-r2) 02:56:13 Executing busybox-1.36.1-r7.trigger 02:56:13 OK: 7 MiB in 16 packages 02:56:13 Removing intermediate container ab83c3ac1786 02:56:13 ---> 16298952577f 02:56:13 Step 16/25 : RUN apk --no-cache upgrade 02:56:13 ---> Running in 5eb01adb8bc6 02:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:56:13 OK: 7 MiB in 16 packages 02:56:13 Removing intermediate container 5eb01adb8bc6 02:56:13 ---> 4c9eea941cbd 02:56:13 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:56:13 ---> af00ab1a55b2 02:56:13 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:56:14 ---> 0ac4fa277c5b 02:56:14 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:56:14 ---> 4e2a482fb56f 02:56:14 Step 20/25 : EXPOSE 59982 02:56:14 ---> Running in e2264a8b50ed 02:56:14 Removing intermediate container e2264a8b50ed 02:56:14 ---> e76013cb5517 02:56:14 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:56:14 ---> Running in 09fbe9ee14ec 02:56:14 Removing intermediate container 09fbe9ee14ec 02:56:14 ---> e60963662198 02:56:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:56:15 ---> Running in b69e76fa8df9 02:56:15 Removing intermediate container b69e76fa8df9 02:56:15 ---> c83dd1917976 02:56:15 Step 23/25 : LABEL arch=amd64 02:56:15 ---> Running in 489d2ff2953e 02:56:15 Removing intermediate container 489d2ff2953e 02:56:15 ---> 03fd3b27437a 02:56:15 Step 24/25 : LABEL git_sha=151f68fece686541369959fa72875a7edd02f739 02:56:15 ---> Running in 2376dcef668f 02:56:15 Removing intermediate container 2376dcef668f 02:56:15 ---> 71b2349c5e00 02:56:15 Step 25/25 : LABEL version=3.2.0-dev.18 02:56:15 ---> Running in 152f14be6981 02:56:15 Removing intermediate container 152f14be6981 02:56:15 ---> 50716cf2e634 02:56:15 [Warning] One or more build-args [ARCH] were not consumed 02:56:15 Successfully built 50716cf2e634 02:56:15 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:56:15 provisioning config files... 02:56:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9089532879311264807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:16 ---> ****-login.sh 02:56:16 nexus3.edgexfoundry.org:10001 02:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:16 Configure a credential helper to remove this warning. See 02:56:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:16 02:56:16 Login Succeeded 02:56:16 nexus3.edgexfoundry.org:10002 02:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:16 Configure a credential helper to remove this warning. See 02:56:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:16 02:56:16 Login Succeeded 02:56:16 nexus3.edgexfoundry.org:10003 02:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:16 Configure a credential helper to remove this warning. See 02:56:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:16 02:56:16 Login Succeeded 02:56:16 nexus3.edgexfoundry.org:10004 02:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:16 Configure a credential helper to remove this warning. See 02:56:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:16 02:56:16 Login Succeeded 02:56:16 ****.io 02:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:16 Configure a credential helper to remove this warning. See 02:56:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:16 02:56:16 Login Succeeded 02:56:16 ---> ****-login.sh ends [Pipeline] } 02:56:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:56:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:56:16 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:56:16 151f68fece686541369959fa72875a7edd02f739 02:56:16 latest 02:56:16 3.2.0-dev.18 02:56:16 151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 02:56:16 main 02:56:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:151f68fece686541369959fa72875a7edd02f739 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:151f68fece686541369959fa72875a7edd02f739 02:56:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:56:17 576528ef2d13: Preparing 02:56:17 686803bc978a: Preparing 02:56:17 664cf96c0601: Preparing 02:56:17 7910344ab43f: Preparing 02:56:17 a4e1185ee7e4: Preparing 02:56:17 ce7f800efff9: Preparing 02:56:17 ce7f800efff9: Waiting 02:56:17 686803bc978a: Pushed 02:56:17 7910344ab43f: Pushed 02:56:17 a4e1185ee7e4: Pushed 02:56:17 576528ef2d13: Pushed 02:56:17 ce7f800efff9: Layer already exists 02:56:21 664cf96c0601: Pushed 02:56:21 151f68fece686541369959fa72875a7edd02f739: digest: sha256:138ca132e33741cab192d32efe5d0e2a60ac7128f61adfba8382f2edfbbe35dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:56:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:56:22 576528ef2d13: Preparing 02:56:22 686803bc978a: Preparing 02:56:22 664cf96c0601: Preparing 02:56:22 7910344ab43f: Preparing 02:56:22 a4e1185ee7e4: Preparing 02:56:22 ce7f800efff9: Preparing 02:56:22 ce7f800efff9: Waiting 02:56:22 7910344ab43f: Layer already exists 02:56:22 576528ef2d13: Layer already exists 02:56:22 686803bc978a: Layer already exists 02:56:22 664cf96c0601: Layer already exists 02:56:22 a4e1185ee7e4: Layer already exists 02:56:22 ce7f800efff9: Layer already exists 02:56:22 latest: digest: sha256:138ca132e33741cab192d32efe5d0e2a60ac7128f61adfba8382f2edfbbe35dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.18 02:56:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:56:23 576528ef2d13: Preparing 02:56:23 686803bc978a: Preparing 02:56:23 664cf96c0601: Preparing 02:56:23 7910344ab43f: Preparing 02:56:23 a4e1185ee7e4: Preparing 02:56:23 ce7f800efff9: Preparing 02:56:23 ce7f800efff9: Waiting 02:56:23 a4e1185ee7e4: Layer already exists 02:56:23 576528ef2d13: Layer already exists 02:56:23 7910344ab43f: Layer already exists 02:56:23 686803bc978a: Layer already exists 02:56:23 664cf96c0601: Layer already exists 02:56:23 ce7f800efff9: Layer already exists 02:56:23 3.2.0-dev.18: digest: sha256:138ca132e33741cab192d32efe5d0e2a60ac7128f61adfba8382f2edfbbe35dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 02:56:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:56:23 576528ef2d13: Preparing 02:56:23 686803bc978a: Preparing 02:56:23 664cf96c0601: Preparing 02:56:23 7910344ab43f: Preparing 02:56:23 a4e1185ee7e4: Preparing 02:56:23 ce7f800efff9: Preparing 02:56:23 ce7f800efff9: Waiting 02:56:23 576528ef2d13: Layer already exists 02:56:23 686803bc978a: Layer already exists 02:56:23 7910344ab43f: Layer already exists 02:56:23 a4e1185ee7e4: Layer already exists 02:56:23 664cf96c0601: Layer already exists 02:56:23 ce7f800efff9: Layer already exists 02:56:23 151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18: digest: sha256:138ca132e33741cab192d32efe5d0e2a60ac7128f61adfba8382f2edfbbe35dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:56:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:56:24 576528ef2d13: Preparing 02:56:24 686803bc978a: Preparing 02:56:24 664cf96c0601: Preparing 02:56:24 7910344ab43f: Preparing 02:56:24 a4e1185ee7e4: Preparing 02:56:24 ce7f800efff9: Preparing 02:56:24 ce7f800efff9: Waiting 02:56:24 664cf96c0601: Layer already exists 02:56:24 686803bc978a: Layer already exists 02:56:24 7910344ab43f: Layer already exists 02:56:24 576528ef2d13: Layer already exists 02:56:24 a4e1185ee7e4: Layer already exists 02:56:24 ce7f800efff9: Layer already exists 02:56:24 main: digest: sha256:138ca132e33741cab192d32efe5d0e2a60ac7128f61adfba8382f2edfbbe35dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:56:24 ===================================================== [Pipeline] echo 02:56:24 taggedImages: 02:56:24 - nexus3.edgexfoundry.org:10004/device-mqtt:151f68fece686541369959fa72875a7edd02f739 02:56:24 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:56:24 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.18 02:56:24 - nexus3.edgexfoundry.org:10004/device-mqtt:151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 02:56:24 - 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:56:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:56:25 02:56:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:56:25 latest: Pulling from edgex-lftools-log-publisher 02:56:25 5eb5b503b376: Pulling fs layer 02:56:25 5c69ac0246d0: Pulling fs layer 02:56:25 ec43610c2a17: Pulling fs layer 02:56:25 3a2ae6a8a46f: Pulling fs layer 02:56:25 33b1e0a273af: Pulling fs layer 02:56:25 5d3b04190fa2: Pulling fs layer 02:56:25 2f39f015ded8: Pulling fs layer 02:56:25 33b1e0a273af: Waiting 02:56:25 5d3b04190fa2: Waiting 02:56:25 2f39f015ded8: Waiting 02:56:25 3a2ae6a8a46f: Waiting 02:56:25 5c69ac0246d0: Verifying Checksum 02:56:25 5c69ac0246d0: Download complete 02:56:25 3a2ae6a8a46f: Download complete 02:56:25 33b1e0a273af: Verifying Checksum 02:56:25 33b1e0a273af: Download complete 02:56:25 5d3b04190fa2: Download complete 02:56:25 ec43610c2a17: Verifying Checksum 02:56:25 ec43610c2a17: Download complete 02:56:25 5eb5b503b376: Verifying Checksum 02:56:25 5eb5b503b376: Download complete 02:56:26 2f39f015ded8: Verifying Checksum 02:56:26 2f39f015ded8: Download complete 02:56:26 5eb5b503b376: Pull complete 02:56:27 5c69ac0246d0: Pull complete 02:56:27 ec43610c2a17: Pull complete 02:56:27 3a2ae6a8a46f: Pull complete 02:56:27 33b1e0a273af: Pull complete 02:56:27 5d3b04190fa2: Pull complete 02:56:31 2f39f015ded8: Pull complete 02:56:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:56:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:31 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 02:56:31 $ 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:56:38 $ docker top 4598f65c4d5e7cfa909b21f825a1d7e17ca305b83000bca6b345861020d5be90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:38 ---> job-cost.sh 02:56:38 lf-activate-venv: SKIPPING 02:56:38 INFO: No Stack... 02:56:39 INFO: Retrieving Pricing Info for: v3-standard-8 02:56:39 INFO: Archiving Costs [Pipeline] sh 02:56:39 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:56:39 + cut -d, -f6 [Pipeline] lock 02:56:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] 02:56:39 Resource [jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] did not exist. Created. 02:56:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:56:40 + echo total: 0.2199999988079071 [Pipeline] stash 02:56:40 Stashed 1 file(s) [Pipeline] } 02:56:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 02:56:40 $ docker stop --time=1 4598f65c4d5e7cfa909b21f825a1d7e17ca305b83000bca6b345861020d5be90 02:56:41 $ docker rm -f --volumes 4598f65c4d5e7cfa909b21f825a1d7e17ca305b83000bca6b345861020d5be90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:58:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6837 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:58:49 Running in /w/workspace/device-mqtt-go/172 [Pipeline] { [Pipeline] checkout 02:58:52 The recommended git tool is: git 02:58:59 using credential edgex-jenkins-ssh 02:58:59 Cloning the remote Git repository 02:58:59 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:58:59 > git init /w/workspace/device-mqtt-go/172 # timeout=10 02:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:59:00 > git --version # timeout=10 02:59:00 > git --version # 'git version 2.25.1' 02:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:59:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:59:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:59:03 Avoid second fetch 02:59:03 Checking out Revision 151f68fece686541369959fa72875a7edd02f739 (main) 02:59:04 Commit message: "Merge pull request #685 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" 02:59:03 > git config core.sparsecheckout # timeout=10 02:59:03 > git checkout -f 151f68fece686541369959fa72875a7edd02f739 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:59:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:09 Dload Upload Total Spent Left Speed 02:59:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 74581 0 --:--:-- --:--:-- --:--:-- 75017 [Pipeline] sh 02:59:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:59:10 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 02:59:10 tee /etc/docker/daemon.new 02:59:10 { 02:59:10 "registry-mirrors": [ 02:59:10 "https://nexus3.edgexfoundry.org:10001" 02:59:10 ], 02:59:10 "bip": "10.250.0.254/24", 02:59:10 "hosts": [ 02:59:10 "tcp://0.0.0.0:5555", 02:59:10 "unix:///var/run/docker.sock" 02:59:10 ], 02:59:10 "mtu": 1458, 02:59:10 "selinux-enabled": true, 02:59:10 "seccomp-profile": "/etc/docker/seccomp.json" 02:59:10 } [Pipeline] sh 02:59:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:59:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:59:28 provisioning config files... 02:59:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/172@tmp/config16816786682671122053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:59:29 ---> ****-login.sh 02:59:29 nexus3.edgexfoundry.org:10001 02:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:30 Configure a credential helper to remove this warning. See 02:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:30 02:59:30 Login Succeeded 02:59:30 nexus3.edgexfoundry.org:10002 02:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:30 Configure a credential helper to remove this warning. See 02:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:30 02:59:30 Login Succeeded 02:59:30 nexus3.edgexfoundry.org:10003 02:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:30 Configure a credential helper to remove this warning. See 02:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:30 02:59:30 Login Succeeded 02:59:31 nexus3.edgexfoundry.org:10004 02:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:31 Configure a credential helper to remove this warning. See 02:59:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:31 02:59:31 Login Succeeded 02:59:31 ****.io 02:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:31 Configure a credential helper to remove this warning. See 02:59:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:31 02:59:31 Login Succeeded 02:59:31 ---> ****-login.sh ends [Pipeline] } 02:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:59:32 ========================================================= 02:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:59:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:59:32 Sending build context to Docker daemon 10.52MB 02:59:33 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:59:33 Step 2/12 : FROM ${BASE} AS builder 02:59:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:59:33 c6b39de5b339: Pulling fs layer 02:59:33 a69c41024577: Pulling fs layer 02:59:33 d6de4b400683: Pulling fs layer 02:59:33 35cb2a7552d0: Pulling fs layer 02:59:33 4f4fb700ef54: Pulling fs layer 02:59:33 464afbd9ba4c: Pulling fs layer 02:59:33 00f215d4a9da: Pulling fs layer 02:59:33 d496ad576159: Pulling fs layer 02:59:33 35cb2a7552d0: Waiting 02:59:33 4f4fb700ef54: Waiting 02:59:33 464afbd9ba4c: Waiting 02:59:33 00f215d4a9da: Waiting 02:59:33 d496ad576159: Waiting 02:59:33 a69c41024577: Download complete 02:59:33 35cb2a7552d0: Download complete 02:59:33 c6b39de5b339: Verifying Checksum 02:59:33 c6b39de5b339: Download complete 02:59:33 4f4fb700ef54: Verifying Checksum 02:59:33 4f4fb700ef54: Download complete 02:59:33 464afbd9ba4c: Verifying Checksum 02:59:33 464afbd9ba4c: Download complete 02:59:33 d496ad576159: Verifying Checksum 02:59:33 d496ad576159: Download complete 02:59:34 c6b39de5b339: Pull complete 02:59:34 a69c41024577: Pull complete 02:59:35 d6de4b400683: Verifying Checksum 02:59:35 d6de4b400683: Download complete 02:59:36 00f215d4a9da: Verifying Checksum 02:59:36 00f215d4a9da: Download complete 02:59:48 d6de4b400683: Pull complete 02:59:48 35cb2a7552d0: Pull complete 02:59:48 4f4fb700ef54: Pull complete 02:59:48 464afbd9ba4c: Pull complete 02:59:56 00f215d4a9da: Pull complete 02:59:58 d496ad576159: Pull complete 02:59:58 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:59:58 ---> f246e2811388 02:59:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:00:00 ---> Running in ed78690ec474 03:00:00 Removing intermediate container ed78690ec474 03:00:00 ---> 8e35c26a703f 03:00:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:00 ---> Running in a96a954ee278 03:00:01 Removing intermediate container a96a954ee278 03:00:01 ---> 6b6187398f1e 03:00:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:00:01 ---> Running in 4fb4337f39ad 03:00:02 Removing intermediate container 4fb4337f39ad 03:00:02 ---> b83004e9715c 03:00:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:00:02 ---> Running in eec26b232953 03:00:02 Removing intermediate container eec26b232953 03:00:02 ---> a909e3a824ad 03:00:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:02 ---> Running in f394b84065b0 03:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:00:05 (1/4) Installing openssh-keygen (9.3_p2-r2) 03:00:05 (2/4) Installing libedit (20221030.3.1-r1) 03:00:05 (3/4) Installing openssh-client-common (9.3_p2-r2) 03:00:05 (4/4) Installing openssh-client-default (9.3_p2-r2) 03:00:05 Executing busybox-1.36.1-r5.trigger 03:00:05 OK: 271 MiB in 56 packages 03:00:06 Removing intermediate container f394b84065b0 03:00:06 ---> bc80ab450f58 03:00:06 Step 8/12 : WORKDIR /device-mqtt-go 03:00:06 ---> Running in 160627c41e8b 03:00:06 Removing intermediate container 160627c41e8b 03:00:06 ---> 51a04044ff48 03:00:06 Step 9/12 : COPY go.mod vendor* ./ 03:00:06 ---> 891e67b107ef 03:00:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:07 ---> Running in ca038677fcc1 03:02:00 Removing intermediate container ca038677fcc1 03:02:00 ---> 5f5753b78254 03:02:00 Step 11/12 : COPY . . 03:02:00 ---> e61a76ec75fe 03:02:00 Step 12/12 : RUN $MAKE 03:02:00 ---> Running in bb0054456238 03:02:00 noop 03:02:00 Removing intermediate container bb0054456238 03:02:00 ---> 754c6649fd4c 03:02:00 Successfully built 754c6649fd4c 03:02:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:00 + docker inspect -f . ci-base-image-arm64 03:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:00 prd-ubuntu20.04-docker-arm64-4c-16g-6837 does not seem to be running inside a container 03:02:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/172 -v /w/workspace/device-mqtt-go/172:/w/workspace/device-mqtt-go/172:rw,z -v /w/workspace/device-mqtt-go/172@tmp:/w/workspace/device-mqtt-go/172@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 03:02:02 $ docker top 9910606e451494567968588ddabf4019e1007915706f1c8ffd06c7b49277b459 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:02 + go version 03:02:02 go version go1.21.9 linux/arm64 [Pipeline] } 03:02:02 $ docker stop --time=1 9910606e451494567968588ddabf4019e1007915706f1c8ffd06c7b49277b459 03:02:04 $ docker rm -f --volumes 9910606e451494567968588ddabf4019e1007915706f1c8ffd06c7b49277b459 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:05 + docker inspect -f . ci-base-image-arm64 03:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:05 prd-ubuntu20.04-docker-arm64-4c-16g-6837 does not seem to be running inside a container 03:02:05 $ 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/172 -v /w/workspace/device-mqtt-go/172:/w/workspace/device-mqtt-go/172:rw,z -v /w/workspace/device-mqtt-go/172@tmp:/w/workspace/device-mqtt-go/172@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 03:02:06 $ docker top 4beac20231fa728ad282c313b5a33f23d9f4574b76808fa092092f3ea7eace71 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:07 + git config --global --add safe.directory /w/workspace/device-mqtt-go/172 [Pipeline] fileExists [Pipeline] sh 03:02:08 + make test 03:02:08 go test ./... -coverprofile=coverage.out ./... 03:02:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:05:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:05:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:05:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements 03:05:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:05:36 go vet ./... 03:06:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:06:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:06:23 ./bin/test-attribution-txt.sh 03:06:23 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:06:23 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:06:23 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:06:23 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:06:23 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:06:23 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:06:23 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:06:23 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:06:23 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:06:23 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:06:23 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:06:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:06:23 $ docker stop --time=1 4beac20231fa728ad282c313b5a33f23d9f4574b76808fa092092f3ea7eace71 03:06:25 $ docker rm -f --volumes 4beac20231fa728ad282c313b5a33f23d9f4574b76808fa092092f3ea7eace71 [Pipeline] // withDockerContainer [Pipeline] sh 03:06:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:06:27 Warning: overwriting stash ‘coverage-report’ 03:06:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:06:28 + ls -al . 03:06:28 total 248 03:06:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:02 . 03:06:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:59 .. 03:06:28 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:59 .dockerignore 03:06:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:59 .git 03:06:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:59 .github 03:06:28 -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:59 .gitignore 03:06:28 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:59 .golangci.yml 03:06:28 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 02:59 Attribution.txt 03:06:28 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 02:59 CHANGELOG.md 03:06:28 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 02:59 Dockerfile 03:06:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:59 GOVERNANCE.md 03:06:28 -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 02:59 Jenkinsfile 03:06:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:59 LICENSE 03:06:28 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 02:59 Makefile 03:06:28 -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:59 OWNERS.md 03:06:28 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 02:59 README.md 03:06:28 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:53 VERSION 03:06:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:59 bin 03:06:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:59 cmd 03:06:28 -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 03:05 coverage.out 03:06:28 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 02:59 go.mod 03:06:28 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:59 go.sum 03:06:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:59 internal 03:06:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:59 mock 03:06:28 -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 02:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:28 + 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=151f68fece686541369959fa72875a7edd02f739 --label arch=arm64 --label version=3.2.0-dev.18 . 03:06:29 Sending build context to Docker daemon 10.53MB 03:06:29 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 03:06:29 Step 2/25 : FROM ${BASE} AS builder 03:06:29 ---> 754c6649fd4c 03:06:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:06:29 ---> Running in c979a62af887 03:06:29 Removing intermediate container c979a62af887 03:06:29 ---> add2254108a0 03:06:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:06:29 ---> Running in a25bb7effbcf 03:06:30 Removing intermediate container a25bb7effbcf 03:06:30 ---> 02b1ab31ae2d 03:06:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:06:30 ---> Running in 97695c81f60c 03:06:30 Removing intermediate container 97695c81f60c 03:06:30 ---> a95b10c08401 03:06:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:06:30 ---> Running in 6e2c6a66235d 03:06:31 Removing intermediate container 6e2c6a66235d 03:06:31 ---> d71684f9499d 03:06:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:06:31 ---> Running in 5f5f6f9fbd47 03:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:06:33 OK: 271 MiB in 56 packages 03:06:34 Removing intermediate container 5f5f6f9fbd47 03:06:34 ---> 04e5c97119fc 03:06:34 Step 8/25 : WORKDIR /device-mqtt-go 03:06:34 ---> Running in 3c97432faafe 03:06:34 Removing intermediate container 3c97432faafe 03:06:34 ---> 46bf300a404f 03:06:34 Step 9/25 : COPY go.mod vendor* ./ 03:06:35 ---> ba9a05a4aa93 03:06:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:06:35 ---> Running in 3b421adb7328 03:06:37 Removing intermediate container 3b421adb7328 03:06:37 ---> 5584de26dd28 03:06:37 Step 11/25 : COPY . . 03:06:38 ---> a36179fe872f 03:06:38 Step 12/25 : RUN $MAKE 03:06:38 ---> Running in 9e6b88f1abaf 03:06:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 03:10:16 Removing intermediate container 9e6b88f1abaf 03:10:16 ---> db173b6ecc3d 03:10:16 Step 13/25 : FROM alpine:3.18 03:10:16 3.18: Pulling from library/alpine 03:10:16 4983c3fe2029: Pulling fs layer 03:10:16 4983c3fe2029: Verifying Checksum 03:10:16 4983c3fe2029: Download complete 03:10:16 4983c3fe2029: Pull complete 03:10:16 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:10:16 Status: Downloaded newer image for alpine:3.18 03:10:16 ---> a0237000ae83 03:10:16 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:10:16 ---> Running in e033c444567d 03:10:16 Removing intermediate container e033c444567d 03:10:16 ---> f57763adb32f 03:10:16 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:10:16 ---> Running in 1806e6bf2ebd 03:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:10:16 (1/1) Installing dumb-init (1.2.5-r2) 03:10:16 Executing busybox-1.36.1-r7.trigger 03:10:16 OK: 8 MiB in 16 packages 03:10:16 Removing intermediate container 1806e6bf2ebd 03:10:16 ---> a5382ebf97d0 03:10:16 Step 16/25 : RUN apk --no-cache upgrade 03:10:16 ---> Running in 24198507eaaf 03:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:10:16 OK: 8 MiB in 16 packages 03:10:17 Removing intermediate container 24198507eaaf 03:10:17 ---> 277e12225442 03:10:17 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:10:19 ---> e1ed39344181 03:10:19 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:10:19 ---> e282d5659ab8 03:10:19 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:10:20 ---> 43d145639ee7 03:10:20 Step 20/25 : EXPOSE 59982 03:10:20 ---> Running in 6a548f162dba 03:10:20 Removing intermediate container 6a548f162dba 03:10:20 ---> 4e8034563109 03:10:20 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:10:20 ---> Running in 24153f1194e4 03:10:21 Removing intermediate container 24153f1194e4 03:10:21 ---> da137019d8be 03:10:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:10:21 ---> Running in 0580f2ff09f1 03:10:21 Removing intermediate container 0580f2ff09f1 03:10:21 ---> ae7dc7572ffe 03:10:21 Step 23/25 : LABEL arch=arm64 03:10:21 ---> Running in 638eaa9139bd 03:10:21 Removing intermediate container 638eaa9139bd 03:10:21 ---> d72bd5be8973 03:10:21 Step 24/25 : LABEL git_sha=151f68fece686541369959fa72875a7edd02f739 03:10:21 ---> Running in 937febc23386 03:10:22 Removing intermediate container 937febc23386 03:10:22 ---> 1bc2461bef0b 03:10:22 Step 25/25 : LABEL version=3.2.0-dev.18 03:10:22 ---> Running in 9be9efdb2cf9 03:10:22 Removing intermediate container 9be9efdb2cf9 03:10:22 ---> 55f58ebedb1d 03:10:22 [Warning] One or more build-args [ARCH] were not consumed 03:10:22 Successfully built 55f58ebedb1d 03:10:22 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:22 provisioning config files... 03:10:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/172@tmp/config15350710556388774447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:23 ---> ****-login.sh 03:10:23 nexus3.edgexfoundry.org:10001 03:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:23 Configure a credential helper to remove this warning. See 03:10:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:23 03:10:23 Login Succeeded 03:10:23 nexus3.edgexfoundry.org:10002 03:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:23 Configure a credential helper to remove this warning. See 03:10:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:23 03:10:23 Login Succeeded 03:10:23 nexus3.edgexfoundry.org:10003 03:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:24 Configure a credential helper to remove this warning. See 03:10:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:24 03:10:24 Login Succeeded 03:10:24 nexus3.edgexfoundry.org:10004 03:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:24 Configure a credential helper to remove this warning. See 03:10:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:24 03:10:24 Login Succeeded 03:10:24 ****.io 03:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:10:25 Configure a credential helper to remove this warning. See 03:10:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:10:25 03:10:25 Login Succeeded 03:10:25 ---> ****-login.sh ends [Pipeline] } 03:10:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:10:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:10:25 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:10:25 151f68fece686541369959fa72875a7edd02f739 03:10:25 latest 03:10:25 3.2.0-dev.18 03:10:25 151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 03:10:25 main 03:10:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:151f68fece686541369959fa72875a7edd02f739 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:151f68fece686541369959fa72875a7edd02f739 03:10:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:10:26 ac6c6e124303: Preparing 03:10:26 8613f6c22d98: Preparing 03:10:26 ed387e05bdf5: Preparing 03:10:26 2b43dfbabc70: Preparing 03:10:26 fb7390aed26f: Preparing 03:10:26 3c20671a5817: Preparing 03:10:26 3c20671a5817: Waiting 03:10:26 fb7390aed26f: Pushed 03:10:26 ac6c6e124303: Pushed 03:10:26 8613f6c22d98: Pushed 03:10:26 2b43dfbabc70: Pushed 03:10:26 3c20671a5817: Layer already exists 03:10:36 ed387e05bdf5: Pushed 03:10:36 151f68fece686541369959fa72875a7edd02f739: digest: sha256:1bb756d7a6c8e353a007d0d4d9b8076ef38650297675da3cb236335e4e8c7d56 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:10:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:10:37 ac6c6e124303: Preparing 03:10:37 8613f6c22d98: Preparing 03:10:37 ed387e05bdf5: Preparing 03:10:37 2b43dfbabc70: Preparing 03:10:37 fb7390aed26f: Preparing 03:10:37 3c20671a5817: Preparing 03:10:37 3c20671a5817: Waiting 03:10:37 fb7390aed26f: Layer already exists 03:10:37 ac6c6e124303: Layer already exists 03:10:37 2b43dfbabc70: Layer already exists 03:10:37 8613f6c22d98: Layer already exists 03:10:37 ed387e05bdf5: Layer already exists 03:10:37 3c20671a5817: Layer already exists 03:10:37 latest: digest: sha256:1bb756d7a6c8e353a007d0d4d9b8076ef38650297675da3cb236335e4e8c7d56 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.18 03:10:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:10:38 ac6c6e124303: Preparing 03:10:38 8613f6c22d98: Preparing 03:10:38 ed387e05bdf5: Preparing 03:10:38 2b43dfbabc70: Preparing 03:10:38 fb7390aed26f: Preparing 03:10:38 3c20671a5817: Preparing 03:10:38 3c20671a5817: Waiting 03:10:38 fb7390aed26f: Layer already exists 03:10:38 ac6c6e124303: Layer already exists 03:10:38 ed387e05bdf5: Layer already exists 03:10:38 8613f6c22d98: Layer already exists 03:10:38 2b43dfbabc70: Layer already exists 03:10:38 3c20671a5817: Layer already exists 03:10:38 3.2.0-dev.18: digest: sha256:1bb756d7a6c8e353a007d0d4d9b8076ef38650297675da3cb236335e4e8c7d56 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 03:10:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:10:39 ac6c6e124303: Preparing 03:10:39 8613f6c22d98: Preparing 03:10:39 ed387e05bdf5: Preparing 03:10:39 2b43dfbabc70: Preparing 03:10:39 fb7390aed26f: Preparing 03:10:39 3c20671a5817: Preparing 03:10:39 3c20671a5817: Waiting 03:10:39 ac6c6e124303: Layer already exists 03:10:39 8613f6c22d98: Layer already exists 03:10:39 2b43dfbabc70: Layer already exists 03:10:39 fb7390aed26f: Layer already exists 03:10:39 ed387e05bdf5: Layer already exists 03:10:39 3c20671a5817: Layer already exists 03:10:39 151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18: digest: sha256:1bb756d7a6c8e353a007d0d4d9b8076ef38650297675da3cb236335e4e8c7d56 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:10:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:10:40 ac6c6e124303: Preparing 03:10:40 8613f6c22d98: Preparing 03:10:40 ed387e05bdf5: Preparing 03:10:40 2b43dfbabc70: Preparing 03:10:40 fb7390aed26f: Preparing 03:10:40 3c20671a5817: Preparing 03:10:40 3c20671a5817: Waiting 03:10:40 2b43dfbabc70: Layer already exists 03:10:40 ac6c6e124303: Layer already exists 03:10:40 ed387e05bdf5: Layer already exists 03:10:40 fb7390aed26f: Layer already exists 03:10:40 8613f6c22d98: Layer already exists 03:10:40 3c20671a5817: Layer already exists 03:10:40 main: digest: sha256:1bb756d7a6c8e353a007d0d4d9b8076ef38650297675da3cb236335e4e8c7d56 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:10:40 ===================================================== [Pipeline] echo 03:10:40 taggedImages: 03:10:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:151f68fece686541369959fa72875a7edd02f739 03:10:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:10:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.18 03:10:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:151f68fece686541369959fa72875a7edd02f739-3.2.0-dev.18 03:10:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:40 03:10:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:41 arm64: Pulling from edgex-lftools-log-publisher 03:10:41 8998bd30e6a1: Pulling fs layer 03:10:41 04944245beec: Pulling fs layer 03:10:41 699f458cf7ca: Pulling fs layer 03:10:41 765212b225bb: Pulling fs layer 03:10:41 f23df028b6ca: Pulling fs layer 03:10:41 d65c8cfc05b1: Pulling fs layer 03:10:41 2437ff75d9bd: Pulling fs layer 03:10:41 765212b225bb: Waiting 03:10:41 f23df028b6ca: Waiting 03:10:41 d65c8cfc05b1: Waiting 03:10:41 2437ff75d9bd: Waiting 03:10:41 04944245beec: Verifying Checksum 03:10:41 04944245beec: Download complete 03:10:41 765212b225bb: Verifying Checksum 03:10:41 765212b225bb: Download complete 03:10:41 f23df028b6ca: Verifying Checksum 03:10:41 f23df028b6ca: Download complete 03:10:41 d65c8cfc05b1: Verifying Checksum 03:10:41 d65c8cfc05b1: Download complete 03:10:41 699f458cf7ca: Verifying Checksum 03:10:41 699f458cf7ca: Download complete 03:10:41 8998bd30e6a1: Verifying Checksum 03:10:41 8998bd30e6a1: Download complete 03:10:44 2437ff75d9bd: Verifying Checksum 03:10:44 2437ff75d9bd: Download complete 03:10:47 8998bd30e6a1: Pull complete 03:10:47 04944245beec: Pull complete 03:10:49 699f458cf7ca: Pull complete 03:10:49 765212b225bb: Pull complete 03:10:50 f23df028b6ca: Pull complete 03:10:50 d65c8cfc05b1: Pull complete 03:11:08 2437ff75d9bd: Pull complete 03:11:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:11:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:08 prd-ubuntu20.04-docker-arm64-4c-16g-6837 does not seem to be running inside a container 03:11:08 $ 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/172 -v /w/workspace/device-mqtt-go/172:/w/workspace/device-mqtt-go/172:rw,z -v /w/workspace/device-mqtt-go/172@tmp:/w/workspace/device-mqtt-go/172@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 03:11:11 $ docker top 2f74ea5ca7aca3ae9210e33884a8bfcaf7f4a741669512dd7b8919fbdfce5c99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:12 ---> job-cost.sh 03:11:12 lf-activate-venv: SKIPPING 03:11:12 INFO: No Stack... 03:11:13 INFO: Retrieving Pricing Info for: v3-standard-4 03:11:13 INFO: Archiving Costs [Pipeline] sh 03:11:14 + + cutcat -d, /w/workspace/device-mqtt-go/172/archives/cost.csv -f6 03:11:14 [Pipeline] lock 03:11:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] 03:11:14 Resource [jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] did not exist. Created. 03:11:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:11:14 /w/workspace/device-mqtt-go/172@tmp/durable-655e98dc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:11:15 + echo total: 0.10999999940395355 [Pipeline] stash 03:11:15 Warning: overwriting stash ‘stack-cost’ 03:11:15 Stashed 1 file(s) [Pipeline] } 03:11:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 03:11:15 $ docker stop --time=1 2f74ea5ca7aca3ae9210e33884a8bfcaf7f4a741669512dd7b8919fbdfce5c99 03:11:16 $ docker rm -f --volumes 2f74ea5ca7aca3ae9210e33884a8bfcaf7f4a741669512dd7b8919fbdfce5c99 [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 03:11:17 provisioning config files... 03:11:17 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12208138617364732896tmp [Pipeline] { [Pipeline] sh 03:11:17 + set +x 03:11:17 + + bash -scurl -- -s 03:11:17 https://codecov.io/bash 03:11:17 03:11:17 _____ _ 03:11:17 / ____| | | 03:11:17 | | ___ __| | ___ ___ _____ __ 03:11:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:11:17 | |___| (_) | (_| | __/ (_| (_) \ V / 03:11:17 \_____\___/ \__,_|\___|\___\___/ \_/ 03:11:17 Bash-1.0.6 03:11:17 03:11:17 03:11:17 ==> git version 2.25.1 found 03:11:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:11:17 Release-Date: 2020-01-08 03:11:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:11:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:11:17 ==> Jenkins CI detected. 03:11:17 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:11:17 project root: . 03:11:17 --> token set from env 03:11:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:11:17 ==> Running gcov in . (disable via -X gcov) 03:11:17 ==> Python coveragepy not found 03:11:17 ==> Searching for coverage reports in: 03:11:17 + . 03:11:17 -> Found 1 reports 03:11:17 ==> Detecting git/mercurial file structure 03:11:17 ==> Reading reports 03:11:17 + ./coverage.out bytes=18506 03:11:17 ==> Appending adjustments 03:11:17 https://docs.codecov.io/docs/fixing-reports 03:11:17 + Found adjustments 03:11:17 ==> Gzipping contents 03:11:17 4.0K /tmp/codecov.PJH2ws.gz 03:11:17 ==> Uploading reports 03:11:17 url: https://codecov.io 03:11:17 query: branch=main&commit=151f68fece686541369959fa72875a7edd02f739&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:11:17 -> Pinging Codecov 03:11:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=151f68fece686541369959fa72875a7edd02f739&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:11:17 -> Uploading to 03:11:17 https://storage.googleapis.com/codecov/v4/raw/2024-07-31/7D719EC7BBE17E464838252E33014C33/151f68fece686541369959fa72875a7edd02f739/fbbef574-cbef-4fdb-b2dd-8d1d7568c371.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T031117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec695d73bee2ee33e1a8ed4928e086f39095de9a12fc73a3db1c0775c3983c41 03:11:17 % Total % Received % Xferd Average Speed Time Time Time Current 03:11:17 Dload Upload Total Spent Left Speed 03:11:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12810 --:--:-- --:--:-- --:--:-- 12810 03:11:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/151f68fece686541369959fa72875a7edd02f739 [Pipeline] } 03:11:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:11:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:11:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:11:18 03:11:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:11:18 latest: Pulling from edgex-devops/edgex-snyk-go 03:11:18 619be1103602: Already exists 03:11:18 f8ea3408117e: Pulling fs layer 03:11:18 91320369b822: Pulling fs layer 03:11:18 0406650e8295: Pulling fs layer 03:11:18 4f4fb700ef54: Pulling fs layer 03:11:18 96d80e3f36e1: Pulling fs layer 03:11:18 bcf3aedb951c: Pulling fs layer 03:11:18 4f4fb700ef54: Waiting 03:11:18 96d80e3f36e1: Waiting 03:11:18 bcf3aedb951c: Waiting 03:11:18 0406650e8295: Verifying Checksum 03:11:18 0406650e8295: Download complete 03:11:18 f8ea3408117e: Download complete 03:11:18 4f4fb700ef54: Verifying Checksum 03:11:18 4f4fb700ef54: Download complete 03:11:19 f8ea3408117e: Pull complete 03:11:19 96d80e3f36e1: Verifying Checksum 03:11:19 96d80e3f36e1: Download complete 03:11:19 91320369b822: Verifying Checksum 03:11:19 91320369b822: Download complete 03:11:20 bcf3aedb951c: Verifying Checksum 03:11:20 bcf3aedb951c: Download complete 03:11:22 91320369b822: Pull complete 03:11:22 0406650e8295: Pull complete 03:11:22 4f4fb700ef54: Pull complete 03:11:22 96d80e3f36e1: Pull complete 03:11:26 bcf3aedb951c: Pull complete 03:11:26 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 03:11:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:11:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:26 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 03:11:26 $ 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 03:11:34 $ docker top e7cd3a40ba434d43a2cfd93e86c4d9baca931b23bc55223f1eccdc60b418da1f -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 03:11:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 03:11:35 + set -o pipefail 03:11:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 03:11:41 03:11:41 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:11:41 03:11:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/a0f91625-5b20-4243-a36f-891cd624da66 03:11:41 03:11:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:11:41 03:11:42 03:11:42 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:11:42 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:11:42 $ docker stop --time=1 e7cd3a40ba434d43a2cfd93e86c4d9baca931b23bc55223f1eccdc60b418da1f 03:11:48 $ docker rm -f --volumes e7cd3a40ba434d43a2cfd93e86c4d9baca931b23bc55223f1eccdc60b418da1f [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 03:11:49 + git log --format=format:%s -1 151f68fece686541369959fa72875a7edd02f739 [Pipeline] sh 03:11:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:11:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:50 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 03:11:50 $ 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 03:11:51 $ docker top cf03bc532b14c4e7d869cad74f7e16dfeac003f66657acdde9bf9c94e292556a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:11:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:11:51 [ssh-agent] Looking for ssh-agent implementation... 03:11:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:11:51 $ docker exec cf03bc532b14c4e7d869cad74f7e16dfeac003f66657acdde9bf9c94e292556a ssh-agent 03:11:51 SSH_AUTH_SOCK=/tmp/ssh-aoht7dAuV2P7/agent.32 03:11:51 SSH_AGENT_PID=38 03:11:51 Running ssh-add (command line suppressed) 03:11:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4769410519229476190.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4769410519229476190.key) 03:11:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:11:51 + git semver tag 03:11:52 2024-07-31 03:11:52,133 [run_tag] DEBUG tag force:False 03:11:52 2024-07-31 03:11:52,133 [check_head_tag] DEBUG check head tag 03:11:52 2024-07-31 03:11:52,133 [execute] INFO git cat-file --batch-check 03:11:52 2024-07-31 03:11:52,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:11:52 2024-07-31 03:11:52,137 [execute] INFO git cat-file --batch 03:11:52 2024-07-31 03:11:52,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:11:52 2024-07-31 03:11:52,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:11:52 2024-07-31 03:11:52,156 [execute] INFO git tag -a v3.2.0-dev.18 -m v3.2.0-dev.18 03:11:52 2024-07-31 03:11:52,156 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.18', '-m', 'v3.2.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:11:52 2024-07-31 03:11:52,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:11:52 3.2.0-dev.18 [Pipeline] } 03:11:52 $ docker exec --env ******** --env ******** cf03bc532b14c4e7d869cad74f7e16dfeac003f66657acdde9bf9c94e292556a ssh-agent -k 03:11:52 unset SSH_AUTH_SOCK; 03:11:52 unset SSH_AGENT_PID; 03:11:52 echo Agent pid 38 killed; 03:11:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:11:52 + git semver [Pipeline] } 03:11:52 $ docker stop --time=1 cf03bc532b14c4e7d869cad74f7e16dfeac003f66657acdde9bf9c94e292556a 03:11:54 $ docker rm -f --volumes cf03bc532b14c4e7d869cad74f7e16dfeac003f66657acdde9bf9c94e292556a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:11:54 03:11:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:11:54 0.23.1-centos7: Pulling from edgex-lftools 03:11:54 ab5ef0e58194: Pulling fs layer 03:11:54 9712f1f96733: Pulling fs layer 03:11:54 63f879dbbcfc: Pulling fs layer 03:11:54 0d9ebad4ef96: Pulling fs layer 03:11:54 e9a5061849ea: Pulling fs layer 03:11:54 d747dcd14b5f: Pulling fs layer 03:11:54 0d9ebad4ef96: Waiting 03:11:54 e9a5061849ea: Waiting 03:11:54 2de7ff778b66: Pulling fs layer 03:11:54 d747dcd14b5f: Waiting 03:11:54 2de7ff778b66: Waiting 03:11:54 9712f1f96733: Verifying Checksum 03:11:54 9712f1f96733: Download complete 03:11:55 63f879dbbcfc: Verifying Checksum 03:11:55 63f879dbbcfc: Download complete 03:11:55 0d9ebad4ef96: Verifying Checksum 03:11:55 0d9ebad4ef96: Download complete 03:11:55 d747dcd14b5f: Download complete 03:11:55 e9a5061849ea: Verifying Checksum 03:11:55 e9a5061849ea: Download complete 03:11:55 ab5ef0e58194: Verifying Checksum 03:11:55 ab5ef0e58194: Download complete 03:11:55 2de7ff778b66: Download complete 03:11:58 ab5ef0e58194: Pull complete 03:11:58 9712f1f96733: Pull complete 03:11:58 63f879dbbcfc: Pull complete 03:12:02 0d9ebad4ef96: Pull complete 03:12:02 e9a5061849ea: Pull complete 03:12:02 d747dcd14b5f: Pull complete 03:12:03 2de7ff778b66: Pull complete 03:12:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:12:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:03 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 03:12:03 $ 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 03:12:11 $ docker top 754502604c508149fc24b354d86e1f095549326f0eb25fa5ad32ea333b16ba25 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:12:11 provisioning config files... 03:12:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2041319968645600192tmp 03:12:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4975502194251875071tmp 03:12:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16137210081291840870tmp [Pipeline] { [Pipeline] echo 03:12:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:12:11 ---> sigul-configuration.sh 03:12:11 gpg: directory `/root/.gnupg' created 03:12:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:12:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:12:11 gpg: keyring `/root/.gnupg/secring.gpg' created 03:12:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:12:11 gpg: CAST5 encrypted data 03:12:11 gpg: encrypted with 1 passphrase 03:12:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:12:12 + mkdir /home/jenkins 03:12:12 + mkdir /home/jenkins/sigul [Pipeline] sh 03:12:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:12:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:12:12 ---> sigul-install.sh 03:12:12 Sigul already installed; skipping installation. [Pipeline] sh 03:12:13 + git tag --list 03:12:13 0.7.1 03:12:13 v1.0.0 03:12:13 v1.1.0 03:12:13 v1.1.1 03:12:13 v1.2.2 03:12:13 v1.3.0 03:12:13 v1.3.1 03:12:13 v2.0.0 03:12:13 v2.1.0 03:12:13 v2.1.1 03:12:13 v2.2.0 03:12:13 v2.3.0 03:12:13 v3.0 03:12:13 v3.0.0 03:12:13 v3.1 03:12:13 v3.1.0 03:12:13 v3.1.0-dev.1 03:12:13 v3.1.0-dev.10 03:12:13 v3.1.0-dev.11 03:12:13 v3.1.0-dev.12 03:12:13 v3.1.0-dev.13 03:12:13 v3.1.0-dev.14 03:12:13 v3.1.0-dev.15 03:12:13 v3.1.0-dev.16 03:12:13 v3.1.0-dev.17 03:12:13 v3.1.0-dev.18 03:12:13 v3.1.0-dev.19 03:12:13 v3.1.0-dev.2 03:12:13 v3.1.0-dev.20 03:12:13 v3.1.0-dev.21 03:12:13 v3.1.0-dev.22 03:12:13 v3.1.0-dev.23 03:12:13 v3.1.0-dev.24 03:12:13 v3.1.0-dev.25 03:12:13 v3.1.0-dev.3 03:12:13 v3.1.0-dev.4 03:12:13 v3.1.0-dev.5 03:12:13 v3.1.0-dev.6 03:12:13 v3.1.0-dev.7 03:12:13 v3.1.0-dev.8 03:12:13 v3.1.0-dev.9 03:12:13 v3.1.1 03:12:13 v3.2.0-dev.1 03:12:13 v3.2.0-dev.10 03:12:13 v3.2.0-dev.11 03:12:13 v3.2.0-dev.12 03:12:13 v3.2.0-dev.13 03:12:13 v3.2.0-dev.14 03:12:13 v3.2.0-dev.15 03:12:13 v3.2.0-dev.16 03:12:13 v3.2.0-dev.17 03:12:13 v3.2.0-dev.18 03:12:13 v3.2.0-dev.2 03:12:13 v3.2.0-dev.3 03:12:13 v3.2.0-dev.4 03:12:13 v3.2.0-dev.5 03:12:13 v3.2.0-dev.6 03:12:13 v3.2.0-dev.7 03:12:13 v3.2.0-dev.8 03:12:13 v3.2.0-dev.9 [Pipeline] sh 03:12:13 + lftools sign git-tag v3.2.0-dev.18 03:12:13 Signing Git tag with Sigul... 03:12:13 Signing v3.2.0-dev.18 [Pipeline] echo 03:12:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:12:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:12:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:12:14 $ docker stop --time=1 754502604c508149fc24b354d86e1f095549326f0eb25fa5ad32ea333b16ba25 03:12:15 $ docker rm -f --volumes 754502604c508149fc24b354d86e1f095549326f0eb25fa5ad32ea333b16ba25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:12:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:16 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 03:12:16 $ 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 03:12:17 $ docker top 981f80b829987a5332aef1ba8e8d3054c347bb628aa25df2e738178c9c042c29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:17 [ssh-agent] Looking for ssh-agent implementation... 03:12:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:17 $ docker exec 981f80b829987a5332aef1ba8e8d3054c347bb628aa25df2e738178c9c042c29 ssh-agent 03:12:17 SSH_AUTH_SOCK=/tmp/ssh-W04fp9AJqn4V/agent.32 03:12:17 SSH_AGENT_PID=38 03:12:17 Running ssh-add (command line suppressed) 03:12:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11016564955788195442.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11016564955788195442.key) 03:12:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:17 + git semver bump pre 03:12:18 2024-07-31 03:12:17,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:12:18 2024-07-31 03:12:17,973 [bump_version] DEBUG bumping version:3.2.0-dev.18 on axis:pre with prefix:dev 03:12:18 2024-07-31 03:12:17,973 [bump_version] DEBUG bumped version:3.2.0-dev.19 03:12:18 2024-07-31 03:12:17,974 [write_version] DEBUG write version:3.2.0-dev.19 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:12:18 2024-07-31 03:12:17,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:12:18 2024-07-31 03:12:17,974 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:12:18 2024-07-31 03:12:17,975 [execute] INFO git cat-file --batch-check 03:12:18 2024-07-31 03:12:17,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:12:18 2024-07-31 03:12:17,980 [execute] INFO git cat-file --batch 03:12:18 2024-07-31 03:12:17,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:12:18 2024-07-31 03:12:17,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:12:18 3.2.0-dev.19 [Pipeline] } 03:12:18 $ docker exec --env ******** --env ******** 981f80b829987a5332aef1ba8e8d3054c347bb628aa25df2e738178c9c042c29 ssh-agent -k 03:12:18 unset SSH_AUTH_SOCK; 03:12:18 unset SSH_AGENT_PID; 03:12:18 echo Agent pid 38 killed; 03:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:18 + git semver [Pipeline] } 03:12:18 $ docker stop --time=1 981f80b829987a5332aef1ba8e8d3054c347bb628aa25df2e738178c9c042c29 03:12:20 $ docker rm -f --volumes 981f80b829987a5332aef1ba8e8d3054c347bb628aa25df2e738178c9c042c29 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:20 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 03:12:20 $ 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 03:12:21 $ docker top e404a882b40a66fd585e41f03ba011a856831b7c96366f97521c06f72c6118f0 -eo pid,comm 03:12:21 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). 03:12:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:21 [ssh-agent] Looking for ssh-agent implementation... 03:12:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:21 $ docker exec e404a882b40a66fd585e41f03ba011a856831b7c96366f97521c06f72c6118f0 ssh-agent 03:12:21 SSH_AUTH_SOCK=/tmp/ssh-IBWzov67pwKy/agent.32 03:12:21 SSH_AGENT_PID=38 03:12:21 Running ssh-add (command line suppressed) 03:12:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18270643049413208246.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18270643049413208246.key) 03:12:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:21 + git semver push 03:12:22 2024-07-31 03:12:22,063 [run_push] DEBUG push 03:12:22 2024-07-31 03:12:22,064 [execute] INFO git cat-file --batch-check 03:12:22 2024-07-31 03:12:22,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:12:22 2024-07-31 03:12:22,067 [execute] INFO git rev-list 5b347a9326b0f7ab4f8811972963cc58abdc2c6f -- 03:12:22 2024-07-31 03:12:22,068 [execute] DEBUG Popen(['git', 'rev-list', '5b347a9326b0f7ab4f8811972963cc58abdc2c6f', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:12:22 2024-07-31 03:12:22,075 [execute] INFO git fetch -v origin 03:12:22 2024-07-31 03:12:22,076 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:12:22 2024-07-31 03:12:22,530 [run_push] DEBUG no remote changes detected 03:12:22 2024-07-31 03:12:22,530 [execute] INFO git push origin semver 03:12:22 2024-07-31 03:12:22,531 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:12:23 2024-07-31 03:12:23,299 [run_push] DEBUG push all version tags 03:12:23 2024-07-31 03:12:23,299 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:12:23 2024-07-31 03:12:23,300 [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) 03:12:24 2024-07-31 03:12:23,942 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:12:24 3.2.0-dev.19 [Pipeline] } 03:12:24 $ docker exec --env ******** --env ******** e404a882b40a66fd585e41f03ba011a856831b7c96366f97521c06f72c6118f0 ssh-agent -k 03:12:24 unset SSH_AUTH_SOCK; 03:12:24 unset SSH_AGENT_PID; 03:12:24 echo Agent pid 38 killed; 03:12:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:24 + git semver [Pipeline] } 03:12:24 $ docker stop --time=1 e404a882b40a66fd585e41f03ba011a856831b7c96366f97521c06f72c6118f0 03:12:26 $ docker rm -f --volumes e404a882b40a66fd585e41f03ba011a856831b7c96366f97521c06f72c6118f0 [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 03:12:27 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:12:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:12:27 total 16 03:12:27 drwxr-xr-x 3 root root 4096 Jul 31 02:56 . 03:12:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 03:12 .. 03:12:27 drwxr-xr-x 2 root root 4096 Jul 31 02:56 cost 03:12:27 -rw-r--r-- 1 root root 86 Jul 31 02:56 cost.csv 03:12:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:12:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:12:27 total 16 03:12:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:56 . 03:12:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 03:12 .. 03:12:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:56 cost 03:12:27 -rw-r--r-- 1 jenkins jenkins 86 Jul 31 02:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:12:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:12:28 ---> package-listing.sh 03:12:28 ++ facter osfamily 03:12:28 ++ tr '[:upper:]' '[:lower:]' 03:12:28 + OS_FAMILY=debian 03:12:28 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:12:28 + START_PACKAGES=/tmp/packages_start.txt 03:12:28 + END_PACKAGES=/tmp/packages_end.txt 03:12:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:12:28 + PACKAGES=/tmp/packages_start.txt 03:12:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:12:28 + PACKAGES=/tmp/packages_end.txt 03:12:28 + case "${OS_FAMILY}" in 03:12:28 + dpkg -l 03:12:28 + grep '^ii' 03:12:28 + '[' -f /tmp/packages_start.txt ']' 03:12:28 + '[' -f /tmp/packages_end.txt ']' 03:12:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:12:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:12:28 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:12:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:12:28 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 03:12:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:29 prd-ubuntu20.04-docker-8c-8g-6835 does not seem to be running inside a container 03:12:29 $ 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 03:12:29 $ docker top cebe7be76d72e17129b07e1de6dcc9a3c3f3b7c9e0a440f81fbeb271faa7cea9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:30 + touch /tmp/pre-build-complete [Pipeline] sh 03:12:30 + mkdir -p /var/log/sysstat [Pipeline] sh 03:12:30 + ls /var/log/sa-host 03:12:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:30 provisioning config files... 03:12:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config896260743737379809tmp [Pipeline] { [Pipeline] echo 03:12:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:12:31 ---> create-netrc.sh [Pipeline] } 03:12:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:12:31 ---> python-tools-install.sh [Pipeline] echo 03:12:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:12:31 ---> sudo-logs.sh 03:12:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:12:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:12:32 ---> job-cost.sh 03:12:32 lf-activate-venv: SKIPPING 03:12:32 DEBUG: total: 0.2199999988079071 03:12:32 INFO: Retrieving Stack Cost... 03:12:32 INFO: Retrieving Pricing Info for: v3-standard-8 03:12:32 INFO: Archiving Costs [Pipeline] echo 03:12:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:12:33 ---> logs-deploy.sh 03:12:33 lf-activate-venv: SKIPPING 03:12:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/172 03:12:33 INFO: archiving workspace using pattern(s): 03:12:34 Archives upload complete. 03:12:34 INFO: archiving logs to Nexus