Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 019c60404bb83e30963e3ac75b0107041a510748 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-ssh905720012867643502.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-ssh13399452784819329798.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-ssh7612873954409821542.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-ssh3897900486380127368.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-ssh9197686225340778698.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16859’ Running on prd-ubuntu20.04-docker-8c-8g-16896 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 019c60404bb83e30963e3ac75b0107041a510748 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#610)" > 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 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 > git rev-list --no-walk 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:28:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:28:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:28:31 ========================================================= 01:28:31 EdgeX Global Pipelines Version Info 01:28:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:28:32 ------------------- 01:28:32 stable info: 01:28:32 ------------------- 01:28:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:28:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:28:32 Message: update stable to v1.0.249 01:28:32 ------------------- 01:28:32 experimental info: 01:28:32 ------------------- 01:28:32 Commited By: **** collab-it+edgex@linuxfoundation.org 01:28:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:28:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:28:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:28:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:28:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:28:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:28:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 019c604 [Pipeline] echo 01:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:33 provisioning config files... 01:28:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11543419847454566297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:33 ---> docker-login.sh 01:28:33 nexus3.edgexfoundry.org:10001 01:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:33 Configure a credential helper to remove this warning. See 01:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:33 01:28:33 Login Succeeded 01:28:33 nexus3.edgexfoundry.org:10002 01:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:34 Configure a credential helper to remove this warning. See 01:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:34 01:28:34 Login Succeeded 01:28:34 nexus3.edgexfoundry.org:10003 01:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:34 Configure a credential helper to remove this warning. See 01:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:34 01:28:34 Login Succeeded 01:28:34 nexus3.edgexfoundry.org:10004 01:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:34 Configure a credential helper to remove this warning. See 01:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:34 01:28:34 Login Succeeded 01:28:34 docker.io 01:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:34 Configure a credential helper to remove this warning. See 01:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:34 01:28:34 Login Succeeded 01:28:34 ---> docker-login.sh ends [Pipeline] } 01:28:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:28:35 + git rev-list -1 --merges 019c60404bb83e30963e3ac75b0107041a510748~1..019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] echo 01:28:35 -----------> git rev-list -1 --merges 019c60404bb83e30963e3ac75b0107041a510748~1..019c60404bb83e30963e3ac75b0107041a510748 019c60404bb83e30963e3ac75b0107041a510748 [false] [Pipeline] sh 01:28:35 + git log --format=format:%s -1 019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] echo 01:28:35 ========================================================= 01:28:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:28:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:35 + git log --format=format:%s -1 019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] echo 01:28:35 [semverPrep] GIT_COMMIT: 019c60404bb83e30963e3ac75b0107041a510748, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#610) [Pipeline] echo 01:28:35 [semverPrep] This is not a build commit. [Pipeline] sh 01:28:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:36 + grep -v github /etc/ssh/ssh_known_hosts 01:28:36 + [ -e /tmp/ssh_known_hosts ] 01:28:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:28:36 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:28:36 sudo tee -a /etc/ssh/ssh_known_hosts 01:28:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:36 01:28:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:36 0.1.4: Pulling from edgex-devops/py-git-semver 01:28:36 b85a868b505f: Pulling fs layer 01:28:36 e2be974225ed: Pulling fs layer 01:28:36 339a4e72a1f5: Pulling fs layer 01:28:36 988bab9f4d93: Pulling fs layer 01:28:36 1469e6f7b9e6: Pulling fs layer 01:28:36 eaf3925da568: Pulling fs layer 01:28:36 bab4dde63d76: Pulling fs layer 01:28:36 bde34c3a00c8: Pulling fs layer 01:28:36 b352a97aabf1: Pulling fs layer 01:28:36 4872d77fe225: Pulling fs layer 01:28:36 5851b861e8e6: Pulling fs layer 01:28:36 988bab9f4d93: Waiting 01:28:36 1469e6f7b9e6: Waiting 01:28:36 b352a97aabf1: Waiting 01:28:36 4872d77fe225: Waiting 01:28:36 5851b861e8e6: Waiting 01:28:36 eaf3925da568: Waiting 01:28:36 bab4dde63d76: Waiting 01:28:36 bde34c3a00c8: Waiting 01:28:36 e2be974225ed: Download complete 01:28:36 988bab9f4d93: Verifying Checksum 01:28:36 988bab9f4d93: Download complete 01:28:36 339a4e72a1f5: Verifying Checksum 01:28:36 339a4e72a1f5: Download complete 01:28:36 1469e6f7b9e6: Verifying Checksum 01:28:36 1469e6f7b9e6: Download complete 01:28:36 eaf3925da568: Download complete 01:28:37 bde34c3a00c8: Verifying Checksum 01:28:37 bde34c3a00c8: Download complete 01:28:37 b352a97aabf1: Download complete 01:28:37 4872d77fe225: Download complete 01:28:37 5851b861e8e6: Verifying Checksum 01:28:37 5851b861e8e6: Download complete 01:28:37 b85a868b505f: Download complete 01:28:37 bab4dde63d76: Verifying Checksum 01:28:37 bab4dde63d76: Download complete 01:28:38 b85a868b505f: Pull complete 01:28:38 e2be974225ed: Pull complete 01:28:39 339a4e72a1f5: Pull complete 01:28:39 988bab9f4d93: Pull complete 01:28:39 1469e6f7b9e6: Pull complete 01:28:39 eaf3925da568: Pull complete 01:28:41 bab4dde63d76: Pull complete 01:28:41 bde34c3a00c8: Pull complete 01:28:41 b352a97aabf1: Pull complete 01:28:41 4872d77fe225: Pull complete 01:28:41 5851b861e8e6: Pull complete 01:28:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:41 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:28:41 $ 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 01:28:44 $ docker top d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 -eo pid,comm 01:28:44 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). 01:28:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:44 [ssh-agent] Looking for ssh-agent implementation... 01:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:44 $ docker exec d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 ssh-agent 01:28:44 SSH_AUTH_SOCK=/tmp/ssh-hfSF3m20tqsa/agent.32 01:28:44 SSH_AGENT_PID=38 01:28:44 Running ssh-add (command line suppressed) 01:28:44 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15972713616743457911.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15972713616743457911.key) 01:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:45 + git tag --points-at HEAD [Pipeline] } 01:28:45 $ docker exec --env ******** --env ******** d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 ssh-agent -k 01:28:45 unset SSH_AUTH_SOCK; 01:28:45 unset SSH_AGENT_PID; 01:28:45 echo Agent pid 38 killed; 01:28:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:28:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:45 [ssh-agent] Looking for ssh-agent implementation... 01:28:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:45 $ docker exec d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 ssh-agent 01:28:45 SSH_AUTH_SOCK=/tmp/ssh-TVGtS0D4CZX3/agent.70 01:28:45 SSH_AGENT_PID=75 01:28:45 Running ssh-add (command line suppressed) 01:28:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10523530840293232994.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10523530840293232994.key) 01:28:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:45 + git semver init 01:28:46 2023-05-25 01:28:46,112 [run_init] DEBUG init version:0.0.0 force:False 01:28:46 2023-05-25 01:28:46,112 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:28:46 2023-05-25 01:28:46,113 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:28:46 2023-05-25 01:28:46,113 [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) 01:28:47 2023-05-25 01:28:46,844 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:28:47 2023-05-25 01:28:46,845 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:28:47 2023-05-25 01:28:46,845 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:28:47 2023-05-25 01:28:46,845 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:28:47 3.0.0-dev.41 [Pipeline] } 01:28:47 $ docker exec --env ******** --env ******** d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 ssh-agent -k 01:28:47 unset SSH_AUTH_SOCK; 01:28:47 unset SSH_AGENT_PID; 01:28:47 echo Agent pid 75 killed; 01:28:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:47 + git semver [Pipeline] } 01:28:47 $ docker stop --time=1 d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 01:28:49 $ docker rm -f --volumes d397e08cbc2d7dd0d0073a8715cc17e32e2438e6e5a0a33970d87f09d9c169a2 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:28:49 Stashed 1 file(s) [Pipeline] echo 01:28:49 [edgeXSemver]: initialized semver on version 3.0.0-dev.41 [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 01:28:49 provisioning config files... 01:28:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6870407605374206558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:50 ---> docker-login.sh 01:28:50 nexus3.edgexfoundry.org:10001 01:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:50 Configure a credential helper to remove this warning. See 01:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:50 01:28:50 Login Succeeded 01:28:50 nexus3.edgexfoundry.org:10002 01:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:50 Configure a credential helper to remove this warning. See 01:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:50 01:28:50 Login Succeeded 01:28:50 nexus3.edgexfoundry.org:10003 01:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:50 Configure a credential helper to remove this warning. See 01:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:50 01:28:50 Login Succeeded 01:28:50 nexus3.edgexfoundry.org:10004 01:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:50 Configure a credential helper to remove this warning. See 01:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:50 01:28:50 Login Succeeded 01:28:50 docker.io 01:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:50 Configure a credential helper to remove this warning. See 01:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:50 01:28:50 Login Succeeded 01:28:50 ---> docker-login.sh ends [Pipeline] } 01:28:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:28:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:28:50 ========================================================= 01:28:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:28:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:51 + 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 . 01:28:51 Sending build context to Docker daemon 6.6MB 01:28:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:28:51 Step 2/12 : FROM ${BASE} AS builder 01:28:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:28:51 f56be85fc22e: Pulling fs layer 01:28:51 85791d961cd3: Pulling fs layer 01:28:51 d694b5ae8c79: Pulling fs layer 01:28:51 9f32a84ed3da: Pulling fs layer 01:28:51 4d19c01a9841: Pulling fs layer 01:28:51 9325e15d5711: Pulling fs layer 01:28:51 556b6ee489ea: Pulling fs layer 01:28:51 c5a4b2cf53e6: Pulling fs layer 01:28:51 9f32a84ed3da: Waiting 01:28:51 9325e15d5711: Waiting 01:28:51 c5a4b2cf53e6: Waiting 01:28:51 4d19c01a9841: Waiting 01:28:51 85791d961cd3: Verifying Checksum 01:28:51 85791d961cd3: Download complete 01:28:51 9f32a84ed3da: Verifying Checksum 01:28:51 9f32a84ed3da: Download complete 01:28:51 4d19c01a9841: Verifying Checksum 01:28:51 4d19c01a9841: Download complete 01:28:51 f56be85fc22e: Verifying Checksum 01:28:51 f56be85fc22e: Download complete 01:28:51 9325e15d5711: Verifying Checksum 01:28:51 9325e15d5711: Download complete 01:28:51 f56be85fc22e: Pull complete 01:28:51 85791d961cd3: Pull complete 01:28:51 c5a4b2cf53e6: Verifying Checksum 01:28:51 c5a4b2cf53e6: Download complete 01:28:51 d694b5ae8c79: Verifying Checksum 01:28:51 d694b5ae8c79: Download complete 01:28:52 556b6ee489ea: Verifying Checksum 01:28:52 556b6ee489ea: Download complete 01:28:55 d694b5ae8c79: Pull complete 01:28:55 9f32a84ed3da: Pull complete 01:28:55 4d19c01a9841: Pull complete 01:28:55 9325e15d5711: Pull complete 01:28:57 556b6ee489ea: Pull complete 01:28:58 c5a4b2cf53e6: Pull complete 01:28:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:28:58 ---> c4be618373d6 01:28:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:29:02 ---> Running in 180b2a3d4c6a 01:29:02 Removing intermediate container 180b2a3d4c6a 01:29:02 ---> 59b670f49cd9 01:29:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:02 ---> Running in 71accb394365 01:29:02 Removing intermediate container 71accb394365 01:29:02 ---> d364495ec6cf 01:29:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:29:02 ---> Running in 9f1e6f777640 01:29:03 Removing intermediate container 9f1e6f777640 01:29:03 ---> 5e773e21080b 01:29:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:29:03 ---> Running in 84824c532d92 01:29:03 Removing intermediate container 84824c532d92 01:29:03 ---> e063f1097ba6 01:29:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:03 ---> Running in a9e8251489a3 01:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:29:03 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:29:03 (2/4) Installing libedit (20221030.3.1-r0) 01:29:03 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:29:03 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:29:03 Executing busybox-1.35.0-r29.trigger 01:29:03 OK: 269 MiB in 57 packages 01:29:04 Removing intermediate container a9e8251489a3 01:29:04 ---> d4ccbd8237f2 01:29:04 Step 8/12 : WORKDIR /device-mqtt-go 01:29:04 ---> Running in 54b36ec6cfef 01:29:04 Removing intermediate container 54b36ec6cfef 01:29:04 ---> 0a9403a9e464 01:29:04 Step 9/12 : COPY go.mod vendor* ./ 01:29:04 ---> 85ca7b83f681 01:29:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:04 Still waiting to schedule task 01:29:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:29:04 ---> Running in 42e174ebbf87 01:29:31 Removing intermediate container 42e174ebbf87 01:29:31 ---> 145d9f9d449a 01:29:31 Step 11/12 : COPY . . 01:29:31 ---> 038137fa3fd6 01:29:31 Step 12/12 : RUN $MAKE 01:29:31 ---> Running in b8d8c743c55c 01:29:31 noop 01:29:31 Removing intermediate container b8d8c743c55c 01:29:31 ---> 610e78110778 01:29:31 Successfully built 610e78110778 01:29:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:31 + docker inspect -f . ci-base-image-x86_64 01:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:31 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:29:32 $ docker top adaa63e785e1cd15f0558ef2b98f6e5f8cdf26575c61912752b2e0d559670f49 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:32 + go version 01:29:32 go version go1.20.2 linux/amd64 [Pipeline] } 01:29:32 $ docker stop --time=1 adaa63e785e1cd15f0558ef2b98f6e5f8cdf26575c61912752b2e0d559670f49 01:29:33 $ docker rm -f --volumes adaa63e785e1cd15f0558ef2b98f6e5f8cdf26575c61912752b2e0d559670f49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:34 + docker inspect -f . ci-base-image-x86_64 01:29:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:34 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:29:34 $ 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 01:29:34 $ docker top 2e132f10a444824df0020094038d1c7859bdb008e2f7b9fcd4b0afcd3fc271dd -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:29:35 + make test 01:29:35 go test ./... -coverprofile=coverage.out ./... 01:29:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:29:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:29:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:29:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements 01:29:55 go vet ./... 01:29:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:29:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:29:59 ./bin/test-attribution-txt.sh [Pipeline] echo 01:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:29:59 $ docker stop --time=1 2e132f10a444824df0020094038d1c7859bdb008e2f7b9fcd4b0afcd3fc271dd 01:30:03 $ docker rm -f --volumes 2e132f10a444824df0020094038d1c7859bdb008e2f7b9fcd4b0afcd3fc271dd [Pipeline] // withDockerContainer [Pipeline] sh 01:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:30:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:30:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:30:04 + ls -al . 01:30:04 total 184 01:30:04 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:29 . 01:30:04 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:28 .. 01:30:04 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:28 .dockerignore 01:30:04 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:28 .git 01:30:04 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:28 .github 01:30:04 -rw-rw-r-- 1 jenkins jenkins 329 May 25 01:28 .gitignore 01:30:04 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:28 .golangci.yml 01:30:04 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:28 .semver 01:30:04 -rw-rw-r-- 1 jenkins jenkins 9417 May 25 01:28 Attribution.txt 01:30:04 -rw-rw-r-- 1 jenkins jenkins 17522 May 25 01:28 CHANGELOG.md 01:30:04 -rw-rw-r-- 1 jenkins jenkins 1689 May 25 01:28 Dockerfile 01:30:04 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:28 GOVERNANCE.md 01:30:04 -rw-rw-r-- 1 jenkins jenkins 678 May 25 01:28 Jenkinsfile 01:30:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:28 LICENSE 01:30:04 -rw-rw-r-- 1 jenkins jenkins 1732 May 25 01:28 Makefile 01:30:04 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:28 OWNERS.md 01:30:04 -rw-rw-r-- 1 jenkins jenkins 3165 May 25 01:28 README.md 01:30:04 -rw-rw-r-- 1 jenkins jenkins 12 May 25 01:28 VERSION 01:30:04 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:28 bin 01:30:04 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:28 cmd 01:30:04 -rw-r--r-- 1 jenkins jenkins 18506 May 25 01:29 coverage.out 01:30:04 -rw-rw-r-- 1 jenkins jenkins 3285 May 25 01:28 go.mod 01:30:04 -rw-rw-r-- 1 jenkins jenkins 31232 May 25 01:28 go.sum 01:30:04 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:28 internal 01:30:04 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:28 mock 01:30:04 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:28 snap 01:30:04 -rw-rw-r-- 1 jenkins jenkins 227 May 25 01:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:04 + 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=019c60404bb83e30963e3ac75b0107041a510748 --label arch=amd64 --label version=3.0.0-dev.41 . 01:30:04 Sending build context to Docker daemon 6.619MB 01:30:04 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:30:04 Step 2/24 : FROM ${BASE} AS builder 01:30:04 ---> 610e78110778 01:30:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:30:05 ---> Running in e23442686a9f 01:30:05 Removing intermediate container e23442686a9f 01:30:05 ---> 18bf6b02bf8d 01:30:05 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:05 ---> Running in 34cd6152c27a 01:30:05 Removing intermediate container 34cd6152c27a 01:30:05 ---> ae1ccde29229 01:30:05 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:05 ---> Running in 59ccd016a4b2 01:30:05 Removing intermediate container 59ccd016a4b2 01:30:05 ---> 8a761f15778e 01:30:05 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:30:05 ---> Running in 9fc8918e4624 01:30:05 Removing intermediate container 9fc8918e4624 01:30:05 ---> 7d7deac85b6c 01:30:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:05 ---> Running in fc4400d1ecd6 01:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:30:05 OK: 269 MiB in 57 packages 01:30:06 Removing intermediate container fc4400d1ecd6 01:30:06 ---> c3e8f563d202 01:30:06 Step 8/24 : WORKDIR /device-mqtt-go 01:30:06 ---> Running in 5a707533060d 01:30:06 Removing intermediate container 5a707533060d 01:30:06 ---> 1465043e1326 01:30:06 Step 9/24 : COPY go.mod vendor* ./ 01:30:06 ---> ced1c456189b 01:30:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:06 ---> Running in abece029432e 01:30:07 Removing intermediate container abece029432e 01:30:07 ---> a0be24493d39 01:30:07 Step 11/24 : COPY . . 01:30:07 ---> a03a18eef608 01:30:07 Step 12/24 : RUN $MAKE 01:30:07 ---> Running in d44c16171b05 01:30:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:30:25 Removing intermediate container d44c16171b05 01:30:25 ---> 3882b7888ca2 01:30:25 Step 13/24 : FROM alpine:3.17 01:30:25 3.17: Pulling from library/alpine 01:30:25 f56be85fc22e: Already exists 01:30:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:30:25 Status: Downloaded newer image for alpine:3.17 01:30:25 ---> 9ed4aefc74f6 01:30:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:30:25 ---> Running in b1cdccb5bd01 01:30:25 Removing intermediate container b1cdccb5bd01 01:30:25 ---> d055deadf8d1 01:30:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:30:25 ---> Running in b2571ecbafb6 01:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:30:26 (1/1) Installing dumb-init (1.2.5-r2) 01:30:26 Executing busybox-1.35.0-r29.trigger 01:30:26 OK: 7 MiB in 16 packages 01:30:26 Removing intermediate container b2571ecbafb6 01:30:26 ---> ba99d5e094c2 01:30:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:30:27 ---> bcc3fa3f1a42 01:30:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:30:27 ---> 3f71497aa2d0 01:30:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:30:27 ---> b4202ba9ec8b 01:30:27 Step 19/24 : EXPOSE 59982 01:30:27 ---> Running in c0dc6aba5860 01:30:28 Removing intermediate container c0dc6aba5860 01:30:28 ---> be648cbebad6 01:30:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:30:28 ---> Running in d3fb717307fe 01:30:28 Removing intermediate container d3fb717307fe 01:30:28 ---> 4194ab5011d2 01:30:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:30:28 ---> Running in 7a520c123f34 01:30:28 Removing intermediate container 7a520c123f34 01:30:28 ---> e536eda346a9 01:30:28 Step 22/24 : LABEL arch=amd64 01:30:28 ---> Running in 849b5db20b35 01:30:28 Removing intermediate container 849b5db20b35 01:30:28 ---> 557f889337b5 01:30:28 Step 23/24 : LABEL git_sha=019c60404bb83e30963e3ac75b0107041a510748 01:30:28 ---> Running in 2bc6e4b9c8b3 01:30:28 Removing intermediate container 2bc6e4b9c8b3 01:30:28 ---> 3f13f3e03fa3 01:30:28 Step 24/24 : LABEL version=3.0.0-dev.41 01:30:28 ---> Running in dec0956444d4 01:30:28 Removing intermediate container dec0956444d4 01:30:28 ---> 47469793c785 01:30:28 [Warning] One or more build-args [ARCH] were not consumed 01:30:28 Successfully built 47469793c785 01:30:28 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:28 provisioning config files... 01:30:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13387192134192412991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:28 ---> docker-login.sh 01:30:28 nexus3.edgexfoundry.org:10001 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 nexus3.edgexfoundry.org:10002 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 nexus3.edgexfoundry.org:10003 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 nexus3.edgexfoundry.org:10004 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 docker.io 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:29 Configure a credential helper to remove this warning. See 01:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:29 01:30:29 Login Succeeded 01:30:29 ---> docker-login.sh ends [Pipeline] } 01:30:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:30:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:29 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:30:29 019c60404bb83e30963e3ac75b0107041a510748 01:30:29 latest 01:30:29 3.0.0-dev.41 01:30:29 019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 01:30:29 main 01:30:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:29 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:019c60404bb83e30963e3ac75b0107041a510748 01:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:30:29 bf9d54af2661: Preparing 01:30:29 62f6d9f6ad43: Preparing 01:30:29 d1845fdf5779: Preparing 01:30:29 2f703c10c466: Preparing 01:30:29 f1417ff83b31: Preparing 01:30:29 f1417ff83b31: Layer already exists 01:30:29 bf9d54af2661: Pushed 01:30:29 2f703c10c466: Pushed 01:30:29 62f6d9f6ad43: Pushed 01:30:32 d1845fdf5779: Pushed 01:30:32 019c60404bb83e30963e3ac75b0107041a510748: digest: sha256:b9111f49b1cba34e5227623b5acd38efb246d992935637525f9380c91dfd87e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:30:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:30:33 bf9d54af2661: Preparing 01:30:33 62f6d9f6ad43: Preparing 01:30:33 d1845fdf5779: Preparing 01:30:33 2f703c10c466: Preparing 01:30:33 f1417ff83b31: Preparing 01:30:33 d1845fdf5779: Layer already exists 01:30:33 f1417ff83b31: Layer already exists 01:30:33 bf9d54af2661: Layer already exists 01:30:33 2f703c10c466: Layer already exists 01:30:33 62f6d9f6ad43: Layer already exists 01:30:33 latest: digest: sha256:b9111f49b1cba34e5227623b5acd38efb246d992935637525f9380c91dfd87e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.41 01:30:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:30:33 bf9d54af2661: Preparing 01:30:33 62f6d9f6ad43: Preparing 01:30:33 d1845fdf5779: Preparing 01:30:33 2f703c10c466: Preparing 01:30:33 f1417ff83b31: Preparing 01:30:33 f1417ff83b31: Layer already exists 01:30:33 bf9d54af2661: Layer already exists 01:30:33 62f6d9f6ad43: Layer already exists 01:30:33 d1845fdf5779: Layer already exists 01:30:33 2f703c10c466: Layer already exists 01:30:33 3.0.0-dev.41: digest: sha256:b9111f49b1cba34e5227623b5acd38efb246d992935637525f9380c91dfd87e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 01:30:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:30:34 bf9d54af2661: Preparing 01:30:34 62f6d9f6ad43: Preparing 01:30:34 d1845fdf5779: Preparing 01:30:34 2f703c10c466: Preparing 01:30:34 f1417ff83b31: Preparing 01:30:34 62f6d9f6ad43: Layer already exists 01:30:34 2f703c10c466: Layer already exists 01:30:34 d1845fdf5779: Layer already exists 01:30:34 bf9d54af2661: Layer already exists 01:30:34 f1417ff83b31: Layer already exists 01:30:34 019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41: digest: sha256:b9111f49b1cba34e5227623b5acd38efb246d992935637525f9380c91dfd87e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:30:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:30:34 bf9d54af2661: Preparing 01:30:34 62f6d9f6ad43: Preparing 01:30:34 d1845fdf5779: Preparing 01:30:34 2f703c10c466: Preparing 01:30:34 f1417ff83b31: Preparing 01:30:34 f1417ff83b31: Layer already exists 01:30:34 62f6d9f6ad43: Layer already exists 01:30:34 d1845fdf5779: Layer already exists 01:30:34 bf9d54af2661: Layer already exists 01:30:34 2f703c10c466: Layer already exists 01:30:34 main: digest: sha256:b9111f49b1cba34e5227623b5acd38efb246d992935637525f9380c91dfd87e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:30:35 ===================================================== [Pipeline] echo 01:30:35 taggedImages: 01:30:35 - nexus3.edgexfoundry.org:10004/device-mqtt:019c60404bb83e30963e3ac75b0107041a510748 01:30:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:30:35 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.41 01:30:35 - nexus3.edgexfoundry.org:10004/device-mqtt:019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 01:30:35 - 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 01:30:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:35 01:30:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:35 latest: Pulling from edgex-lftools-log-publisher 01:30:35 5eb5b503b376: Pulling fs layer 01:30:35 5c69ac0246d0: Pulling fs layer 01:30:35 ec43610c2a17: Pulling fs layer 01:30:35 3a2ae6a8a46f: Pulling fs layer 01:30:35 33b1e0a273af: Pulling fs layer 01:30:35 5d3b04190fa2: Pulling fs layer 01:30:35 2f39f015ded8: Pulling fs layer 01:30:35 33b1e0a273af: Waiting 01:30:35 5d3b04190fa2: Waiting 01:30:35 2f39f015ded8: Waiting 01:30:35 3a2ae6a8a46f: Waiting 01:30:35 5c69ac0246d0: Verifying Checksum 01:30:35 5c69ac0246d0: Download complete 01:30:35 3a2ae6a8a46f: Download complete 01:30:35 33b1e0a273af: Verifying Checksum 01:30:35 33b1e0a273af: Download complete 01:30:35 5d3b04190fa2: Verifying Checksum 01:30:35 5d3b04190fa2: Download complete 01:30:35 ec43610c2a17: Verifying Checksum 01:30:35 ec43610c2a17: Download complete 01:30:35 5eb5b503b376: Verifying Checksum 01:30:35 5eb5b503b376: Download complete 01:30:36 2f39f015ded8: Download complete 01:30:37 5eb5b503b376: Pull complete 01:30:37 5c69ac0246d0: Pull complete 01:30:37 ec43610c2a17: Pull complete 01:30:37 3a2ae6a8a46f: Pull complete 01:30:37 33b1e0a273af: Pull complete 01:30:37 5d3b04190fa2: Pull complete 01:30:42 2f39f015ded8: Pull complete 01:30:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:30:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:30:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:42 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:30:42 $ 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 01:30:45 $ docker top b7e5695e87ec99828117d0188a69cdd0e35578d914c3907ad42682b07bfffe29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:46 ---> job-cost.sh 01:30:46 lf-activate-venv: SKIPPING 01:30:46 INFO: No Stack... 01:30:46 INFO: Retrieving Pricing Info for: v3-standard-8 01:30:47 INFO: Archiving Costs [Pipeline] sh 01:30:47 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:30:47 + cut -d, -f6 [Pipeline] lock 01:30:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] 01:30:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] did not exist. Created. 01:30:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:30:47 + echo total: 0.2199999988079071 [Pipeline] stash 01:30:47 Stashed 1 file(s) [Pipeline] } 01:30:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 01:30:47 $ docker stop --time=1 b7e5695e87ec99828117d0188a69cdd0e35578d914c3907ad42682b07bfffe29 01:30:48 $ docker rm -f --volumes b7e5695e87ec99828117d0188a69cdd0e35578d914c3907ad42682b07bfffe29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:33:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16911 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:33:53 Running in /w/workspace/device-mqtt-go/125 [Pipeline] { [Pipeline] checkout 01:33:53 Selected Git installation does not exist. Using Default 01:33:53 The recommended git tool is: NONE 01:34:01 using credential edgex-jenkins-ssh 01:34:01 Cloning the remote Git repository 01:34:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:34:02 > git init /w/workspace/device-mqtt-go/125 # timeout=10 01:34:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:34:02 > git --version # timeout=10 01:34:02 > git --version # 'git version 2.25.1' 01:34:02 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:34:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:05 Avoid second fetch 01:34:05 Checking out Revision 019c60404bb83e30963e3ac75b0107041a510748 (main) 01:34:05 > git config core.sparsecheckout # timeout=10 01:34:06 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#610)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:05 > git checkout -f 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 01:34:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:34:07 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:07 Dload Upload Total Spent Left Speed 01:34:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 43 12751 43 5503 0 0 35733 0 --:--:-- --:--:-- --:--:-- 35503 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 01:34:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:34:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:34:08 + sudo tee /etc/docker/daemon.new 01:34:08 { 01:34:08 "registry-mirrors": [ 01:34:08 "https://nexus3.edgexfoundry.org:10001" 01:34:08 ], 01:34:08 "bip": "10.250.0.254/24", 01:34:08 "hosts": [ 01:34:08 "tcp://0.0.0.0:5555", 01:34:08 "unix:///var/run/docker.sock" 01:34:08 ], 01:34:08 "mtu": 1458, 01:34:08 "selinux-enabled": true, 01:34:08 "seccomp-profile": "/etc/docker/seccomp.json" 01:34:08 } [Pipeline] sh 01:34:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:34:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:27 provisioning config files... 01:34:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/125@tmp/config209436538295090399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:28 ---> docker-login.sh 01:34:28 nexus3.edgexfoundry.org:10001 01:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:29 Configure a credential helper to remove this warning. See 01:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:29 01:34:29 Login Succeeded 01:34:29 nexus3.edgexfoundry.org:10002 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:29 Configure a credential helper to remove this warning. See 01:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:29 01:34:29 Login Succeeded 01:34:29 nexus3.edgexfoundry.org:10003 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:29 Configure a credential helper to remove this warning. See 01:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:29 01:34:29 Login Succeeded 01:34:29 nexus3.edgexfoundry.org:10004 01:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:30 Configure a credential helper to remove this warning. See 01:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:30 01:34:30 Login Succeeded 01:34:30 docker.io 01:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:30 Configure a credential helper to remove this warning. See 01:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:30 01:34:30 Login Succeeded 01:34:30 ---> docker-login.sh ends [Pipeline] } 01:34:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:31 ========================================================= 01:34:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:34:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:31 + 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 . 01:34:31 Sending build context to Docker daemon 3.425MB 01:34:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:34:31 Step 2/12 : FROM ${BASE} AS builder 01:34:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:32 c41833b44d91: Pulling fs layer 01:34:32 ed15518f5707: Pulling fs layer 01:34:32 feae8fd75edb: Pulling fs layer 01:34:32 242c74f7c9fa: Pulling fs layer 01:34:32 3cdef696dda3: Pulling fs layer 01:34:32 2ced38df9373: Pulling fs layer 01:34:32 58f1dce35555: Pulling fs layer 01:34:32 242c74f7c9fa: Waiting 01:34:32 3cdef696dda3: Waiting 01:34:32 58f1dce35555: Waiting 01:34:32 2ced38df9373: Waiting 01:34:32 ed15518f5707: Verifying Checksum 01:34:32 ed15518f5707: Download complete 01:34:32 242c74f7c9fa: Verifying Checksum 01:34:32 242c74f7c9fa: Download complete 01:34:32 3cdef696dda3: Verifying Checksum 01:34:32 3cdef696dda3: Download complete 01:34:32 c41833b44d91: Verifying Checksum 01:34:32 c41833b44d91: Download complete 01:34:33 c41833b44d91: Pull complete 01:34:33 58f1dce35555: Verifying Checksum 01:34:33 58f1dce35555: Download complete 01:34:34 ed15518f5707: Pull complete 01:34:34 feae8fd75edb: Verifying Checksum 01:34:34 feae8fd75edb: Download complete 01:34:35 2ced38df9373: Verifying Checksum 01:34:35 2ced38df9373: Download complete 01:34:47 feae8fd75edb: Pull complete 01:34:47 242c74f7c9fa: Pull complete 01:34:47 3cdef696dda3: Pull complete 01:34:54 2ced38df9373: Pull complete 01:34:56 58f1dce35555: Pull complete 01:34:56 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:34:56 ---> fadd8f120f05 01:34:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:34:59 ---> Running in 3565cb247e86 01:34:59 Removing intermediate container 3565cb247e86 01:34:59 ---> 30469bcad3de 01:34:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:34:59 ---> Running in 82b64598479e 01:35:00 Removing intermediate container 82b64598479e 01:35:00 ---> 40cabdfca149 01:35:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:35:00 ---> Running in 9d233f66921d 01:35:00 Removing intermediate container 9d233f66921d 01:35:00 ---> 04eb8d27b5fc 01:35:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:35:00 ---> Running in 46310dbba5d2 01:35:01 Removing intermediate container 46310dbba5d2 01:35:01 ---> 21dcde5ac49f 01:35:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:01 ---> Running in 32c2f4449298 01:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:35:05 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:35:05 (2/4) Installing libedit (20221030.3.1-r0) 01:35:05 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:35:05 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:35:05 Executing busybox-1.35.0-r29.trigger 01:35:05 OK: 268 MiB in 57 packages 01:35:06 Removing intermediate container 32c2f4449298 01:35:06 ---> 1fb71c560559 01:35:06 Step 8/12 : WORKDIR /device-mqtt-go 01:35:06 ---> Running in 810e2ed7f9f6 01:35:07 Removing intermediate container 810e2ed7f9f6 01:35:07 ---> 8a4154f6e6b6 01:35:07 Step 9/12 : COPY go.mod vendor* ./ 01:35:08 ---> d705dd07f522 01:35:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:08 ---> Running in 370fae5714a6 01:36:30 Removing intermediate container 370fae5714a6 01:36:30 ---> c6ee463e1654 01:36:30 Step 11/12 : COPY . . 01:36:30 ---> eac6cbe479b9 01:36:30 Step 12/12 : RUN $MAKE 01:36:30 ---> Running in 5bd27fd209d8 01:36:30 noop 01:36:30 Removing intermediate container 5bd27fd209d8 01:36:30 ---> e051d5f02f6b 01:36:30 Successfully built e051d5f02f6b 01:36:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:30 + docker inspect -f . ci-base-image-arm64 01:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:31 prd-ubuntu20.04-docker-arm64-4c-16g-16911 does not seem to be running inside a container 01:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/125 -v /w/workspace/device-mqtt-go/125:/w/workspace/device-mqtt-go/125:rw,z -v /w/workspace/device-mqtt-go/125@tmp:/w/workspace/device-mqtt-go/125@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 01:36:32 $ docker top 4f7490a63c8976e509f2a9f2bd681c2de722131b8bae8e762994dda53aad03a7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:33 + go version 01:36:33 go version go1.20.2 linux/arm64 [Pipeline] } 01:36:33 $ docker stop --time=1 4f7490a63c8976e509f2a9f2bd681c2de722131b8bae8e762994dda53aad03a7 01:36:35 $ docker rm -f --volumes 4f7490a63c8976e509f2a9f2bd681c2de722131b8bae8e762994dda53aad03a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:36 + docker inspect -f . ci-base-image-arm64 01:36:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:36 prd-ubuntu20.04-docker-arm64-4c-16g-16911 does not seem to be running inside a container 01:36:36 $ 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/125 -v /w/workspace/device-mqtt-go/125:/w/workspace/device-mqtt-go/125:rw,z -v /w/workspace/device-mqtt-go/125@tmp:/w/workspace/device-mqtt-go/125@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 01:36:37 $ docker top 59a087b3a1f8a75526d2a72a81ade7f48139a8f29e8596a91ce0ce2476ceba77 -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:38 + git config --global --add safe.directory /w/workspace/device-mqtt-go/125 [Pipeline] fileExists [Pipeline] sh 01:36:39 + make test 01:36:39 go test ./... -coverprofile=coverage.out ./... 01:37:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:40:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:40:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:40:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 22.8% of statements 01:40:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:40:19 go vet ./... 01:40:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:58 ./bin/test-attribution-txt.sh [Pipeline] echo 01:40:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:58 $ docker stop --time=1 59a087b3a1f8a75526d2a72a81ade7f48139a8f29e8596a91ce0ce2476ceba77 01:41:00 $ docker rm -f --volumes 59a087b3a1f8a75526d2a72a81ade7f48139a8f29e8596a91ce0ce2476ceba77 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:02 Warning: overwriting stash ‘coverage-report’ 01:41:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:03 + ls -al . 01:41:03 total 180 01:41:03 drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:36 . 01:41:03 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:34 .. 01:41:03 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:34 .dockerignore 01:41:03 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:34 .git 01:41:03 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 .github 01:41:03 -rw-rw-r-- 1 jenkins jenkins 329 May 25 01:34 .gitignore 01:41:03 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:34 .golangci.yml 01:41:03 -rw-rw-r-- 1 jenkins jenkins 9417 May 25 01:34 Attribution.txt 01:41:03 -rw-rw-r-- 1 jenkins jenkins 17522 May 25 01:34 CHANGELOG.md 01:41:03 -rw-rw-r-- 1 jenkins jenkins 1689 May 25 01:34 Dockerfile 01:41:03 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:34 GOVERNANCE.md 01:41:03 -rw-rw-r-- 1 jenkins jenkins 678 May 25 01:34 Jenkinsfile 01:41:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:34 LICENSE 01:41:03 -rw-rw-r-- 1 jenkins jenkins 1732 May 25 01:34 Makefile 01:41:03 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:34 OWNERS.md 01:41:03 -rw-rw-r-- 1 jenkins jenkins 3165 May 25 01:34 README.md 01:41:03 -rw-rw-r-- 1 jenkins jenkins 12 May 25 01:28 VERSION 01:41:03 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:34 bin 01:41:03 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 cmd 01:41:03 -rw-r--r-- 1 jenkins jenkins 18506 May 25 01:40 coverage.out 01:41:03 -rw-rw-r-- 1 jenkins jenkins 3285 May 25 01:34 go.mod 01:41:03 -rw-rw-r-- 1 jenkins jenkins 31232 May 25 01:34 go.sum 01:41:03 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 internal 01:41:03 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:34 mock 01:41:03 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:34 snap 01:41:03 -rw-rw-r-- 1 jenkins jenkins 227 May 25 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:04 + 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=019c60404bb83e30963e3ac75b0107041a510748 --label arch=arm64 --label version=3.0.0-dev.41 . 01:41:04 Sending build context to Docker daemon 3.444MB 01:41:04 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:41:04 Step 2/24 : FROM ${BASE} AS builder 01:41:04 ---> e051d5f02f6b 01:41:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:41:04 ---> Running in 96607d36e0c6 01:41:05 Removing intermediate container 96607d36e0c6 01:41:05 ---> df35eda7a449 01:41:05 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:05 ---> Running in a2e29d7b8d69 01:41:05 Removing intermediate container a2e29d7b8d69 01:41:05 ---> fc933472760a 01:41:05 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:41:06 ---> Running in 0c94af9c4f63 01:41:06 Removing intermediate container 0c94af9c4f63 01:41:06 ---> b5e9f0240de4 01:41:06 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:41:06 ---> Running in 4045ef8f603b 01:41:06 Removing intermediate container 4045ef8f603b 01:41:06 ---> 7f9611832f70 01:41:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:06 ---> Running in 57d1e729f595 01:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:41:10 OK: 268 MiB in 57 packages 01:41:11 Removing intermediate container 57d1e729f595 01:41:11 ---> 9292fd909be4 01:41:11 Step 8/24 : WORKDIR /device-mqtt-go 01:41:11 ---> Running in 1d2c2f474f23 01:41:11 Removing intermediate container 1d2c2f474f23 01:41:11 ---> 1a992a5c095d 01:41:11 Step 9/24 : COPY go.mod vendor* ./ 01:41:12 ---> b17ed917b615 01:41:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:12 ---> Running in bfbfdbc86971 01:41:15 Removing intermediate container bfbfdbc86971 01:41:15 ---> 77c4bd907cb0 01:41:15 Step 11/24 : COPY . . 01:41:16 ---> 0c79162d83a0 01:41:16 Step 12/24 : RUN $MAKE 01:41:16 ---> Running in f2f738da5116 01:41:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:44:09 Removing intermediate container f2f738da5116 01:44:09 ---> d6057f7ad7ab 01:44:09 Step 13/24 : FROM alpine:3.17 01:44:09 3.17: Pulling from library/alpine 01:44:09 c41833b44d91: Already exists 01:44:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:44:09 Status: Downloaded newer image for alpine:3.17 01:44:09 ---> 51e60588ff2c 01:44:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:44:09 ---> Running in 3a3a221aca7c 01:44:09 Removing intermediate container 3a3a221aca7c 01:44:09 ---> 9836bed25063 01:44:09 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:44:09 ---> Running in 0a05673656c1 01:44:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:44:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:44:09 (1/1) Installing dumb-init (1.2.5-r2) 01:44:09 Executing busybox-1.35.0-r29.trigger 01:44:09 OK: 8 MiB in 16 packages 01:44:09 Removing intermediate container 0a05673656c1 01:44:09 ---> 873ba9dcd601 01:44:09 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:44:09 ---> d18395a48132 01:44:09 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:44:09 ---> dc033cc75b86 01:44:09 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:44:09 ---> 963b472ffb4f 01:44:09 Step 19/24 : EXPOSE 59982 01:44:09 ---> Running in 290c996259c7 01:44:09 Removing intermediate container 290c996259c7 01:44:09 ---> 8fe87ab05db6 01:44:09 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:44:09 ---> Running in ddf817b96ce3 01:44:09 Removing intermediate container ddf817b96ce3 01:44:09 ---> 257a0bdcc9b7 01:44:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:44:09 ---> Running in 0d86602331d8 01:44:09 Removing intermediate container 0d86602331d8 01:44:09 ---> 6b4f3bb971a4 01:44:09 Step 22/24 : LABEL arch=arm64 01:44:09 ---> Running in 4256b5a91361 01:44:09 Removing intermediate container 4256b5a91361 01:44:09 ---> aeea63e79715 01:44:09 Step 23/24 : LABEL git_sha=019c60404bb83e30963e3ac75b0107041a510748 01:44:09 ---> Running in 6829f1b838ce 01:44:09 Removing intermediate container 6829f1b838ce 01:44:09 ---> bf9f71f22eda 01:44:09 Step 24/24 : LABEL version=3.0.0-dev.41 01:44:09 ---> Running in fb42d91f5035 01:44:09 Removing intermediate container fb42d91f5035 01:44:09 ---> a5b3ef8f834b 01:44:09 [Warning] One or more build-args [ARCH] were not consumed 01:44:09 Successfully built a5b3ef8f834b 01:44:09 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 01:44:09 provisioning config files... 01:44:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/125@tmp/config11053830869669631276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:09 ---> docker-login.sh 01:44:09 nexus3.edgexfoundry.org:10001 01:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:10 Configure a credential helper to remove this warning. See 01:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:10 01:44:10 Login Succeeded 01:44:10 nexus3.edgexfoundry.org:10002 01:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:10 Configure a credential helper to remove this warning. See 01:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:10 01:44:10 Login Succeeded 01:44:10 nexus3.edgexfoundry.org:10003 01:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:11 Configure a credential helper to remove this warning. See 01:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:11 01:44:11 Login Succeeded 01:44:11 nexus3.edgexfoundry.org:10004 01:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:11 Configure a credential helper to remove this warning. See 01:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:11 01:44:11 Login Succeeded 01:44:11 docker.io 01:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:11 Configure a credential helper to remove this warning. See 01:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:11 01:44:11 Login Succeeded 01:44:11 ---> docker-login.sh ends [Pipeline] } 01:44:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:44:11 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:44:11 019c60404bb83e30963e3ac75b0107041a510748 01:44:11 latest 01:44:11 3.0.0-dev.41 01:44:11 019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 01:44:11 main 01:44:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:019c60404bb83e30963e3ac75b0107041a510748 01:44:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:44:12 bdde9c11f2d9: Preparing 01:44:12 0d8d4016e4bd: Preparing 01:44:12 27e6ae8e2e73: Preparing 01:44:12 41f0e52cfb50: Preparing 01:44:12 26cbea5cba74: Preparing 01:44:12 26cbea5cba74: Layer already exists 01:44:12 0d8d4016e4bd: Pushed 01:44:12 41f0e52cfb50: Pushed 01:44:12 bdde9c11f2d9: Pushed 01:44:19 27e6ae8e2e73: Pushed 01:44:19 019c60404bb83e30963e3ac75b0107041a510748: digest: sha256:801cb752bdef45f7914893717c367775947c8290521f35b6890aaa6a1a41c39b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:44:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:44:20 bdde9c11f2d9: Preparing 01:44:20 0d8d4016e4bd: Preparing 01:44:20 27e6ae8e2e73: Preparing 01:44:20 41f0e52cfb50: Preparing 01:44:20 26cbea5cba74: Preparing 01:44:20 bdde9c11f2d9: Layer already exists 01:44:20 26cbea5cba74: Layer already exists 01:44:20 27e6ae8e2e73: Layer already exists 01:44:20 0d8d4016e4bd: Layer already exists 01:44:20 41f0e52cfb50: Layer already exists 01:44:20 latest: digest: sha256:801cb752bdef45f7914893717c367775947c8290521f35b6890aaa6a1a41c39b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.41 01:44:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:44:21 bdde9c11f2d9: Preparing 01:44:21 0d8d4016e4bd: Preparing 01:44:21 27e6ae8e2e73: Preparing 01:44:21 41f0e52cfb50: Preparing 01:44:21 26cbea5cba74: Preparing 01:44:21 bdde9c11f2d9: Layer already exists 01:44:21 26cbea5cba74: Layer already exists 01:44:21 0d8d4016e4bd: Layer already exists 01:44:21 27e6ae8e2e73: Layer already exists 01:44:21 41f0e52cfb50: Layer already exists 01:44:21 3.0.0-dev.41: digest: sha256:801cb752bdef45f7914893717c367775947c8290521f35b6890aaa6a1a41c39b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 01:44:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:44:22 bdde9c11f2d9: Preparing 01:44:22 0d8d4016e4bd: Preparing 01:44:22 27e6ae8e2e73: Preparing 01:44:22 41f0e52cfb50: Preparing 01:44:22 26cbea5cba74: Preparing 01:44:22 26cbea5cba74: Layer already exists 01:44:22 0d8d4016e4bd: Layer already exists 01:44:22 bdde9c11f2d9: Layer already exists 01:44:22 27e6ae8e2e73: Layer already exists 01:44:22 41f0e52cfb50: Layer already exists 01:44:22 019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41: digest: sha256:801cb752bdef45f7914893717c367775947c8290521f35b6890aaa6a1a41c39b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:44:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:44:23 bdde9c11f2d9: Preparing 01:44:23 0d8d4016e4bd: Preparing 01:44:23 27e6ae8e2e73: Preparing 01:44:23 41f0e52cfb50: Preparing 01:44:23 26cbea5cba74: Preparing 01:44:23 bdde9c11f2d9: Layer already exists 01:44:23 0d8d4016e4bd: Layer already exists 01:44:23 27e6ae8e2e73: Layer already exists 01:44:23 41f0e52cfb50: Layer already exists 01:44:23 26cbea5cba74: Layer already exists 01:44:23 main: digest: sha256:801cb752bdef45f7914893717c367775947c8290521f35b6890aaa6a1a41c39b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:44:23 ===================================================== [Pipeline] echo 01:44:23 taggedImages: 01:44:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:019c60404bb83e30963e3ac75b0107041a510748 01:44:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:44:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.41 01:44:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:019c60404bb83e30963e3ac75b0107041a510748-3.0.0-dev.41 01:44:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:24 01:44:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:24 arm64: Pulling from edgex-lftools-log-publisher 01:44:24 8998bd30e6a1: Pulling fs layer 01:44:24 04944245beec: Pulling fs layer 01:44:24 699f458cf7ca: Pulling fs layer 01:44:24 765212b225bb: Pulling fs layer 01:44:24 f23df028b6ca: Pulling fs layer 01:44:24 d65c8cfc05b1: Pulling fs layer 01:44:24 2437ff75d9bd: Pulling fs layer 01:44:24 765212b225bb: Waiting 01:44:24 f23df028b6ca: Waiting 01:44:24 d65c8cfc05b1: Waiting 01:44:24 2437ff75d9bd: Waiting 01:44:24 04944245beec: Verifying Checksum 01:44:24 04944245beec: Download complete 01:44:24 765212b225bb: Verifying Checksum 01:44:24 765212b225bb: Download complete 01:44:24 f23df028b6ca: Verifying Checksum 01:44:24 f23df028b6ca: Download complete 01:44:24 d65c8cfc05b1: Verifying Checksum 01:44:24 d65c8cfc05b1: Download complete 01:44:24 699f458cf7ca: Verifying Checksum 01:44:24 699f458cf7ca: Download complete 01:44:25 8998bd30e6a1: Verifying Checksum 01:44:25 8998bd30e6a1: Download complete 01:44:27 2437ff75d9bd: Verifying Checksum 01:44:27 2437ff75d9bd: Download complete 01:44:29 8998bd30e6a1: Pull complete 01:44:30 04944245beec: Pull complete 01:44:31 699f458cf7ca: Pull complete 01:44:31 765212b225bb: Pull complete 01:44:32 f23df028b6ca: Pull complete 01:44:32 d65c8cfc05b1: Pull complete 01:44:47 2437ff75d9bd: Pull complete 01:44:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:47 prd-ubuntu20.04-docker-arm64-4c-16g-16911 does not seem to be running inside a container 01:44:47 $ 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/125 -v /w/workspace/device-mqtt-go/125:/w/workspace/device-mqtt-go/125:rw,z -v /w/workspace/device-mqtt-go/125@tmp:/w/workspace/device-mqtt-go/125@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 01:44:50 $ docker top 627eb6d8220e9539ab4178340ec2817ea6d889cb4b350ccd0624f5e675c45c5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:51 ---> job-cost.sh 01:44:51 lf-activate-venv: SKIPPING 01:44:51 INFO: No Stack... 01:44:51 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:52 INFO: Archiving Costs [Pipeline] sh 01:44:53 + cat /w/workspace/device-mqtt-go/125/archives/cost.csv 01:44:53 + cut -d, -f6 [Pipeline] lock 01:44:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] 01:44:53 Resource [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] did not exist. Created. 01:44:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:53 /w/workspace/device-mqtt-go/125@tmp/durable-da37a5cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:54 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:54 Warning: overwriting stash ‘stack-cost’ 01:44:54 Stashed 1 file(s) [Pipeline] } 01:44:54 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:54 $ docker stop --time=1 627eb6d8220e9539ab4178340ec2817ea6d889cb4b350ccd0624f5e675c45c5c 01:44:56 $ docker rm -f --volumes 627eb6d8220e9539ab4178340ec2817ea6d889cb4b350ccd0624f5e675c45c5c [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 01:44:56 provisioning config files... 01:44:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17493430704008569612tmp [Pipeline] { [Pipeline] sh 01:44:56 + set +x 01:44:56 + bash -s -- 01:44:56 + curl -s https://codecov.io/bash 01:44:56 01:44:56 _____ _ 01:44:56 / ____| | | 01:44:56 | | ___ __| | ___ ___ _____ __ 01:44:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:56 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:56 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:56 Bash-1.0.6 01:44:56 01:44:56 01:44:56 ==> git version 2.25.1 found 01:44:56 ==> 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 01:44:56 Release-Date: 2020-01-08 01:44:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:56 ==> Jenkins CI detected. 01:44:56 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:44:56 project root: . 01:44:56 --> token set from env 01:44:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:56 ==> Running gcov in . (disable via -X gcov) 01:44:56 ==> Python coveragepy not found 01:44:56 ==> Searching for coverage reports in: 01:44:56 + . 01:44:56 -> Found 1 reports 01:44:56 ==> Detecting git/mercurial file structure 01:44:57 ==> Reading reports 01:44:57 + ./coverage.out bytes=18506 01:44:57 ==> Appending adjustments 01:44:57 https://docs.codecov.io/docs/fixing-reports 01:44:57 + Found adjustments 01:44:57 ==> Gzipping contents 01:44:57 4.0K /tmp/codecov.OmZI1k.gz 01:44:57 ==> Uploading reports 01:44:57 url: https://codecov.io 01:44:57 query: branch=main&commit=019c60404bb83e30963e3ac75b0107041a510748&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:44:57 -> Pinging Codecov 01:44:57 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=019c60404bb83e30963e3ac75b0107041a510748&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:44:57 -> Uploading to 01:44:57 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/7D719EC7BBE17E464838252E33014C33/019c60404bb83e30963e3ac75b0107041a510748/11224611-3242-4eba-9b45-6da9b87d915d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T014457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76e0fc2db4b17970e02324cfb5f0ba5fddf379653b268cf227da1fee0ec2314e 01:44:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:57 Dload Upload Total Spent Left Speed 01:44:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 13756 --:--:-- --:--:-- --:--:-- 13815 01:44:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] } 01:44:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:44:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:44:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:44:58 01:44:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:44:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:44:58 df9b9388f04a: Pulling fs layer 01:44:58 52dc419b0ee2: Pulling fs layer 01:44:58 25bc292e5bac: Pulling fs layer 01:44:58 114826534d7a: Pulling fs layer 01:44:58 4657fd5d0bcf: Pulling fs layer 01:44:58 6ad1cebc031e: Pulling fs layer 01:44:58 8a3aa393b2d8: Pulling fs layer 01:44:58 114826534d7a: Waiting 01:44:58 4657fd5d0bcf: Waiting 01:44:58 6ad1cebc031e: Waiting 01:44:58 8a3aa393b2d8: Waiting 01:44:58 25bc292e5bac: Verifying Checksum 01:44:58 25bc292e5bac: Download complete 01:44:58 52dc419b0ee2: Verifying Checksum 01:44:58 52dc419b0ee2: Download complete 01:44:58 4657fd5d0bcf: Verifying Checksum 01:44:58 4657fd5d0bcf: Download complete 01:44:58 df9b9388f04a: Download complete 01:44:58 df9b9388f04a: Pull complete 01:44:58 6ad1cebc031e: Verifying Checksum 01:44:58 6ad1cebc031e: Download complete 01:44:58 52dc419b0ee2: Pull complete 01:44:59 25bc292e5bac: Pull complete 01:44:59 114826534d7a: Download complete 01:44:59 8a3aa393b2d8: Verifying Checksum 01:44:59 8a3aa393b2d8: Download complete 01:45:03 114826534d7a: Pull complete 01:45:03 4657fd5d0bcf: Pull complete 01:45:03 6ad1cebc031e: Pull complete 01:45:06 8a3aa393b2d8: Pull complete 01:45:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:45:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:06 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:45:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:45:10 $ docker top 6a79d5ea95793775adce8b033a07ca84f01187d4ca53e026c3109d7f7509dbeb -eo pid,comm [Pipeline] { [Pipeline] echo 01:45:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 01:45:11 + set -o pipefail 01:45:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 01:45:15 01:45:15 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:45:15 01:45:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/6fa7ea68-db72-4027-b524-2e61d3ccd791 01:45:15 01:45:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:45:15 01:45:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:45:15 01:45:15 01:45:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:45:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:45:15 More details here: https://snyk.co/ue1NS [Pipeline] } 01:45:15 $ docker stop --time=1 6a79d5ea95793775adce8b033a07ca84f01187d4ca53e026c3109d7f7509dbeb 01:45:18 $ docker rm -f --volumes 6a79d5ea95793775adce8b033a07ca84f01187d4ca53e026c3109d7f7509dbeb [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 01:45:19 + git log --format=format:%s -1 019c60404bb83e30963e3ac75b0107041a510748 [Pipeline] sh 01:45:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:20 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:45:20 $ 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 01:45:20 $ docker top f29637558862647f483679e23b88091d0591a65ccec68d93a89d504bec47c467 -eo pid,comm 01:45:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:45:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:20 [ssh-agent] Looking for ssh-agent implementation... 01:45:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:20 $ docker exec f29637558862647f483679e23b88091d0591a65ccec68d93a89d504bec47c467 ssh-agent 01:45:20 SSH_AUTH_SOCK=/tmp/ssh-EFweVYR5LUGB/agent.33 01:45:20 SSH_AGENT_PID=39 01:45:20 Running ssh-add (command line suppressed) 01:45:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14894024788491925221.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14894024788491925221.key) 01:45:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:21 + git semver tag 01:45:21 2023-05-25 01:45:21,409 [run_tag] DEBUG tag force:False 01:45:21 2023-05-25 01:45:21,410 [check_head_tag] DEBUG check head tag 01:45:21 2023-05-25 01:45:21,411 [execute] INFO git cat-file --batch-check 01:45:21 2023-05-25 01:45:21,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:45:21 2023-05-25 01:45:21,414 [execute] INFO git cat-file --batch 01:45:21 2023-05-25 01:45:21,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 01:45:21 2023-05-25 01:45:21,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:21 2023-05-25 01:45:21,438 [execute] INFO git tag -a v3.0.0-dev.41 -m v3.0.0-dev.41 01:45:21 2023-05-25 01:45:21,438 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.41', '-m', 'v3.0.0-dev.41'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:45:21 2023-05-25 01:45:21,442 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:21 3.0.0-dev.41 [Pipeline] } 01:45:21 $ docker exec --env ******** --env ******** f29637558862647f483679e23b88091d0591a65ccec68d93a89d504bec47c467 ssh-agent -k 01:45:21 unset SSH_AUTH_SOCK; 01:45:21 unset SSH_AGENT_PID; 01:45:21 echo Agent pid 39 killed; 01:45:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:21 + git semver [Pipeline] } 01:45:22 $ docker stop --time=1 f29637558862647f483679e23b88091d0591a65ccec68d93a89d504bec47c467 01:45:23 $ docker rm -f --volumes f29637558862647f483679e23b88091d0591a65ccec68d93a89d504bec47c467 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:45:23 01:45:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:45:24 0.23.1-centos7: Pulling from edgex-lftools 01:45:24 ab5ef0e58194: Pulling fs layer 01:45:24 9712f1f96733: Pulling fs layer 01:45:24 63f879dbbcfc: Pulling fs layer 01:45:24 0d9ebad4ef96: Pulling fs layer 01:45:24 e9a5061849ea: Pulling fs layer 01:45:24 d747dcd14b5f: Pulling fs layer 01:45:24 2de7ff778b66: Pulling fs layer 01:45:24 0d9ebad4ef96: Waiting 01:45:24 d747dcd14b5f: Waiting 01:45:24 2de7ff778b66: Waiting 01:45:24 9712f1f96733: Verifying Checksum 01:45:24 9712f1f96733: Download complete 01:45:24 63f879dbbcfc: Verifying Checksum 01:45:24 63f879dbbcfc: Download complete 01:45:24 e9a5061849ea: Verifying Checksum 01:45:24 e9a5061849ea: Download complete 01:45:24 d747dcd14b5f: Verifying Checksum 01:45:24 d747dcd14b5f: Download complete 01:45:24 ab5ef0e58194: Verifying Checksum 01:45:24 ab5ef0e58194: Download complete 01:45:24 0d9ebad4ef96: Verifying Checksum 01:45:24 0d9ebad4ef96: Download complete 01:45:24 2de7ff778b66: Verifying Checksum 01:45:24 2de7ff778b66: Download complete 01:45:27 ab5ef0e58194: Pull complete 01:45:27 9712f1f96733: Pull complete 01:45:27 63f879dbbcfc: Pull complete 01:45:31 0d9ebad4ef96: Pull complete 01:45:31 e9a5061849ea: Pull complete 01:45:31 d747dcd14b5f: Pull complete 01:45:32 2de7ff778b66: Pull complete 01:45:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:45:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:45:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:32 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:45:32 $ 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 01:45:37 $ docker top c8c2ad4e9f955a22a83de3685940ad94f9c91a0daa13b5431cba33b57558395c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:45:38 provisioning config files... 01:45:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6926484245540253700tmp 01:45:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14188930951109041454tmp 01:45:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9393350947278839610tmp [Pipeline] { [Pipeline] echo 01:45:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:45:38 ---> sigul-configuration.sh 01:45:38 gpg: directory `/root/.gnupg' created 01:45:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:45:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:45:38 gpg: keyring `/root/.gnupg/secring.gpg' created 01:45:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:45:38 gpg: CAST5 encrypted data 01:45:38 gpg: encrypted with 1 passphrase 01:45:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:45:38 + mkdir /home/jenkins 01:45:38 + mkdir /home/jenkins/sigul [Pipeline] sh 01:45:38 + 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 01:45:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:45:39 ---> sigul-install.sh 01:45:39 Sigul already installed; skipping installation. [Pipeline] sh 01:45:39 + git tag --list 01:45:39 0.7.1 01:45:39 v1.0.0 01:45:39 v1.1.0 01:45:39 v1.1.1 01:45:39 v1.2.2 01:45:39 v1.3.0 01:45:39 v1.3.1 01:45:39 v2.0.0 01:45:39 v2.1.0 01:45:39 v2.1.1 01:45:39 v2.1.1-dev.1 01:45:39 v2.1.1-dev.2 01:45:39 v2.2.0 01:45:39 v2.2.1-dev.1 01:45:39 v2.2.1-dev.10 01:45:39 v2.2.1-dev.2 01:45:39 v2.2.1-dev.3 01:45:39 v2.2.1-dev.4 01:45:39 v2.2.1-dev.5 01:45:39 v2.2.1-dev.6 01:45:39 v2.2.1-dev.7 01:45:39 v2.2.1-dev.8 01:45:39 v2.2.1-dev.9 01:45:39 v2.3.0 01:45:39 v2.3.0-dev.10 01:45:39 v2.3.0-dev.11 01:45:39 v2.3.0-dev.12 01:45:39 v2.3.0-dev.13 01:45:39 v2.3.0-dev.14 01:45:39 v2.3.0-dev.15 01:45:39 v2.3.0-dev.16 01:45:39 v2.3.0-dev.17 01:45:39 v2.3.0-dev.18 01:45:39 v2.3.0-dev.19 01:45:39 v2.3.0-dev.20 01:45:39 v2.3.0-dev.21 01:45:39 v2.3.0-dev.22 01:45:39 v2.3.0-dev.23 01:45:39 v2.3.0-dev.24 01:45:39 v2.3.0-dev.25 01:45:39 v2.3.0-dev.26 01:45:39 v2.3.0-dev.27 01:45:39 v2.3.0-dev.28 01:45:39 v2.3.0-dev.29 01:45:39 v2.3.0-dev.30 01:45:39 v2.3.0-dev.31 01:45:39 v2.3.0-dev.32 01:45:39 v2.3.0-dev.33 01:45:39 v2.3.0-dev.34 01:45:39 v3.0.0-dev.1 01:45:39 v3.0.0-dev.10 01:45:39 v3.0.0-dev.11 01:45:39 v3.0.0-dev.12 01:45:39 v3.0.0-dev.13 01:45:39 v3.0.0-dev.14 01:45:39 v3.0.0-dev.15 01:45:39 v3.0.0-dev.16 01:45:39 v3.0.0-dev.17 01:45:39 v3.0.0-dev.18 01:45:39 v3.0.0-dev.19 01:45:39 v3.0.0-dev.2 01:45:39 v3.0.0-dev.20 01:45:39 v3.0.0-dev.21 01:45:39 v3.0.0-dev.22 01:45:39 v3.0.0-dev.23 01:45:39 v3.0.0-dev.24 01:45:39 v3.0.0-dev.25 01:45:39 v3.0.0-dev.26 01:45:39 v3.0.0-dev.27 01:45:39 v3.0.0-dev.28 01:45:39 v3.0.0-dev.29 01:45:39 v3.0.0-dev.3 01:45:39 v3.0.0-dev.30 01:45:39 v3.0.0-dev.31 01:45:39 v3.0.0-dev.32 01:45:39 v3.0.0-dev.33 01:45:39 v3.0.0-dev.34 01:45:39 v3.0.0-dev.35 01:45:39 v3.0.0-dev.36 01:45:39 v3.0.0-dev.37 01:45:39 v3.0.0-dev.38 01:45:39 v3.0.0-dev.39 01:45:39 v3.0.0-dev.4 01:45:39 v3.0.0-dev.40 01:45:39 v3.0.0-dev.41 01:45:39 v3.0.0-dev.5 01:45:39 v3.0.0-dev.6 01:45:39 v3.0.0-dev.7 01:45:39 v3.0.0-dev.8 01:45:39 v3.0.0-dev.9 [Pipeline] sh 01:45:39 + lftools sign git-tag v3.0.0-dev.41 01:45:40 Signing Git tag with Sigul... 01:45:40 Signing v3.0.0-dev.41 [Pipeline] echo 01:45:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:45:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:45:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:45:40 $ docker stop --time=1 c8c2ad4e9f955a22a83de3685940ad94f9c91a0daa13b5431cba33b57558395c 01:45:42 $ docker rm -f --volumes c8c2ad4e9f955a22a83de3685940ad94f9c91a0daa13b5431cba33b57558395c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:45:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:43 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:43 $ docker top 146c77f205bdb3eca10706c40bea727de1061c990bae732578f661a28477384d -eo pid,comm 01:45:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:45:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:43 [ssh-agent] Looking for ssh-agent implementation... 01:45:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:43 $ docker exec 146c77f205bdb3eca10706c40bea727de1061c990bae732578f661a28477384d ssh-agent 01:45:43 SSH_AUTH_SOCK=/tmp/ssh-YAbktrJIQHqs/agent.33 01:45:43 SSH_AGENT_PID=39 01:45:43 Running ssh-add (command line suppressed) 01:45:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12953279375401312045.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12953279375401312045.key) 01:45:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:44 + git semver bump pre 01:45:44 2023-05-25 01:45:44,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:44 2023-05-25 01:45:44,427 [bump_version] DEBUG bumping version:3.0.0-dev.41 on axis:pre with prefix:dev 01:45:44 2023-05-25 01:45:44,427 [bump_version] DEBUG bumped version:3.0.0-dev.42 01:45:44 2023-05-25 01:45:44,427 [write_version] DEBUG write version:3.0.0-dev.42 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 01:45:44 2023-05-25 01:45:44,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:44 2023-05-25 01:45:44,427 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:44 2023-05-25 01:45:44,429 [execute] INFO git cat-file --batch-check 01:45:44 2023-05-25 01:45:44,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:45:44 2023-05-25 01:45:44,436 [execute] INFO git cat-file --batch 01:45:44 2023-05-25 01:45:44,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:45:44 2023-05-25 01:45:44,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:44 3.0.0-dev.42 [Pipeline] } 01:45:44 $ docker exec --env ******** --env ******** 146c77f205bdb3eca10706c40bea727de1061c990bae732578f661a28477384d ssh-agent -k 01:45:44 unset SSH_AUTH_SOCK; 01:45:44 unset SSH_AGENT_PID; 01:45:44 echo Agent pid 39 killed; 01:45:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:44 + git semver [Pipeline] } 01:45:45 $ docker stop --time=1 146c77f205bdb3eca10706c40bea727de1061c990bae732578f661a28477384d 01:45:46 $ docker rm -f --volumes 146c77f205bdb3eca10706c40bea727de1061c990bae732578f661a28477384d [Pipeline] // withDockerContainer [Pipeline] sh 01:45:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:47 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:45:47 $ 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 01:45:47 $ docker top d3dfdcb8865b8f4af7c37844693bc789582ac090042dde4252bdefa7e5eeea2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:47 [ssh-agent] Looking for ssh-agent implementation... 01:45:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:47 $ docker exec d3dfdcb8865b8f4af7c37844693bc789582ac090042dde4252bdefa7e5eeea2c ssh-agent 01:45:47 SSH_AUTH_SOCK=/tmp/ssh-IJs681Sbi7WF/agent.33 01:45:47 SSH_AGENT_PID=39 01:45:47 Running ssh-add (command line suppressed) 01:45:47 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3084264963591139936.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3084264963591139936.key) 01:45:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:48 + git semver push 01:45:48 2023-05-25 01:45:48,391 [run_push] DEBUG push 01:45:48 2023-05-25 01:45:48,391 [execute] INFO git cat-file --batch-check 01:45:48 2023-05-25 01:45:48,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:45:48 2023-05-25 01:45:48,395 [execute] INFO git rev-list 2299faf9267cb16a2fbd61a748d0fa8ae6d75906 -- 01:45:48 2023-05-25 01:45:48,396 [execute] DEBUG Popen(['git', 'rev-list', '2299faf9267cb16a2fbd61a748d0fa8ae6d75906', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:45:48 2023-05-25 01:45:48,404 [execute] INFO git fetch -v origin 01:45:48 2023-05-25 01:45:48,404 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:45:49 2023-05-25 01:45:48,881 [run_push] DEBUG no remote changes detected 01:45:49 2023-05-25 01:45:48,882 [execute] INFO git push origin semver 01:45:49 2023-05-25 01:45:48,882 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:45:49 2023-05-25 01:45:49,627 [run_push] DEBUG push all version tags 01:45:49 2023-05-25 01:45:49,627 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:45:49 2023-05-25 01:45:49,628 [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) 01:45:50 2023-05-25 01:45:50,348 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:45:50 3.0.0-dev.42 [Pipeline] } 01:45:50 $ docker exec --env ******** --env ******** d3dfdcb8865b8f4af7c37844693bc789582ac090042dde4252bdefa7e5eeea2c ssh-agent -k 01:45:50 unset SSH_AUTH_SOCK; 01:45:50 unset SSH_AGENT_PID; 01:45:50 echo Agent pid 39 killed; 01:45:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:50 + git semver [Pipeline] } 01:45:51 $ docker stop --time=1 d3dfdcb8865b8f4af7c37844693bc789582ac090042dde4252bdefa7e5eeea2c 01:45:52 $ docker rm -f --volumes d3dfdcb8865b8f4af7c37844693bc789582ac090042dde4252bdefa7e5eeea2c [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 01:45:53 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 01:45:53 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:45:53 total 16 01:45:53 drwxr-xr-x 3 root root 4096 May 25 01:30 . 01:45:53 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:45 .. 01:45:53 drwxr-xr-x 2 root root 4096 May 25 01:30 cost 01:45:53 -rw-r--r-- 1 root root 86 May 25 01:30 cost.csv 01:45:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:45:53 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:45:53 total 16 01:45:53 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:30 . 01:45:53 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:45 .. 01:45:53 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:30 cost 01:45:53 -rw-r--r-- 1 jenkins jenkins 86 May 25 01:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:45:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:45:54 ---> package-listing.sh 01:45:54 ++ facter osfamily 01:45:54 ++ tr '[:upper:]' '[:lower:]' 01:45:54 + OS_FAMILY=debian 01:45:54 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 01:45:54 + START_PACKAGES=/tmp/packages_start.txt 01:45:54 + END_PACKAGES=/tmp/packages_end.txt 01:45:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:45:54 + PACKAGES=/tmp/packages_start.txt 01:45:54 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:45:54 + PACKAGES=/tmp/packages_end.txt 01:45:54 + case "${OS_FAMILY}" in 01:45:54 + dpkg -l 01:45:54 + grep '^ii' 01:45:54 + '[' -f /tmp/packages_start.txt ']' 01:45:54 + '[' -f /tmp/packages_end.txt ']' 01:45:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:45:54 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:45:54 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 01:45:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 01:45:54 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 01:45:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:55 prd-ubuntu20.04-docker-8c-8g-16896 does not seem to be running inside a container 01:45:55 $ 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 01:45:55 $ docker top 52fa51c3e8ca3036697a01e5f823f66e36f7cb23dbe1e446c8e3856f81909de1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:56 + touch /tmp/pre-build-complete [Pipeline] sh 01:45:56 + mkdir -p /var/log/sysstat [Pipeline] sh 01:45:56 + ls /var/log/sa-host 01:45:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:56 provisioning config files... 01:45:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config771598762727477185tmp [Pipeline] { [Pipeline] echo 01:45:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:45:57 ---> create-netrc.sh [Pipeline] } 01:45:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:45:57 ---> python-tools-install.sh [Pipeline] echo 01:45:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:45:57 ---> sudo-logs.sh 01:45:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:45:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:45:57 ---> job-cost.sh 01:45:57 lf-activate-venv: SKIPPING 01:45:57 DEBUG: total: 0.2199999988079071 01:45:57 INFO: Retrieving Stack Cost... 01:45:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:45:58 INFO: Archiving Costs [Pipeline] echo 01:45:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:45:59 ---> logs-deploy.sh 01:45:59 lf-activate-venv: SKIPPING 01:45:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/125 01:45:59 INFO: archiving workspace using pattern(s): 01:46:00 Archives upload complete. 01:46:00 INFO: archiving logs to Nexus 01:46:00 ---> uname -a: 01:46:00 Linux prd-ubuntu20-04-docker-8c-8g-16896 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:46:00 01:46:00 01:46:00 ---> lscpu: 01:46:00 Architecture: x86_64 01:46:00 CPU op-mode(s): 32-bit, 64-bit 01:46:00 Byte Order: Little Endian 01:46:00 Address sizes: 40 bits physical, 48 bits virtual 01:46:00 CPU(s): 8 01:46:00 On-line CPU(s) list: 0-7 01:46:00 Thread(s) per core: 1 01:46:00 Core(s) per socket: 1 01:46:00 Socket(s): 8 01:46:00 NUMA node(s): 1 01:46:00 Vendor ID: AuthenticAMD 01:46:00 CPU family: 23 01:46:00 Model: 49 01:46:00 Model name: AMD EPYC-Rome Processor 01:46:00 Stepping: 0 01:46:00 CPU MHz: 2800.000 01:46:00 BogoMIPS: 5600.00 01:46:00 Virtualization: AMD-V 01:46:00 Hypervisor vendor: KVM 01:46:00 Virtualization type: full 01:46:00 L1d cache: 256 KiB 01:46:00 L1i cache: 256 KiB 01:46:00 L2 cache: 4 MiB 01:46:00 L3 cache: 128 MiB 01:46:00 NUMA node0 CPU(s): 0-7 01:46:00 Vulnerability Itlb multihit: Not affected 01:46:00 Vulnerability L1tf: Not affected 01:46:00 Vulnerability Mds: Not affected 01:46:00 Vulnerability Meltdown: Not affected 01:46:00 Vulnerability Mmio stale data: Not affected 01:46:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:46:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:46:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:46:00 Vulnerability Srbds: Not affected 01:46:00 Vulnerability Tsx async abort: Not affected 01:46:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:46:00 01:46:00 01:46:00 ---> nproc: 01:46:00 8 01:46:00 01:46:00