Pull request #657 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce5ac62397d38792217847cd631996ba4e36b0c9+e5520233bf84df16304f7dd08ef94c536c7e2796 (4b8bbb01bf4a73ffefe50bbf3912c578411e53fa) 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-ssh17404913335415023262.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-ssh4200016585372824971.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-657/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-657/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3365217027886927624.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-657/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12320938997744455731.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-ssh4329009361750649699.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-657/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-657/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14509818080844396386.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26345 in /w/workspace/gexfoundry_device-mqtt-go_PR-657 [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-657 # 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/657/head:refs/remotes/origin/PR-657 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5520233bf84df16304f7dd08ef94c536c7e2796 into PR head commit ce5ac62397d38792217847cd631996ba4e36b0c9 Merge succeeded, producing ce5ac62397d38792217847cd631996ba4e36b0c9 Checking out Revision ce5ac62397d38792217847cd631996ba4e36b0c9 (PR-657) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:45:31 Timeout set to expire in 6 hr 0 min > git config core.sparsecheckout # timeout=10 > git checkout -f ce5ac62397d38792217847cd631996ba4e36b0c9 # 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 e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce5ac62397d38792217847cd631996ba4e36b0c9 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:45:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:45:32 ========================================================= 01:45:32 EdgeX Global Pipelines Version Info 01:45:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:45:32 ------------------- 01:45:32 stable info: 01:45:32 ------------------- 01:45:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:45:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:45:32 Message: update stable to v1.0.258 01:45:33 ------------------- 01:45:33 experimental info: 01:45:33 ------------------- 01:45:33 Commited By: **** collab-it+edgex@linuxfoundation.org 01:45:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:45:33 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:45:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-657 [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-657 [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-657 [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce5ac62397d38792217847cd631996ba4e36b0c9 [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce5ac62 [Pipeline] echo 01:45:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:36 provisioning config files... 01:45:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/config7522957964601097349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:36 ---> ****-login.sh 01:45:36 nexus3.edgexfoundry.org:10001 01:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:36 Configure a credential helper to remove this warning. See 01:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:36 01:45:36 Login Succeeded 01:45:37 nexus3.edgexfoundry.org:10002 01:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:37 Configure a credential helper to remove this warning. See 01:45:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:37 01:45:37 Login Succeeded 01:45:37 nexus3.edgexfoundry.org:10003 01:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:37 Configure a credential helper to remove this warning. See 01:45:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:37 01:45:37 Login Succeeded 01:45:37 nexus3.edgexfoundry.org:10004 01:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:37 Configure a credential helper to remove this warning. See 01:45:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:37 01:45:37 Login Succeeded 01:45:37 ****.io 01:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:37 Configure a credential helper to remove this warning. See 01:45:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:37 01:45:37 Login Succeeded 01:45:37 ---> ****-login.sh ends [Pipeline] } 01:45:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:45:38 + git rev-list -1 --merges ce5ac62397d38792217847cd631996ba4e36b0c9~1..ce5ac62397d38792217847cd631996ba4e36b0c9 [Pipeline] echo 01:45:38 -----------> git rev-list -1 --merges ce5ac62397d38792217847cd631996ba4e36b0c9~1..ce5ac62397d38792217847cd631996ba4e36b0c9 ce5ac62397d38792217847cd631996ba4e36b0c9 [false] [Pipeline] sh 01:45:38 + git log --format=format:%s -1 ce5ac62397d38792217847cd631996ba4e36b0c9 [Pipeline] echo 01:45:38 ========================================================= 01:45:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:45:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:39 + git log --format=format:%s -1 ce5ac62397d38792217847cd631996ba4e36b0c9 [Pipeline] echo 01:45:39 [semverPrep] GIT_COMMIT: ce5ac62397d38792217847cd631996ba4e36b0c9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:45:39 [semverPrep] This is not a build commit. [Pipeline] sh 01:45:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:39 + grep -v github /etc/ssh/ssh_known_hosts 01:45:39 + [ -e /tmp/ssh_known_hosts ] 01:45:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:45:39 + sudo tee -a /etc/ssh/ssh_known_hosts 01:45:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:45:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:40 01:45:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:40 0.1.4: Pulling from edgex-devops/py-git-semver 01:45:40 b85a868b505f: Pulling fs layer 01:45:40 e2be974225ed: Pulling fs layer 01:45:40 339a4e72a1f5: Pulling fs layer 01:45:40 988bab9f4d93: Pulling fs layer 01:45:40 1469e6f7b9e6: Pulling fs layer 01:45:40 eaf3925da568: Pulling fs layer 01:45:40 bab4dde63d76: Pulling fs layer 01:45:40 bde34c3a00c8: Pulling fs layer 01:45:40 b352a97aabf1: Pulling fs layer 01:45:40 4872d77fe225: Pulling fs layer 01:45:40 5851b861e8e6: Pulling fs layer 01:45:40 4872d77fe225: Waiting 01:45:40 bab4dde63d76: Waiting 01:45:40 bde34c3a00c8: Waiting 01:45:40 5851b861e8e6: Waiting 01:45:40 988bab9f4d93: Waiting 01:45:40 1469e6f7b9e6: Waiting 01:45:40 eaf3925da568: Waiting 01:45:40 e2be974225ed: Verifying Checksum 01:45:40 e2be974225ed: Download complete 01:45:40 988bab9f4d93: Verifying Checksum 01:45:40 988bab9f4d93: Download complete 01:45:40 1469e6f7b9e6: Verifying Checksum 01:45:40 1469e6f7b9e6: Download complete 01:45:41 339a4e72a1f5: Verifying Checksum 01:45:41 339a4e72a1f5: Download complete 01:45:41 eaf3925da568: Verifying Checksum 01:45:41 eaf3925da568: Download complete 01:45:41 bde34c3a00c8: Verifying Checksum 01:45:41 bde34c3a00c8: Download complete 01:45:41 b352a97aabf1: Verifying Checksum 01:45:41 b352a97aabf1: Download complete 01:45:41 4872d77fe225: Verifying Checksum 01:45:41 4872d77fe225: Download complete 01:45:41 5851b861e8e6: Verifying Checksum 01:45:41 5851b861e8e6: Download complete 01:45:41 b85a868b505f: Verifying Checksum 01:45:41 b85a868b505f: Download complete 01:45:41 bab4dde63d76: Verifying Checksum 01:45:41 bab4dde63d76: Download complete 01:45:42 b85a868b505f: Pull complete 01:45:42 e2be974225ed: Pull complete 01:45:43 339a4e72a1f5: Pull complete 01:45:43 988bab9f4d93: Pull complete 01:45:43 1469e6f7b9e6: Pull complete 01:45:43 eaf3925da568: Pull complete 01:45:45 bab4dde63d76: Pull complete 01:45:45 bde34c3a00c8: Pull complete 01:45:45 b352a97aabf1: Pull complete 01:45:45 4872d77fe225: Pull complete 01:45:45 5851b861e8e6: Pull complete 01:45:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:46 prd-ubuntu20.04-docker-8c-8g-26345 does not seem to be running inside a container 01:45:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-657 -v /w/workspace/gexfoundry_device-mqtt-go_PR-657:/w/workspace/gexfoundry_device-mqtt-go_PR-657:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:53 $ docker top f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 -eo pid,comm 01:45:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:45:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:53 [ssh-agent] Looking for ssh-agent implementation... 01:45:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:54 $ docker exec f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 ssh-agent 01:45:54 SSH_AUTH_SOCK=/tmp/ssh-0bb4Utu7cyDC/agent.33 01:45:54 SSH_AGENT_PID=39 01:45:54 Running ssh-add (command line suppressed) 01:45:54 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/private_key_5628893878318736422.key (/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/private_key_5628893878318736422.key) 01:45:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:54 + git tag --points-at HEAD [Pipeline] } 01:45:54 $ docker exec --env ******** --env ******** f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 ssh-agent -k 01:45:54 unset SSH_AUTH_SOCK; 01:45:54 unset SSH_AGENT_PID; 01:45:54 echo Agent pid 39 killed; 01:45:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:45:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:54 [ssh-agent] Looking for ssh-agent implementation... 01:45:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:55 $ docker exec f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 ssh-agent 01:45:55 SSH_AUTH_SOCK=/tmp/ssh-0kfFwUsuYHjI/agent.71 01:45:55 SSH_AGENT_PID=77 01:45:55 Running ssh-add (command line suppressed) 01:45:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/private_key_6412255557410237677.key (/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/private_key_6412255557410237677.key) 01:45:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:55 + git semver init 01:45:55 2023-12-29 01:45:55,832 [run_init] DEBUG init version:0.0.0 force:False 01:45:55 2023-12-29 01:45:55,833 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver 01:45:55 2023-12-29 01:45:55,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver 01:45:55 2023-12-29 01:45:55,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-657, universal_newlines=False, shell=None, istream=None) 01:45:57 2023-12-29 01:45:56,957 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-657/.git/info/exclude 01:45:57 2023-12-29 01:45:56,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver/PR-657 with force:False 01:45:57 2023-12-29 01:45:56,958 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver/PR-657 01:45:57 2023-12-29 01:45:56,962 [execute] INFO git cat-file --batch-check 01:45:57 2023-12-29 01:45:56,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver, universal_newlines=False, shell=None, istream=) 01:45:57 2023-12-29 01:45:56,969 [execute] INFO git cat-file --batch 01:45:57 2023-12-29 01:45:56,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver, universal_newlines=False, shell=None, istream=) 01:45:57 2023-12-29 01:45:56,974 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-657/.semver/PR-657 01:45:57 0.0.0 [Pipeline] } 01:45:57 $ docker exec --env ******** --env ******** f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 ssh-agent -k 01:45:57 unset SSH_AUTH_SOCK; 01:45:57 unset SSH_AGENT_PID; 01:45:57 echo Agent pid 77 killed; 01:45:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:57 + git semver [Pipeline] } 01:45:58 $ docker stop --time=1 f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 01:45:59 $ docker rm -f --volumes f8b2a72a9c9c38d876acde40e7eec0d71ff2ebf8530e4b6466baa82016069e57 [Pipeline] // withDockerContainer [Pipeline] sh 01:45:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:46:00 Stashed 1 file(s) [Pipeline] echo 01:46:00 [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:46:01 provisioning config files... 01:46:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/config12342774076503339837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:01 ---> ****-login.sh 01:46:01 nexus3.edgexfoundry.org:10001 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:01 Configure a credential helper to remove this warning. See 01:46:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:01 01:46:01 Login Succeeded 01:46:01 nexus3.edgexfoundry.org:10002 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:01 Configure a credential helper to remove this warning. See 01:46:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:01 01:46:01 Login Succeeded 01:46:01 nexus3.edgexfoundry.org:10003 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:01 Configure a credential helper to remove this warning. See 01:46:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:01 01:46:01 Login Succeeded 01:46:01 nexus3.edgexfoundry.org:10004 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:01 Configure a credential helper to remove this warning. See 01:46:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:01 01:46:01 Login Succeeded 01:46:01 ****.io 01:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:02 Configure a credential helper to remove this warning. See 01:46:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:02 01:46:02 Login Succeeded 01:46:02 ---> ****-login.sh ends [Pipeline] } 01:46:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:46:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:46:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:46:02 ========================================================= 01:46:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:46:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:03 + 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:46:03 Sending build context to Docker daemon 14.88MB 01:46:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:46:03 Step 2/12 : FROM ${BASE} AS builder 01:46:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:46:03 7264a8db6415: Pulling fs layer 01:46:03 c4d48a809fc2: Pulling fs layer 01:46:03 4f1c88b9dad5: Pulling fs layer 01:46:03 ad3a456e5733: Pulling fs layer 01:46:03 69c7f0334f64: Pulling fs layer 01:46:03 1f1c1a5573a3: Pulling fs layer 01:46:03 ce7588e14bc9: Pulling fs layer 01:46:03 b5e4710f87ac: Pulling fs layer 01:46:03 ad3a456e5733: Waiting 01:46:03 1f1c1a5573a3: Waiting 01:46:03 ce7588e14bc9: Waiting 01:46:03 c4d48a809fc2: Download complete 01:46:03 ad3a456e5733: Download complete 01:46:03 69c7f0334f64: Download complete 01:46:03 7264a8db6415: Verifying Checksum 01:46:03 7264a8db6415: Download complete 01:46:03 1f1c1a5573a3: Verifying Checksum 01:46:03 1f1c1a5573a3: Download complete 01:46:03 7264a8db6415: Pull complete 01:46:03 b5e4710f87ac: Verifying Checksum 01:46:03 b5e4710f87ac: Download complete 01:46:03 c4d48a809fc2: Pull complete 01:46:04 4f1c88b9dad5: Verifying Checksum 01:46:04 4f1c88b9dad5: Download complete 01:46:04 ce7588e14bc9: Verifying Checksum 01:46:04 ce7588e14bc9: Download complete 01:46:06 4f1c88b9dad5: Pull complete 01:46:07 ad3a456e5733: Pull complete 01:46:07 69c7f0334f64: Pull complete 01:46:07 1f1c1a5573a3: Pull complete 01:46:09 ce7588e14bc9: Pull complete 01:46:09 b5e4710f87ac: Pull complete 01:46:09 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:46:09 ---> 88b5674ff536 01:46:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:46:16 Still waiting to schedule task 01:46:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26343’ 01:46:16 ---> Running in ce524f6d2c75 01:46:16 Removing intermediate container ce524f6d2c75 01:46:16 ---> c1855b0b1d13 01:46:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:46:16 ---> Running in e2a81755e205 01:46:16 Removing intermediate container e2a81755e205 01:46:16 ---> 00cedb1e86f8 01:46:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:46:16 ---> Running in 6f5963d639ce 01:46:16 Removing intermediate container 6f5963d639ce 01:46:16 ---> 781853152881 01:46:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:46:16 ---> Running in d71c5e9f8581 01:46:16 Removing intermediate container d71c5e9f8581 01:46:16 ---> 0aad5e605c67 01:46:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:46:16 ---> Running in 1e1761acc589 01:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:46:16 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:46:16 (2/4) Installing libedit (20221030.3.1-r1) 01:46:16 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:46:16 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:46:16 Executing busybox-1.36.1-r5.trigger 01:46:16 OK: 268 MiB in 56 packages 01:46:17 Removing intermediate container 1e1761acc589 01:46:17 ---> 54275dcb431e 01:46:17 Step 8/12 : WORKDIR /device-mqtt-go 01:46:17 ---> Running in 4e119251f393 01:46:17 Removing intermediate container 4e119251f393 01:46:17 ---> cb196b628362 01:46:17 Step 9/12 : COPY go.mod vendor* ./ 01:46:17 ---> cdb869b38dc9 01:46:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:46:18 ---> Running in 20991dcb6f7c 01:47:14 Removing intermediate container 20991dcb6f7c 01:47:14 ---> 5bae3f13111b 01:47:14 Step 11/12 : COPY . . 01:47:14 ---> 6895c7bd4961 01:47:14 Step 12/12 : RUN $MAKE 01:47:14 ---> Running in 9c89f6552214 01:47:14 noop 01:47:14 Removing intermediate container 9c89f6552214 01:47:14 ---> 8987fe1cdbc2 01:47:14 Successfully built 8987fe1cdbc2 01:47:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:14 + docker inspect -f . ci-base-image-x86_64 01:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:15 prd-ubuntu20.04-docker-8c-8g-26345 does not seem to be running inside a container 01:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-657 -v /w/workspace/gexfoundry_device-mqtt-go_PR-657:/w/workspace/gexfoundry_device-mqtt-go_PR-657:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-657@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:47:17 $ docker top f068071c730bd8998f45426adbba86d4f73a4d61bffc8a263162c22edfd39a33 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:17 + go version 01:47:17 go version go1.21.0 linux/amd64 [Pipeline] } 01:47:17 $ docker stop --time=1 f068071c730bd8998f45426adbba86d4f73a4d61bffc8a263162c22edfd39a33 01:47:19 $ docker rm -f --volumes f068071c730bd8998f45426adbba86d4f73a4d61bffc8a263162c22edfd39a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:20 + docker inspect -f . ci-base-image-x86_64 01:47:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:20 prd-ubuntu20.04-docker-8c-8g-26345 does not seem to be running inside a container 01:47:20 $ 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-657 -v /w/workspace/gexfoundry_device-mqtt-go_PR-657:/w/workspace/gexfoundry_device-mqtt-go_PR-657:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-657@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:47:22 $ docker top 381a038f414e9c8d522cb91f4de176ad72509205668ab7ebfc7f620e7e638f3c -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-657 [Pipeline] fileExists [Pipeline] sh 01:47:23 + make test 01:47:23 go test ./... -coverprofile=coverage.out ./... 01:47:31 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:47:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:47:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:47:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements 01:47:48 go vet ./... 01:47:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:47:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:47:52 ./bin/test-attribution-txt.sh [Pipeline] echo 01:47:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:47:52 $ docker stop --time=1 381a038f414e9c8d522cb91f4de176ad72509205668ab7ebfc7f620e7e638f3c 01:47:58 $ docker rm -f --volumes 381a038f414e9c8d522cb91f4de176ad72509205668ab7ebfc7f620e7e638f3c [Pipeline] // withDockerContainer [Pipeline] sh 01:47:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:47:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:48:00 + ls -al . 01:48:00 total 184 01:48:00 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 01:47 . 01:48:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 01:45 .. 01:48:00 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 01:45 .dockerignore 01:48:00 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 01:47 .git 01:48:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 01:45 .github 01:48:00 -rw-rw-r-- 1 jenkins jenkins 264 Dec 29 01:45 .gitignore 01:48:00 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 01:45 .golangci.yml 01:48:00 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 01:45 .semver 01:48:00 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 29 01:45 Attribution.txt 01:48:00 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 29 01:45 CHANGELOG.md 01:48:00 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 29 01:45 Dockerfile 01:48:00 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 01:45 GOVERNANCE.md 01:48:00 -rw-rw-r-- 1 jenkins jenkins 657 Dec 29 01:45 Jenkinsfile 01:48:00 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 01:45 LICENSE 01:48:00 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 29 01:45 Makefile 01:48:00 -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 01:45 OWNERS.md 01:48:00 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 29 01:45 README.md 01:48:00 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 01:46 VERSION 01:48:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 01:45 bin 01:48:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 01:45 cmd 01:48:00 -rw-r--r-- 1 jenkins jenkins 18506 Dec 29 01:47 coverage.out 01:48:00 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 29 01:45 go.mod 01:48:00 -rw-rw-r-- 1 jenkins jenkins 34593 Dec 29 01:45 go.sum 01:48:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 01:45 internal 01:48:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 01:45 mock 01:48:00 -rw-rw-r-- 1 jenkins jenkins 227 Dec 29 01:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:00 + 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=ce5ac62397d38792217847cd631996ba4e36b0c9 --label arch=amd64 --label version=0.0.0 . 01:48:00 Sending build context to Docker daemon 14.9MB 01:48:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:48:00 Step 2/25 : FROM ${BASE} AS builder 01:48:00 ---> 8987fe1cdbc2 01:48:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:48:01 ---> Running in 38640befff03 01:48:01 Removing intermediate container 38640befff03 01:48:01 ---> d9c59f2dcdc1 01:48:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:48:01 ---> Running in eebc23e95b18 01:48:01 Removing intermediate container eebc23e95b18 01:48:01 ---> 44cbc8ce9e79 01:48:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:48:01 ---> Running in aa1ecc2579cf 01:48:01 Removing intermediate container aa1ecc2579cf 01:48:01 ---> 276a4f41d066 01:48:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:48:01 ---> Running in a276ee13a897 01:48:02 Removing intermediate container a276ee13a897 01:48:02 ---> 04a1a79bee66 01:48:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:02 ---> Running in d05af6c19b10 01:48:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:02 OK: 268 MiB in 56 packages 01:48:03 Removing intermediate container d05af6c19b10 01:48:03 ---> ee6f84fd0887 01:48:03 Step 8/25 : WORKDIR /device-mqtt-go 01:48:03 ---> Running in 3f76781a068f 01:48:03 Removing intermediate container 3f76781a068f 01:48:03 ---> 44596a26791a 01:48:03 Step 9/25 : COPY go.mod vendor* ./ 01:48:03 ---> a3a266847819 01:48:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:03 ---> Running in 24c10392a946 01:48:04 Removing intermediate container 24c10392a946 01:48:04 ---> f584727e93eb 01:48:04 Step 11/25 : COPY . . 01:48:04 ---> b1887f3aa24b 01:48:04 Step 12/25 : RUN $MAKE 01:48:05 ---> Running in dc1b1f9a5a68 01:48:05 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.5" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:48:27 Removing intermediate container dc1b1f9a5a68 01:48:27 ---> 41257e5eaaff 01:48:27 Step 13/25 : FROM alpine:3.18 01:48:27 3.18: Pulling from library/alpine 01:48:27 c926b61bad3b: Pulling fs layer 01:48:27 c926b61bad3b: Verifying Checksum 01:48:27 c926b61bad3b: Download complete 01:48:27 c926b61bad3b: Pull complete 01:48:27 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:48:27 Status: Downloaded newer image for alpine:3.18 01:48:27 ---> b541f2080109 01:48:27 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:48:27 ---> Running in 9f4a826e8c3d 01:48:28 Removing intermediate container 9f4a826e8c3d 01:48:28 ---> 898d7663a40b 01:48:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:48:28 ---> Running in f8873c4024a6 01:48:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:29 (1/1) Installing dumb-init (1.2.5-r2) 01:48:29 Executing busybox-1.36.1-r5.trigger 01:48:29 OK: 7 MiB in 16 packages 01:48:29 Removing intermediate container f8873c4024a6 01:48:29 ---> f19b9c907cf3 01:48:29 Step 16/25 : RUN apk --no-cache upgrade 01:48:29 ---> Running in 9a2617df1eb6 01:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:29 OK: 7 MiB in 16 packages 01:48:30 Removing intermediate container 9a2617df1eb6 01:48:30 ---> 6e3987b00808 01:48:30 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:48:31 ---> 1728c0e36c5f 01:48:31 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:48:31 ---> d1655d955e8f 01:48:31 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:48:31 ---> e5203e61d44c 01:48:31 Step 20/25 : EXPOSE 59982 01:48:31 ---> Running in b2f4720cbe6f 01:48:31 Removing intermediate container b2f4720cbe6f 01:48:31 ---> 5bf95229a2ea 01:48:31 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:48:31 ---> Running in 366b7ffc0572 01:48:32 Removing intermediate container 366b7ffc0572 01:48:32 ---> 95b3ed992c4f 01:48:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:48:32 ---> Running in 423fda6c7b78 01:48:32 Removing intermediate container 423fda6c7b78 01:48:32 ---> 99e75d2e7c3a 01:48:32 Step 23/25 : LABEL arch=amd64 01:48:32 ---> Running in 273b81ad20b7 01:48:32 Removing intermediate container 273b81ad20b7 01:48:32 ---> 5f1cd0e05826 01:48:32 Step 24/25 : LABEL git_sha=ce5ac62397d38792217847cd631996ba4e36b0c9 01:48:32 ---> Running in b2f8bc559925 01:48:32 Removing intermediate container b2f8bc559925 01:48:32 ---> 89a35cd91b14 01:48:32 Step 25/25 : LABEL version=0.0.0 01:48:32 ---> Running in 2f0f64916cc0 01:48:32 Removing intermediate container 2f0f64916cc0 01:48:32 ---> 4d5a2ce91d1f 01:48:32 [Warning] One or more build-args [ARCH] were not consumed 01:48:32 Successfully built 4d5a2ce91d1f 01:48:32 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:48:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:33 01:48:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:34 latest: Pulling from edgex-lftools-log-publisher 01:48:34 5eb5b503b376: Pulling fs layer 01:48:34 5c69ac0246d0: Pulling fs layer 01:48:34 ec43610c2a17: Pulling fs layer 01:48:34 3a2ae6a8a46f: Pulling fs layer 01:48:34 33b1e0a273af: Pulling fs layer 01:48:34 5d3b04190fa2: Pulling fs layer 01:48:34 2f39f015ded8: Pulling fs layer 01:48:34 5d3b04190fa2: Waiting 01:48:34 33b1e0a273af: Waiting 01:48:34 3a2ae6a8a46f: Waiting 01:48:34 2f39f015ded8: Waiting 01:48:34 5c69ac0246d0: Verifying Checksum 01:48:34 5c69ac0246d0: Download complete 01:48:34 3a2ae6a8a46f: Verifying Checksum 01:48:34 3a2ae6a8a46f: Download complete 01:48:34 33b1e0a273af: Verifying Checksum 01:48:34 33b1e0a273af: Download complete 01:48:34 ec43610c2a17: Verifying Checksum 01:48:34 ec43610c2a17: Download complete 01:48:34 5d3b04190fa2: Verifying Checksum 01:48:34 5d3b04190fa2: Download complete 01:48:34 5eb5b503b376: Download complete 01:48:35 2f39f015ded8: Download complete 01:48:35 5eb5b503b376: Pull complete 01:48:35 5c69ac0246d0: Pull complete 01:48:36 ec43610c2a17: Pull complete 01:48:36 3a2ae6a8a46f: Pull complete 01:48:36 33b1e0a273af: Pull complete 01:48:36 5d3b04190fa2: Pull complete 01:48:40 2f39f015ded8: Pull complete 01:48:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:48:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:40 prd-ubuntu20.04-docker-8c-8g-26345 does not seem to be running inside a container 01:48:40 $ 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-657 -v /w/workspace/gexfoundry_device-mqtt-go_PR-657:/w/workspace/gexfoundry_device-mqtt-go_PR-657:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-657@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:48:48 $ docker top 4cfa593732579a620182b6179a2ae62e2fc4e30da8eae6fb76ea666a2c38470e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:48 ---> job-cost.sh 01:48:48 lf-activate-venv: SKIPPING 01:48:48 INFO: No Stack... 01:48:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:49 INFO: Archiving Costs [Pipeline] sh 01:48:49 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives/cost.csv 01:48:49 + cut -d, -f6 [Pipeline] lock 01:48:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] 01:48:49 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] did not exist. Created. 01:48:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:50 + echo total: 0.2199999988079071 [Pipeline] stash 01:48:50 Stashed 1 file(s) [Pipeline] } 01:48:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:50 $ docker stop --time=1 4cfa593732579a620182b6179a2ae62e2fc4e30da8eae6fb76ea666a2c38470e 01:48:51 $ docker rm -f --volumes 4cfa593732579a620182b6179a2ae62e2fc4e30da8eae6fb76ea666a2c38470e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:49:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26347 in /w/workspace/gexfoundry_device-mqtt-go_PR-657 [Pipeline] { [Pipeline] ws 01:49:52 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:49:52 The recommended git tool is: git 01:49:59 using credential edgex-jenkins-ssh 01:49:59 Cloning the remote Git repository 01:50:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:50:00 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:50:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:50:00 > git --version # timeout=10 01:50:00 > git --version # 'git version 2.25.1' 01:50:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:50:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:08 Merging remotes/origin/main commit e5520233bf84df16304f7dd08ef94c536c7e2796 into PR head commit ce5ac62397d38792217847cd631996ba4e36b0c9 01:50:08 Merge succeeded, producing ce5ac62397d38792217847cd631996ba4e36b0c9 01:50:08 Checking out Revision ce5ac62397d38792217847cd631996ba4e36b0c9 (PR-657) 01:50:09 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:50:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:50:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:50:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/657/head:refs/remotes/origin/PR-657 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:50:08 > git config core.sparsecheckout # timeout=10 01:50:08 > git checkout -f ce5ac62397d38792217847cd631996ba4e36b0c9 # timeout=10 01:50:08 > git remote # timeout=10 01:50:08 > git config --get remote.origin.url # timeout=10 01:50:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:08 > git merge e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 01:50:08 > git rev-parse HEAD^{commit} # timeout=10 01:50:08 > git config core.sparsecheckout # timeout=10 01:50:08 > git checkout -f ce5ac62397d38792217847cd631996ba4e36b0c9 # timeout=10 01:50:09 > git --version # timeout=10 01:50:09 > git --version # 'git version 2.25.1' 01:50:09 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:50:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:50:10 Dload Upload Total Spent Left Speed 01:50:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98310 0 --:--:-- --:--:-- --:--:-- 99078 [Pipeline] sh 01:50:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:50:11 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 01:50:11 01:50:11 { 01:50:11 "registry-mirrors": [ 01:50:11 "https://nexus3.edgexfoundry.org:10001" 01:50:11 ], 01:50:11 "bip": "10.250.0.254/24", 01:50:11 "hosts": [ 01:50:11 "tcp://0.0.0.0:5555", 01:50:11 "unix:///var/run/docker.sock" 01:50:11 ], 01:50:11 "mtu": 1458, 01:50:11 "selinux-enabled": true, 01:50:11 "seccomp-profile": "/etc/docker/seccomp.json" 01:50:11 } [Pipeline] sh 01:50:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:50:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:30 provisioning config files... 01:50:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6764360560444102485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:30 ---> ****-login.sh 01:50:30 nexus3.edgexfoundry.org:10001 01:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:31 Configure a credential helper to remove this warning. See 01:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:31 01:50:31 Login Succeeded 01:50:31 nexus3.edgexfoundry.org:10002 01:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:31 Configure a credential helper to remove this warning. See 01:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:31 01:50:31 Login Succeeded 01:50:31 nexus3.edgexfoundry.org:10003 01:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:32 Configure a credential helper to remove this warning. See 01:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:32 01:50:32 Login Succeeded 01:50:32 nexus3.edgexfoundry.org:10004 01:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:32 Configure a credential helper to remove this warning. See 01:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:32 01:50:32 Login Succeeded 01:50:32 ****.io 01:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:32 Configure a credential helper to remove this warning. See 01:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:32 01:50:32 Login Succeeded 01:50:32 ---> ****-login.sh ends [Pipeline] } 01:50:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:50:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:50:33 ========================================================= 01:50:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:50:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:34 + 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:50:38 #0 building with "default" instance using docker driver 01:50:38 01:50:38 #1 [internal] load .dockerignore 01:50:38 #1 transferring context: 182B 0.0s done 01:50:38 #1 DONE 0.1s 01:50:38 01:50:38 #2 [internal] load build definition from Dockerfile 01:50:38 #2 transferring dockerfile: 1.84kB done 01:50:38 #2 DONE 0.1s 01:50:38 01:50:38 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:50:38 #3 DONE 0.2s 01:50:38 01:50:38 #4 [internal] load build context 01:50:38 #4 DONE 0.0s 01:50:38 01:50:38 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:50:38 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 01:50:38 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 01:50:38 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 01:50:38 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 01:50:38 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 01:50:38 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 01:50:38 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 01:50:38 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 01:50:38 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.99MB / 63.99MB 0.3s 01:50:38 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 01:50:38 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 01:50:38 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 01:50:38 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 01:50:38 #5 ... 01:50:38 01:50:38 #4 [internal] load build context 01:50:38 #4 transferring context: 7.43MB 0.3s done 01:50:38 #4 DONE 0.4s 01:50:38 01:50:38 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:50:38 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.4s 01:50:38 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 01:50:38 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 01:50:38 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.05MB / 97.63MB 0.5s 01:50:38 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.67MB / 11.40MB 0.5s 01:50:38 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 01:50:38 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.11MB / 63.99MB 0.7s 01:50:38 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.7s 01:50:38 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 01:50:38 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 01:50:38 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 21.09MB / 97.63MB 0.8s 01:50:39 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s 01:50:39 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 01:50:39 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.23MB / 97.63MB 1.0s 01:50:39 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 01:50:39 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 1.2s 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 39.85MB / 97.63MB 1.2s 01:50:39 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.3s 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 45.36MB / 97.63MB 1.3s 01:50:39 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.4s 01:50:39 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.5s 01:50:39 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.41MB / 97.63MB 1.6s 01:50:39 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 1.8s 01:50:40 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.07MB / 97.63MB 1.9s 01:50:40 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.96MB / 97.63MB 2.0s 01:50:40 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.44MB / 97.63MB 2.1s 01:50:40 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.2s 01:50:40 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 01:50:45 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 01:50:51 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 01:50:56 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.6s done 01:50:57 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 01:50:57 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 01:50:57 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 01:50:57 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 01:51:03 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 01:51:05 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 01:51:06 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 01:51:08 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 01:51:08 #5 DONE 29.8s 01:51:08 01:51:08 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:51:08 #6 0.689 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:51:09 #6 1.080 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:51:10 #6 2.212 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:51:10 #6 2.243 (2/4) Installing libedit (20221030.3.1-r1) 01:51:10 #6 2.296 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:51:10 #6 2.364 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:51:10 #6 2.397 Executing busybox-1.36.1-r5.trigger 01:51:10 #6 2.433 OK: 271 MiB in 56 packages 01:51:12 #6 DONE 4.3s 01:51:12 01:51:12 #7 [builder 3/7] WORKDIR /device-mqtt-go 01:51:12 #7 DONE 0.1s 01:51:12 01:51:12 #8 [builder 4/7] COPY go.mod vendor* ./ 01:51:12 #8 DONE 0.1s 01:51:12 01:51:12 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:39 #9 DONE 23.6s 01:51:39 01:51:39 #10 [builder 6/7] COPY . . 01:51:39 #10 DONE 0.3s 01:51:39 01:51:39 #11 [builder 7/7] RUN echo noop 01:51:39 #11 0.613 noop 01:51:39 #11 DONE 0.7s 01:51:39 01:51:39 #12 exporting to image 01:51:39 #12 exporting layers 01:52:05 #12 exporting layers 25.2s done 01:52:05 #12 writing image sha256:5484d9040393228585425151c5368e992e501c91291780e34d06e1c539383328 done 01:52:05 #12 naming to docker.io/library/ci-base-image-arm64 done 01:52:05 #12 DONE 25.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:06 + docker inspect -f . ci-base-image-arm64 01:52:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:06 prd-ubuntu20.04-docker-arm64-4c-16g-26347 does not seem to be running inside a container 01:52:06 $ 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:52:07 $ docker top ea1cd30209ecfeabc433e5a30c4bbd21e0393716548434b153e96be3e1a5794b -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:08 + go version 01:52:08 go version go1.21.0 linux/arm64 [Pipeline] } 01:52:08 $ docker stop --time=1 ea1cd30209ecfeabc433e5a30c4bbd21e0393716548434b153e96be3e1a5794b 01:52:10 $ docker rm -f --volumes ea1cd30209ecfeabc433e5a30c4bbd21e0393716548434b153e96be3e1a5794b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:13 + docker inspect -f . ci-base-image-arm64 01:52:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:13 prd-ubuntu20.04-docker-arm64-4c-16g-26347 does not seem to be running inside a container 01:52:13 $ 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:52:16 $ docker top 701eb4f0e5bc3114265b7bb6fbcf8a8e4a44f4cc7d3633d1357d278ba62da92b -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:17 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:52:17 + make test 01:52:17 go test ./... -coverprofile=coverage.out ./... 01:52:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:53:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:53:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:53:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.8% of statements 01:53:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:53:18 go vet ./... 01:53:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:53:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:53:26 ./bin/test-attribution-txt.sh [Pipeline] echo 01:53:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:53:27 $ docker stop --time=1 701eb4f0e5bc3114265b7bb6fbcf8a8e4a44f4cc7d3633d1357d278ba62da92b 01:53:28 $ docker rm -f --volumes 701eb4f0e5bc3114265b7bb6fbcf8a8e4a44f4cc7d3633d1357d278ba62da92b [Pipeline] // withDockerContainer [Pipeline] sh 01:53:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:53:30 Warning: overwriting stash ‘coverage-report’ 01:53:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:53:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:53:31 + ls -al . 01:53:31 total 180 01:53:31 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 01:52 . 01:53:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 01:50 .. 01:53:31 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 01:50 .dockerignore 01:53:31 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 01:50 .git 01:53:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 01:50 .github 01:53:31 -rw-rw-r-- 1 jenkins jenkins 264 Dec 29 01:50 .gitignore 01:53:31 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 01:50 .golangci.yml 01:53:31 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 29 01:50 Attribution.txt 01:53:31 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 29 01:50 CHANGELOG.md 01:53:31 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 29 01:50 Dockerfile 01:53:31 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 01:50 GOVERNANCE.md 01:53:31 -rw-rw-r-- 1 jenkins jenkins 657 Dec 29 01:50 Jenkinsfile 01:53:31 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 01:50 LICENSE 01:53:31 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 29 01:50 Makefile 01:53:31 -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 01:50 OWNERS.md 01:53:31 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 29 01:50 README.md 01:53:31 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 01:46 VERSION 01:53:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 01:50 bin 01:53:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 01:50 cmd 01:53:31 -rw-r--r-- 1 jenkins jenkins 18506 Dec 29 01:53 coverage.out 01:53:31 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 29 01:50 go.mod 01:53:31 -rw-rw-r-- 1 jenkins jenkins 34593 Dec 29 01:50 go.sum 01:53:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 01:50 internal 01:53:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 01:50 mock 01:53:31 -rw-rw-r-- 1 jenkins jenkins 227 Dec 29 01:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:32 + 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=ce5ac62397d38792217847cd631996ba4e36b0c9 --label arch=arm64 --label version=0.0.0 . 01:53:32 #0 building with "default" instance using docker driver 01:53:32 01:53:32 #1 [internal] load .dockerignore 01:53:32 #1 transferring context: 33B 01:53:32 #1 transferring context: 182B done 01:53:32 #1 DONE 0.0s 01:53:32 01:53:32 #2 [internal] load build definition from Dockerfile 01:53:32 #2 transferring dockerfile: 1.84kB done 01:53:32 #2 DONE 0.0s 01:53:32 01:53:32 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 01:53:32 #3 DONE 0.0s 01:53:32 01:53:32 #4 [internal] load metadata for docker.io/library/alpine:3.18 01:53:33 #4 DONE 0.2s 01:53:33 01:53:33 #5 [internal] load build context 01:53:33 #5 transferring context: 26.28kB 0.0s done 01:53:33 #5 DONE 0.1s 01:53:33 01:53:33 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:53:33 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 01:53:33 #6 ... 01:53:33 01:53:33 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 01:53:33 #7 DONE 0.2s 01:53:33 01:53:33 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:53:33 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 01:53:33 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 01:53:33 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 01:53:33 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 01:53:33 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 01:53:34 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 01:53:34 #6 DONE 0.8s 01:53:34 01:53:34 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:53:34 #8 0.641 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:53:34 #8 1.022 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:53:35 #8 ... 01:53:35 01:53:35 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:53:35 #9 0.669 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:53:35 #9 1.262 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:53:35 #9 2.412 OK: 271 MiB in 56 packages 01:53:35 #9 DONE 2.7s 01:53:36 01:53:36 #10 [builder 3/7] WORKDIR /device-mqtt-go 01:53:36 #10 DONE 0.1s 01:53:36 01:53:36 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:53:36 #8 2.116 (1/1) Installing dumb-init (1.2.5-r2) 01:53:36 #8 2.142 Executing busybox-1.36.1-r5.trigger 01:53:36 #8 2.184 OK: 8 MiB in 16 packages 01:53:36 #8 ... 01:53:36 01:53:36 #11 [builder 4/7] COPY go.mod vendor* ./ 01:53:36 #11 DONE 0.2s 01:53:36 01:53:36 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:53:36 #8 DONE 2.5s 01:53:36 01:53:36 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:53:37 #12 0.890 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:53:37 #12 1.241 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:53:38 #12 2.128 OK: 8 MiB in 16 packages 01:53:42 #12 DONE 5.3s 01:53:42 01:53:42 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:42 #13 DONE 5.4s 01:53:42 01:53:42 #14 [builder 6/7] COPY . . 01:53:42 #14 DONE 0.3s 01:53:42 01:53:42 #15 [builder 7/7] RUN make build 01:53:42 #15 0.606 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.5" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:54:50 #15 DONE 60.1s 01:54:50 01:54:50 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 01:54:50 #16 DONE 0.3s 01:54:50 01:54:50 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 01:54:50 #17 DONE 0.1s 01:54:50 01:54:50 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 01:54:50 #18 DONE 0.1s 01:54:50 01:54:50 #19 exporting to image 01:54:50 #19 exporting layers 01:54:50 #19 exporting layers 0.4s done 01:54:50 #19 writing image sha256:76b4268d8b5848583bc1741fab05dd364e2acf37fc263d18a0a90eec7c548911 done 01:54:50 #19 naming to docker.io/library/device-mqtt-arm64 done 01:54:50 #19 DONE 0.4s [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:54:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:54:51 01:54:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:54:52 arm64: Pulling from edgex-lftools-log-publisher 01:54:52 8998bd30e6a1: Pulling fs layer 01:54:52 04944245beec: Pulling fs layer 01:54:52 699f458cf7ca: Pulling fs layer 01:54:52 765212b225bb: Pulling fs layer 01:54:52 f23df028b6ca: Pulling fs layer 01:54:52 d65c8cfc05b1: Pulling fs layer 01:54:52 2437ff75d9bd: Pulling fs layer 01:54:52 765212b225bb: Waiting 01:54:52 f23df028b6ca: Waiting 01:54:52 d65c8cfc05b1: Waiting 01:54:52 2437ff75d9bd: Waiting 01:54:52 04944245beec: Verifying Checksum 01:54:52 765212b225bb: Verifying Checksum 01:54:52 765212b225bb: Download complete 01:54:52 f23df028b6ca: Download complete 01:54:52 d65c8cfc05b1: Download complete 01:54:52 699f458cf7ca: Verifying Checksum 01:54:52 699f458cf7ca: Download complete 01:54:53 8998bd30e6a1: Verifying Checksum 01:54:53 8998bd30e6a1: Download complete 01:54:55 2437ff75d9bd: Verifying Checksum 01:54:55 2437ff75d9bd: Download complete 01:54:59 8998bd30e6a1: Pull complete 01:55:00 04944245beec: Pull complete 01:55:01 699f458cf7ca: Pull complete 01:55:01 765212b225bb: Pull complete 01:55:02 f23df028b6ca: Pull complete 01:55:02 d65c8cfc05b1: Pull complete 01:55:29 2437ff75d9bd: Pull complete 01:55:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:30 prd-ubuntu20.04-docker-arm64-4c-16g-26347 does not seem to be running inside a container 01:55:30 $ 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:55:31 $ docker top 5b833dd46a5551c7e899818203396b8362184b95c3b54edf07da4aa6afecd4d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:31 ---> job-cost.sh 01:55:31 lf-activate-venv: SKIPPING 01:55:31 INFO: No Stack... 01:55:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:55:32 INFO: Archiving Costs [Pipeline] sh 01:55:33 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:55:33 + cut -d, -f6 [Pipeline] lock 01:55:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] 01:55:33 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] did not exist. Created. 01:55:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:34 /w/workspace/device-mqtt-go/1@tmp/durable-01fe7fbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:34 + echo total: 0.2199999988079071 [Pipeline] stash 01:55:34 Warning: overwriting stash ‘stack-cost’ 01:55:34 Stashed 1 file(s) [Pipeline] } 01:55:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-657-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:55:34 $ docker stop --time=1 5b833dd46a5551c7e899818203396b8362184b95c3b54edf07da4aa6afecd4d9 01:55:37 $ docker rm -f --volumes 5b833dd46a5551c7e899818203396b8362184b95c3b54edf07da4aa6afecd4d9 [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:55:39 provisioning config files... 01:55:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/config6925807457772846444tmp [Pipeline] { [Pipeline] sh 01:55:40 + set +x 01:55:40 + curl -s https://codecov.io/bash 01:55:40 + bash -s -- 01:55:40 01:55:40 _____ _ 01:55:40 / ____| | | 01:55:40 | | ___ __| | ___ ___ _____ __ 01:55:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:40 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:40 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:40 Bash-1.0.6 01:55:40 01:55:40 01:55:40 ==> git version 2.25.1 found 01:55:40 ==> 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:55:40 Release-Date: 2020-01-08 01:55:40 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:55:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:55:40 ==> Jenkins CI detected. 01:55:40 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-657 01:55:40 project root: . 01:55:40 --> token set from env 01:55:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:40 ==> Running gcov in . (disable via -X gcov) 01:55:40 ==> Python coveragepy not found 01:55:40 ==> Searching for coverage reports in: 01:55:40 + . 01:55:40 -> Found 1 reports 01:55:40 ==> Detecting git/mercurial file structure 01:55:40 ==> Reading reports 01:55:40 + ./coverage.out bytes=18506 01:55:40 ==> Appending adjustments 01:55:40 https://docs.codecov.io/docs/fixing-reports 01:55:40 + Found adjustments 01:55:40 ==> Gzipping contents 01:55:40 4.0K /tmp/codecov.I7PMs1.gz 01:55:40 ==> Uploading reports 01:55:40 url: https://codecov.io 01:55:40 query: branch=PR-657&commit=ce5ac62397d38792217847cd631996ba4e36b0c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-657%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=657&job=&cmd_args= 01:55:40 -> Pinging Codecov 01:55:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-657&commit=ce5ac62397d38792217847cd631996ba4e36b0c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-657%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=657&job=&cmd_args= 01:55:41 -> Uploading to 01:55:41 https://storage.googleapis.com/codecov/v4/raw/2023-12-29/7D719EC7BBE17E464838252E33014C33/ce5ac62397d38792217847cd631996ba4e36b0c9/a8e87b7c-5e8b-4687-b47f-715c5d0f3a52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T015540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18ba6f9f5f5c2bb4f4653f911c8e6c43bd9c8020df6af7396d860347272031cc 01:55:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:41 Dload Upload Total Spent Left Speed 01:55:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13256 --:--:-- --:--:-- --:--:-- 13314 01:55:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ce5ac62397d38792217847cd631996ba4e36b0c9 [Pipeline] } 01:55:41 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:55:44 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives ] 01:55:44 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives 01:55:44 total 16 01:55:44 drwxr-xr-x 3 root root 4096 Dec 29 01:48 . 01:55:44 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 01:48 .. 01:55:44 drwxr-xr-x 2 root root 4096 Dec 29 01:48 cost 01:55:44 -rw-r--r-- 1 root root 86 Dec 29 01:48 cost.csv 01:55:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives 01:55:44 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives 01:55:44 total 16 01:55:44 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 01:48 . 01:55:44 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 01:48 .. 01:55:44 drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 01:48 cost 01:55:44 -rw-r--r-- 1 jenkins jenkins 86 Dec 29 01:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:55:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:55:46 ---> package-listing.sh 01:55:46 ++ facter osfamily 01:55:46 ++ tr '[:upper:]' '[:lower:]' 01:55:46 + OS_FAMILY=debian 01:55:46 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-657 01:55:46 + START_PACKAGES=/tmp/packages_start.txt 01:55:46 + END_PACKAGES=/tmp/packages_end.txt 01:55:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:55:46 + PACKAGES=/tmp/packages_start.txt 01:55:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-657 ']' 01:55:46 + PACKAGES=/tmp/packages_end.txt 01:55:46 + case "${OS_FAMILY}" in 01:55:46 + dpkg -l 01:55:46 + grep '^ii' 01:55:46 + '[' -f /tmp/packages_start.txt ']' 01:55:46 + '[' -f /tmp/packages_end.txt ']' 01:55:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:55:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-657 ']' 01:55:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives/ 01:55:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-657/archives/ [Pipeline] echo 01:55:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-657/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:55:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:47 prd-ubuntu20.04-docker-8c-8g-26345 does not seem to be running inside a container 01:55:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-657/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-657 -v /w/workspace/gexfoundry_device-mqtt-go_PR-657:/w/workspace/gexfoundry_device-mqtt-go_PR-657:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-657@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:55:51 $ docker top e0bc9c27c832d6350ecfb5fb902692f7c6f9cfddf59262bda3bd992fc8a49622 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:51 + touch /tmp/pre-build-complete [Pipeline] sh 01:55:52 + mkdir -p /var/log/sysstat [Pipeline] sh 01:55:52 + ls /var/log/sa-host 01:55:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:52 provisioning config files... 01:55:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-657@tmp/config637373411395064452tmp [Pipeline] { [Pipeline] echo 01:55:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:55:53 ---> create-netrc.sh [Pipeline] } 01:55:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:55:53 ---> python-tools-install.sh [Pipeline] echo 01:55:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:55:54 ---> sudo-logs.sh 01:55:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:55:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:55:54 ---> job-cost.sh 01:55:54 lf-activate-venv: SKIPPING 01:55:54 DEBUG: total: 0.2199999988079071 01:55:54 INFO: Retrieving Stack Cost... 01:55:55 INFO: Retrieving Pricing Info for: v3-standard-8 01:55:55 INFO: Archiving Costs [Pipeline] echo 01:55:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:55:55 ---> logs-deploy.sh 01:55:55 lf-activate-venv: SKIPPING 01:55:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-657/1 01:55:55 INFO: archiving workspace using pattern(s): 01:55:56 Archives upload complete. 01:55:57 INFO: archiving logs to Nexus 01:55:58 ---> uname -a: 01:55:58 Linux prd-ubuntu20-04-docker-8c-8g-26345 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:55:58 01:55:58 01:55:58 ---> lscpu: 01:55:58 Architecture: x86_64 01:55:58 CPU op-mode(s): 32-bit, 64-bit 01:55:58 Byte Order: Little Endian 01:55:58 Address sizes: 40 bits physical, 48 bits virtual 01:55:58 CPU(s): 8 01:55:58 On-line CPU(s) list: 0-7 01:55:58 Thread(s) per core: 1 01:55:58 Core(s) per socket: 1 01:55:58 Socket(s): 8 01:55:58 NUMA node(s): 1 01:55:58 Vendor ID: AuthenticAMD 01:55:58 CPU family: 23 01:55:58 Model: 49 01:55:58 Model name: AMD EPYC-Rome Processor 01:55:58 Stepping: 0 01:55:58 CPU MHz: 2800.000 01:55:58 BogoMIPS: 5600.00 01:55:58 Virtualization: AMD-V 01:55:58 Hypervisor vendor: KVM 01:55:58 Virtualization type: full 01:55:58 L1d cache: 256 KiB 01:55:58 L1i cache: 256 KiB 01:55:58 L2 cache: 4 MiB 01:55:58 L3 cache: 128 MiB 01:55:58 NUMA node0 CPU(s): 0-7 01:55:58 Vulnerability Itlb multihit: Not affected 01:55:58 Vulnerability L1tf: Not affected 01:55:58 Vulnerability Mds: Not affected 01:55:58 Vulnerability Meltdown: Not affected 01:55:58 Vulnerability Mmio stale data: Not affected 01:55:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:55:58 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:55:58 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:55:58 Vulnerability Srbds: Not affected 01:55:58 Vulnerability Tsx async abort: Not affected 01:55:58 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:55:58 01:55:58 01:55:58 ---> nproc: 01:55:58 8 01:55:58 01:55:58 01:55:58 ---> df -h: 01:55:58 Filesystem Size Used Avail Use% Mounted on 01:55:58 overlay 155G 12G 144G 8% / 01:55:58 tmpfs 64M 0 64M 0% /dev 01:55:58 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:55:58 shm 64M 0 64M 0% /dev/shm 01:55:58 /dev/vda1 155G 12G 144G 8% /facter-os 01:55:58 01:55:58