Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 076aceae7774eed065da4ce17ac21a3c9dad675d 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-ssh6140294597186439428.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6318903101349050657.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3750430109492394560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7609922113557972483.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-ssh7007907081095749019.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, buildSnap:false] ========================================================= [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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17542 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 076aceae7774eed065da4ce17ac21a3c9dad675d (main) Commit message: "docs: Add main branch warning (#612)" > git config core.sparsecheckout # timeout=10 > git checkout -f 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 > git rev-list --no-walk 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:37:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:37:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:37:29 ========================================================= 20:37:29 EdgeX Global Pipelines Version Info 20:37:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:37:29 ------------------- 20:37:29 stable info: 20:37:29 ------------------- 20:37:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:37:29 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:37:29 Message: update stable to v1.0.249 20:37:30 ------------------- 20:37:30 experimental info: 20:37:30 ------------------- 20:37:30 Commited By: **** collab-it+edgex@linuxfoundation.org 20:37:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:37:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 076acea [Pipeline] echo 20:37:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:30 provisioning config files... 20:37:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5880367421089997519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:31 ---> docker-login.sh 20:37:31 nexus3.edgexfoundry.org:10001 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10002 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10003 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10004 20:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:32 Configure a credential helper to remove this warning. See 20:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:32 20:37:32 Login Succeeded 20:37:32 docker.io 20:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:32 Configure a credential helper to remove this warning. See 20:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:32 20:37:32 Login Succeeded 20:37:32 ---> docker-login.sh ends [Pipeline] } 20:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:37:32 + git rev-list -1 --merges 076aceae7774eed065da4ce17ac21a3c9dad675d~1..076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 20:37:32 -----------> git rev-list -1 --merges 076aceae7774eed065da4ce17ac21a3c9dad675d~1..076aceae7774eed065da4ce17ac21a3c9dad675d 076aceae7774eed065da4ce17ac21a3c9dad675d [false] [Pipeline] sh 20:37:33 + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 20:37:33 ========================================================= 20:37:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 20:37:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:33 + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo 20:37:33 [semverPrep] GIT_COMMIT: 076aceae7774eed065da4ce17ac21a3c9dad675d, Commit Message: docs: Add main branch warning (#612) [Pipeline] echo 20:37:33 [semverPrep] This is not a build commit. [Pipeline] sh 20:37:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:37:33 + grep -v github /etc/ssh/ssh_known_hosts 20:37:33 + [ -e /tmp/ssh_known_hosts ] 20:37:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:37:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:37:33 + sudo tee -a /etc/ssh/ssh_known_hosts 20:37:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:34 20:37:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:34 0.1.4: Pulling from edgex-devops/py-git-semver 20:37:34 b85a868b505f: Pulling fs layer 20:37:34 e2be974225ed: Pulling fs layer 20:37:34 339a4e72a1f5: Pulling fs layer 20:37:34 988bab9f4d93: Pulling fs layer 20:37:34 1469e6f7b9e6: Pulling fs layer 20:37:34 eaf3925da568: Pulling fs layer 20:37:34 bab4dde63d76: Pulling fs layer 20:37:34 bde34c3a00c8: Pulling fs layer 20:37:34 b352a97aabf1: Pulling fs layer 20:37:34 4872d77fe225: Pulling fs layer 20:37:34 5851b861e8e6: Pulling fs layer 20:37:34 4872d77fe225: Waiting 20:37:34 bab4dde63d76: Waiting 20:37:34 bde34c3a00c8: Waiting 20:37:34 1469e6f7b9e6: Waiting 20:37:34 b352a97aabf1: Waiting 20:37:34 5851b861e8e6: Waiting 20:37:34 eaf3925da568: Waiting 20:37:34 e2be974225ed: Download complete 20:37:34 988bab9f4d93: Verifying Checksum 20:37:34 988bab9f4d93: Download complete 20:37:34 1469e6f7b9e6: Verifying Checksum 20:37:34 1469e6f7b9e6: Download complete 20:37:34 339a4e72a1f5: Verifying Checksum 20:37:34 339a4e72a1f5: Download complete 20:37:34 eaf3925da568: Verifying Checksum 20:37:34 eaf3925da568: Download complete 20:37:34 bde34c3a00c8: Verifying Checksum 20:37:34 bde34c3a00c8: Download complete 20:37:34 b352a97aabf1: Download complete 20:37:34 4872d77fe225: Verifying Checksum 20:37:34 4872d77fe225: Download complete 20:37:34 5851b861e8e6: Verifying Checksum 20:37:35 b85a868b505f: Verifying Checksum 20:37:35 b85a868b505f: Download complete 20:37:35 bab4dde63d76: Verifying Checksum 20:37:35 bab4dde63d76: Download complete 20:37:36 b85a868b505f: Pull complete 20:37:36 e2be974225ed: Pull complete 20:37:37 339a4e72a1f5: Pull complete 20:37:37 988bab9f4d93: Pull complete 20:37:37 1469e6f7b9e6: Pull complete 20:37:37 eaf3925da568: Pull complete 20:37:39 bab4dde63d76: Pull complete 20:37:39 bde34c3a00c8: Pull complete 20:37:39 b352a97aabf1: Pull complete 20:37:39 4872d77fe225: Pull complete 20:37:40 5851b861e8e6: Pull complete 20:37:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:37:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:40 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:37:40 $ 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 20:37:41 $ docker top 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a -eo pid,comm 20:37:41 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). 20:37:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:37:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:41 [ssh-agent] Looking for ssh-agent implementation... 20:37:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:42 $ docker exec 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent 20:37:42 SSH_AUTH_SOCK=/tmp/ssh-hJp3123Dh1Ns/agent.32 20:37:42 SSH_AGENT_PID=38 20:37:42 Running ssh-add (command line suppressed) 20:37:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9663399427668129464.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9663399427668129464.key) 20:37:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:42 + git tag --points-at 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } 20:37:42 $ docker exec --env ******** --env ******** 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent -k 20:37:42 unset SSH_AUTH_SOCK; 20:37:42 unset SSH_AGENT_PID; 20:37:42 echo Agent pid 38 killed; 20:37:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:37:42 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.43' [Pipeline] sshagent 20:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:42 [ssh-agent] Looking for ssh-agent implementation... 20:37:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:42 $ docker exec 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent 20:37:42 SSH_AUTH_SOCK=/tmp/ssh-kbYNjKxgs1jF/agent.71 20:37:42 SSH_AGENT_PID=78 20:37:42 Running ssh-add (command line suppressed) 20:37:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9115798540850637398.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9115798540850637398.key) 20:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:43 + git semver init 20:37:43 2023-05-31 20:37:43,570 [run_init] DEBUG init version:0.0.0 force:False 20:37:43 2023-05-31 20:37:43,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:37:43 2023-05-31 20:37:43,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:37:43 2023-05-31 20:37:43,571 [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) 20:37:44 2023-05-31 20:37:44,325 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 20:37:44 2023-05-31 20:37:44,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 20:37:44 2023-05-31 20:37:44,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:37:44 2023-05-31 20:37:44,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:37:44 3.0.0 [Pipeline] } 20:37:44 $ docker exec --env ******** --env ******** 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent -k 20:37:44 unset SSH_AUTH_SOCK; 20:37:44 unset SSH_AGENT_PID; 20:37:44 echo Agent pid 78 killed; 20:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:37:44 + git semver [Pipeline] } 20:37:45 $ docker stop --time=1 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a 20:37:46 $ docker rm -f --volumes 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a [Pipeline] // withDockerContainer [Pipeline] sh 20:37:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:37:47 Stashed 1 file(s) [Pipeline] echo 20:37:47 [edgeXSemver]: initialized semver on version 3.0.0 [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] sh 20:37:47 + git checkout 076aceae7774eed065da4ce17ac21a3c9dad675d 20:37:47 HEAD is now at 076acea docs: Add main branch warning (#612) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:47 provisioning config files... 20:37:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15604885862458388041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:47 ---> docker-login.sh 20:37:47 nexus3.edgexfoundry.org:10001 20:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:47 Configure a credential helper to remove this warning. See 20:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:47 20:37:47 Login Succeeded 20:37:47 nexus3.edgexfoundry.org:10002 20:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:47 Configure a credential helper to remove this warning. See 20:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:47 20:37:47 Login Succeeded 20:37:47 nexus3.edgexfoundry.org:10003 20:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:48 Configure a credential helper to remove this warning. See 20:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:48 20:37:48 Login Succeeded 20:37:48 nexus3.edgexfoundry.org:10004 20:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:48 Configure a credential helper to remove this warning. See 20:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:48 20:37:48 Login Succeeded 20:37:48 docker.io 20:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:48 Configure a credential helper to remove this warning. See 20:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:48 20:37:48 Login Succeeded 20:37:48 ---> docker-login.sh ends [Pipeline] } 20:37:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:48 ========================================================= 20:37:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:37:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:37:48 Sending build context to Docker daemon 6.594MB 20:37:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:37:48 Step 2/12 : FROM ${BASE} AS builder 20:37:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:37:48 f56be85fc22e: Pulling fs layer 20:37:48 85791d961cd3: Pulling fs layer 20:37:48 d694b5ae8c79: Pulling fs layer 20:37:48 9f32a84ed3da: Pulling fs layer 20:37:48 4d19c01a9841: Pulling fs layer 20:37:48 9325e15d5711: Pulling fs layer 20:37:48 556b6ee489ea: Pulling fs layer 20:37:48 c5a4b2cf53e6: Pulling fs layer 20:37:48 9325e15d5711: Waiting 20:37:48 556b6ee489ea: Waiting 20:37:48 c5a4b2cf53e6: Waiting 20:37:48 9f32a84ed3da: Waiting 20:37:48 4d19c01a9841: Waiting 20:37:48 85791d961cd3: Download complete 20:37:49 9f32a84ed3da: Verifying Checksum 20:37:49 9f32a84ed3da: Download complete 20:37:49 4d19c01a9841: Download complete 20:37:49 f56be85fc22e: Verifying Checksum 20:37:49 f56be85fc22e: Download complete 20:37:49 9325e15d5711: Verifying Checksum 20:37:49 9325e15d5711: Download complete 20:37:49 f56be85fc22e: Pull complete 20:37:49 85791d961cd3: Pull complete 20:37:49 c5a4b2cf53e6: Verifying Checksum 20:37:49 c5a4b2cf53e6: Download complete 20:37:49 d694b5ae8c79: Verifying Checksum 20:37:49 d694b5ae8c79: Download complete 20:37:49 556b6ee489ea: Verifying Checksum 20:37:49 556b6ee489ea: Download complete 20:37:53 d694b5ae8c79: Pull complete 20:37:53 9f32a84ed3da: Pull complete 20:37:53 4d19c01a9841: Pull complete 20:37:53 9325e15d5711: Pull complete 20:37:55 556b6ee489ea: Pull complete 20:37:56 c5a4b2cf53e6: Pull complete 20:37:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:37:56 ---> c4be618373d6 20:37:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:38:00 ---> Running in f8dedd28a799 20:38:00 Removing intermediate container f8dedd28a799 20:38:00 ---> 1ff99179f354 20:38:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:00 ---> Running in e8c23e83694e 20:38:00 Removing intermediate container e8c23e83694e 20:38:00 ---> d21bc1b980fe 20:38:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:38:00 ---> Running in 7bf3706916e2 20:38:00 Removing intermediate container 7bf3706916e2 20:38:00 ---> 31c625badcb5 20:38:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:38:00 ---> Running in 1921357aa418 20:38:00 Removing intermediate container 1921357aa418 20:38:00 ---> dad08db4a4f9 20:38:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:38:01 ---> Running in 7e0ca2cb62b6 20:38:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:38:02 Still waiting to schedule task 20:38:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17541’ 20:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:02 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:38:02 (2/4) Installing libedit (20221030.3.1-r0) 20:38:02 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:38:02 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:38:02 Executing busybox-1.35.0-r29.trigger 20:38:02 OK: 269 MiB in 57 packages 20:38:03 Removing intermediate container 7e0ca2cb62b6 20:38:03 ---> eed789536789 20:38:03 Step 8/12 : WORKDIR /device-mqtt-go 20:38:03 ---> Running in fc8d71d1f809 20:38:03 Removing intermediate container fc8d71d1f809 20:38:03 ---> 91ecff0e1d1d 20:38:03 Step 9/12 : COPY go.mod vendor* ./ 20:38:03 ---> 95ba1a2edeca 20:38:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:03 ---> Running in d3ad610b3870 20:38:50 Removing intermediate container d3ad610b3870 20:38:50 ---> 32a0f1a4f6b0 20:38:50 Step 11/12 : COPY . . 20:38:50 ---> 8d88fbbc3bee 20:38:50 Step 12/12 : RUN $MAKE 20:38:50 ---> Running in 43228f05b15a 20:38:50 noop 20:38:50 Removing intermediate container 43228f05b15a 20:38:50 ---> b6ad554d4387 20:38:50 Successfully built b6ad554d4387 20:38:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:50 + docker inspect -f . ci-base-image-x86_64 20:38:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:50 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:38:50 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:38:51 $ docker top 1204d4bcdd7f391bf22c4f6d6943df3d345fb3bb121a544018876126499987bb -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:51 + go version 20:38:51 go version go1.20.2 linux/amd64 [Pipeline] } 20:38:51 $ docker stop --time=1 1204d4bcdd7f391bf22c4f6d6943df3d345fb3bb121a544018876126499987bb 20:38:52 $ docker rm -f --volumes 1204d4bcdd7f391bf22c4f6d6943df3d345fb3bb121a544018876126499987bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:53 + docker inspect -f . ci-base-image-x86_64 20:38:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:53 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:38:53 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:38:53 $ docker top 6d9d1736cc67633c4f7cf4ca98d41509027db435041b47d63aa922beceb419ef -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 20:38:54 + make test 20:38:54 go test ./... -coverprofile=coverage.out ./... 20:38:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:39:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:39:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:39:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 20:39:13 go vet ./... 20:39:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:39:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:39:16 ./bin/test-attribution-txt.sh [Pipeline] echo 20:39:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:39:16 $ docker stop --time=1 6d9d1736cc67633c4f7cf4ca98d41509027db435041b47d63aa922beceb419ef 20:39:21 $ docker rm -f --volumes 6d9d1736cc67633c4f7cf4ca98d41509027db435041b47d63aa922beceb419ef [Pipeline] // withDockerContainer [Pipeline] sh 20:39:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:39:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:39:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:22 + ls -al . 20:39:22 total 184 20:39:22 drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:38 . 20:39:22 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 .. 20:39:22 -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:37 .dockerignore 20:39:22 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:37 .git 20:39:22 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 .github 20:39:22 -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:37 .gitignore 20:39:22 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:37 .golangci.yml 20:39:22 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:37 .semver 20:39:22 -rw-rw-r-- 1 jenkins jenkins 9417 May 31 20:37 Attribution.txt 20:39:22 -rw-rw-r-- 1 jenkins jenkins 17522 May 31 20:37 CHANGELOG.md 20:39:22 -rw-rw-r-- 1 jenkins jenkins 1689 May 31 20:37 Dockerfile 20:39:22 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:37 GOVERNANCE.md 20:39:22 -rw-rw-r-- 1 jenkins jenkins 678 May 31 20:37 Jenkinsfile 20:39:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:37 LICENSE 20:39:22 -rw-rw-r-- 1 jenkins jenkins 1732 May 31 20:37 Makefile 20:39:22 -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:37 OWNERS.md 20:39:22 -rw-rw-r-- 1 jenkins jenkins 3695 May 31 20:37 README.md 20:39:22 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION 20:39:22 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:37 bin 20:39:22 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 cmd 20:39:22 -rw-r--r-- 1 jenkins jenkins 18506 May 31 20:39 coverage.out 20:39:22 -rw-rw-r-- 1 jenkins jenkins 3285 May 31 20:37 go.mod 20:39:22 -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:37 go.sum 20:39:22 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 internal 20:39:22 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:37 mock 20:39:22 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 snap 20:39:22 -rw-rw-r-- 1 jenkins jenkins 227 May 31 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:22 + 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=076aceae7774eed065da4ce17ac21a3c9dad675d --label arch=amd64 --label version=3.0.0 . 20:39:22 Sending build context to Docker daemon 6.614MB 20:39:22 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:39:22 Step 2/24 : FROM ${BASE} AS builder 20:39:22 ---> b6ad554d4387 20:39:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:39:22 ---> Running in 855faca0e0c6 20:39:23 Removing intermediate container 855faca0e0c6 20:39:23 ---> 1940bae92bb1 20:39:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:23 ---> Running in 0f447b4a997d 20:39:23 Removing intermediate container 0f447b4a997d 20:39:23 ---> 9028edc9cf59 20:39:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:39:23 ---> Running in 6e0553b744c5 20:39:23 Removing intermediate container 6e0553b744c5 20:39:23 ---> 6c11cd5548a6 20:39:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:39:23 ---> Running in 87c4439bae8e 20:39:23 Removing intermediate container 87c4439bae8e 20:39:23 ---> 40faadeb00e2 20:39:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:23 ---> Running in c8b7beff3a61 20:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:23 OK: 269 MiB in 57 packages 20:39:24 Removing intermediate container c8b7beff3a61 20:39:24 ---> bd7c28ab6e65 20:39:24 Step 8/24 : WORKDIR /device-mqtt-go 20:39:24 ---> Running in 2780526b76ea 20:39:24 Removing intermediate container 2780526b76ea 20:39:24 ---> 790f2813c21d 20:39:24 Step 9/24 : COPY go.mod vendor* ./ 20:39:24 ---> 27c0ed52bed6 20:39:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:24 ---> Running in dc561bd56cb3 20:39:25 Removing intermediate container dc561bd56cb3 20:39:25 ---> 2cf16931fe87 20:39:25 Step 11/24 : COPY . . 20:39:25 ---> 715d580e8159 20:39:25 Step 12/24 : RUN $MAKE 20:39:25 ---> Running in 166641da5251 20:39:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 20:39:58 Removing intermediate container 166641da5251 20:39:58 ---> 02b0e9148755 20:39:58 Step 13/24 : FROM alpine:3.17 20:39:58 3.17: Pulling from library/alpine 20:39:58 f56be85fc22e: Already exists 20:39:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:39:58 Status: Downloaded newer image for alpine:3.17 20:39:58 ---> 9ed4aefc74f6 20:39:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:39:58 ---> Running in 5e79466db0a4 20:39:58 Removing intermediate container 5e79466db0a4 20:39:58 ---> 24ce5d585e30 20:39:58 Step 15/24 : RUN apk add --update --no-cache dumb-init 20:39:58 ---> Running in 1b219f628399 20:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:58 (1/1) Installing dumb-init (1.2.5-r2) 20:39:58 Executing busybox-1.35.0-r29.trigger 20:39:58 OK: 7 MiB in 16 packages 20:39:58 Removing intermediate container 1b219f628399 20:39:58 ---> a893cd6002ca 20:39:58 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:39:58 ---> 87aad25f9a92 20:39:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:39:58 ---> 441d06cec79b 20:39:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:39:58 ---> b8ec66f45d52 20:39:58 Step 19/24 : EXPOSE 59982 20:39:58 ---> Running in 6b7b216d871b 20:39:58 Removing intermediate container 6b7b216d871b 20:39:58 ---> 1a42bebe5423 20:39:58 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:39:58 ---> Running in 3b7275a305d3 20:39:58 Removing intermediate container 3b7275a305d3 20:39:58 ---> abc46c21a62c 20:39:58 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:39:58 ---> Running in f4875cc0a6f8 20:39:59 Removing intermediate container f4875cc0a6f8 20:39:59 ---> 6e55da07f6e9 20:39:59 Step 22/24 : LABEL arch=amd64 20:39:59 ---> Running in 7871ab94b473 20:39:59 Removing intermediate container 7871ab94b473 20:39:59 ---> ad4c50a48cb8 20:39:59 Step 23/24 : LABEL git_sha=076aceae7774eed065da4ce17ac21a3c9dad675d 20:39:59 ---> Running in a14a16929898 20:39:59 Removing intermediate container a14a16929898 20:39:59 ---> d8ce88875c77 20:39:59 Step 24/24 : LABEL version=3.0.0 20:39:59 ---> Running in 274ff9d6e24f 20:39:59 Removing intermediate container 274ff9d6e24f 20:39:59 ---> b5a8f5cbb679 20:39:59 [Warning] One or more build-args [ARCH] were not consumed 20:39:59 Successfully built b5a8f5cbb679 20:39:59 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:59 provisioning config files... 20:39:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14863695932400511386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:59 ---> docker-login.sh 20:39:59 nexus3.edgexfoundry.org:10001 20:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:59 Configure a credential helper to remove this warning. See 20:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:59 20:39:59 Login Succeeded 20:39:59 nexus3.edgexfoundry.org:10002 20:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:59 Configure a credential helper to remove this warning. See 20:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:59 20:39:59 Login Succeeded 20:39:59 nexus3.edgexfoundry.org:10003 20:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:00 Configure a credential helper to remove this warning. See 20:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:00 20:40:00 Login Succeeded 20:40:00 nexus3.edgexfoundry.org:10004 20:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:00 Configure a credential helper to remove this warning. See 20:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:00 20:40:00 Login Succeeded 20:40:00 docker.io 20:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:00 Configure a credential helper to remove this warning. See 20:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:00 20:40:00 Login Succeeded 20:40:00 ---> docker-login.sh ends [Pipeline] } 20:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:40:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:00 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:40:00 076aceae7774eed065da4ce17ac21a3c9dad675d 20:40:00 latest 20:40:00 3.0.0 20:40:00 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 20:40:00 main 20:40:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d 20:40:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:40:01 3c2e730e5477: Preparing 20:40:01 9e966c6df193: Preparing 20:40:01 5156903985a8: Preparing 20:40:01 059613446622: Preparing 20:40:01 f1417ff83b31: Preparing 20:40:01 f1417ff83b31: Layer already exists 20:40:01 9e966c6df193: Pushed 20:40:01 059613446622: Pushed 20:40:01 3c2e730e5477: Pushed 20:40:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17553 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:40:01 Running in /w/workspace/device-mqtt-go/128 [Pipeline] { [Pipeline] checkout 20:40:01 Selected Git installation does not exist. Using Default 20:40:01 The recommended git tool is: NONE 20:40:03 5156903985a8: Pushed 20:40:03 076aceae7774eed065da4ce17ac21a3c9dad675d: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:40:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:40:04 3c2e730e5477: Preparing 20:40:04 9e966c6df193: Preparing 20:40:04 5156903985a8: Preparing 20:40:04 059613446622: Preparing 20:40:04 f1417ff83b31: Preparing 20:40:04 059613446622: Layer already exists 20:40:04 5156903985a8: Layer already exists 20:40:04 9e966c6df193: Layer already exists 20:40:04 3c2e730e5477: Layer already exists 20:40:04 f1417ff83b31: Layer already exists 20:40:04 latest: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0 20:40:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:40:05 3c2e730e5477: Preparing 20:40:05 9e966c6df193: Preparing 20:40:05 5156903985a8: Preparing 20:40:05 059613446622: Preparing 20:40:05 f1417ff83b31: Preparing 20:40:05 5156903985a8: Layer already exists 20:40:05 3c2e730e5477: Layer already exists 20:40:05 059613446622: Layer already exists 20:40:05 f1417ff83b31: Layer already exists 20:40:05 9e966c6df193: Layer already exists 20:40:05 3.0.0: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 20:40:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:40:05 3c2e730e5477: Preparing 20:40:05 9e966c6df193: Preparing 20:40:05 5156903985a8: Preparing 20:40:05 059613446622: Preparing 20:40:05 f1417ff83b31: Preparing 20:40:05 059613446622: Layer already exists 20:40:05 f1417ff83b31: Layer already exists 20:40:05 9e966c6df193: Layer already exists 20:40:05 3c2e730e5477: Layer already exists 20:40:05 5156903985a8: Layer already exists 20:40:05 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:40:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:40:06 3c2e730e5477: Preparing 20:40:06 9e966c6df193: Preparing 20:40:06 5156903985a8: Preparing 20:40:06 059613446622: Preparing 20:40:06 f1417ff83b31: Preparing 20:40:06 5156903985a8: Layer already exists 20:40:06 059613446622: Layer already exists 20:40:06 f1417ff83b31: Layer already exists 20:40:06 3c2e730e5477: Layer already exists 20:40:06 9e966c6df193: Layer already exists 20:40:06 main: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:40:06 ===================================================== [Pipeline] echo 20:40:06 taggedImages: 20:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d 20:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0 20:40:06 - nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 20:40:06 - 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 20:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:06 20:40:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:07 latest: Pulling from edgex-lftools-log-publisher 20:40:07 5eb5b503b376: Pulling fs layer 20:40:07 5c69ac0246d0: Pulling fs layer 20:40:07 ec43610c2a17: Pulling fs layer 20:40:07 3a2ae6a8a46f: Pulling fs layer 20:40:07 33b1e0a273af: Pulling fs layer 20:40:07 5d3b04190fa2: Pulling fs layer 20:40:07 2f39f015ded8: Pulling fs layer 20:40:07 3a2ae6a8a46f: Waiting 20:40:07 2f39f015ded8: Waiting 20:40:07 5d3b04190fa2: Waiting 20:40:07 33b1e0a273af: Waiting 20:40:07 5c69ac0246d0: Download complete 20:40:07 3a2ae6a8a46f: Download complete 20:40:07 33b1e0a273af: Verifying Checksum 20:40:07 33b1e0a273af: Download complete 20:40:07 ec43610c2a17: Verifying Checksum 20:40:07 ec43610c2a17: Download complete 20:40:07 5d3b04190fa2: Download complete 20:40:07 5eb5b503b376: Verifying Checksum 20:40:07 5eb5b503b376: Download complete 20:40:08 2f39f015ded8: Download complete 20:40:08 using credential edgex-jenkins-ssh 20:40:08 Cloning the remote Git repository 20:40:08 5eb5b503b376: Pull complete 20:40:09 5c69ac0246d0: Pull complete 20:40:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:40:08 > git init /w/workspace/device-mqtt-go/128 # timeout=10 20:40:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:40:08 > git --version # timeout=10 20:40:08 > git --version # 'git version 2.25.1' 20:40:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:09 ec43610c2a17: Pull complete 20:40:09 3a2ae6a8a46f: Pull complete 20:40:10 33b1e0a273af: Pull complete 20:40:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:40:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:10 5d3b04190fa2: Pull complete 20:40:11 Avoid second fetch 20:40:11 Checking out Revision 076aceae7774eed065da4ce17ac21a3c9dad675d (main) 20:40:11 > git config core.sparsecheckout # timeout=10 20:40:11 > git checkout -f 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 20:40:12 Commit message: "docs: Add main branch warning (#612)" 20:40:12 20:40:12 GitHub has been notified of this commit’s build result 20:40:12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:40:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:40:13 Dload Upload Total Spent Left Speed 20:40:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 20:40:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:40:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:40:14 + sudo tee /etc/docker/daemon.new 20:40:14 { 20:40:14 "registry-mirrors": [ 20:40:14 "https://nexus3.edgexfoundry.org:10001" 20:40:14 ], 20:40:14 "bip": "10.250.0.254/24", 20:40:14 "hosts": [ 20:40:14 "tcp://0.0.0.0:5555", 20:40:14 "unix:///var/run/docker.sock" 20:40:14 ], 20:40:14 "mtu": 1458, 20:40:14 "selinux-enabled": true, 20:40:14 "seccomp-profile": "/etc/docker/seccomp.json" 20:40:14 } [Pipeline] sh 20:40:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:40:14 + sudo service docker restart 20:40:15 2f39f015ded8: Pull complete 20:40:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:40:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:15 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:40:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:40:21 $ docker top 7cbc2d949b05c8fd4f0075b5dcc0925ecac85ed07b9a0d497ed8f418d4638bf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:21 ---> job-cost.sh 20:40:21 lf-activate-venv: SKIPPING 20:40:21 INFO: No Stack... 20:40:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:40:22 INFO: Archiving Costs [Pipeline] sh 20:40:23 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:40:23 + cut -d, -f6 [Pipeline] lock 20:40:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] 20:40:23 Resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] did not exist. Created. 20:40:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:23 + echo total: 0.2199999988079071 [Pipeline] stash 20:40:23 Stashed 1 file(s) [Pipeline] } 20:40:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:23 $ docker stop --time=1 7cbc2d949b05c8fd4f0075b5dcc0925ecac85ed07b9a0d497ed8f418d4638bf5 20:40:24 $ docker rm -f --volumes 7cbc2d949b05c8fd4f0075b5dcc0925ecac85ed07b9a0d497ed8f418d4638bf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh 20:40:33 + git checkout 076aceae7774eed065da4ce17ac21a3c9dad675d 20:40:33 HEAD is now at 076acea docs: Add main branch warning (#612) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:33 provisioning config files... 20:40:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/128@tmp/config14828649000420571797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:33 ---> docker-login.sh 20:40:33 nexus3.edgexfoundry.org:10001 20:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:34 Configure a credential helper to remove this warning. See 20:40:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:34 20:40:34 Login Succeeded 20:40:34 nexus3.edgexfoundry.org:10002 20:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:35 Configure a credential helper to remove this warning. See 20:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:35 20:40:35 Login Succeeded 20:40:35 nexus3.edgexfoundry.org:10003 20:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:35 Configure a credential helper to remove this warning. See 20:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:35 20:40:35 Login Succeeded 20:40:35 nexus3.edgexfoundry.org:10004 20:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:35 Configure a credential helper to remove this warning. See 20:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:35 20:40:35 Login Succeeded 20:40:35 docker.io 20:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:36 Configure a credential helper to remove this warning. See 20:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:36 20:40:36 Login Succeeded 20:40:36 ---> docker-login.sh ends [Pipeline] } 20:40:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:36 ========================================================= 20:40:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:40:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:40:37 Sending build context to Docker daemon 3.449MB 20:40:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:40:37 Step 2/12 : FROM ${BASE} AS builder 20:40:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:40:37 c41833b44d91: Pulling fs layer 20:40:37 ed15518f5707: Pulling fs layer 20:40:37 feae8fd75edb: Pulling fs layer 20:40:37 242c74f7c9fa: Pulling fs layer 20:40:37 3cdef696dda3: Pulling fs layer 20:40:37 2ced38df9373: Pulling fs layer 20:40:37 58f1dce35555: Pulling fs layer 20:40:37 242c74f7c9fa: Waiting 20:40:37 3cdef696dda3: Waiting 20:40:37 2ced38df9373: Waiting 20:40:37 58f1dce35555: Waiting 20:40:37 ed15518f5707: Verifying Checksum 20:40:37 ed15518f5707: Download complete 20:40:38 242c74f7c9fa: Verifying Checksum 20:40:38 242c74f7c9fa: Download complete 20:40:38 3cdef696dda3: Verifying Checksum 20:40:38 3cdef696dda3: Download complete 20:40:38 c41833b44d91: Verifying Checksum 20:40:38 c41833b44d91: Download complete 20:40:39 c41833b44d91: Pull complete 20:40:39 58f1dce35555: Verifying Checksum 20:40:39 58f1dce35555: Download complete 20:40:39 ed15518f5707: Pull complete 20:40:40 feae8fd75edb: Verifying Checksum 20:40:40 feae8fd75edb: Download complete 20:40:41 2ced38df9373: Verifying Checksum 20:40:41 2ced38df9373: Download complete 20:40:53 feae8fd75edb: Pull complete 20:40:53 242c74f7c9fa: Pull complete 20:40:53 3cdef696dda3: Pull complete 20:41:00 2ced38df9373: Pull complete 20:41:01 58f1dce35555: Pull complete 20:41:01 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:41:01 ---> fadd8f120f05 20:41:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:41:04 ---> Running in 1bc26e753a08 20:41:04 Removing intermediate container 1bc26e753a08 20:41:04 ---> 4108336ef933 20:41:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:04 ---> Running in 39b5d82246e2 20:41:04 Removing intermediate container 39b5d82246e2 20:41:04 ---> 9b6cd0b3b9c0 20:41:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:41:05 ---> Running in fbfa52d6f146 20:41:05 Removing intermediate container fbfa52d6f146 20:41:05 ---> e3d8e67ca1f8 20:41:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:41:05 ---> Running in 95ed6b39de15 20:41:06 Removing intermediate container 95ed6b39de15 20:41:06 ---> 16dd77c44536 20:41:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:06 ---> Running in 7831e0f0dba1 20:41:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:41:09 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:41:09 (2/4) Installing libedit (20221030.3.1-r0) 20:41:09 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:41:09 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:41:09 Executing busybox-1.35.0-r29.trigger 20:41:09 OK: 268 MiB in 57 packages 20:41:10 Removing intermediate container 7831e0f0dba1 20:41:10 ---> 7ecaf9cca752 20:41:10 Step 8/12 : WORKDIR /device-mqtt-go 20:41:10 ---> Running in 89abdbb15ee0 20:41:11 Removing intermediate container 89abdbb15ee0 20:41:11 ---> 4fda2614f8ac 20:41:11 Step 9/12 : COPY go.mod vendor* ./ 20:41:11 ---> 002e65a2fbe6 20:41:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:11 ---> Running in 8f77db631abf 20:42:33 Removing intermediate container 8f77db631abf 20:42:33 ---> 18403d2f8230 20:42:33 Step 11/12 : COPY . . 20:42:33 ---> f122fbdd1a12 20:42:33 Step 12/12 : RUN $MAKE 20:42:33 ---> Running in 3dc499b99f9f 20:42:33 noop 20:42:33 Removing intermediate container 3dc499b99f9f 20:42:33 ---> 620a098d37aa 20:42:33 Successfully built 620a098d37aa 20:42:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:33 + docker inspect -f . ci-base-image-arm64 20:42:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:34 prd-ubuntu20.04-docker-arm64-4c-16g-17553 does not seem to be running inside a container 20:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/128 -v /w/workspace/device-mqtt-go/128:/w/workspace/device-mqtt-go/128:rw,z -v /w/workspace/device-mqtt-go/128@tmp:/w/workspace/device-mqtt-go/128@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 ******** -e ******** ci-base-image-arm64 cat 20:42:35 $ docker top 7980e023325c2fc0f6aed0c1cbc0bab7ddf35544db4ff1a70b3e4564a692265b -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:36 + go version 20:42:36 go version go1.20.2 linux/arm64 [Pipeline] } 20:42:36 $ docker stop --time=1 7980e023325c2fc0f6aed0c1cbc0bab7ddf35544db4ff1a70b3e4564a692265b 20:42:38 $ docker rm -f --volumes 7980e023325c2fc0f6aed0c1cbc0bab7ddf35544db4ff1a70b3e4564a692265b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:39 + docker inspect -f . ci-base-image-arm64 20:42:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:39 prd-ubuntu20.04-docker-arm64-4c-16g-17553 does not seem to be running inside a container 20:42:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/128 -v /w/workspace/device-mqtt-go/128:/w/workspace/device-mqtt-go/128:rw,z -v /w/workspace/device-mqtt-go/128@tmp:/w/workspace/device-mqtt-go/128@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 ******** -e ******** ci-base-image-arm64 cat 20:42:40 $ docker top 3034bb9de5c490d5f69d7bd91d0d6c8d65b42c425ebad18d062598b8adeb31b7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:41 + git config --global --add safe.directory /w/workspace/device-mqtt-go/128 [Pipeline] fileExists [Pipeline] sh 20:42:42 + make test 20:42:42 go test ./... -coverprofile=coverage.out ./... 20:43:29 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:46:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:46:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:46:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.087s coverage: 22.8% of statements 20:46:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:46:07 go vet ./... 20:46:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:46:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:46:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:46:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:46:46 $ docker stop --time=1 3034bb9de5c490d5f69d7bd91d0d6c8d65b42c425ebad18d062598b8adeb31b7 20:46:48 $ docker rm -f --volumes 3034bb9de5c490d5f69d7bd91d0d6c8d65b42c425ebad18d062598b8adeb31b7 [Pipeline] // withDockerContainer [Pipeline] sh 20:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:46:49 Warning: overwriting stash ‘coverage-report’ 20:46:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:46:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:46:51 + ls -al . 20:46:51 total 180 20:46:51 drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:42 . 20:46:51 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 .. 20:46:51 -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:40 .dockerignore 20:46:51 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:40 .git 20:46:51 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 .github 20:46:51 -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:40 .gitignore 20:46:51 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:40 .golangci.yml 20:46:51 -rw-rw-r-- 1 jenkins jenkins 9417 May 31 20:40 Attribution.txt 20:46:51 -rw-rw-r-- 1 jenkins jenkins 17522 May 31 20:40 CHANGELOG.md 20:46:51 -rw-rw-r-- 1 jenkins jenkins 1689 May 31 20:40 Dockerfile 20:46:51 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:40 GOVERNANCE.md 20:46:51 -rw-rw-r-- 1 jenkins jenkins 678 May 31 20:40 Jenkinsfile 20:46:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:40 LICENSE 20:46:51 -rw-rw-r-- 1 jenkins jenkins 1732 May 31 20:40 Makefile 20:46:51 -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:40 OWNERS.md 20:46:51 -rw-rw-r-- 1 jenkins jenkins 3695 May 31 20:40 README.md 20:46:51 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION 20:46:51 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:40 bin 20:46:51 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 cmd 20:46:51 -rw-r--r-- 1 jenkins jenkins 18506 May 31 20:46 coverage.out 20:46:51 -rw-rw-r-- 1 jenkins jenkins 3285 May 31 20:40 go.mod 20:46:51 -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:40 go.sum 20:46:51 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 internal 20:46:51 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:40 mock 20:46:51 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 snap 20:46:51 -rw-rw-r-- 1 jenkins jenkins 227 May 31 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:51 + 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=076aceae7774eed065da4ce17ac21a3c9dad675d --label arch=arm64 --label version=3.0.0 . 20:46:51 Sending build context to Docker daemon 3.468MB 20:46:52 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:46:52 Step 2/24 : FROM ${BASE} AS builder 20:46:52 ---> 620a098d37aa 20:46:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:46:52 ---> Running in f797d4ca7270 20:46:52 Removing intermediate container f797d4ca7270 20:46:52 ---> ab8f1161a5e1 20:46:52 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:52 ---> Running in 76bb6c1cd478 20:46:53 Removing intermediate container 76bb6c1cd478 20:46:53 ---> 1118a2e07215 20:46:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:46:53 ---> Running in 4750ffaefa47 20:46:53 Removing intermediate container 4750ffaefa47 20:46:53 ---> 8832eb89254b 20:46:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:46:53 ---> Running in f8b2014b5702 20:46:54 Removing intermediate container f8b2014b5702 20:46:54 ---> ffdebbaad046 20:46:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:54 ---> Running in 836add1e280f 20:46:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:46:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:46:58 OK: 268 MiB in 57 packages 20:47:00 Removing intermediate container 836add1e280f 20:47:00 ---> 440061b06ddb 20:47:00 Step 8/24 : WORKDIR /device-mqtt-go 20:47:00 ---> Running in 068ae588dd2e 20:47:00 Removing intermediate container 068ae588dd2e 20:47:00 ---> b56da9ec422f 20:47:00 Step 9/24 : COPY go.mod vendor* ./ 20:47:00 ---> 067eed845ad9 20:47:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:01 ---> Running in b4c7cbb21e58 20:47:04 Removing intermediate container b4c7cbb21e58 20:47:04 ---> 7d48641afa35 20:47:04 Step 11/24 : COPY . . 20:47:05 ---> c9301dbd6e98 20:47:05 Step 12/24 : RUN $MAKE 20:47:05 ---> Running in 2a8cbe10869d 20:47:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 20:49:58 Removing intermediate container 2a8cbe10869d 20:49:58 ---> cd0ddfe18efc 20:49:58 Step 13/24 : FROM alpine:3.17 20:49:58 3.17: Pulling from library/alpine 20:49:58 c41833b44d91: Already exists 20:49:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:49:58 Status: Downloaded newer image for alpine:3.17 20:49:58 ---> 51e60588ff2c 20:49:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:49:58 ---> Running in a79a25c18c60 20:49:58 Removing intermediate container a79a25c18c60 20:49:58 ---> 3c3a3b1c087d 20:49:58 Step 15/24 : RUN apk add --update --no-cache dumb-init 20:49:58 ---> Running in 00d5e83211e8 20:49:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:50:02 (1/1) Installing dumb-init (1.2.5-r2) 20:50:02 Executing busybox-1.35.0-r29.trigger 20:50:02 OK: 8 MiB in 16 packages 20:50:03 Removing intermediate container 00d5e83211e8 20:50:03 ---> c0c7e8676900 20:50:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:50:04 ---> 3854076804a0 20:50:04 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:50:05 ---> b0c54bbad28f 20:50:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:50:05 ---> 179b98870271 20:50:05 Step 19/24 : EXPOSE 59982 20:50:05 ---> Running in be7d46140e85 20:50:06 Removing intermediate container be7d46140e85 20:50:06 ---> cdc6a23bd677 20:50:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:50:06 ---> Running in bbd3862d08d1 20:50:06 Removing intermediate container bbd3862d08d1 20:50:06 ---> 1f769d489e82 20:50:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:50:06 ---> Running in a2bf53cb8435 20:50:07 Removing intermediate container a2bf53cb8435 20:50:07 ---> 92c8cf15ad5a 20:50:07 Step 22/24 : LABEL arch=arm64 20:50:07 ---> Running in dd19e00cfbc9 20:50:07 Removing intermediate container dd19e00cfbc9 20:50:07 ---> 0d897926f64e 20:50:07 Step 23/24 : LABEL git_sha=076aceae7774eed065da4ce17ac21a3c9dad675d 20:50:07 ---> Running in a827e8a3984e 20:50:08 Removing intermediate container a827e8a3984e 20:50:08 ---> a2b8bfe32ba6 20:50:08 Step 24/24 : LABEL version=3.0.0 20:50:08 ---> Running in 9833481b1c91 20:50:08 Removing intermediate container 9833481b1c91 20:50:08 ---> 770ee89a14fd 20:50:08 [Warning] One or more build-args [ARCH] were not consumed 20:50:08 Successfully built 770ee89a14fd 20:50:08 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 20:50:08 provisioning config files... 20:50:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/128@tmp/config15778947023445022260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:09 ---> docker-login.sh 20:50:09 nexus3.edgexfoundry.org:10001 20:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:09 Configure a credential helper to remove this warning. See 20:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:09 20:50:09 Login Succeeded 20:50:09 nexus3.edgexfoundry.org:10002 20:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:09 Configure a credential helper to remove this warning. See 20:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:09 20:50:09 Login Succeeded 20:50:09 nexus3.edgexfoundry.org:10003 20:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:10 Configure a credential helper to remove this warning. See 20:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:10 20:50:10 Login Succeeded 20:50:10 nexus3.edgexfoundry.org:10004 20:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:10 Configure a credential helper to remove this warning. See 20:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:10 20:50:10 Login Succeeded 20:50:10 docker.io 20:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:11 Configure a credential helper to remove this warning. See 20:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:11 20:50:11 Login Succeeded 20:50:11 ---> docker-login.sh ends [Pipeline] } 20:50:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:11 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:50:11 076aceae7774eed065da4ce17ac21a3c9dad675d 20:50:11 latest 20:50:11 3.0.0 20:50:11 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 20:50:11 main 20:50:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d 20:50:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:50:12 998c91fe3757: Preparing 20:50:12 ee2b6cd98b63: Preparing 20:50:12 4a5659692d66: Preparing 20:50:12 858d6a0603e6: Preparing 20:50:12 26cbea5cba74: Preparing 20:50:12 26cbea5cba74: Layer already exists 20:50:12 998c91fe3757: Pushed 20:50:12 858d6a0603e6: Pushed 20:50:12 ee2b6cd98b63: Pushed 20:50:19 4a5659692d66: Pushed 20:50:19 076aceae7774eed065da4ce17ac21a3c9dad675d: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:50:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:50:20 998c91fe3757: Preparing 20:50:20 ee2b6cd98b63: Preparing 20:50:20 4a5659692d66: Preparing 20:50:20 858d6a0603e6: Preparing 20:50:20 26cbea5cba74: Preparing 20:50:20 858d6a0603e6: Layer already exists 20:50:20 26cbea5cba74: Layer already exists 20:50:20 4a5659692d66: Layer already exists 20:50:20 998c91fe3757: Layer already exists 20:50:20 ee2b6cd98b63: Layer already exists 20:50:20 latest: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0 20:50:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:50:21 998c91fe3757: Preparing 20:50:21 ee2b6cd98b63: Preparing 20:50:21 4a5659692d66: Preparing 20:50:21 858d6a0603e6: Preparing 20:50:21 26cbea5cba74: Preparing 20:50:21 ee2b6cd98b63: Layer already exists 20:50:21 998c91fe3757: Layer already exists 20:50:21 858d6a0603e6: Layer already exists 20:50:21 4a5659692d66: Layer already exists 20:50:21 26cbea5cba74: Layer already exists 20:50:21 3.0.0: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 20:50:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:50:22 998c91fe3757: Preparing 20:50:22 ee2b6cd98b63: Preparing 20:50:22 4a5659692d66: Preparing 20:50:22 858d6a0603e6: Preparing 20:50:22 26cbea5cba74: Preparing 20:50:22 ee2b6cd98b63: Layer already exists 20:50:22 4a5659692d66: Layer already exists 20:50:22 998c91fe3757: Layer already exists 20:50:22 858d6a0603e6: Layer already exists 20:50:22 26cbea5cba74: Layer already exists 20:50:22 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:50:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:50:23 998c91fe3757: Preparing 20:50:23 ee2b6cd98b63: Preparing 20:50:23 4a5659692d66: Preparing 20:50:23 858d6a0603e6: Preparing 20:50:23 26cbea5cba74: Preparing 20:50:23 4a5659692d66: Layer already exists 20:50:23 ee2b6cd98b63: Layer already exists 20:50:23 26cbea5cba74: Layer already exists 20:50:23 998c91fe3757: Layer already exists 20:50:23 858d6a0603e6: Layer already exists 20:50:23 main: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:50:23 ===================================================== [Pipeline] echo 20:50:23 taggedImages: 20:50:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d 20:50:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:50:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0 20:50:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 20:50:23 - 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 20:50:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:24 20:50:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:24 arm64: Pulling from edgex-lftools-log-publisher 20:50:24 8998bd30e6a1: Pulling fs layer 20:50:24 04944245beec: Pulling fs layer 20:50:24 699f458cf7ca: Pulling fs layer 20:50:24 765212b225bb: Pulling fs layer 20:50:24 f23df028b6ca: Pulling fs layer 20:50:24 d65c8cfc05b1: Pulling fs layer 20:50:24 2437ff75d9bd: Pulling fs layer 20:50:24 765212b225bb: Waiting 20:50:24 f23df028b6ca: Waiting 20:50:24 d65c8cfc05b1: Waiting 20:50:24 2437ff75d9bd: Waiting 20:50:24 04944245beec: Verifying Checksum 20:50:24 04944245beec: Download complete 20:50:24 765212b225bb: Verifying Checksum 20:50:24 765212b225bb: Download complete 20:50:24 f23df028b6ca: Verifying Checksum 20:50:24 f23df028b6ca: Download complete 20:50:24 d65c8cfc05b1: Verifying Checksum 20:50:24 d65c8cfc05b1: Download complete 20:50:24 699f458cf7ca: Verifying Checksum 20:50:24 699f458cf7ca: Download complete 20:50:25 8998bd30e6a1: Verifying Checksum 20:50:25 8998bd30e6a1: Download complete 20:50:27 2437ff75d9bd: Verifying Checksum 20:50:27 2437ff75d9bd: Download complete 20:50:29 8998bd30e6a1: Pull complete 20:50:30 04944245beec: Pull complete 20:50:31 699f458cf7ca: Pull complete 20:50:31 765212b225bb: Pull complete 20:50:32 f23df028b6ca: Pull complete 20:50:32 d65c8cfc05b1: Pull complete 20:50:47 2437ff75d9bd: Pull complete 20:50:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:50:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:48 prd-ubuntu20.04-docker-arm64-4c-16g-17553 does not seem to be running inside a container 20:50:48 $ 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/128 -v /w/workspace/device-mqtt-go/128:/w/workspace/device-mqtt-go/128:rw,z -v /w/workspace/device-mqtt-go/128@tmp:/w/workspace/device-mqtt-go/128@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:50:51 $ docker top 27d70760b37e6aadda1c3de9bf81a790dd4e5e8e7c77144746367b96a5b94f69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:52 ---> job-cost.sh 20:50:52 lf-activate-venv: SKIPPING 20:50:52 INFO: No Stack... 20:50:52 INFO: Retrieving Pricing Info for: v3-standard-4 20:50:53 INFO: Archiving Costs [Pipeline] sh 20:50:54 + cat /w/workspace/device-mqtt-go/128/archives/cost.csv 20:50:54 + cut -d, -f6 [Pipeline] lock 20:50:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] 20:50:54 Resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] did not exist. Created. 20:50:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:50:55 /w/workspace/device-mqtt-go/128@tmp/durable-5d4a5088/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:50:55 + echo total: 0.10999999940395355 [Pipeline] stash 20:50:55 Warning: overwriting stash ‘stack-cost’ 20:50:55 Stashed 1 file(s) [Pipeline] } 20:50:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } 20:50:55 $ docker stop --time=1 27d70760b37e6aadda1c3de9bf81a790dd4e5e8e7c77144746367b96a5b94f69 20:50:57 $ docker rm -f --volumes 27d70760b37e6aadda1c3de9bf81a790dd4e5e8e7c77144746367b96a5b94f69 [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 20:50:57 provisioning config files... 20:50:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3104392793920903762tmp [Pipeline] { [Pipeline] sh 20:50:58 + set +x 20:50:58 + + curl -s https://codecov.io/bashbash 20:50:58 -s -- 20:50:58 20:50:58 _____ _ 20:50:58 / ____| | | 20:50:58 | | ___ __| | ___ ___ _____ __ 20:50:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:50:58 | |___| (_) | (_| | __/ (_| (_) \ V / 20:50:58 \_____\___/ \__,_|\___|\___\___/ \_/ 20:50:58 Bash-1.0.6 20:50:58 20:50:58 20:50:58 ==> git version 2.25.1 found 20:50:58 ==> 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 20:50:58 Release-Date: 2020-01-08 20:50:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:50:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:50:58 ==> Jenkins CI detected. 20:50:58 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:50:58 project root: . 20:50:58 --> token set from env 20:50:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:50:58 ==> Running gcov in . (disable via -X gcov) 20:50:58 ==> Python coveragepy not found 20:50:58 ==> Searching for coverage reports in: 20:50:58 + . 20:50:58 -> Found 1 reports 20:50:58 ==> Detecting git/mercurial file structure 20:50:58 ==> Reading reports 20:50:58 + ./coverage.out bytes=18506 20:50:58 ==> Appending adjustments 20:50:58 https://docs.codecov.io/docs/fixing-reports 20:50:58 + Found adjustments 20:50:58 ==> Gzipping contents 20:50:58 4.0K /tmp/codecov.k3NSH1.gz 20:50:58 ==> Uploading reports 20:50:58 url: https://codecov.io 20:50:58 query: branch=main&commit=076aceae7774eed065da4ce17ac21a3c9dad675d&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:50:58 -> Pinging Codecov 20:50:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=076aceae7774eed065da4ce17ac21a3c9dad675d&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:50:58 -> Uploading to 20:50:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/7D719EC7BBE17E464838252E33014C33/076aceae7774eed065da4ce17ac21a3c9dad675d/fdf5cf0e-7d29-4329-b9ce-294a534fb9fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=86845c072abda83850b69caca3cdf6e35f8c95d2adfca6c2aca261e21ceb7d18 20:50:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:50:58 Dload Upload Total Spent Left Speed 20:50:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 13412 --:--:-- --:--:-- --:--:-- 13412 20:50:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } 20:50:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:50:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:50:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:50:59 20:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:50:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:50:59 df9b9388f04a: Pulling fs layer 20:50:59 52dc419b0ee2: Pulling fs layer 20:50:59 25bc292e5bac: Pulling fs layer 20:50:59 114826534d7a: Pulling fs layer 20:50:59 4657fd5d0bcf: Pulling fs layer 20:50:59 6ad1cebc031e: Pulling fs layer 20:50:59 8a3aa393b2d8: Pulling fs layer 20:50:59 6ad1cebc031e: Waiting 20:50:59 114826534d7a: Waiting 20:50:59 8a3aa393b2d8: Waiting 20:50:59 4657fd5d0bcf: Waiting 20:50:59 25bc292e5bac: Verifying Checksum 20:50:59 25bc292e5bac: Download complete 20:50:59 52dc419b0ee2: Verifying Checksum 20:50:59 52dc419b0ee2: Download complete 20:50:59 4657fd5d0bcf: Verifying Checksum 20:50:59 4657fd5d0bcf: Download complete 20:50:59 df9b9388f04a: Download complete 20:51:00 6ad1cebc031e: Verifying Checksum 20:51:00 6ad1cebc031e: Download complete 20:51:00 df9b9388f04a: Pull complete 20:51:00 52dc419b0ee2: Pull complete 20:51:00 25bc292e5bac: Pull complete 20:51:00 114826534d7a: Verifying Checksum 20:51:00 114826534d7a: Download complete 20:51:00 8a3aa393b2d8: Verifying Checksum 20:51:00 8a3aa393b2d8: Download complete 20:51:03 114826534d7a: Pull complete 20:51:03 4657fd5d0bcf: Pull complete 20:51:04 6ad1cebc031e: Pull complete 20:51:06 8a3aa393b2d8: Pull complete 20:51:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:51:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:06 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:51:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:51:10 $ docker top a77dfee9b3604acc10233f6921654dab5e77aab30d4c4dc5a16f0343e02b385b -eo pid,comm [Pipeline] { [Pipeline] echo 20:51:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 20:51:10 + set -o pipefail 20:51:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 20:51:15 20:51:15 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:51:15 20:51:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/ff327561-10d1-4f4c-8d10-b535e98f928a 20:51:15 20:51:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:51:15 20:51:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:51:15 20:51:15 20:51:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:51:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:51:15 More details here: https://snyk.co/ue1NS [Pipeline] } 20:51:15 $ docker stop --time=1 a77dfee9b3604acc10233f6921654dab5e77aab30d4c4dc5a16f0343e02b385b 20:51:18 $ docker rm -f --volumes a77dfee9b3604acc10233f6921654dab5e77aab30d4c4dc5a16f0343e02b385b [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 20:51:19 + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] sh 20:51:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:51:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:19 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:51:19 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:51:20 $ docker top e5d3f702cc6938e4a569391b63cb47d3459632f50d4e06fe84da37e72c227eb5 -eo pid,comm 20:51:20 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). 20:51:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:20 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.43' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:20 + git semver [Pipeline] } 20:51:20 $ docker stop --time=1 e5d3f702cc6938e4a569391b63cb47d3459632f50d4e06fe84da37e72c227eb5 20:51:22 $ docker rm -f --volumes e5d3f702cc6938e4a569391b63cb47d3459632f50d4e06fe84da37e72c227eb5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:22 20:51:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:22 0.23.1-centos7: Pulling from edgex-lftools 20:51:22 ab5ef0e58194: Pulling fs layer 20:51:22 9712f1f96733: Pulling fs layer 20:51:22 63f879dbbcfc: Pulling fs layer 20:51:22 0d9ebad4ef96: Pulling fs layer 20:51:22 e9a5061849ea: Pulling fs layer 20:51:22 d747dcd14b5f: Pulling fs layer 20:51:22 2de7ff778b66: Pulling fs layer 20:51:22 0d9ebad4ef96: Waiting 20:51:22 e9a5061849ea: Waiting 20:51:22 d747dcd14b5f: Waiting 20:51:22 2de7ff778b66: Waiting 20:51:22 9712f1f96733: Verifying Checksum 20:51:22 9712f1f96733: Download complete 20:51:23 63f879dbbcfc: Verifying Checksum 20:51:23 63f879dbbcfc: Download complete 20:51:23 ab5ef0e58194: Verifying Checksum 20:51:23 ab5ef0e58194: Download complete 20:51:23 d747dcd14b5f: Verifying Checksum 20:51:23 d747dcd14b5f: Download complete 20:51:23 e9a5061849ea: Verifying Checksum 20:51:23 e9a5061849ea: Download complete 20:51:23 0d9ebad4ef96: Verifying Checksum 20:51:23 0d9ebad4ef96: Download complete 20:51:23 2de7ff778b66: Download complete 20:51:26 ab5ef0e58194: Pull complete 20:51:26 9712f1f96733: Pull complete 20:51:26 63f879dbbcfc: Pull complete 20:51:29 0d9ebad4ef96: Pull complete 20:51:29 e9a5061849ea: Pull complete 20:51:29 d747dcd14b5f: Pull complete 20:51:30 2de7ff778b66: Pull complete 20:51:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:31 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:51:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:51:35 $ docker top 472c6d0ff70539a873c5556cd7334432ccc5415d2b4533c55ae1b2bb5e9867c2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:51:35 provisioning config files... 20:51:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10487552389101532940tmp 20:51:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18291351174758427680tmp 20:51:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2079632735489417930tmp [Pipeline] { [Pipeline] echo 20:51:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:51:35 ---> sigul-configuration.sh 20:51:35 gpg: directory `/root/.gnupg' created 20:51:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:51:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:51:35 gpg: keyring `/root/.gnupg/secring.gpg' created 20:51:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:51:35 gpg: CAST5 encrypted data 20:51:35 gpg: encrypted with 1 passphrase 20:51:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:51:35 + mkdir /home/jenkins 20:51:35 + mkdir /home/jenkins/sigul [Pipeline] sh 20:51:36 + 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 20:51:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:51:36 ---> sigul-install.sh 20:51:36 Sigul already installed; skipping installation. [Pipeline] sh 20:51:36 + git tag --list 20:51:36 0.7.1 20:51:36 v1.0.0 20:51:36 v1.1.0 20:51:36 v1.1.1 20:51:36 v1.2.2 20:51:36 v1.3.0 20:51:36 v1.3.1 20:51:36 v2.0.0 20:51:36 v2.1.0 20:51:36 v2.1.1 20:51:36 v2.1.1-dev.1 20:51:36 v2.1.1-dev.2 20:51:36 v2.2.0 20:51:36 v2.2.1-dev.1 20:51:36 v2.2.1-dev.10 20:51:36 v2.2.1-dev.2 20:51:36 v2.2.1-dev.3 20:51:36 v2.2.1-dev.4 20:51:36 v2.2.1-dev.5 20:51:36 v2.2.1-dev.6 20:51:36 v2.2.1-dev.7 20:51:36 v2.2.1-dev.8 20:51:36 v2.2.1-dev.9 20:51:36 v2.3.0 20:51:36 v2.3.0-dev.10 20:51:36 v2.3.0-dev.11 20:51:36 v2.3.0-dev.12 20:51:36 v2.3.0-dev.13 20:51:36 v2.3.0-dev.14 20:51:36 v2.3.0-dev.15 20:51:36 v2.3.0-dev.16 20:51:36 v2.3.0-dev.17 20:51:36 v2.3.0-dev.18 20:51:36 v2.3.0-dev.19 20:51:36 v2.3.0-dev.20 20:51:36 v2.3.0-dev.21 20:51:36 v2.3.0-dev.22 20:51:36 v2.3.0-dev.23 20:51:36 v2.3.0-dev.24 20:51:36 v2.3.0-dev.25 20:51:36 v2.3.0-dev.26 20:51:36 v2.3.0-dev.27 20:51:36 v2.3.0-dev.28 20:51:36 v2.3.0-dev.29 20:51:36 v2.3.0-dev.30 20:51:36 v2.3.0-dev.31 20:51:36 v2.3.0-dev.32 20:51:36 v2.3.0-dev.33 20:51:36 v2.3.0-dev.34 20:51:36 v3.0.0 20:51:36 v3.0.0-dev.1 20:51:36 v3.0.0-dev.10 20:51:36 v3.0.0-dev.11 20:51:36 v3.0.0-dev.12 20:51:36 v3.0.0-dev.13 20:51:36 v3.0.0-dev.14 20:51:36 v3.0.0-dev.15 20:51:36 v3.0.0-dev.16 20:51:36 v3.0.0-dev.17 20:51:36 v3.0.0-dev.18 20:51:36 v3.0.0-dev.19 20:51:36 v3.0.0-dev.2 20:51:36 v3.0.0-dev.20 20:51:36 v3.0.0-dev.21 20:51:36 v3.0.0-dev.22 20:51:36 v3.0.0-dev.23 20:51:36 v3.0.0-dev.24 20:51:36 v3.0.0-dev.25 20:51:36 v3.0.0-dev.26 20:51:36 v3.0.0-dev.27 20:51:36 v3.0.0-dev.28 20:51:36 v3.0.0-dev.29 20:51:36 v3.0.0-dev.3 20:51:36 v3.0.0-dev.30 20:51:36 v3.0.0-dev.31 20:51:36 v3.0.0-dev.32 20:51:36 v3.0.0-dev.33 20:51:36 v3.0.0-dev.34 20:51:36 v3.0.0-dev.35 20:51:36 v3.0.0-dev.36 20:51:36 v3.0.0-dev.37 20:51:36 v3.0.0-dev.38 20:51:36 v3.0.0-dev.39 20:51:36 v3.0.0-dev.4 20:51:36 v3.0.0-dev.40 20:51:36 v3.0.0-dev.41 20:51:36 v3.0.0-dev.42 20:51:36 v3.0.0-dev.43 20:51:36 v3.0.0-dev.5 20:51:36 v3.0.0-dev.6 20:51:36 v3.0.0-dev.7 20:51:36 v3.0.0-dev.8 20:51:36 v3.0.0-dev.9 [Pipeline] sh 20:51:37 + lftools sign git-tag v3.0.0 20:51:37 Signing Git tag with Sigul... 20:51:37 Signing v3.0.0 [Pipeline] echo 20:51:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:51:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:51:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:51:38 $ docker stop --time=1 472c6d0ff70539a873c5556cd7334432ccc5415d2b4533c55ae1b2bb5e9867c2 20:51:39 $ docker rm -f --volumes 472c6d0ff70539a873c5556cd7334432ccc5415d2b4533c55ae1b2bb5e9867c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:51:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:51:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:40 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:51:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:51:40 $ docker top edc2399a7d20c71ef0c926e8b7b010a10947e010aa0c894fdb3516ab7455ccc6 -eo pid,comm 20:51:40 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). 20:51:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:40 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.43' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:41 + git semver [Pipeline] } 20:51:41 $ docker stop --time=1 edc2399a7d20c71ef0c926e8b7b010a10947e010aa0c894fdb3516ab7455ccc6 20:51:42 $ docker rm -f --volumes edc2399a7d20c71ef0c926e8b7b010a10947e010aa0c894fdb3516ab7455ccc6 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:51:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:43 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:51:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:51:43 $ docker top b491222f0e6c5d54ee045163d637dc281341e340afac8d13c770a4f68d640060 -eo pid,comm 20:51:43 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). 20:51:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:43 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.43' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:44 + git semver [Pipeline] } 20:51:44 $ docker stop --time=1 b491222f0e6c5d54ee045163d637dc281341e340afac8d13c770a4f68d640060 20:51:45 $ docker rm -f --volumes b491222f0e6c5d54ee045163d637dc281341e340afac8d13c770a4f68d640060 [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 20:51:46 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 20:51:46 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:51:46 total 16 20:51:46 drwxr-xr-x 3 root root 4096 May 31 20:40 . 20:51:46 drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:51 .. 20:51:46 drwxr-xr-x 2 root root 4096 May 31 20:40 cost 20:51:46 -rw-r--r-- 1 root root 86 May 31 20:40 cost.csv 20:51:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:51:46 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:51:46 total 16 20:51:46 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:40 . 20:51:46 drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:51 .. 20:51:46 drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:40 cost 20:51:46 -rw-r--r-- 1 jenkins jenkins 86 May 31 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:51:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:51:47 ---> package-listing.sh 20:51:47 ++ facter osfamily 20:51:47 ++ tr '[:upper:]' '[:lower:]' 20:51:47 + OS_FAMILY=debian 20:51:47 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:51:47 + START_PACKAGES=/tmp/packages_start.txt 20:51:47 + END_PACKAGES=/tmp/packages_end.txt 20:51:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:51:47 + PACKAGES=/tmp/packages_start.txt 20:51:47 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:51:47 + PACKAGES=/tmp/packages_end.txt 20:51:47 + case "${OS_FAMILY}" in 20:51:47 + dpkg -l 20:51:47 + grep '^ii' 20:51:47 + '[' -f /tmp/packages_start.txt ']' 20:51:47 + '[' -f /tmp/packages_end.txt ']' 20:51:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:51:47 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:51:47 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:51:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:51:47 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 20:51:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:51:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:48 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 20:51:48 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:51:48 $ docker top 621095bf0901a4fd44028281f59565043ce607792447ab202a7dfd9aeb9b1afa -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:49 + touch /tmp/pre-build-complete [Pipeline] sh 20:51:49 + mkdir -p /var/log/sysstat [Pipeline] sh 20:51:49 + ls /var/log/sa-host 20:51:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:49 provisioning config files... 20:51:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13200097767099378901tmp [Pipeline] { [Pipeline] echo 20:51:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:51:50 ---> create-netrc.sh [Pipeline] } 20:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:51:50 ---> python-tools-install.sh [Pipeline] echo 20:51:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:51:50 ---> sudo-logs.sh 20:51:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:51:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:51:51 ---> job-cost.sh 20:51:51 lf-activate-venv: SKIPPING 20:51:51 DEBUG: total: 0.2199999988079071 20:51:51 INFO: Retrieving Stack Cost... 20:51:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:51:51 INFO: Archiving Costs [Pipeline] echo 20:51:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:51:52 ---> logs-deploy.sh 20:51:52 lf-activate-venv: SKIPPING 20:51:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/128 20:51:52 INFO: archiving workspace using pattern(s): 20:51:53 Archives upload complete. 20:51:53 INFO: archiving logs to Nexus