Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db84220a98baf26f07a1d477c585bb37996b93c5 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-ssh17262742628214976828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14604197437050620377.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14888548260232625013.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh3731691065007033114.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-ssh17649243933960100562.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-562 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 > 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 Avoid second fetch Checking out Revision db84220a98baf26f07a1d477c585bb37996b93c5 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#669)" > git config core.sparsecheckout # timeout=10 > git checkout -f db84220a98baf26f07a1d477c585bb37996b93c5 # timeout=10 > git rev-list --no-walk f31dc60183bea012cbe15166dadf947b4e0fce38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:02:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:02:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:02:53 ========================================================= 13:02:53 EdgeX Global Pipelines Version Info 13:02:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:02:54 ------------------- 13:02:54 stable info: 13:02:54 ------------------- 13:02:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:02:54 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:02:54 Message: update stable to v1.0.258 13:02:55 ------------------- 13:02:55 experimental info: 13:02:55 ------------------- 13:02:55 Commited By: **** collab-it+edgex@linuxfoundation.org 13:02:55 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:02:55 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db84220 [Pipeline] echo 13:02:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:02:56 provisioning config files... 13:02:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14440330271781953247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:56 ---> ****-login.sh 13:02:56 nexus3.edgexfoundry.org:10001 13:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:02:56 Configure a credential helper to remove this warning. See 13:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:02:56 13:02:56 Login Succeeded 13:02:56 nexus3.edgexfoundry.org:10002 13:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:02:56 Configure a credential helper to remove this warning. See 13:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:02:56 13:02:56 Login Succeeded 13:02:56 nexus3.edgexfoundry.org:10003 13:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:02:56 Configure a credential helper to remove this warning. See 13:02:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:02:56 13:02:56 Login Succeeded 13:02:56 nexus3.edgexfoundry.org:10004 13:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:02:57 Configure a credential helper to remove this warning. See 13:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:02:57 13:02:57 Login Succeeded 13:02:57 ****.io 13:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:02:57 Configure a credential helper to remove this warning. See 13:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:02:57 13:02:57 Login Succeeded 13:02:57 ---> ****-login.sh ends [Pipeline] } 13:02:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:02:57 + git rev-list -1 --merges db84220a98baf26f07a1d477c585bb37996b93c5~1..db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo 13:02:57 -----------> git rev-list -1 --merges db84220a98baf26f07a1d477c585bb37996b93c5~1..db84220a98baf26f07a1d477c585bb37996b93c5 db84220a98baf26f07a1d477c585bb37996b93c5 [false] [Pipeline] sh 13:02:58 + git log --format=format:%s -1 db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo 13:02:58 ========================================================= 13:02:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:02:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:58 + git log --format=format:%s -1 db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo 13:02:58 [semverPrep] GIT_COMMIT: db84220a98baf26f07a1d477c585bb37996b93c5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#669) [Pipeline] echo 13:02:58 [semverPrep] This is not a build commit. [Pipeline] sh 13:02:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:02:58 + grep -v github /etc/ssh/ssh_known_hosts 13:02:58 + [ -e /tmp/ssh_known_hosts ] 13:02:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:02:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:02:58 + sudo tee -a /etc/ssh/ssh_known_hosts 13:02:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:02:59 13:02:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:02:59 0.1.4: Pulling from edgex-devops/py-git-semver 13:02:59 b85a868b505f: Pulling fs layer 13:02:59 e2be974225ed: Pulling fs layer 13:02:59 339a4e72a1f5: Pulling fs layer 13:02:59 988bab9f4d93: Pulling fs layer 13:02:59 1469e6f7b9e6: Pulling fs layer 13:02:59 eaf3925da568: Pulling fs layer 13:02:59 bab4dde63d76: Pulling fs layer 13:02:59 bde34c3a00c8: Pulling fs layer 13:02:59 b352a97aabf1: Pulling fs layer 13:02:59 4872d77fe225: Pulling fs layer 13:02:59 5851b861e8e6: Pulling fs layer 13:02:59 988bab9f4d93: Waiting 13:02:59 1469e6f7b9e6: Waiting 13:02:59 eaf3925da568: Waiting 13:02:59 bab4dde63d76: Waiting 13:02:59 bde34c3a00c8: Waiting 13:02:59 b352a97aabf1: Waiting 13:02:59 4872d77fe225: Waiting 13:02:59 5851b861e8e6: Waiting 13:02:59 e2be974225ed: Verifying Checksum 13:02:59 e2be974225ed: Download complete 13:02:59 988bab9f4d93: Download complete 13:02:59 1469e6f7b9e6: Verifying Checksum 13:02:59 1469e6f7b9e6: Download complete 13:02:59 339a4e72a1f5: Verifying Checksum 13:02:59 339a4e72a1f5: Download complete 13:02:59 eaf3925da568: Download complete 13:02:59 bde34c3a00c8: Verifying Checksum 13:02:59 bde34c3a00c8: Download complete 13:02:59 b352a97aabf1: Verifying Checksum 13:02:59 4872d77fe225: Verifying Checksum 13:02:59 4872d77fe225: Download complete 13:02:59 5851b861e8e6: Verifying Checksum 13:02:59 5851b861e8e6: Download complete 13:02:59 b85a868b505f: Verifying Checksum 13:02:59 b85a868b505f: Download complete 13:03:00 bab4dde63d76: Verifying Checksum 13:03:00 bab4dde63d76: Download complete 13:03:01 b85a868b505f: Pull complete 13:03:01 e2be974225ed: Pull complete 13:03:02 339a4e72a1f5: Pull complete 13:03:02 988bab9f4d93: Pull complete 13:03:02 1469e6f7b9e6: Pull complete 13:03:02 eaf3925da568: Pull complete 13:03:04 bab4dde63d76: Pull complete 13:03:04 bde34c3a00c8: Pull complete 13:03:04 b352a97aabf1: Pull complete 13:03:04 4872d77fe225: Pull complete 13:03:04 5851b861e8e6: Pull complete 13:03:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:03:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:04 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:03:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:03:07 $ docker top 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 -eo pid,comm 13:03:07 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). 13:03:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:03:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:03:07 [ssh-agent] Looking for ssh-agent implementation... 13:03:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:07 $ docker exec 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent 13:03:08 SSH_AUTH_SOCK=/tmp/ssh-My95w6LN2PNQ/agent.31 13:03:08 SSH_AGENT_PID=37 13:03:08 Running ssh-add (command line suppressed) 13:03:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12177509734268808875.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12177509734268808875.key) 13:03:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:08 + git tag --points-at HEAD [Pipeline] } 13:03:08 $ docker exec --env ******** --env ******** 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent -k 13:03:08 unset SSH_AUTH_SOCK; 13:03:08 unset SSH_AGENT_PID; 13:03:08 echo Agent pid 37 killed; 13:03:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:03:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:03:08 [ssh-agent] Looking for ssh-agent implementation... 13:03:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:08 $ docker exec 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent 13:03:08 SSH_AUTH_SOCK=/tmp/ssh-bVPre0IUJs0g/agent.70 13:03:08 SSH_AGENT_PID=76 13:03:08 Running ssh-add (command line suppressed) 13:03:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6083654687307369898.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6083654687307369898.key) 13:03:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:09 + git semver init 13:03:09 2024-03-21 13:03:09,425 [run_init] DEBUG init version:0.0.0 force:False 13:03:09 2024-03-21 13:03:09,426 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 13:03:09 2024-03-21 13:03:09,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 13:03:09 2024-03-21 13:03:09,426 [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) 13:03:10 2024-03-21 13:03:10,494 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 13:03:10 2024-03-21 13:03:10,495 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 13:03:10 2024-03-21 13:03:10,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:10 2024-03-21 13:03:10,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:10 3.2.0-dev.11 [Pipeline] } 13:03:10 $ docker exec --env ******** --env ******** 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent -k 13:03:11 unset SSH_AUTH_SOCK; 13:03:11 unset SSH_AGENT_PID; 13:03:11 echo Agent pid 76 killed; 13:03:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:03:11 + git semver [Pipeline] } 13:03:11 $ docker stop --time=1 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 13:03:12 $ docker rm -f --volumes 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 [Pipeline] // withDockerContainer [Pipeline] sh 13:03:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:03:13 Stashed 1 file(s) [Pipeline] echo 13:03:13 [edgeXSemver]: initialized semver on version 3.2.0-dev.11 [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 13:03:13 provisioning config files... 13:03:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13529044846904861735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:13 ---> ****-login.sh 13:03:13 nexus3.edgexfoundry.org:10001 13:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:03:13 Configure a credential helper to remove this warning. See 13:03:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:03:13 13:03:13 Login Succeeded 13:03:13 nexus3.edgexfoundry.org:10002 13:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:03:13 Configure a credential helper to remove this warning. See 13:03:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:03:13 13:03:13 Login Succeeded 13:03:13 nexus3.edgexfoundry.org:10003 13:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:03:14 Configure a credential helper to remove this warning. See 13:03:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:03:14 13:03:14 Login Succeeded 13:03:14 nexus3.edgexfoundry.org:10004 13:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:03:14 Configure a credential helper to remove this warning. See 13:03:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:03:14 13:03:14 Login Succeeded 13:03:14 ****.io 13:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:03:14 Configure a credential helper to remove this warning. See 13:03:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:03:14 13:03:14 Login Succeeded 13:03:14 ---> ****-login.sh ends [Pipeline] } 13:03:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:03:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:03:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:03:14 ========================================================= 13:03:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:03:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:14 + 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 . 13:03:14 Sending build context to Docker daemon 14.99MB 13:03:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:03:14 Step 2/12 : FROM ${BASE} AS builder 13:03:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:03:14 7264a8db6415: Pulling fs layer 13:03:14 c4d48a809fc2: Pulling fs layer 13:03:14 4f1c88b9dad5: Pulling fs layer 13:03:14 ad3a456e5733: Pulling fs layer 13:03:14 69c7f0334f64: Pulling fs layer 13:03:14 1f1c1a5573a3: Pulling fs layer 13:03:14 ce7588e14bc9: Pulling fs layer 13:03:14 b5e4710f87ac: Pulling fs layer 13:03:14 ce7588e14bc9: Waiting 13:03:14 ad3a456e5733: Waiting 13:03:14 69c7f0334f64: Waiting 13:03:14 1f1c1a5573a3: Waiting 13:03:14 b5e4710f87ac: Waiting 13:03:14 c4d48a809fc2: Download complete 13:03:14 ad3a456e5733: Verifying Checksum 13:03:14 ad3a456e5733: Download complete 13:03:15 69c7f0334f64: Verifying Checksum 13:03:15 69c7f0334f64: Download complete 13:03:15 7264a8db6415: Verifying Checksum 13:03:15 7264a8db6415: Download complete 13:03:15 1f1c1a5573a3: Verifying Checksum 13:03:15 1f1c1a5573a3: Download complete 13:03:15 7264a8db6415: Pull complete 13:03:15 b5e4710f87ac: Verifying Checksum 13:03:15 b5e4710f87ac: Download complete 13:03:15 c4d48a809fc2: Pull complete 13:03:15 4f1c88b9dad5: Verifying Checksum 13:03:15 4f1c88b9dad5: Download complete 13:03:16 ce7588e14bc9: Verifying Checksum 13:03:16 ce7588e14bc9: Download complete 13:03:19 4f1c88b9dad5: Pull complete 13:03:19 ad3a456e5733: Pull complete 13:03:19 69c7f0334f64: Pull complete 13:03:19 1f1c1a5573a3: Pull complete 13:03:21 ce7588e14bc9: Pull complete 13:03:22 b5e4710f87ac: Pull complete 13:03:22 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:03:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:03:22 ---> 88b5674ff536 13:03:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:03:27 ---> Running in 7b5ec54cc5ae 13:03:27 Removing intermediate container 7b5ec54cc5ae 13:03:27 ---> c62b22bc5742 13:03:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:27 ---> Running in bd3831b3428a 13:03:27 Removing intermediate container bd3831b3428a 13:03:27 ---> 0a290ed28dd7 13:03:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:03:27 ---> Running in e0b772c6fb93 13:03:27 Removing intermediate container e0b772c6fb93 13:03:27 ---> 0b43da02b7c7 13:03:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:03:27 ---> Running in 08c5e8389e41 13:03:27 Removing intermediate container 08c5e8389e41 13:03:27 ---> bf6d50542295 13:03:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:27 ---> Running in 9398a16fd70f 13:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:03:27 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:03:27 (2/4) Installing libedit (20221030.3.1-r1) 13:03:27 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:03:27 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:03:27 Executing busybox-1.36.1-r5.trigger 13:03:27 OK: 268 MiB in 56 packages 13:03:28 Removing intermediate container 9398a16fd70f 13:03:28 ---> 76592647d70d 13:03:28 Step 8/12 : WORKDIR /device-mqtt-go 13:03:28 ---> Running in 9c770df91884 13:03:28 Removing intermediate container 9c770df91884 13:03:28 ---> aa6e9f2c1a56 13:03:28 Step 9/12 : COPY go.mod vendor* ./ 13:03:28 ---> df5477e55626 13:03:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:28 ---> Running in 8eb4d3095e48 13:03:28 Still waiting to schedule task 13:03:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:04:24 Removing intermediate container 8eb4d3095e48 13:04:24 ---> ac77a7ef2942 13:04:24 Step 11/12 : COPY . . 13:04:24 ---> bf6d09399c47 13:04:24 Step 12/12 : RUN $MAKE 13:04:24 ---> Running in f596796afa75 13:04:24 noop 13:04:24 Removing intermediate container f596796afa75 13:04:24 ---> f8a918facea7 13:04:24 Successfully built f8a918facea7 13:04:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:25 + docker inspect -f . ci-base-image-x86_64 13:04:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:25 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:04:25 $ docker top 8913a7a8760e560b88eb19f526b500b6ef41204f9d04a5cbce5731bd476a907b -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:25 + go version 13:04:25 go version go1.21.0 linux/amd64 [Pipeline] } 13:04:25 $ docker stop --time=1 8913a7a8760e560b88eb19f526b500b6ef41204f9d04a5cbce5731bd476a907b 13:04:27 $ docker rm -f --volumes 8913a7a8760e560b88eb19f526b500b6ef41204f9d04a5cbce5731bd476a907b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:27 + docker inspect -f . ci-base-image-x86_64 13:04:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:27 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:04:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:04:28 $ docker top 29dca2715975bbae0682e1572271ea0f88a36ac2825d772e68cf4d080f8228bd -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 13:04:28 + make test 13:04:28 go test ./... -coverprofile=coverage.out ./... 13:04:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:04:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:04:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:04:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 13:04:55 go vet ./... 13:04:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:04:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:04:58 ./bin/test-attribution-txt.sh 13:04:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:04:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:04:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:04:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:04:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:04:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:04:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:04:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:04:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:04:58 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:04:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:04:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:04:58 $ docker stop --time=1 29dca2715975bbae0682e1572271ea0f88a36ac2825d772e68cf4d080f8228bd 13:05:02 $ docker rm -f --volumes 29dca2715975bbae0682e1572271ea0f88a36ac2825d772e68cf4d080f8228bd [Pipeline] // withDockerContainer [Pipeline] sh 13:05:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-564 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 13:05:03 Running in /w/workspace/device-mqtt-go/164 [Pipeline] { [Pipeline] checkout 13:05:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:05:06 The recommended git tool is: git 13:05:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:05:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:05:07 + ls -al . 13:05:07 total 252 13:05:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:04 . 13:05:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:02 .. 13:05:07 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 13:02 .dockerignore 13:05:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:04 .git 13:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:02 .github 13:05:07 -rw-rw-r-- 1 jenkins jenkins 264 Mar 21 13:02 .gitignore 13:05:07 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:02 .golangci.yml 13:05:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:03 .semver 13:05:07 -rw-rw-r-- 1 jenkins jenkins 10386 Mar 21 13:02 Attribution.txt 13:05:07 -rw-rw-r-- 1 jenkins jenkins 18574 Mar 21 13:02 CHANGELOG.md 13:05:07 -rw-rw-r-- 1 jenkins jenkins 1798 Mar 21 13:02 Dockerfile 13:05:07 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:02 GOVERNANCE.md 13:05:07 -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 13:02 Jenkinsfile 13:05:07 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:02 LICENSE 13:05:07 -rw-rw-r-- 1 jenkins jenkins 1963 Mar 21 13:02 Makefile 13:05:07 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 13:02 OWNERS.md 13:05:07 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 21 13:02 README.md 13:05:07 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:03 VERSION 13:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:02 bin 13:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:02 cmd 13:05:07 -rw-r--r-- 1 jenkins jenkins 18506 Mar 21 13:04 coverage.out 13:05:07 -rw-rw-r-- 1 jenkins jenkins 7169 Mar 21 13:02 go.mod 13:05:07 -rw-rw-r-- 1 jenkins jenkins 101517 Mar 21 13:02 go.sum 13:05:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:02 internal 13:05:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:02 mock 13:05:07 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:07 + 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=db84220a98baf26f07a1d477c585bb37996b93c5 --label arch=amd64 --label version=3.2.0-dev.11 . 13:05:07 Sending build context to Docker daemon 15.01MB 13:05:07 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 13:05:07 Step 2/25 : FROM ${BASE} AS builder 13:05:07 ---> f8a918facea7 13:05:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:05:07 ---> Running in 1f5964e2d9a8 13:05:07 Removing intermediate container 1f5964e2d9a8 13:05:07 ---> a3e90e6f5d68 13:05:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:05:07 ---> Running in 5065bbffe4da 13:05:07 Removing intermediate container 5065bbffe4da 13:05:07 ---> b63cf4ffb1e3 13:05:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:05:07 ---> Running in 0bec60fbb728 13:05:07 Removing intermediate container 0bec60fbb728 13:05:07 ---> d1bfb65e4361 13:05:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:05:07 ---> Running in 9a93d42944e1 13:05:07 Removing intermediate container 9a93d42944e1 13:05:07 ---> df8d20542b66 13:05:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:05:07 ---> Running in e1490d6b46be 13:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:05:08 OK: 268 MiB in 56 packages 13:05:09 Removing intermediate container e1490d6b46be 13:05:09 ---> a651d09bda7a 13:05:09 Step 8/25 : WORKDIR /device-mqtt-go 13:05:09 ---> Running in fa606cf1aec1 13:05:09 Removing intermediate container fa606cf1aec1 13:05:09 ---> 09290fb13c2f 13:05:09 Step 9/25 : COPY go.mod vendor* ./ 13:05:09 ---> 9f6e488df0e3 13:05:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:05:09 ---> Running in 02bcc4a26a28 13:05:10 Removing intermediate container 02bcc4a26a28 13:05:10 ---> fb14cfb60285 13:05:10 Step 11/25 : COPY . . 13:05:10 ---> 1c481917572a 13:05:10 Step 12/25 : RUN $MAKE 13:05:10 ---> Running in 8c5cf139e58b 13:05:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 13:05:11 using credential edgex-jenkins-ssh 13:05:11 Cloning the remote Git repository 13:05:11 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 13:05:11 > git init /w/workspace/device-mqtt-go/164 # timeout=10 13:05:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 13:05:11 > git --version # timeout=10 13:05:11 > git --version # 'git version 2.25.1' 13:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:05:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 13:05:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:05:14 Avoid second fetch 13:05:14 Checking out Revision db84220a98baf26f07a1d477c585bb37996b93c5 (main) 13:05:14 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#669)" 13:05:14 > git config core.sparsecheckout # timeout=10 13:05:14 > git checkout -f db84220a98baf26f07a1d477c585bb37996b93c5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:05:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:05:19 % Total % Received % Xferd Average Speed Time Time Time Current 13:05:19 Dload Upload Total Spent Left Speed 13:05:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 93635 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh 13:05:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:05:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:05:19 + sudo tee /etc/docker/daemon.new 13:05:19 { 13:05:19 "registry-mirrors": [ 13:05:19 "https://nexus3.edgexfoundry.org:10001" 13:05:19 ], 13:05:19 "bip": "10.250.0.254/24", 13:05:19 "hosts": [ 13:05:19 "tcp://0.0.0.0:5555", 13:05:19 "unix:///var/run/docker.sock" 13:05:19 ], 13:05:19 "mtu": 1458, 13:05:19 "selinux-enabled": true, 13:05:19 "seccomp-profile": "/etc/docker/seccomp.json" 13:05:19 } [Pipeline] sh 13:05:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:05:20 + sudo service docker restart 13:05:37 Removing intermediate container 8c5cf139e58b 13:05:37 ---> ef1ddf0c478b 13:05:37 Step 13/25 : FROM alpine:3.18 13:05:37 3.18: Pulling from library/alpine 13:05:37 619be1103602: Pulling fs layer 13:05:38 619be1103602: Download complete 13:05:38 619be1103602: Pull complete 13:05:38 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:05:38 Status: Downloaded newer image for alpine:3.18 13:05:38 ---> d3782b16ccc9 13:05:38 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:05:38 ---> Running in 0248d6eebb8b 13:05:38 Removing intermediate container 0248d6eebb8b 13:05:38 ---> 20abd05a4ab3 13:05:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:05:38 ---> Running in 520df2f06c16 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:05:38 provisioning config files... 13:05:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/164@tmp/config13319646434874747519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:05:39 (1/1) Installing dumb-init (1.2.5-r2) 13:05:39 Executing busybox-1.36.1-r5.trigger 13:05:39 OK: 7 MiB in 16 packages 13:05:39 ---> ****-login.sh 13:05:39 nexus3.edgexfoundry.org:10001 13:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:39 Removing intermediate container 520df2f06c16 13:05:39 ---> c0e9eb5bca63 13:05:39 Step 16/25 : RUN apk --no-cache upgrade 13:05:39 ---> Running in 00a433a46e6f 13:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:39 Configure a credential helper to remove this warning. See 13:05:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:39 13:05:39 Login Succeeded 13:05:39 nexus3.edgexfoundry.org:10002 13:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:05:39 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:05:39 OK: 7 MiB in 16 packages 13:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:40 Configure a credential helper to remove this warning. See 13:05:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:40 13:05:40 Login Succeeded 13:05:40 nexus3.edgexfoundry.org:10003 13:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:40 Removing intermediate container 00a433a46e6f 13:05:40 ---> 5ee202362491 13:05:40 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 13:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:40 Configure a credential helper to remove this warning. See 13:05:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:40 13:05:40 Login Succeeded 13:05:40 nexus3.edgexfoundry.org:10004 13:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:40 Configure a credential helper to remove this warning. See 13:05:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:40 13:05:40 Login Succeeded 13:05:40 ****.io 13:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:41 Configure a credential helper to remove this warning. See 13:05:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:41 13:05:41 Login Succeeded 13:05:41 ---> ****-login.sh ends [Pipeline] } 13:05:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:05:41 ---> 28af73835462 13:05:41 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 13:05:41 ---> afa709999c09 13:05:41 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [Pipeline] echo 13:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 13:05:41 ---> 1510b6a50461 13:05:41 Step 20/25 : EXPOSE 59982 13:05:41 ---> Running in 355dfcc6e9c7 13:05:41 Removing intermediate container 355dfcc6e9c7 13:05:41 ---> 070c41dea17b 13:05:41 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 13:05:41 ---> Running in 30304c730489 13:05:41 Removing intermediate container 30304c730489 13:05:41 ---> df676ad4ed16 13:05:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:05:41 ---> Running in 89df49aae38e [Pipeline] echo 13:05:41 ========================================================= 13:05:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:05:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:41 Removing intermediate container 89df49aae38e 13:05:41 ---> bce5ceab874a 13:05:41 Step 23/25 : LABEL arch=amd64 13:05:41 ---> Running in efa4a93bff31 13:05:41 Removing intermediate container efa4a93bff31 13:05:41 ---> 99bc0ae65857 13:05:41 Step 24/25 : LABEL git_sha=db84220a98baf26f07a1d477c585bb37996b93c5 13:05:41 ---> Running in e835bd543f0e 13:05:41 Removing intermediate container e835bd543f0e 13:05:41 ---> be043f418493 13:05:41 Step 25/25 : LABEL version=3.2.0-dev.11 13:05:41 ---> Running in 96cb07c9a430 13:05:42 + 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 . 13:05:42 Removing intermediate container 96cb07c9a430 13:05:42 ---> 80cbe27a0bea 13:05:42 [Warning] One or more build-args [ARCH] were not consumed 13:05:42 Successfully built 80cbe27a0bea 13:05:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 13:05:42 Sending build context to Docker daemon 7.601MB 13:05:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:05:42 Step 2/12 : FROM ${BASE} AS builder [Pipeline] configFileProvider 13:05:42 provisioning config files... 13:05:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12778229661023681567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:05:42 9fda8d8052c6: Pulling fs layer 13:05:42 5d54e960e981: Pulling fs layer 13:05:42 c4a7e357bf2a: Pulling fs layer 13:05:42 f0e02332f6b5: Pulling fs layer 13:05:42 872ee5b61b7b: Pulling fs layer 13:05:42 0c6a40ed1a82: Pulling fs layer 13:05:42 94ae7d8d031c: Pulling fs layer 13:05:42 872ee5b61b7b: Waiting 13:05:42 0c6a40ed1a82: Waiting 13:05:42 94ae7d8d031c: Waiting 13:05:42 f0e02332f6b5: Waiting 13:05:42 5d54e960e981: Verifying Checksum 13:05:42 5d54e960e981: Download complete 13:05:42 f0e02332f6b5: Verifying Checksum 13:05:42 f0e02332f6b5: Download complete 13:05:42 872ee5b61b7b: Download complete 13:05:42 9fda8d8052c6: Download complete 13:05:42 ---> ****-login.sh 13:05:42 nexus3.edgexfoundry.org:10001 13:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:42 Configure a credential helper to remove this warning. See 13:05:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:42 13:05:42 Login Succeeded 13:05:42 nexus3.edgexfoundry.org:10002 13:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:42 Configure a credential helper to remove this warning. See 13:05:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:42 13:05:42 Login Succeeded 13:05:42 nexus3.edgexfoundry.org:10003 13:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:42 Configure a credential helper to remove this warning. See 13:05:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:42 13:05:42 Login Succeeded 13:05:42 nexus3.edgexfoundry.org:10004 13:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:42 Configure a credential helper to remove this warning. See 13:05:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:42 13:05:42 Login Succeeded 13:05:42 ****.io 13:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:05:43 Configure a credential helper to remove this warning. See 13:05:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:05:43 13:05:43 Login Succeeded 13:05:43 ---> ****-login.sh ends [Pipeline] } 13:05:43 Deleting 1 temporary files 13:05:43 94ae7d8d031c: Verifying Checksum 13:05:43 94ae7d8d031c: Download complete [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:05:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:05:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 13:05:43 db84220a98baf26f07a1d477c585bb37996b93c5 13:05:43 latest 13:05:43 3.2.0-dev.11 13:05:43 db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 13:05:43 main 13:05:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:43 9fda8d8052c6: Pull complete 13:05:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5 13:05:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:05:44 a505027db305: Preparing 13:05:44 ee774c87e1aa: Preparing 13:05:44 3974f62d05ac: Preparing 13:05:44 0d282c03b1a3: Preparing 13:05:44 08ff36bc31cd: Preparing 13:05:44 aedc3bda2944: Preparing 13:05:44 aedc3bda2944: Waiting 13:05:44 08ff36bc31cd: Pushed 13:05:44 a505027db305: Pushed 13:05:44 0d282c03b1a3: Pushed 13:05:44 ee774c87e1aa: Pushed 13:05:44 aedc3bda2944: Layer already exists 13:05:44 5d54e960e981: Pull complete 13:05:44 c4a7e357bf2a: Verifying Checksum 13:05:44 c4a7e357bf2a: Download complete 13:05:45 0c6a40ed1a82: Verifying Checksum 13:05:45 0c6a40ed1a82: Download complete 13:05:48 3974f62d05ac: Pushed 13:05:48 db84220a98baf26f07a1d477c585bb37996b93c5: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 13:05:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:05:49 a505027db305: Preparing 13:05:49 ee774c87e1aa: Preparing 13:05:49 3974f62d05ac: Preparing 13:05:49 0d282c03b1a3: Preparing 13:05:49 08ff36bc31cd: Preparing 13:05:49 aedc3bda2944: Preparing 13:05:49 aedc3bda2944: Waiting 13:05:49 08ff36bc31cd: Layer already exists 13:05:49 a505027db305: Layer already exists 13:05:49 0d282c03b1a3: Layer already exists 13:05:49 ee774c87e1aa: Layer already exists 13:05:49 3974f62d05ac: Layer already exists 13:05:49 aedc3bda2944: Layer already exists 13:05:49 latest: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.11 13:05:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:05:49 a505027db305: Preparing 13:05:49 ee774c87e1aa: Preparing 13:05:49 3974f62d05ac: Preparing 13:05:49 0d282c03b1a3: Preparing 13:05:49 08ff36bc31cd: Preparing 13:05:49 aedc3bda2944: Preparing 13:05:49 aedc3bda2944: Waiting 13:05:49 08ff36bc31cd: Layer already exists 13:05:49 3974f62d05ac: Layer already exists 13:05:49 0d282c03b1a3: Layer already exists 13:05:49 a505027db305: Layer already exists 13:05:49 ee774c87e1aa: Layer already exists 13:05:49 aedc3bda2944: Layer already exists 13:05:49 3.2.0-dev.11: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 13:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:05:50 a505027db305: Preparing 13:05:50 ee774c87e1aa: Preparing 13:05:50 3974f62d05ac: Preparing 13:05:50 0d282c03b1a3: Preparing 13:05:50 08ff36bc31cd: Preparing 13:05:50 aedc3bda2944: Preparing 13:05:50 aedc3bda2944: Waiting 13:05:50 08ff36bc31cd: Layer already exists 13:05:50 0d282c03b1a3: Layer already exists 13:05:50 a505027db305: Layer already exists 13:05:50 3974f62d05ac: Layer already exists 13:05:50 ee774c87e1aa: Layer already exists 13:05:50 aedc3bda2944: Layer already exists 13:05:50 db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 13:05:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 13:05:51 a505027db305: Preparing 13:05:51 ee774c87e1aa: Preparing 13:05:51 3974f62d05ac: Preparing 13:05:51 0d282c03b1a3: Preparing 13:05:51 08ff36bc31cd: Preparing 13:05:51 aedc3bda2944: Preparing 13:05:51 aedc3bda2944: Waiting 13:05:51 ee774c87e1aa: Layer already exists 13:05:51 08ff36bc31cd: Layer already exists 13:05:51 3974f62d05ac: Layer already exists 13:05:51 a505027db305: Layer already exists 13:05:51 0d282c03b1a3: Layer already exists 13:05:51 aedc3bda2944: Layer already exists 13:05:51 main: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:05:51 ===================================================== [Pipeline] echo 13:05:51 taggedImages: 13:05:51 - nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5 13:05:51 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 13:05:51 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.11 13:05:51 - nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 13:05:51 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:05:53 13:05:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:05:53 latest: Pulling from edgex-lftools-log-publisher 13:05:53 5eb5b503b376: Pulling fs layer 13:05:53 5c69ac0246d0: Pulling fs layer 13:05:53 ec43610c2a17: Pulling fs layer 13:05:53 3a2ae6a8a46f: Pulling fs layer 13:05:53 33b1e0a273af: Pulling fs layer 13:05:53 5d3b04190fa2: Pulling fs layer 13:05:53 2f39f015ded8: Pulling fs layer 13:05:53 3a2ae6a8a46f: Waiting 13:05:53 33b1e0a273af: Waiting 13:05:53 5d3b04190fa2: Waiting 13:05:53 5c69ac0246d0: Verifying Checksum 13:05:53 5c69ac0246d0: Download complete 13:05:53 3a2ae6a8a46f: Verifying Checksum 13:05:53 3a2ae6a8a46f: Download complete 13:05:53 33b1e0a273af: Verifying Checksum 13:05:53 33b1e0a273af: Download complete 13:05:53 ec43610c2a17: Verifying Checksum 13:05:53 ec43610c2a17: Download complete 13:05:53 5d3b04190fa2: Verifying Checksum 13:05:53 5d3b04190fa2: Download complete 13:05:53 5eb5b503b376: Verifying Checksum 13:05:53 5eb5b503b376: Download complete 13:05:54 2f39f015ded8: Download complete 13:05:55 5eb5b503b376: Pull complete 13:05:55 5c69ac0246d0: Pull complete 13:05:55 ec43610c2a17: Pull complete 13:05:55 3a2ae6a8a46f: Pull complete 13:05:55 33b1e0a273af: Pull complete 13:05:55 5d3b04190fa2: Pull complete 13:05:57 c4a7e357bf2a: Pull complete 13:05:57 f0e02332f6b5: Pull complete 13:05:57 872ee5b61b7b: Pull complete 13:06:00 2f39f015ded8: Pull complete 13:06:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:00 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:06:03 $ docker top 5364e46e8e17be22925a613709b06b623c187fff8a140bd1b1bd691698389eb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:03 ---> job-cost.sh 13:06:03 lf-activate-venv: SKIPPING 13:06:03 INFO: No Stack... 13:06:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:06:04 INFO: Archiving Costs [Pipeline] sh 13:06:04 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 13:06:04 + cut -d, -f6 [Pipeline] lock 13:06:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] 13:06:04 Resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] did not exist. Created. 13:06:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:06:04 + echo total: 0.2199999988079071 [Pipeline] stash 13:06:05 Stashed 1 file(s) [Pipeline] } 13:06:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 13:06:05 $ docker stop --time=1 5364e46e8e17be22925a613709b06b623c187fff8a140bd1b1bd691698389eb4 13:06:06 0c6a40ed1a82: Pull complete 13:06:06 $ docker rm -f --volumes 5364e46e8e17be22925a613709b06b623c187fff8a140bd1b1bd691698389eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:06:08 94ae7d8d031c: Pull complete 13:06:08 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:06:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:06:08 ---> 86de565de09d 13:06:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:06:09 ---> Running in 221d00b6515a 13:06:09 Removing intermediate container 221d00b6515a 13:06:09 ---> a64983431ccf 13:06:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:06:10 ---> Running in ab622beb162d 13:06:10 Removing intermediate container ab622beb162d 13:06:10 ---> 3b7cbfd5ec78 13:06:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:06:10 ---> Running in a597aefa37b8 13:06:10 Removing intermediate container a597aefa37b8 13:06:10 ---> bd534e025ebf 13:06:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:06:10 ---> Running in d88a53aba5b3 13:06:11 Removing intermediate container d88a53aba5b3 13:06:11 ---> f918a7714012 13:06:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:11 ---> Running in 1cafd8a51f8c 13:06:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:06:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:06:13 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:06:13 (2/4) Installing libedit (20221030.3.1-r1) 13:06:13 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:06:13 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:06:13 Executing busybox-1.36.1-r5.trigger 13:06:13 OK: 271 MiB in 56 packages 13:06:14 Removing intermediate container 1cafd8a51f8c 13:06:14 ---> 9b2da2ed2b37 13:06:14 Step 8/12 : WORKDIR /device-mqtt-go 13:06:14 ---> Running in 1f4d0c47652a 13:06:14 Removing intermediate container 1f4d0c47652a 13:06:14 ---> acecf4e5330f 13:06:14 Step 9/12 : COPY go.mod vendor* ./ 13:06:15 ---> 7a96a03e1198 13:06:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:06:15 ---> Running in 64837dcc0e61 13:08:22 Removing intermediate container 64837dcc0e61 13:08:22 ---> b0af963b3edb 13:08:22 Step 11/12 : COPY . . 13:08:22 ---> 995e2cac8e35 13:08:22 Step 12/12 : RUN $MAKE 13:08:22 ---> Running in cc8ba47897df 13:08:22 noop 13:08:22 Removing intermediate container cc8ba47897df 13:08:22 ---> 55f040f1d913 13:08:22 Successfully built 55f040f1d913 13:08:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:22 + docker inspect -f . ci-base-image-arm64 13:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:22 prd-ubuntu20.04-docker-arm64-4c-16g-564 does not seem to be running inside a container 13:08:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/164 -v /w/workspace/device-mqtt-go/164:/w/workspace/device-mqtt-go/164:rw,z -v /w/workspace/device-mqtt-go/164@tmp:/w/workspace/device-mqtt-go/164@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 13:08:23 $ docker top 635e69372d0418a04986539f119bbfe4168a64f14b606f1073845b920124fc44 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:24 + go version 13:08:24 go version go1.21.0 linux/arm64 [Pipeline] } 13:08:24 $ docker stop --time=1 635e69372d0418a04986539f119bbfe4168a64f14b606f1073845b920124fc44 13:08:26 $ docker rm -f --volumes 635e69372d0418a04986539f119bbfe4168a64f14b606f1073845b920124fc44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:27 + docker inspect -f . ci-base-image-arm64 13:08:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:27 prd-ubuntu20.04-docker-arm64-4c-16g-564 does not seem to be running inside a container 13:08:27 $ 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/164 -v /w/workspace/device-mqtt-go/164:/w/workspace/device-mqtt-go/164:rw,z -v /w/workspace/device-mqtt-go/164@tmp:/w/workspace/device-mqtt-go/164@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 13:08:28 $ docker top f0c4d29cb63ef8a5e40fb3a2a1f520862266b8a6629b37643fd11b8738c94570 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:29 + git config --global --add safe.directory /w/workspace/device-mqtt-go/164 [Pipeline] fileExists [Pipeline] sh 13:08:29 + make test 13:08:29 go test ./... -coverprofile=coverage.out ./... 13:08:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:11:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:11:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:11:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements 13:11:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:11:13 go vet ./... 13:11:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:11:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:11:52 ./bin/test-attribution-txt.sh 13:11:52 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:11:52 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:11:52 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:11:52 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:11:52 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:11:52 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:11:52 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:11:52 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:11:52 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:11:52 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:11:52 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:11:52 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:11:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:11:52 $ docker stop --time=1 f0c4d29cb63ef8a5e40fb3a2a1f520862266b8a6629b37643fd11b8738c94570 13:11:54 $ docker rm -f --volumes f0c4d29cb63ef8a5e40fb3a2a1f520862266b8a6629b37643fd11b8738c94570 [Pipeline] // withDockerContainer [Pipeline] sh 13:11:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:11:56 Warning: overwriting stash ‘coverage-report’ 13:11:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:11:57 + ls -al . 13:11:57 total 248 13:11:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:08 . 13:11:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:05 .. 13:11:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 13:05 .dockerignore 13:11:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:05 .git 13:11:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:05 .github 13:11:57 -rw-rw-r-- 1 jenkins jenkins 264 Mar 21 13:05 .gitignore 13:11:57 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:05 .golangci.yml 13:11:57 -rw-rw-r-- 1 jenkins jenkins 10386 Mar 21 13:05 Attribution.txt 13:11:57 -rw-rw-r-- 1 jenkins jenkins 18574 Mar 21 13:05 CHANGELOG.md 13:11:57 -rw-rw-r-- 1 jenkins jenkins 1798 Mar 21 13:05 Dockerfile 13:11:57 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:05 GOVERNANCE.md 13:11:57 -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 13:05 Jenkinsfile 13:11:57 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:05 LICENSE 13:11:57 -rw-rw-r-- 1 jenkins jenkins 1963 Mar 21 13:05 Makefile 13:11:57 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 13:05 OWNERS.md 13:11:57 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 21 13:05 README.md 13:11:57 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:03 VERSION 13:11:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:05 bin 13:11:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:05 cmd 13:11:57 -rw-r--r-- 1 jenkins jenkins 18506 Mar 21 13:11 coverage.out 13:11:57 -rw-rw-r-- 1 jenkins jenkins 7169 Mar 21 13:05 go.mod 13:11:57 -rw-rw-r-- 1 jenkins jenkins 101517 Mar 21 13:05 go.sum 13:11:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:05 internal 13:11:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:05 mock 13:11:57 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 13:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:57 + 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=db84220a98baf26f07a1d477c585bb37996b93c5 --label arch=arm64 --label version=3.2.0-dev.11 . 13:11:57 Sending build context to Docker daemon 7.62MB 13:11:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 13:11:58 Step 2/25 : FROM ${BASE} AS builder 13:11:58 ---> 55f040f1d913 13:11:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:11:58 ---> Running in 71c39651aa2a 13:11:58 Removing intermediate container 71c39651aa2a 13:11:58 ---> ea7203a7a315 13:11:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:11:58 ---> Running in 887d0738bce1 13:11:59 Removing intermediate container 887d0738bce1 13:11:59 ---> c45187f1740b 13:11:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:11:59 ---> Running in de4769a45a92 13:11:59 Removing intermediate container de4769a45a92 13:11:59 ---> 6402ca683d9c 13:11:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:11:59 ---> Running in 756518a8ffb1 13:11:59 Removing intermediate container 756518a8ffb1 13:11:59 ---> 260f4d83aa64 13:11:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:11:59 ---> Running in f9bb53bee51a 13:12:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:12:02 OK: 271 MiB in 56 packages 13:12:03 Removing intermediate container f9bb53bee51a 13:12:03 ---> 61499b962075 13:12:03 Step 8/25 : WORKDIR /device-mqtt-go 13:12:03 ---> Running in 1b6f8374925e 13:12:03 Removing intermediate container 1b6f8374925e 13:12:03 ---> a342f3555925 13:12:03 Step 9/25 : COPY go.mod vendor* ./ 13:12:03 ---> f7bc1a7c0b9c 13:12:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:03 ---> Running in bb816ea5dd33 13:12:05 Removing intermediate container bb816ea5dd33 13:12:05 ---> 812a0889f418 13:12:05 Step 11/25 : COPY . . 13:12:06 ---> 3a96dfd4a965 13:12:06 Step 12/25 : RUN $MAKE 13:12:07 ---> Running in bffb7b0daa65 13:12:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 13:14:59 Removing intermediate container bffb7b0daa65 13:14:59 ---> 8ba632256a9f 13:14:59 Step 13/25 : FROM alpine:3.18 13:14:59 3.18: Pulling from library/alpine 13:14:59 c6b39de5b339: Pulling fs layer 13:14:59 c6b39de5b339: Verifying Checksum 13:14:59 c6b39de5b339: Download complete 13:14:59 c6b39de5b339: Pull complete 13:14:59 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:14:59 Status: Downloaded newer image for alpine:3.18 13:14:59 ---> 33abbf032149 13:14:59 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:14:59 ---> Running in d7884fa36f37 13:14:59 Removing intermediate container d7884fa36f37 13:14:59 ---> 2406f689d674 13:14:59 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:14:59 ---> Running in bc6656354fe5 13:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:14:59 (1/1) Installing dumb-init (1.2.5-r2) 13:14:59 Executing busybox-1.36.1-r5.trigger 13:14:59 OK: 8 MiB in 16 packages 13:14:59 Removing intermediate container bc6656354fe5 13:14:59 ---> 19c37f1927cd 13:14:59 Step 16/25 : RUN apk --no-cache upgrade 13:14:59 ---> Running in 6c9a79f26127 13:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:15:00 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:15:00 OK: 8 MiB in 16 packages 13:15:01 Removing intermediate container 6c9a79f26127 13:15:01 ---> 9acb735edd77 13:15:01 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 13:15:03 ---> c48a1d59b263 13:15:03 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 13:15:04 ---> 1a7990530990 13:15:04 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:15:04 ---> 35cbaa816cdb 13:15:04 Step 20/25 : EXPOSE 59982 13:15:04 ---> Running in 6ea05fefb093 13:15:05 Removing intermediate container 6ea05fefb093 13:15:05 ---> 9b87ce938d6a 13:15:05 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 13:15:05 ---> Running in 3c3904423823 13:15:05 Removing intermediate container 3c3904423823 13:15:05 ---> b859fe0ee76e 13:15:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:15:05 ---> Running in e3f26a48b4ff 13:15:05 Removing intermediate container e3f26a48b4ff 13:15:05 ---> f25f18111833 13:15:05 Step 23/25 : LABEL arch=arm64 13:15:05 ---> Running in 425c2c04c784 13:15:06 Removing intermediate container 425c2c04c784 13:15:06 ---> a1d383e640e8 13:15:06 Step 24/25 : LABEL git_sha=db84220a98baf26f07a1d477c585bb37996b93c5 13:15:06 ---> Running in 65af365c266b 13:15:06 Removing intermediate container 65af365c266b 13:15:06 ---> 943fc72bbc13 13:15:06 Step 25/25 : LABEL version=3.2.0-dev.11 13:15:06 ---> Running in 93cb5229a046 13:15:06 Removing intermediate container 93cb5229a046 13:15:06 ---> d918ccf3f7bc 13:15:06 [Warning] One or more build-args [ARCH] were not consumed 13:15:06 Successfully built d918ccf3f7bc 13:15:06 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 13:15:07 provisioning config files... 13:15:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/164@tmp/config830961893903278109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:07 ---> ****-login.sh 13:15:07 nexus3.edgexfoundry.org:10001 13:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:07 Configure a credential helper to remove this warning. See 13:15:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:07 13:15:07 Login Succeeded 13:15:07 nexus3.edgexfoundry.org:10002 13:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:07 Configure a credential helper to remove this warning. See 13:15:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:07 13:15:07 Login Succeeded 13:15:07 nexus3.edgexfoundry.org:10003 13:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:08 Configure a credential helper to remove this warning. See 13:15:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:08 13:15:08 Login Succeeded 13:15:08 nexus3.edgexfoundry.org:10004 13:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:08 Configure a credential helper to remove this warning. See 13:15:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:08 13:15:08 Login Succeeded 13:15:08 ****.io 13:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:09 Configure a credential helper to remove this warning. See 13:15:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:09 13:15:09 Login Succeeded 13:15:09 ---> ****-login.sh ends [Pipeline] } 13:15:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:15:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:15:09 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 13:15:09 db84220a98baf26f07a1d477c585bb37996b93c5 13:15:09 latest 13:15:09 3.2.0-dev.11 13:15:09 db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 13:15:09 main 13:15:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5 13:15:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:15:09 d09a4d71a830: Preparing 13:15:09 c27beb22a1c5: Preparing 13:15:09 1594b1fab759: Preparing 13:15:09 f70cfd2c4897: Preparing 13:15:09 a545ec0bf020: Preparing 13:15:09 7c504f21be85: Preparing 13:15:09 7c504f21be85: Waiting 13:15:10 d09a4d71a830: Pushed 13:15:10 f70cfd2c4897: Pushed 13:15:10 c27beb22a1c5: Pushed 13:15:10 a545ec0bf020: Pushed 13:15:10 7c504f21be85: Layer already exists 13:15:18 1594b1fab759: Pushed 13:15:18 db84220a98baf26f07a1d477c585bb37996b93c5: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 13:15:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:15:19 d09a4d71a830: Preparing 13:15:19 c27beb22a1c5: Preparing 13:15:19 1594b1fab759: Preparing 13:15:19 f70cfd2c4897: Preparing 13:15:19 a545ec0bf020: Preparing 13:15:19 7c504f21be85: Preparing 13:15:19 7c504f21be85: Waiting 13:15:19 1594b1fab759: Layer already exists 13:15:19 c27beb22a1c5: Layer already exists 13:15:19 f70cfd2c4897: Layer already exists 13:15:19 d09a4d71a830: Layer already exists 13:15:19 a545ec0bf020: Layer already exists 13:15:19 7c504f21be85: Layer already exists 13:15:19 latest: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.11 13:15:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:15:20 d09a4d71a830: Preparing 13:15:20 c27beb22a1c5: Preparing 13:15:20 1594b1fab759: Preparing 13:15:20 f70cfd2c4897: Preparing 13:15:20 a545ec0bf020: Preparing 13:15:20 7c504f21be85: Preparing 13:15:20 7c504f21be85: Waiting 13:15:20 f70cfd2c4897: Layer already exists 13:15:20 d09a4d71a830: Layer already exists 13:15:20 c27beb22a1c5: Layer already exists 13:15:20 1594b1fab759: Layer already exists 13:15:20 a545ec0bf020: Layer already exists 13:15:20 7c504f21be85: Layer already exists 13:15:20 3.2.0-dev.11: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 13:15:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:15:20 d09a4d71a830: Preparing 13:15:20 c27beb22a1c5: Preparing 13:15:20 1594b1fab759: Preparing 13:15:20 f70cfd2c4897: Preparing 13:15:20 a545ec0bf020: Preparing 13:15:20 7c504f21be85: Preparing 13:15:20 7c504f21be85: Waiting 13:15:20 c27beb22a1c5: Layer already exists 13:15:20 a545ec0bf020: Layer already exists 13:15:20 d09a4d71a830: Layer already exists 13:15:20 f70cfd2c4897: Layer already exists 13:15:20 1594b1fab759: Layer already exists 13:15:20 7c504f21be85: Layer already exists 13:15:20 db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 13:15:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:15:21 d09a4d71a830: Preparing 13:15:21 c27beb22a1c5: Preparing 13:15:21 1594b1fab759: Preparing 13:15:21 f70cfd2c4897: Preparing 13:15:21 a545ec0bf020: Preparing 13:15:21 7c504f21be85: Preparing 13:15:21 7c504f21be85: Waiting 13:15:21 f70cfd2c4897: Layer already exists 13:15:21 d09a4d71a830: Layer already exists 13:15:21 a545ec0bf020: Layer already exists 13:15:21 1594b1fab759: Layer already exists 13:15:21 c27beb22a1c5: Layer already exists 13:15:21 7c504f21be85: Layer already exists 13:15:21 main: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:15:21 ===================================================== [Pipeline] echo 13:15:21 taggedImages: 13:15:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5 13:15:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 13:15:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.11 13:15:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 13:15:21 - 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 13:15:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:22 13:15:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:22 arm64: Pulling from edgex-lftools-log-publisher 13:15:22 8998bd30e6a1: Pulling fs layer 13:15:22 04944245beec: Pulling fs layer 13:15:22 699f458cf7ca: Pulling fs layer 13:15:22 765212b225bb: Pulling fs layer 13:15:22 f23df028b6ca: Pulling fs layer 13:15:22 d65c8cfc05b1: Pulling fs layer 13:15:22 2437ff75d9bd: Pulling fs layer 13:15:22 f23df028b6ca: Waiting 13:15:22 765212b225bb: Waiting 13:15:22 d65c8cfc05b1: Waiting 13:15:22 2437ff75d9bd: Waiting 13:15:22 04944245beec: Verifying Checksum 13:15:22 04944245beec: Download complete 13:15:22 765212b225bb: Verifying Checksum 13:15:22 765212b225bb: Download complete 13:15:22 f23df028b6ca: Download complete 13:15:22 d65c8cfc05b1: Verifying Checksum 13:15:22 d65c8cfc05b1: Download complete 13:15:23 699f458cf7ca: Verifying Checksum 13:15:23 699f458cf7ca: Download complete 13:15:23 8998bd30e6a1: Verifying Checksum 13:15:23 8998bd30e6a1: Download complete 13:15:25 2437ff75d9bd: Verifying Checksum 13:15:25 2437ff75d9bd: Download complete 13:15:27 8998bd30e6a1: Pull complete 13:15:28 04944245beec: Pull complete 13:15:30 699f458cf7ca: Pull complete 13:15:30 765212b225bb: Pull complete 13:15:31 f23df028b6ca: Pull complete 13:15:31 d65c8cfc05b1: Pull complete 13:15:49 2437ff75d9bd: Pull complete 13:15:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:15:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:49 prd-ubuntu20.04-docker-arm64-4c-16g-564 does not seem to be running inside a container 13:15:49 $ 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/164 -v /w/workspace/device-mqtt-go/164:/w/workspace/device-mqtt-go/164:rw,z -v /w/workspace/device-mqtt-go/164@tmp:/w/workspace/device-mqtt-go/164@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 13:15:52 $ docker top f6d6037c881e677a46d87e3d940188a6fa6d47304ef29987bc0171b927acf9fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:53 ---> job-cost.sh 13:15:53 lf-activate-venv: SKIPPING 13:15:53 INFO: No Stack... 13:15:53 INFO: Retrieving Pricing Info for: v3-standard-4 13:15:54 INFO: Archiving Costs [Pipeline] sh 13:15:55 + cat /w/workspace/device-mqtt-go/164/archives/cost.csv 13:15:55 + cut -d, -f6 [Pipeline] lock 13:15:55 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] 13:15:55 Resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] did not exist. Created. 13:15:55 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:55 /w/workspace/device-mqtt-go/164@tmp/durable-9b24e95d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:15:56 + echo total: 0.10999999940395355 [Pipeline] stash 13:15:56 Warning: overwriting stash ‘stack-cost’ 13:15:56 Stashed 1 file(s) [Pipeline] } 13:15:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:56 $ docker stop --time=1 f6d6037c881e677a46d87e3d940188a6fa6d47304ef29987bc0171b927acf9fb 13:15:58 $ docker rm -f --volumes f6d6037c881e677a46d87e3d940188a6fa6d47304ef29987bc0171b927acf9fb [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 13:15:58 provisioning config files... 13:15:58 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6551948367110907301tmp [Pipeline] { [Pipeline] sh 13:15:59 + set +x 13:15:59 + curl -s https://codecov.io/bash 13:15:59 + bash -s -- 13:15:59 13:15:59 _____ _ 13:15:59 / ____| | | 13:15:59 | | ___ __| | ___ ___ _____ __ 13:15:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:15:59 | |___| (_) | (_| | __/ (_| (_) \ V / 13:15:59 \_____\___/ \__,_|\___|\___\___/ \_/ 13:15:59 Bash-1.0.6 13:15:59 13:15:59 13:15:59 ==> git version 2.25.1 found 13:15:59 ==> 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 13:15:59 Release-Date: 2020-01-08 13:15:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:15:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:15:59 ==> Jenkins CI detected. 13:15:59 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 13:15:59 project root: . 13:15:59 --> token set from env 13:15:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:15:59 ==> Running gcov in . (disable via -X gcov) 13:15:59 ==> Python coveragepy not found 13:15:59 ==> Searching for coverage reports in: 13:15:59 + . 13:15:59 -> Found 1 reports 13:15:59 ==> Detecting git/mercurial file structure 13:15:59 ==> Reading reports 13:15:59 + ./coverage.out bytes=18506 13:15:59 ==> Appending adjustments 13:15:59 https://docs.codecov.io/docs/fixing-reports 13:15:59 + Found adjustments 13:15:59 ==> Gzipping contents 13:15:59 4.0K /tmp/codecov.kcsj2l.gz 13:15:59 ==> Uploading reports 13:15:59 url: https://codecov.io 13:15:59 query: branch=main&commit=db84220a98baf26f07a1d477c585bb37996b93c5&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:15:59 -> Pinging Codecov 13:15:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=db84220a98baf26f07a1d477c585bb37996b93c5&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:15:59 -> Uploading to 13:15:59 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/7D719EC7BBE17E464838252E33014C33/db84220a98baf26f07a1d477c585bb37996b93c5/04b0ca16-968d-4949-aa16-665b03bc2c0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T131559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf66b7d4f5a698fde0949a566d406f1c89d3240120ff4cc96fa36af2c4e795c8 13:15:59 % Total % Received % Xferd Average Speed Time Time Time Current 13:15:59 Dload Upload Total Spent Left Speed 13:15:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11772 --:--:-- --:--:-- --:--:-- 11772 13:15:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] } 13:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:16:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:16:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:16:00 13:16:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:16:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:16:00 df9b9388f04a: Pulling fs layer 13:16:00 52dc419b0ee2: Pulling fs layer 13:16:00 25bc292e5bac: Pulling fs layer 13:16:00 114826534d7a: Pulling fs layer 13:16:00 4657fd5d0bcf: Pulling fs layer 13:16:00 6ad1cebc031e: Pulling fs layer 13:16:00 8a3aa393b2d8: Pulling fs layer 13:16:00 6ad1cebc031e: Waiting 13:16:00 4657fd5d0bcf: Waiting 13:16:00 8a3aa393b2d8: Waiting 13:16:00 114826534d7a: Waiting 13:16:00 25bc292e5bac: Verifying Checksum 13:16:00 25bc292e5bac: Download complete 13:16:00 52dc419b0ee2: Verifying Checksum 13:16:00 52dc419b0ee2: Download complete 13:16:00 4657fd5d0bcf: Verifying Checksum 13:16:00 4657fd5d0bcf: Download complete 13:16:00 df9b9388f04a: Download complete 13:16:01 df9b9388f04a: Pull complete 13:16:01 6ad1cebc031e: Verifying Checksum 13:16:01 6ad1cebc031e: Download complete 13:16:01 52dc419b0ee2: Pull complete 13:16:01 25bc292e5bac: Pull complete 13:16:01 114826534d7a: Verifying Checksum 13:16:01 114826534d7a: Download complete 13:16:01 8a3aa393b2d8: Verifying Checksum 13:16:01 8a3aa393b2d8: Download complete 13:16:05 114826534d7a: Pull complete 13:16:05 4657fd5d0bcf: Pull complete 13:16:05 6ad1cebc031e: Pull complete 13:16:07 8a3aa393b2d8: Pull complete 13:16:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:16:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:07 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:16:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:16:12 $ docker top f533590156091cf263096fd57d90508693d298db35172c8146d1d773a8f9edde -eo pid,comm [Pipeline] { [Pipeline] echo 13:16:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 13:16:12 + set -o pipefail 13:16:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 13:16:19 13:16:19 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 13:16:19 13:16:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/0d1c30b6-1968-41ce-94c4-cfa3abff4075 13:16:19 13:16:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:16:19 13:16:19 13:16:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:16:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:16:19 More details here: https://snyk.co/ue1NS [Pipeline] } 13:16:19 $ docker stop --time=1 f533590156091cf263096fd57d90508693d298db35172c8146d1d773a8f9edde 13:16:23 $ docker rm -f --volumes f533590156091cf263096fd57d90508693d298db35172c8146d1d773a8f9edde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:16:24 + git log --format=format:%s -1 db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] sh 13:16:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:25 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:16:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:16:25 $ docker top eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 -eo pid,comm 13:16:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:16:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:25 [ssh-agent] Looking for ssh-agent implementation... 13:16:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:25 $ docker exec eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 ssh-agent 13:16:25 SSH_AUTH_SOCK=/tmp/ssh-xpzVHFBCOoMS/agent.31 13:16:25 SSH_AGENT_PID=37 13:16:25 Running ssh-add (command line suppressed) 13:16:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2195382932803966295.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2195382932803966295.key) 13:16:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:26 + git semver tag 13:16:26 2024-03-21 13:16:26,502 [run_tag] DEBUG tag force:False 13:16:26 2024-03-21 13:16:26,503 [check_head_tag] DEBUG check head tag 13:16:26 2024-03-21 13:16:26,503 [execute] INFO git cat-file --batch-check 13:16:26 2024-03-21 13:16:26,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 13:16:26 2024-03-21 13:16:26,507 [execute] INFO git cat-file --batch 13:16:26 2024-03-21 13:16:26,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 13:16:26 2024-03-21 13:16:26,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:26 2024-03-21 13:16:26,524 [execute] INFO git tag -a v3.2.0-dev.11 -m v3.2.0-dev.11 13:16:26 2024-03-21 13:16:26,525 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.11', '-m', 'v3.2.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 13:16:26 2024-03-21 13:16:26,529 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:26 3.2.0-dev.11 [Pipeline] } 13:16:26 $ docker exec --env ******** --env ******** eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 ssh-agent -k 13:16:26 unset SSH_AUTH_SOCK; 13:16:26 unset SSH_AGENT_PID; 13:16:26 echo Agent pid 37 killed; 13:16:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:27 + git semver [Pipeline] } 13:16:27 $ docker stop --time=1 eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 13:16:28 $ docker rm -f --volumes eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:16:28 13:16:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:16:29 0.23.1-centos7: Pulling from edgex-lftools 13:16:29 ab5ef0e58194: Pulling fs layer 13:16:29 9712f1f96733: Pulling fs layer 13:16:29 63f879dbbcfc: Pulling fs layer 13:16:29 0d9ebad4ef96: Pulling fs layer 13:16:29 e9a5061849ea: Pulling fs layer 13:16:29 d747dcd14b5f: Pulling fs layer 13:16:29 2de7ff778b66: Pulling fs layer 13:16:29 0d9ebad4ef96: Waiting 13:16:29 e9a5061849ea: Waiting 13:16:29 d747dcd14b5f: Waiting 13:16:29 2de7ff778b66: Waiting 13:16:29 9712f1f96733: Verifying Checksum 13:16:29 9712f1f96733: Download complete 13:16:29 63f879dbbcfc: Verifying Checksum 13:16:29 63f879dbbcfc: Download complete 13:16:29 ab5ef0e58194: Verifying Checksum 13:16:29 ab5ef0e58194: Download complete 13:16:29 d747dcd14b5f: Verifying Checksum 13:16:29 d747dcd14b5f: Download complete 13:16:29 e9a5061849ea: Verifying Checksum 13:16:29 e9a5061849ea: Download complete 13:16:29 0d9ebad4ef96: Verifying Checksum 13:16:29 0d9ebad4ef96: Download complete 13:16:29 2de7ff778b66: Verifying Checksum 13:16:29 2de7ff778b66: Download complete 13:16:32 ab5ef0e58194: Pull complete 13:16:32 9712f1f96733: Pull complete 13:16:33 63f879dbbcfc: Pull complete 13:16:36 0d9ebad4ef96: Pull complete 13:16:36 e9a5061849ea: Pull complete 13:16:37 d747dcd14b5f: Pull complete 13:16:38 2de7ff778b66: Pull complete 13:16:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:16:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:38 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:16:43 $ docker top 096365ef9bc860a2c856e20cbf95c3d8769429494235e5bd943cb7a15ae11b81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:16:43 provisioning config files... 13:16:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6727579567708864174tmp 13:16:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13971821809015544903tmp 13:16:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8672660834846840510tmp [Pipeline] { [Pipeline] echo 13:16:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:16:43 ---> sigul-configuration.sh 13:16:43 gpg: directory `/root/.gnupg' created 13:16:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:16:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:16:43 gpg: keyring `/root/.gnupg/secring.gpg' created 13:16:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:16:43 gpg: CAST5 encrypted data 13:16:43 gpg: encrypted with 1 passphrase 13:16:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:16:44 + mkdir /home/jenkins 13:16:44 + mkdir /home/jenkins/sigul [Pipeline] sh 13:16:44 + 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 13:16:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:16:44 ---> sigul-install.sh 13:16:44 Sigul already installed; skipping installation. [Pipeline] sh 13:16:45 + git tag --list 13:16:45 0.7.1 13:16:45 v1.0.0 13:16:45 v1.1.0 13:16:45 v1.1.1 13:16:45 v1.2.2 13:16:45 v1.3.0 13:16:45 v1.3.1 13:16:45 v2.0.0 13:16:45 v2.1.0 13:16:45 v2.1.1 13:16:45 v2.2.0 13:16:45 v2.3.0 13:16:45 v3.0 13:16:45 v3.0.0 13:16:45 v3.1 13:16:45 v3.1.0 13:16:45 v3.1.0-dev.1 13:16:45 v3.1.0-dev.10 13:16:45 v3.1.0-dev.11 13:16:45 v3.1.0-dev.12 13:16:45 v3.1.0-dev.13 13:16:45 v3.1.0-dev.14 13:16:45 v3.1.0-dev.15 13:16:45 v3.1.0-dev.16 13:16:45 v3.1.0-dev.17 13:16:45 v3.1.0-dev.18 13:16:45 v3.1.0-dev.19 13:16:45 v3.1.0-dev.2 13:16:45 v3.1.0-dev.20 13:16:45 v3.1.0-dev.21 13:16:45 v3.1.0-dev.22 13:16:45 v3.1.0-dev.23 13:16:45 v3.1.0-dev.24 13:16:45 v3.1.0-dev.25 13:16:45 v3.1.0-dev.3 13:16:45 v3.1.0-dev.4 13:16:45 v3.1.0-dev.5 13:16:45 v3.1.0-dev.6 13:16:45 v3.1.0-dev.7 13:16:45 v3.1.0-dev.8 13:16:45 v3.1.0-dev.9 13:16:45 v3.2.0-dev.1 13:16:45 v3.2.0-dev.10 13:16:45 v3.2.0-dev.11 13:16:45 v3.2.0-dev.2 13:16:45 v3.2.0-dev.3 13:16:45 v3.2.0-dev.4 13:16:45 v3.2.0-dev.5 13:16:45 v3.2.0-dev.6 13:16:45 v3.2.0-dev.7 13:16:45 v3.2.0-dev.8 13:16:45 v3.2.0-dev.9 [Pipeline] sh 13:16:45 + lftools sign git-tag v3.2.0-dev.11 13:16:46 Signing Git tag with Sigul... 13:16:46 Signing v3.2.0-dev.11 [Pipeline] echo 13:16:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:16:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:16:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:16:46 $ docker stop --time=1 096365ef9bc860a2c856e20cbf95c3d8769429494235e5bd943cb7a15ae11b81 13:16:48 $ docker rm -f --volumes 096365ef9bc860a2c856e20cbf95c3d8769429494235e5bd943cb7a15ae11b81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:16:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:48 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:16:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:16:49 $ docker top 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:49 [ssh-agent] Looking for ssh-agent implementation... 13:16:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:49 $ docker exec 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 ssh-agent 13:16:49 SSH_AUTH_SOCK=/tmp/ssh-TNM6siQ3FJHI/agent.32 13:16:49 SSH_AGENT_PID=38 13:16:49 Running ssh-add (command line suppressed) 13:16:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_455301165146237189.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_455301165146237189.key) 13:16:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:49 + git semver bump pre 13:16:50 2024-03-21 13:16:50,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:50 2024-03-21 13:16:50,137 [bump_version] DEBUG bumping version:3.2.0-dev.11 on axis:pre with prefix:dev 13:16:50 2024-03-21 13:16:50,138 [bump_version] DEBUG bumped version:3.2.0-dev.12 13:16:50 2024-03-21 13:16:50,138 [write_version] DEBUG write version:3.2.0-dev.12 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 13:16:50 2024-03-21 13:16:50,138 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:50 2024-03-21 13:16:50,138 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:50 2024-03-21 13:16:50,142 [execute] INFO git cat-file --batch-check 13:16:50 2024-03-21 13:16:50,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:16:50 2024-03-21 13:16:50,147 [execute] INFO git cat-file --batch 13:16:50 2024-03-21 13:16:50,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:16:50 2024-03-21 13:16:50,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:50 3.2.0-dev.12 [Pipeline] } 13:16:50 $ docker exec --env ******** --env ******** 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 ssh-agent -k 13:16:50 unset SSH_AUTH_SOCK; 13:16:50 unset SSH_AGENT_PID; 13:16:50 echo Agent pid 38 killed; 13:16:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:50 + git semver [Pipeline] } 13:16:50 $ docker stop --time=1 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 13:16:52 $ docker rm -f --volumes 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:52 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:16:53 $ docker top 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:53 [ssh-agent] Looking for ssh-agent implementation... 13:16:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:53 $ docker exec 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 ssh-agent 13:16:53 SSH_AUTH_SOCK=/tmp/ssh-Ze6q8vr1lIXk/agent.32 13:16:53 SSH_AGENT_PID=38 13:16:53 Running ssh-add (command line suppressed) 13:16:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16700405635789029314.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16700405635789029314.key) 13:16:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:54 + git semver push 13:16:54 2024-03-21 13:16:54,170 [run_push] DEBUG push 13:16:54 2024-03-21 13:16:54,170 [execute] INFO git cat-file --batch-check 13:16:54 2024-03-21 13:16:54,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:16:54 2024-03-21 13:16:54,174 [execute] INFO git rev-list 12778940f6fb477e5fe289a7f3d87fce4cecfd78 -- 13:16:54 2024-03-21 13:16:54,174 [execute] DEBUG Popen(['git', 'rev-list', '12778940f6fb477e5fe289a7f3d87fce4cecfd78', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:16:54 2024-03-21 13:16:54,183 [execute] INFO git fetch -v origin 13:16:54 2024-03-21 13:16:54,183 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:16:54 2024-03-21 13:16:54,681 [run_push] DEBUG no remote changes detected 13:16:54 2024-03-21 13:16:54,681 [execute] INFO git push origin semver 13:16:54 2024-03-21 13:16:54,682 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:16:55 2024-03-21 13:16:55,476 [run_push] DEBUG push all version tags 13:16:55 2024-03-21 13:16:55,477 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:16:55 2024-03-21 13:16:55,478 [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) 13:16:56 2024-03-21 13:16:56,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:16:56 3.2.0-dev.12 [Pipeline] } 13:16:56 $ docker exec --env ******** --env ******** 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 ssh-agent -k 13:16:56 unset SSH_AUTH_SOCK; 13:16:56 unset SSH_AGENT_PID; 13:16:56 echo Agent pid 38 killed; 13:16:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:56 + git semver [Pipeline] } 13:16:57 $ docker stop --time=1 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 13:16:58 $ docker rm -f --volumes 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:16:59 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 13:16:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:16:59 total 16 13:16:59 drwxr-xr-x 3 root root 4096 Mar 21 13:06 . 13:16:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 13:16 .. 13:16:59 drwxr-xr-x 2 root root 4096 Mar 21 13:06 cost 13:16:59 -rw-r--r-- 1 root root 86 Mar 21 13:06 cost.csv 13:16:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:16:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:16:59 total 16 13:16:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:06 . 13:16:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 13:16 .. 13:16:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 13:06 cost 13:16:59 -rw-r--r-- 1 jenkins jenkins 86 Mar 21 13:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:16:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:17:00 ---> package-listing.sh 13:17:00 ++ facter osfamily 13:17:00 ++ tr '[:upper:]' '[:lower:]' 13:17:00 + OS_FAMILY=debian 13:17:00 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 13:17:00 + START_PACKAGES=/tmp/packages_start.txt 13:17:00 + END_PACKAGES=/tmp/packages_end.txt 13:17:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:17:00 + PACKAGES=/tmp/packages_start.txt 13:17:00 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 13:17:00 + PACKAGES=/tmp/packages_end.txt 13:17:00 + case "${OS_FAMILY}" in 13:17:00 + dpkg -l 13:17:00 + grep '^ii' 13:17:00 + '[' -f /tmp/packages_start.txt ']' 13:17:00 + '[' -f /tmp/packages_end.txt ']' 13:17:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:17:00 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 13:17:00 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 13:17:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 13:17:00 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 13:17:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:01 prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container 13:17:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:17:01 $ docker top e8e3323843b7abe2ad6b6a26df1d4a2f58a375d801f8f24ccab0ec303c28ab2d -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:01 + touch /tmp/pre-build-complete [Pipeline] sh 13:17:02 + mkdir -p /var/log/sysstat [Pipeline] sh 13:17:02 + ls /var/log/sa-host 13:17:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:02 provisioning config files... 13:17:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7135244329797754850tmp [Pipeline] { [Pipeline] echo 13:17:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:17:02 ---> create-netrc.sh [Pipeline] } 13:17:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:17:03 ---> python-tools-install.sh [Pipeline] echo 13:17:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:17:03 ---> sudo-logs.sh 13:17:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:17:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:17:03 ---> job-cost.sh 13:17:03 lf-activate-venv: SKIPPING 13:17:03 DEBUG: total: 0.2199999988079071 13:17:03 INFO: Retrieving Stack Cost... 13:17:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:17:05 INFO: Archiving Costs [Pipeline] echo 13:17:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:17:05 ---> logs-deploy.sh 13:17:05 lf-activate-venv: SKIPPING 13:17:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/164 13:17:05 INFO: archiving workspace using pattern(s): 13:17:06 Archives upload complete. 13:17:06 INFO: archiving logs to Nexus