Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3641da765e3ecf514711d982b07869362341dd3b 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-ssh12028734080938364638.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-ssh4912708805312015056.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-ssh11394496547889717630.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-ssh8615101040791430842.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-ssh14500237490940795954.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5513’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5514’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5694’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5698 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 3641da765e3ecf514711d982b07869362341dd3b (main) > 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 Commit message: "Merge pull request #681 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24" > git checkout -f 3641da765e3ecf514711d982b07869362341dd3b # timeout=10 > git rev-list --no-walk 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:47 ========================================================= 04:22:47 EdgeX Global Pipelines Version Info 04:22:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:22:48 ------------------- 04:22:48 stable info: 04:22:48 ------------------- 04:22:48 Commited By: Ginny Guan ginny@iotechsys.com 04:22:48 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:22:48 Message: update stable to v1.0.260 04:22:48 ------------------- 04:22:48 experimental info: 04:22:48 ------------------- 04:22:48 Commited By: Ginny Guan ginny@iotechsys.com 04:22:48 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:22:48 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3641da765e3ecf514711d982b07869362341dd3b [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3641da7 [Pipeline] echo 04:22:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:49 provisioning config files... 04:22:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2722280731565403385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:50 ---> ****-login.sh 04:22:50 nexus3.edgexfoundry.org:10001 04:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:50 Configure a credential helper to remove this warning. See 04:22:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:50 04:22:50 Login Succeeded 04:22:50 nexus3.edgexfoundry.org:10002 04:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:50 Configure a credential helper to remove this warning. See 04:22:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:50 04:22:50 Login Succeeded 04:22:50 nexus3.edgexfoundry.org:10003 04:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:50 Configure a credential helper to remove this warning. See 04:22:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:50 04:22:50 Login Succeeded 04:22:50 nexus3.edgexfoundry.org:10004 04:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:50 Configure a credential helper to remove this warning. See 04:22:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:50 04:22:50 Login Succeeded 04:22:50 ****.io 04:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:50 Configure a credential helper to remove this warning. See 04:22:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:50 04:22:50 Login Succeeded 04:22:50 ---> ****-login.sh ends [Pipeline] } 04:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:22:51 + git rev-list -1 --merges 3641da765e3ecf514711d982b07869362341dd3b~1..3641da765e3ecf514711d982b07869362341dd3b [Pipeline] echo 04:22:51 -----------> git rev-list -1 --merges 3641da765e3ecf514711d982b07869362341dd3b~1..3641da765e3ecf514711d982b07869362341dd3b 3641da765e3ecf514711d982b07869362341dd3b 04:22:51 3641da765e3ecf514711d982b07869362341dd3b [false] [Pipeline] sh 04:22:51 + git log --format=format:%s -1 3641da765e3ecf514711d982b07869362341dd3b [Pipeline] echo 04:22:51 ========================================================= 04:22:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:22:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:52 + git log --format=format:%s -1 3641da765e3ecf514711d982b07869362341dd3b [Pipeline] echo 04:22:52 [semverPrep] GIT_COMMIT: 3641da765e3ecf514711d982b07869362341dd3b, Commit Message: Merge pull request #681 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24 [Pipeline] echo 04:22:52 [semverPrep] This is not a build commit. [Pipeline] sh 04:22:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:52 + grep -v github /etc/ssh/ssh_known_hosts 04:22:52 + [ -e /tmp/ssh_known_hosts ] 04:22:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:22:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:22:52 + sudo tee -a /etc/ssh/ssh_known_hosts 04:22:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:52 04:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:53 0.1.4: Pulling from edgex-devops/py-git-semver 04:22:53 b85a868b505f: Pulling fs layer 04:22:53 e2be974225ed: Pulling fs layer 04:22:53 339a4e72a1f5: Pulling fs layer 04:22:53 988bab9f4d93: Pulling fs layer 04:22:53 1469e6f7b9e6: Pulling fs layer 04:22:53 eaf3925da568: Pulling fs layer 04:22:53 bab4dde63d76: Pulling fs layer 04:22:53 bde34c3a00c8: Pulling fs layer 04:22:53 b352a97aabf1: Pulling fs layer 04:22:53 4872d77fe225: Pulling fs layer 04:22:53 5851b861e8e6: Pulling fs layer 04:22:53 eaf3925da568: Waiting 04:22:53 988bab9f4d93: Waiting 04:22:53 bab4dde63d76: Waiting 04:22:53 1469e6f7b9e6: Waiting 04:22:53 bde34c3a00c8: Waiting 04:22:53 5851b861e8e6: Waiting 04:22:53 4872d77fe225: Waiting 04:22:53 e2be974225ed: Verifying Checksum 04:22:53 e2be974225ed: Download complete 04:22:53 988bab9f4d93: Verifying Checksum 04:22:53 988bab9f4d93: Download complete 04:22:53 339a4e72a1f5: Verifying Checksum 04:22:53 339a4e72a1f5: Download complete 04:22:53 1469e6f7b9e6: Verifying Checksum 04:22:53 1469e6f7b9e6: Download complete 04:22:53 eaf3925da568: Verifying Checksum 04:22:53 eaf3925da568: Download complete 04:22:53 bde34c3a00c8: Verifying Checksum 04:22:53 bde34c3a00c8: Download complete 04:22:53 b352a97aabf1: Download complete 04:22:53 4872d77fe225: Verifying Checksum 04:22:53 4872d77fe225: Download complete 04:22:53 5851b861e8e6: Verifying Checksum 04:22:53 5851b861e8e6: Download complete 04:22:53 b85a868b505f: Verifying Checksum 04:22:53 b85a868b505f: Download complete 04:22:53 bab4dde63d76: Verifying Checksum 04:22:53 bab4dde63d76: Download complete 04:22:54 b85a868b505f: Pull complete 04:22:54 e2be974225ed: Pull complete 04:22:55 339a4e72a1f5: Pull complete 04:22:55 988bab9f4d93: Pull complete 04:22:55 1469e6f7b9e6: Pull complete 04:22:55 eaf3925da568: Pull complete 04:22:57 bab4dde63d76: Pull complete 04:22:57 bde34c3a00c8: Pull complete 04:22:57 b352a97aabf1: Pull complete 04:22:57 4872d77fe225: Pull complete 04:22:57 5851b861e8e6: Pull complete 04:22:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:22:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:57 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:22:57 $ 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 04:23:01 $ docker top 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d -eo pid,comm 04:23:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:23:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:23:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:01 [ssh-agent] Looking for ssh-agent implementation... 04:23:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:01 $ docker exec 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d ssh-agent 04:23:01 SSH_AUTH_SOCK=/tmp/ssh-lhYHVvsyeN96/agent.32 04:23:01 SSH_AGENT_PID=38 04:23:01 Running ssh-add (command line suppressed) 04:23:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2886943256175506090.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2886943256175506090.key) 04:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:01 + git tag --points-at HEAD [Pipeline] } 04:23:01 $ docker exec --env ******** --env ******** 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d ssh-agent -k 04:23:01 unset SSH_AUTH_SOCK; 04:23:01 unset SSH_AGENT_PID; 04:23:01 echo Agent pid 38 killed; 04:23:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:23:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:01 [ssh-agent] Looking for ssh-agent implementation... 04:23:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:02 $ docker exec 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d ssh-agent 04:23:02 SSH_AUTH_SOCK=/tmp/ssh-jBfjnSJgN4M6/agent.71 04:23:02 SSH_AGENT_PID=77 04:23:02 Running ssh-add (command line suppressed) 04:23:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15137232770613026967.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15137232770613026967.key) 04:23:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:02 + git semver init 04:23:02 2024-07-16 04:23:02,836 [run_init] DEBUG init version:0.0.0 force:False 04:23:02 2024-07-16 04:23:02,837 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:23:02 2024-07-16 04:23:02,838 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:23:02 2024-07-16 04:23:02,838 [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) 04:23:04 2024-07-16 04:23:04,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 04:23:04 2024-07-16 04:23:04,199 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 04:23:04 2024-07-16 04:23:04,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:23:04 2024-07-16 04:23:04,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:23:04 3.2.0-dev.14 [Pipeline] } 04:23:04 $ docker exec --env ******** --env ******** 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d ssh-agent -k 04:23:04 unset SSH_AUTH_SOCK; 04:23:04 unset SSH_AGENT_PID; 04:23:04 echo Agent pid 77 killed; 04:23:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:23:04 + git semver [Pipeline] } 04:23:05 $ docker stop --time=1 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d 04:23:06 $ docker rm -f --volumes 5ca8169b159cceb1f09982a4c35646e1983734193aabe3926e088d2f35fc050d [Pipeline] // withDockerContainer [Pipeline] sh 04:23:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:23:07 Stashed 1 file(s) [Pipeline] echo 04:23:07 [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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 04:23:07 provisioning config files... 04:23:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6856490782513179008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:07 ---> ****-login.sh 04:23:07 nexus3.edgexfoundry.org:10001 04:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:07 Configure a credential helper to remove this warning. See 04:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:07 04:23:07 Login Succeeded 04:23:07 nexus3.edgexfoundry.org:10002 04:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:07 Configure a credential helper to remove this warning. See 04:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:07 04:23:07 Login Succeeded 04:23:07 nexus3.edgexfoundry.org:10003 04:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:07 Configure a credential helper to remove this warning. See 04:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:07 04:23:07 Login Succeeded 04:23:07 nexus3.edgexfoundry.org:10004 04:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:07 Configure a credential helper to remove this warning. See 04:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:07 04:23:07 Login Succeeded 04:23:07 ****.io 04:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:08 Configure a credential helper to remove this warning. See 04:23:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:08 04:23:08 Login Succeeded 04:23:08 ---> ****-login.sh ends [Pipeline] } 04:23:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:08 ========================================================= 04:23:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:23:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:08 + 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 . 04:23:08 Sending build context to Docker daemon 21.01MB 04:23:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:23:08 Step 2/12 : FROM ${BASE} AS builder 04:23:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:23:08 619be1103602: Pulling fs layer 04:23:08 7862e08f4a3e: Pulling fs layer 04:23:08 5df492c9dc93: Pulling fs layer 04:23:08 7629e6793208: Pulling fs layer 04:23:08 4f4fb700ef54: Pulling fs layer 04:23:08 7629e6793208: Waiting 04:23:08 fb5054dd5b73: Pulling fs layer 04:23:08 eeca6798cff9: Pulling fs layer 04:23:08 aa269ceb94a6: Pulling fs layer 04:23:08 ada007ff1a6a: Pulling fs layer 04:23:08 4f4fb700ef54: Waiting 04:23:08 eeca6798cff9: Waiting 04:23:08 aa269ceb94a6: Waiting 04:23:08 ada007ff1a6a: Waiting 04:23:08 fb5054dd5b73: Waiting 04:23:08 7862e08f4a3e: Verifying Checksum 04:23:08 7862e08f4a3e: Download complete 04:23:08 7629e6793208: Download complete 04:23:08 4f4fb700ef54: Verifying Checksum 04:23:08 4f4fb700ef54: Download complete 04:23:08 fb5054dd5b73: Verifying Checksum 04:23:08 fb5054dd5b73: Download complete 04:23:08 619be1103602: Verifying Checksum 04:23:08 619be1103602: Download complete 04:23:08 eeca6798cff9: Verifying Checksum 04:23:08 eeca6798cff9: Download complete 04:23:08 619be1103602: Pull complete 04:23:09 ada007ff1a6a: Verifying Checksum 04:23:09 ada007ff1a6a: Download complete 04:23:09 7862e08f4a3e: Pull complete 04:23:09 5df492c9dc93: Verifying Checksum 04:23:09 5df492c9dc93: Download complete 04:23:09 aa269ceb94a6: Verifying Checksum 04:23:09 aa269ceb94a6: Download complete 04:23:12 5df492c9dc93: Pull complete 04:23:12 7629e6793208: Pull complete 04:23:12 4f4fb700ef54: Pull complete 04:23:12 fb5054dd5b73: Pull complete 04:23:12 eeca6798cff9: Pull complete 04:23:14 aa269ceb94a6: Pull complete 04:23:15 ada007ff1a6a: Pull complete 04:23:15 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:23:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:23:15 ---> f489d0715acc 04:23:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:23:20 ---> Running in a90bb9252a31 04:23:20 Removing intermediate container a90bb9252a31 04:23:20 ---> 7cd9b88252d8 04:23:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:23:20 ---> Running in a82f4a11510d 04:23:20 Removing intermediate container a82f4a11510d 04:23:20 ---> f17af03d676d 04:23:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:23:20 ---> Running in 370b33d4d8f2 04:23:20 Removing intermediate container 370b33d4d8f2 04:23:20 ---> 0b45c175744d 04:23:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:23:20 ---> Running in 680565b5d161 04:23:20 Removing intermediate container 680565b5d161 04:23:20 ---> 2c1dc19f61d2 04:23:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:20 ---> Running in 10a94ae20abd 04:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:21 (1/4) Installing openssh-keygen (9.3_p2-r2) 04:23:21 (2/4) Installing libedit (20221030.3.1-r1) 04:23:21 (3/4) Installing openssh-client-common (9.3_p2-r2) 04:23:21 (4/4) Installing openssh-client-default (9.3_p2-r2) 04:23:21 Executing busybox-1.36.1-r5.trigger 04:23:21 OK: 268 MiB in 56 packages 04:23:22 Still waiting to schedule task 04:23:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5695’ 04:23:22 Removing intermediate container 10a94ae20abd 04:23:22 ---> c80d8dd4951f 04:23:22 Step 8/12 : WORKDIR /device-mqtt-go 04:23:22 ---> Running in d2b03df0b6a4 04:23:22 Removing intermediate container d2b03df0b6a4 04:23:22 ---> ce868bc9c3f8 04:23:22 Step 9/12 : COPY go.mod vendor* ./ 04:23:22 ---> 928e6c918dfa 04:23:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:22 ---> Running in b37ab999e42c 04:24:18 Removing intermediate container b37ab999e42c 04:24:18 ---> ae33ccfe5c41 04:24:18 Step 11/12 : COPY . . 04:24:18 ---> a66003307729 04:24:18 Step 12/12 : RUN $MAKE 04:24:18 ---> Running in c765a527d89b 04:24:18 noop 04:24:18 Removing intermediate container c765a527d89b 04:24:18 ---> b4dffdb66610 04:24:18 Successfully built b4dffdb66610 04:24:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:18 + docker inspect -f . ci-base-image-x86_64 04:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:18 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:19 $ docker top 7b24879dfb714f1bc6e9b1b33c8d2732477eb71a6794a98a2dab712e40c14e83 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:19 + go version 04:24:19 go version go1.21.9 linux/amd64 [Pipeline] } 04:24:19 $ docker stop --time=1 7b24879dfb714f1bc6e9b1b33c8d2732477eb71a6794a98a2dab712e40c14e83 04:24:20 $ docker rm -f --volumes 7b24879dfb714f1bc6e9b1b33c8d2732477eb71a6794a98a2dab712e40c14e83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:21 + docker inspect -f . ci-base-image-x86_64 04:24:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:21 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:24:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:21 $ docker top 950f6d54c28669b7c4762ef55e69fe3a4d71c9165f881ebf4b8247ab6f6c864f -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 04:24:22 + make test 04:24:22 go test ./... -coverprofile=coverage.out ./... 04:24:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:24:42 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:24:42 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:24:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 04:24:50 go vet ./... 04:24:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:55 ./bin/test-attribution-txt.sh 04:24:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:24:55 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:24:56 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:24:56 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:24:56 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:24:56 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:24:56 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:24:56 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:24:56 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:24:56 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:24:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:24:56 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:24:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:24:56 $ docker stop --time=1 950f6d54c28669b7c4762ef55e69fe3a4d71c9165f881ebf4b8247ab6f6c864f 04:24:58 $ docker rm -f --volumes 950f6d54c28669b7c4762ef55e69fe3a4d71c9165f881ebf4b8247ab6f6c864f [Pipeline] // withDockerContainer [Pipeline] sh 04:24:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:24:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:00 + ls -al . 04:25:00 total 252 04:25:00 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 04:24 . 04:25:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 04:22 .. 04:25:00 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 04:22 .dockerignore 04:25:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 04:24 .git 04:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:22 .github 04:25:00 -rw-rw-r-- 1 jenkins jenkins 264 Jul 16 04:22 .gitignore 04:25:00 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 04:22 .golangci.yml 04:25:00 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 04:23 .semver 04:25:00 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 16 04:22 Attribution.txt 04:25:00 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 16 04:22 CHANGELOG.md 04:25:00 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 16 04:22 Dockerfile 04:25:00 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 04:22 GOVERNANCE.md 04:25:00 -rw-rw-r-- 1 jenkins jenkins 657 Jul 16 04:22 Jenkinsfile 04:25:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 04:22 LICENSE 04:25:00 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 16 04:22 Makefile 04:25:00 -rw-rw-r-- 1 jenkins jenkins 620 Jul 16 04:22 OWNERS.md 04:25:00 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 16 04:22 README.md 04:25:00 -rw-rw-r-- 1 jenkins jenkins 12 Jul 16 04:23 VERSION 04:25:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 04:22 bin 04:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:22 cmd 04:25:00 -rw-r--r-- 1 jenkins jenkins 18506 Jul 16 04:24 coverage.out 04:25:00 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 16 04:22 go.mod 04:25:00 -rw-rw-r-- 1 jenkins jenkins 101928 Jul 16 04:22 go.sum 04:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:22 internal 04:25:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 04:22 mock 04:25:00 -rw-rw-r-- 1 jenkins jenkins 227 Jul 16 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:00 + 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=3641da765e3ecf514711d982b07869362341dd3b --label arch=amd64 --label version=3.2.0-dev.14 . 04:25:00 Sending build context to Docker daemon 21.03MB 04:25:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 04:25:00 Step 2/25 : FROM ${BASE} AS builder 04:25:00 ---> b4dffdb66610 04:25:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:25:00 ---> Running in 1d30bd5c715f 04:25:00 Removing intermediate container 1d30bd5c715f 04:25:00 ---> d6afcdf56ca0 04:25:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:25:01 ---> Running in fdc0d195cf92 04:25:01 Removing intermediate container fdc0d195cf92 04:25:01 ---> 16c6431fc5de 04:25:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:25:01 ---> Running in c584ba649467 04:25:01 Removing intermediate container c584ba649467 04:25:01 ---> 2fd1cb03be2f 04:25:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:25:01 ---> Running in 40441f729120 04:25:01 Removing intermediate container 40441f729120 04:25:01 ---> 7e4fa878bd79 04:25:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:25:01 ---> Running in c95c01e0c10d 04:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:02 OK: 268 MiB in 56 packages 04:25:02 Removing intermediate container c95c01e0c10d 04:25:02 ---> 4b9bf4c43d10 04:25:02 Step 8/25 : WORKDIR /device-mqtt-go 04:25:02 ---> Running in 36711f1e67b6 04:25:02 Removing intermediate container 36711f1e67b6 04:25:02 ---> 52f37b1d2ae1 04:25:02 Step 9/25 : COPY go.mod vendor* ./ 04:25:02 ---> 9a86a5bf3d0b 04:25:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:02 ---> Running in df49f70cd12b 04:25:03 Removing intermediate container df49f70cd12b 04:25:03 ---> fc6a23b7cffd 04:25:03 Step 11/25 : COPY . . 04:25:04 ---> d5882b82c51b 04:25:04 Step 12/25 : RUN $MAKE 04:25:04 ---> Running in 25782f7877c3 04:25:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:25:36 Removing intermediate container 25782f7877c3 04:25:36 ---> d861be1b6ef4 04:25:36 Step 13/25 : FROM alpine:3.18 04:25:36 3.18: Pulling from library/alpine 04:25:36 73baa7ef167e: Pulling fs layer 04:25:36 73baa7ef167e: Verifying Checksum 04:25:36 73baa7ef167e: Download complete 04:25:36 73baa7ef167e: Pull complete 04:25:36 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:25:36 Status: Downloaded newer image for alpine:3.18 04:25:36 ---> 8fd7cac70a4a 04:25:36 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:25:36 ---> Running in ad9ccb2f2682 04:25:36 Removing intermediate container ad9ccb2f2682 04:25:36 ---> ae111677a90f 04:25:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:25:36 ---> Running in eedb57e4f467 04:25:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:36 (1/1) Installing dumb-init (1.2.5-r2) 04:25:36 Executing busybox-1.36.1-r7.trigger 04:25:36 OK: 7 MiB in 16 packages 04:25:36 Removing intermediate container eedb57e4f467 04:25:36 ---> 3d1e5a28f278 04:25:36 Step 16/25 : RUN apk --no-cache upgrade 04:25:36 ---> Running in 20c9328ad876 04:25:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:36 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:25:36 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:25:36 OK: 7 MiB in 16 packages 04:25:36 Removing intermediate container 20c9328ad876 04:25:36 ---> 474500a9ac5f 04:25:36 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 04:25:38 ---> 77569c431f47 04:25:38 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 04:25:38 ---> ce82db8d76d6 04:25:38 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:25:38 ---> be381fd9c099 04:25:38 Step 20/25 : EXPOSE 59982 04:25:38 ---> Running in ad3828bf3fd4 04:25:38 Removing intermediate container ad3828bf3fd4 04:25:38 ---> 02ade8734435 04:25:38 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 04:25:38 ---> Running in 3643c70cebec 04:25:39 Removing intermediate container 3643c70cebec 04:25:39 ---> ad52e1fcf48a 04:25:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:25:39 ---> Running in fc0123cd318a 04:25:39 Removing intermediate container fc0123cd318a 04:25:39 ---> 7cd7f9479bdd 04:25:39 Step 23/25 : LABEL arch=amd64 04:25:39 ---> Running in 5be3ded62a24 04:25:39 Removing intermediate container 5be3ded62a24 04:25:39 ---> 877f947cf983 04:25:39 Step 24/25 : LABEL git_sha=3641da765e3ecf514711d982b07869362341dd3b 04:25:39 ---> Running in 407728bdd74c 04:25:39 Removing intermediate container 407728bdd74c 04:25:39 ---> c6ea1f0150f9 04:25:39 Step 25/25 : LABEL version=3.2.0-dev.14 04:25:39 ---> Running in 97e6a3aaa0ec 04:25:39 Removing intermediate container 97e6a3aaa0ec 04:25:39 ---> 50dc4260a1d8 04:25:39 [Warning] One or more build-args [ARCH] were not consumed 04:25:39 Successfully built 50dc4260a1d8 04:25:39 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:39 provisioning config files... 04:25:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config766486521387054984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:39 ---> ****-login.sh 04:25:39 nexus3.edgexfoundry.org:10001 04:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:39 Configure a credential helper to remove this warning. See 04:25:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:39 04:25:39 Login Succeeded 04:25:39 nexus3.edgexfoundry.org:10002 04:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:39 Configure a credential helper to remove this warning. See 04:25:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:39 04:25:39 Login Succeeded 04:25:39 nexus3.edgexfoundry.org:10003 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 nexus3.edgexfoundry.org:10004 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 ****.io 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 ---> ****-login.sh ends [Pipeline] } 04:25:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:25:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:25:40 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:25:40 3641da765e3ecf514711d982b07869362341dd3b 04:25:40 latest 04:25:40 3.2.0-dev.14 04:25:40 3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 04:25:40 main 04:25:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3641da765e3ecf514711d982b07869362341dd3b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3641da765e3ecf514711d982b07869362341dd3b 04:25:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:25:41 b8ef492284af: Preparing 04:25:41 8c919ea21a0b: Preparing 04:25:41 98dc5aedbc93: Preparing 04:25:41 ca122aa93ce8: Preparing 04:25:41 ba8631354af4: Preparing 04:25:41 63ec0bd56cf3: Preparing 04:25:41 63ec0bd56cf3: Waiting 04:25:41 8c919ea21a0b: Pushed 04:25:41 b8ef492284af: Pushed 04:25:41 ba8631354af4: Pushed 04:25:41 63ec0bd56cf3: Layer already exists 04:25:41 ca122aa93ce8: Pushed 04:25:45 98dc5aedbc93: Pushed 04:25:45 3641da765e3ecf514711d982b07869362341dd3b: digest: sha256:8b463d0f16964ceaf7f5cae8d368c7cdb6b933e13e30775100766e927ef0781c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:25:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:25:45 b8ef492284af: Preparing 04:25:45 8c919ea21a0b: Preparing 04:25:45 98dc5aedbc93: Preparing 04:25:45 ca122aa93ce8: Preparing 04:25:45 ba8631354af4: Preparing 04:25:45 63ec0bd56cf3: Preparing 04:25:45 63ec0bd56cf3: Waiting 04:25:45 ba8631354af4: Layer already exists 04:25:45 98dc5aedbc93: Layer already exists 04:25:45 8c919ea21a0b: Layer already exists 04:25:45 b8ef492284af: Layer already exists 04:25:45 ca122aa93ce8: Layer already exists 04:25:45 63ec0bd56cf3: Layer already exists 04:25:45 latest: digest: sha256:8b463d0f16964ceaf7f5cae8d368c7cdb6b933e13e30775100766e927ef0781c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.14 04:25:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:25:46 b8ef492284af: Preparing 04:25:46 8c919ea21a0b: Preparing 04:25:46 98dc5aedbc93: Preparing 04:25:46 ca122aa93ce8: Preparing 04:25:46 ba8631354af4: Preparing 04:25:46 63ec0bd56cf3: Preparing 04:25:46 63ec0bd56cf3: Waiting 04:25:46 b8ef492284af: Layer already exists 04:25:46 ca122aa93ce8: Layer already exists 04:25:46 ba8631354af4: Layer already exists 04:25:46 8c919ea21a0b: Layer already exists 04:25:46 98dc5aedbc93: Layer already exists 04:25:46 63ec0bd56cf3: Layer already exists 04:25:46 3.2.0-dev.14: digest: sha256:8b463d0f16964ceaf7f5cae8d368c7cdb6b933e13e30775100766e927ef0781c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 04:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:25:47 b8ef492284af: Preparing 04:25:47 8c919ea21a0b: Preparing 04:25:47 98dc5aedbc93: Preparing 04:25:47 ca122aa93ce8: Preparing 04:25:47 ba8631354af4: Preparing 04:25:47 63ec0bd56cf3: Preparing 04:25:47 63ec0bd56cf3: Waiting 04:25:47 b8ef492284af: Layer already exists 04:25:47 ba8631354af4: Layer already exists 04:25:47 ca122aa93ce8: Layer already exists 04:25:47 98dc5aedbc93: Layer already exists 04:25:47 8c919ea21a0b: Layer already exists 04:25:47 63ec0bd56cf3: Layer already exists 04:25:47 3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14: digest: sha256:8b463d0f16964ceaf7f5cae8d368c7cdb6b933e13e30775100766e927ef0781c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:25:47 b8ef492284af: Preparing 04:25:47 8c919ea21a0b: Preparing 04:25:47 98dc5aedbc93: Preparing 04:25:47 ca122aa93ce8: Preparing 04:25:47 ba8631354af4: Preparing 04:25:47 63ec0bd56cf3: Preparing 04:25:47 63ec0bd56cf3: Waiting 04:25:47 8c919ea21a0b: Layer already exists 04:25:47 ba8631354af4: Layer already exists 04:25:47 b8ef492284af: Layer already exists 04:25:47 ca122aa93ce8: Layer already exists 04:25:47 98dc5aedbc93: Layer already exists 04:25:47 63ec0bd56cf3: Layer already exists 04:25:47 main: digest: sha256:8b463d0f16964ceaf7f5cae8d368c7cdb6b933e13e30775100766e927ef0781c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:25:47 ===================================================== [Pipeline] echo 04:25:47 taggedImages: 04:25:47 - nexus3.edgexfoundry.org:10004/device-mqtt:3641da765e3ecf514711d982b07869362341dd3b 04:25:47 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:25:47 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.14 04:25:47 - nexus3.edgexfoundry.org:10004/device-mqtt:3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 04:25:47 - 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 04:25:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:48 04:25:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:48 latest: Pulling from edgex-lftools-log-publisher 04:25:48 5eb5b503b376: Pulling fs layer 04:25:48 5c69ac0246d0: Pulling fs layer 04:25:48 ec43610c2a17: Pulling fs layer 04:25:48 3a2ae6a8a46f: Pulling fs layer 04:25:48 33b1e0a273af: Pulling fs layer 04:25:48 5d3b04190fa2: Pulling fs layer 04:25:48 2f39f015ded8: Pulling fs layer 04:25:48 33b1e0a273af: Waiting 04:25:48 5d3b04190fa2: Waiting 04:25:48 3a2ae6a8a46f: Waiting 04:25:48 2f39f015ded8: Waiting 04:25:48 5c69ac0246d0: Download complete 04:25:48 3a2ae6a8a46f: Verifying Checksum 04:25:48 3a2ae6a8a46f: Download complete 04:25:48 33b1e0a273af: Verifying Checksum 04:25:48 33b1e0a273af: Download complete 04:25:48 ec43610c2a17: Verifying Checksum 04:25:48 ec43610c2a17: Download complete 04:25:48 5d3b04190fa2: Verifying Checksum 04:25:48 5d3b04190fa2: Download complete 04:25:48 5eb5b503b376: Verifying Checksum 04:25:48 5eb5b503b376: Download complete 04:25:49 2f39f015ded8: Download complete 04:25:50 5eb5b503b376: Pull complete 04:25:50 5c69ac0246d0: Pull complete 04:25:50 ec43610c2a17: Pull complete 04:25:50 3a2ae6a8a46f: Pull complete 04:25:50 33b1e0a273af: Pull complete 04:25:50 5d3b04190fa2: Pull complete 04:25:55 2f39f015ded8: Pull complete 04:25:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:25:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:55 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:25:55 $ 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 04:25:59 $ docker top f40335140845999fab9405b2dc95dd6ab23e89a9c08247d274c8c23ae6e51dca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:59 ---> job-cost.sh 04:25:59 lf-activate-venv: SKIPPING 04:25:59 INFO: No Stack... 04:25:59 INFO: Retrieving Pricing Info for: v3-standard-8 04:26:00 INFO: Archiving Costs [Pipeline] sh 04:26:00 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 04:26:00 + cut -d, -f6 [Pipeline] lock 04:26:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] 04:26:00 Resource [jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] did not exist. Created. 04:26:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:26:01 + echo total: 0.2199999988079071 [Pipeline] stash 04:26:01 Stashed 1 file(s) [Pipeline] } 04:26:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] [Pipeline] // lock [Pipeline] } 04:26:01 $ docker stop --time=1 f40335140845999fab9405b2dc95dd6ab23e89a9c08247d274c8c23ae6e51dca 04:26:02 $ docker rm -f --volumes f40335140845999fab9405b2dc95dd6ab23e89a9c08247d274c8c23ae6e51dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5706 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:26:22 Running in /w/workspace/device-mqtt-go/168 [Pipeline] { [Pipeline] checkout 04:26:22 The recommended git tool is: git 04:26:28 using credential edgex-jenkins-ssh 04:26:28 Cloning the remote Git repository 04:26:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:26:28 > git init /w/workspace/device-mqtt-go/168 # timeout=10 04:26:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:26:28 > git --version # timeout=10 04:26:28 > git --version # 'git version 2.25.1' 04:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:32 Avoid second fetch 04:26:32 Checking out Revision 3641da765e3ecf514711d982b07869362341dd3b (main) 04:26:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:26:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:33 Commit message: "Merge pull request #681 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24" 04:26:32 > git config core.sparsecheckout # timeout=10 04:26:32 > git checkout -f 3641da765e3ecf514711d982b07869362341dd3b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:26:38 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:38 Dload Upload Total Spent Left Speed 04:26:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 04:26:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:26:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:26:38 + sudo tee /etc/docker/daemon.new 04:26:38 { 04:26:38 "registry-mirrors": [ 04:26:38 "https://nexus3.edgexfoundry.org:10001" 04:26:38 ], 04:26:38 "bip": "10.250.0.254/24", 04:26:38 "hosts": [ 04:26:38 "tcp://0.0.0.0:5555", 04:26:38 "unix:///var/run/docker.sock" 04:26:38 ], 04:26:38 "mtu": 1458, 04:26:38 "selinux-enabled": true, 04:26:38 "seccomp-profile": "/etc/docker/seccomp.json" 04:26:38 } [Pipeline] sh 04:26:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:26:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:57 provisioning config files... 04:26:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/168@tmp/config15060996662612471032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:58 ---> ****-login.sh 04:26:58 nexus3.edgexfoundry.org:10001 04:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:58 Configure a credential helper to remove this warning. See 04:26:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:58 04:26:58 Login Succeeded 04:26:58 nexus3.edgexfoundry.org:10002 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 nexus3.edgexfoundry.org:10003 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 nexus3.edgexfoundry.org:10004 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 ****.io 04:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:27:00 Configure a credential helper to remove this warning. See 04:27:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:27:00 04:27:00 Login Succeeded 04:27:00 ---> ****-login.sh ends [Pipeline] } 04:27:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:27:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:27:01 ========================================================= 04:27:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:27:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:01 + 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 . 04:27:02 Sending build context to Docker daemon 10.61MB 04:27:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:27:02 Step 2/12 : FROM ${BASE} AS builder 04:27:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:27:02 c6b39de5b339: Pulling fs layer 04:27:02 a69c41024577: Pulling fs layer 04:27:02 d6de4b400683: Pulling fs layer 04:27:02 35cb2a7552d0: Pulling fs layer 04:27:02 4f4fb700ef54: Pulling fs layer 04:27:02 464afbd9ba4c: Pulling fs layer 04:27:02 00f215d4a9da: Pulling fs layer 04:27:02 d496ad576159: Pulling fs layer 04:27:02 35cb2a7552d0: Waiting 04:27:02 464afbd9ba4c: Waiting 04:27:02 4f4fb700ef54: Waiting 04:27:02 d496ad576159: Waiting 04:27:02 00f215d4a9da: Waiting 04:27:02 a69c41024577: Verifying Checksum 04:27:02 a69c41024577: Download complete 04:27:02 35cb2a7552d0: Verifying Checksum 04:27:02 35cb2a7552d0: Download complete 04:27:02 4f4fb700ef54: Verifying Checksum 04:27:02 4f4fb700ef54: Download complete 04:27:02 c6b39de5b339: Verifying Checksum 04:27:02 c6b39de5b339: Download complete 04:27:02 464afbd9ba4c: Verifying Checksum 04:27:02 464afbd9ba4c: Download complete 04:27:03 d496ad576159: Verifying Checksum 04:27:03 d496ad576159: Download complete 04:27:03 c6b39de5b339: Pull complete 04:27:04 a69c41024577: Pull complete 04:27:04 d6de4b400683: Verifying Checksum 04:27:04 d6de4b400683: Download complete 04:27:05 00f215d4a9da: Verifying Checksum 04:27:05 00f215d4a9da: Download complete 04:27:21 d6de4b400683: Pull complete 04:27:21 35cb2a7552d0: Pull complete 04:27:21 4f4fb700ef54: Pull complete 04:27:21 464afbd9ba4c: Pull complete 04:27:29 00f215d4a9da: Pull complete 04:27:31 d496ad576159: Pull complete 04:27:31 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:27:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:27:31 ---> f246e2811388 04:27:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:27:32 ---> Running in 56409e23221d 04:27:33 Removing intermediate container 56409e23221d 04:27:33 ---> e82a19187cc8 04:27:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:27:33 ---> Running in 9ce79a2b1b54 04:27:33 Removing intermediate container 9ce79a2b1b54 04:27:33 ---> df2374d9900f 04:27:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:27:33 ---> Running in d5eb7013869f 04:27:33 Removing intermediate container d5eb7013869f 04:27:33 ---> 1b582a7a76b9 04:27:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:27:34 ---> Running in 40f6e0597f65 04:27:34 Removing intermediate container 40f6e0597f65 04:27:34 ---> ebabfe1c8b3d 04:27:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:34 ---> Running in 4d542f691882 04:27:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:37 (1/4) Installing openssh-keygen (9.3_p2-r2) 04:27:37 (2/4) Installing libedit (20221030.3.1-r1) 04:27:37 (3/4) Installing openssh-client-common (9.3_p2-r2) 04:27:37 (4/4) Installing openssh-client-default (9.3_p2-r2) 04:27:37 Executing busybox-1.36.1-r5.trigger 04:27:37 OK: 271 MiB in 56 packages 04:27:39 Removing intermediate container 4d542f691882 04:27:39 ---> 84b31867b0de 04:27:39 Step 8/12 : WORKDIR /device-mqtt-go 04:27:39 ---> Running in 4924057b09bd 04:27:39 Removing intermediate container 4924057b09bd 04:27:39 ---> a237f809fd19 04:27:39 Step 9/12 : COPY go.mod vendor* ./ 04:27:40 ---> 79826aeef698 04:27:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:40 ---> Running in 1bedb65d57ed 04:29:34 Removing intermediate container 1bedb65d57ed 04:29:34 ---> 4fa449172853 04:29:34 Step 11/12 : COPY . . 04:29:34 ---> cbfa050a63a2 04:29:34 Step 12/12 : RUN $MAKE 04:29:34 ---> Running in a1ddf0dc26a8 04:29:34 noop 04:29:35 Removing intermediate container a1ddf0dc26a8 04:29:35 ---> ced9e308fbcf 04:29:35 Successfully built ced9e308fbcf 04:29:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:35 + docker inspect -f . ci-base-image-arm64 04:29:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:36 prd-ubuntu20.04-docker-arm64-4c-16g-5706 does not seem to be running inside a container 04:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/168 -v /w/workspace/device-mqtt-go/168:/w/workspace/device-mqtt-go/168:rw,z -v /w/workspace/device-mqtt-go/168@tmp:/w/workspace/device-mqtt-go/168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:29:37 $ docker top 9de28ca7cb70d0174e7b45da7b18fe6ab17656751f0f553afbe787e29e7c757f -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:38 + go version 04:29:38 go version go1.21.9 linux/arm64 [Pipeline] } 04:29:38 $ docker stop --time=1 9de28ca7cb70d0174e7b45da7b18fe6ab17656751f0f553afbe787e29e7c757f 04:29:40 $ docker rm -f --volumes 9de28ca7cb70d0174e7b45da7b18fe6ab17656751f0f553afbe787e29e7c757f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:40 + docker inspect -f . ci-base-image-arm64 04:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-5706 does not seem to be running inside a container 04:29:41 $ 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/168 -v /w/workspace/device-mqtt-go/168:/w/workspace/device-mqtt-go/168:rw,z -v /w/workspace/device-mqtt-go/168@tmp:/w/workspace/device-mqtt-go/168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:29:42 $ docker top 0aeee7e577389e9d28894bd0dbdd66a1f82ec447ea10eaa7fff157dc8d70cfb8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:43 + git config --global --add safe.directory /w/workspace/device-mqtt-go/168 [Pipeline] fileExists [Pipeline] sh 04:29:44 + make test 04:29:44 go test ./... -coverprofile=coverage.out ./... 04:29:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:34:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:34:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:34:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.8% of statements 04:34:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:27 go vet ./... 04:35:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:24 ./bin/test-attribution-txt.sh 04:35:24 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:35:24 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:35:24 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:35:24 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:35:24 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:35:24 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:35:24 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:35:24 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:35:24 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:35:24 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:35:24 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:35:24 $ docker stop --time=1 0aeee7e577389e9d28894bd0dbdd66a1f82ec447ea10eaa7fff157dc8d70cfb8 04:35:26 $ docker rm -f --volumes 0aeee7e577389e9d28894bd0dbdd66a1f82ec447ea10eaa7fff157dc8d70cfb8 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:28 Warning: overwriting stash ‘coverage-report’ 04:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:29 + ls -al . 04:35:29 total 248 04:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 04:29 . 04:35:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 04:26 .. 04:35:29 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 04:26 .dockerignore 04:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 04:26 .git 04:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:26 .github 04:35:29 -rw-rw-r-- 1 jenkins jenkins 264 Jul 16 04:26 .gitignore 04:35:29 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 04:26 .golangci.yml 04:35:29 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 16 04:26 Attribution.txt 04:35:29 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 16 04:26 CHANGELOG.md 04:35:29 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 16 04:26 Dockerfile 04:35:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 04:26 GOVERNANCE.md 04:35:29 -rw-rw-r-- 1 jenkins jenkins 657 Jul 16 04:26 Jenkinsfile 04:35:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 04:26 LICENSE 04:35:29 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 16 04:26 Makefile 04:35:29 -rw-rw-r-- 1 jenkins jenkins 620 Jul 16 04:26 OWNERS.md 04:35:29 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 16 04:26 README.md 04:35:29 -rw-rw-r-- 1 jenkins jenkins 12 Jul 16 04:23 VERSION 04:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 04:26 bin 04:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:26 cmd 04:35:29 -rw-r--r-- 1 jenkins jenkins 18506 Jul 16 04:34 coverage.out 04:35:29 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 16 04:26 go.mod 04:35:29 -rw-rw-r-- 1 jenkins jenkins 101928 Jul 16 04:26 go.sum 04:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 04:26 internal 04:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 04:26 mock 04:35:29 -rw-rw-r-- 1 jenkins jenkins 227 Jul 16 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:30 + 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=3641da765e3ecf514711d982b07869362341dd3b --label arch=arm64 --label version=3.2.0-dev.14 . 04:35:30 Sending build context to Docker daemon 10.63MB 04:35:30 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 04:35:30 Step 2/25 : FROM ${BASE} AS builder 04:35:30 ---> ced9e308fbcf 04:35:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:35:31 ---> Running in d3529062fe94 04:35:31 Removing intermediate container d3529062fe94 04:35:31 ---> 2d7c601769de 04:35:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:35:31 ---> Running in c4750822cbd4 04:35:31 Removing intermediate container c4750822cbd4 04:35:31 ---> ba8574f23f91 04:35:31 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:35:31 ---> Running in e682865768ef 04:35:32 Removing intermediate container e682865768ef 04:35:32 ---> 308d1bfd0a32 04:35:32 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:35:32 ---> Running in a2240c057928 04:35:32 Removing intermediate container a2240c057928 04:35:32 ---> a2a4777e7311 04:35:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:32 ---> Running in 63ebb048ec99 04:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:35:35 OK: 271 MiB in 56 packages 04:35:36 Removing intermediate container 63ebb048ec99 04:35:36 ---> 33c8f9716518 04:35:36 Step 8/25 : WORKDIR /device-mqtt-go 04:35:36 ---> Running in c16f422f025c 04:35:36 Removing intermediate container c16f422f025c 04:35:36 ---> 69ba3efb9d58 04:35:36 Step 9/25 : COPY go.mod vendor* ./ 04:35:37 ---> 1ff3ed8d884a 04:35:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:37 ---> Running in 0cd239794963 04:35:40 Removing intermediate container 0cd239794963 04:35:40 ---> 6f24947c2a6d 04:35:40 Step 11/25 : COPY . . 04:35:41 ---> c49ffe5d6a68 04:35:41 Step 12/25 : RUN $MAKE 04:35:41 ---> Running in f1d5b87f1867 04:35:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:39:49 Removing intermediate container f1d5b87f1867 04:39:49 ---> f1faa444fd65 04:39:49 Step 13/25 : FROM alpine:3.18 04:39:49 3.18: Pulling from library/alpine 04:39:49 5c905c7ebe2f: Pulling fs layer 04:39:49 5c905c7ebe2f: Verifying Checksum 04:39:49 5c905c7ebe2f: Download complete 04:39:49 5c905c7ebe2f: Pull complete 04:39:49 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:39:49 Status: Downloaded newer image for alpine:3.18 04:39:49 ---> dec292d02e07 04:39:49 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:39:49 ---> Running in 1f81efcb1eee 04:39:49 Removing intermediate container 1f81efcb1eee 04:39:49 ---> b651fe251159 04:39:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:39:49 ---> Running in e87395a32790 04:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:39:49 (1/1) Installing dumb-init (1.2.5-r2) 04:39:49 Executing busybox-1.36.1-r7.trigger 04:39:49 OK: 8 MiB in 16 packages 04:39:49 Removing intermediate container e87395a32790 04:39:49 ---> a8a8d69582a2 04:39:49 Step 16/25 : RUN apk --no-cache upgrade 04:39:49 ---> Running in aab0440d1cec 04:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:39:49 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:39:49 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:39:49 OK: 8 MiB in 16 packages 04:39:49 Removing intermediate container aab0440d1cec 04:39:49 ---> eba5e3a9bb23 04:39:49 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 04:39:50 ---> 972a2fe326e5 04:39:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 04:39:50 ---> e78b37840104 04:39:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:39:51 ---> 5df903abdd93 04:39:51 Step 20/25 : EXPOSE 59982 04:39:51 ---> Running in 34621a31773a 04:39:52 Removing intermediate container 34621a31773a 04:39:52 ---> 161097c8ceca 04:39:52 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 04:39:52 ---> Running in 960f033a781c 04:39:52 Removing intermediate container 960f033a781c 04:39:52 ---> b10d5d207359 04:39:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:39:52 ---> Running in 7e1077189b38 04:39:52 Removing intermediate container 7e1077189b38 04:39:52 ---> 48ab72982263 04:39:52 Step 23/25 : LABEL arch=arm64 04:39:52 ---> Running in 2c7154eae7ff 04:39:53 Removing intermediate container 2c7154eae7ff 04:39:53 ---> a74b3dfd9502 04:39:53 Step 24/25 : LABEL git_sha=3641da765e3ecf514711d982b07869362341dd3b 04:39:53 ---> Running in eb50032af173 04:39:53 Removing intermediate container eb50032af173 04:39:53 ---> 2c39bfebd2bd 04:39:53 Step 25/25 : LABEL version=3.2.0-dev.14 04:39:53 ---> Running in 8829e4e027bc 04:39:54 Removing intermediate container 8829e4e027bc 04:39:54 ---> a0a3cbcc59c2 04:39:54 [Warning] One or more build-args [ARCH] were not consumed 04:39:54 Successfully built a0a3cbcc59c2 04:39:54 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 04:39:54 provisioning config files... 04:39:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/168@tmp/config2638924454214458117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:54 ---> ****-login.sh 04:39:54 nexus3.edgexfoundry.org:10001 04:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:54 Configure a credential helper to remove this warning. See 04:39:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:54 04:39:54 Login Succeeded 04:39:54 nexus3.edgexfoundry.org:10002 04:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:55 Configure a credential helper to remove this warning. See 04:39:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:55 04:39:55 Login Succeeded 04:39:55 nexus3.edgexfoundry.org:10003 04:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:55 Configure a credential helper to remove this warning. See 04:39:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:55 04:39:55 Login Succeeded 04:39:55 nexus3.edgexfoundry.org:10004 04:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:56 Configure a credential helper to remove this warning. See 04:39:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:56 04:39:56 Login Succeeded 04:39:56 ****.io 04:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:56 Configure a credential helper to remove this warning. See 04:39:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:56 04:39:56 Login Succeeded 04:39:56 ---> ****-login.sh ends [Pipeline] } 04:39:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:39:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:56 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:39:56 3641da765e3ecf514711d982b07869362341dd3b 04:39:56 latest 04:39:56 3.2.0-dev.14 04:39:56 3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 04:39:56 main 04:39:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3641da765e3ecf514711d982b07869362341dd3b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3641da765e3ecf514711d982b07869362341dd3b 04:39:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:39:57 49539dba93ae: Preparing 04:39:57 e2b860b7c716: Preparing 04:39:57 7fbea623ed25: Preparing 04:39:57 93d1b7df3da7: Preparing 04:39:57 9e220f93c68e: Preparing 04:39:57 da707bb00cb8: Preparing 04:39:57 da707bb00cb8: Waiting 04:39:57 e2b860b7c716: Pushed 04:39:57 49539dba93ae: Pushed 04:39:57 9e220f93c68e: Pushed 04:39:57 da707bb00cb8: Layer already exists 04:39:59 93d1b7df3da7: Pushed 04:40:25 7fbea623ed25: Pushed 04:40:25 3641da765e3ecf514711d982b07869362341dd3b: digest: sha256:850d1f10b2a4ae4428885abb1590001d5f148690bf4663e756c62b5b452377f8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:40:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:26 49539dba93ae: Preparing 04:40:26 e2b860b7c716: Preparing 04:40:26 7fbea623ed25: Preparing 04:40:26 93d1b7df3da7: Preparing 04:40:26 9e220f93c68e: Preparing 04:40:26 da707bb00cb8: Preparing 04:40:26 da707bb00cb8: Waiting 04:40:26 9e220f93c68e: Layer already exists 04:40:26 e2b860b7c716: Layer already exists 04:40:26 49539dba93ae: Layer already exists 04:40:26 7fbea623ed25: Layer already exists 04:40:26 93d1b7df3da7: Layer already exists 04:40:26 da707bb00cb8: Layer already exists 04:40:26 latest: digest: sha256:850d1f10b2a4ae4428885abb1590001d5f148690bf4663e756c62b5b452377f8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.14 04:40:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:27 49539dba93ae: Preparing 04:40:27 e2b860b7c716: Preparing 04:40:27 7fbea623ed25: Preparing 04:40:27 93d1b7df3da7: Preparing 04:40:27 9e220f93c68e: Preparing 04:40:27 da707bb00cb8: Preparing 04:40:27 da707bb00cb8: Waiting 04:40:27 9e220f93c68e: Layer already exists 04:40:27 e2b860b7c716: Layer already exists 04:40:27 93d1b7df3da7: Layer already exists 04:40:27 49539dba93ae: Layer already exists 04:40:27 7fbea623ed25: Layer already exists 04:40:27 da707bb00cb8: Layer already exists 04:40:27 3.2.0-dev.14: digest: sha256:850d1f10b2a4ae4428885abb1590001d5f148690bf4663e756c62b5b452377f8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 04:40:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:28 49539dba93ae: Preparing 04:40:28 e2b860b7c716: Preparing 04:40:28 7fbea623ed25: Preparing 04:40:28 93d1b7df3da7: Preparing 04:40:28 9e220f93c68e: Preparing 04:40:28 da707bb00cb8: Preparing 04:40:28 da707bb00cb8: Waiting 04:40:28 9e220f93c68e: Layer already exists 04:40:28 e2b860b7c716: Layer already exists 04:40:28 7fbea623ed25: Layer already exists 04:40:28 49539dba93ae: Layer already exists 04:40:28 93d1b7df3da7: Layer already exists 04:40:28 da707bb00cb8: Layer already exists 04:40:28 3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14: digest: sha256:850d1f10b2a4ae4428885abb1590001d5f148690bf4663e756c62b5b452377f8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:40:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:40:29 49539dba93ae: Preparing 04:40:29 e2b860b7c716: Preparing 04:40:29 7fbea623ed25: Preparing 04:40:29 93d1b7df3da7: Preparing 04:40:29 9e220f93c68e: Preparing 04:40:29 da707bb00cb8: Preparing 04:40:29 49539dba93ae: Layer already exists 04:40:29 9e220f93c68e: Layer already exists 04:40:29 93d1b7df3da7: Layer already exists 04:40:29 e2b860b7c716: Layer already exists 04:40:29 7fbea623ed25: Layer already exists 04:40:29 da707bb00cb8: Layer already exists 04:40:29 main: digest: sha256:850d1f10b2a4ae4428885abb1590001d5f148690bf4663e756c62b5b452377f8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:40:29 ===================================================== [Pipeline] echo 04:40:29 taggedImages: 04:40:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3641da765e3ecf514711d982b07869362341dd3b 04:40:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:40:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.14 04:40:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3641da765e3ecf514711d982b07869362341dd3b-3.2.0-dev.14 04:40:29 - 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 04:40:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:30 04:40:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:30 arm64: Pulling from edgex-lftools-log-publisher 04:40:30 8998bd30e6a1: Pulling fs layer 04:40:30 04944245beec: Pulling fs layer 04:40:30 699f458cf7ca: Pulling fs layer 04:40:30 765212b225bb: Pulling fs layer 04:40:30 f23df028b6ca: Pulling fs layer 04:40:30 d65c8cfc05b1: Pulling fs layer 04:40:30 f23df028b6ca: Waiting 04:40:30 765212b225bb: Waiting 04:40:30 d65c8cfc05b1: Waiting 04:40:30 2437ff75d9bd: Pulling fs layer 04:40:30 04944245beec: Download complete 04:40:30 765212b225bb: Verifying Checksum 04:40:30 765212b225bb: Download complete 04:40:30 f23df028b6ca: Verifying Checksum 04:40:30 f23df028b6ca: Download complete 04:40:30 d65c8cfc05b1: Verifying Checksum 04:40:30 d65c8cfc05b1: Download complete 04:40:30 699f458cf7ca: Verifying Checksum 04:40:30 699f458cf7ca: Download complete 04:40:31 8998bd30e6a1: Verifying Checksum 04:40:31 8998bd30e6a1: Download complete 04:40:33 2437ff75d9bd: Verifying Checksum 04:40:33 2437ff75d9bd: Download complete 04:40:36 8998bd30e6a1: Pull complete 04:40:36 04944245beec: Pull complete 04:40:38 699f458cf7ca: Pull complete 04:40:38 765212b225bb: Pull complete 04:40:39 f23df028b6ca: Pull complete 04:40:39 d65c8cfc05b1: Pull complete 04:40:57 2437ff75d9bd: Pull complete 04:40:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:57 prd-ubuntu20.04-docker-arm64-4c-16g-5706 does not seem to be running inside a container 04:40:57 $ 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/168 -v /w/workspace/device-mqtt-go/168:/w/workspace/device-mqtt-go/168:rw,z -v /w/workspace/device-mqtt-go/168@tmp:/w/workspace/device-mqtt-go/168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:41:00 $ docker top e8603b5d2065927a8f25aadf3cebd3bdff3d0cd5a1e074090be2bd1852a55299 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:01 ---> job-cost.sh 04:41:01 lf-activate-venv: SKIPPING 04:41:01 INFO: No Stack... 04:41:01 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:02 INFO: Archiving Costs [Pipeline] sh 04:41:03 + cut -d, -f6 04:41:03 + cat /w/workspace/device-mqtt-go/168/archives/cost.csv [Pipeline] lock 04:41:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] 04:41:03 Resource [jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] did not exist. Created. 04:41:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:03 /w/workspace/device-mqtt-go/168@tmp/durable-e46f8ff6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:04 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:04 Warning: overwriting stash ‘stack-cost’ 04:41:04 Stashed 1 file(s) [Pipeline] } 04:41:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-168-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:04 $ docker stop --time=1 e8603b5d2065927a8f25aadf3cebd3bdff3d0cd5a1e074090be2bd1852a55299 04:41:06 $ docker rm -f --volumes e8603b5d2065927a8f25aadf3cebd3bdff3d0cd5a1e074090be2bd1852a55299 [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 04:41:06 provisioning config files... 04:41:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13553068570088907211tmp [Pipeline] { [Pipeline] sh 04:41:07 + set +x 04:41:07 + curl -s https://codecov.io/bash 04:41:07 + bash -s -- 04:41:07 04:41:07 _____ _ 04:41:07 / ____| | | 04:41:07 | | ___ __| | ___ ___ _____ __ 04:41:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:07 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:07 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:07 Bash-1.0.6 04:41:07 04:41:07 04:41:07 ==> git version 2.25.1 found 04:41:07 ==> 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 04:41:07 Release-Date: 2020-01-08 04:41:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:41:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:07 ==> Jenkins CI detected. 04:41:07 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:41:07 project root: . 04:41:07 --> token set from env 04:41:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:07 ==> Running gcov in . (disable via -X gcov) 04:41:07 ==> Python coveragepy not found 04:41:07 ==> Searching for coverage reports in: 04:41:07 + . 04:41:07 -> Found 1 reports 04:41:07 ==> Detecting git/mercurial file structure 04:41:07 ==> Reading reports 04:41:07 + ./coverage.out bytes=18506 04:41:07 ==> Appending adjustments 04:41:07 https://docs.codecov.io/docs/fixing-reports 04:41:07 + Found adjustments 04:41:07 ==> Gzipping contents 04:41:07 4.0K /tmp/codecov.AgKVFn.gz 04:41:07 ==> Uploading reports 04:41:07 url: https://codecov.io 04:41:07 query: branch=main&commit=3641da765e3ecf514711d982b07869362341dd3b&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:41:07 -> Pinging Codecov 04:41:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3641da765e3ecf514711d982b07869362341dd3b&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:41:07 -> Uploading to 04:41:07 https://storage.googleapis.com/codecov/v4/raw/2024-07-16/7D719EC7BBE17E464838252E33014C33/3641da765e3ecf514711d982b07869362341dd3b/4af223b8-00c3-4984-9446-9b0bc7c6ed77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T044107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a9b7ea84c217941f4cbe68494001a30168625d8a6b113f789618ce6eb7f0e2e 04:41:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:07 Dload Upload Total Spent Left Speed 04:41:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 2532 0:00:01 0:00:01 --:--:-- 2532 100 3049 0 0 100 3049 0 2397 0:00:01 0:00:01 --:--:-- 2397 04:41:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3641da765e3ecf514711d982b07869362341dd3b [Pipeline] } 04:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:41:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:41:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:41:09 04:41:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:41:09 latest: Pulling from edgex-devops/edgex-snyk-go 04:41:09 619be1103602: Already exists 04:41:09 f8ea3408117e: Pulling fs layer 04:41:09 91320369b822: Pulling fs layer 04:41:09 0406650e8295: Pulling fs layer 04:41:09 4f4fb700ef54: Pulling fs layer 04:41:09 96d80e3f36e1: Pulling fs layer 04:41:09 bcf3aedb951c: Pulling fs layer 04:41:09 96d80e3f36e1: Waiting 04:41:09 bcf3aedb951c: Waiting 04:41:09 4f4fb700ef54: Waiting 04:41:09 0406650e8295: Download complete 04:41:09 f8ea3408117e: Download complete 04:41:09 4f4fb700ef54: Verifying Checksum 04:41:09 4f4fb700ef54: Download complete 04:41:09 f8ea3408117e: Pull complete 04:41:09 96d80e3f36e1: Verifying Checksum 04:41:09 96d80e3f36e1: Download complete 04:41:09 91320369b822: Download complete 04:41:10 bcf3aedb951c: Verifying Checksum 04:41:10 bcf3aedb951c: Download complete 04:41:12 91320369b822: Pull complete 04:41:12 0406650e8295: Pull complete 04:41:12 4f4fb700ef54: Pull complete 04:41:13 96d80e3f36e1: Pull complete 04:41:16 bcf3aedb951c: Pull complete 04:41:16 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:41:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:41:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:16 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:41:16 $ 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 04:41:20 $ docker top ee27ea6a00f513e4f049106ed31d8301a862cac885a8cf5b0267156f90921d66 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 04:41:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 04:41:21 + set -o pipefail 04:41:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 04:41:27 04:41:27 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:41:27 04:41:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/8fa62ecf-cae9-4f67-b7db-d3bb5cfc9653 04:41:27 04:41:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:41:27 [Pipeline] } 04:41:27 $ docker stop --time=1 ee27ea6a00f513e4f049106ed31d8301a862cac885a8cf5b0267156f90921d66 04:41:32 $ docker rm -f --volumes ee27ea6a00f513e4f049106ed31d8301a862cac885a8cf5b0267156f90921d66 [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 04:41:33 + git log --format=format:%s -1 3641da765e3ecf514711d982b07869362341dd3b [Pipeline] sh 04:41:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:33 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:41:33 $ 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 04:41:34 $ docker top c10eb0f20b0f2b4c78ea41a4f0bb479cc5c44e69f24630973da108e4a285c84a -eo pid,comm 04:41:34 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). 04:41:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:34 [ssh-agent] Looking for ssh-agent implementation... 04:41:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:34 $ docker exec c10eb0f20b0f2b4c78ea41a4f0bb479cc5c44e69f24630973da108e4a285c84a ssh-agent 04:41:34 SSH_AUTH_SOCK=/tmp/ssh-EJuMxKUrcTWW/agent.32 04:41:34 SSH_AGENT_PID=38 04:41:34 Running ssh-add (command line suppressed) 04:41:34 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15424279411952135684.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15424279411952135684.key) 04:41:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:35 + git semver tag 04:41:35 2024-07-16 04:41:35,371 [run_tag] DEBUG tag force:False 04:41:35 2024-07-16 04:41:35,372 [check_head_tag] DEBUG check head tag 04:41:35 2024-07-16 04:41:35,372 [execute] INFO git cat-file --batch-check 04:41:35 2024-07-16 04:41:35,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:41:35 2024-07-16 04:41:35,376 [execute] INFO git cat-file --batch 04:41:35 2024-07-16 04:41:35,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:41:35 2024-07-16 04:41:35,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:35 2024-07-16 04:41:35,391 [execute] INFO git tag -a v3.2.0-dev.14 -m v3.2.0-dev.14 04:41:35 2024-07-16 04:41:35,392 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.14', '-m', 'v3.2.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:41:35 2024-07-16 04:41:35,396 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:35 3.2.0-dev.14 [Pipeline] } 04:41:35 $ docker exec --env ******** --env ******** c10eb0f20b0f2b4c78ea41a4f0bb479cc5c44e69f24630973da108e4a285c84a ssh-agent -k 04:41:35 unset SSH_AUTH_SOCK; 04:41:35 unset SSH_AGENT_PID; 04:41:35 echo Agent pid 38 killed; 04:41:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:35 + git semver [Pipeline] } 04:41:36 $ docker stop --time=1 c10eb0f20b0f2b4c78ea41a4f0bb479cc5c44e69f24630973da108e4a285c84a 04:41:37 $ docker rm -f --volumes c10eb0f20b0f2b4c78ea41a4f0bb479cc5c44e69f24630973da108e4a285c84a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:37 04:41:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:38 0.23.1-centos7: Pulling from edgex-lftools 04:41:38 ab5ef0e58194: Pulling fs layer 04:41:38 9712f1f96733: Pulling fs layer 04:41:38 63f879dbbcfc: Pulling fs layer 04:41:38 0d9ebad4ef96: Pulling fs layer 04:41:38 e9a5061849ea: Pulling fs layer 04:41:38 d747dcd14b5f: Pulling fs layer 04:41:38 2de7ff778b66: Pulling fs layer 04:41:38 e9a5061849ea: Waiting 04:41:38 d747dcd14b5f: Waiting 04:41:38 2de7ff778b66: Waiting 04:41:38 0d9ebad4ef96: Waiting 04:41:38 9712f1f96733: Verifying Checksum 04:41:38 9712f1f96733: Download complete 04:41:38 63f879dbbcfc: Verifying Checksum 04:41:38 63f879dbbcfc: Download complete 04:41:38 e9a5061849ea: Verifying Checksum 04:41:38 e9a5061849ea: Download complete 04:41:38 d747dcd14b5f: Verifying Checksum 04:41:38 d747dcd14b5f: Download complete 04:41:38 0d9ebad4ef96: Verifying Checksum 04:41:38 0d9ebad4ef96: Download complete 04:41:38 2de7ff778b66: Verifying Checksum 04:41:38 2de7ff778b66: Download complete 04:41:38 ab5ef0e58194: Verifying Checksum 04:41:38 ab5ef0e58194: Download complete 04:41:41 ab5ef0e58194: Pull complete 04:41:41 9712f1f96733: Pull complete 04:41:42 63f879dbbcfc: Pull complete 04:41:45 0d9ebad4ef96: Pull complete 04:41:45 e9a5061849ea: Pull complete 04:41:45 d747dcd14b5f: Pull complete 04:41:46 2de7ff778b66: Pull complete 04:41:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:46 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:41:46 $ 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 04:41:52 $ docker top b2526ecb1e0f6039cecf9a89227fa3d3596989a4f1d497eda70105f7aec54b63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:41:52 provisioning config files... 04:41:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3530726914893391012tmp 04:41:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3198010128335315759tmp 04:41:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11240755817214600961tmp [Pipeline] { [Pipeline] echo 04:41:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:41:52 ---> sigul-configuration.sh 04:41:52 gpg: directory `/root/.gnupg' created 04:41:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:41:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:41:52 gpg: keyring `/root/.gnupg/secring.gpg' created 04:41:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:41:52 gpg: CAST5 encrypted data 04:41:52 gpg: encrypted with 1 passphrase 04:41:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:41:53 + mkdir /home/jenkins 04:41:53 + mkdir /home/jenkins/sigul [Pipeline] sh 04:41:53 + 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 04:41:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:41:53 ---> sigul-install.sh 04:41:53 Sigul already installed; skipping installation. [Pipeline] sh 04:41:53 + git tag --list 04:41:53 0.7.1 04:41:53 v1.0.0 04:41:53 v1.1.0 04:41:53 v1.1.1 04:41:53 v1.2.2 04:41:53 v1.3.0 04:41:53 v1.3.1 04:41:53 v2.0.0 04:41:53 v2.1.0 04:41:53 v2.1.1 04:41:53 v2.2.0 04:41:53 v2.3.0 04:41:53 v3.0 04:41:53 v3.0.0 04:41:53 v3.1 04:41:53 v3.1.0 04:41:53 v3.1.0-dev.1 04:41:53 v3.1.0-dev.10 04:41:53 v3.1.0-dev.11 04:41:53 v3.1.0-dev.12 04:41:53 v3.1.0-dev.13 04:41:53 v3.1.0-dev.14 04:41:53 v3.1.0-dev.15 04:41:53 v3.1.0-dev.16 04:41:53 v3.1.0-dev.17 04:41:53 v3.1.0-dev.18 04:41:53 v3.1.0-dev.19 04:41:53 v3.1.0-dev.2 04:41:53 v3.1.0-dev.20 04:41:53 v3.1.0-dev.21 04:41:53 v3.1.0-dev.22 04:41:53 v3.1.0-dev.23 04:41:53 v3.1.0-dev.24 04:41:53 v3.1.0-dev.25 04:41:53 v3.1.0-dev.3 04:41:53 v3.1.0-dev.4 04:41:53 v3.1.0-dev.5 04:41:53 v3.1.0-dev.6 04:41:53 v3.1.0-dev.7 04:41:53 v3.1.0-dev.8 04:41:53 v3.1.0-dev.9 04:41:53 v3.1.1 04:41:53 v3.2.0-dev.1 04:41:53 v3.2.0-dev.10 04:41:53 v3.2.0-dev.11 04:41:53 v3.2.0-dev.12 04:41:53 v3.2.0-dev.13 04:41:53 v3.2.0-dev.14 04:41:53 v3.2.0-dev.2 04:41:53 v3.2.0-dev.3 04:41:53 v3.2.0-dev.4 04:41:53 v3.2.0-dev.5 04:41:53 v3.2.0-dev.6 04:41:53 v3.2.0-dev.7 04:41:53 v3.2.0-dev.8 04:41:53 v3.2.0-dev.9 [Pipeline] sh 04:41:54 + lftools sign git-tag v3.2.0-dev.14 04:41:54 Signing Git tag with Sigul... 04:41:54 Signing v3.2.0-dev.14 [Pipeline] echo 04:41:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:41:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:41:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:41:55 $ docker stop --time=1 b2526ecb1e0f6039cecf9a89227fa3d3596989a4f1d497eda70105f7aec54b63 04:41:56 $ docker rm -f --volumes b2526ecb1e0f6039cecf9a89227fa3d3596989a4f1d497eda70105f7aec54b63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:41:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:57 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:41:57 $ 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 04:41:57 $ docker top 36c312754b14433ff208cdaa47c25237060b2ea2f7c3c60f2057b383736127b7 -eo pid,comm 04:41:57 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). 04:41:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:58 [ssh-agent] Looking for ssh-agent implementation... 04:41:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:58 $ docker exec 36c312754b14433ff208cdaa47c25237060b2ea2f7c3c60f2057b383736127b7 ssh-agent 04:41:58 SSH_AUTH_SOCK=/tmp/ssh-AxEVwXUprX6y/agent.32 04:41:58 SSH_AGENT_PID=38 04:41:58 Running ssh-add (command line suppressed) 04:41:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3060070928868757016.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3060070928868757016.key) 04:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:58 + git semver bump pre 04:41:58 2024-07-16 04:41:58,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:58 2024-07-16 04:41:58,849 [bump_version] DEBUG bumping version:3.2.0-dev.14 on axis:pre with prefix:dev 04:41:58 2024-07-16 04:41:58,849 [bump_version] DEBUG bumped version:3.2.0-dev.15 04:41:58 2024-07-16 04:41:58,849 [write_version] DEBUG write version:3.2.0-dev.15 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:41:58 2024-07-16 04:41:58,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:58 2024-07-16 04:41:58,849 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:58 2024-07-16 04:41:58,851 [execute] INFO git cat-file --batch-check 04:41:58 2024-07-16 04:41:58,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:58 2024-07-16 04:41:58,855 [execute] INFO git cat-file --batch 04:41:58 2024-07-16 04:41:58,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:58 2024-07-16 04:41:58,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:41:58 3.2.0-dev.15 [Pipeline] } 04:41:58 $ docker exec --env ******** --env ******** 36c312754b14433ff208cdaa47c25237060b2ea2f7c3c60f2057b383736127b7 ssh-agent -k 04:41:59 unset SSH_AUTH_SOCK; 04:41:59 unset SSH_AGENT_PID; 04:41:59 echo Agent pid 38 killed; 04:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:59 + git semver [Pipeline] } 04:41:59 $ docker stop --time=1 36c312754b14433ff208cdaa47c25237060b2ea2f7c3c60f2057b383736127b7 04:42:00 $ docker rm -f --volumes 36c312754b14433ff208cdaa47c25237060b2ea2f7c3c60f2057b383736127b7 [Pipeline] // withDockerContainer [Pipeline] sh 04:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:01 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:42:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:42:01 $ docker top b17cdb0040eabaa30e83d06e08414c3f74235978de6fe7f669402e0af6010124 -eo pid,comm 04:42:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:42:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:02 [ssh-agent] Looking for ssh-agent implementation... 04:42:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:02 $ docker exec b17cdb0040eabaa30e83d06e08414c3f74235978de6fe7f669402e0af6010124 ssh-agent 04:42:02 SSH_AUTH_SOCK=/tmp/ssh-vlpdPX5bmhXW/agent.32 04:42:02 SSH_AGENT_PID=38 04:42:02 Running ssh-add (command line suppressed) 04:42:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_51013433029048151.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_51013433029048151.key) 04:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:02 + git semver push 04:42:02 2024-07-16 04:42:02,891 [run_push] DEBUG push 04:42:02 2024-07-16 04:42:02,891 [execute] INFO git cat-file --batch-check 04:42:02 2024-07-16 04:42:02,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:42:02 2024-07-16 04:42:02,895 [execute] INFO git rev-list 759127d102040b8693fd27dc3edf305d236d38cf -- 04:42:02 2024-07-16 04:42:02,895 [execute] DEBUG Popen(['git', 'rev-list', '759127d102040b8693fd27dc3edf305d236d38cf', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:42:02 2024-07-16 04:42:02,905 [execute] INFO git fetch -v origin 04:42:02 2024-07-16 04:42:02,905 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:42:03 2024-07-16 04:42:03,344 [run_push] DEBUG no remote changes detected 04:42:03 2024-07-16 04:42:03,345 [execute] INFO git push origin semver 04:42:03 2024-07-16 04:42:03,345 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:42:04 2024-07-16 04:42:04,127 [run_push] DEBUG push all version tags 04:42:04 2024-07-16 04:42:04,127 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:42:04 2024-07-16 04:42:04,128 [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) 04:42:05 2024-07-16 04:42:04,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:42:05 3.2.0-dev.15 [Pipeline] } 04:42:05 $ docker exec --env ******** --env ******** b17cdb0040eabaa30e83d06e08414c3f74235978de6fe7f669402e0af6010124 ssh-agent -k 04:42:05 unset SSH_AUTH_SOCK; 04:42:05 unset SSH_AGENT_PID; 04:42:05 echo Agent pid 38 killed; 04:42:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:05 + git semver [Pipeline] } 04:42:05 $ docker stop --time=1 b17cdb0040eabaa30e83d06e08414c3f74235978de6fe7f669402e0af6010124 04:42:07 $ docker rm -f --volumes b17cdb0040eabaa30e83d06e08414c3f74235978de6fe7f669402e0af6010124 [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 04:42:07 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:42:07 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:42:07 total 16 04:42:07 drwxr-xr-x 3 root root 4096 Jul 16 04:26 . 04:42:07 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 04:41 .. 04:42:07 drwxr-xr-x 2 root root 4096 Jul 16 04:26 cost 04:42:07 -rw-r--r-- 1 root root 86 Jul 16 04:26 cost.csv 04:42:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:42:07 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:42:07 total 16 04:42:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 04:26 . 04:42:07 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 04:41 .. 04:42:07 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 04:26 cost 04:42:07 -rw-r--r-- 1 jenkins jenkins 86 Jul 16 04:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:42:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:42:08 ---> package-listing.sh 04:42:08 ++ facter osfamily 04:42:08 ++ tr '[:upper:]' '[:lower:]' 04:42:09 + OS_FAMILY=debian 04:42:09 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:42:09 + START_PACKAGES=/tmp/packages_start.txt 04:42:09 + END_PACKAGES=/tmp/packages_end.txt 04:42:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:42:09 + PACKAGES=/tmp/packages_start.txt 04:42:09 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:42:09 + PACKAGES=/tmp/packages_end.txt 04:42:09 + case "${OS_FAMILY}" in 04:42:09 + dpkg -l 04:42:09 + grep '^ii' 04:42:09 + '[' -f /tmp/packages_start.txt ']' 04:42:09 + '[' -f /tmp/packages_end.txt ']' 04:42:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:42:09 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:42:09 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:42:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:42:09 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 04:42:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:09 prd-ubuntu20.04-docker-8c-8g-5698 does not seem to be running inside a container 04:42:10 $ 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 04:42:10 $ docker top 31a16ae4b6458d2937935f769acfb21ded217b59cca0a367b63afa5ec8521796 -eo pid,comm [Pipeline] { [Pipeline] sh 04:42:10 + touch /tmp/pre-build-complete [Pipeline] sh 04:42:10 + mkdir -p /var/log/sysstat [Pipeline] sh 04:42:11 + ls /var/log/sa-host 04:42:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:11 provisioning config files... 04:42:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6377101784209821674tmp [Pipeline] { [Pipeline] echo 04:42:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:42:11 ---> create-netrc.sh [Pipeline] } 04:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:42:11 ---> python-tools-install.sh [Pipeline] echo 04:42:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:42:12 ---> sudo-logs.sh 04:42:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:42:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:42:12 ---> job-cost.sh 04:42:12 lf-activate-venv: SKIPPING 04:42:12 DEBUG: total: 0.2199999988079071 04:42:12 INFO: Retrieving Stack Cost... 04:42:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:13 INFO: Archiving Costs [Pipeline] echo 04:42:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:42:13 ---> logs-deploy.sh 04:42:13 lf-activate-venv: SKIPPING 04:42:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/168 04:42:13 INFO: archiving workspace using pattern(s): 04:42:14 Archives upload complete. 04:42:14 INFO: archiving logs to Nexus