Pull request #653 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4fa017fc9de146fcbeed42cd0739a9d7442eda14+9b13877b5a91d7428adbfa2f1ba18137ccf7a444 (d8e82b4221be1e2055c5e22e369d11070c43553b) 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-ssh3456898100644740127.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5512180421041798751.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-653/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-653/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6236511881300283189.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-653/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12906724938108602899.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14280313636151400711.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-653/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-653/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7914119914710913346.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24932’ Running on prd-ubuntu20.04-docker-8c-8g-24938 in /w/workspace/gexfoundry_device-mqtt-go_PR-653 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-653 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 into PR head commit 4fa017fc9de146fcbeed42cd0739a9d7442eda14 Merge succeeded, producing 4fa017fc9de146fcbeed42cd0739a9d7442eda14 Checking out Revision 4fa017fc9de146fcbeed42cd0739a9d7442eda14 (PR-653) Commit message: "build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 4fa017fc9de146fcbeed42cd0739a9d7442eda14 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4fa017fc9de146fcbeed42cd0739a9d7442eda14 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:13:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:13:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:13:09 ========================================================= 01:13:09 EdgeX Global Pipelines Version Info 01:13:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:13:10 ------------------- 01:13:10 stable info: 01:13:10 ------------------- 01:13:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:13:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:13:10 Message: update stable to v1.0.258 01:13:10 ------------------- 01:13:10 experimental info: 01:13:10 ------------------- 01:13:10 Commited By: **** collab-it+edgex@linuxfoundation.org 01:13:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:13:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:13:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:13:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:13:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-653 [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-653 [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-653 [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4fa017fc9de146fcbeed42cd0739a9d7442eda14 [Pipeline] echo 01:13:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4fa017f [Pipeline] echo 01:13:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:13 provisioning config files... 01:13:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/config3373445685076978519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:13 ---> ****-login.sh 01:13:13 nexus3.edgexfoundry.org:10001 01:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:13 Configure a credential helper to remove this warning. See 01:13:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:13 01:13:13 Login Succeeded 01:13:13 nexus3.edgexfoundry.org:10002 01:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:14 Configure a credential helper to remove this warning. See 01:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:14 01:13:14 Login Succeeded 01:13:14 nexus3.edgexfoundry.org:10003 01:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:14 Configure a credential helper to remove this warning. See 01:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:14 01:13:14 Login Succeeded 01:13:14 nexus3.edgexfoundry.org:10004 01:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:14 Configure a credential helper to remove this warning. See 01:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:14 01:13:14 Login Succeeded 01:13:14 ****.io 01:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:14 Configure a credential helper to remove this warning. See 01:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:14 01:13:14 Login Succeeded 01:13:14 ---> ****-login.sh ends [Pipeline] } 01:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:13:15 + git rev-list -1 --merges 4fa017fc9de146fcbeed42cd0739a9d7442eda14~1..4fa017fc9de146fcbeed42cd0739a9d7442eda14 [Pipeline] echo 01:13:15 -----------> git rev-list -1 --merges 4fa017fc9de146fcbeed42cd0739a9d7442eda14~1..4fa017fc9de146fcbeed42cd0739a9d7442eda14 4fa017fc9de146fcbeed42cd0739a9d7442eda14 [false] [Pipeline] sh 01:13:16 + git log --format=format:%s -1 4fa017fc9de146fcbeed42cd0739a9d7442eda14 [Pipeline] echo 01:13:16 ========================================================= 01:13:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:13:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:16 + git log --format=format:%s -1 4fa017fc9de146fcbeed42cd0739a9d7442eda14 [Pipeline] echo 01:13:16 [semverPrep] GIT_COMMIT: 4fa017fc9de146fcbeed42cd0739a9d7442eda14, Commit Message: build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 [Pipeline] echo 01:13:16 [semverPrep] This is not a build commit. [Pipeline] sh 01:13:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:13:17 + grep -v github /etc/ssh/ssh_known_hosts 01:13:17 + [ -e /tmp/ssh_known_hosts ] 01:13:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:13:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:13:17 + sudo tee -a /etc/ssh/ssh_known_hosts 01:13:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:17 01:13:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:18 0.1.4: Pulling from edgex-devops/py-git-semver 01:13:18 b85a868b505f: Pulling fs layer 01:13:18 e2be974225ed: Pulling fs layer 01:13:18 339a4e72a1f5: Pulling fs layer 01:13:18 988bab9f4d93: Pulling fs layer 01:13:18 1469e6f7b9e6: Pulling fs layer 01:13:18 eaf3925da568: Pulling fs layer 01:13:18 bab4dde63d76: Pulling fs layer 01:13:18 bde34c3a00c8: Pulling fs layer 01:13:18 b352a97aabf1: Pulling fs layer 01:13:18 4872d77fe225: Pulling fs layer 01:13:18 5851b861e8e6: Pulling fs layer 01:13:18 eaf3925da568: Waiting 01:13:18 bab4dde63d76: Waiting 01:13:18 bde34c3a00c8: Waiting 01:13:18 b352a97aabf1: Waiting 01:13:18 988bab9f4d93: Waiting 01:13:18 1469e6f7b9e6: Waiting 01:13:18 5851b861e8e6: Waiting 01:13:18 4872d77fe225: Waiting 01:13:18 e2be974225ed: Verifying Checksum 01:13:18 e2be974225ed: Download complete 01:13:18 988bab9f4d93: Verifying Checksum 01:13:18 988bab9f4d93: Download complete 01:13:18 339a4e72a1f5: Verifying Checksum 01:13:18 339a4e72a1f5: Download complete 01:13:18 1469e6f7b9e6: Verifying Checksum 01:13:18 1469e6f7b9e6: Download complete 01:13:18 eaf3925da568: Verifying Checksum 01:13:18 eaf3925da568: Download complete 01:13:18 bde34c3a00c8: Verifying Checksum 01:13:18 bde34c3a00c8: Download complete 01:13:18 b352a97aabf1: Download complete 01:13:18 4872d77fe225: Verifying Checksum 01:13:18 4872d77fe225: Download complete 01:13:18 5851b861e8e6: Verifying Checksum 01:13:18 5851b861e8e6: Download complete 01:13:18 b85a868b505f: Verifying Checksum 01:13:18 b85a868b505f: Download complete 01:13:19 bab4dde63d76: Verifying Checksum 01:13:19 bab4dde63d76: Download complete 01:13:20 b85a868b505f: Pull complete 01:13:20 e2be974225ed: Pull complete 01:13:20 339a4e72a1f5: Pull complete 01:13:20 988bab9f4d93: Pull complete 01:13:21 1469e6f7b9e6: Pull complete 01:13:21 eaf3925da568: Pull complete 01:13:23 bab4dde63d76: Pull complete 01:13:23 bde34c3a00c8: Pull complete 01:13:23 b352a97aabf1: Pull complete 01:13:23 4872d77fe225: Pull complete 01:13:23 5851b861e8e6: Pull complete 01:13:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:23 prd-ubuntu20.04-docker-8c-8g-24938 does not seem to be running inside a container 01:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-653 -v /w/workspace/gexfoundry_device-mqtt-go_PR-653:/w/workspace/gexfoundry_device-mqtt-go_PR-653:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:13:26 $ docker top 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae -eo pid,comm 01:13:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:13:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:27 [ssh-agent] Looking for ssh-agent implementation... 01:13:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:27 $ docker exec 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae ssh-agent 01:13:27 SSH_AUTH_SOCK=/tmp/ssh-tKoExOiKIqlo/agent.33 01:13:27 SSH_AGENT_PID=39 01:13:27 Running ssh-add (command line suppressed) 01:13:27 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/private_key_8353420997392699147.key (/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/private_key_8353420997392699147.key) 01:13:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:27 + git tag --points-at HEAD [Pipeline] } 01:13:27 $ docker exec --env ******** --env ******** 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae ssh-agent -k 01:13:28 unset SSH_AUTH_SOCK; 01:13:28 unset SSH_AGENT_PID; 01:13:28 echo Agent pid 39 killed; 01:13:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:13:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:28 [ssh-agent] Looking for ssh-agent implementation... 01:13:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:28 $ docker exec 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae ssh-agent 01:13:28 SSH_AUTH_SOCK=/tmp/ssh-IzWQCyA80Mtx/agent.71 01:13:28 SSH_AGENT_PID=77 01:13:28 Running ssh-add (command line suppressed) 01:13:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/private_key_5955895056012678244.key (/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/private_key_5955895056012678244.key) 01:13:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:28 + git semver init 01:13:29 2023-12-13 01:13:29,095 [run_init] DEBUG init version:0.0.0 force:False 01:13:29 2023-12-13 01:13:29,096 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver 01:13:29 2023-12-13 01:13:29,096 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver 01:13:29 2023-12-13 01:13:29,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-653, universal_newlines=False, shell=None, istream=None) 01:13:30 2023-12-13 01:13:30,221 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-653/.git/info/exclude 01:13:30 2023-12-13 01:13:30,222 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver/PR-653 with force:False 01:13:30 2023-12-13 01:13:30,222 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver/PR-653 01:13:30 2023-12-13 01:13:30,226 [execute] INFO git cat-file --batch-check 01:13:30 2023-12-13 01:13:30,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver, universal_newlines=False, shell=None, istream=) 01:13:30 2023-12-13 01:13:30,232 [execute] INFO git cat-file --batch 01:13:30 2023-12-13 01:13:30,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver, universal_newlines=False, shell=None, istream=) 01:13:30 2023-12-13 01:13:30,238 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-653/.semver/PR-653 01:13:30 0.0.0 [Pipeline] } 01:13:30 $ docker exec --env ******** --env ******** 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae ssh-agent -k 01:13:30 unset SSH_AUTH_SOCK; 01:13:30 unset SSH_AGENT_PID; 01:13:30 echo Agent pid 77 killed; 01:13:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:13:31 + git semver [Pipeline] } 01:13:31 $ docker stop --time=1 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae 01:13:32 $ docker rm -f --volumes 42bf462c61b636138ec0eff514acf361ea3a240acd6f63e9c134cc8a65adf2ae [Pipeline] // withDockerContainer [Pipeline] sh 01:13:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:13:33 Stashed 1 file(s) [Pipeline] echo 01:13:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:34 provisioning config files... 01:13:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/config5904631839390489950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:34 ---> ****-login.sh 01:13:34 nexus3.edgexfoundry.org:10001 01:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:34 Configure a credential helper to remove this warning. See 01:13:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:34 01:13:34 Login Succeeded 01:13:34 nexus3.edgexfoundry.org:10002 01:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:35 Configure a credential helper to remove this warning. See 01:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:35 01:13:35 Login Succeeded 01:13:35 nexus3.edgexfoundry.org:10003 01:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:35 Configure a credential helper to remove this warning. See 01:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:35 01:13:35 Login Succeeded 01:13:35 nexus3.edgexfoundry.org:10004 01:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:35 Configure a credential helper to remove this warning. See 01:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:35 01:13:35 Login Succeeded 01:13:35 ****.io 01:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:35 Configure a credential helper to remove this warning. See 01:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:35 01:13:35 Login Succeeded 01:13:35 ---> ****-login.sh ends [Pipeline] } 01:13:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:36 ========================================================= 01:13:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:13:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:13:36 Sending build context to Docker daemon 14.87MB 01:13:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:13:36 Step 2/12 : FROM ${BASE} AS builder 01:13:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:13:36 7264a8db6415: Pulling fs layer 01:13:36 c4d48a809fc2: Pulling fs layer 01:13:36 4f1c88b9dad5: Pulling fs layer 01:13:36 ad3a456e5733: Pulling fs layer 01:13:36 69c7f0334f64: Pulling fs layer 01:13:36 1f1c1a5573a3: Pulling fs layer 01:13:36 ce7588e14bc9: Pulling fs layer 01:13:36 b5e4710f87ac: Pulling fs layer 01:13:36 ad3a456e5733: Waiting 01:13:36 1f1c1a5573a3: Waiting 01:13:36 69c7f0334f64: Waiting 01:13:36 b5e4710f87ac: Waiting 01:13:36 ce7588e14bc9: Waiting 01:13:37 c4d48a809fc2: Download complete 01:13:37 ad3a456e5733: Verifying Checksum 01:13:37 ad3a456e5733: Download complete 01:13:37 69c7f0334f64: Verifying Checksum 01:13:37 69c7f0334f64: Download complete 01:13:37 7264a8db6415: Verifying Checksum 01:13:37 7264a8db6415: Download complete 01:13:37 1f1c1a5573a3: Verifying Checksum 01:13:37 1f1c1a5573a3: Download complete 01:13:37 7264a8db6415: Pull complete 01:13:37 b5e4710f87ac: Verifying Checksum 01:13:37 b5e4710f87ac: Download complete 01:13:37 c4d48a809fc2: Pull complete 01:13:37 4f1c88b9dad5: Download complete 01:13:37 ce7588e14bc9: Verifying Checksum 01:13:37 ce7588e14bc9: Download complete 01:13:41 4f1c88b9dad5: Pull complete 01:13:41 ad3a456e5733: Pull complete 01:13:41 69c7f0334f64: Pull complete 01:13:41 1f1c1a5573a3: Pull complete 01:13:43 ce7588e14bc9: Pull complete 01:13:43 b5e4710f87ac: Pull complete 01:13:43 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:13:43 ---> 88b5674ff536 01:13:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:13:49 Still waiting to schedule task 01:13:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24936’ 01:13:50 ---> Running in 9e0f81e58f44 01:13:50 Removing intermediate container 9e0f81e58f44 01:13:50 ---> 9f50caf348ec 01:13:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:50 ---> Running in 812e9bdb4766 01:13:50 Removing intermediate container 812e9bdb4766 01:13:50 ---> 0dfead206092 01:13:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:13:50 ---> Running in 0b30ff8a2c75 01:13:50 Removing intermediate container 0b30ff8a2c75 01:13:50 ---> 6d48225c33aa 01:13:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:13:50 ---> Running in 62fead18681d 01:13:50 Removing intermediate container 62fead18681d 01:13:50 ---> fad933616b95 01:13:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:50 ---> Running in ee3ca5c7c400 01:13:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:13:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:13:50 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:13:50 (2/4) Installing libedit (20221030.3.1-r1) 01:13:50 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:13:50 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:13:50 Executing busybox-1.36.1-r5.trigger 01:13:50 OK: 268 MiB in 56 packages 01:13:51 Removing intermediate container ee3ca5c7c400 01:13:51 ---> e367e47f049c 01:13:51 Step 8/12 : WORKDIR /device-mqtt-go 01:13:51 ---> Running in 7031cea764a2 01:13:51 Removing intermediate container 7031cea764a2 01:13:51 ---> c7c00e0b554f 01:13:51 Step 9/12 : COPY go.mod vendor* ./ 01:13:51 ---> 234c66e85df4 01:13:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:51 ---> Running in 40e49b3332a6 01:14:38 go: github.com/hashicorp/go-uuid@v1.0.3: verifying go.mod: github.com/hashicorp/go-uuid@v1.0.3/go.mod: reading https://sum.golang.org/tile/8/0/x039/136: 404 Not Found 01:14:38 server response: not found 01:14:38 skipping... 01:15:10 Removing intermediate container 40e49b3332a6 01:15:10 ---> 77cb0c98d79d 01:15:10 Step 11/12 : COPY . . 01:15:10 ---> f0a6bc4cb167 01:15:10 Step 12/12 : RUN $MAKE 01:15:10 ---> Running in a4127b44c04e 01:15:10 noop 01:15:10 Removing intermediate container a4127b44c04e 01:15:10 ---> 0259d7864bc9 01:15:10 Successfully built 0259d7864bc9 01:15:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:10 + docker inspect -f . ci-base-image-x86_64 01:15:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:11 prd-ubuntu20.04-docker-8c-8g-24938 does not seem to be running inside a container 01:15:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-653 -v /w/workspace/gexfoundry_device-mqtt-go_PR-653:/w/workspace/gexfoundry_device-mqtt-go_PR-653:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:15:11 $ docker top 2aec39673af5b50e600a1e90b23c8a81dbce3be89989375c692de7dc40838b91 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:11 + go version 01:15:11 go version go1.21.0 linux/amd64 [Pipeline] } 01:15:11 $ docker stop --time=1 2aec39673af5b50e600a1e90b23c8a81dbce3be89989375c692de7dc40838b91 01:15:13 $ docker rm -f --volumes 2aec39673af5b50e600a1e90b23c8a81dbce3be89989375c692de7dc40838b91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:14 + docker inspect -f . ci-base-image-x86_64 01:15:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:14 prd-ubuntu20.04-docker-8c-8g-24938 does not seem to be running inside a container 01:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-653 -v /w/workspace/gexfoundry_device-mqtt-go_PR-653:/w/workspace/gexfoundry_device-mqtt-go_PR-653:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:15:14 $ docker top 92c3d9a3aa31f75a9d277698ef2dbcf9d246b5331f40b47ae06f804baa76f9f9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-653 [Pipeline] fileExists [Pipeline] sh 01:15:15 + make test 01:15:15 go test ./... -coverprofile=coverage.out ./... 01:15:17 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:15:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:15:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:15:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements 01:15:34 go vet ./... 01:15:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:15:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:15:38 ./bin/test-attribution-txt.sh [Pipeline] echo 01:15:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:15:38 $ docker stop --time=1 92c3d9a3aa31f75a9d277698ef2dbcf9d246b5331f40b47ae06f804baa76f9f9 01:15:42 $ docker rm -f --volumes 92c3d9a3aa31f75a9d277698ef2dbcf9d246b5331f40b47ae06f804baa76f9f9 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:15:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:15:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:15:43 + ls -al . 01:15:43 total 184 01:15:43 drwxrwxr-x 9 jenkins jenkins 4096 Dec 13 01:15 . 01:15:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 01:13 .. 01:15:43 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 01:13 .dockerignore 01:15:43 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 01:15 .git 01:15:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 01:13 .github 01:15:43 -rw-rw-r-- 1 jenkins jenkins 264 Dec 13 01:13 .gitignore 01:15:43 -rw-rw-r-- 1 jenkins jenkins 41 Dec 13 01:13 .golangci.yml 01:15:43 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 01:13 .semver 01:15:43 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 13 01:13 Attribution.txt 01:15:43 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 13 01:13 CHANGELOG.md 01:15:43 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 13 01:13 Dockerfile 01:15:43 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 01:13 GOVERNANCE.md 01:15:43 -rw-rw-r-- 1 jenkins jenkins 657 Dec 13 01:13 Jenkinsfile 01:15:43 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 13 01:13 LICENSE 01:15:43 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 13 01:13 Makefile 01:15:43 -rw-rw-r-- 1 jenkins jenkins 620 Dec 13 01:13 OWNERS.md 01:15:43 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 13 01:13 README.md 01:15:43 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 01:13 VERSION 01:15:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 01:13 bin 01:15:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 01:13 cmd 01:15:43 -rw-r--r-- 1 jenkins jenkins 18506 Dec 13 01:15 coverage.out 01:15:43 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 13 01:13 go.mod 01:15:43 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 13 01:13 go.sum 01:15:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 01:13 internal 01:15:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 01:13 mock 01:15:43 -rw-rw-r-- 1 jenkins jenkins 227 Dec 13 01:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:44 + 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=4fa017fc9de146fcbeed42cd0739a9d7442eda14 --label arch=amd64 --label version=0.0.0 . 01:15:44 Sending build context to Docker daemon 14.89MB 01:15:44 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:15:44 Step 2/25 : FROM ${BASE} AS builder 01:15:44 ---> 0259d7864bc9 01:15:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:15:45 ---> Running in d5db5ccb7332 01:15:45 Removing intermediate container d5db5ccb7332 01:15:45 ---> b7c51473ab50 01:15:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:15:45 ---> Running in 0e136a42d202 01:15:45 Removing intermediate container 0e136a42d202 01:15:45 ---> 8d7ec42726c1 01:15:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:15:45 ---> Running in 8924b55c466c 01:15:45 Removing intermediate container 8924b55c466c 01:15:45 ---> 1c092d36bc70 01:15:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:15:45 ---> Running in fdba8bc74544 01:15:45 Removing intermediate container fdba8bc74544 01:15:45 ---> ec626a0f7c03 01:15:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:45 ---> Running in 8f996798c124 01:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:15:46 OK: 268 MiB in 56 packages 01:15:46 Removing intermediate container 8f996798c124 01:15:46 ---> 2d0c5ff6f7d9 01:15:46 Step 8/25 : WORKDIR /device-mqtt-go 01:15:46 ---> Running in f7e9394d0ecb 01:15:46 Removing intermediate container f7e9394d0ecb 01:15:46 ---> 47ba98d398e3 01:15:46 Step 9/25 : COPY go.mod vendor* ./ 01:15:46 ---> 7a5c28d39c95 01:15:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:46 ---> Running in 7c4434d19f06 01:15:47 Removing intermediate container 7c4434d19f06 01:15:47 ---> 37801c937510 01:15:47 Step 11/25 : COPY . . 01:15:48 ---> 9e6a4c5f237a 01:15:48 Step 12/25 : RUN $MAKE 01:15:48 ---> Running in 7a276bcf5cbe 01:15:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:16:10 Removing intermediate container 7a276bcf5cbe 01:16:10 ---> d63f3bf22ec9 01:16:10 Step 13/25 : FROM alpine:3.18 01:16:10 3.18: Pulling from library/alpine 01:16:10 c926b61bad3b: Pulling fs layer 01:16:10 c926b61bad3b: Verifying Checksum 01:16:10 c926b61bad3b: Download complete 01:16:10 c926b61bad3b: Pull complete 01:16:10 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:16:10 Status: Downloaded newer image for alpine:3.18 01:16:10 ---> b541f2080109 01:16:10 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:16:10 ---> Running in 9f0868f16360 01:16:10 Removing intermediate container 9f0868f16360 01:16:10 ---> 9d48d2e97c32 01:16:10 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:16:10 ---> Running in 6255314d870b 01:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:16:11 (1/1) Installing dumb-init (1.2.5-r2) 01:16:11 Executing busybox-1.36.1-r5.trigger 01:16:11 OK: 7 MiB in 16 packages 01:16:11 Removing intermediate container 6255314d870b 01:16:11 ---> 56e28be8f753 01:16:11 Step 16/25 : RUN apk --no-cache upgrade 01:16:11 ---> Running in b5978f1bf4f3 01:16:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:16:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:16:12 OK: 7 MiB in 16 packages 01:16:12 Removing intermediate container b5978f1bf4f3 01:16:12 ---> 70d855956f09 01:16:12 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:16:13 ---> 46d9b0249f28 01:16:13 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:16:13 ---> 82a30c731634 01:16:13 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:16:13 ---> 805cd5234e07 01:16:13 Step 20/25 : EXPOSE 59982 01:16:13 ---> Running in 1869c735c34f 01:16:13 Removing intermediate container 1869c735c34f 01:16:13 ---> ec19cb0587f0 01:16:13 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:16:13 ---> Running in 885bf6c8af1f 01:16:13 Removing intermediate container 885bf6c8af1f 01:16:13 ---> 430e7c62f97e 01:16:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:16:13 ---> Running in 09a7abc78006 01:16:13 Removing intermediate container 09a7abc78006 01:16:13 ---> 750f70964c4c 01:16:13 Step 23/25 : LABEL arch=amd64 01:16:13 ---> Running in 16d36409b887 01:16:13 Removing intermediate container 16d36409b887 01:16:13 ---> 515ed74dffee 01:16:13 Step 24/25 : LABEL git_sha=4fa017fc9de146fcbeed42cd0739a9d7442eda14 01:16:13 ---> Running in 903cd288a928 01:16:14 Removing intermediate container 903cd288a928 01:16:14 ---> 667b73d16d4c 01:16:14 Step 25/25 : LABEL version=0.0.0 01:16:14 ---> Running in be72fb9770ed 01:16:14 Removing intermediate container be72fb9770ed 01:16:14 ---> a8005e0c8bfb 01:16:14 [Warning] One or more build-args [ARCH] were not consumed 01:16:14 Successfully built a8005e0c8bfb 01:16:14 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:15 01:16:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:15 latest: Pulling from edgex-lftools-log-publisher 01:16:15 5eb5b503b376: Pulling fs layer 01:16:15 5c69ac0246d0: Pulling fs layer 01:16:15 ec43610c2a17: Pulling fs layer 01:16:15 3a2ae6a8a46f: Pulling fs layer 01:16:15 33b1e0a273af: Pulling fs layer 01:16:15 5d3b04190fa2: Pulling fs layer 01:16:15 2f39f015ded8: Pulling fs layer 01:16:15 3a2ae6a8a46f: Waiting 01:16:15 33b1e0a273af: Waiting 01:16:15 5d3b04190fa2: Waiting 01:16:15 2f39f015ded8: Waiting 01:16:15 5c69ac0246d0: Verifying Checksum 01:16:15 5c69ac0246d0: Download complete 01:16:15 3a2ae6a8a46f: Download complete 01:16:15 33b1e0a273af: Verifying Checksum 01:16:15 33b1e0a273af: Download complete 01:16:15 5d3b04190fa2: Download complete 01:16:15 ec43610c2a17: Verifying Checksum 01:16:15 ec43610c2a17: Download complete 01:16:15 5eb5b503b376: Verifying Checksum 01:16:15 5eb5b503b376: Download complete 01:16:17 5eb5b503b376: Pull complete 01:16:17 5c69ac0246d0: Pull complete 01:16:17 ec43610c2a17: Pull complete 01:16:17 3a2ae6a8a46f: Pull complete 01:16:18 33b1e0a273af: Pull complete 01:16:18 5d3b04190fa2: Pull complete 01:16:22 2f39f015ded8: Pull complete 01:16:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:22 prd-ubuntu20.04-docker-8c-8g-24938 does not seem to be running inside a container 01:16:22 $ 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/gexfoundry_device-mqtt-go_PR-653 -v /w/workspace/gexfoundry_device-mqtt-go_PR-653:/w/workspace/gexfoundry_device-mqtt-go_PR-653:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:16:28 $ docker top 3f3c5ec25d26570865434903b9045aab72d09320b56164273f5490efc287a765 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:28 ---> job-cost.sh 01:16:28 lf-activate-venv: SKIPPING 01:16:28 INFO: No Stack... 01:16:28 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:29 INFO: Archiving Costs [Pipeline] sh 01:16:29 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives/cost.csv 01:16:29 + cut -d, -f6 [Pipeline] lock 01:16:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] 01:16:29 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] did not exist. Created. 01:16:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:30 + echo total: 0.2199999988079071 [Pipeline] stash 01:16:30 Stashed 1 file(s) [Pipeline] } 01:16:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:30 $ docker stop --time=1 3f3c5ec25d26570865434903b9045aab72d09320b56164273f5490efc287a765 01:16:31 $ docker rm -f --volumes 3f3c5ec25d26570865434903b9045aab72d09320b56164273f5490efc287a765 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:17:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24939 in /w/workspace/gexfoundry_device-mqtt-go_PR-653 [Pipeline] { [Pipeline] ws 01:17:25 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:17:28 The recommended git tool is: git 01:17:36 using credential edgex-jenkins-ssh 01:17:36 Cloning the remote Git repository 01:17:36 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:17:36 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:17:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:17:36 > git --version # timeout=10 01:17:37 > git --version # 'git version 2.25.1' 01:17:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:38 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:17:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:39 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:17:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:17:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:17:40 Merging remotes/origin/main commit 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 into PR head commit 4fa017fc9de146fcbeed42cd0739a9d7442eda14 01:17:40 Merge succeeded, producing 4fa017fc9de146fcbeed42cd0739a9d7442eda14 01:17:40 Checking out Revision 4fa017fc9de146fcbeed42cd0739a9d7442eda14 (PR-653) 01:17:40 Commit message: "build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0" 01:17:40 > git --version # timeout=10 01:17:40 > git --version # 'git version 2.25.1' 01:17:40 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:17:40 > git config core.sparsecheckout # timeout=10 01:17:40 > git checkout -f 4fa017fc9de146fcbeed42cd0739a9d7442eda14 # timeout=10 01:17:40 > git remote # timeout=10 01:17:40 > git config --get remote.origin.url # timeout=10 01:17:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:40 > git merge 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 01:17:40 > git rev-parse HEAD^{commit} # timeout=10 01:17:40 > git config core.sparsecheckout # timeout=10 01:17:40 > git checkout -f 4fa017fc9de146fcbeed42cd0739a9d7442eda14 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:17:42 % Total % Received % Xferd Average Speed Time Time Time Current 01:17:42 Dload Upload Total Spent Left Speed 01:17:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 95353 0 --:--:-- --:--:-- --:--:-- 96075 [Pipeline] sh 01:17:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:17:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:17:43 + sudo tee /etc/docker/daemon.new 01:17:43 { 01:17:43 "registry-mirrors": [ 01:17:43 "https://nexus3.edgexfoundry.org:10001" 01:17:43 ], 01:17:43 "bip": "10.250.0.254/24", 01:17:43 "hosts": [ 01:17:43 "tcp://0.0.0.0:5555", 01:17:43 "unix:///var/run/docker.sock" 01:17:43 ], 01:17:43 "mtu": 1458, 01:17:43 "selinux-enabled": true, 01:17:43 "seccomp-profile": "/etc/docker/seccomp.json" 01:17:43 } [Pipeline] sh 01:17:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:17:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:06 provisioning config files... 01:18:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config12447294869717114828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:06 ---> ****-login.sh 01:18:06 nexus3.edgexfoundry.org:10001 01:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:07 Configure a credential helper to remove this warning. See 01:18:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:07 01:18:07 Login Succeeded 01:18:07 nexus3.edgexfoundry.org:10002 01:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:07 Configure a credential helper to remove this warning. See 01:18:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:07 01:18:07 Login Succeeded 01:18:07 nexus3.edgexfoundry.org:10003 01:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:07 Configure a credential helper to remove this warning. See 01:18:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:07 01:18:07 Login Succeeded 01:18:07 nexus3.edgexfoundry.org:10004 01:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:07 Configure a credential helper to remove this warning. See 01:18:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:07 01:18:07 Login Succeeded 01:18:07 ****.io 01:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:08 Configure a credential helper to remove this warning. See 01:18:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:08 01:18:08 Login Succeeded 01:18:08 ---> ****-login.sh ends [Pipeline] } 01:18:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:18:09 ========================================================= 01:18:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:18:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:18:11 #0 building with "default" instance using docker driver 01:18:11 01:18:11 #1 [internal] load .dockerignore 01:18:11 #1 transferring context: 182B 0.0s done 01:18:11 #1 DONE 0.1s 01:18:11 01:18:11 #2 [internal] load build definition from Dockerfile 01:18:11 #2 transferring dockerfile: 1.84kB done 01:18:11 #2 DONE 0.1s 01:18:11 01:18:11 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:18:11 #3 DONE 0.1s 01:18:11 01:18:11 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:18:11 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 01:18:11 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 344.06kB / 3.33MB 0.1s 01:18:11 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 01:18:11 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 01:18:11 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 01:18:11 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 01:18:11 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 01:18:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.79MB / 63.99MB 0.2s 01:18:11 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 01:18:11 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 01:18:11 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 01:18:11 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 01:18:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 01:18:11 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s 01:18:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.4s 01:18:11 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 01:18:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 01:18:11 #4 ... 01:18:11 01:18:11 #5 [internal] load build context 01:18:11 #5 transferring context: 7.42MB 0.4s done 01:18:11 #5 DONE 0.5s 01:18:11 01:18:11 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:18:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.24MB / 97.63MB 0.5s 01:18:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 01:18:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.6s 01:18:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s 01:18:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 0.8s 01:18:12 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 01:18:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.00MB / 97.63MB 0.8s 01:18:12 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 01:18:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.9s 01:18:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.83MB / 97.63MB 0.9s 01:18:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.01MB / 63.99MB 1.0s 01:18:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.36MB / 97.63MB 1.0s 01:18:12 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 01:18:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.1s 01:18:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.60MB / 97.63MB 1.1s 01:18:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.3s 01:18:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.3s 01:18:12 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 01:18:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.4s 01:18:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.10MB / 97.63MB 1.4s 01:18:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.5s 01:18:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.5s 01:18:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s 01:18:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.86MB / 97.63MB 1.7s 01:18:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done 01:18:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.9s 01:18:13 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 01:18:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 2.0s 01:18:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.02MB / 97.63MB 2.1s 01:18:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 01:18:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.2s done 01:18:19 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.1s 01:18:24 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.4s 01:18:31 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.3s done 01:18:31 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 01:18:31 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 01:18:32 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 01:18:32 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 01:18:37 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 01:18:40 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.3s done 01:18:40 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 01:18:42 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 01:18:42 #4 DONE 31.4s 01:18:42 01:18:42 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:18:43 #6 0.722 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:18:44 #6 1.241 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:18:44 #6 2.235 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:18:44 #6 2.263 (2/4) Installing libedit (20221030.3.1-r1) 01:18:44 #6 2.279 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:18:44 #6 2.342 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:18:45 #6 2.370 Executing busybox-1.36.1-r5.trigger 01:18:45 #6 2.405 OK: 271 MiB in 56 packages 01:18:46 #6 DONE 4.1s 01:18:46 01:18:46 #7 [builder 3/7] WORKDIR /device-mqtt-go 01:18:46 #7 DONE 0.1s 01:18:46 01:18:46 #8 [builder 4/7] COPY go.mod vendor* ./ 01:18:46 #8 DONE 0.1s 01:18:47 01:18:47 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:13 #9 DONE 22.9s 01:19:13 01:19:13 #10 [builder 6/7] COPY . . 01:19:13 #10 DONE 0.3s 01:19:13 01:19:13 #11 [builder 7/7] RUN echo noop 01:19:13 #11 0.616 noop 01:19:13 #11 DONE 2.9s 01:19:13 01:19:13 #12 exporting to image 01:19:13 #12 exporting layers 01:19:35 #12 exporting layers 22.5s done 01:19:35 #12 writing image sha256:cfc72f6fba24d40c8fe0e9c96a0b38ca52c2050b035d4fd2585b307c3d873b9e done 01:19:35 #12 naming to docker.io/library/ci-base-image-arm64 done 01:19:35 #12 DONE 22.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:36 + docker inspect -f . ci-base-image-arm64 01:19:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:36 prd-ubuntu20.04-docker-arm64-4c-16g-24939 does not seem to be running inside a container 01:19:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:19:38 $ docker top f40a297a05e463fad97ba56ad5a19d82debc7e0d3d21ba517c7718ca608cca33 -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:39 + go version 01:19:39 go version go1.21.0 linux/arm64 [Pipeline] } 01:19:39 $ docker stop --time=1 f40a297a05e463fad97ba56ad5a19d82debc7e0d3d21ba517c7718ca608cca33 01:19:42 $ docker rm -f --volumes f40a297a05e463fad97ba56ad5a19d82debc7e0d3d21ba517c7718ca608cca33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:43 + docker inspect -f . ci-base-image-arm64 01:19:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-24939 does not seem to be running inside a container 01:19:43 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:19:44 $ docker top 5a82c86e69c2df42937252c80a8cd92ed13f8d8d36e322e4c0db55ba70b4e412 -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:45 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:19:45 + make test 01:19:45 go test ./... -coverprofile=coverage.out ./... 01:19:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:20:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:20:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:20:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.8% of statements 01:20:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:20:46 go vet ./... 01:20:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:20:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:20:58 ./bin/test-attribution-txt.sh [Pipeline] echo 01:20:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:20:58 $ docker stop --time=1 5a82c86e69c2df42937252c80a8cd92ed13f8d8d36e322e4c0db55ba70b4e412 01:21:00 $ docker rm -f --volumes 5a82c86e69c2df42937252c80a8cd92ed13f8d8d36e322e4c0db55ba70b4e412 [Pipeline] // withDockerContainer [Pipeline] sh 01:21:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:21:01 Warning: overwriting stash ‘coverage-report’ 01:21:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:21:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:21:03 + ls -al . 01:21:03 total 180 01:21:03 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 01:19 . 01:21:03 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 01:17 .. 01:21:03 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 01:17 .dockerignore 01:21:03 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 01:17 .git 01:21:03 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 01:17 .github 01:21:03 -rw-rw-r-- 1 jenkins jenkins 264 Dec 13 01:17 .gitignore 01:21:03 -rw-rw-r-- 1 jenkins jenkins 41 Dec 13 01:17 .golangci.yml 01:21:03 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 13 01:17 Attribution.txt 01:21:03 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 13 01:17 CHANGELOG.md 01:21:03 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 13 01:17 Dockerfile 01:21:03 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 01:17 GOVERNANCE.md 01:21:03 -rw-rw-r-- 1 jenkins jenkins 657 Dec 13 01:17 Jenkinsfile 01:21:03 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 13 01:17 LICENSE 01:21:03 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 13 01:17 Makefile 01:21:03 -rw-rw-r-- 1 jenkins jenkins 620 Dec 13 01:17 OWNERS.md 01:21:03 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 13 01:17 README.md 01:21:03 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 01:13 VERSION 01:21:03 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 01:17 bin 01:21:03 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 01:17 cmd 01:21:03 -rw-r--r-- 1 jenkins jenkins 18506 Dec 13 01:20 coverage.out 01:21:03 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 13 01:17 go.mod 01:21:03 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 13 01:17 go.sum 01:21:03 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 01:17 internal 01:21:03 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 01:17 mock 01:21:03 -rw-rw-r-- 1 jenkins jenkins 227 Dec 13 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:04 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4fa017fc9de146fcbeed42cd0739a9d7442eda14 --label arch=arm64 --label version=0.0.0 . 01:21:06 #0 building with "default" instance using docker driver 01:21:06 01:21:06 #1 [internal] load build definition from Dockerfile 01:21:06 #1 transferring dockerfile: 1.84kB 0.0s done 01:21:06 #1 DONE 0.0s 01:21:06 01:21:06 #2 [internal] load .dockerignore 01:21:06 #2 transferring context: 182B 0.0s done 01:21:06 #2 DONE 0.0s 01:21:06 01:21:06 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 01:21:06 #3 DONE 0.0s 01:21:06 01:21:06 #4 [internal] load metadata for docker.io/library/alpine:3.18 01:21:06 #4 DONE 0.3s 01:21:06 01:21:06 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:21:06 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:21:06 #5 ... 01:21:06 01:21:06 #6 [internal] load build context 01:21:06 #6 transferring context: 25.45kB 0.0s done 01:21:06 #6 DONE 0.1s 01:21:06 01:21:06 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:21:06 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 01:21:06 #5 ... 01:21:06 01:21:06 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 01:21:06 #7 DONE 0.2s 01:21:06 01:21:06 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:21:06 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 01:21:06 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 01:21:06 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 01:21:06 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 01:21:06 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 01:21:07 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 01:21:07 #5 DONE 0.9s 01:21:07 01:21:07 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:21:08 #8 0.624 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:21:08 #8 0.955 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:21:09 #8 ... 01:21:09 01:21:09 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:21:09 #9 0.696 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:21:09 #9 1.139 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:21:09 #9 2.255 OK: 271 MiB in 56 packages 01:21:09 #9 DONE 2.5s 01:21:09 01:21:09 #10 [builder 3/7] WORKDIR /device-mqtt-go 01:21:09 #10 DONE 0.1s 01:21:09 01:21:09 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:21:09 #8 1.990 (1/1) Installing dumb-init (1.2.5-r2) 01:21:09 #8 2.004 Executing busybox-1.36.1-r5.trigger 01:21:09 #8 2.044 OK: 8 MiB in 16 packages 01:21:09 #8 ... 01:21:09 01:21:09 #11 [builder 4/7] COPY go.mod vendor* ./ 01:21:09 #11 DONE 0.2s 01:21:09 01:21:09 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:21:10 #12 ... 01:21:10 01:21:10 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:21:10 #8 DONE 2.4s 01:21:10 01:21:10 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:21:10 #13 0.817 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:21:11 #13 ... 01:21:11 01:21:11 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:21:11 #12 DONE 1.3s 01:21:11 01:21:11 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:21:11 #13 1.177 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:21:11 #13 ... 01:21:11 01:21:11 #14 [builder 6/7] COPY . . 01:21:11 #14 DONE 0.3s 01:21:11 01:21:11 #15 [builder 7/7] RUN make build 01:21:12 #15 0.700 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:21:12 #15 ... 01:21:12 01:21:12 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:21:12 #13 2.285 OK: 8 MiB in 16 packages 01:21:12 #13 DONE 2.6s 01:21:13 01:21:13 #15 [builder 7/7] RUN make build 01:22:20 #15 DONE 69.0s 01:22:20 01:22:20 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 01:22:21 #16 DONE 0.4s 01:22:21 01:22:21 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 01:22:21 #17 DONE 0.1s 01:22:21 01:22:21 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 01:22:21 #18 DONE 0.1s 01:22:21 01:22:21 #19 exporting to image 01:22:21 #19 exporting layers 01:22:22 #19 exporting layers 0.5s done 01:22:22 #19 writing image sha256:c3abbc0b9add199c77589c190cf3a9d3d8789bc68d699095c726309b49a5d149 done 01:22:22 #19 naming to docker.io/library/device-mqtt-arm64 done 01:22:22 #19 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:23 01:22:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:24 arm64: Pulling from edgex-lftools-log-publisher 01:22:24 8998bd30e6a1: Pulling fs layer 01:22:24 04944245beec: Pulling fs layer 01:22:24 699f458cf7ca: Pulling fs layer 01:22:24 765212b225bb: Pulling fs layer 01:22:24 f23df028b6ca: Pulling fs layer 01:22:24 d65c8cfc05b1: Pulling fs layer 01:22:24 2437ff75d9bd: Pulling fs layer 01:22:24 765212b225bb: Waiting 01:22:24 d65c8cfc05b1: Waiting 01:22:24 2437ff75d9bd: Waiting 01:22:24 04944245beec: Verifying Checksum 01:22:24 04944245beec: Download complete 01:22:24 765212b225bb: Verifying Checksum 01:22:24 765212b225bb: Download complete 01:22:24 f23df028b6ca: Verifying Checksum 01:22:24 f23df028b6ca: Download complete 01:22:24 d65c8cfc05b1: Verifying Checksum 01:22:24 d65c8cfc05b1: Download complete 01:22:24 699f458cf7ca: Verifying Checksum 01:22:24 699f458cf7ca: Download complete 01:22:24 8998bd30e6a1: Verifying Checksum 01:22:24 8998bd30e6a1: Download complete 01:22:27 2437ff75d9bd: Verifying Checksum 01:22:27 2437ff75d9bd: Download complete 01:22:32 8998bd30e6a1: Pull complete 01:22:33 04944245beec: Pull complete 01:22:35 699f458cf7ca: Pull complete 01:22:35 765212b225bb: Pull complete 01:22:36 f23df028b6ca: Pull complete 01:22:36 d65c8cfc05b1: Pull complete 01:22:58 2437ff75d9bd: Pull complete 01:22:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:58 prd-ubuntu20.04-docker-arm64-4c-16g-24939 does not seem to be running inside a container 01:22:59 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:23:03 $ docker top c3a8e605f2710ed2c3a07c72d4633a8cfbb2abfaa99bce3b62055d776e7f4d7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:04 ---> job-cost.sh 01:23:04 lf-activate-venv: SKIPPING 01:23:04 INFO: No Stack... 01:23:05 INFO: Retrieving Pricing Info for: v3-standard-8 01:23:05 INFO: Archiving Costs [Pipeline] sh 01:23:06 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:23:06 + cut -d, -f6 [Pipeline] lock 01:23:06 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] 01:23:06 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] did not exist. Created. 01:23:06 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:23:06 /w/workspace/device-mqtt-go/1@tmp/durable-8df911be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:23:07 + echo total: 0.2199999988079071 [Pipeline] stash 01:23:07 Warning: overwriting stash ‘stack-cost’ 01:23:07 Stashed 1 file(s) [Pipeline] } 01:23:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-653-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:23:07 $ docker stop --time=1 c3a8e605f2710ed2c3a07c72d4633a8cfbb2abfaa99bce3b62055d776e7f4d7b 01:23:08 $ docker rm -f --volumes c3a8e605f2710ed2c3a07c72d4633a8cfbb2abfaa99bce3b62055d776e7f4d7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:23:10 provisioning config files... 01:23:10 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/config2841147729164102254tmp [Pipeline] { [Pipeline] sh 01:23:11 + set +x 01:23:11 + curl -s https://codecov.io/bash 01:23:11 + bash -s -- 01:23:11 01:23:11 _____ _ 01:23:11 / ____| | | 01:23:11 | | ___ __| | ___ ___ _____ __ 01:23:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:23:11 | |___| (_) | (_| | __/ (_| (_) \ V / 01:23:11 \_____\___/ \__,_|\___|\___\___/ \_/ 01:23:11 Bash-1.0.6 01:23:11 01:23:11 01:23:11 ==> git version 2.25.1 found 01:23:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:23:11 Release-Date: 2020-01-08 01:23:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:23:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:23:11 ==> Jenkins CI detected. 01:23:11 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-653 01:23:11 project root: . 01:23:11 --> token set from env 01:23:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:23:11 ==> Running gcov in . (disable via -X gcov) 01:23:11 ==> Python coveragepy not found 01:23:11 ==> Searching for coverage reports in: 01:23:11 + . 01:23:11 -> Found 1 reports 01:23:11 ==> Detecting git/mercurial file structure 01:23:11 ==> Reading reports 01:23:11 + ./coverage.out bytes=18506 01:23:11 ==> Appending adjustments 01:23:11 https://docs.codecov.io/docs/fixing-reports 01:23:11 + Found adjustments 01:23:11 ==> Gzipping contents 01:23:11 4.0K /tmp/codecov.aHbPVa.gz 01:23:11 ==> Uploading reports 01:23:11 url: https://codecov.io 01:23:11 query: branch=PR-653&commit=4fa017fc9de146fcbeed42cd0739a9d7442eda14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-653%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=653&job=&cmd_args= 01:23:11 -> Pinging Codecov 01:23:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-653&commit=4fa017fc9de146fcbeed42cd0739a9d7442eda14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-653%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=653&job=&cmd_args= 01:23:11 -> Uploading to 01:23:11 https://storage.googleapis.com/codecov/v4/raw/2023-12-13/7D719EC7BBE17E464838252E33014C33/4fa017fc9de146fcbeed42cd0739a9d7442eda14/1ee6ffa5-cd56-4f0c-ad54-49b52796453f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231213T012311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5cbd4da94fb9cb10fec7018250b7703d51c255f3ba9b46d5c3d57441e188a978 01:23:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:23:11 Dload Upload Total Spent Left Speed 01:23:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13085 --:--:-- --:--:-- --:--:-- 13085 01:23:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4fa017fc9de146fcbeed42cd0739a9d7442eda14 [Pipeline] } 01:23:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:23:15 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives ] 01:23:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives 01:23:15 total 16 01:23:15 drwxr-xr-x 3 root root 4096 Dec 13 01:16 . 01:23:15 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 01:16 .. 01:23:15 drwxr-xr-x 2 root root 4096 Dec 13 01:16 cost 01:23:15 -rw-r--r-- 1 root root 86 Dec 13 01:16 cost.csv 01:23:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives 01:23:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives 01:23:15 total 16 01:23:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 01:16 . 01:23:15 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 01:16 .. 01:23:15 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 01:16 cost 01:23:15 -rw-r--r-- 1 jenkins jenkins 86 Dec 13 01:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:23:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:23:16 ---> package-listing.sh 01:23:16 ++ facter osfamily 01:23:16 ++ tr '[:upper:]' '[:lower:]' 01:23:17 + OS_FAMILY=debian 01:23:17 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-653 01:23:17 + START_PACKAGES=/tmp/packages_start.txt 01:23:17 + END_PACKAGES=/tmp/packages_end.txt 01:23:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:23:17 + PACKAGES=/tmp/packages_start.txt 01:23:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-653 ']' 01:23:17 + PACKAGES=/tmp/packages_end.txt 01:23:17 + case "${OS_FAMILY}" in 01:23:17 + dpkg -l 01:23:17 + grep '^ii' 01:23:17 + '[' -f /tmp/packages_start.txt ']' 01:23:17 + '[' -f /tmp/packages_end.txt ']' 01:23:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:23:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-653 ']' 01:23:17 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives/ 01:23:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-653/archives/ [Pipeline] echo 01:23:17 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/gexfoundry_device-mqtt-go_PR-653/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:23:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:18 prd-ubuntu20.04-docker-8c-8g-24938 does not seem to be running inside a container 01:23:18 $ 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/gexfoundry_device-mqtt-go_PR-653/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-653 -v /w/workspace/gexfoundry_device-mqtt-go_PR-653:/w/workspace/gexfoundry_device-mqtt-go_PR-653:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:23:18 $ docker top fe5afcdc60322fa372425bf5d6b5acdf77257f048bf428aca4d3609cfa947db3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:19 + touch /tmp/pre-build-complete [Pipeline] sh 01:23:19 + mkdir -p /var/log/sysstat [Pipeline] sh 01:23:19 + ls /var/log/sa-host 01:23:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:19 provisioning config files... 01:23:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-653@tmp/config16635519083816818701tmp [Pipeline] { [Pipeline] echo 01:23:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:23:20 ---> create-netrc.sh [Pipeline] } 01:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:23:20 ---> python-tools-install.sh [Pipeline] echo 01:23:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:23:21 ---> sudo-logs.sh 01:23:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:23:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:23:21 ---> job-cost.sh 01:23:21 lf-activate-venv: SKIPPING 01:23:21 DEBUG: total: 0.2199999988079071 01:23:21 INFO: Retrieving Stack Cost... 01:23:21 INFO: Retrieving Pricing Info for: v3-standard-8 01:23:22 INFO: Archiving Costs [Pipeline] echo 01:23:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:23:22 ---> logs-deploy.sh 01:23:22 lf-activate-venv: SKIPPING 01:23:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-653/1 01:23:22 INFO: archiving workspace using pattern(s): 01:23:23 Archives upload complete. 01:23:23 INFO: archiving logs to Nexus