Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 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-ssh10455576212069388508.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-ssh11132365383550007768.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-ssh7134893937896542526.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-ssh12135245185759907454.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-ssh10048041147383172429.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15685 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 Avoid second fetch Checking out Revision 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#601)" > git rev-list --no-walk aee7b0e7ef23d1e8502c68f930469c32112c0c09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:24:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:24:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:24:40 ========================================================= 10:24:40 EdgeX Global Pipelines Version Info 10:24:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:24:41 ------------------- 10:24:41 stable info: 10:24:41 ------------------- 10:24:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:24:41 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:24:41 Message: update stable to v1.0.249 10:24:41 ------------------- 10:24:41 experimental info: 10:24:41 ------------------- 10:24:41 Commited By: **** collab-it+edgex@linuxfoundation.org 10:24:41 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:24:41 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:24:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:24:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:24:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:24:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:24:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 956e8fc [Pipeline] echo 10:24:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:42 provisioning config files... 10:24:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7571407015885429343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:42 ---> docker-login.sh 10:24:42 nexus3.edgexfoundry.org:10001 10:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:43 Configure a credential helper to remove this warning. See 10:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:43 10:24:43 Login Succeeded 10:24:43 nexus3.edgexfoundry.org:10002 10:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:43 Configure a credential helper to remove this warning. See 10:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:43 10:24:43 Login Succeeded 10:24:43 nexus3.edgexfoundry.org:10003 10:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:43 Configure a credential helper to remove this warning. See 10:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:43 10:24:43 Login Succeeded 10:24:43 nexus3.edgexfoundry.org:10004 10:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:43 Configure a credential helper to remove this warning. See 10:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:43 10:24:43 Login Succeeded 10:24:43 docker.io 10:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:43 Configure a credential helper to remove this warning. See 10:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:43 10:24:43 Login Succeeded 10:24:43 ---> docker-login.sh ends [Pipeline] } 10:24:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:24:44 + git rev-list -1 --merges 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2~1..956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] echo 10:24:44 -----------> git rev-list -1 --merges 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2~1..956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [false] [Pipeline] sh 10:24:44 + git log --format=format:%s -1 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] echo 10:24:44 ========================================================= 10:24:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:24:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:44 + git log --format=format:%s -1 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] echo 10:24:44 [semverPrep] GIT_COMMIT: 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#601) [Pipeline] echo 10:24:44 [semverPrep] This is not a build commit. [Pipeline] sh 10:24:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:24:45 + grep -v github /etc/ssh/ssh_known_hosts 10:24:45 + [ -e /tmp/ssh_known_hosts ] 10:24:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:24:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:24:45 + sudo tee -a /etc/ssh/ssh_known_hosts 10:24:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:24:45 10:24:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:24:46 0.1.4: Pulling from edgex-devops/py-git-semver 10:24:46 b85a868b505f: Pulling fs layer 10:24:46 e2be974225ed: Pulling fs layer 10:24:46 339a4e72a1f5: Pulling fs layer 10:24:46 988bab9f4d93: Pulling fs layer 10:24:46 1469e6f7b9e6: Pulling fs layer 10:24:46 eaf3925da568: Pulling fs layer 10:24:46 bab4dde63d76: Pulling fs layer 10:24:46 bde34c3a00c8: Pulling fs layer 10:24:46 1469e6f7b9e6: Waiting 10:24:46 eaf3925da568: Waiting 10:24:46 bab4dde63d76: Waiting 10:24:46 988bab9f4d93: Waiting 10:24:46 b352a97aabf1: Pulling fs layer 10:24:46 4872d77fe225: Pulling fs layer 10:24:46 bde34c3a00c8: Waiting 10:24:46 b352a97aabf1: Waiting 10:24:46 5851b861e8e6: Pulling fs layer 10:24:46 5851b861e8e6: Waiting 10:24:46 e2be974225ed: Verifying Checksum 10:24:46 e2be974225ed: Download complete 10:24:46 988bab9f4d93: Verifying Checksum 10:24:46 988bab9f4d93: Download complete 10:24:46 1469e6f7b9e6: Verifying Checksum 10:24:46 1469e6f7b9e6: Download complete 10:24:46 eaf3925da568: Verifying Checksum 10:24:46 eaf3925da568: Download complete 10:24:46 339a4e72a1f5: Verifying Checksum 10:24:46 339a4e72a1f5: Download complete 10:24:46 bde34c3a00c8: Verifying Checksum 10:24:46 bde34c3a00c8: Download complete 10:24:46 b352a97aabf1: Verifying Checksum 10:24:46 b352a97aabf1: Download complete 10:24:46 4872d77fe225: Verifying Checksum 10:24:46 4872d77fe225: Download complete 10:24:46 5851b861e8e6: Download complete 10:24:46 b85a868b505f: Download complete 10:24:47 bab4dde63d76: Download complete 10:24:47 b85a868b505f: Pull complete 10:24:48 e2be974225ed: Pull complete 10:24:49 339a4e72a1f5: Pull complete 10:24:49 988bab9f4d93: Pull complete 10:24:49 1469e6f7b9e6: Pull complete 10:24:49 eaf3925da568: Pull complete 10:24:51 bab4dde63d76: Pull complete 10:24:51 bde34c3a00c8: Pull complete 10:24:51 b352a97aabf1: Pull complete 10:24:52 4872d77fe225: Pull complete 10:24:52 5851b861e8e6: Pull complete 10:24:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:24:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:52 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:24:55 $ docker top bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 -eo pid,comm 10:24:55 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). 10:24:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:24:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:24:55 [ssh-agent] Looking for ssh-agent implementation... 10:24:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:24:55 $ docker exec bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 ssh-agent 10:24:55 SSH_AUTH_SOCK=/tmp/ssh-86OXBu4msDTX/agent.32 10:24:55 SSH_AGENT_PID=38 10:24:55 Running ssh-add (command line suppressed) 10:24:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7705984370308823144.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7705984370308823144.key) 10:24:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:24:56 + git tag --points-at HEAD [Pipeline] } 10:24:56 $ docker exec --env ******** --env ******** bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 ssh-agent -k 10:24:56 unset SSH_AUTH_SOCK; 10:24:56 unset SSH_AGENT_PID; 10:24:56 echo Agent pid 38 killed; 10:24:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:24:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:24:56 [ssh-agent] Looking for ssh-agent implementation... 10:24:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:24:56 $ docker exec bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 ssh-agent 10:24:56 SSH_AUTH_SOCK=/tmp/ssh-WfVWKvzYJ6s9/agent.70 10:24:56 SSH_AGENT_PID=76 10:24:56 Running ssh-add (command line suppressed) 10:24:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8502613632840534132.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8502613632840534132.key) 10:24:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:24:57 + git semver init 10:24:57 2023-05-16 10:24:57,225 [run_init] DEBUG init version:0.0.0 force:False 10:24:57 2023-05-16 10:24:57,226 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:24:57 2023-05-16 10:24:57,226 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:24:57 2023-05-16 10:24:57,226 [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) 10:24:58 2023-05-16 10:24:58,123 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 10:24:58 2023-05-16 10:24:58,124 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 10:24:58 2023-05-16 10:24:58,124 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:24:58 2023-05-16 10:24:58,124 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:24:58 3.0.0-dev.36 [Pipeline] } 10:24:58 $ docker exec --env ******** --env ******** bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 ssh-agent -k 10:24:58 unset SSH_AUTH_SOCK; 10:24:58 unset SSH_AGENT_PID; 10:24:58 echo Agent pid 76 killed; 10:24:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:24:58 + git semver [Pipeline] } 10:24:58 $ docker stop --time=1 bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 10:25:00 $ docker rm -f --volumes bc855b475ceb29403216590b1fd51938bc134f42fe429197e367f2ad6f43ae74 [Pipeline] // withDockerContainer [Pipeline] sh 10:25:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:25:00 Stashed 1 file(s) [Pipeline] echo 10:25:00 [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:00 provisioning config files... 10:25:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2267116902480595695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:01 ---> docker-login.sh 10:25:01 nexus3.edgexfoundry.org:10001 10:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:01 Configure a credential helper to remove this warning. See 10:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:01 10:25:01 Login Succeeded 10:25:01 nexus3.edgexfoundry.org:10002 10:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:01 Configure a credential helper to remove this warning. See 10:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:01 10:25:01 Login Succeeded 10:25:01 nexus3.edgexfoundry.org:10003 10:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:01 Configure a credential helper to remove this warning. See 10:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:01 10:25:01 Login Succeeded 10:25:01 nexus3.edgexfoundry.org:10004 10:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:01 Configure a credential helper to remove this warning. See 10:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:01 10:25:01 Login Succeeded 10:25:01 docker.io 10:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:02 Configure a credential helper to remove this warning. See 10:25:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:02 10:25:02 Login Succeeded 10:25:02 ---> docker-login.sh ends [Pipeline] } 10:25:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:25:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:02 ========================================================= 10:25:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:25:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:02 + 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 . 10:25:02 Sending build context to Docker daemon 6.552MB 10:25:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:25:02 Step 2/12 : FROM ${BASE} AS builder 10:25:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:25:02 f56be85fc22e: Pulling fs layer 10:25:02 85791d961cd3: Pulling fs layer 10:25:02 d694b5ae8c79: Pulling fs layer 10:25:02 9f32a84ed3da: Pulling fs layer 10:25:02 4d19c01a9841: Pulling fs layer 10:25:02 9325e15d5711: Pulling fs layer 10:25:02 556b6ee489ea: Pulling fs layer 10:25:02 c5a4b2cf53e6: Pulling fs layer 10:25:02 9f32a84ed3da: Waiting 10:25:02 556b6ee489ea: Waiting 10:25:02 c5a4b2cf53e6: Waiting 10:25:02 4d19c01a9841: Waiting 10:25:02 9325e15d5711: Waiting 10:25:02 85791d961cd3: Verifying Checksum 10:25:02 85791d961cd3: Download complete 10:25:02 9f32a84ed3da: Verifying Checksum 10:25:02 9f32a84ed3da: Download complete 10:25:02 4d19c01a9841: Verifying Checksum 10:25:02 4d19c01a9841: Download complete 10:25:02 f56be85fc22e: Verifying Checksum 10:25:02 f56be85fc22e: Download complete 10:25:02 9325e15d5711: Verifying Checksum 10:25:02 9325e15d5711: Download complete 10:25:02 f56be85fc22e: Pull complete 10:25:02 85791d961cd3: Pull complete 10:25:03 c5a4b2cf53e6: Verifying Checksum 10:25:03 c5a4b2cf53e6: Download complete 10:25:03 d694b5ae8c79: Verifying Checksum 10:25:03 d694b5ae8c79: Download complete 10:25:03 556b6ee489ea: Download complete 10:25:07 d694b5ae8c79: Pull complete 10:25:07 9f32a84ed3da: Pull complete 10:25:07 4d19c01a9841: Pull complete 10:25:07 9325e15d5711: Pull complete 10:25:10 556b6ee489ea: Pull complete 10:25:11 c5a4b2cf53e6: Pull complete 10:25:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:25:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:25:11 ---> c4be618373d6 10:25:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:25:15 Still waiting to schedule task 10:25:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:25:19 ---> Running in c4a5dd58c978 10:25:19 Removing intermediate container c4a5dd58c978 10:25:19 ---> 46b1b8adaa71 10:25:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:25:19 ---> Running in 858817b63ffa 10:25:19 Removing intermediate container 858817b63ffa 10:25:19 ---> d19af0921328 10:25:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:25:19 ---> Running in 09d1d34a365b 10:25:19 Removing intermediate container 09d1d34a365b 10:25:19 ---> ef9428fcb44b 10:25:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:25:19 ---> Running in 62ad85d16eab 10:25:19 Removing intermediate container 62ad85d16eab 10:25:19 ---> e35c877ee369 10:25:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:25:19 ---> Running in 7fb7d15f1c8e 10:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:25:19 (1/4) Installing openssh-keygen (9.1_p1-r3) 10:25:19 (2/4) Installing libedit (20221030.3.1-r0) 10:25:19 (3/4) Installing openssh-client-common (9.1_p1-r3) 10:25:19 (4/4) Installing openssh-client-default (9.1_p1-r3) 10:25:19 Executing busybox-1.35.0-r29.trigger 10:25:19 OK: 269 MiB in 57 packages 10:25:20 Removing intermediate container 7fb7d15f1c8e 10:25:20 ---> fb7125fea6d0 10:25:20 Step 8/12 : WORKDIR /device-mqtt-go 10:25:21 ---> Running in 8c0aa134c4d0 10:25:21 Removing intermediate container 8c0aa134c4d0 10:25:21 ---> b6ba97f5dce2 10:25:21 Step 9/12 : COPY go.mod vendor* ./ 10:25:21 ---> 79c4db0b7cd7 10:25:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:25:21 ---> Running in 718cfeea279d 10:25:53 Removing intermediate container 718cfeea279d 10:25:53 ---> 27db6d9214ad 10:25:53 Step 11/12 : COPY . . 10:25:54 ---> 14837a5d0378 10:25:54 Step 12/12 : RUN $MAKE 10:25:54 ---> Running in 4ebdbe8d89a4 10:25:54 noop 10:25:55 Removing intermediate container 4ebdbe8d89a4 10:25:55 ---> 2a4d835438d5 10:25:55 Successfully built 2a4d835438d5 10:25:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:55 + docker inspect -f . ci-base-image-x86_64 10:25:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:55 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:25:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:25:55 $ docker top 6f8859a14be9000beee18a61add65c0c730360f32a58ebaa4bb5e13de9c1ebf9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:56 + go version 10:25:56 go version go1.20.2 linux/amd64 [Pipeline] } 10:25:56 $ docker stop --time=1 6f8859a14be9000beee18a61add65c0c730360f32a58ebaa4bb5e13de9c1ebf9 10:25:57 $ docker rm -f --volumes 6f8859a14be9000beee18a61add65c0c730360f32a58ebaa4bb5e13de9c1ebf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:58 + docker inspect -f . ci-base-image-x86_64 10:25:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:58 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:25:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:25:58 $ docker top 9745688b64c1b0bf037f86fa78b0308d7821926dd06b4fccaa66fdec34010b8d -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 10:25:59 + make test 10:25:59 go test ./... -coverprofile=coverage.out ./... 10:26:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:26:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:26:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:26:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 23.1% of statements 10:26:19 go vet ./... 10:26:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:26:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:26:22 ./bin/test-attribution-txt.sh [Pipeline] echo 10:26:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:26:23 $ docker stop --time=1 9745688b64c1b0bf037f86fa78b0308d7821926dd06b4fccaa66fdec34010b8d 10:26:27 $ docker rm -f --volumes 9745688b64c1b0bf037f86fa78b0308d7821926dd06b4fccaa66fdec34010b8d [Pipeline] // withDockerContainer [Pipeline] sh 10:26:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:26:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:26:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:26:28 + ls -al . 10:26:28 total 180 10:26:28 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:25 . 10:26:28 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:24 .. 10:26:28 -rw-rw-r-- 1 jenkins jenkins 140 May 16 10:24 .dockerignore 10:26:28 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:24 .git 10:26:28 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:24 .github 10:26:28 -rw-rw-r-- 1 jenkins jenkins 329 May 16 10:24 .gitignore 10:26:28 -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:24 .golangci.yml 10:26:28 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:24 .semver 10:26:28 -rw-rw-r-- 1 jenkins jenkins 9417 May 16 10:24 Attribution.txt 10:26:28 -rw-rw-r-- 1 jenkins jenkins 13162 May 16 10:24 CHANGELOG.md 10:26:28 -rw-rw-r-- 1 jenkins jenkins 1689 May 16 10:24 Dockerfile 10:26:28 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:24 GOVERNANCE.md 10:26:28 -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:24 Jenkinsfile 10:26:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:24 LICENSE 10:26:28 -rw-rw-r-- 1 jenkins jenkins 1732 May 16 10:24 Makefile 10:26:28 -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:24 OWNERS.md 10:26:28 -rw-rw-r-- 1 jenkins jenkins 3165 May 16 10:24 README.md 10:26:28 -rw-rw-r-- 1 jenkins jenkins 12 May 16 10:25 VERSION 10:26:28 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:24 bin 10:26:28 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:24 cmd 10:26:28 -rw-r--r-- 1 jenkins jenkins 18144 May 16 10:26 coverage.out 10:26:28 -rw-rw-r-- 1 jenkins jenkins 3333 May 16 10:24 go.mod 10:26:28 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 10:24 go.sum 10:26:28 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:24 internal 10:26:28 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:24 mock 10:26:28 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:24 snap 10:26:28 -rw-rw-r-- 1 jenkins jenkins 227 May 16 10:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:29 + 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=956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 --label arch=amd64 --label version=3.0.0-dev.36 . 10:26:29 Sending build context to Docker daemon 6.57MB 10:26:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:26:29 Step 2/24 : FROM ${BASE} AS builder 10:26:29 ---> 2a4d835438d5 10:26:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:26:29 ---> Running in ef9ada74cb9a 10:26:29 Removing intermediate container ef9ada74cb9a 10:26:29 ---> a22e18130d98 10:26:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:26:29 ---> Running in 5a76331d9de5 10:26:29 Removing intermediate container 5a76331d9de5 10:26:29 ---> bc88e3a7f619 10:26:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:26:29 ---> Running in 44cfbcad6d99 10:26:29 Removing intermediate container 44cfbcad6d99 10:26:29 ---> ffc7c8a9c2eb 10:26:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:26:29 ---> Running in 76245be5aebc 10:26:29 Removing intermediate container 76245be5aebc 10:26:29 ---> 599989587748 10:26:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:26:29 ---> Running in 568669b987cf 10:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:26:30 OK: 269 MiB in 57 packages 10:26:30 Removing intermediate container 568669b987cf 10:26:30 ---> f7f868cc7f2b 10:26:30 Step 8/24 : WORKDIR /device-mqtt-go 10:26:30 ---> Running in fe8418e7d232 10:26:30 Removing intermediate container fe8418e7d232 10:26:30 ---> c86460bcbc62 10:26:30 Step 9/24 : COPY go.mod vendor* ./ 10:26:30 ---> a54fa59afafc 10:26:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:30 ---> Running in effae5a097f5 10:26:31 Removing intermediate container effae5a097f5 10:26:31 ---> eb45e5b01475 10:26:31 Step 11/24 : COPY . . 10:26:32 ---> 3e967d5e7f0e 10:26:32 Step 12/24 : RUN $MAKE 10:26:32 ---> Running in ce9046103920 10:26:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 10:26:54 Removing intermediate container ce9046103920 10:26:54 ---> 46b896e380dd 10:26:54 Step 13/24 : FROM alpine:3.17 10:26:54 3.17: Pulling from library/alpine 10:26:54 f56be85fc22e: Already exists 10:26:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:26:54 Status: Downloaded newer image for alpine:3.17 10:26:54 ---> 9ed4aefc74f6 10:26:54 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:26:54 ---> Running in 4931d07ad122 10:26:54 Removing intermediate container 4931d07ad122 10:26:54 ---> 6ae3a856fc45 10:26:54 Step 15/24 : RUN apk add --update --no-cache dumb-init 10:26:54 ---> Running in 00ae794f6d6c 10:26:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:26:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:26:54 (1/1) Installing dumb-init (1.2.5-r2) 10:26:54 Executing busybox-1.35.0-r29.trigger 10:26:54 OK: 7 MiB in 16 packages 10:26:55 Removing intermediate container 00ae794f6d6c 10:26:55 ---> 3ed4f346a443 10:26:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:26:56 ---> 3f5c7bb3cfb6 10:26:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:26:56 ---> 4044b1b4d6a4 10:26:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:26:56 ---> 5dcee0b7d5c3 10:26:56 Step 19/24 : EXPOSE 59982 10:26:56 ---> Running in 3f88f1028da0 10:26:56 Removing intermediate container 3f88f1028da0 10:26:56 ---> 1f99bea612bf 10:26:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:26:56 ---> Running in a3d537311575 10:26:57 Removing intermediate container a3d537311575 10:26:57 ---> 216ac174b34d 10:26:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:26:57 ---> Running in b990e400a9c6 10:26:57 Removing intermediate container b990e400a9c6 10:26:57 ---> df94332af51d 10:26:57 Step 22/24 : LABEL arch=amd64 10:26:57 ---> Running in 15a2463599cf 10:26:57 Removing intermediate container 15a2463599cf 10:26:57 ---> a0c5b0c64c02 10:26:57 Step 23/24 : LABEL git_sha=956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:26:57 ---> Running in a2996749d8ab 10:26:57 Removing intermediate container a2996749d8ab 10:26:57 ---> 6d571d4f6def 10:26:57 Step 24/24 : LABEL version=3.0.0-dev.36 10:26:57 ---> Running in bad5009db0ee 10:26:57 Removing intermediate container bad5009db0ee 10:26:57 ---> cbe2bf792ddf 10:26:57 [Warning] One or more build-args [ARCH] were not consumed 10:26:57 Successfully built cbe2bf792ddf 10:26:57 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:57 provisioning config files... 10:26:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6035252372222839517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:57 ---> docker-login.sh 10:26:57 nexus3.edgexfoundry.org:10001 10:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:57 Configure a credential helper to remove this warning. See 10:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:57 10:26:57 Login Succeeded 10:26:57 nexus3.edgexfoundry.org:10002 10:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:57 Configure a credential helper to remove this warning. See 10:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:57 10:26:57 Login Succeeded 10:26:57 nexus3.edgexfoundry.org:10003 10:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:57 Configure a credential helper to remove this warning. See 10:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:57 10:26:57 Login Succeeded 10:26:57 nexus3.edgexfoundry.org:10004 10:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:58 Configure a credential helper to remove this warning. See 10:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:58 10:26:58 Login Succeeded 10:26:58 docker.io 10:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:58 Configure a credential helper to remove this warning. See 10:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:58 10:26:58 Login Succeeded 10:26:58 ---> docker-login.sh ends [Pipeline] } 10:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:58 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 10:26:58 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:26:58 latest 10:26:58 3.0.0-dev.36 10:26:58 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 10:26:58 main 10:26:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:26:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:26:59 daae6016a716: Preparing 10:26:59 f80eccf50aba: Preparing 10:26:59 bfff06dacb8f: Preparing 10:26:59 d9ff35093190: Preparing 10:26:59 f1417ff83b31: Preparing 10:26:59 f1417ff83b31: Layer already exists 10:26:59 d9ff35093190: Pushed 10:26:59 daae6016a716: Pushed 10:26:59 f80eccf50aba: Pushed 10:27:01 bfff06dacb8f: Pushed 10:27:01 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2: digest: sha256:ac96696db5c54ca94590030070ceec60fa72266034f718f05ee72cd144ffb730 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:27:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:27:02 daae6016a716: Preparing 10:27:02 f80eccf50aba: Preparing 10:27:02 bfff06dacb8f: Preparing 10:27:02 d9ff35093190: Preparing 10:27:02 f1417ff83b31: Preparing 10:27:02 f80eccf50aba: Layer already exists 10:27:02 bfff06dacb8f: Layer already exists 10:27:02 f1417ff83b31: Layer already exists 10:27:02 daae6016a716: Layer already exists 10:27:02 d9ff35093190: Layer already exists 10:27:02 latest: digest: sha256:ac96696db5c54ca94590030070ceec60fa72266034f718f05ee72cd144ffb730 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.36 10:27:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:27:03 daae6016a716: Preparing 10:27:03 f80eccf50aba: Preparing 10:27:03 bfff06dacb8f: Preparing 10:27:03 d9ff35093190: Preparing 10:27:03 f1417ff83b31: Preparing 10:27:03 f1417ff83b31: Layer already exists 10:27:03 bfff06dacb8f: Layer already exists 10:27:03 d9ff35093190: Layer already exists 10:27:03 daae6016a716: Layer already exists 10:27:03 f80eccf50aba: Layer already exists 10:27:03 3.0.0-dev.36: digest: sha256:ac96696db5c54ca94590030070ceec60fa72266034f718f05ee72cd144ffb730 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 10:27:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:27:03 daae6016a716: Preparing 10:27:03 f80eccf50aba: Preparing 10:27:03 bfff06dacb8f: Preparing 10:27:03 d9ff35093190: Preparing 10:27:03 f1417ff83b31: Preparing 10:27:03 d9ff35093190: Layer already exists 10:27:03 f1417ff83b31: Layer already exists 10:27:03 bfff06dacb8f: Layer already exists 10:27:03 daae6016a716: Layer already exists 10:27:03 f80eccf50aba: Layer already exists 10:27:03 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36: digest: sha256:ac96696db5c54ca94590030070ceec60fa72266034f718f05ee72cd144ffb730 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 10:27:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:27:04 daae6016a716: Preparing 10:27:04 f80eccf50aba: Preparing 10:27:04 bfff06dacb8f: Preparing 10:27:04 d9ff35093190: Preparing 10:27:04 f1417ff83b31: Preparing 10:27:04 f1417ff83b31: Layer already exists 10:27:04 daae6016a716: Layer already exists 10:27:04 d9ff35093190: Layer already exists 10:27:04 bfff06dacb8f: Layer already exists 10:27:04 f80eccf50aba: Layer already exists 10:27:04 main: digest: sha256:ac96696db5c54ca94590030070ceec60fa72266034f718f05ee72cd144ffb730 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:27:04 ===================================================== [Pipeline] echo 10:27:04 taggedImages: 10:27:04 - nexus3.edgexfoundry.org:10004/device-mqtt:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:27:04 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:27:04 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.36 10:27:04 - nexus3.edgexfoundry.org:10004/device-mqtt:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 10:27:04 - 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 10:27:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:04 10:27:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:05 latest: Pulling from edgex-lftools-log-publisher 10:27:05 5eb5b503b376: Pulling fs layer 10:27:05 5c69ac0246d0: Pulling fs layer 10:27:05 ec43610c2a17: Pulling fs layer 10:27:05 3a2ae6a8a46f: Pulling fs layer 10:27:05 33b1e0a273af: Pulling fs layer 10:27:05 5d3b04190fa2: Pulling fs layer 10:27:05 2f39f015ded8: Pulling fs layer 10:27:05 5d3b04190fa2: Waiting 10:27:05 3a2ae6a8a46f: Waiting 10:27:05 33b1e0a273af: Waiting 10:27:05 2f39f015ded8: Waiting 10:27:05 5c69ac0246d0: Verifying Checksum 10:27:05 5c69ac0246d0: Download complete 10:27:05 3a2ae6a8a46f: Verifying Checksum 10:27:05 3a2ae6a8a46f: Download complete 10:27:05 33b1e0a273af: Verifying Checksum 10:27:05 33b1e0a273af: Download complete 10:27:05 ec43610c2a17: Verifying Checksum 10:27:05 ec43610c2a17: Download complete 10:27:05 5d3b04190fa2: Verifying Checksum 10:27:06 5eb5b503b376: Download complete 10:27:06 2f39f015ded8: Download complete 10:27:07 5eb5b503b376: Pull complete 10:27:07 5c69ac0246d0: Pull complete 10:27:08 ec43610c2a17: Pull complete 10:27:08 3a2ae6a8a46f: Pull complete 10:27:08 33b1e0a273af: Pull complete 10:27:08 5d3b04190fa2: Pull complete 10:27:13 2f39f015ded8: Pull complete 10:27:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:27:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:13 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:27:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:27:19 $ docker top baa2bed0eb998f88c28127f5e03cf4b9d5b7dc3214d0c565fe3140e7d14d0e0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:19 ---> job-cost.sh 10:27:19 lf-activate-venv: SKIPPING 10:27:19 INFO: No Stack... 10:27:19 INFO: Retrieving Pricing Info for: v3-standard-8 10:27:20 INFO: Archiving Costs [Pipeline] sh 10:27:20 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 10:27:20 + cut -d, -f6 [Pipeline] lock 10:27:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] 10:27:20 Resource [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] did not exist. Created. 10:27:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:27:20 + echo total: 0.2199999988079071 [Pipeline] stash 10:27:20 Stashed 1 file(s) [Pipeline] } 10:27:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 10:27:20 $ docker stop --time=1 baa2bed0eb998f88c28127f5e03cf4b9d5b7dc3214d0c565fe3140e7d14d0e0b 10:27:21 $ docker rm -f --volumes baa2bed0eb998f88c28127f5e03cf4b9d5b7dc3214d0c565fe3140e7d14d0e0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:30:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15691 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 10:30:41 Running in /w/workspace/device-mqtt-go/120 [Pipeline] { [Pipeline] checkout 10:30:41 Selected Git installation does not exist. Using Default 10:30:41 The recommended git tool is: NONE 10:30:49 using credential edgex-jenkins-ssh 10:30:49 Cloning the remote Git repository 10:30:49 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:30:49 > git init /w/workspace/device-mqtt-go/120 # timeout=10 10:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:30:49 > git --version # timeout=10 10:30:49 > git --version # 'git version 2.25.1' 10:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:51 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:30:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:52 Avoid second fetch 10:30:52 Checking out Revision 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 (main) 10:30:53 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#601)" 10:30:52 > git config core.sparsecheckout # timeout=10 10:30:52 > git checkout -f 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:30:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:30:54 % Total % Received % Xferd Average Speed Time Time Time Current 10:30:54 Dload Upload Total Spent Left Speed 10:30:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 10:30:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:30:55 + sudo tee /etc/docker/daemon.new 10:30:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:30:55 { 10:30:55 "registry-mirrors": [ 10:30:55 "https://nexus3.edgexfoundry.org:10001" 10:30:55 ], 10:30:55 "bip": "10.250.0.254/24", 10:30:55 "hosts": [ 10:30:55 "tcp://0.0.0.0:5555", 10:30:55 "unix:///var/run/docker.sock" 10:30:55 ], 10:30:55 "mtu": 1458, 10:30:55 "selinux-enabled": true, 10:30:55 "seccomp-profile": "/etc/docker/seccomp.json" 10:30:55 } [Pipeline] sh 10:30:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:30:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:31:14 provisioning config files... 10:31:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/120@tmp/config9390396453633620361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:31:14 ---> docker-login.sh 10:31:14 nexus3.edgexfoundry.org:10001 10:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:15 Configure a credential helper to remove this warning. See 10:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:15 10:31:15 Login Succeeded 10:31:15 nexus3.edgexfoundry.org:10002 10:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:16 Configure a credential helper to remove this warning. See 10:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:16 10:31:16 Login Succeeded 10:31:16 nexus3.edgexfoundry.org:10003 10:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:16 Configure a credential helper to remove this warning. See 10:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:16 10:31:16 Login Succeeded 10:31:16 nexus3.edgexfoundry.org:10004 10:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:17 Configure a credential helper to remove this warning. See 10:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:17 10:31:17 Login Succeeded 10:31:17 docker.io 10:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:17 Configure a credential helper to remove this warning. See 10:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:17 10:31:17 Login Succeeded 10:31:17 ---> docker-login.sh ends [Pipeline] } 10:31:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:31:17 ========================================================= 10:31:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:31:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:18 + 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 . 10:31:18 Sending build context to Docker daemon 3.405MB 10:31:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:31:18 Step 2/12 : FROM ${BASE} AS builder 10:31:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:31:18 c41833b44d91: Pulling fs layer 10:31:18 ed15518f5707: Pulling fs layer 10:31:18 feae8fd75edb: Pulling fs layer 10:31:18 242c74f7c9fa: Pulling fs layer 10:31:18 3cdef696dda3: Pulling fs layer 10:31:18 2ced38df9373: Pulling fs layer 10:31:18 58f1dce35555: Pulling fs layer 10:31:18 242c74f7c9fa: Waiting 10:31:18 3cdef696dda3: Waiting 10:31:18 2ced38df9373: Waiting 10:31:18 ed15518f5707: Verifying Checksum 10:31:18 ed15518f5707: Download complete 10:31:18 242c74f7c9fa: Verifying Checksum 10:31:18 242c74f7c9fa: Download complete 10:31:18 3cdef696dda3: Verifying Checksum 10:31:18 3cdef696dda3: Download complete 10:31:19 c41833b44d91: Verifying Checksum 10:31:19 c41833b44d91: Download complete 10:31:20 c41833b44d91: Pull complete 10:31:20 58f1dce35555: Verifying Checksum 10:31:20 58f1dce35555: Download complete 10:31:20 ed15518f5707: Pull complete 10:31:21 feae8fd75edb: Verifying Checksum 10:31:21 feae8fd75edb: Download complete 10:31:22 2ced38df9373: Verifying Checksum 10:31:22 2ced38df9373: Download complete 10:31:34 feae8fd75edb: Pull complete 10:31:34 242c74f7c9fa: Pull complete 10:31:34 3cdef696dda3: Pull complete 10:31:42 2ced38df9373: Pull complete 10:31:45 58f1dce35555: Pull complete 10:31:45 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:31:45 ---> fadd8f120f05 10:31:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:31:47 ---> Running in a69ca524afcb 10:31:47 Removing intermediate container a69ca524afcb 10:31:47 ---> 2f4e57093c5e 10:31:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:31:47 ---> Running in 5bf67d8560b3 10:31:48 Removing intermediate container 5bf67d8560b3 10:31:48 ---> bbc078a24785 10:31:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:31:48 ---> Running in 4bf5619beec4 10:31:48 Removing intermediate container 4bf5619beec4 10:31:48 ---> f5ca0cf48e42 10:31:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:31:48 ---> Running in a40f0fb8a031 10:31:48 Removing intermediate container a40f0fb8a031 10:31:48 ---> 4b033dd70f7f 10:31:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:31:49 ---> Running in 61b79eaf514e 10:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:31:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:31:52 (1/4) Installing openssh-keygen (9.1_p1-r3) 10:31:52 (2/4) Installing libedit (20221030.3.1-r0) 10:31:52 (3/4) Installing openssh-client-common (9.1_p1-r3) 10:31:52 (4/4) Installing openssh-client-default (9.1_p1-r3) 10:31:52 Executing busybox-1.35.0-r29.trigger 10:31:52 OK: 268 MiB in 57 packages 10:31:53 Removing intermediate container 61b79eaf514e 10:31:53 ---> ebbda9489d96 10:31:53 Step 8/12 : WORKDIR /device-mqtt-go 10:31:53 ---> Running in 7e9228560bc6 10:31:54 Removing intermediate container 7e9228560bc6 10:31:54 ---> b9d708a59588 10:31:54 Step 9/12 : COPY go.mod vendor* ./ 10:31:54 ---> a6591ddb27c9 10:31:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:31:54 ---> Running in ce14b59b7bb6 10:33:02 Removing intermediate container ce14b59b7bb6 10:33:02 ---> b872a32ee7dc 10:33:02 Step 11/12 : COPY . . 10:33:02 ---> 0576c0ad5b0e 10:33:02 Step 12/12 : RUN $MAKE 10:33:02 ---> Running in 7628e4120d5b 10:33:02 noop 10:33:02 Removing intermediate container 7628e4120d5b 10:33:02 ---> 28aa8715c88e 10:33:02 Successfully built 28aa8715c88e 10:33:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:03 + docker inspect -f . ci-base-image-arm64 10:33:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:03 prd-ubuntu20.04-docker-arm64-4c-16g-15691 does not seem to be running inside a container 10:33:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/120 -v /w/workspace/device-mqtt-go/120:/w/workspace/device-mqtt-go/120:rw,z -v /w/workspace/device-mqtt-go/120@tmp:/w/workspace/device-mqtt-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:33:04 $ docker top 3f2d02679016cb567fb77589efd69e33a2ceab3954701b667f5228346e678e21 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:05 + go version 10:33:05 go version go1.20.2 linux/arm64 [Pipeline] } 10:33:05 $ docker stop --time=1 3f2d02679016cb567fb77589efd69e33a2ceab3954701b667f5228346e678e21 10:33:08 $ docker rm -f --volumes 3f2d02679016cb567fb77589efd69e33a2ceab3954701b667f5228346e678e21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:09 + docker inspect -f . ci-base-image-arm64 10:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:09 prd-ubuntu20.04-docker-arm64-4c-16g-15691 does not seem to be running inside a container 10:33:09 $ 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/120 -v /w/workspace/device-mqtt-go/120:/w/workspace/device-mqtt-go/120:rw,z -v /w/workspace/device-mqtt-go/120@tmp:/w/workspace/device-mqtt-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:33:10 $ docker top 7aeba4002715c509e8a8225b2e69f7ffd793b21dea0bc5ffdcd9d7aa10ea020f -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:11 + git config --global --add safe.directory /w/workspace/device-mqtt-go/120 [Pipeline] fileExists [Pipeline] sh 10:33:12 + make test 10:33:12 go test ./... -coverprofile=coverage.out ./... 10:33:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:36:28 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:36:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:36:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 23.1% of statements 10:36:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:36:31 go vet ./... 10:37:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:37:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:37:03 ./bin/test-attribution-txt.sh [Pipeline] echo 10:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:37:03 $ docker stop --time=1 7aeba4002715c509e8a8225b2e69f7ffd793b21dea0bc5ffdcd9d7aa10ea020f 10:37:05 $ docker rm -f --volumes 7aeba4002715c509e8a8225b2e69f7ffd793b21dea0bc5ffdcd9d7aa10ea020f [Pipeline] // withDockerContainer [Pipeline] sh 10:37:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:37:06 Warning: overwriting stash ‘coverage-report’ 10:37:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:37:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:37:08 + ls -al . 10:37:08 total 176 10:37:08 drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:33 . 10:37:08 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:30 .. 10:37:08 -rw-rw-r-- 1 jenkins jenkins 140 May 16 10:30 .dockerignore 10:37:08 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:30 .git 10:37:08 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:30 .github 10:37:08 -rw-rw-r-- 1 jenkins jenkins 329 May 16 10:30 .gitignore 10:37:08 -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:30 .golangci.yml 10:37:08 -rw-rw-r-- 1 jenkins jenkins 9417 May 16 10:30 Attribution.txt 10:37:08 -rw-rw-r-- 1 jenkins jenkins 13162 May 16 10:30 CHANGELOG.md 10:37:08 -rw-rw-r-- 1 jenkins jenkins 1689 May 16 10:30 Dockerfile 10:37:08 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:30 GOVERNANCE.md 10:37:08 -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:30 Jenkinsfile 10:37:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:30 LICENSE 10:37:08 -rw-rw-r-- 1 jenkins jenkins 1732 May 16 10:30 Makefile 10:37:08 -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:30 OWNERS.md 10:37:08 -rw-rw-r-- 1 jenkins jenkins 3165 May 16 10:30 README.md 10:37:08 -rw-rw-r-- 1 jenkins jenkins 12 May 16 10:25 VERSION 10:37:08 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:30 bin 10:37:08 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:30 cmd 10:37:08 -rw-r--r-- 1 jenkins jenkins 18144 May 16 10:36 coverage.out 10:37:08 -rw-rw-r-- 1 jenkins jenkins 3333 May 16 10:30 go.mod 10:37:08 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 10:30 go.sum 10:37:08 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:30 internal 10:37:08 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:30 mock 10:37:08 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:30 snap 10:37:08 -rw-rw-r-- 1 jenkins jenkins 227 May 16 10:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:08 + 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=956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 --label arch=arm64 --label version=3.0.0-dev.36 . 10:37:08 Sending build context to Docker daemon 3.424MB 10:37:08 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:37:08 Step 2/24 : FROM ${BASE} AS builder 10:37:08 ---> 28aa8715c88e 10:37:08 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:37:10 ---> Running in 2f05de05bef3 10:37:10 Removing intermediate container 2f05de05bef3 10:37:10 ---> e0b45228c1f8 10:37:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:37:10 ---> Running in 1ea94bbcdc05 10:37:12 Removing intermediate container 1ea94bbcdc05 10:37:12 ---> 04223018889d 10:37:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:37:12 ---> Running in fb3e88e2974a 10:37:12 Removing intermediate container fb3e88e2974a 10:37:12 ---> f17ce905a5f2 10:37:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:37:13 ---> Running in 79a825b84c23 10:37:13 Removing intermediate container 79a825b84c23 10:37:13 ---> 038f2490eb40 10:37:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:37:13 ---> Running in 5ac4cf252f92 10:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:37:16 OK: 268 MiB in 57 packages 10:37:17 Removing intermediate container 5ac4cf252f92 10:37:17 ---> dbdccd356f30 10:37:17 Step 8/24 : WORKDIR /device-mqtt-go 10:37:17 ---> Running in e29461cc95b5 10:37:18 Removing intermediate container e29461cc95b5 10:37:18 ---> 3df0f0843e02 10:37:18 Step 9/24 : COPY go.mod vendor* ./ 10:37:18 ---> 57f2dd3c2991 10:37:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:37:18 ---> Running in 68e360f59706 10:37:21 Removing intermediate container 68e360f59706 10:37:21 ---> 680d6036d4f3 10:37:21 Step 11/24 : COPY . . 10:37:22 ---> dc2c5e73d348 10:37:22 Step 12/24 : RUN $MAKE 10:37:22 ---> Running in d8f34ace0adc 10:37:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 10:40:00 Removing intermediate container d8f34ace0adc 10:40:00 ---> d4d08192063b 10:40:00 Step 13/24 : FROM alpine:3.17 10:40:00 3.17: Pulling from library/alpine 10:40:00 c41833b44d91: Already exists 10:40:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:40:00 Status: Downloaded newer image for alpine:3.17 10:40:00 ---> 51e60588ff2c 10:40:00 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:40:00 ---> Running in ad1bfe3aedac 10:40:00 Removing intermediate container ad1bfe3aedac 10:40:00 ---> 5be8792c297e 10:40:00 Step 15/24 : RUN apk add --update --no-cache dumb-init 10:40:00 ---> Running in 89157a75b949 10:40:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:40:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:40:00 (1/1) Installing dumb-init (1.2.5-r2) 10:40:00 Executing busybox-1.35.0-r29.trigger 10:40:00 OK: 8 MiB in 16 packages 10:40:00 Removing intermediate container 89157a75b949 10:40:00 ---> 120721a3c5fb 10:40:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:40:00 ---> fd2b64a091f3 10:40:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:40:00 ---> c3bc381f85b5 10:40:00 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:40:00 ---> 5e11e44e8daa 10:40:00 Step 19/24 : EXPOSE 59982 10:40:00 ---> Running in 3c000f5e7fd3 10:40:00 Removing intermediate container 3c000f5e7fd3 10:40:00 ---> 8fe4d0770b49 10:40:00 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:40:00 ---> Running in 1be0899a3f2b 10:40:00 Removing intermediate container 1be0899a3f2b 10:40:00 ---> 388f61a5cead 10:40:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:40:00 ---> Running in 5cd18ac3210b 10:40:00 Removing intermediate container 5cd18ac3210b 10:40:00 ---> dca9ffcc4c7a 10:40:00 Step 22/24 : LABEL arch=arm64 10:40:00 ---> Running in cad16113aeee 10:40:00 Removing intermediate container cad16113aeee 10:40:00 ---> 6676dccf7f05 10:40:00 Step 23/24 : LABEL git_sha=956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:40:00 ---> Running in 3c60e3edaef7 10:40:00 Removing intermediate container 3c60e3edaef7 10:40:00 ---> 70bace842a45 10:40:00 Step 24/24 : LABEL version=3.0.0-dev.36 10:40:00 ---> Running in 0eaa095f57e8 10:40:00 Removing intermediate container 0eaa095f57e8 10:40:00 ---> 3bd14f8f034a 10:40:00 [Warning] One or more build-args [ARCH] were not consumed 10:40:00 Successfully built 3bd14f8f034a 10:40:00 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 10:40:00 provisioning config files... 10:40:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/120@tmp/config8618570220285933600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:40:01 ---> docker-login.sh 10:40:01 nexus3.edgexfoundry.org:10001 10:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:01 Configure a credential helper to remove this warning. See 10:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:01 10:40:01 Login Succeeded 10:40:01 nexus3.edgexfoundry.org:10002 10:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:02 Configure a credential helper to remove this warning. See 10:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:02 10:40:02 Login Succeeded 10:40:02 nexus3.edgexfoundry.org:10003 10:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:02 Configure a credential helper to remove this warning. See 10:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:02 10:40:02 Login Succeeded 10:40:02 nexus3.edgexfoundry.org:10004 10:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:02 Configure a credential helper to remove this warning. See 10:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:02 10:40:02 Login Succeeded 10:40:02 docker.io 10:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:40:03 Configure a credential helper to remove this warning. See 10:40:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:40:03 10:40:03 Login Succeeded 10:40:03 ---> docker-login.sh ends [Pipeline] } 10:40:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:40:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:40:03 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 10:40:03 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:40:03 latest 10:40:03 3.0.0-dev.36 10:40:03 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 10:40:03 main 10:40:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:40:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:40:04 d561d80db530: Preparing 10:40:04 d162a8956e64: Preparing 10:40:04 3e3d533c4812: Preparing 10:40:04 15ef5118f48c: Preparing 10:40:04 26cbea5cba74: Preparing 10:40:04 26cbea5cba74: Layer already exists 10:40:04 d561d80db530: Pushed 10:40:04 d162a8956e64: Pushed 10:40:04 15ef5118f48c: Pushed 10:40:11 3e3d533c4812: Pushed 10:40:11 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2: digest: sha256:405fe9c588b4da84a5d3c9be80fce449249eee14c3a68a9e143c1cae7caad33c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 10:40:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:40:12 d561d80db530: Preparing 10:40:12 d162a8956e64: Preparing 10:40:12 3e3d533c4812: Preparing 10:40:12 15ef5118f48c: Preparing 10:40:12 26cbea5cba74: Preparing 10:40:12 3e3d533c4812: Layer already exists 10:40:12 d162a8956e64: Layer already exists 10:40:12 d561d80db530: Layer already exists 10:40:12 15ef5118f48c: Layer already exists 10:40:12 26cbea5cba74: Layer already exists 10:40:12 latest: digest: sha256:405fe9c588b4da84a5d3c9be80fce449249eee14c3a68a9e143c1cae7caad33c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.36 10:40:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:40:12 d561d80db530: Preparing 10:40:12 d162a8956e64: Preparing 10:40:12 3e3d533c4812: Preparing 10:40:12 15ef5118f48c: Preparing 10:40:12 26cbea5cba74: Preparing 10:40:12 26cbea5cba74: Layer already exists 10:40:12 d162a8956e64: Layer already exists 10:40:12 15ef5118f48c: Layer already exists 10:40:12 d561d80db530: Layer already exists 10:40:12 3e3d533c4812: Layer already exists 10:40:12 3.0.0-dev.36: digest: sha256:405fe9c588b4da84a5d3c9be80fce449249eee14c3a68a9e143c1cae7caad33c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 10:40:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:40:13 d561d80db530: Preparing 10:40:13 d162a8956e64: Preparing 10:40:13 3e3d533c4812: Preparing 10:40:13 15ef5118f48c: Preparing 10:40:13 26cbea5cba74: Preparing 10:40:13 15ef5118f48c: Layer already exists 10:40:13 26cbea5cba74: Layer already exists 10:40:13 3e3d533c4812: Layer already exists 10:40:13 d162a8956e64: Layer already exists 10:40:13 d561d80db530: Layer already exists 10:40:13 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36: digest: sha256:405fe9c588b4da84a5d3c9be80fce449249eee14c3a68a9e143c1cae7caad33c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 10:40:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:40:14 d561d80db530: Preparing 10:40:14 d162a8956e64: Preparing 10:40:14 3e3d533c4812: Preparing 10:40:14 15ef5118f48c: Preparing 10:40:14 26cbea5cba74: Preparing 10:40:14 d162a8956e64: Layer already exists 10:40:14 3e3d533c4812: Layer already exists 10:40:14 15ef5118f48c: Layer already exists 10:40:14 26cbea5cba74: Layer already exists 10:40:14 d561d80db530: Layer already exists 10:40:14 main: digest: sha256:405fe9c588b4da84a5d3c9be80fce449249eee14c3a68a9e143c1cae7caad33c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:40:14 ===================================================== [Pipeline] echo 10:40:14 taggedImages: 10:40:14 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 10:40:14 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 10:40:14 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.36 10:40:14 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:956e8fc39a0f2febe15e0cd3d023f9e8edea2df2-3.0.0-dev.36 10:40:14 - 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 10:40:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:15 10:40:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:15 arm64: Pulling from edgex-lftools-log-publisher 10:40:15 8998bd30e6a1: Pulling fs layer 10:40:15 04944245beec: Pulling fs layer 10:40:15 699f458cf7ca: Pulling fs layer 10:40:15 765212b225bb: Pulling fs layer 10:40:15 f23df028b6ca: Pulling fs layer 10:40:15 d65c8cfc05b1: Pulling fs layer 10:40:15 2437ff75d9bd: Pulling fs layer 10:40:15 765212b225bb: Waiting 10:40:15 f23df028b6ca: Waiting 10:40:15 d65c8cfc05b1: Waiting 10:40:15 2437ff75d9bd: Waiting 10:40:15 04944245beec: Verifying Checksum 10:40:15 04944245beec: Download complete 10:40:15 765212b225bb: Verifying Checksum 10:40:15 765212b225bb: Download complete 10:40:15 f23df028b6ca: Download complete 10:40:15 d65c8cfc05b1: Verifying Checksum 10:40:15 d65c8cfc05b1: Download complete 10:40:15 699f458cf7ca: Verifying Checksum 10:40:15 699f458cf7ca: Download complete 10:40:16 8998bd30e6a1: Verifying Checksum 10:40:16 8998bd30e6a1: Download complete 10:40:18 2437ff75d9bd: Verifying Checksum 10:40:18 2437ff75d9bd: Download complete 10:40:20 8998bd30e6a1: Pull complete 10:40:20 04944245beec: Pull complete 10:40:21 699f458cf7ca: Pull complete 10:40:22 765212b225bb: Pull complete 10:40:23 f23df028b6ca: Pull complete 10:40:23 d65c8cfc05b1: Pull complete 10:40:38 2437ff75d9bd: Pull complete 10:40:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:38 prd-ubuntu20.04-docker-arm64-4c-16g-15691 does not seem to be running inside a container 10:40:38 $ 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/120 -v /w/workspace/device-mqtt-go/120:/w/workspace/device-mqtt-go/120:rw,z -v /w/workspace/device-mqtt-go/120@tmp:/w/workspace/device-mqtt-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:40:42 $ docker top b263480a392f9acddc08c7abb9d79874062a0a6a49ad9438c827fc2f5ce8fd72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:40:43 ---> job-cost.sh 10:40:43 lf-activate-venv: SKIPPING 10:40:43 INFO: No Stack... 10:40:43 INFO: Retrieving Pricing Info for: v3-standard-4 10:40:44 INFO: Archiving Costs [Pipeline] sh 10:40:44 + cut -d, -f6 10:40:45 + cat /w/workspace/device-mqtt-go/120/archives/cost.csv [Pipeline] lock 10:40:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] 10:40:45 Resource [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] did not exist. Created. 10:40:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:40:45 /w/workspace/device-mqtt-go/120@tmp/durable-d6a5dce8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:40:46 + echo total: 0.10999999940395355 [Pipeline] stash 10:40:46 Warning: overwriting stash ‘stack-cost’ 10:40:46 Stashed 1 file(s) [Pipeline] } 10:40:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 10:40:46 $ docker stop --time=1 b263480a392f9acddc08c7abb9d79874062a0a6a49ad9438c827fc2f5ce8fd72 10:40:48 $ docker rm -f --volumes b263480a392f9acddc08c7abb9d79874062a0a6a49ad9438c827fc2f5ce8fd72 [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 10:40:48 provisioning config files... 10:40:48 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16380281244841304252tmp [Pipeline] { [Pipeline] sh 10:40:48 + set +x 10:40:48 + curl -s https://codecov.io/bash 10:40:48 + bash -s -- 10:40:48 10:40:48 _____ _ 10:40:48 / ____| | | 10:40:48 | | ___ __| | ___ ___ _____ __ 10:40:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:40:48 | |___| (_) | (_| | __/ (_| (_) \ V / 10:40:48 \_____\___/ \__,_|\___|\___\___/ \_/ 10:40:48 Bash-1.0.6 10:40:48 10:40:48 10:40:48 ==> git version 2.25.1 found 10:40:48 ==> 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 10:40:48 Release-Date: 2020-01-08 10:40:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:40:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:40:48 ==> Jenkins CI detected. 10:40:48 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 10:40:48 project root: . 10:40:48 --> token set from env 10:40:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:40:48 ==> Running gcov in . (disable via -X gcov) 10:40:48 ==> Python coveragepy not found 10:40:48 ==> Searching for coverage reports in: 10:40:48 + . 10:40:48 -> Found 1 reports 10:40:48 ==> Detecting git/mercurial file structure 10:40:48 ==> Reading reports 10:40:48 + ./coverage.out bytes=18144 10:40:48 ==> Appending adjustments 10:40:48 https://docs.codecov.io/docs/fixing-reports 10:40:49 + Found adjustments 10:40:49 ==> Gzipping contents 10:40:49 4.0K /tmp/codecov.n6DtNN.gz 10:40:49 ==> Uploading reports 10:40:49 url: https://codecov.io 10:40:49 query: branch=main&commit=956e8fc39a0f2febe15e0cd3d023f9e8edea2df2&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:40:49 -> Pinging Codecov 10:40:49 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=956e8fc39a0f2febe15e0cd3d023f9e8edea2df2&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:40:49 -> Uploading to 10:40:49 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/7D719EC7BBE17E464838252E33014C33/956e8fc39a0f2febe15e0cd3d023f9e8edea2df2/1d1a4843-dee2-4f6b-89fe-9b0d12485315.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T104049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d74c09bf30a76e1240e4271c82f1f023d56c6420230076d997ef29d6fd1e9cdf 10:40:49 % Total % Received % Xferd Average Speed Time Time Time Current 10:40:49 Dload Upload Total Spent Left Speed 10:40:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 16757 --:--:-- --:--:-- --:--:-- 16757 10:40:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] } 10:40:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:40:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:40:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:40:49 10:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:40:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:40:50 df9b9388f04a: Pulling fs layer 10:40:50 52dc419b0ee2: Pulling fs layer 10:40:50 25bc292e5bac: Pulling fs layer 10:40:50 114826534d7a: Pulling fs layer 10:40:50 4657fd5d0bcf: Pulling fs layer 10:40:50 6ad1cebc031e: Pulling fs layer 10:40:50 8a3aa393b2d8: Pulling fs layer 10:40:50 114826534d7a: Waiting 10:40:50 4657fd5d0bcf: Waiting 10:40:50 6ad1cebc031e: Waiting 10:40:50 8a3aa393b2d8: Waiting 10:40:50 25bc292e5bac: Verifying Checksum 10:40:50 25bc292e5bac: Download complete 10:40:50 52dc419b0ee2: Download complete 10:40:50 4657fd5d0bcf: Download complete 10:40:50 df9b9388f04a: Verifying Checksum 10:40:50 df9b9388f04a: Download complete 10:40:50 df9b9388f04a: Pull complete 10:40:50 52dc419b0ee2: Pull complete 10:40:50 25bc292e5bac: Pull complete 10:40:50 6ad1cebc031e: Download complete 10:40:51 114826534d7a: Download complete 10:40:51 8a3aa393b2d8: Verifying Checksum 10:40:51 8a3aa393b2d8: Download complete 10:40:54 114826534d7a: Pull complete 10:40:54 4657fd5d0bcf: Pull complete 10:40:54 6ad1cebc031e: Pull complete 10:40:57 8a3aa393b2d8: Pull complete 10:40:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:40:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:57 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:40:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:41:01 $ docker top aa305c70a53495885097ef0af24f7badcee7ba84621d59b161531db0baaecd73 -eo pid,comm [Pipeline] { [Pipeline] echo 10:41:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 10:41:01 + set -o pipefail 10:41:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 10:41:05 10:41:05 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 10:41:05 10:41:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/eeadcffe-447f-43b7-a4f7-d172d3a13575 10:41:05 10:41:05 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:41:05 10:41:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:41:05 10:41:05 10:41:05 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:41:05 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:41:05 More details here: https://snyk.co/ue1NS [Pipeline] } 10:41:05 $ docker stop --time=1 aa305c70a53495885097ef0af24f7badcee7ba84621d59b161531db0baaecd73 10:41:09 $ docker rm -f --volumes aa305c70a53495885097ef0af24f7badcee7ba84621d59b161531db0baaecd73 [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 10:41:09 + git log --format=format:%s -1 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 [Pipeline] sh 10:41:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:41:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:10 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:41:11 $ docker top 72457fff35116f3b4e113ae0bc81cf382f1d5e8a79a9cfa722f18c182a0117db -eo pid,comm 10:41:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:41:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:41:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:11 [ssh-agent] Looking for ssh-agent implementation... 10:41:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:11 $ docker exec 72457fff35116f3b4e113ae0bc81cf382f1d5e8a79a9cfa722f18c182a0117db ssh-agent 10:41:11 SSH_AUTH_SOCK=/tmp/ssh-Bx1u9URHH2KZ/agent.32 10:41:11 SSH_AGENT_PID=38 10:41:11 Running ssh-add (command line suppressed) 10:41:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_115880190959911361.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_115880190959911361.key) 10:41:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:11 + git semver tag 10:41:12 2023-05-16 10:41:11,971 [run_tag] DEBUG tag force:False 10:41:12 2023-05-16 10:41:11,971 [check_head_tag] DEBUG check head tag 10:41:12 2023-05-16 10:41:11,973 [execute] INFO git cat-file --batch-check 10:41:12 2023-05-16 10:41:11,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 10:41:12 2023-05-16 10:41:11,977 [execute] INFO git cat-file --batch 10:41:12 2023-05-16 10:41:11,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 10:41:12 2023-05-16 10:41:12,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:12 2023-05-16 10:41:12,005 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 10:41:12 2023-05-16 10:41:12,005 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 10:41:12 2023-05-16 10:41:12,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:12 3.0.0-dev.36 [Pipeline] } 10:41:12 $ docker exec --env ******** --env ******** 72457fff35116f3b4e113ae0bc81cf382f1d5e8a79a9cfa722f18c182a0117db ssh-agent -k 10:41:12 unset SSH_AUTH_SOCK; 10:41:12 unset SSH_AGENT_PID; 10:41:12 echo Agent pid 38 killed; 10:41:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:41:12 + git semver [Pipeline] } 10:41:12 $ docker stop --time=1 72457fff35116f3b4e113ae0bc81cf382f1d5e8a79a9cfa722f18c182a0117db 10:41:14 $ docker rm -f --volumes 72457fff35116f3b4e113ae0bc81cf382f1d5e8a79a9cfa722f18c182a0117db [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:41:14 10:41:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:41:14 0.23.1-centos7: Pulling from edgex-lftools 10:41:14 ab5ef0e58194: Pulling fs layer 10:41:14 9712f1f96733: Pulling fs layer 10:41:14 63f879dbbcfc: Pulling fs layer 10:41:14 0d9ebad4ef96: Pulling fs layer 10:41:14 e9a5061849ea: Pulling fs layer 10:41:14 d747dcd14b5f: Pulling fs layer 10:41:14 2de7ff778b66: Pulling fs layer 10:41:14 e9a5061849ea: Waiting 10:41:14 d747dcd14b5f: Waiting 10:41:14 2de7ff778b66: Waiting 10:41:14 0d9ebad4ef96: Waiting 10:41:14 9712f1f96733: Verifying Checksum 10:41:14 9712f1f96733: Download complete 10:41:15 63f879dbbcfc: Verifying Checksum 10:41:15 63f879dbbcfc: Download complete 10:41:15 e9a5061849ea: Verifying Checksum 10:41:15 e9a5061849ea: Download complete 10:41:15 d747dcd14b5f: Verifying Checksum 10:41:15 d747dcd14b5f: Download complete 10:41:15 ab5ef0e58194: Verifying Checksum 10:41:15 ab5ef0e58194: Download complete 10:41:15 0d9ebad4ef96: Verifying Checksum 10:41:15 0d9ebad4ef96: Download complete 10:41:15 2de7ff778b66: Verifying Checksum 10:41:15 2de7ff778b66: Download complete 10:41:18 ab5ef0e58194: Pull complete 10:41:18 9712f1f96733: Pull complete 10:41:19 63f879dbbcfc: Pull complete 10:41:23 0d9ebad4ef96: Pull complete 10:41:23 e9a5061849ea: Pull complete 10:41:23 d747dcd14b5f: Pull complete 10:41:24 2de7ff778b66: Pull complete 10:41:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:41:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:24 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:41:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:41:29 $ docker top 76661f9aa689984e5b8e4559ab6f09a64ecb5ff3a9bd1c70a721718aadeb6570 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:41:29 provisioning config files... 10:41:29 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7990082134951620559tmp 10:41:29 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11306644550964070427tmp 10:41:29 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15876223579944411339tmp [Pipeline] { [Pipeline] echo 10:41:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:41:29 ---> sigul-configuration.sh 10:41:29 gpg: directory `/root/.gnupg' created 10:41:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:41:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:41:29 gpg: keyring `/root/.gnupg/secring.gpg' created 10:41:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:41:29 gpg: CAST5 encrypted data 10:41:29 gpg: encrypted with 1 passphrase 10:41:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:41:29 + mkdir /home/jenkins 10:41:29 + mkdir /home/jenkins/sigul [Pipeline] sh 10:41:30 + 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 10:41:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:41:30 ---> sigul-install.sh 10:41:30 Sigul already installed; skipping installation. [Pipeline] sh 10:41:30 + git tag --list 10:41:30 0.7.1 10:41:30 v1.0.0 10:41:30 v1.1.0 10:41:30 v1.1.1 10:41:30 v1.2.2 10:41:30 v1.3.0 10:41:30 v1.3.1 10:41:30 v2.0.0 10:41:30 v2.1.0 10:41:30 v2.1.1 10:41:30 v2.1.1-dev.1 10:41:30 v2.1.1-dev.2 10:41:30 v2.2.0 10:41:30 v2.2.1-dev.1 10:41:30 v2.2.1-dev.10 10:41:30 v2.2.1-dev.2 10:41:30 v2.2.1-dev.3 10:41:30 v2.2.1-dev.4 10:41:30 v2.2.1-dev.5 10:41:30 v2.2.1-dev.6 10:41:30 v2.2.1-dev.7 10:41:30 v2.2.1-dev.8 10:41:30 v2.2.1-dev.9 10:41:30 v2.3.0 10:41:30 v2.3.0-dev.10 10:41:30 v2.3.0-dev.11 10:41:30 v2.3.0-dev.12 10:41:30 v2.3.0-dev.13 10:41:30 v2.3.0-dev.14 10:41:30 v2.3.0-dev.15 10:41:30 v2.3.0-dev.16 10:41:30 v2.3.0-dev.17 10:41:30 v2.3.0-dev.18 10:41:30 v2.3.0-dev.19 10:41:30 v2.3.0-dev.20 10:41:30 v2.3.0-dev.21 10:41:30 v2.3.0-dev.22 10:41:30 v2.3.0-dev.23 10:41:30 v2.3.0-dev.24 10:41:30 v2.3.0-dev.25 10:41:30 v2.3.0-dev.26 10:41:30 v2.3.0-dev.27 10:41:30 v2.3.0-dev.28 10:41:30 v2.3.0-dev.29 10:41:30 v2.3.0-dev.30 10:41:30 v2.3.0-dev.31 10:41:30 v2.3.0-dev.32 10:41:30 v2.3.0-dev.33 10:41:30 v2.3.0-dev.34 10:41:30 v3.0.0-dev.1 10:41:30 v3.0.0-dev.10 10:41:30 v3.0.0-dev.11 10:41:30 v3.0.0-dev.12 10:41:30 v3.0.0-dev.13 10:41:30 v3.0.0-dev.14 10:41:30 v3.0.0-dev.15 10:41:30 v3.0.0-dev.16 10:41:30 v3.0.0-dev.17 10:41:30 v3.0.0-dev.18 10:41:30 v3.0.0-dev.19 10:41:30 v3.0.0-dev.2 10:41:30 v3.0.0-dev.20 10:41:30 v3.0.0-dev.21 10:41:30 v3.0.0-dev.22 10:41:30 v3.0.0-dev.23 10:41:30 v3.0.0-dev.24 10:41:30 v3.0.0-dev.25 10:41:30 v3.0.0-dev.26 10:41:30 v3.0.0-dev.27 10:41:30 v3.0.0-dev.28 10:41:30 v3.0.0-dev.29 10:41:30 v3.0.0-dev.3 10:41:30 v3.0.0-dev.30 10:41:30 v3.0.0-dev.31 10:41:30 v3.0.0-dev.32 10:41:30 v3.0.0-dev.33 10:41:30 v3.0.0-dev.34 10:41:30 v3.0.0-dev.35 10:41:30 v3.0.0-dev.36 10:41:30 v3.0.0-dev.4 10:41:30 v3.0.0-dev.5 10:41:30 v3.0.0-dev.6 10:41:30 v3.0.0-dev.7 10:41:30 v3.0.0-dev.8 10:41:30 v3.0.0-dev.9 [Pipeline] sh 10:41:30 + lftools sign git-tag v3.0.0-dev.36 10:41:31 Signing Git tag with Sigul... 10:41:31 Signing v3.0.0-dev.36 [Pipeline] echo 10:41:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:41:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:41:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:41:32 $ docker stop --time=1 76661f9aa689984e5b8e4559ab6f09a64ecb5ff3a9bd1c70a721718aadeb6570 10:41:33 $ docker rm -f --volumes 76661f9aa689984e5b8e4559ab6f09a64ecb5ff3a9bd1c70a721718aadeb6570 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:41:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:41:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:34 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:41:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:41:34 $ docker top 932785b6a9247878bbed91069b5960a471219dce727ccae952a68b854ef68244 -eo pid,comm 10:41:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:41:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:41:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:34 [ssh-agent] Looking for ssh-agent implementation... 10:41:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:34 $ docker exec 932785b6a9247878bbed91069b5960a471219dce727ccae952a68b854ef68244 ssh-agent 10:41:34 SSH_AUTH_SOCK=/tmp/ssh-LSWln4N9GSep/agent.32 10:41:34 SSH_AGENT_PID=38 10:41:34 Running ssh-add (command line suppressed) 10:41:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14041741757635475461.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14041741757635475461.key) 10:41:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:35 + git semver bump pre 10:41:35 2023-05-16 10:41:35,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:35 2023-05-16 10:41:35,536 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev 10:41:35 2023-05-16 10:41:35,536 [bump_version] DEBUG bumped version:3.0.0-dev.37 10:41:35 2023-05-16 10:41:35,536 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 10:41:35 2023-05-16 10:41:35,536 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:35 2023-05-16 10:41:35,536 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:35 2023-05-16 10:41:35,538 [execute] INFO git cat-file --batch-check 10:41:35 2023-05-16 10:41:35,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:41:35 2023-05-16 10:41:35,544 [execute] INFO git cat-file --batch 10:41:35 2023-05-16 10:41:35,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:41:35 2023-05-16 10:41:35,549 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:35 3.0.0-dev.37 [Pipeline] } 10:41:35 $ docker exec --env ******** --env ******** 932785b6a9247878bbed91069b5960a471219dce727ccae952a68b854ef68244 ssh-agent -k 10:41:35 unset SSH_AUTH_SOCK; 10:41:35 unset SSH_AGENT_PID; 10:41:35 echo Agent pid 38 killed; 10:41:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:41:36 + git semver [Pipeline] } 10:41:36 $ docker stop --time=1 932785b6a9247878bbed91069b5960a471219dce727ccae952a68b854ef68244 10:41:37 $ docker rm -f --volumes 932785b6a9247878bbed91069b5960a471219dce727ccae952a68b854ef68244 [Pipeline] // withDockerContainer [Pipeline] sh 10:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:38 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:41:38 $ docker top 0e4afca2abdd7176dd0b22bc117f3bf662eae4bbc552da393cc4b8b89bcdf697 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:41:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:38 [ssh-agent] Looking for ssh-agent implementation... 10:41:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:38 $ docker exec 0e4afca2abdd7176dd0b22bc117f3bf662eae4bbc552da393cc4b8b89bcdf697 ssh-agent 10:41:38 SSH_AUTH_SOCK=/tmp/ssh-tFLoHEDjKGOf/agent.32 10:41:38 SSH_AGENT_PID=38 10:41:38 Running ssh-add (command line suppressed) 10:41:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_193585058209010828.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_193585058209010828.key) 10:41:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:39 + git semver push 10:41:39 2023-05-16 10:41:39,571 [run_push] DEBUG push 10:41:39 2023-05-16 10:41:39,572 [execute] INFO git cat-file --batch-check 10:41:39 2023-05-16 10:41:39,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:41:39 2023-05-16 10:41:39,575 [execute] INFO git rev-list 655d27706d697c1ac12f00c5eae2bf763935cec5 -- 10:41:39 2023-05-16 10:41:39,575 [execute] DEBUG Popen(['git', 'rev-list', '655d27706d697c1ac12f00c5eae2bf763935cec5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:41:39 2023-05-16 10:41:39,584 [execute] INFO git fetch -v origin 10:41:39 2023-05-16 10:41:39,584 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:41:40 2023-05-16 10:41:40,046 [run_push] DEBUG no remote changes detected 10:41:40 2023-05-16 10:41:40,046 [execute] INFO git push origin semver 10:41:40 2023-05-16 10:41:40,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:41:41 2023-05-16 10:41:41,055 [run_push] DEBUG push all version tags 10:41:41 2023-05-16 10:41:41,056 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:41:41 2023-05-16 10:41:41,056 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 10:41:42 2023-05-16 10:41:41,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:41:42 3.0.0-dev.37 [Pipeline] } 10:41:42 $ docker exec --env ******** --env ******** 0e4afca2abdd7176dd0b22bc117f3bf662eae4bbc552da393cc4b8b89bcdf697 ssh-agent -k 10:41:42 unset SSH_AUTH_SOCK; 10:41:42 unset SSH_AGENT_PID; 10:41:42 echo Agent pid 38 killed; 10:41:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:41:42 + git semver [Pipeline] } 10:41:42 $ docker stop --time=1 0e4afca2abdd7176dd0b22bc117f3bf662eae4bbc552da393cc4b8b89bcdf697 10:41:44 $ docker rm -f --volumes 0e4afca2abdd7176dd0b22bc117f3bf662eae4bbc552da393cc4b8b89bcdf697 [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 10:41:44 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 10:41:44 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:41:44 total 16 10:41:44 drwxr-xr-x 3 root root 4096 May 16 10:27 . 10:41:44 drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:41 .. 10:41:44 drwxr-xr-x 2 root root 4096 May 16 10:27 cost 10:41:44 -rw-r--r-- 1 root root 86 May 16 10:27 cost.csv 10:41:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:41:44 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:41:44 total 16 10:41:44 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:27 . 10:41:44 drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:41 .. 10:41:44 drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:27 cost 10:41:44 -rw-r--r-- 1 jenkins jenkins 86 May 16 10:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:41:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:41:45 ---> package-listing.sh 10:41:45 ++ facter osfamily 10:41:45 ++ tr '[:upper:]' '[:lower:]' 10:41:46 + OS_FAMILY=debian 10:41:46 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 10:41:46 + START_PACKAGES=/tmp/packages_start.txt 10:41:46 + END_PACKAGES=/tmp/packages_end.txt 10:41:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:41:46 + PACKAGES=/tmp/packages_start.txt 10:41:46 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 10:41:46 + PACKAGES=/tmp/packages_end.txt 10:41:46 + case "${OS_FAMILY}" in 10:41:46 + dpkg -l 10:41:46 + grep '^ii' 10:41:46 + '[' -f /tmp/packages_start.txt ']' 10:41:46 + '[' -f /tmp/packages_end.txt ']' 10:41:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:41:46 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 10:41:46 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 10:41:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 10:41:46 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 10:41:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:47 prd-ubuntu20.04-docker-8c-8g-15685 does not seem to be running inside a container 10:41:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:41:47 $ docker top 19e68ea3902ebe022639de52866e87fbd7f597844934a47eb2bf1c12a7bded90 -eo pid,comm [Pipeline] { [Pipeline] sh 10:41:47 + touch /tmp/pre-build-complete [Pipeline] sh 10:41:47 + mkdir -p /var/log/sysstat [Pipeline] sh 10:41:48 + ls /var/log/sa-host 10:41:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:48 provisioning config files... 10:41:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9316997781271028225tmp [Pipeline] { [Pipeline] echo 10:41:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:41:48 ---> create-netrc.sh [Pipeline] } 10:41:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:41:49 ---> python-tools-install.sh [Pipeline] echo 10:41:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:41:49 ---> sudo-logs.sh 10:41:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:41:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:41:49 ---> job-cost.sh 10:41:49 lf-activate-venv: SKIPPING 10:41:49 DEBUG: total: 0.2199999988079071 10:41:49 INFO: Retrieving Stack Cost... 10:41:50 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:50 INFO: Archiving Costs [Pipeline] echo 10:41:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:41:50 ---> logs-deploy.sh 10:41:50 lf-activate-venv: SKIPPING 10:41:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/120 10:41:50 INFO: archiving workspace using pattern(s): 10:41:51 Archives upload complete. 10:41:51 INFO: archiving logs to Nexus