Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35de5baf133cb3849b13998f5bd615ef0c638656 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-ssh17951343373424539235.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-ssh17386356124473711258.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-ssh17605895410902737704.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-ssh8368883695728479710.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-ssh9028014518702954821.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 Running on prd-ubuntu20.04-docker-8c-8g-4972 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 35de5baf133cb3849b13998f5bd615ef0c638656 (main) Commit message: "Merge pull request #679 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > 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 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 > git rev-list --no-walk a00efe280ec4bc21b554f46c724946ca453ce756 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:13 ========================================================= 05:03:13 EdgeX Global Pipelines Version Info 05:03:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:13 ------------------- 05:03:13 stable info: 05:03:13 ------------------- 05:03:13 Commited By: Ginny Guan ginny@iotechsys.com 05:03:13 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:03:13 Message: update stable to v1.0.260 05:03:14 ------------------- 05:03:14 experimental info: 05:03:14 ------------------- 05:03:14 Commited By: Ginny Guan ginny@iotechsys.com 05:03:14 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:03:14 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35de5ba [Pipeline] echo 05:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:15 provisioning config files... 05:03:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10763999753394927276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:15 ---> ****-login.sh 05:03:15 nexus3.edgexfoundry.org:10001 05:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:15 Configure a credential helper to remove this warning. See 05:03:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:15 05:03:15 Login Succeeded 05:03:15 nexus3.edgexfoundry.org:10002 05:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:15 Configure a credential helper to remove this warning. See 05:03:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:15 05:03:15 Login Succeeded 05:03:15 nexus3.edgexfoundry.org:10003 05:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:16 Configure a credential helper to remove this warning. See 05:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:16 05:03:16 Login Succeeded 05:03:16 nexus3.edgexfoundry.org:10004 05:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:16 Configure a credential helper to remove this warning. See 05:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:16 05:03:16 Login Succeeded 05:03:16 ****.io 05:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:16 Configure a credential helper to remove this warning. See 05:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:16 05:03:16 Login Succeeded 05:03:16 ---> ****-login.sh ends [Pipeline] } 05:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:16 + git rev-list -1 --merges 35de5baf133cb3849b13998f5bd615ef0c638656~1..35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] echo 05:03:16 -----------> git rev-list -1 --merges 35de5baf133cb3849b13998f5bd615ef0c638656~1..35de5baf133cb3849b13998f5bd615ef0c638656 35de5baf133cb3849b13998f5bd615ef0c638656 05:03:16 35de5baf133cb3849b13998f5bd615ef0c638656 [false] [Pipeline] sh 05:03:17 + git log --format=format:%s -1 35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] echo 05:03:17 ========================================================= 05:03:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:17 + git log --format=format:%s -1 35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] echo 05:03:17 [semverPrep] GIT_COMMIT: 35de5baf133cb3849b13998f5bd615ef0c638656, Commit Message: Merge pull request #679 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo 05:03:17 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:17 + grep -v github /etc/ssh/ssh_known_hosts 05:03:17 + [ -e /tmp/ssh_known_hosts ] 05:03:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:17 + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 05:03:17 /etc/ssh/ssh_known_hosts 05:03:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:18 05:03:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:18 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:18 b85a868b505f: Pulling fs layer 05:03:18 e2be974225ed: Pulling fs layer 05:03:18 339a4e72a1f5: Pulling fs layer 05:03:18 988bab9f4d93: Pulling fs layer 05:03:18 1469e6f7b9e6: Pulling fs layer 05:03:18 eaf3925da568: Pulling fs layer 05:03:18 bab4dde63d76: Pulling fs layer 05:03:18 bde34c3a00c8: Pulling fs layer 05:03:18 b352a97aabf1: Pulling fs layer 05:03:18 4872d77fe225: Pulling fs layer 05:03:18 5851b861e8e6: Pulling fs layer 05:03:18 bab4dde63d76: Waiting 05:03:18 4872d77fe225: Waiting 05:03:18 5851b861e8e6: Waiting 05:03:18 bde34c3a00c8: Waiting 05:03:18 b352a97aabf1: Waiting 05:03:18 988bab9f4d93: Waiting 05:03:18 1469e6f7b9e6: Waiting 05:03:18 eaf3925da568: Waiting 05:03:18 e2be974225ed: Verifying Checksum 05:03:18 e2be974225ed: Download complete 05:03:18 988bab9f4d93: Verifying Checksum 05:03:18 988bab9f4d93: Download complete 05:03:18 1469e6f7b9e6: Verifying Checksum 05:03:18 1469e6f7b9e6: Download complete 05:03:18 eaf3925da568: Verifying Checksum 05:03:18 eaf3925da568: Download complete 05:03:18 339a4e72a1f5: Verifying Checksum 05:03:18 339a4e72a1f5: Download complete 05:03:18 bde34c3a00c8: Verifying Checksum 05:03:18 b352a97aabf1: Verifying Checksum 05:03:18 b352a97aabf1: Download complete 05:03:18 4872d77fe225: Verifying Checksum 05:03:18 4872d77fe225: Download complete 05:03:18 5851b861e8e6: Verifying Checksum 05:03:18 5851b861e8e6: Download complete 05:03:18 b85a868b505f: Verifying Checksum 05:03:18 b85a868b505f: Download complete 05:03:19 bab4dde63d76: Verifying Checksum 05:03:19 bab4dde63d76: Download complete 05:03:20 b85a868b505f: Pull complete 05:03:20 e2be974225ed: Pull complete 05:03:20 339a4e72a1f5: Pull complete 05:03:20 988bab9f4d93: Pull complete 05:03:20 1469e6f7b9e6: Pull complete 05:03:20 eaf3925da568: Pull complete 05:03:22 bab4dde63d76: Pull complete 05:03:22 bde34c3a00c8: Pull complete 05:03:22 b352a97aabf1: Pull complete 05:03:22 4872d77fe225: Pull complete 05:03:22 5851b861e8e6: Pull complete 05:03:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:03:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:22 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:25 $ docker top 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 -eo pid,comm 05:03:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:03:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:25 [ssh-agent] Looking for ssh-agent implementation... 05:03:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:25 $ docker exec 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 ssh-agent 05:03:25 SSH_AUTH_SOCK=/tmp/ssh-bQOlY6AE8dDz/agent.31 05:03:25 SSH_AGENT_PID=37 05:03:25 Running ssh-add (command line suppressed) 05:03:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16982247201354106163.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16982247201354106163.key) 05:03:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:26 + git tag --points-at HEAD [Pipeline] } 05:03:26 $ docker exec --env ******** --env ******** 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 ssh-agent -k 05:03:26 unset SSH_AUTH_SOCK; 05:03:26 unset SSH_AGENT_PID; 05:03:26 echo Agent pid 37 killed; 05:03:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:26 [ssh-agent] Looking for ssh-agent implementation... 05:03:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:26 $ docker exec 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 ssh-agent 05:03:26 SSH_AUTH_SOCK=/tmp/ssh-zCfHNrD1IdiL/agent.71 05:03:26 SSH_AGENT_PID=77 05:03:26 Running ssh-add (command line suppressed) 05:03:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9539165940802117048.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9539165940802117048.key) 05:03:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:27 + git semver init 05:03:27 2024-07-04 05:03:27,201 [run_init] DEBUG init version:0.0.0 force:False 05:03:27 2024-07-04 05:03:27,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:03:27 2024-07-04 05:03:27,202 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 05:03:27 2024-07-04 05:03:27,203 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 05:03:28 2024-07-04 05:03:28,512 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 05:03:28 2024-07-04 05:03:28,513 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 05:03:28 2024-07-04 05:03:28,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:03:28 2024-07-04 05:03:28,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:03:28 3.2.0-dev.13 [Pipeline] } 05:03:28 $ docker exec --env ******** --env ******** 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 ssh-agent -k 05:03:28 unset SSH_AUTH_SOCK; 05:03:28 unset SSH_AGENT_PID; 05:03:28 echo Agent pid 77 killed; 05:03:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:29 + git semver [Pipeline] } 05:03:29 $ docker stop --time=1 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 05:03:30 $ docker rm -f --volumes 5c923be54a1dc329541439ad3475dfd89708c4a240a3d006d1322eb9cc1cbdf8 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:31 Stashed 1 file(s) [Pipeline] echo 05:03:31 [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:31 provisioning config files... 05:03:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4756052326414527701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:31 ---> ****-login.sh 05:03:31 nexus3.edgexfoundry.org:10001 05:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:31 Configure a credential helper to remove this warning. See 05:03:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:31 05:03:31 Login Succeeded 05:03:31 nexus3.edgexfoundry.org:10002 05:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:31 Configure a credential helper to remove this warning. See 05:03:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:31 05:03:31 Login Succeeded 05:03:31 nexus3.edgexfoundry.org:10003 05:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:32 Configure a credential helper to remove this warning. See 05:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:32 05:03:32 Login Succeeded 05:03:32 nexus3.edgexfoundry.org:10004 05:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:32 Configure a credential helper to remove this warning. See 05:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:32 05:03:32 Login Succeeded 05:03:32 ****.io 05:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:32 Configure a credential helper to remove this warning. See 05:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:32 05:03:32 Login Succeeded 05:03:32 ---> ****-login.sh ends [Pipeline] } 05:03:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:03:32 ========================================================= 05:03:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:03:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:32 + 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 . 05:03:32 Sending build context to Docker daemon 21MB 05:03:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:03:32 Step 2/12 : FROM ${BASE} AS builder 05:03:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:32 619be1103602: Pulling fs layer 05:03:32 7862e08f4a3e: Pulling fs layer 05:03:32 5df492c9dc93: Pulling fs layer 05:03:32 7629e6793208: Pulling fs layer 05:03:32 4f4fb700ef54: Pulling fs layer 05:03:32 fb5054dd5b73: Pulling fs layer 05:03:32 eeca6798cff9: Pulling fs layer 05:03:32 aa269ceb94a6: Pulling fs layer 05:03:32 ada007ff1a6a: Pulling fs layer 05:03:32 7629e6793208: Waiting 05:03:32 4f4fb700ef54: Waiting 05:03:32 fb5054dd5b73: Waiting 05:03:32 eeca6798cff9: Waiting 05:03:32 ada007ff1a6a: Waiting 05:03:32 7862e08f4a3e: Download complete 05:03:33 7629e6793208: Download complete 05:03:33 4f4fb700ef54: Verifying Checksum 05:03:33 4f4fb700ef54: Download complete 05:03:33 fb5054dd5b73: Verifying Checksum 05:03:33 fb5054dd5b73: Download complete 05:03:33 619be1103602: Verifying Checksum 05:03:33 619be1103602: Download complete 05:03:33 eeca6798cff9: Verifying Checksum 05:03:33 eeca6798cff9: Download complete 05:03:33 619be1103602: Pull complete 05:03:33 7862e08f4a3e: Pull complete 05:03:34 ada007ff1a6a: Verifying Checksum 05:03:34 ada007ff1a6a: Download complete 05:03:34 5df492c9dc93: Verifying Checksum 05:03:34 5df492c9dc93: Download complete 05:03:34 aa269ceb94a6: Verifying Checksum 05:03:34 aa269ceb94a6: Download complete 05:03:37 5df492c9dc93: Pull complete 05:03:37 7629e6793208: Pull complete 05:03:37 4f4fb700ef54: Pull complete 05:03:37 fb5054dd5b73: Pull complete 05:03:37 eeca6798cff9: Pull complete 05:03:40 aa269ceb94a6: Pull complete 05:03:40 ada007ff1a6a: Pull complete 05:03:40 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:03:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:03:40 ---> f489d0715acc 05:03:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:03:43 ---> Running in d16c2fa33203 05:03:43 Removing intermediate container d16c2fa33203 05:03:43 ---> d89e533f3245 05:03:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:43 ---> Running in 054a5bd99e40 05:03:43 Removing intermediate container 054a5bd99e40 05:03:43 ---> bfb1897067da 05:03:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:03:43 ---> Running in a52a78a15817 05:03:43 Removing intermediate container a52a78a15817 05:03:43 ---> ed15983d199f 05:03:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:03:43 ---> Running in cab9880d9502 05:03:44 Removing intermediate container cab9880d9502 05:03:44 ---> 56c9288cd20f 05:03:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:44 ---> Running in 5f297d0c4f55 05:03:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:03:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:03:46 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:03:46 Still waiting to schedule task 05:03:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4984’ 05:03:46 (2/4) Installing libedit (20221030.3.1-r1) 05:03:46 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:03:46 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:03:46 Executing busybox-1.36.1-r5.trigger 05:03:46 OK: 268 MiB in 56 packages 05:03:47 Removing intermediate container 5f297d0c4f55 05:03:47 ---> 83da3d7dee54 05:03:47 Step 8/12 : WORKDIR /device-mqtt-go 05:03:47 ---> Running in a31f2e45512f 05:03:47 Removing intermediate container a31f2e45512f 05:03:47 ---> 021dba42fab5 05:03:47 Step 9/12 : COPY go.mod vendor* ./ 05:03:47 ---> 77ea843814dc 05:03:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:47 ---> Running in a22c3c24a65a 05:04:33 Removing intermediate container a22c3c24a65a 05:04:33 ---> c5241da4786d 05:04:33 Step 11/12 : COPY . . 05:04:33 ---> edb7ceb52da0 05:04:33 Step 12/12 : RUN $MAKE 05:04:33 ---> Running in 87b2802711ee 05:04:33 noop 05:04:33 Removing intermediate container 87b2802711ee 05:04:33 ---> c0524e625de1 05:04:33 Successfully built c0524e625de1 05:04:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:34 + docker inspect -f . ci-base-image-x86_64 05:04:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:34 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:34 $ docker top 74231d3fd1f9e87bf5a317dd9b901c32f99cfff41cd07ee96cd3aff511b35de8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:34 + go version 05:04:34 go version go1.21.9 linux/amd64 [Pipeline] } 05:04:34 $ docker stop --time=1 74231d3fd1f9e87bf5a317dd9b901c32f99cfff41cd07ee96cd3aff511b35de8 05:04:36 $ docker rm -f --volumes 74231d3fd1f9e87bf5a317dd9b901c32f99cfff41cd07ee96cd3aff511b35de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:36 + docker inspect -f . ci-base-image-x86_64 05:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:36 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:04:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:37 $ docker top f9069c54463f3d1fc1f7660723a38055c1b7294c14cf60daa6ddcbe8f39175aa -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 05:04:37 + make test 05:04:37 go test ./... -coverprofile=coverage.out ./... 05:04:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:04:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:04:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:04:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.8% of statements 05:05:07 go vet ./... 05:05:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:11 ./bin/test-attribution-txt.sh 05:05:11 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:05:11 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:05:11 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:05:11 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:05:11 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:05:11 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:05:11 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:05:11 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:05:11 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:05:11 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:05:11 $ docker stop --time=1 f9069c54463f3d1fc1f7660723a38055c1b7294c14cf60daa6ddcbe8f39175aa 05:05:15 $ docker rm -f --volumes f9069c54463f3d1fc1f7660723a38055c1b7294c14cf60daa6ddcbe8f39175aa [Pipeline] // withDockerContainer [Pipeline] sh 05:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:17 + ls -al . 05:05:17 total 252 05:05:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:04 . 05:05:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:03 .. 05:05:17 -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:03 .dockerignore 05:05:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:04 .git 05:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:03 .github 05:05:17 -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:03 .gitignore 05:05:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:03 .golangci.yml 05:05:17 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:03 .semver 05:05:17 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 4 05:03 Attribution.txt 05:05:17 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 4 05:03 CHANGELOG.md 05:05:17 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 4 05:03 Dockerfile 05:05:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:03 GOVERNANCE.md 05:05:17 -rw-rw-r-- 1 jenkins jenkins 657 Jul 4 05:03 Jenkinsfile 05:05:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:03 LICENSE 05:05:17 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 4 05:03 Makefile 05:05:17 -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:03 OWNERS.md 05:05:17 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 4 05:03 README.md 05:05:17 -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:03 VERSION 05:05:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:03 bin 05:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:03 cmd 05:05:17 -rw-r--r-- 1 jenkins jenkins 18506 Jul 4 05:04 coverage.out 05:05:17 -rw-rw-r-- 1 jenkins jenkins 7122 Jul 4 05:03 go.mod 05:05:17 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:03 go.sum 05:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:03 internal 05:05:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:03 mock 05:05:17 -rw-rw-r-- 1 jenkins jenkins 227 Jul 4 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:18 + 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=35de5baf133cb3849b13998f5bd615ef0c638656 --label arch=amd64 --label version=3.2.0-dev.13 . 05:05:18 Sending build context to Docker daemon 21.02MB 05:05:18 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 05:05:18 Step 2/25 : FROM ${BASE} AS builder 05:05:18 ---> c0524e625de1 05:05:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:05:18 ---> Running in bdb07ac57b5b 05:05:18 Removing intermediate container bdb07ac57b5b 05:05:18 ---> b94bb5928fc4 05:05:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:18 ---> Running in 973f01de11ba 05:05:18 Removing intermediate container 973f01de11ba 05:05:18 ---> 60f4adc164d9 05:05:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:05:18 ---> Running in b66d8b923c11 05:05:18 Removing intermediate container b66d8b923c11 05:05:18 ---> 4f74212640bf 05:05:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:05:18 ---> Running in 06fa4277dc40 05:05:19 Removing intermediate container 06fa4277dc40 05:05:19 ---> 6e558a17817f 05:05:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:19 ---> Running in 2645253bf0dc 05:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:05:19 OK: 268 MiB in 56 packages 05:05:20 Removing intermediate container 2645253bf0dc 05:05:20 ---> 30ba8c8954c4 05:05:20 Step 8/25 : WORKDIR /device-mqtt-go 05:05:20 ---> Running in 7d594f9beb7e 05:05:20 Removing intermediate container 7d594f9beb7e 05:05:20 ---> d9599d702c6c 05:05:20 Step 9/25 : COPY go.mod vendor* ./ 05:05:20 ---> a680a1c0b0f9 05:05:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:20 ---> Running in 7c89059a3f09 05:05:20 Removing intermediate container 7c89059a3f09 05:05:20 ---> 0ab778fb35bc 05:05:20 Step 11/25 : COPY . . 05:05:21 ---> 7e71ec0a7d68 05:05:21 Step 12/25 : RUN $MAKE 05:05:21 ---> Running in 872fd688b66c 05:05:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 05:05:54 Removing intermediate container 872fd688b66c 05:05:54 ---> b974d7bc5c3c 05:05:54 Step 13/25 : FROM alpine:3.18 05:05:54 3.18: Pulling from library/alpine 05:05:54 73baa7ef167e: Pulling fs layer 05:05:54 73baa7ef167e: Verifying Checksum 05:05:54 73baa7ef167e: Download complete 05:05:54 73baa7ef167e: Pull complete 05:05:54 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:05:54 Status: Downloaded newer image for alpine:3.18 05:05:54 ---> 8fd7cac70a4a 05:05:54 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:05:54 ---> Running in fa3bf6283b5d 05:05:54 Removing intermediate container fa3bf6283b5d 05:05:54 ---> 8b1deeb5d19d 05:05:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:05:54 ---> Running in 2a0bb0b5d200 05:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:05:54 (1/1) Installing dumb-init (1.2.5-r2) 05:05:54 Executing busybox-1.36.1-r7.trigger 05:05:54 OK: 7 MiB in 16 packages 05:05:54 Removing intermediate container 2a0bb0b5d200 05:05:54 ---> 55ae75fdceb2 05:05:54 Step 16/25 : RUN apk --no-cache upgrade 05:05:54 ---> Running in 7c8f3faa3d80 05:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:05:54 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:05:54 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:05:54 OK: 7 MiB in 16 packages 05:05:54 Removing intermediate container 7c8f3faa3d80 05:05:54 ---> c5f9879bb99f 05:05:54 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 05:05:55 ---> b9f8c8766652 05:05:55 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 05:05:55 ---> 7c58ea890af6 05:05:55 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:05:55 ---> cfcf63b019d6 05:05:55 Step 20/25 : EXPOSE 59982 05:05:55 ---> Running in 035164b7eaae 05:05:55 Removing intermediate container 035164b7eaae 05:05:55 ---> fc0d4a264027 05:05:55 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 05:05:55 ---> Running in a8f124074db7 05:05:55 Removing intermediate container a8f124074db7 05:05:55 ---> 91a8a905cb69 05:05:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:05:55 ---> Running in d15990f3e69d 05:05:55 Removing intermediate container d15990f3e69d 05:05:55 ---> bd236a2916f2 05:05:55 Step 23/25 : LABEL arch=amd64 05:05:55 ---> Running in 12e6952c1e25 05:05:55 Removing intermediate container 12e6952c1e25 05:05:55 ---> 679076d9cac0 05:05:55 Step 24/25 : LABEL git_sha=35de5baf133cb3849b13998f5bd615ef0c638656 05:05:56 ---> Running in f548f1fa0432 05:05:56 Removing intermediate container f548f1fa0432 05:05:56 ---> addbbdd421a3 05:05:56 Step 25/25 : LABEL version=3.2.0-dev.13 05:05:56 ---> Running in 4b6949824140 05:05:56 Removing intermediate container 4b6949824140 05:05:56 ---> a714a75c5a56 05:05:56 [Warning] One or more build-args [ARCH] were not consumed 05:05:56 Successfully built a714a75c5a56 05:05:56 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:56 provisioning config files... 05:05:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12769029375442972618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:56 ---> ****-login.sh 05:05:56 nexus3.edgexfoundry.org:10001 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 nexus3.edgexfoundry.org:10002 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 nexus3.edgexfoundry.org:10003 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 nexus3.edgexfoundry.org:10004 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 ****.io 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 ---> ****-login.sh ends [Pipeline] } 05:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:05:57 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 05:05:57 35de5baf133cb3849b13998f5bd615ef0c638656 05:05:57 latest 05:05:57 3.2.0-dev.13 05:05:57 35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 05:05:57 main 05:05:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:35de5baf133cb3849b13998f5bd615ef0c638656 05:05:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:05:57 7ee173801028: Preparing 05:05:57 b20ae2b2c575: Preparing 05:05:57 724656f21573: Preparing 05:05:57 33cd5d28c334: Preparing 05:05:57 d5a992eb6d02: Preparing 05:05:57 63ec0bd56cf3: Preparing 05:05:57 63ec0bd56cf3: Waiting 05:05:57 b20ae2b2c575: Pushed 05:05:57 d5a992eb6d02: Pushed 05:05:57 7ee173801028: Pushed 05:05:57 63ec0bd56cf3: Layer already exists 05:05:58 33cd5d28c334: Pushed 05:06:06 724656f21573: Pushed 05:06:06 35de5baf133cb3849b13998f5bd615ef0c638656: digest: sha256:d9e0b61cf2dd056eb5a7787eb24a9cc45005c86bc3709a28bf80fbbacbc0b490 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:06:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:06:07 7ee173801028: Preparing 05:06:07 b20ae2b2c575: Preparing 05:06:07 724656f21573: Preparing 05:06:07 33cd5d28c334: Preparing 05:06:07 d5a992eb6d02: Preparing 05:06:07 63ec0bd56cf3: Preparing 05:06:07 63ec0bd56cf3: Waiting 05:06:07 7ee173801028: Layer already exists 05:06:07 d5a992eb6d02: Layer already exists 05:06:07 724656f21573: Layer already exists 05:06:07 b20ae2b2c575: Layer already exists 05:06:07 33cd5d28c334: Layer already exists 05:06:07 63ec0bd56cf3: Layer already exists 05:06:07 latest: digest: sha256:d9e0b61cf2dd056eb5a7787eb24a9cc45005c86bc3709a28bf80fbbacbc0b490 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.13 05:06:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:06:07 7ee173801028: Preparing 05:06:07 b20ae2b2c575: Preparing 05:06:07 724656f21573: Preparing 05:06:07 33cd5d28c334: Preparing 05:06:07 d5a992eb6d02: Preparing 05:06:07 63ec0bd56cf3: Preparing 05:06:07 63ec0bd56cf3: Waiting 05:06:07 b20ae2b2c575: Layer already exists 05:06:07 724656f21573: Layer already exists 05:06:07 33cd5d28c334: Layer already exists 05:06:07 d5a992eb6d02: Layer already exists 05:06:07 7ee173801028: Layer already exists 05:06:07 63ec0bd56cf3: Layer already exists 05:06:07 3.2.0-dev.13: digest: sha256:d9e0b61cf2dd056eb5a7787eb24a9cc45005c86bc3709a28bf80fbbacbc0b490 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 05:06:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:06:08 7ee173801028: Preparing 05:06:08 b20ae2b2c575: Preparing 05:06:08 724656f21573: Preparing 05:06:08 33cd5d28c334: Preparing 05:06:08 d5a992eb6d02: Preparing 05:06:08 63ec0bd56cf3: Preparing 05:06:08 63ec0bd56cf3: Waiting 05:06:08 33cd5d28c334: Layer already exists 05:06:08 7ee173801028: Layer already exists 05:06:08 724656f21573: Layer already exists 05:06:08 b20ae2b2c575: Layer already exists 05:06:08 d5a992eb6d02: Layer already exists 05:06:08 63ec0bd56cf3: Layer already exists 05:06:08 35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13: digest: sha256:d9e0b61cf2dd056eb5a7787eb24a9cc45005c86bc3709a28bf80fbbacbc0b490 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 05:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:06:09 7ee173801028: Preparing 05:06:09 b20ae2b2c575: Preparing 05:06:09 724656f21573: Preparing 05:06:09 33cd5d28c334: Preparing 05:06:09 d5a992eb6d02: Preparing 05:06:09 63ec0bd56cf3: Preparing 05:06:09 63ec0bd56cf3: Waiting 05:06:09 724656f21573: Layer already exists 05:06:09 7ee173801028: Layer already exists 05:06:09 d5a992eb6d02: Layer already exists 05:06:09 33cd5d28c334: Layer already exists 05:06:09 b20ae2b2c575: Layer already exists 05:06:09 63ec0bd56cf3: Layer already exists 05:06:09 main: digest: sha256:d9e0b61cf2dd056eb5a7787eb24a9cc45005c86bc3709a28bf80fbbacbc0b490 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:06:09 ===================================================== [Pipeline] echo 05:06:09 taggedImages: 05:06:09 - nexus3.edgexfoundry.org:10004/device-mqtt:35de5baf133cb3849b13998f5bd615ef0c638656 05:06:09 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:06:09 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.13 05:06:09 - nexus3.edgexfoundry.org:10004/device-mqtt:35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 05:06:09 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:09 05:06:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:10 latest: Pulling from edgex-lftools-log-publisher 05:06:10 5eb5b503b376: Pulling fs layer 05:06:10 5c69ac0246d0: Pulling fs layer 05:06:10 ec43610c2a17: Pulling fs layer 05:06:10 3a2ae6a8a46f: Pulling fs layer 05:06:10 33b1e0a273af: Pulling fs layer 05:06:10 3a2ae6a8a46f: Waiting 05:06:10 5d3b04190fa2: Pulling fs layer 05:06:10 2f39f015ded8: Pulling fs layer 05:06:10 33b1e0a273af: Waiting 05:06:10 5d3b04190fa2: Waiting 05:06:10 5c69ac0246d0: Verifying Checksum 05:06:10 5c69ac0246d0: Download complete 05:06:10 3a2ae6a8a46f: Download complete 05:06:10 33b1e0a273af: Verifying Checksum 05:06:10 33b1e0a273af: Download complete 05:06:10 5d3b04190fa2: Verifying Checksum 05:06:10 5d3b04190fa2: Download complete 05:06:10 ec43610c2a17: Verifying Checksum 05:06:10 ec43610c2a17: Download complete 05:06:10 5eb5b503b376: Verifying Checksum 05:06:10 5eb5b503b376: Download complete 05:06:10 2f39f015ded8: Download complete 05:06:11 5eb5b503b376: Pull complete 05:06:11 5c69ac0246d0: Pull complete 05:06:12 ec43610c2a17: Pull complete 05:06:12 3a2ae6a8a46f: Pull complete 05:06:12 33b1e0a273af: Pull complete 05:06:12 5d3b04190fa2: Pull complete 05:06:16 2f39f015ded8: Pull complete 05:06:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:16 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:21 $ docker top dc1e04700f5671d8c644adb61d82209be6e6423c65bee08c86cae5b0db86631d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:21 ---> job-cost.sh 05:06:21 lf-activate-venv: SKIPPING 05:06:21 INFO: No Stack... 05:06:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:22 INFO: Archiving Costs [Pipeline] sh 05:06:22 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 05:06:22 + cut -d, -f6 [Pipeline] lock 05:06:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] 05:06:22 Resource [jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] did not exist. Created. 05:06:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:23 + echo total: 0.6600000262260437 [Pipeline] stash 05:06:23 Stashed 1 file(s) [Pipeline] } 05:06:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:23 $ docker stop --time=1 dc1e04700f5671d8c644adb61d82209be6e6423c65bee08c86cae5b0db86631d 05:06:24 $ docker rm -f --volumes dc1e04700f5671d8c644adb61d82209be6e6423c65bee08c86cae5b0db86631d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4990 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 05:06:32 Running in /w/workspace/device-mqtt-go/167 [Pipeline] { [Pipeline] checkout 05:06:32 The recommended git tool is: git 05:06:41 using credential edgex-jenkins-ssh 05:06:41 Cloning the remote Git repository 05:06:41 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:06:42 > git init /w/workspace/device-mqtt-go/167 # timeout=10 05:06:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:06:42 > git --version # timeout=10 05:06:42 > git --version # 'git version 2.25.1' 05:06:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:06:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:47 Avoid second fetch 05:06:47 Checking out Revision 35de5baf133cb3849b13998f5bd615ef0c638656 (main) 05:06:47 > git config core.sparsecheckout # timeout=10 05:06:47 > git checkout -f 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 05:06:48 Commit message: "Merge pull request #679 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:53 Dload Upload Total Spent Left Speed 05:06:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 82230 0 --:--:-- --:--:-- --:--:-- 82230 [Pipeline] sh 05:06:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:53 + sudo tee /etc/docker/daemon.new 05:06:53 { 05:06:53 "registry-mirrors": [ 05:06:53 "https://nexus3.edgexfoundry.org:10001" 05:06:53 ], 05:06:53 "bip": "10.250.0.254/24", 05:06:53 "hosts": [ 05:06:53 "tcp://0.0.0.0:5555", 05:06:53 "unix:///var/run/docker.sock" 05:06:53 ], 05:06:53 "mtu": 1458, 05:06:53 "selinux-enabled": true, 05:06:53 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:53 } [Pipeline] sh 05:06:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:13 provisioning config files... 05:07:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/167@tmp/config5878048477829676337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:13 ---> ****-login.sh 05:07:13 nexus3.edgexfoundry.org:10001 05:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:07:14 Configure a credential helper to remove this warning. See 05:07:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:07:14 05:07:14 Login Succeeded 05:07:14 nexus3.edgexfoundry.org:10002 05:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:07:15 Configure a credential helper to remove this warning. See 05:07:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:07:15 05:07:15 Login Succeeded 05:07:15 nexus3.edgexfoundry.org:10003 05:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:07:15 Configure a credential helper to remove this warning. See 05:07:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:07:15 05:07:15 Login Succeeded 05:07:15 nexus3.edgexfoundry.org:10004 05:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:07:15 Configure a credential helper to remove this warning. See 05:07:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:07:15 05:07:15 Login Succeeded 05:07:15 ****.io 05:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:07:16 Configure a credential helper to remove this warning. See 05:07:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:07:16 05:07:16 Login Succeeded 05:07:16 ---> ****-login.sh ends [Pipeline] } 05:07:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:07:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:07:16 ========================================================= 05:07:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:07:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:17 + 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 . 05:07:17 Sending build context to Docker daemon 10.6MB 05:07:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:07:17 Step 2/12 : FROM ${BASE} AS builder 05:07:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:17 c6b39de5b339: Pulling fs layer 05:07:17 a69c41024577: Pulling fs layer 05:07:17 d6de4b400683: Pulling fs layer 05:07:17 35cb2a7552d0: Pulling fs layer 05:07:17 4f4fb700ef54: Pulling fs layer 05:07:17 464afbd9ba4c: Pulling fs layer 05:07:17 00f215d4a9da: Pulling fs layer 05:07:17 d496ad576159: Pulling fs layer 05:07:17 4f4fb700ef54: Waiting 05:07:17 464afbd9ba4c: Waiting 05:07:17 00f215d4a9da: Waiting 05:07:17 d496ad576159: Waiting 05:07:17 35cb2a7552d0: Waiting 05:07:17 a69c41024577: Verifying Checksum 05:07:17 a69c41024577: Download complete 05:07:17 35cb2a7552d0: Verifying Checksum 05:07:17 35cb2a7552d0: Download complete 05:07:17 4f4fb700ef54: Verifying Checksum 05:07:17 4f4fb700ef54: Download complete 05:07:17 464afbd9ba4c: Verifying Checksum 05:07:17 464afbd9ba4c: Download complete 05:07:17 c6b39de5b339: Download complete 05:07:18 d496ad576159: Verifying Checksum 05:07:18 d496ad576159: Download complete 05:07:18 c6b39de5b339: Pull complete 05:07:19 a69c41024577: Pull complete 05:07:19 d6de4b400683: Verifying Checksum 05:07:19 d6de4b400683: Download complete 05:07:20 00f215d4a9da: Verifying Checksum 05:07:20 00f215d4a9da: Download complete 05:07:33 d6de4b400683: Pull complete 05:07:33 35cb2a7552d0: Pull complete 05:07:33 4f4fb700ef54: Pull complete 05:07:33 464afbd9ba4c: Pull complete 05:07:43 00f215d4a9da: Pull complete 05:07:44 d496ad576159: Pull complete 05:07:44 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:07:44 ---> f246e2811388 05:07:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:07:45 ---> Running in 470788cfcfbd 05:07:45 Removing intermediate container 470788cfcfbd 05:07:45 ---> 2d275d6cc08c 05:07:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:45 ---> Running in 0070f84d7fc2 05:07:45 Removing intermediate container 0070f84d7fc2 05:07:45 ---> e3c43c34d35d 05:07:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:07:45 ---> Running in 98eff4e97288 05:07:45 Removing intermediate container 98eff4e97288 05:07:45 ---> 7be10ba99d84 05:07:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:07:46 ---> Running in c47e8fb500d2 05:07:46 Removing intermediate container c47e8fb500d2 05:07:46 ---> 1f83a01ca7ef 05:07:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:46 ---> Running in b26f28225d3c 05:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:07:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:07:49 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:07:49 (2/4) Installing libedit (20221030.3.1-r1) 05:07:49 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:07:49 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:07:49 Executing busybox-1.36.1-r5.trigger 05:07:49 OK: 271 MiB in 56 packages 05:07:51 Removing intermediate container b26f28225d3c 05:07:51 ---> 2c932c79970a 05:07:51 Step 8/12 : WORKDIR /device-mqtt-go 05:07:51 ---> Running in 998b063c0563 05:07:51 Removing intermediate container 998b063c0563 05:07:51 ---> 2a88362e498e 05:07:51 Step 9/12 : COPY go.mod vendor* ./ 05:07:52 ---> 4630726c129e 05:07:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:52 ---> Running in 8c3dc43fd392 05:10:13 Removing intermediate container 8c3dc43fd392 05:10:13 ---> 0124946fa250 05:10:13 Step 11/12 : COPY . . 05:10:13 ---> e79850b950c1 05:10:13 Step 12/12 : RUN $MAKE 05:10:13 ---> Running in a8e9da468576 05:10:13 noop 05:10:13 Removing intermediate container a8e9da468576 05:10:13 ---> 56a024c04b2f 05:10:13 Successfully built 56a024c04b2f 05:10:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:14 + docker inspect -f . ci-base-image-arm64 05:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:14 prd-ubuntu20.04-docker-arm64-4c-16g-4990 does not seem to be running inside a container 05:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/167 -v /w/workspace/device-mqtt-go/167:/w/workspace/device-mqtt-go/167:rw,z -v /w/workspace/device-mqtt-go/167@tmp:/w/workspace/device-mqtt-go/167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:10:15 $ docker top 966a55c4e0fc0a7a27a8a1e4a7745b6fb85938346b811389e59aa4bdc4f49ccc -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:16 + go version 05:10:16 go version go1.21.9 linux/arm64 [Pipeline] } 05:10:16 $ docker stop --time=1 966a55c4e0fc0a7a27a8a1e4a7745b6fb85938346b811389e59aa4bdc4f49ccc 05:10:18 $ docker rm -f --volumes 966a55c4e0fc0a7a27a8a1e4a7745b6fb85938346b811389e59aa4bdc4f49ccc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:18 + docker inspect -f . ci-base-image-arm64 05:10:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:19 prd-ubuntu20.04-docker-arm64-4c-16g-4990 does not seem to be running inside a container 05:10:19 $ 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/167 -v /w/workspace/device-mqtt-go/167:/w/workspace/device-mqtt-go/167:rw,z -v /w/workspace/device-mqtt-go/167@tmp:/w/workspace/device-mqtt-go/167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:10:20 $ docker top 1b73a6c0212f0c2e3d16a55ef407c2776c25ef049b474bb80bcf37f39d48cfca -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:21 + git config --global --add safe.directory /w/workspace/device-mqtt-go/167 [Pipeline] fileExists [Pipeline] sh 05:10:21 + make test 05:10:21 go test ./... -coverprofile=coverage.out ./... 05:10:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:13:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:13:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:13:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements 05:13:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:53 go vet ./... 05:14:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:40 ./bin/test-attribution-txt.sh 05:14:40 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:14:40 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:14:40 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:14:40 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:14:40 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:14:40 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:14:40 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:14:40 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:14:40 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:14:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:14:40 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:14:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:14:40 $ docker stop --time=1 1b73a6c0212f0c2e3d16a55ef407c2776c25ef049b474bb80bcf37f39d48cfca 05:14:42 $ docker rm -f --volumes 1b73a6c0212f0c2e3d16a55ef407c2776c25ef049b474bb80bcf37f39d48cfca [Pipeline] // withDockerContainer [Pipeline] sh 05:14:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:14:43 Warning: overwriting stash ‘coverage-report’ 05:14:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:44 + ls -al . 05:14:44 total 248 05:14:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:10 . 05:14:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:06 .. 05:14:44 -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:06 .dockerignore 05:14:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:06 .git 05:14:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:06 .github 05:14:44 -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:06 .gitignore 05:14:44 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:06 .golangci.yml 05:14:44 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 4 05:06 Attribution.txt 05:14:44 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 4 05:06 CHANGELOG.md 05:14:44 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 4 05:06 Dockerfile 05:14:44 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:06 GOVERNANCE.md 05:14:44 -rw-rw-r-- 1 jenkins jenkins 657 Jul 4 05:06 Jenkinsfile 05:14:44 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:06 LICENSE 05:14:44 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 4 05:06 Makefile 05:14:44 -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:06 OWNERS.md 05:14:44 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 4 05:06 README.md 05:14:44 -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:03 VERSION 05:14:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:06 bin 05:14:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:06 cmd 05:14:44 -rw-r--r-- 1 jenkins jenkins 18506 Jul 4 05:13 coverage.out 05:14:44 -rw-rw-r-- 1 jenkins jenkins 7122 Jul 4 05:06 go.mod 05:14:44 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:06 go.sum 05:14:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:06 internal 05:14:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:06 mock 05:14:44 -rw-rw-r-- 1 jenkins jenkins 227 Jul 4 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:45 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=35de5baf133cb3849b13998f5bd615ef0c638656 --label arch=arm64 --label version=3.2.0-dev.13 . 05:14:45 Sending build context to Docker daemon 10.62MB 05:14:45 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 05:14:45 Step 2/25 : FROM ${BASE} AS builder 05:14:45 ---> 56a024c04b2f 05:14:45 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:14:45 ---> Running in d8b1cc1b79d5 05:14:45 Removing intermediate container d8b1cc1b79d5 05:14:45 ---> 76116ffe13f1 05:14:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:46 ---> Running in c38fdb26bb8b 05:14:46 Removing intermediate container c38fdb26bb8b 05:14:46 ---> eb0863585fa0 05:14:46 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:14:46 ---> Running in e454156831cb 05:14:46 Removing intermediate container e454156831cb 05:14:46 ---> 06c311a5265f 05:14:46 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:14:46 ---> Running in 3a59af2e8593 05:14:46 Removing intermediate container 3a59af2e8593 05:14:46 ---> ff752e5d8aeb 05:14:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:14:47 ---> Running in 3d0a19d5a567 05:14:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:14:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:14:49 OK: 271 MiB in 56 packages 05:14:50 Removing intermediate container 3d0a19d5a567 05:14:50 ---> 542b04f8a941 05:14:50 Step 8/25 : WORKDIR /device-mqtt-go 05:14:50 ---> Running in 8b046a621331 05:14:50 Removing intermediate container 8b046a621331 05:14:50 ---> 966b5705bfda 05:14:50 Step 9/25 : COPY go.mod vendor* ./ 05:14:50 ---> 44591492f4aa 05:14:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:50 ---> Running in fc838401ecba 05:14:53 Removing intermediate container fc838401ecba 05:14:53 ---> 503e5004b926 05:14:53 Step 11/25 : COPY . . 05:14:54 ---> 05919dc8bfee 05:14:54 Step 12/25 : RUN $MAKE 05:14:54 ---> Running in 55c257a50d46 05:14:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 05:18:17 Removing intermediate container 55c257a50d46 05:18:17 ---> 1826e142a537 05:18:17 Step 13/25 : FROM alpine:3.18 05:18:17 3.18: Pulling from library/alpine 05:18:17 5c905c7ebe2f: Pulling fs layer 05:18:17 5c905c7ebe2f: Verifying Checksum 05:18:17 5c905c7ebe2f: Download complete 05:18:17 5c905c7ebe2f: Pull complete 05:18:17 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:18:17 Status: Downloaded newer image for alpine:3.18 05:18:17 ---> dec292d02e07 05:18:17 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:18:17 ---> Running in d3aa1fab4ac4 05:18:17 Removing intermediate container d3aa1fab4ac4 05:18:17 ---> 1cada75fa38b 05:18:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:18:17 ---> Running in 0a050264b150 05:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:18:17 (1/1) Installing dumb-init (1.2.5-r2) 05:18:17 Executing busybox-1.36.1-r7.trigger 05:18:17 OK: 8 MiB in 16 packages 05:18:17 Removing intermediate container 0a050264b150 05:18:17 ---> 79f9726357a1 05:18:17 Step 16/25 : RUN apk --no-cache upgrade 05:18:17 ---> Running in c39e9dea4e41 05:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:18:17 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:18:18 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:18:18 OK: 8 MiB in 16 packages 05:18:19 Removing intermediate container c39e9dea4e41 05:18:19 ---> 9bf494a80b67 05:18:19 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 05:18:21 ---> c7b40b24c806 05:18:21 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 05:18:21 ---> 21bf43540454 05:18:21 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:18:22 ---> c1949d27ee91 05:18:22 Step 20/25 : EXPOSE 59982 05:18:22 ---> Running in 18c8ac521591 05:18:22 Removing intermediate container 18c8ac521591 05:18:22 ---> e43660d6f1e2 05:18:22 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 05:18:22 ---> Running in 08f9ccad5e02 05:18:22 Removing intermediate container 08f9ccad5e02 05:18:22 ---> 3f1ffe76cff2 05:18:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:18:22 ---> Running in cd3db7e522c8 05:18:23 Removing intermediate container cd3db7e522c8 05:18:23 ---> 1c2c5aeba343 05:18:23 Step 23/25 : LABEL arch=arm64 05:18:23 ---> Running in 5859ae3234ef 05:18:23 Removing intermediate container 5859ae3234ef 05:18:23 ---> 2341da14a8b9 05:18:23 Step 24/25 : LABEL git_sha=35de5baf133cb3849b13998f5bd615ef0c638656 05:18:23 ---> Running in 26bb3ede1492 05:18:24 Removing intermediate container 26bb3ede1492 05:18:24 ---> e7b48e165aa6 05:18:24 Step 25/25 : LABEL version=3.2.0-dev.13 05:18:24 ---> Running in 93b476c3f56f 05:18:24 Removing intermediate container 93b476c3f56f 05:18:24 ---> 3429e497ee21 05:18:24 [Warning] One or more build-args [ARCH] were not consumed 05:18:24 Successfully built 3429e497ee21 05:18:24 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 05:18:24 provisioning config files... 05:18:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/167@tmp/config5537796809964303483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:24 ---> ****-login.sh 05:18:24 nexus3.edgexfoundry.org:10001 05:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:25 Configure a credential helper to remove this warning. See 05:18:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:25 05:18:25 Login Succeeded 05:18:25 nexus3.edgexfoundry.org:10002 05:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:25 Configure a credential helper to remove this warning. See 05:18:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:25 05:18:25 Login Succeeded 05:18:25 nexus3.edgexfoundry.org:10003 05:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:25 Configure a credential helper to remove this warning. See 05:18:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:25 05:18:25 Login Succeeded 05:18:25 nexus3.edgexfoundry.org:10004 05:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:26 Configure a credential helper to remove this warning. See 05:18:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:26 05:18:26 Login Succeeded 05:18:26 ****.io 05:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:18:26 Configure a credential helper to remove this warning. See 05:18:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:18:26 05:18:26 Login Succeeded 05:18:26 ---> ****-login.sh ends [Pipeline] } 05:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:18:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 05:18:26 35de5baf133cb3849b13998f5bd615ef0c638656 05:18:26 latest 05:18:26 3.2.0-dev.13 05:18:26 35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 05:18:26 main 05:18:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35de5baf133cb3849b13998f5bd615ef0c638656 05:18:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:18:27 9c723cbaa31c: Preparing 05:18:27 1a4e8ec7e439: Preparing 05:18:27 d70c599b08d6: Preparing 05:18:27 a0db2a9c07ed: Preparing 05:18:27 6d91a5dbb3c4: Preparing 05:18:27 da707bb00cb8: Preparing 05:18:27 da707bb00cb8: Waiting 05:18:27 9c723cbaa31c: Pushed 05:18:27 6d91a5dbb3c4: Pushed 05:18:27 1a4e8ec7e439: Pushed 05:18:27 da707bb00cb8: Layer already exists 05:18:28 a0db2a9c07ed: Pushed 05:18:36 d70c599b08d6: Pushed 05:18:36 35de5baf133cb3849b13998f5bd615ef0c638656: digest: sha256:3243415391b982909b59bb741bf20e00cf80dd5021d4ddcccd92e71c830943a8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:18:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:18:37 9c723cbaa31c: Preparing 05:18:37 1a4e8ec7e439: Preparing 05:18:37 d70c599b08d6: Preparing 05:18:37 a0db2a9c07ed: Preparing 05:18:37 6d91a5dbb3c4: Preparing 05:18:37 da707bb00cb8: Preparing 05:18:37 9c723cbaa31c: Layer already exists 05:18:37 6d91a5dbb3c4: Layer already exists 05:18:37 1a4e8ec7e439: Layer already exists 05:18:37 a0db2a9c07ed: Layer already exists 05:18:37 d70c599b08d6: Layer already exists 05:18:37 da707bb00cb8: Layer already exists 05:18:38 latest: digest: sha256:3243415391b982909b59bb741bf20e00cf80dd5021d4ddcccd92e71c830943a8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.13 05:18:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:18:38 9c723cbaa31c: Preparing 05:18:38 1a4e8ec7e439: Preparing 05:18:38 d70c599b08d6: Preparing 05:18:38 a0db2a9c07ed: Preparing 05:18:38 6d91a5dbb3c4: Preparing 05:18:38 da707bb00cb8: Preparing 05:18:38 da707bb00cb8: Waiting 05:18:38 6d91a5dbb3c4: Layer already exists 05:18:38 9c723cbaa31c: Layer already exists 05:18:38 d70c599b08d6: Layer already exists 05:18:38 a0db2a9c07ed: Layer already exists 05:18:38 1a4e8ec7e439: Layer already exists 05:18:38 da707bb00cb8: Layer already exists 05:18:39 3.2.0-dev.13: digest: sha256:3243415391b982909b59bb741bf20e00cf80dd5021d4ddcccd92e71c830943a8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 05:18:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:18:39 9c723cbaa31c: Preparing 05:18:39 1a4e8ec7e439: Preparing 05:18:39 d70c599b08d6: Preparing 05:18:39 a0db2a9c07ed: Preparing 05:18:39 6d91a5dbb3c4: Preparing 05:18:39 da707bb00cb8: Preparing 05:18:39 da707bb00cb8: Waiting 05:18:39 1a4e8ec7e439: Layer already exists 05:18:39 9c723cbaa31c: Layer already exists 05:18:39 d70c599b08d6: Layer already exists 05:18:39 a0db2a9c07ed: Layer already exists 05:18:39 6d91a5dbb3c4: Layer already exists 05:18:39 da707bb00cb8: Layer already exists 05:18:40 35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13: digest: sha256:3243415391b982909b59bb741bf20e00cf80dd5021d4ddcccd92e71c830943a8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 05:18:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:18:40 9c723cbaa31c: Preparing 05:18:40 1a4e8ec7e439: Preparing 05:18:40 d70c599b08d6: Preparing 05:18:40 a0db2a9c07ed: Preparing 05:18:40 6d91a5dbb3c4: Preparing 05:18:40 da707bb00cb8: Preparing 05:18:40 da707bb00cb8: Waiting 05:18:40 6d91a5dbb3c4: Layer already exists 05:18:40 d70c599b08d6: Layer already exists 05:18:40 a0db2a9c07ed: Layer already exists 05:18:40 9c723cbaa31c: Layer already exists 05:18:40 1a4e8ec7e439: Layer already exists 05:18:40 da707bb00cb8: Layer already exists 05:18:40 main: digest: sha256:3243415391b982909b59bb741bf20e00cf80dd5021d4ddcccd92e71c830943a8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:41 ===================================================== [Pipeline] echo 05:18:41 taggedImages: 05:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35de5baf133cb3849b13998f5bd615ef0c638656 05:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.13 05:18:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:35de5baf133cb3849b13998f5bd615ef0c638656-3.2.0-dev.13 05:18:41 - 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 05:18:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:41 05:18:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:41 arm64: Pulling from edgex-lftools-log-publisher 05:18:41 8998bd30e6a1: Pulling fs layer 05:18:41 04944245beec: Pulling fs layer 05:18:41 699f458cf7ca: Pulling fs layer 05:18:41 765212b225bb: Pulling fs layer 05:18:41 f23df028b6ca: Pulling fs layer 05:18:41 d65c8cfc05b1: Pulling fs layer 05:18:41 2437ff75d9bd: Pulling fs layer 05:18:41 f23df028b6ca: Waiting 05:18:41 d65c8cfc05b1: Waiting 05:18:41 2437ff75d9bd: Waiting 05:18:41 765212b225bb: Waiting 05:18:42 04944245beec: Verifying Checksum 05:18:42 04944245beec: Download complete 05:18:42 765212b225bb: Verifying Checksum 05:18:42 765212b225bb: Download complete 05:18:42 f23df028b6ca: Verifying Checksum 05:18:42 f23df028b6ca: Download complete 05:18:42 d65c8cfc05b1: Verifying Checksum 05:18:42 d65c8cfc05b1: Download complete 05:18:42 699f458cf7ca: Verifying Checksum 05:18:42 699f458cf7ca: Download complete 05:18:42 8998bd30e6a1: Verifying Checksum 05:18:42 8998bd30e6a1: Download complete 05:18:45 2437ff75d9bd: Download complete 05:18:47 8998bd30e6a1: Pull complete 05:18:47 04944245beec: Pull complete 05:18:49 699f458cf7ca: Pull complete 05:18:49 765212b225bb: Pull complete 05:18:50 f23df028b6ca: Pull complete 05:18:50 d65c8cfc05b1: Pull complete 05:19:08 2437ff75d9bd: Pull complete 05:19:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:19:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:08 prd-ubuntu20.04-docker-arm64-4c-16g-4990 does not seem to be running inside a container 05:19: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/167 -v /w/workspace/device-mqtt-go/167:/w/workspace/device-mqtt-go/167:rw,z -v /w/workspace/device-mqtt-go/167@tmp:/w/workspace/device-mqtt-go/167@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:arm64 cat 05:19:11 $ docker top 5b82a9c85aed034bd510423ddf101e9d1897ee45f73eed25874ad8e183836260 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:12 ---> job-cost.sh 05:19:12 lf-activate-venv: SKIPPING 05:19:12 INFO: No Stack... 05:19:12 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:13 INFO: Archiving Costs [Pipeline] sh 05:19:13 + cat /w/workspace/device-mqtt-go/167/archives/cost.csv 05:19:13 + cut -d, -f6 [Pipeline] lock 05:19:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] 05:19:13 Resource [jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] did not exist. Created. 05:19:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:14 /w/workspace/device-mqtt-go/167@tmp/durable-0b4786f8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:15 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:15 Warning: overwriting stash ‘stack-cost’ 05:19:15 Stashed 1 file(s) [Pipeline] } 05:19:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:15 $ docker stop --time=1 5b82a9c85aed034bd510423ddf101e9d1897ee45f73eed25874ad8e183836260 05:19:16 $ docker rm -f --volumes 5b82a9c85aed034bd510423ddf101e9d1897ee45f73eed25874ad8e183836260 [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 05:19:17 provisioning config files... 05:19:17 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17862420581886158494tmp [Pipeline] { [Pipeline] sh 05:19:17 + set +x 05:19:17 + curl -s https://codecov.io/bash 05:19:17 + bash -s -- 05:19:17 05:19:17 _____ _ 05:19:17 / ____| | | 05:19:17 | | ___ __| | ___ ___ _____ __ 05:19:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:19:17 | |___| (_) | (_| | __/ (_| (_) \ V / 05:19:17 \_____\___/ \__,_|\___|\___\___/ \_/ 05:19:17 Bash-1.0.6 05:19:17 05:19:17 05:19:17 ==> git version 2.25.1 found 05:19: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 05:19:17 Release-Date: 2020-01-08 05:19: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 05:19:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:19:17 ==> Jenkins CI detected. 05:19:17 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 05:19:17 project root: . 05:19:17 --> token set from env 05:19:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:19:17 ==> Running gcov in . (disable via -X gcov) 05:19:17 ==> Python coveragepy not found 05:19:17 ==> Searching for coverage reports in: 05:19:17 + . 05:19:17 -> Found 1 reports 05:19:17 ==> Detecting git/mercurial file structure 05:19:17 ==> Reading reports 05:19:17 + ./coverage.out bytes=18506 05:19:17 ==> Appending adjustments 05:19:17 https://docs.codecov.io/docs/fixing-reports 05:19:17 + Found adjustments 05:19:17 ==> Gzipping contents 05:19:17 4.0K /tmp/codecov.Zgyaqf.gz 05:19:17 ==> Uploading reports 05:19:17 url: https://codecov.io 05:19:17 query: branch=main&commit=35de5baf133cb3849b13998f5bd615ef0c638656&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:17 -> Pinging Codecov 05:19:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=35de5baf133cb3849b13998f5bd615ef0c638656&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:17 -> Uploading to 05:19:17 https://storage.googleapis.com/codecov/v4/raw/2024-07-04/7D719EC7BBE17E464838252E33014C33/35de5baf133cb3849b13998f5bd615ef0c638656/493285ad-8b7f-4048-b773-be5fb5af2e60.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240704%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240704T051917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c2c96e02662f7e4a8c392932564d8c3f3864b0a9691da11000640e8e2e636de 05:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:17 Dload Upload Total Spent Left Speed 05:19:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14658 --:--:-- --:--:-- --:--:-- 14588 100 3049 0 0 100 3049 0 12495 --:--:-- --:--:-- --:--:-- 12495 05:19:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] } 05:19:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:19:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:19:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:19:18 05:19:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:19:18 latest: Pulling from edgex-devops/edgex-snyk-go 05:19:18 619be1103602: Already exists 05:19:18 f8ea3408117e: Pulling fs layer 05:19:18 91320369b822: Pulling fs layer 05:19:18 0406650e8295: Pulling fs layer 05:19:18 4f4fb700ef54: Pulling fs layer 05:19:18 96d80e3f36e1: Pulling fs layer 05:19:18 bcf3aedb951c: Pulling fs layer 05:19:18 96d80e3f36e1: Waiting 05:19:18 bcf3aedb951c: Waiting 05:19:18 4f4fb700ef54: Waiting 05:19:18 0406650e8295: Verifying Checksum 05:19:18 0406650e8295: Download complete 05:19:18 f8ea3408117e: Verifying Checksum 05:19:18 f8ea3408117e: Download complete 05:19:18 4f4fb700ef54: Download complete 05:19:18 f8ea3408117e: Pull complete 05:19:19 96d80e3f36e1: Verifying Checksum 05:19:19 96d80e3f36e1: Download complete 05:19:19 91320369b822: Verifying Checksum 05:19:19 91320369b822: Download complete 05:19:20 bcf3aedb951c: Verifying Checksum 05:19:20 bcf3aedb951c: Download complete 05:19:22 91320369b822: Pull complete 05:19:22 0406650e8295: Pull complete 05:19:22 4f4fb700ef54: Pull complete 05:19:23 96d80e3f36e1: Pull complete 05:19:26 bcf3aedb951c: Pull complete 05:19:26 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 05:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:19:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:26 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:19: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:19:30 $ docker top 8dfebf64716c604f3d977dd3fb421bb855ff281f8f91983fa1cdfbfcf67d5406 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 05:19:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 05:19:30 + set -o pipefail 05:19:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 05:19:37 05:19:37 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 05:19:37 05:19:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/d25b8e29-8224-460d-9461-453568ce7b60 05:19:37 05:19:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:19:37 05:19:37 05:19:37 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:19:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:19:37 $ docker stop --time=1 8dfebf64716c604f3d977dd3fb421bb855ff281f8f91983fa1cdfbfcf67d5406 05:19:42 $ docker rm -f --volumes 8dfebf64716c604f3d977dd3fb421bb855ff281f8f91983fa1cdfbfcf67d5406 [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 05:19:43 + git log --format=format:%s -1 35de5baf133cb3849b13998f5bd615ef0c638656 [Pipeline] sh 05:19:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:44 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:19:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:19:44 $ docker top bfd33688a780a6807a09a1b5b9eee5f7b6e320edc9bdd3a7c0e710a815c7eae6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:45 [ssh-agent] Looking for ssh-agent implementation... 05:19:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:45 $ docker exec bfd33688a780a6807a09a1b5b9eee5f7b6e320edc9bdd3a7c0e710a815c7eae6 ssh-agent 05:19:45 SSH_AUTH_SOCK=/tmp/ssh-5cwMbiEYDLgS/agent.31 05:19:45 SSH_AGENT_PID=37 05:19:45 Running ssh-add (command line suppressed) 05:19:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15394990870344478567.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15394990870344478567.key) 05:19:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:45 + git semver tag 05:19:45 2024-07-04 05:19:45,841 [run_tag] DEBUG tag force:False 05:19:45 2024-07-04 05:19:45,841 [check_head_tag] DEBUG check head tag 05:19:45 2024-07-04 05:19:45,843 [execute] INFO git cat-file --batch-check 05:19:45 2024-07-04 05:19:45,843 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 05:19:45 2024-07-04 05:19:45,847 [execute] INFO git cat-file --batch 05:19:45 2024-07-04 05:19:45,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 05:19:45 2024-07-04 05:19:45,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:19:45 2024-07-04 05:19:45,865 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 05:19:45 2024-07-04 05:19:45,866 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 05:19:45 2024-07-04 05:19:45,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:19:45 3.2.0-dev.13 [Pipeline] } 05:19:45 $ docker exec --env ******** --env ******** bfd33688a780a6807a09a1b5b9eee5f7b6e320edc9bdd3a7c0e710a815c7eae6 ssh-agent -k 05:19:46 unset SSH_AUTH_SOCK; 05:19:46 unset SSH_AGENT_PID; 05:19:46 echo Agent pid 37 killed; 05:19:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:46 + git semver [Pipeline] } 05:19:46 $ docker stop --time=1 bfd33688a780a6807a09a1b5b9eee5f7b6e320edc9bdd3a7c0e710a815c7eae6 05:19:47 $ docker rm -f --volumes bfd33688a780a6807a09a1b5b9eee5f7b6e320edc9bdd3a7c0e710a815c7eae6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:48 05:19:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:48 0.23.1-centos7: Pulling from edgex-lftools 05:19:48 ab5ef0e58194: Pulling fs layer 05:19:48 9712f1f96733: Pulling fs layer 05:19:48 63f879dbbcfc: Pulling fs layer 05:19:48 0d9ebad4ef96: Pulling fs layer 05:19:48 e9a5061849ea: Pulling fs layer 05:19:48 0d9ebad4ef96: Waiting 05:19:48 d747dcd14b5f: Pulling fs layer 05:19:48 2de7ff778b66: Pulling fs layer 05:19:48 d747dcd14b5f: Waiting 05:19:48 2de7ff778b66: Waiting 05:19:48 9712f1f96733: Verifying Checksum 05:19:48 9712f1f96733: Download complete 05:19:48 63f879dbbcfc: Verifying Checksum 05:19:48 63f879dbbcfc: Download complete 05:19:49 e9a5061849ea: Verifying Checksum 05:19:49 e9a5061849ea: Download complete 05:19:49 d747dcd14b5f: Verifying Checksum 05:19:49 d747dcd14b5f: Download complete 05:19:49 0d9ebad4ef96: Verifying Checksum 05:19:49 0d9ebad4ef96: Download complete 05:19:49 ab5ef0e58194: Download complete 05:19:49 2de7ff778b66: Verifying Checksum 05:19:49 2de7ff778b66: Download complete 05:19:52 ab5ef0e58194: Pull complete 05:19:52 9712f1f96733: Pull complete 05:19:52 63f879dbbcfc: Pull complete 05:19:56 0d9ebad4ef96: Pull complete 05:19:56 e9a5061849ea: Pull complete 05:19:56 d747dcd14b5f: Pull complete 05:19:57 2de7ff778b66: Pull complete 05:19:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:57 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:20:02 $ docker top 86dbf8a9ef247b68b7cc507d845fa9d734ce3f8e8e8f7c3f4f1f380d028268f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:20:02 provisioning config files... 05:20:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18235844590467472679tmp 05:20:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15672394210038936888tmp 05:20:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config358878292108901327tmp [Pipeline] { [Pipeline] echo 05:20:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:20:03 ---> sigul-configuration.sh 05:20:03 gpg: directory `/root/.gnupg' created 05:20:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:20:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:20:03 gpg: keyring `/root/.gnupg/secring.gpg' created 05:20:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:20:03 gpg: CAST5 encrypted data 05:20:03 gpg: encrypted with 1 passphrase 05:20:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:20:03 + mkdir /home/jenkins 05:20:03 + mkdir /home/jenkins/sigul [Pipeline] sh 05:20:03 + 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 05:20:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:20:04 ---> sigul-install.sh 05:20:04 Sigul already installed; skipping installation. [Pipeline] sh 05:20:04 + git tag --list 05:20:04 0.7.1 05:20:04 v1.0.0 05:20:04 v1.1.0 05:20:04 v1.1.1 05:20:04 v1.2.2 05:20:04 v1.3.0 05:20:04 v1.3.1 05:20:04 v2.0.0 05:20:04 v2.1.0 05:20:04 v2.1.1 05:20:04 v2.2.0 05:20:04 v2.3.0 05:20:04 v3.0 05:20:04 v3.0.0 05:20:04 v3.1 05:20:04 v3.1.0 05:20:04 v3.1.0-dev.1 05:20:04 v3.1.0-dev.10 05:20:04 v3.1.0-dev.11 05:20:04 v3.1.0-dev.12 05:20:04 v3.1.0-dev.13 05:20:04 v3.1.0-dev.14 05:20:04 v3.1.0-dev.15 05:20:04 v3.1.0-dev.16 05:20:04 v3.1.0-dev.17 05:20:04 v3.1.0-dev.18 05:20:04 v3.1.0-dev.19 05:20:04 v3.1.0-dev.2 05:20:04 v3.1.0-dev.20 05:20:04 v3.1.0-dev.21 05:20:04 v3.1.0-dev.22 05:20:04 v3.1.0-dev.23 05:20:04 v3.1.0-dev.24 05:20:04 v3.1.0-dev.25 05:20:04 v3.1.0-dev.3 05:20:04 v3.1.0-dev.4 05:20:04 v3.1.0-dev.5 05:20:04 v3.1.0-dev.6 05:20:04 v3.1.0-dev.7 05:20:04 v3.1.0-dev.8 05:20:04 v3.1.0-dev.9 05:20:04 v3.1.1 05:20:04 v3.2.0-dev.1 05:20:04 v3.2.0-dev.10 05:20:04 v3.2.0-dev.11 05:20:04 v3.2.0-dev.12 05:20:04 v3.2.0-dev.13 05:20:04 v3.2.0-dev.2 05:20:04 v3.2.0-dev.3 05:20:04 v3.2.0-dev.4 05:20:04 v3.2.0-dev.5 05:20:04 v3.2.0-dev.6 05:20:04 v3.2.0-dev.7 05:20:04 v3.2.0-dev.8 05:20:04 v3.2.0-dev.9 [Pipeline] sh 05:20:04 + lftools sign git-tag v3.2.0-dev.13 05:20:05 Signing Git tag with Sigul... 05:20:05 Signing v3.2.0-dev.13 [Pipeline] echo 05:20:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:20:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:20:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:20:05 $ docker stop --time=1 86dbf8a9ef247b68b7cc507d845fa9d734ce3f8e8e8f7c3f4f1f380d028268f3 05:20:07 $ docker rm -f --volumes 86dbf8a9ef247b68b7cc507d845fa9d734ce3f8e8e8f7c3f4f1f380d028268f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:20:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:08 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:20:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:20:08 $ docker top ea27a34bf193b0e405d216877e8915396a6d4ed3598d980a822880147e369556 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:08 [ssh-agent] Looking for ssh-agent implementation... 05:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:08 $ docker exec ea27a34bf193b0e405d216877e8915396a6d4ed3598d980a822880147e369556 ssh-agent 05:20:08 SSH_AUTH_SOCK=/tmp/ssh-pUZr9dULTtW6/agent.32 05:20:08 SSH_AGENT_PID=38 05:20:08 Running ssh-add (command line suppressed) 05:20:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8645840240303954959.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8645840240303954959.key) 05:20:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:09 + git semver bump pre 05:20:09 2024-07-04 05:20:09,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:20:09 2024-07-04 05:20:09,376 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev 05:20:09 2024-07-04 05:20:09,376 [bump_version] DEBUG bumped version:3.2.0-dev.14 05:20:09 2024-07-04 05:20:09,376 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 05:20:09 2024-07-04 05:20:09,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:20:09 2024-07-04 05:20:09,376 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:20:09 2024-07-04 05:20:09,378 [execute] INFO git cat-file --batch-check 05:20:09 2024-07-04 05:20:09,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:09 2024-07-04 05:20:09,383 [execute] INFO git cat-file --batch 05:20:09 2024-07-04 05:20:09,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:09 2024-07-04 05:20:09,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:20:09 3.2.0-dev.14 [Pipeline] } 05:20:09 $ docker exec --env ******** --env ******** ea27a34bf193b0e405d216877e8915396a6d4ed3598d980a822880147e369556 ssh-agent -k 05:20:09 unset SSH_AUTH_SOCK; 05:20:09 unset SSH_AGENT_PID; 05:20:09 echo Agent pid 38 killed; 05:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:09 + git semver [Pipeline] } 05:20:10 $ docker stop --time=1 ea27a34bf193b0e405d216877e8915396a6d4ed3598d980a822880147e369556 05:20:11 $ docker rm -f --volumes ea27a34bf193b0e405d216877e8915396a6d4ed3598d980a822880147e369556 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:12 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:20:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:20:12 $ docker top 8c4ccf57421eff4bbaf30b23ed0124e3657636b0a1dae61e55e283e286b4999e -eo pid,comm 05:20:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:20:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:12 [ssh-agent] Looking for ssh-agent implementation... 05:20:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:12 $ docker exec 8c4ccf57421eff4bbaf30b23ed0124e3657636b0a1dae61e55e283e286b4999e ssh-agent 05:20:12 SSH_AUTH_SOCK=/tmp/ssh-37arqn6XAxM3/agent.33 05:20:12 SSH_AGENT_PID=39 05:20:12 Running ssh-add (command line suppressed) 05:20:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_862345080156258140.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_862345080156258140.key) 05:20:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:13 + git semver push 05:20:13 2024-07-04 05:20:13,477 [run_push] DEBUG push 05:20:13 2024-07-04 05:20:13,478 [execute] INFO git cat-file --batch-check 05:20:13 2024-07-04 05:20:13,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:13 2024-07-04 05:20:13,482 [execute] INFO git rev-list fee830078b2254801a903c10577e193bf2928655 -- 05:20:13 2024-07-04 05:20:13,483 [execute] DEBUG Popen(['git', 'rev-list', 'fee830078b2254801a903c10577e193bf2928655', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:13 2024-07-04 05:20:13,490 [execute] INFO git fetch -v origin 05:20:13 2024-07-04 05:20:13,490 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:20:14 2024-07-04 05:20:13,952 [run_push] DEBUG no remote changes detected 05:20:14 2024-07-04 05:20:13,952 [execute] INFO git push origin semver 05:20:14 2024-07-04 05:20:13,953 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:14 2024-07-04 05:20:14,705 [run_push] DEBUG push all version tags 05:20:14 2024-07-04 05:20:14,705 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:20:14 2024-07-04 05:20:14,706 [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) 05:20:15 2024-07-04 05:20:15,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 05:20:15 3.2.0-dev.14 [Pipeline] } 05:20:15 $ docker exec --env ******** --env ******** 8c4ccf57421eff4bbaf30b23ed0124e3657636b0a1dae61e55e283e286b4999e ssh-agent -k 05:20:15 unset SSH_AUTH_SOCK; 05:20:15 unset SSH_AGENT_PID; 05:20:15 echo Agent pid 39 killed; 05:20:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:16 + git semver [Pipeline] } 05:20:16 $ docker stop --time=1 8c4ccf57421eff4bbaf30b23ed0124e3657636b0a1dae61e55e283e286b4999e 05:20:18 $ docker rm -f --volumes 8c4ccf57421eff4bbaf30b23ed0124e3657636b0a1dae61e55e283e286b4999e [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 05:20:18 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 05:20:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 05:20:18 total 16 05:20:18 drwxr-xr-x 3 root root 4096 Jul 4 05:06 . 05:20:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:20 .. 05:20:18 drwxr-xr-x 2 root root 4096 Jul 4 05:06 cost 05:20:18 -rw-r--r-- 1 root root 88 Jul 4 05:06 cost.csv 05:20:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 05:20:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 05:20:18 total 16 05:20:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:06 . 05:20:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:20 .. 05:20:18 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 05:06 cost 05:20:18 -rw-r--r-- 1 jenkins jenkins 88 Jul 4 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:20:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:19 ---> package-listing.sh 05:20:19 ++ tr '[:upper:]' '[:lower:]' 05:20:19 ++ facter osfamily 05:20:20 + OS_FAMILY=debian 05:20:20 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 05:20:20 + START_PACKAGES=/tmp/packages_start.txt 05:20:20 + END_PACKAGES=/tmp/packages_end.txt 05:20:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:20 + PACKAGES=/tmp/packages_start.txt 05:20:20 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 05:20:20 + PACKAGES=/tmp/packages_end.txt 05:20:20 + case "${OS_FAMILY}" in 05:20:20 + dpkg -l 05:20:20 + grep '^ii' 05:20:20 + '[' -f /tmp/packages_start.txt ']' 05:20:20 + '[' -f /tmp/packages_end.txt ']' 05:20:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:20 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 05:20:20 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 05:20:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 05:20:20 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 05:20:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:21 prd-ubuntu20.04-docker-8c-8g-4972 does not seem to be running inside a container 05:20:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:21 $ docker top 8c4d1ce8e51f493bf8adb9a5b8bdafa89a379df457d6f786932545a3e6f3fc73 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:21 + touch /tmp/pre-build-complete [Pipeline] sh 05:20:21 + mkdir -p /var/log/sysstat [Pipeline] sh 05:20:22 + ls /var/log/sa-host 05:20:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:22 provisioning config files... 05:20:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12872182411747337811tmp [Pipeline] { [Pipeline] echo 05:20:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:22 ---> create-netrc.sh [Pipeline] } 05:20:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:20:23 ---> python-tools-install.sh [Pipeline] echo 05:20:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:20:23 ---> sudo-logs.sh 05:20:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:20:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:20:23 ---> job-cost.sh 05:20:23 lf-activate-venv: SKIPPING 05:20:23 DEBUG: total: 0.6600000262260437 05:20:23 INFO: Retrieving Stack Cost... 05:20:24 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:24 INFO: Archiving Costs [Pipeline] echo 05:20:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:20:24 ---> logs-deploy.sh 05:20:24 lf-activate-venv: SKIPPING 05:20:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/167 05:20:24 INFO: archiving workspace using pattern(s): 05:20:25 Archives upload complete. 05:20:25 INFO: archiving logs to Nexus