Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2c07314706493d6366513279fddb5169d0fbe38 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-ssh10408434281797682573.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15565380797855146500.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12145380698104427039.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13770392566050757190.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-ssh12330087167551398769.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9540 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 e2c07314706493d6366513279fddb5169d0fbe38 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "build(snap): Upgrade snap base to core22 (#577)" > git config core.sparsecheckout # timeout=10 > git checkout -f e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 > git rev-list --no-walk 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:56:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:56:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:56:39 ========================================================= 15:56:39 EdgeX Global Pipelines Version Info 15:56:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:56:39 ------------------- 15:56:39 stable info: 15:56:39 ------------------- 15:56:39 Commited By: Bill Mahoney bill.mahoney@intel.com 15:56:39 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:56:39 Message: update stable to v1.0.248 15:56:40 ------------------- 15:56:40 experimental info: 15:56:40 ------------------- 15:56:40 Commited By: **** collab-it+edgex@linuxfoundation.org 15:56:40 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:56:40 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2c0731 [Pipeline] echo 15:56:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:41 provisioning config files... 15:56:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13483136782502798654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:41 ---> docker-login.sh 15:56:41 nexus3.edgexfoundry.org:10001 15:56:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:41 Configure a credential helper to remove this warning. See 15:56:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:41 15:56:41 Login Succeeded 15:56:41 nexus3.edgexfoundry.org:10002 15:56:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:41 Configure a credential helper to remove this warning. See 15:56:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:41 15:56:41 Login Succeeded 15:56:41 nexus3.edgexfoundry.org:10003 15:56:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:41 Configure a credential helper to remove this warning. See 15:56:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:41 15:56:41 Login Succeeded 15:56:41 nexus3.edgexfoundry.org:10004 15:56:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:42 Configure a credential helper to remove this warning. See 15:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:42 15:56:42 Login Succeeded 15:56:42 docker.io 15:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:42 Configure a credential helper to remove this warning. See 15:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:42 15:56:42 Login Succeeded 15:56:42 ---> docker-login.sh ends [Pipeline] } 15:56:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:56:42 + git rev-list -1 --merges e2c07314706493d6366513279fddb5169d0fbe38~1..e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] echo 15:56:42 -----------> git rev-list -1 --merges e2c07314706493d6366513279fddb5169d0fbe38~1..e2c07314706493d6366513279fddb5169d0fbe38 e2c07314706493d6366513279fddb5169d0fbe38 [false] [Pipeline] sh 15:56:43 + git log --format=format:%s -1 e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] echo 15:56:43 ========================================================= 15:56:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:56:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:43 + git log --format=format:%s -1 e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] echo 15:56:43 [semverPrep] GIT_COMMIT: e2c07314706493d6366513279fddb5169d0fbe38, Commit Message: build(snap): Upgrade snap base to core22 (#577) [Pipeline] echo 15:56:43 [semverPrep] This is not a build commit. [Pipeline] sh 15:56:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:43 + grep -v github /etc/ssh/ssh_known_hosts 15:56:43 + [ -e /tmp/ssh_known_hosts ] 15:56:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:56:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:56:43 + sudo tee -a /etc/ssh/ssh_known_hosts 15:56:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:44 15:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:44 0.1.4: Pulling from edgex-devops/py-git-semver 15:56:44 b85a868b505f: Pulling fs layer 15:56:44 e2be974225ed: Pulling fs layer 15:56:44 339a4e72a1f5: Pulling fs layer 15:56:44 988bab9f4d93: Pulling fs layer 15:56:44 1469e6f7b9e6: Pulling fs layer 15:56:44 eaf3925da568: Pulling fs layer 15:56:44 bab4dde63d76: Pulling fs layer 15:56:44 bde34c3a00c8: Pulling fs layer 15:56:44 b352a97aabf1: Pulling fs layer 15:56:44 4872d77fe225: Pulling fs layer 15:56:44 5851b861e8e6: Pulling fs layer 15:56:44 988bab9f4d93: Waiting 15:56:44 1469e6f7b9e6: Waiting 15:56:44 eaf3925da568: Waiting 15:56:44 bab4dde63d76: Waiting 15:56:44 bde34c3a00c8: Waiting 15:56:44 4872d77fe225: Waiting 15:56:44 5851b861e8e6: Waiting 15:56:44 b352a97aabf1: Waiting 15:56:44 e2be974225ed: Verifying Checksum 15:56:44 e2be974225ed: Download complete 15:56:44 988bab9f4d93: Download complete 15:56:44 339a4e72a1f5: Verifying Checksum 15:56:44 339a4e72a1f5: Download complete 15:56:44 1469e6f7b9e6: Verifying Checksum 15:56:44 1469e6f7b9e6: Download complete 15:56:44 eaf3925da568: Verifying Checksum 15:56:44 eaf3925da568: Download complete 15:56:44 bde34c3a00c8: Verifying Checksum 15:56:44 bde34c3a00c8: Download complete 15:56:44 b352a97aabf1: Verifying Checksum 15:56:44 b352a97aabf1: Download complete 15:56:44 4872d77fe225: Verifying Checksum 15:56:44 4872d77fe225: Download complete 15:56:44 5851b861e8e6: Verifying Checksum 15:56:44 5851b861e8e6: Download complete 15:56:44 b85a868b505f: Verifying Checksum 15:56:44 b85a868b505f: Download complete 15:56:45 bab4dde63d76: Verifying Checksum 15:56:45 bab4dde63d76: Download complete 15:56:46 b85a868b505f: Pull complete 15:56:46 e2be974225ed: Pull complete 15:56:46 339a4e72a1f5: Pull complete 15:56:46 988bab9f4d93: Pull complete 15:56:47 1469e6f7b9e6: Pull complete 15:56:47 eaf3925da568: Pull complete 15:56:48 bab4dde63d76: Pull complete 15:56:48 bde34c3a00c8: Pull complete 15:56:49 b352a97aabf1: Pull complete 15:56:49 4872d77fe225: Pull complete 15:56:49 5851b861e8e6: Pull complete 15:56:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:56:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:49 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 15:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:53 $ docker top 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 -eo pid,comm 15:56:54 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). 15:56:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:54 [ssh-agent] Looking for ssh-agent implementation... 15:56:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:54 $ docker exec 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 ssh-agent 15:56:54 SSH_AUTH_SOCK=/tmp/ssh-PEsEh4tSjVlR/agent.34 15:56:54 SSH_AGENT_PID=40 15:56:54 Running ssh-add (command line suppressed) 15:56:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14105181316369947249.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14105181316369947249.key) 15:56:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:54 + git tag --points-at HEAD [Pipeline] } 15:56:54 $ docker exec --env ******** --env ******** 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 ssh-agent -k 15:56:54 unset SSH_AUTH_SOCK; 15:56:54 unset SSH_AGENT_PID; 15:56:54 echo Agent pid 40 killed; 15:56:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:56:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:54 [ssh-agent] Looking for ssh-agent implementation... 15:56:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:54 $ docker exec 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 ssh-agent 15:56:55 SSH_AUTH_SOCK=/tmp/ssh-Z3v6i9AfCW0L/agent.73 15:56:55 SSH_AGENT_PID=79 15:56:55 Running ssh-add (command line suppressed) 15:56:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5131161605618260584.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5131161605618260584.key) 15:56:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:55 + git semver init 15:56:55 2023-04-24 15:56:55,692 [run_init] DEBUG init version:0.0.0 force:False 15:56:55 2023-04-24 15:56:55,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:56:55 2023-04-24 15:56:55,693 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:56:55 2023-04-24 15:56:55,694 [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) 15:56:56 2023-04-24 15:56:56,513 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 15:56:56 2023-04-24 15:56:56,513 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 15:56:56 2023-04-24 15:56:56,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:56:56 2023-04-24 15:56:56,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:56:56 3.0.0-dev.24 [Pipeline] } 15:56:56 $ docker exec --env ******** --env ******** 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 ssh-agent -k 15:56:56 unset SSH_AUTH_SOCK; 15:56:56 unset SSH_AGENT_PID; 15:56:56 echo Agent pid 79 killed; 15:56:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:57 + git semver [Pipeline] } 15:56:57 $ docker stop --time=1 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 15:56:58 $ docker rm -f --volumes 0f677b6b065aafed1673f0949c8a4699b9380f55c0408dc778fc8b092803c944 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:56:59 Stashed 1 file(s) [Pipeline] echo 15:56:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.24 [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 15:56:59 provisioning config files... 15:56:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12916469603381827309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:59 ---> docker-login.sh 15:56:59 nexus3.edgexfoundry.org:10001 15:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:59 Configure a credential helper to remove this warning. See 15:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:59 15:56:59 Login Succeeded 15:56:59 nexus3.edgexfoundry.org:10002 15:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:59 Configure a credential helper to remove this warning. See 15:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:59 15:56:59 Login Succeeded 15:56:59 nexus3.edgexfoundry.org:10003 15:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:59 Configure a credential helper to remove this warning. See 15:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:59 15:56:59 Login Succeeded 15:56:59 nexus3.edgexfoundry.org:10004 15:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:00 Configure a credential helper to remove this warning. See 15:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:00 15:57:00 Login Succeeded 15:57:00 docker.io 15:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:00 Configure a credential helper to remove this warning. See 15:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:00 15:57:00 Login Succeeded 15:57:00 ---> docker-login.sh ends [Pipeline] } 15:57:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:57:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:00 ========================================================= 15:57:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:57:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:00 + 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 . 15:57:00 Sending build context to Docker daemon 6.45MB 15:57:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:57:00 Step 2/12 : FROM ${BASE} AS builder 15:57:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:57:00 63b65145d645: Pulling fs layer 15:57:00 a2d21d5440eb: Pulling fs layer 15:57:00 935e6c44a52c: Pulling fs layer 15:57:00 94cc34f8dd06: Pulling fs layer 15:57:00 94cc34f8dd06: Waiting 15:57:00 30dea6a524f1: Pulling fs layer 15:57:00 a2aff8979fd8: Pulling fs layer 15:57:00 30dea6a524f1: Waiting 15:57:00 a2aff8979fd8: Waiting 15:57:00 6808be2612f2: Pulling fs layer 15:57:00 f25807f1079a: Pulling fs layer 15:57:00 6808be2612f2: Waiting 15:57:00 f25807f1079a: Waiting 15:57:00 a2d21d5440eb: Download complete 15:57:01 94cc34f8dd06: Verifying Checksum 15:57:01 94cc34f8dd06: Download complete 15:57:01 30dea6a524f1: Verifying Checksum 15:57:01 30dea6a524f1: Download complete 15:57:01 63b65145d645: Verifying Checksum 15:57:01 63b65145d645: Download complete 15:57:01 a2aff8979fd8: Verifying Checksum 15:57:01 a2aff8979fd8: Download complete 15:57:01 63b65145d645: Pull complete 15:57:01 a2d21d5440eb: Pull complete 15:57:01 f25807f1079a: Verifying Checksum 15:57:01 f25807f1079a: Download complete 15:57:01 935e6c44a52c: Download complete 15:57:01 6808be2612f2: Verifying Checksum 15:57:01 6808be2612f2: Download complete 15:57:05 935e6c44a52c: Pull complete 15:57:05 94cc34f8dd06: Pull complete 15:57:05 30dea6a524f1: Pull complete 15:57:05 a2aff8979fd8: Pull complete 15:57:07 6808be2612f2: Pull complete 15:57:08 f25807f1079a: Pull complete 15:57:08 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:57:08 ---> 3b553350e43f 15:57:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:57:14 Still waiting to schedule task 15:57:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:57:14 ---> Running in 94c98835aef1 15:57:14 Removing intermediate container 94c98835aef1 15:57:14 ---> db8a48a69021 15:57:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:14 ---> Running in 58f8c8f1aa3f 15:57:14 Removing intermediate container 58f8c8f1aa3f 15:57:14 ---> dc3d52f7edbd 15:57:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:57:14 ---> Running in 60668a269ce5 15:57:14 Removing intermediate container 60668a269ce5 15:57:14 ---> 0fedd4fa940b 15:57:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:57:14 ---> Running in 1129cfc6d3ad 15:57:14 Removing intermediate container 1129cfc6d3ad 15:57:14 ---> 521a1bf681e7 15:57:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:14 ---> Running in 1826a6a104a9 15:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:57:15 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:57:15 (2/4) Installing libedit (20221030.3.1-r0) 15:57:15 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:57:15 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:57:15 Executing busybox-1.35.0-r29.trigger 15:57:15 OK: 269 MiB in 57 packages 15:57:16 Removing intermediate container 1826a6a104a9 15:57:16 ---> 6b55724d56f1 15:57:16 Step 8/12 : WORKDIR /device-mqtt-go 15:57:16 ---> Running in eae188c70ab7 15:57:16 Removing intermediate container eae188c70ab7 15:57:16 ---> 9ed96895bfa1 15:57:16 Step 9/12 : COPY go.mod vendor* ./ 15:57:16 ---> f801cf8f2323 15:57:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:16 ---> Running in c80fcc9ad344 15:57:55 Removing intermediate container c80fcc9ad344 15:57:55 ---> 3ad743d5ede7 15:57:55 Step 11/12 : COPY . . 15:57:55 ---> 7d2af83f021c 15:57:55 Step 12/12 : RUN $MAKE 15:57:55 ---> Running in d8c28194f001 15:57:56 noop 15:57:56 Removing intermediate container d8c28194f001 15:57:56 ---> b9ed28fe5a13 15:57:56 Successfully built b9ed28fe5a13 15:57:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:56 + docker inspect -f . ci-base-image-x86_64 15:57:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:56 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 15:57:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:57:57 $ docker top 979986b9640c97d89eaf2e63316b4200c569fd2a99ccbc343529dd2362d7fcd7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:57 + go version 15:57:57 go version go1.20.2 linux/amd64 [Pipeline] } 15:57:57 $ docker stop --time=1 979986b9640c97d89eaf2e63316b4200c569fd2a99ccbc343529dd2362d7fcd7 15:57:58 $ docker rm -f --volumes 979986b9640c97d89eaf2e63316b4200c569fd2a99ccbc343529dd2362d7fcd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:59 + docker inspect -f . ci-base-image-x86_64 15:57:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:59 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 15:57:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:57:59 $ docker top ba740eec004e1eae6b20bc7eede23b371ae3bd726adf7541184cc98962e5d479 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 15:58:00 + make test 15:58:00 go test ./... -coverprofile=coverage.out ./... 15:58:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:58:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:58:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:58:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.9% of statements 15:58:19 go vet ./... 15:58:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:58:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:58:23 ./bin/test-attribution-txt.sh [Pipeline] echo 15:58:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:58:23 $ docker stop --time=1 ba740eec004e1eae6b20bc7eede23b371ae3bd726adf7541184cc98962e5d479 15:58:28 $ docker rm -f --volumes ba740eec004e1eae6b20bc7eede23b371ae3bd726adf7541184cc98962e5d479 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:58:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:58:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:58:29 + ls -al . 15:58:29 total 180 15:58:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 15:58 . 15:58:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 15:56 .. 15:58:29 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 15:56 .dockerignore 15:58:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 15:56 .git 15:58:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 15:56 .github 15:58:29 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 15:56 .gitignore 15:58:29 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 15:56 .golangci.yml 15:58:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 15:56 .semver 15:58:29 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 15:56 Attribution.txt 15:58:29 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 15:56 CHANGELOG.md 15:58:29 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 15:56 Dockerfile 15:58:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 15:56 GOVERNANCE.md 15:58:29 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 15:56 Jenkinsfile 15:58:29 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 15:56 LICENSE 15:58:29 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 15:56 Makefile 15:58:29 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 15:56 OWNERS.md 15:58:29 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 15:56 README.md 15:58:29 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 15:56 VERSION 15:58:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 15:56 bin 15:58:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 15:56 cmd 15:58:29 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 15:58 coverage.out 15:58:29 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 15:56 go.mod 15:58:29 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 15:56 go.sum 15:58:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 15:56 internal 15:58:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 15:56 mock 15:58:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 15:56 snap 15:58:29 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 15:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:30 + 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=e2c07314706493d6366513279fddb5169d0fbe38 --label arch=amd64 --label version=3.0.0-dev.24 . 15:58:30 Sending build context to Docker daemon 6.47MB 15:58:30 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:58:30 Step 2/24 : FROM ${BASE} AS builder 15:58:30 ---> b9ed28fe5a13 15:58:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:58:30 ---> Running in ac80d5f368f7 15:58:30 Removing intermediate container ac80d5f368f7 15:58:30 ---> 1b60248dc38b 15:58:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:30 ---> Running in f3f7b6d60ceb 15:58:30 Removing intermediate container f3f7b6d60ceb 15:58:30 ---> 625b375b8e97 15:58:30 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:58:30 ---> Running in 353c1652e8c8 15:58:30 Removing intermediate container 353c1652e8c8 15:58:30 ---> 0bdf34c4dbfc 15:58:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:58:30 ---> Running in 3cf2cc6a17bf 15:58:30 Removing intermediate container 3cf2cc6a17bf 15:58:30 ---> eac3d8fed117 15:58:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:30 ---> Running in b72534d50b5d 15:58:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:58:31 OK: 269 MiB in 57 packages 15:58:31 Removing intermediate container b72534d50b5d 15:58:31 ---> 93f840f7d51c 15:58:31 Step 8/24 : WORKDIR /device-mqtt-go 15:58:31 ---> Running in 8eb1cb58184d 15:58:31 Removing intermediate container 8eb1cb58184d 15:58:31 ---> 6ddf5aa5f745 15:58:31 Step 9/24 : COPY go.mod vendor* ./ 15:58:31 ---> b7b16665be30 15:58:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:31 ---> Running in 22bf658bae9e 15:58:32 Removing intermediate container 22bf658bae9e 15:58:32 ---> ba6fee8c19b0 15:58:32 Step 11/24 : COPY . . 15:58:33 ---> c868946edfc7 15:58:33 Step 12/24 : RUN $MAKE 15:58:33 ---> Running in 2d3592a590ff 15:58:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 15:58:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9541 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 15:58:51 Running in /w/workspace/device-mqtt-go/108 [Pipeline] { [Pipeline] checkout 15:58:51 Selected Git installation does not exist. Using Default 15:58:51 The recommended git tool is: NONE 15:58:55 Removing intermediate container 2d3592a590ff 15:58:55 ---> 6676f1e4f41d 15:58:55 Step 13/24 : FROM alpine:3.17 15:58:55 3.17: Pulling from library/alpine 15:58:55 f56be85fc22e: Pulling fs layer 15:58:55 f56be85fc22e: Download complete 15:58:55 f56be85fc22e: Pull complete 15:58:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:58:55 Status: Downloaded newer image for alpine:3.17 15:58:55 ---> 9ed4aefc74f6 15:58:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:58:55 ---> Running in 1a7667ab4cba 15:58:55 Removing intermediate container 1a7667ab4cba 15:58:55 ---> 2d8ee9e1579b 15:58:55 Step 15/24 : RUN apk add --update --no-cache dumb-init 15:58:55 ---> Running in bc9d54825286 15:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:58:55 (1/1) Installing dumb-init (1.2.5-r2) 15:58:55 Executing busybox-1.35.0-r29.trigger 15:58:55 OK: 7 MiB in 16 packages 15:58:55 Removing intermediate container bc9d54825286 15:58:55 ---> ed07c92405f9 15:58:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:58:55 ---> 1ae8ecce79fa 15:58:55 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:58:55 ---> c1efc85e19d8 15:58:55 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:58:55 ---> f883c0872ec0 15:58:55 Step 19/24 : EXPOSE 59982 15:58:56 ---> Running in 72e27f9f21b2 15:58:56 Removing intermediate container 72e27f9f21b2 15:58:56 ---> 40dd3d9b11fb 15:58:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:58:56 ---> Running in 9a64b07ae154 15:58:56 Removing intermediate container 9a64b07ae154 15:58:56 ---> 4ea4a28de604 15:58:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:58:56 ---> Running in 202668a4799c 15:58:56 Removing intermediate container 202668a4799c 15:58:56 ---> cf647b26c605 15:58:56 Step 22/24 : LABEL arch=amd64 15:58:56 ---> Running in 407657444e20 15:58:56 Removing intermediate container 407657444e20 15:58:56 ---> 524b011ef576 15:58:56 Step 23/24 : LABEL git_sha=e2c07314706493d6366513279fddb5169d0fbe38 15:58:56 ---> Running in 27310a9f9c28 15:58:56 Removing intermediate container 27310a9f9c28 15:58:56 ---> 1c2df3dec443 15:58:56 Step 24/24 : LABEL version=3.0.0-dev.24 15:58:56 ---> Running in 8a3bf484c97b 15:58:56 Removing intermediate container 8a3bf484c97b 15:58:56 ---> 3e4a2130f845 15:58:56 [Warning] One or more build-args [ARCH] were not consumed 15:58:56 Successfully built 3e4a2130f845 15:58:56 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:56 provisioning config files... 15:58:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11181779809098991642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:57 ---> docker-login.sh 15:58:57 nexus3.edgexfoundry.org:10001 15:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:57 Configure a credential helper to remove this warning. See 15:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:57 15:58:57 Login Succeeded 15:58:57 nexus3.edgexfoundry.org:10002 15:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:57 Configure a credential helper to remove this warning. See 15:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:57 15:58:57 Login Succeeded 15:58:57 nexus3.edgexfoundry.org:10003 15:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:57 Configure a credential helper to remove this warning. See 15:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:57 15:58:57 Login Succeeded 15:58:57 nexus3.edgexfoundry.org:10004 15:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:57 Configure a credential helper to remove this warning. See 15:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:57 15:58:57 Login Succeeded 15:58:57 docker.io 15:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:57 Configure a credential helper to remove this warning. See 15:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:57 15:58:57 Login Succeeded 15:58:57 ---> docker-login.sh ends [Pipeline] } 15:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:58:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:57 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:58:57 e2c07314706493d6366513279fddb5169d0fbe38 15:58:57 latest 15:58:57 3.0.0-dev.24 15:58:57 e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 15:58:57 main 15:58:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e2c07314706493d6366513279fddb5169d0fbe38 15:58:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:58:58 988506e0cbd6: Preparing 15:58:58 a8ecf8b31325: Preparing 15:58:58 a9e6103f9fbb: Preparing 15:58:58 0a2c7886f3a4: Preparing 15:58:58 f1417ff83b31: Preparing 15:58:58 f1417ff83b31: Layer already exists 15:58:58 0a2c7886f3a4: Pushed 15:58:58 a8ecf8b31325: Pushed 15:58:58 988506e0cbd6: Pushed 15:58:59 using credential edgex-jenkins-ssh 15:58:59 Cloning the remote Git repository 15:58:59 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:58:59 > git init /w/workspace/device-mqtt-go/108 # timeout=10 15:58:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:58:59 > git --version # timeout=10 15:58:59 > git --version # 'git version 2.25.1' 15:58:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:59:00 a9e6103f9fbb: Pushed 15:59:00 e2c07314706493d6366513279fddb5169d0fbe38: digest: sha256:0a52895bead5174f71d6d8bfc3ac66b85c8eae492416a9f155129b358febcdec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:01 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:59:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:59:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:59:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:01 988506e0cbd6: Preparing 15:59:01 a8ecf8b31325: Preparing 15:59:01 a9e6103f9fbb: Preparing 15:59:01 0a2c7886f3a4: Preparing 15:59:01 f1417ff83b31: Preparing 15:59:01 988506e0cbd6: Layer already exists 15:59:01 f1417ff83b31: Layer already exists 15:59:01 0a2c7886f3a4: Layer already exists 15:59:01 a8ecf8b31325: Layer already exists 15:59:01 a9e6103f9fbb: Layer already exists 15:59:01 latest: digest: sha256:0a52895bead5174f71d6d8bfc3ac66b85c8eae492416a9f155129b358febcdec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:01 Avoid second fetch 15:59:01 Checking out Revision e2c07314706493d6366513279fddb5169d0fbe38 (main) 15:59:01 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.24 15:59:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:02 988506e0cbd6: Preparing 15:59:02 a8ecf8b31325: Preparing 15:59:02 a9e6103f9fbb: Preparing 15:59:02 0a2c7886f3a4: Preparing 15:59:02 f1417ff83b31: Preparing 15:59:02 0a2c7886f3a4: Layer already exists 15:59:02 a9e6103f9fbb: Layer already exists 15:59:02 a8ecf8b31325: Layer already exists 15:59:02 988506e0cbd6: Layer already exists 15:59:02 f1417ff83b31: Layer already exists 15:59:02 3.0.0-dev.24: digest: sha256:0a52895bead5174f71d6d8bfc3ac66b85c8eae492416a9f155129b358febcdec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:02 Commit message: "build(snap): Upgrade snap base to core22 (#577)" 15:59:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:01 > git config core.sparsecheckout # timeout=10 15:59:01 > git checkout -f e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 15:59:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 15:59:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:02 988506e0cbd6: Preparing 15:59:02 a8ecf8b31325: Preparing 15:59:02 a9e6103f9fbb: Preparing 15:59:02 0a2c7886f3a4: Preparing 15:59:02 f1417ff83b31: Preparing 15:59:02 988506e0cbd6: Layer already exists 15:59:02 a9e6103f9fbb: Layer already exists 15:59:02 a8ecf8b31325: Layer already exists 15:59:02 0a2c7886f3a4: Layer already exists 15:59:02 f1417ff83b31: Layer already exists 15:59:02 e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24: digest: sha256:0a52895bead5174f71d6d8bfc3ac66b85c8eae492416a9f155129b358febcdec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix 15:59:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:59:03 % Total % Received % Xferd Average Speed Time Time Time Current 15:59:03 Dload Upload Total Spent Left Speed 15:59:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 15:59:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:59:03 988506e0cbd6: Preparing 15:59:03 a8ecf8b31325: Preparing 15:59:03 a9e6103f9fbb: Preparing 15:59:03 0a2c7886f3a4: Preparing 15:59:03 f1417ff83b31: Preparing 15:59:03 988506e0cbd6: Layer already exists 15:59:03 f1417ff83b31: Layer already exists 15:59:03 0a2c7886f3a4: Layer already exists 15:59:03 a9e6103f9fbb: Layer already exists 15:59:03 a8ecf8b31325: Layer already exists 15:59:03 main: digest: sha256:0a52895bead5174f71d6d8bfc3ac66b85c8eae492416a9f155129b358febcdec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:03 ===================================================== [Pipeline] echo 15:59:03 taggedImages: 15:59:03 - nexus3.edgexfoundry.org:10004/device-mqtt:e2c07314706493d6366513279fddb5169d0fbe38 15:59:03 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:59:03 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.24 15:59:03 - nexus3.edgexfoundry.org:10004/device-mqtt:e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 15:59:03 - 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] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:03 15:59:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:04 + sudo tee /etc/docker/daemon.new 15:59:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:59:04 { 15:59:04 "registry-mirrors": [ 15:59:04 "https://nexus3.edgexfoundry.org:10001" 15:59:04 ], 15:59:04 "bip": "10.250.0.254/24", 15:59:04 "hosts": [ 15:59:04 "tcp://0.0.0.0:5555", 15:59:04 "unix:///var/run/docker.sock" 15:59:04 ], 15:59:04 "mtu": 1458, 15:59:04 "selinux-enabled": true, 15:59:04 "seccomp-profile": "/etc/docker/seccomp.json" 15:59:04 } [Pipeline] sh 15:59:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:04 latest: Pulling from edgex-lftools-log-publisher 15:59:04 5eb5b503b376: Pulling fs layer 15:59:04 5c69ac0246d0: Pulling fs layer 15:59:04 ec43610c2a17: Pulling fs layer 15:59:04 3a2ae6a8a46f: Pulling fs layer 15:59:04 33b1e0a273af: Pulling fs layer 15:59:04 5d3b04190fa2: Pulling fs layer 15:59:04 2f39f015ded8: Pulling fs layer 15:59:04 33b1e0a273af: Waiting 15:59:04 3a2ae6a8a46f: Waiting 15:59:04 2f39f015ded8: Waiting 15:59:04 5d3b04190fa2: Waiting 15:59:04 5c69ac0246d0: Download complete 15:59:04 3a2ae6a8a46f: Verifying Checksum 15:59:04 3a2ae6a8a46f: Download complete 15:59:04 33b1e0a273af: Verifying Checksum 15:59:04 33b1e0a273af: Download complete 15:59:04 5d3b04190fa2: Download complete 15:59:04 ec43610c2a17: Verifying Checksum 15:59:04 ec43610c2a17: Download complete 15:59:04 5eb5b503b376: Verifying Checksum 15:59:04 5eb5b503b376: Download complete 15:59:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:59:04 + sudo service docker restart 15:59:05 2f39f015ded8: Download complete 15:59:05 5eb5b503b376: Pull complete 15:59:05 5c69ac0246d0: Pull complete 15:59:06 ec43610c2a17: Pull complete 15:59:06 3a2ae6a8a46f: Pull complete 15:59:06 33b1e0a273af: Pull complete 15:59:06 5d3b04190fa2: Pull complete 15:59:10 2f39f015ded8: Pull complete 15:59:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:10 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 15:59:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:59:16 $ docker top a9cabdf76bec8d232186f6c1c3ebc1e15e324c66ddbff835a200670f5d968147 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:17 ---> job-cost.sh 15:59:17 lf-activate-venv: SKIPPING 15:59:17 INFO: No Stack... 15:59:17 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:17 INFO: Archiving Costs [Pipeline] sh 15:59:18 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 15:59:18 + cut -d, -f6 [Pipeline] lock 15:59:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] 15:59:18 Resource [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] did not exist. Created. 15:59:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:59:18 + echo total: 0.2199999988079071 [Pipeline] stash 15:59:18 Stashed 1 file(s) [Pipeline] } 15:59:18 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 15:59:18 $ docker stop --time=1 a9cabdf76bec8d232186f6c1c3ebc1e15e324c66ddbff835a200670f5d968147 15:59:19 $ docker rm -f --volumes a9cabdf76bec8d232186f6c1c3ebc1e15e324c66ddbff835a200670f5d968147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:23 provisioning config files... 15:59:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/108@tmp/config4227468683013568264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:23 ---> docker-login.sh 15:59:23 nexus3.edgexfoundry.org:10001 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 nexus3.edgexfoundry.org:10002 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 nexus3.edgexfoundry.org:10003 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 nexus3.edgexfoundry.org:10004 15:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:25 Configure a credential helper to remove this warning. See 15:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:25 15:59:25 Login Succeeded 15:59:25 docker.io 15:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:25 Configure a credential helper to remove this warning. See 15:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:25 15:59:25 Login Succeeded 15:59:25 ---> docker-login.sh ends [Pipeline] } 15:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:25 ========================================================= 15:59:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:59:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:26 + 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 . 15:59:26 Sending build context to Docker daemon 3.363MB 15:59:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:59:26 Step 2/12 : FROM ${BASE} AS builder 15:59:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:59:26 af6eaf76a39c: Pulling fs layer 15:59:26 55522c791124: Pulling fs layer 15:59:26 ce5c4a1c91eb: Pulling fs layer 15:59:26 169dfbe0d373: Pulling fs layer 15:59:26 e1ff8fa3b103: Pulling fs layer 15:59:26 52ebb69f0ebf: Pulling fs layer 15:59:26 5abe8eddf0d5: Pulling fs layer 15:59:26 e1ff8fa3b103: Waiting 15:59:26 52ebb69f0ebf: Waiting 15:59:26 5abe8eddf0d5: Waiting 15:59:26 169dfbe0d373: Waiting 15:59:26 55522c791124: Verifying Checksum 15:59:26 55522c791124: Download complete 15:59:26 169dfbe0d373: Verifying Checksum 15:59:26 169dfbe0d373: Download complete 15:59:26 e1ff8fa3b103: Verifying Checksum 15:59:26 e1ff8fa3b103: Download complete 15:59:26 af6eaf76a39c: Verifying Checksum 15:59:26 af6eaf76a39c: Download complete 15:59:27 af6eaf76a39c: Pull complete 15:59:28 5abe8eddf0d5: Verifying Checksum 15:59:28 5abe8eddf0d5: Download complete 15:59:28 55522c791124: Pull complete 15:59:29 ce5c4a1c91eb: Verifying Checksum 15:59:29 ce5c4a1c91eb: Download complete 15:59:29 52ebb69f0ebf: Verifying Checksum 15:59:29 52ebb69f0ebf: Download complete 15:59:42 ce5c4a1c91eb: Pull complete 15:59:42 169dfbe0d373: Pull complete 15:59:42 e1ff8fa3b103: Pull complete 15:59:48 52ebb69f0ebf: Pull complete 15:59:50 5abe8eddf0d5: Pull complete 15:59:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:59:50 ---> 6cb57ee374ae 15:59:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:59:52 ---> Running in f40a3d5d55cc 15:59:52 Removing intermediate container f40a3d5d55cc 15:59:52 ---> 31ea631ccfe5 15:59:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:52 ---> Running in 79046ac5988a 15:59:53 Removing intermediate container 79046ac5988a 15:59:53 ---> eab45ea7a1cd 15:59:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:59:53 ---> Running in 93acbabb5a33 15:59:53 Removing intermediate container 93acbabb5a33 15:59:53 ---> 03414ce730dd 15:59:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:59:53 ---> Running in 4815c18d328a 15:59:53 Removing intermediate container 4815c18d328a 15:59:53 ---> 2111bf2ddf5b 15:59:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:53 ---> Running in 9e64666891a4 15:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:59:56 (2/4) Installing libedit (20221030.3.1-r0) 15:59:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:59:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:59:56 Executing busybox-1.35.0-r29.trigger 15:59:56 OK: 268 MiB in 57 packages 15:59:57 Removing intermediate container 9e64666891a4 15:59:57 ---> 2a25647b34e3 15:59:57 Step 8/12 : WORKDIR /device-mqtt-go 15:59:57 ---> Running in c87c119b670c 15:59:58 Removing intermediate container c87c119b670c 15:59:58 ---> a91d9d0004b5 15:59:58 Step 9/12 : COPY go.mod vendor* ./ 15:59:58 ---> d93362980397 15:59:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:58 ---> Running in 4bfcbb49fd46 16:01:06 Removing intermediate container 4bfcbb49fd46 16:01:06 ---> 066cda2be367 16:01:06 Step 11/12 : COPY . . 16:01:06 ---> 6c7e8fa8acfc 16:01:06 Step 12/12 : RUN $MAKE 16:01:06 ---> Running in 51fa620d3955 16:01:06 noop 16:01:06 Removing intermediate container 51fa620d3955 16:01:06 ---> ce892df39b15 16:01:06 Successfully built ce892df39b15 16:01:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:06 + docker inspect -f . ci-base-image-arm64 16:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:07 prd-ubuntu20.04-docker-arm64-4c-16g-9541 does not seem to be running inside a container 16:01:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/108 -v /w/workspace/device-mqtt-go/108:/w/workspace/device-mqtt-go/108:rw,z -v /w/workspace/device-mqtt-go/108@tmp:/w/workspace/device-mqtt-go/108@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 16:01:08 $ docker top e7f876c9d69b3f4abf644f89df6d0c0496a7b7aff214c755e910fb477176f787 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:09 + go version 16:01:09 go version go1.20.2 linux/arm64 [Pipeline] } 16:01:09 $ docker stop --time=1 e7f876c9d69b3f4abf644f89df6d0c0496a7b7aff214c755e910fb477176f787 16:01:11 $ docker rm -f --volumes e7f876c9d69b3f4abf644f89df6d0c0496a7b7aff214c755e910fb477176f787 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:11 + docker inspect -f . ci-base-image-arm64 16:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:11 prd-ubuntu20.04-docker-arm64-4c-16g-9541 does not seem to be running inside a container 16:01:11 $ 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/108 -v /w/workspace/device-mqtt-go/108:/w/workspace/device-mqtt-go/108:rw,z -v /w/workspace/device-mqtt-go/108@tmp:/w/workspace/device-mqtt-go/108@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 16:01:13 $ docker top f741fbc853779f5aa2401df8113e7a7ae7d6e16fe67dcad9e08364d2a20ff4a8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:13 + git config --global --add safe.directory /w/workspace/device-mqtt-go/108 [Pipeline] fileExists [Pipeline] sh 16:01:14 + make test 16:01:14 go test ./... -coverprofile=coverage.out ./... 16:01:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:03:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:03:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:03:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.9% of statements 16:03:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:03:53 go vet ./... 16:04:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:04:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:04:20 ./bin/test-attribution-txt.sh [Pipeline] echo 16:04:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:04:20 $ docker stop --time=1 f741fbc853779f5aa2401df8113e7a7ae7d6e16fe67dcad9e08364d2a20ff4a8 16:04:22 $ docker rm -f --volumes f741fbc853779f5aa2401df8113e7a7ae7d6e16fe67dcad9e08364d2a20ff4a8 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:23 Warning: overwriting stash ‘coverage-report’ 16:04:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:24 + ls -al . 16:04:24 total 176 16:04:24 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 16:01 . 16:04:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 15:58 .. 16:04:24 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 15:59 .dockerignore 16:04:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 15:59 .git 16:04:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 15:59 .github 16:04:24 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 15:59 .gitignore 16:04:24 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 15:59 .golangci.yml 16:04:24 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 15:59 Attribution.txt 16:04:24 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 15:59 CHANGELOG.md 16:04:24 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 15:59 Dockerfile 16:04:24 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 15:59 GOVERNANCE.md 16:04:24 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 15:59 Jenkinsfile 16:04:24 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 15:59 LICENSE 16:04:24 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 15:59 Makefile 16:04:24 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 15:59 OWNERS.md 16:04:24 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 15:59 README.md 16:04:24 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 15:56 VERSION 16:04:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 15:59 bin 16:04:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 15:59 cmd 16:04:24 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 16:03 coverage.out 16:04:24 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 15:59 go.mod 16:04:24 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 15:59 go.sum 16:04:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 15:59 internal 16:04:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 15:59 mock 16:04:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 15:59 snap 16:04:24 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 15:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:24 + 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=e2c07314706493d6366513279fddb5169d0fbe38 --label arch=arm64 --label version=3.0.0-dev.24 . 16:04:25 Sending build context to Docker daemon 3.383MB 16:04:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:04:25 Step 2/24 : FROM ${BASE} AS builder 16:04:25 ---> ce892df39b15 16:04:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:04:28 ---> Running in 344be3db4332 16:04:28 Removing intermediate container 344be3db4332 16:04:28 ---> e42c64231aac 16:04:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:04:28 ---> Running in f93e6c005345 16:04:28 Removing intermediate container f93e6c005345 16:04:28 ---> 96ae48aa3c5b 16:04:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:04:28 ---> Running in afe93976af5a 16:04:28 Removing intermediate container afe93976af5a 16:04:28 ---> 5ab7da639433 16:04:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:04:29 ---> Running in daacde7f52f7 16:04:29 Removing intermediate container daacde7f52f7 16:04:29 ---> 7a98534f04a0 16:04:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:29 ---> Running in 91e7322ed965 16:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:04:32 OK: 268 MiB in 57 packages 16:04:33 Removing intermediate container 91e7322ed965 16:04:33 ---> fd62a1205b20 16:04:33 Step 8/24 : WORKDIR /device-mqtt-go 16:04:33 ---> Running in 467a11ac610f 16:04:33 Removing intermediate container 467a11ac610f 16:04:33 ---> e9c209f66004 16:04:33 Step 9/24 : COPY go.mod vendor* ./ 16:04:34 ---> 9401493a6515 16:04:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:34 ---> Running in ae4b4e2277ac 16:04:36 Removing intermediate container ae4b4e2277ac 16:04:36 ---> 5e3382445ea6 16:04:36 Step 11/24 : COPY . . 16:04:37 ---> 340464ab5e58 16:04:37 Step 12/24 : RUN $MAKE 16:04:37 ---> Running in aa53e5bad061 16:04:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 16:07:00 Removing intermediate container aa53e5bad061 16:07:00 ---> db323e97098d 16:07:00 Step 13/24 : FROM alpine:3.17 16:07:00 3.17: Pulling from library/alpine 16:07:00 c41833b44d91: Pulling fs layer 16:07:00 c41833b44d91: Verifying Checksum 16:07:00 c41833b44d91: Download complete 16:07:00 c41833b44d91: Pull complete 16:07:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:07:00 Status: Downloaded newer image for alpine:3.17 16:07:00 ---> 51e60588ff2c 16:07:00 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:07:00 ---> Running in 5a34a8ca4692 16:07:00 Removing intermediate container 5a34a8ca4692 16:07:00 ---> f142f8c4797b 16:07:00 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:07:00 ---> Running in 65699759edc8 16:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:07:02 (1/1) Installing dumb-init (1.2.5-r2) 16:07:02 Executing busybox-1.35.0-r29.trigger 16:07:02 OK: 8 MiB in 16 packages 16:07:03 Removing intermediate container 65699759edc8 16:07:03 ---> eeab2c5e65f9 16:07:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:07:04 ---> 4a5c157e70c0 16:07:04 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:07:05 ---> c2a6d8a88b0b 16:07:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:07:08 ---> b3832dea8a41 16:07:08 Step 19/24 : EXPOSE 59982 16:07:08 ---> Running in e0d40733a0a3 16:07:08 Removing intermediate container e0d40733a0a3 16:07:08 ---> 78006dd97832 16:07:08 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:07:08 ---> Running in 66a5ad5c778d 16:07:09 Removing intermediate container 66a5ad5c778d 16:07:09 ---> 5cbf0fa282f0 16:07:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:07:09 ---> Running in 72a90485a105 16:07:09 Removing intermediate container 72a90485a105 16:07:09 ---> 892d31989b70 16:07:09 Step 22/24 : LABEL arch=arm64 16:07:09 ---> Running in b1333c17ede3 16:07:09 Removing intermediate container b1333c17ede3 16:07:09 ---> 86cc9febfb4e 16:07:09 Step 23/24 : LABEL git_sha=e2c07314706493d6366513279fddb5169d0fbe38 16:07:09 ---> Running in 9c7107eaaa99 16:07:10 Removing intermediate container 9c7107eaaa99 16:07:10 ---> ab42a670ee49 16:07:10 Step 24/24 : LABEL version=3.0.0-dev.24 16:07:10 ---> Running in d47e0d9c7dd1 16:07:10 Removing intermediate container d47e0d9c7dd1 16:07:10 ---> 1ab22088ae12 16:07:10 [Warning] One or more build-args [ARCH] were not consumed 16:07:10 Successfully built 1ab22088ae12 16:07:10 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 16:07:10 provisioning config files... 16:07:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/108@tmp/config551180030757282665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:11 ---> docker-login.sh 16:07:11 nexus3.edgexfoundry.org:10001 16:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:11 Configure a credential helper to remove this warning. See 16:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:11 16:07:11 Login Succeeded 16:07:11 nexus3.edgexfoundry.org:10002 16:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:11 Configure a credential helper to remove this warning. See 16:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:11 16:07:11 Login Succeeded 16:07:11 nexus3.edgexfoundry.org:10003 16:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:12 Configure a credential helper to remove this warning. See 16:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:12 16:07:12 Login Succeeded 16:07:12 nexus3.edgexfoundry.org:10004 16:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:12 Configure a credential helper to remove this warning. See 16:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:12 16:07:12 Login Succeeded 16:07:12 docker.io 16:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:13 Configure a credential helper to remove this warning. See 16:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:13 16:07:13 Login Succeeded 16:07:13 ---> docker-login.sh ends [Pipeline] } 16:07:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:13 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:07:13 e2c07314706493d6366513279fddb5169d0fbe38 16:07:13 latest 16:07:13 3.0.0-dev.24 16:07:13 e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 16:07:13 main 16:07:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e2c07314706493d6366513279fddb5169d0fbe38 16:07:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:13 6ce1540fe3ef: Preparing 16:07:13 88b657245cc8: Preparing 16:07:13 54aaa72f07b0: Preparing 16:07:13 59d4ee5123d3: Preparing 16:07:13 26cbea5cba74: Preparing 16:07:13 26cbea5cba74: Layer already exists 16:07:14 6ce1540fe3ef: Pushed 16:07:14 88b657245cc8: Pushed 16:07:14 59d4ee5123d3: Pushed 16:07:19 54aaa72f07b0: Pushed 16:07:19 e2c07314706493d6366513279fddb5169d0fbe38: digest: sha256:6253697c2665212374aec5358cc344d9eb4333ed4cd20a5367771f68df06a74f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:07:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:20 6ce1540fe3ef: Preparing 16:07:20 88b657245cc8: Preparing 16:07:20 54aaa72f07b0: Preparing 16:07:20 59d4ee5123d3: Preparing 16:07:20 26cbea5cba74: Preparing 16:07:20 88b657245cc8: Layer already exists 16:07:20 26cbea5cba74: Layer already exists 16:07:20 54aaa72f07b0: Layer already exists 16:07:20 59d4ee5123d3: Layer already exists 16:07:20 6ce1540fe3ef: Layer already exists 16:07:20 latest: digest: sha256:6253697c2665212374aec5358cc344d9eb4333ed4cd20a5367771f68df06a74f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.24 16:07:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:21 6ce1540fe3ef: Preparing 16:07:21 88b657245cc8: Preparing 16:07:21 54aaa72f07b0: Preparing 16:07:21 59d4ee5123d3: Preparing 16:07:21 26cbea5cba74: Preparing 16:07:21 54aaa72f07b0: Layer already exists 16:07:21 6ce1540fe3ef: Layer already exists 16:07:21 26cbea5cba74: Layer already exists 16:07:21 88b657245cc8: Layer already exists 16:07:21 59d4ee5123d3: Layer already exists 16:07:21 3.0.0-dev.24: digest: sha256:6253697c2665212374aec5358cc344d9eb4333ed4cd20a5367771f68df06a74f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 16:07:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:21 6ce1540fe3ef: Preparing 16:07:21 88b657245cc8: Preparing 16:07:21 54aaa72f07b0: Preparing 16:07:21 59d4ee5123d3: Preparing 16:07:21 26cbea5cba74: Preparing 16:07:21 6ce1540fe3ef: Layer already exists 16:07:21 59d4ee5123d3: Layer already exists 16:07:21 54aaa72f07b0: Layer already exists 16:07:21 26cbea5cba74: Layer already exists 16:07:21 88b657245cc8: Layer already exists 16:07:21 e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24: digest: sha256:6253697c2665212374aec5358cc344d9eb4333ed4cd20a5367771f68df06a74f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 16:07:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:22 6ce1540fe3ef: Preparing 16:07:22 88b657245cc8: Preparing 16:07:22 54aaa72f07b0: Preparing 16:07:22 59d4ee5123d3: Preparing 16:07:22 26cbea5cba74: Preparing 16:07:22 59d4ee5123d3: Layer already exists 16:07:22 26cbea5cba74: Layer already exists 16:07:22 54aaa72f07b0: Layer already exists 16:07:22 6ce1540fe3ef: Layer already exists 16:07:22 88b657245cc8: Layer already exists 16:07:22 main: digest: sha256:6253697c2665212374aec5358cc344d9eb4333ed4cd20a5367771f68df06a74f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:22 ===================================================== [Pipeline] echo 16:07:22 taggedImages: 16:07:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e2c07314706493d6366513279fddb5169d0fbe38 16:07:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:07:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.24 16:07:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e2c07314706493d6366513279fddb5169d0fbe38-3.0.0-dev.24 16:07:22 - 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 16:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:23 16:07:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:23 arm64: Pulling from edgex-lftools-log-publisher 16:07:23 8998bd30e6a1: Pulling fs layer 16:07:23 04944245beec: Pulling fs layer 16:07:23 699f458cf7ca: Pulling fs layer 16:07:23 765212b225bb: Pulling fs layer 16:07:23 f23df028b6ca: Pulling fs layer 16:07:23 d65c8cfc05b1: Pulling fs layer 16:07:23 2437ff75d9bd: Pulling fs layer 16:07:23 f23df028b6ca: Waiting 16:07:23 d65c8cfc05b1: Waiting 16:07:23 2437ff75d9bd: Waiting 16:07:23 765212b225bb: Waiting 16:07:23 04944245beec: Verifying Checksum 16:07:23 04944245beec: Download complete 16:07:23 765212b225bb: Download complete 16:07:23 f23df028b6ca: Verifying Checksum 16:07:23 f23df028b6ca: Download complete 16:07:23 d65c8cfc05b1: Verifying Checksum 16:07:23 d65c8cfc05b1: Download complete 16:07:24 699f458cf7ca: Verifying Checksum 16:07:24 699f458cf7ca: Download complete 16:07:24 8998bd30e6a1: Verifying Checksum 16:07:24 8998bd30e6a1: Download complete 16:07:26 2437ff75d9bd: Verifying Checksum 16:07:28 8998bd30e6a1: Pull complete 16:07:29 04944245beec: Pull complete 16:07:30 699f458cf7ca: Pull complete 16:07:30 765212b225bb: Pull complete 16:07:31 f23df028b6ca: Pull complete 16:07:31 d65c8cfc05b1: Pull complete 16:07:50 2437ff75d9bd: Pull complete 16:07:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:50 prd-ubuntu20.04-docker-arm64-4c-16g-9541 does not seem to be running inside a container 16:07:50 $ 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/108 -v /w/workspace/device-mqtt-go/108:/w/workspace/device-mqtt-go/108:rw,z -v /w/workspace/device-mqtt-go/108@tmp:/w/workspace/device-mqtt-go/108@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 16:07:53 $ docker top 017dff5edf10e428f9b2ceeef30ae9e0904486abd73ab0a2b2ab82d6af239ad2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:54 ---> job-cost.sh 16:07:54 lf-activate-venv: SKIPPING 16:07:54 INFO: No Stack... 16:07:54 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:55 INFO: Archiving Costs [Pipeline] sh 16:07:55 + cat /w/workspace/device-mqtt-go/108/archives/cost.csv 16:07:55 + cut -d, -f6 [Pipeline] lock 16:07:55 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] 16:07:55 Resource [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] did not exist. Created. 16:07:55 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:56 /w/workspace/device-mqtt-go/108@tmp/durable-1a40dfaa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:56 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:56 Warning: overwriting stash ‘stack-cost’ 16:07:56 Stashed 1 file(s) [Pipeline] } 16:07:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:56 $ docker stop --time=1 017dff5edf10e428f9b2ceeef30ae9e0904486abd73ab0a2b2ab82d6af239ad2 16:07:58 $ docker rm -f --volumes 017dff5edf10e428f9b2ceeef30ae9e0904486abd73ab0a2b2ab82d6af239ad2 [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 16:07:58 provisioning config files... 16:07:58 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16830282442939502632tmp [Pipeline] { [Pipeline] sh 16:07:58 + set +x 16:07:58 + curl+ -s https://codecov.io/bash 16:07:58 bash -s -- 16:07:58 16:07:58 _____ _ 16:07:58 / ____| | | 16:07:58 | | ___ __| | ___ ___ _____ __ 16:07:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:58 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:58 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:58 Bash-1.0.6 16:07:58 16:07:58 16:07:58 ==> git version 2.25.1 found 16:07:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:07:58 Release-Date: 2020-01-08 16:07:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:58 ==> Jenkins CI detected. 16:07:58 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 16:07:58 project root: . 16:07:58 --> token set from env 16:07:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:58 ==> Running gcov in . (disable via -X gcov) 16:07:59 ==> Python coveragepy not found 16:07:59 ==> Searching for coverage reports in: 16:07:59 + . 16:07:59 -> Found 1 reports 16:07:59 ==> Detecting git/mercurial file structure 16:07:59 ==> Reading reports 16:07:59 + ./coverage.out bytes=18460 16:07:59 ==> Appending adjustments 16:07:59 https://docs.codecov.io/docs/fixing-reports 16:07:59 + Found adjustments 16:07:59 ==> Gzipping contents 16:07:59 4.0K /tmp/codecov.4BJLHV.gz 16:07:59 ==> Uploading reports 16:07:59 url: https://codecov.io 16:07:59 query: branch=main&commit=e2c07314706493d6366513279fddb5169d0fbe38&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:59 -> Pinging Codecov 16:07:59 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=e2c07314706493d6366513279fddb5169d0fbe38&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:59 -> Uploading to 16:07:59 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7D719EC7BBE17E464838252E33014C33/e2c07314706493d6366513279fddb5169d0fbe38/2d30a591-9eee-4645-8efe-c0e2479e9fc2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T160759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a5fa4e860b7511e4abcdf337834138ad3b80b457ee0d88d3aa8f48ac9f1b858 16:07:59 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:59 Dload Upload Total Spent Left Speed 16:07:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14800 --:--:-- --:--:-- --:--:-- 14800 16:07:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] } 16:07:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:07:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:07:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:00 16:08:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:08:00 df9b9388f04a: Pulling fs layer 16:08:00 52dc419b0ee2: Pulling fs layer 16:08:00 25bc292e5bac: Pulling fs layer 16:08:00 114826534d7a: Pulling fs layer 16:08:00 4657fd5d0bcf: Pulling fs layer 16:08:00 6ad1cebc031e: Pulling fs layer 16:08:00 8a3aa393b2d8: Pulling fs layer 16:08:00 6ad1cebc031e: Waiting 16:08:00 8a3aa393b2d8: Waiting 16:08:00 114826534d7a: Waiting 16:08:00 4657fd5d0bcf: Waiting 16:08:00 25bc292e5bac: Download complete 16:08:00 52dc419b0ee2: Download complete 16:08:00 4657fd5d0bcf: Download complete 16:08:00 df9b9388f04a: Download complete 16:08:00 6ad1cebc031e: Verifying Checksum 16:08:00 6ad1cebc031e: Download complete 16:08:00 df9b9388f04a: Pull complete 16:08:00 52dc419b0ee2: Pull complete 16:08:00 25bc292e5bac: Pull complete 16:08:01 114826534d7a: Verifying Checksum 16:08:01 114826534d7a: Download complete 16:08:01 8a3aa393b2d8: Verifying Checksum 16:08:01 8a3aa393b2d8: Download complete 16:08:05 114826534d7a: Pull complete 16:08:05 4657fd5d0bcf: Pull complete 16:08:05 6ad1cebc031e: Pull complete 16:08:08 8a3aa393b2d8: Pull complete 16:08:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:08 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 16:08:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:08:14 $ docker top e56167ee963648b86106497da73789683082a89a720379e6a687311f16f80d97 -eo pid,comm [Pipeline] { [Pipeline] echo 16:08:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 16:08:14 + set -o pipefail 16:08:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 16:08:19 16:08:19 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 16:08:19 16:08:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/acc09256-8bfe-494d-a6a8-c36487f89081 16:08:19 16:08:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:08:19 16:08:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:08:19 16:08:19 16:08:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:08:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:08:19 More details here: https://snyk.co/ue1NS [Pipeline] } 16:08:19 $ docker stop --time=1 e56167ee963648b86106497da73789683082a89a720379e6a687311f16f80d97 16:08:24 $ docker rm -f --volumes e56167ee963648b86106497da73789683082a89a720379e6a687311f16f80d97 [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 16:08:24 + git log --format=format:%s -1 e2c07314706493d6366513279fddb5169d0fbe38 [Pipeline] sh 16:08:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:25 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 16:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:25 $ docker top 4ba3cb75e385dd2390584f47964a9ffe132ef637a1b4a7cdbf31129d22521236 -eo pid,comm 16:08:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:08:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:25 [ssh-agent] Looking for ssh-agent implementation... 16:08:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:26 $ docker exec 4ba3cb75e385dd2390584f47964a9ffe132ef637a1b4a7cdbf31129d22521236 ssh-agent 16:08:26 SSH_AUTH_SOCK=/tmp/ssh-WuQ1mz00j70n/agent.31 16:08:26 SSH_AGENT_PID=37 16:08:26 Running ssh-add (command line suppressed) 16:08:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2616509806080665702.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2616509806080665702.key) 16:08:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:26 + git semver tag 16:08:26 2023-04-24 16:08:26,818 [run_tag] DEBUG tag force:False 16:08:26 2023-04-24 16:08:26,818 [check_head_tag] DEBUG check head tag 16:08:26 2023-04-24 16:08:26,819 [execute] INFO git cat-file --batch-check 16:08:26 2023-04-24 16:08:26,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 16:08:26 2023-04-24 16:08:26,823 [execute] INFO git cat-file --batch 16:08:26 2023-04-24 16:08:26,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 16:08:26 2023-04-24 16:08:26,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:26 2023-04-24 16:08:26,847 [execute] INFO git tag -a v3.0.0-dev.24 -m v3.0.0-dev.24 16:08:26 2023-04-24 16:08:26,847 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.24', '-m', 'v3.0.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 16:08:26 2023-04-24 16:08:26,852 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:26 3.0.0-dev.24 [Pipeline] } 16:08:26 $ docker exec --env ******** --env ******** 4ba3cb75e385dd2390584f47964a9ffe132ef637a1b4a7cdbf31129d22521236 ssh-agent -k 16:08:26 unset SSH_AUTH_SOCK; 16:08:26 unset SSH_AGENT_PID; 16:08:26 echo Agent pid 37 killed; 16:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:27 + git semver [Pipeline] } 16:08:27 $ docker stop --time=1 4ba3cb75e385dd2390584f47964a9ffe132ef637a1b4a7cdbf31129d22521236 16:08:28 $ docker rm -f --volumes 4ba3cb75e385dd2390584f47964a9ffe132ef637a1b4a7cdbf31129d22521236 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:29 16:08:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:29 0.23.1-centos7: Pulling from edgex-lftools 16:08:29 ab5ef0e58194: Pulling fs layer 16:08:29 9712f1f96733: Pulling fs layer 16:08:29 63f879dbbcfc: Pulling fs layer 16:08:29 0d9ebad4ef96: Pulling fs layer 16:08:29 e9a5061849ea: Pulling fs layer 16:08:29 d747dcd14b5f: Pulling fs layer 16:08:29 2de7ff778b66: Pulling fs layer 16:08:29 e9a5061849ea: Waiting 16:08:29 d747dcd14b5f: Waiting 16:08:29 2de7ff778b66: Waiting 16:08:29 0d9ebad4ef96: Waiting 16:08:29 9712f1f96733: Verifying Checksum 16:08:29 9712f1f96733: Download complete 16:08:29 63f879dbbcfc: Verifying Checksum 16:08:29 63f879dbbcfc: Download complete 16:08:29 e9a5061849ea: Verifying Checksum 16:08:29 e9a5061849ea: Download complete 16:08:30 d747dcd14b5f: Verifying Checksum 16:08:30 d747dcd14b5f: Download complete 16:08:30 0d9ebad4ef96: Verifying Checksum 16:08:30 0d9ebad4ef96: Download complete 16:08:30 ab5ef0e58194: Verifying Checksum 16:08:30 ab5ef0e58194: Download complete 16:08:30 2de7ff778b66: Verifying Checksum 16:08:30 2de7ff778b66: Download complete 16:08:32 ab5ef0e58194: Pull complete 16:08:32 9712f1f96733: Pull complete 16:08:33 63f879dbbcfc: Pull complete 16:08:37 0d9ebad4ef96: Pull complete 16:08:37 e9a5061849ea: Pull complete 16:08:37 d747dcd14b5f: Pull complete 16:08:38 2de7ff778b66: Pull complete 16:08:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:38 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 16:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:08:46 $ docker top 70220df5460a93ccbb162ffb32e06a3d822494d3a190d8fa6682fd131f01cf24 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:08:46 provisioning config files... 16:08:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14879411885075779899tmp 16:08:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14790738677781671114tmp 16:08:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6121528120943685359tmp [Pipeline] { [Pipeline] echo 16:08:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:08:46 ---> sigul-configuration.sh 16:08:46 gpg: directory `/root/.gnupg' created 16:08:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:08:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:08:46 gpg: keyring `/root/.gnupg/secring.gpg' created 16:08:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:08:46 gpg: CAST5 encrypted data 16:08:46 gpg: encrypted with 1 passphrase 16:08:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:08:46 + mkdir /home/jenkins 16:08:46 + mkdir /home/jenkins/sigul [Pipeline] sh 16:08:47 + 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 16:08:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:08:47 ---> sigul-install.sh 16:08:47 Sigul already installed; skipping installation. [Pipeline] sh 16:08:47 + git tag --list 16:08:47 0.7.1 16:08:47 v1.0.0 16:08:47 v1.1.0 16:08:47 v1.1.1 16:08:47 v1.2.2 16:08:47 v1.3.0 16:08:47 v1.3.1 16:08:47 v2.0.0 16:08:47 v2.1.0 16:08:47 v2.1.1 16:08:47 v2.1.1-dev.1 16:08:47 v2.1.1-dev.2 16:08:47 v2.2.0 16:08:47 v2.2.1-dev.1 16:08:47 v2.2.1-dev.10 16:08:47 v2.2.1-dev.2 16:08:47 v2.2.1-dev.3 16:08:47 v2.2.1-dev.4 16:08:47 v2.2.1-dev.5 16:08:47 v2.2.1-dev.6 16:08:47 v2.2.1-dev.7 16:08:47 v2.2.1-dev.8 16:08:47 v2.2.1-dev.9 16:08:47 v2.3.0 16:08:47 v2.3.0-dev.10 16:08:47 v2.3.0-dev.11 16:08:47 v2.3.0-dev.12 16:08:47 v2.3.0-dev.13 16:08:47 v2.3.0-dev.14 16:08:47 v2.3.0-dev.15 16:08:47 v2.3.0-dev.16 16:08:47 v2.3.0-dev.17 16:08:47 v2.3.0-dev.18 16:08:47 v2.3.0-dev.19 16:08:47 v2.3.0-dev.20 16:08:47 v2.3.0-dev.21 16:08:47 v2.3.0-dev.22 16:08:47 v2.3.0-dev.23 16:08:47 v2.3.0-dev.24 16:08:47 v2.3.0-dev.25 16:08:47 v2.3.0-dev.26 16:08:47 v2.3.0-dev.27 16:08:47 v2.3.0-dev.28 16:08:47 v2.3.0-dev.29 16:08:47 v2.3.0-dev.30 16:08:47 v2.3.0-dev.31 16:08:47 v2.3.0-dev.32 16:08:47 v2.3.0-dev.33 16:08:47 v2.3.0-dev.34 16:08:47 v3.0.0-dev.1 16:08:47 v3.0.0-dev.10 16:08:47 v3.0.0-dev.11 16:08:47 v3.0.0-dev.12 16:08:47 v3.0.0-dev.13 16:08:47 v3.0.0-dev.14 16:08:47 v3.0.0-dev.15 16:08:47 v3.0.0-dev.16 16:08:47 v3.0.0-dev.17 16:08:47 v3.0.0-dev.18 16:08:47 v3.0.0-dev.19 16:08:47 v3.0.0-dev.2 16:08:47 v3.0.0-dev.20 16:08:47 v3.0.0-dev.21 16:08:47 v3.0.0-dev.22 16:08:47 v3.0.0-dev.23 16:08:47 v3.0.0-dev.24 16:08:47 v3.0.0-dev.3 16:08:47 v3.0.0-dev.4 16:08:47 v3.0.0-dev.5 16:08:47 v3.0.0-dev.6 16:08:47 v3.0.0-dev.7 16:08:47 v3.0.0-dev.8 16:08:47 v3.0.0-dev.9 [Pipeline] sh 16:08:47 + lftools sign git-tag v3.0.0-dev.24 16:08:48 Signing Git tag with Sigul... 16:08:48 Signing v3.0.0-dev.24 [Pipeline] echo 16:08:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:08:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:08:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:08:49 $ docker stop --time=1 70220df5460a93ccbb162ffb32e06a3d822494d3a190d8fa6682fd131f01cf24 16:08:50 $ docker rm -f --volumes 70220df5460a93ccbb162ffb32e06a3d822494d3a190d8fa6682fd131f01cf24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:08:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:51 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 16:08:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:51 $ docker top a8d08a0868374e73436fb64e11af0c55d1aafdddb412f3e67396d7bd255ab5fa -eo pid,comm 16:08:51 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). 16:08:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:51 [ssh-agent] Looking for ssh-agent implementation... 16:08:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:51 $ docker exec a8d08a0868374e73436fb64e11af0c55d1aafdddb412f3e67396d7bd255ab5fa ssh-agent 16:08:51 SSH_AUTH_SOCK=/tmp/ssh-0SqGdMfAJMwm/agent.33 16:08:51 SSH_AGENT_PID=39 16:08:51 Running ssh-add (command line suppressed) 16:08:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13253439286705281038.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13253439286705281038.key) 16:08:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:52 + git semver bump pre 16:08:52 2023-04-24 16:08:52,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:52 2023-04-24 16:08:52,427 [bump_version] DEBUG bumping version:3.0.0-dev.24 on axis:pre with prefix:dev 16:08:52 2023-04-24 16:08:52,427 [bump_version] DEBUG bumped version:3.0.0-dev.25 16:08:52 2023-04-24 16:08:52,427 [write_version] DEBUG write version:3.0.0-dev.25 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 16:08:52 2023-04-24 16:08:52,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:52 2023-04-24 16:08:52,427 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:52 2023-04-24 16:08:52,429 [execute] INFO git cat-file --batch-check 16:08:52 2023-04-24 16:08:52,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:52 2023-04-24 16:08:52,434 [execute] INFO git cat-file --batch 16:08:52 2023-04-24 16:08:52,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:52 2023-04-24 16:08:52,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:52 3.0.0-dev.25 [Pipeline] } 16:08:52 $ docker exec --env ******** --env ******** a8d08a0868374e73436fb64e11af0c55d1aafdddb412f3e67396d7bd255ab5fa ssh-agent -k 16:08:52 unset SSH_AUTH_SOCK; 16:08:52 unset SSH_AGENT_PID; 16:08:52 echo Agent pid 39 killed; 16:08:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:52 + git semver [Pipeline] } 16:08:53 $ docker stop --time=1 a8d08a0868374e73436fb64e11af0c55d1aafdddb412f3e67396d7bd255ab5fa 16:08:54 $ docker rm -f --volumes a8d08a0868374e73436fb64e11af0c55d1aafdddb412f3e67396d7bd255ab5fa [Pipeline] // withDockerContainer [Pipeline] sh 16:08:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:55 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 16:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:55 $ docker top fdc7216b181411f86c55466a68041533088c60f056ff8ee3fdd679b2fea1a3d6 -eo pid,comm 16:08:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:08:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:55 [ssh-agent] Looking for ssh-agent implementation... 16:08:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:55 $ docker exec fdc7216b181411f86c55466a68041533088c60f056ff8ee3fdd679b2fea1a3d6 ssh-agent 16:08:55 SSH_AUTH_SOCK=/tmp/ssh-AHd1TwbXk4Pk/agent.32 16:08:55 SSH_AGENT_PID=38 16:08:55 Running ssh-add (command line suppressed) 16:08:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3664675176168098355.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3664675176168098355.key) 16:08:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:56 + git semver push 16:08:56 2023-04-24 16:08:56,432 [run_push] DEBUG push 16:08:56 2023-04-24 16:08:56,433 [execute] INFO git cat-file --batch-check 16:08:56 2023-04-24 16:08:56,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:56 2023-04-24 16:08:56,437 [execute] INFO git rev-list 28ed12dcbb0860bb64b14e2726b90ca86d3f608d -- 16:08:56 2023-04-24 16:08:56,437 [execute] DEBUG Popen(['git', 'rev-list', '28ed12dcbb0860bb64b14e2726b90ca86d3f608d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:56 2023-04-24 16:08:56,445 [execute] INFO git fetch -v origin 16:08:56 2023-04-24 16:08:56,445 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:08:57 2023-04-24 16:08:56,922 [run_push] DEBUG no remote changes detected 16:08:57 2023-04-24 16:08:56,922 [execute] INFO git push origin semver 16:08:57 2023-04-24 16:08:56,922 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:58 2023-04-24 16:08:57,720 [run_push] DEBUG push all version tags 16:08:58 2023-04-24 16:08:57,720 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:08:58 2023-04-24 16:08:57,721 [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) 16:08:58 2023-04-24 16:08:58,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:58 3.0.0-dev.25 [Pipeline] } 16:08:58 $ docker exec --env ******** --env ******** fdc7216b181411f86c55466a68041533088c60f056ff8ee3fdd679b2fea1a3d6 ssh-agent -k 16:08:58 unset SSH_AUTH_SOCK; 16:08:58 unset SSH_AGENT_PID; 16:08:58 echo Agent pid 38 killed; 16:08:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:59 + git semver [Pipeline] } 16:08:59 $ docker stop --time=1 fdc7216b181411f86c55466a68041533088c60f056ff8ee3fdd679b2fea1a3d6 16:09:00 $ docker rm -f --volumes fdc7216b181411f86c55466a68041533088c60f056ff8ee3fdd679b2fea1a3d6 [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 16:09:01 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 16:09:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:09:01 total 16 16:09:01 drwxr-xr-x 3 root root 4096 Apr 24 15:59 . 16:09:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 16:08 .. 16:09:01 drwxr-xr-x 2 root root 4096 Apr 24 15:59 cost 16:09:01 -rw-r--r-- 1 root root 86 Apr 24 15:59 cost.csv 16:09:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:09:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:09:01 total 16 16:09:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 15:59 . 16:09:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 16:08 .. 16:09:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 15:59 cost 16:09:01 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:09:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:09:02 ---> package-listing.sh 16:09:02 ++ facter osfamily 16:09:02 ++ tr '[:upper:]' '[:lower:]' 16:09:02 + OS_FAMILY=debian 16:09:02 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 16:09:02 + START_PACKAGES=/tmp/packages_start.txt 16:09:02 + END_PACKAGES=/tmp/packages_end.txt 16:09:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:09:02 + PACKAGES=/tmp/packages_start.txt 16:09:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:09:02 + PACKAGES=/tmp/packages_end.txt 16:09:02 + case "${OS_FAMILY}" in 16:09:02 + dpkg -l 16:09:02 + grep '^ii' 16:09:02 + '[' -f /tmp/packages_start.txt ']' 16:09:02 + '[' -f /tmp/packages_end.txt ']' 16:09:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:09:02 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:09:02 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 16:09:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 16:09:02 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 16:09:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:09:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:03 prd-ubuntu20.04-docker-8c-8g-9540 does not seem to be running inside a container 16:09:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:09:04 $ docker top eac21d758a62b919913bfed52a9c234203db5dd006507b92e1a708cf937a1079 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:04 + touch /tmp/pre-build-complete [Pipeline] sh 16:09:04 + mkdir -p /var/log/sysstat [Pipeline] sh 16:09:05 + ls /var/log/sa-host 16:09:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:05 provisioning config files... 16:09:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1282513547267982127tmp [Pipeline] { [Pipeline] echo 16:09:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:09:05 ---> create-netrc.sh [Pipeline] } 16:09:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:09:05 ---> python-tools-install.sh [Pipeline] echo 16:09:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:09:06 ---> sudo-logs.sh 16:09:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:09:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:09:06 ---> job-cost.sh 16:09:06 lf-activate-venv: SKIPPING 16:09:06 DEBUG: total: 0.2199999988079071 16:09:06 INFO: Retrieving Stack Cost... 16:09:07 INFO: Retrieving Pricing Info for: v3-standard-8 16:09:07 INFO: Archiving Costs [Pipeline] echo 16:09:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:09:07 ---> logs-deploy.sh 16:09:07 lf-activate-venv: SKIPPING 16:09:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/108 16:09:07 INFO: archiving workspace using pattern(s): 16:09:08 Archives upload complete. 16:09:08 INFO: archiving logs to Nexus 16:09:09 ---> uname -a: 16:09:09 Linux prd-ubuntu20-04-docker-8c-8g-9540 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:09:09 16:09:09 16:09:09 ---> lscpu: 16:09:09 Architecture: x86_64 16:09:09 CPU op-mode(s): 32-bit, 64-bit 16:09:09 Byte Order: Little Endian 16:09:09 Address sizes: 40 bits physical, 48 bits virtual 16:09:09 CPU(s): 8 16:09:09 On-line CPU(s) list: 0-7 16:09:09 Thread(s) per core: 1 16:09:09 Core(s) per socket: 1 16:09:09 Socket(s): 8 16:09:09 NUMA node(s): 1 16:09:09 Vendor ID: AuthenticAMD 16:09:09 CPU family: 23 16:09:09 Model: 49 16:09:09 Model name: AMD EPYC-Rome Processor 16:09:09 Stepping: 0 16:09:09 CPU MHz: 2799.940 16:09:09 BogoMIPS: 5599.88 16:09:09 Virtualization: AMD-V 16:09:09 Hypervisor vendor: KVM 16:09:09 Virtualization type: full 16:09:09 L1d cache: 256 KiB 16:09:09 L1i cache: 256 KiB 16:09:09 L2 cache: 4 MiB 16:09:09 L3 cache: 128 MiB 16:09:09 NUMA node0 CPU(s): 0-7 16:09:09 Vulnerability Itlb multihit: Not affected 16:09:09 Vulnerability L1tf: Not affected 16:09:09 Vulnerability Mds: Not affected 16:09:09 Vulnerability Meltdown: Not affected 16:09:09 Vulnerability Mmio stale data: Not affected 16:09:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:09:09 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:09:09 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:09:09 Vulnerability Srbds: Not affected 16:09:09 Vulnerability Tsx async abort: Not affected 16:09:09 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 16:09:09 16:09:09 16:09:09 ---> nproc: 16:09:09 8 16:09:09 16:09:09