Pull request #694 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a02a67ec64bf414f97b5f4dd0cc2863e74c61032+a7ea162f49cc88b1fd5543c209327df7c238676c (8521cdaee90dd675c1538e39190aa7257b842f68) 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-ssh3601787431649499623.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh9200860773959479703.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-694/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-694/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9374645188169135118.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-694/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13640545711903128304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh11430683313068934736.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-694/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-694/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5335995484018269908.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12517’ Running on prd-ubuntu20.04-docker-8c-8g-12545 in /w/workspace/gexfoundry_device-mqtt-go_PR-694 [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-694 # 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 Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit a02a67ec64bf414f97b5f4dd0cc2863e74c61032 Merge succeeded, producing a02a67ec64bf414f97b5f4dd0cc2863e74c61032 Checking out Revision a02a67ec64bf414f97b5f4dd0cc2863e74c61032 (PR-694) > 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/694/head:refs/remotes/origin/PR-694 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a02a67ec64bf414f97b5f4dd0cc2863e74c61032 # 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 a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a02a67ec64bf414f97b5f4dd0cc2863e74c61032 # timeout=10 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:12:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:12:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:12:41 ========================================================= 01:12:41 EdgeX Global Pipelines Version Info 01:12:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:12:41 ------------------- 01:12:41 stable info: 01:12:41 ------------------- 01:12:41 Commited By: Cherry Wang cherry@iotechsys.com 01:12:41 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:12:41 Message: update stable to v1.0.264 01:12:42 ------------------- 01:12:42 experimental info: 01:12:42 ------------------- 01:12:42 Commited By: Cherry Wang cherry@iotechsys.com 01:12:42 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:12:42 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:12:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:12:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:12:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:12:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:12:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-694 [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-694 [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-694 [Pipeline] echo 01:12:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a02a67ec64bf414f97b5f4dd0cc2863e74c61032 [Pipeline] echo 01:12:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a02a67e [Pipeline] echo 01:12:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:45 provisioning config files... 01:12:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/config10264020433096409411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:45 ---> ****-login.sh 01:12:45 nexus3.edgexfoundry.org:10001 01:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:12:46 Configure a credential helper to remove this warning. See 01:12:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:12:46 01:12:46 Login Succeeded 01:12:46 nexus3.edgexfoundry.org:10002 01:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:12:46 Configure a credential helper to remove this warning. See 01:12:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:12:46 01:12:46 Login Succeeded 01:12:46 nexus3.edgexfoundry.org:10003 01:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:12:46 Configure a credential helper to remove this warning. See 01:12:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:12:46 01:12:46 Login Succeeded 01:12:46 nexus3.edgexfoundry.org:10004 01:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:12:46 Configure a credential helper to remove this warning. See 01:12:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:12:46 01:12:46 Login Succeeded 01:12:46 ****.io 01:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:12:46 Configure a credential helper to remove this warning. See 01:12:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:12:46 01:12:46 Login Succeeded 01:12:46 ---> ****-login.sh ends [Pipeline] } 01:12:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:12:47 + git rev-list -1 --merges a02a67ec64bf414f97b5f4dd0cc2863e74c61032~1..a02a67ec64bf414f97b5f4dd0cc2863e74c61032 [Pipeline] echo 01:12:47 -----------> git rev-list -1 --merges a02a67ec64bf414f97b5f4dd0cc2863e74c61032~1..a02a67ec64bf414f97b5f4dd0cc2863e74c61032 a02a67ec64bf414f97b5f4dd0cc2863e74c61032 [false] [Pipeline] sh 01:12:47 + git log --format=format:%s -1 a02a67ec64bf414f97b5f4dd0cc2863e74c61032 [Pipeline] echo 01:12:47 ========================================================= 01:12:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:12:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:48 + git log --format=format:%s -1 a02a67ec64bf414f97b5f4dd0cc2863e74c61032 [Pipeline] echo 01:12:48 [semverPrep] GIT_COMMIT: a02a67ec64bf414f97b5f4dd0cc2863e74c61032, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:12:48 [semverPrep] This is not a build commit. [Pipeline] sh 01:12:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:12:48 + grep -v github /etc/ssh/ssh_known_hosts 01:12:48 + [ -e /tmp/ssh_known_hosts ] 01:12:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:12:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:12:48 + sudo tee -a /etc/ssh/ssh_known_hosts 01:12:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:12:49 01:12:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:12:49 0.1.4: Pulling from edgex-devops/py-git-semver 01:12:49 b85a868b505f: Pulling fs layer 01:12:49 e2be974225ed: Pulling fs layer 01:12:49 339a4e72a1f5: Pulling fs layer 01:12:49 988bab9f4d93: Pulling fs layer 01:12:49 1469e6f7b9e6: Pulling fs layer 01:12:49 eaf3925da568: Pulling fs layer 01:12:49 bab4dde63d76: Pulling fs layer 01:12:49 988bab9f4d93: Waiting 01:12:49 1469e6f7b9e6: Waiting 01:12:49 eaf3925da568: Waiting 01:12:49 bde34c3a00c8: Pulling fs layer 01:12:49 b352a97aabf1: Pulling fs layer 01:12:49 4872d77fe225: Pulling fs layer 01:12:49 5851b861e8e6: Pulling fs layer 01:12:49 4872d77fe225: Waiting 01:12:49 bab4dde63d76: Waiting 01:12:49 bde34c3a00c8: Waiting 01:12:49 e2be974225ed: Download complete 01:12:49 988bab9f4d93: Download complete 01:12:49 1469e6f7b9e6: Verifying Checksum 01:12:49 1469e6f7b9e6: Download complete 01:12:49 eaf3925da568: Verifying Checksum 01:12:49 eaf3925da568: Download complete 01:12:49 339a4e72a1f5: Verifying Checksum 01:12:49 339a4e72a1f5: Download complete 01:12:50 bde34c3a00c8: Verifying Checksum 01:12:50 bde34c3a00c8: Download complete 01:12:50 b352a97aabf1: Download complete 01:12:50 4872d77fe225: Verifying Checksum 01:12:50 4872d77fe225: Download complete 01:12:50 5851b861e8e6: Verifying Checksum 01:12:50 5851b861e8e6: Download complete 01:12:50 b85a868b505f: Verifying Checksum 01:12:50 b85a868b505f: Download complete 01:12:50 bab4dde63d76: Verifying Checksum 01:12:50 bab4dde63d76: Download complete 01:12:51 b85a868b505f: Pull complete 01:12:51 e2be974225ed: Pull complete 01:12:51 339a4e72a1f5: Pull complete 01:12:51 988bab9f4d93: Pull complete 01:12:52 1469e6f7b9e6: Pull complete 01:12:52 eaf3925da568: Pull complete 01:12:54 bab4dde63d76: Pull complete 01:12:54 bde34c3a00c8: Pull complete 01:12:54 b352a97aabf1: Pull complete 01:12:54 4872d77fe225: Pull complete 01:12:54 5851b861e8e6: Pull complete 01:12:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:12:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:12:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:54 prd-ubuntu20.04-docker-8c-8g-12545 does not seem to be running inside a container 01:12:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-694 -v /w/workspace/gexfoundry_device-mqtt-go_PR-694:/w/workspace/gexfoundry_device-mqtt-go_PR-694:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-694@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:12:57 $ docker top 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 -eo pid,comm 01:12:57 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:12:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:12:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:12:57 [ssh-agent] Looking for ssh-agent implementation... 01:12:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:12:58 $ docker exec 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 ssh-agent 01:12:58 SSH_AUTH_SOCK=/tmp/ssh-sSDU3ogposNG/agent.34 01:12:58 SSH_AGENT_PID=40 01:12:58 Running ssh-add (command line suppressed) 01:12:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/private_key_16235125381112119949.key (/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/private_key_16235125381112119949.key) 01:12:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:12:58 + git tag --points-at HEAD [Pipeline] } 01:12:58 $ docker exec --env ******** --env ******** 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 ssh-agent -k 01:12:58 unset SSH_AUTH_SOCK; 01:12:58 unset SSH_AGENT_PID; 01:12:58 echo Agent pid 40 killed; 01:12:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:12:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:12:59 [ssh-agent] Looking for ssh-agent implementation... 01:12:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:12:59 $ docker exec 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 ssh-agent 01:12:59 SSH_AUTH_SOCK=/tmp/ssh-ATvZHSMq82es/agent.73 01:12:59 SSH_AGENT_PID=79 01:12:59 Running ssh-add (command line suppressed) 01:12:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/private_key_4895678091737915734.key (/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/private_key_4895678091737915734.key) 01:12:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:12:59 + git semver init 01:12:59 2024-10-02 01:12:59,905 [run_init] DEBUG init version:0.0.0 force:False 01:12:59 2024-10-02 01:12:59,905 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver 01:12:59 2024-10-02 01:12:59,906 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver 01:12:59 2024-10-02 01:12:59,906 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-694, universal_newlines=False, shell=None, istream=None) 01:13:01 2024-10-02 01:13:01,400 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-694/.git/info/exclude 01:13:01 2024-10-02 01:13:01,401 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver/PR-694 with force:False 01:13:01 2024-10-02 01:13:01,401 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver/PR-694 01:13:01 2024-10-02 01:13:01,405 [execute] INFO git cat-file --batch-check 01:13:01 2024-10-02 01:13:01,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver, universal_newlines=False, shell=None, istream=) 01:13:01 2024-10-02 01:13:01,410 [execute] INFO git cat-file --batch 01:13:01 2024-10-02 01:13:01,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver, universal_newlines=False, shell=None, istream=) 01:13:01 2024-10-02 01:13:01,415 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-694/.semver/PR-694 01:13:01 0.0.0 [Pipeline] } 01:13:01 $ docker exec --env ******** --env ******** 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 ssh-agent -k 01:13:02 unset SSH_AUTH_SOCK; 01:13:02 unset SSH_AGENT_PID; 01:13:02 echo Agent pid 79 killed; 01:13:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:13:02 + git semver [Pipeline] } 01:13:02 $ docker stop --time=1 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 01:13:04 $ docker rm -f --volumes 67ca68ef93896d9dccdab672898327f329a3dddd3ed19eed819e309b7f5b9e06 [Pipeline] // withDockerContainer [Pipeline] sh 01:13:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:13:04 Stashed 1 file(s) [Pipeline] echo 01:13:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:05 provisioning config files... 01:13:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/config4737561268112826115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:05 ---> ****-login.sh 01:13:05 nexus3.edgexfoundry.org:10001 01:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:05 Configure a credential helper to remove this warning. See 01:13:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:05 01:13:05 Login Succeeded 01:13:05 nexus3.edgexfoundry.org:10002 01:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:05 Configure a credential helper to remove this warning. See 01:13:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:05 01:13:05 Login Succeeded 01:13:05 nexus3.edgexfoundry.org:10003 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 nexus3.edgexfoundry.org:10004 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 ****.io 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 ---> ****-login.sh ends [Pipeline] } 01:13:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:06 ========================================================= 01:13:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:13:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:13:07 Sending build context to Docker daemon 20.85MB 01:13:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:13:07 Step 2/12 : FROM ${BASE} AS builder 01:13:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:13:07 619be1103602: Pulling fs layer 01:13:07 7862e08f4a3e: Pulling fs layer 01:13:07 5df492c9dc93: Pulling fs layer 01:13:07 7629e6793208: Pulling fs layer 01:13:07 4f4fb700ef54: Pulling fs layer 01:13:07 fb5054dd5b73: Pulling fs layer 01:13:07 eeca6798cff9: Pulling fs layer 01:13:07 aa269ceb94a6: Pulling fs layer 01:13:07 ada007ff1a6a: Pulling fs layer 01:13:07 7629e6793208: Waiting 01:13:07 4f4fb700ef54: Waiting 01:13:07 fb5054dd5b73: Waiting 01:13:07 eeca6798cff9: Waiting 01:13:07 aa269ceb94a6: Waiting 01:13:07 ada007ff1a6a: Waiting 01:13:07 7862e08f4a3e: Download complete 01:13:07 7629e6793208: Verifying Checksum 01:13:07 7629e6793208: Download complete 01:13:07 4f4fb700ef54: Verifying Checksum 01:13:07 4f4fb700ef54: Download complete 01:13:07 fb5054dd5b73: Verifying Checksum 01:13:07 fb5054dd5b73: Download complete 01:13:07 619be1103602: Verifying Checksum 01:13:07 619be1103602: Download complete 01:13:07 eeca6798cff9: Verifying Checksum 01:13:07 eeca6798cff9: Download complete 01:13:07 619be1103602: Pull complete 01:13:07 ada007ff1a6a: Verifying Checksum 01:13:07 ada007ff1a6a: Download complete 01:13:07 7862e08f4a3e: Pull complete 01:13:07 5df492c9dc93: Verifying Checksum 01:13:07 5df492c9dc93: Download complete 01:13:08 aa269ceb94a6: Verifying Checksum 01:13:08 aa269ceb94a6: Download complete 01:13:10 5df492c9dc93: Pull complete 01:13:10 7629e6793208: Pull complete 01:13:10 4f4fb700ef54: Pull complete 01:13:10 fb5054dd5b73: Pull complete 01:13:10 eeca6798cff9: Pull complete 01:13:13 aa269ceb94a6: Pull complete 01:13:13 ada007ff1a6a: Pull complete 01:13:13 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:13:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:13:13 ---> f489d0715acc 01:13:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:13:19 ---> Running in 39ea90918ca1 01:13:19 Removing intermediate container 39ea90918ca1 01:13:19 ---> 4fd3f3764c55 01:13:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:19 ---> Running in 4d27be5c7e01 01:13:19 Removing intermediate container 4d27be5c7e01 01:13:19 ---> bdd79447071f 01:13:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:13:19 ---> Running in e6276e2dd572 01:13:19 Removing intermediate container e6276e2dd572 01:13:19 ---> 60951533ba3f 01:13:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:13:19 ---> Running in 89b75ff63dfd 01:13:19 Removing intermediate container 89b75ff63dfd 01:13:19 ---> 5747599d41cb 01:13:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:19 ---> Running in d78f0c0a4d9d 01:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:13:19 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:13:19 (2/4) Installing libedit (20221030.3.1-r1) 01:13:19 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:13:19 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:13:19 Executing busybox-1.36.1-r5.trigger 01:13:19 OK: 268 MiB in 56 packages 01:13:20 Removing intermediate container d78f0c0a4d9d 01:13:20 ---> c7edb246e02d 01:13:20 Step 8/12 : WORKDIR /device-mqtt-go 01:13:20 ---> Running in 8ae46306142f 01:13:20 Still waiting to schedule task 01:13:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12542’ 01:13:20 Removing intermediate container 8ae46306142f 01:13:20 ---> 24da7176e0c5 01:13:20 Step 9/12 : COPY go.mod vendor* ./ 01:13:20 ---> 3dd3fd369735 01:13:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:20 ---> Running in f0ad4177f7be 01:14:28 Removing intermediate container f0ad4177f7be 01:14:28 ---> f72220b45a35 01:14:28 Step 11/12 : COPY . . 01:14:28 ---> 6c87daf497e4 01:14:28 Step 12/12 : RUN $MAKE 01:14:28 ---> Running in 800b10bcb1a6 01:14:28 noop 01:14:28 Removing intermediate container 800b10bcb1a6 01:14:28 ---> 66c46e9335fe 01:14:28 Successfully built 66c46e9335fe 01:14:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:28 + docker inspect -f . ci-base-image-x86_64 01:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:28 prd-ubuntu20.04-docker-8c-8g-12545 does not seem to be running inside a container 01:14:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-694 -v /w/workspace/gexfoundry_device-mqtt-go_PR-694:/w/workspace/gexfoundry_device-mqtt-go_PR-694:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-694@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:14:29 $ docker top dfc1861bef74a2e835d1ee1549c04a9c157d5b1c2af23fa29d35b1ca74a71605 -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:29 + go version 01:14:29 go version go1.21.9 linux/amd64 [Pipeline] } 01:14:29 $ docker stop --time=1 dfc1861bef74a2e835d1ee1549c04a9c157d5b1c2af23fa29d35b1ca74a71605 01:14:30 $ docker rm -f --volumes dfc1861bef74a2e835d1ee1549c04a9c157d5b1c2af23fa29d35b1ca74a71605 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:31 + docker inspect -f . ci-base-image-x86_64 01:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:31 prd-ubuntu20.04-docker-8c-8g-12545 does not seem to be running inside a container 01:14:31 $ 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-694 -v /w/workspace/gexfoundry_device-mqtt-go_PR-694:/w/workspace/gexfoundry_device-mqtt-go_PR-694:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-694@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:14:32 $ docker top 277ec8e5b99384ea317ebd9376a2eafb7f392fb9556f1eb4296466562360dc62 -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-694 [Pipeline] fileExists [Pipeline] sh 01:14:32 + make test 01:14:32 go test ./... -coverprofile=coverage.out ./... 01:14:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:14:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:14:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:14:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements 01:14:59 go vet ./... 01:15:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:15:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:15:04 ./bin/test-attribution-txt.sh 01:15:04 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:15:04 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:15:04 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:15:04 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:15:04 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:15:04 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:15:04 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:15:04 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:15:04 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:15:04 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:15:04 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:15:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:15:04 $ docker stop --time=1 277ec8e5b99384ea317ebd9376a2eafb7f392fb9556f1eb4296466562360dc62 01:15:10 $ docker rm -f --volumes 277ec8e5b99384ea317ebd9376a2eafb7f392fb9556f1eb4296466562360dc62 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:15:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:15:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:15:12 + ls -al . 01:15:12 total 252 01:15:12 drwxrwxr-x 9 jenkins jenkins 4096 Oct 2 01:14 . 01:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:12 .. 01:15:12 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 01:12 .dockerignore 01:15:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:14 .git 01:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:12 .github 01:15:12 -rw-rw-r-- 1 jenkins jenkins 264 Oct 2 01:12 .gitignore 01:15:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 01:12 .golangci.yml 01:15:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 01:13 .semver 01:15:12 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 2 01:12 Attribution.txt 01:15:12 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 2 01:12 CHANGELOG.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 2 01:12 Dockerfile 01:15:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 01:12 GOVERNANCE.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 657 Oct 2 01:12 Jenkinsfile 01:15:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 01:12 LICENSE 01:15:12 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 2 01:12 Makefile 01:15:12 -rw-rw-r-- 1 jenkins jenkins 620 Oct 2 01:12 OWNERS.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 2 01:12 README.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 01:13 VERSION 01:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:12 bin 01:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:12 cmd 01:15:12 -rw-r--r-- 1 jenkins jenkins 18506 Oct 2 01:14 coverage.out 01:15:12 -rw-rw-r-- 1 jenkins jenkins 7066 Oct 2 01:12 go.mod 01:15:12 -rw-rw-r-- 1 jenkins jenkins 101675 Oct 2 01:12 go.sum 01:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:12 internal 01:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:12 mock 01:15:12 -rw-rw-r-- 1 jenkins jenkins 227 Oct 2 01:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:12 + 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=a02a67ec64bf414f97b5f4dd0cc2863e74c61032 --label arch=amd64 --label version=0.0.0 . 01:15:12 Sending build context to Docker daemon 20.87MB 01:15:12 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:15:12 Step 2/25 : FROM ${BASE} AS builder 01:15:12 ---> 66c46e9335fe 01:15:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:15:12 ---> Running in 39bbac406f39 01:15:13 Removing intermediate container 39bbac406f39 01:15:13 ---> cf05d28c296e 01:15:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:15:13 ---> Running in ad6c606b747e 01:15:13 Removing intermediate container ad6c606b747e 01:15:13 ---> 1213f31b725b 01:15:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:15:13 ---> Running in f18c974a8454 01:15:13 Removing intermediate container f18c974a8454 01:15:13 ---> c77f964dcfaf 01:15:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:15:13 ---> Running in f0aebee3c241 01:15:13 Removing intermediate container f0aebee3c241 01:15:13 ---> 76ac0717c91d 01:15:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:13 ---> Running in 2a60cd4f9ff4 01:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:15:13 OK: 268 MiB in 56 packages 01:15:14 Removing intermediate container 2a60cd4f9ff4 01:15:14 ---> 25f7a2d23f66 01:15:14 Step 8/25 : WORKDIR /device-mqtt-go 01:15:14 ---> Running in 58a67a2e6ea5 01:15:14 Removing intermediate container 58a67a2e6ea5 01:15:14 ---> 72d52077535e 01:15:14 Step 9/25 : COPY go.mod vendor* ./ 01:15:14 ---> 678725c09505 01:15:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:14 ---> Running in 15280aef049d 01:15:15 Removing intermediate container 15280aef049d 01:15:15 ---> 12c9c904a1a3 01:15:15 Step 11/25 : COPY . . 01:15:15 ---> 259b01c7578e 01:15:15 Step 12/25 : RUN $MAKE 01:15:15 ---> Running in cc3bb32b6e40 01:15:16 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.38" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:15:54 Removing intermediate container cc3bb32b6e40 01:15:54 ---> 743729748fa1 01:15:54 Step 13/25 : FROM alpine:3.18 01:15:54 3.18: Pulling from library/alpine 01:15:54 1cc3d825d8b2: Pulling fs layer 01:15:54 1cc3d825d8b2: Verifying Checksum 01:15:54 1cc3d825d8b2: Download complete 01:15:54 1cc3d825d8b2: Pull complete 01:15:54 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:15:54 Status: Downloaded newer image for alpine:3.18 01:15:54 ---> 2c64cf60f6f0 01:15:54 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:15:54 ---> Running in d78cd5401f06 01:15:54 Removing intermediate container d78cd5401f06 01:15:54 ---> 7686da7219b7 01:15:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:15:54 ---> Running in c2ab033d410d 01:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:15:54 (1/1) Installing dumb-init (1.2.5-r2) 01:15:54 Executing busybox-1.36.1-r7.trigger 01:15:54 OK: 7 MiB in 16 packages 01:15:54 Removing intermediate container c2ab033d410d 01:15:54 ---> 02f16b75e5cc 01:15:54 Step 16/25 : RUN apk --no-cache upgrade 01:15:54 ---> Running in 7db9343bbf1c 01:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:15:54 OK: 7 MiB in 16 packages 01:15:54 Removing intermediate container 7db9343bbf1c 01:15:54 ---> 19aef16a23fb 01:15:54 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:15:54 ---> 5ecfe807b259 01:15:54 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:15:55 ---> e7f5b1233d77 01:15:55 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:15:55 ---> 626859a643f4 01:15:55 Step 20/25 : EXPOSE 59982 01:15:55 ---> Running in 77b050a62b7b 01:15:55 Removing intermediate container 77b050a62b7b 01:15:55 ---> 6021c6b7edd9 01:15:55 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:15:55 ---> Running in 709a4f1e5da2 01:15:55 Removing intermediate container 709a4f1e5da2 01:15:55 ---> 3aaae17d3987 01:15:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:15:55 ---> Running in c743f096a255 01:15:55 Removing intermediate container c743f096a255 01:15:55 ---> fc275f1fabd6 01:15:55 Step 23/25 : LABEL arch=amd64 01:15:55 ---> Running in cfc03347617b 01:15:55 Removing intermediate container cfc03347617b 01:15:55 ---> 2b075e5663e0 01:15:55 Step 24/25 : LABEL git_sha=a02a67ec64bf414f97b5f4dd0cc2863e74c61032 01:15:55 ---> Running in c37ed224d279 01:15:55 Removing intermediate container c37ed224d279 01:15:55 ---> 054b4592294f 01:15:55 Step 25/25 : LABEL version=0.0.0 01:15:55 ---> Running in 011ecdb44cfd 01:15:55 Removing intermediate container 011ecdb44cfd 01:15:55 ---> 686d1eb87d1e 01:15:55 [Warning] One or more build-args [ARCH] were not consumed 01:15:55 Successfully built 686d1eb87d1e 01:15:55 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:56 01:15:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:57 latest: Pulling from edgex-lftools-log-publisher 01:15:57 5eb5b503b376: Pulling fs layer 01:15:57 5c69ac0246d0: Pulling fs layer 01:15:57 ec43610c2a17: Pulling fs layer 01:15:57 3a2ae6a8a46f: Pulling fs layer 01:15:57 33b1e0a273af: Pulling fs layer 01:15:57 5d3b04190fa2: Pulling fs layer 01:15:57 2f39f015ded8: Pulling fs layer 01:15:57 3a2ae6a8a46f: Waiting 01:15:57 5d3b04190fa2: Waiting 01:15:57 2f39f015ded8: Waiting 01:15:57 33b1e0a273af: Waiting 01:15:57 5c69ac0246d0: Download complete 01:15:57 3a2ae6a8a46f: Verifying Checksum 01:15:57 3a2ae6a8a46f: Download complete 01:15:57 33b1e0a273af: Verifying Checksum 01:15:57 33b1e0a273af: Download complete 01:15:57 5d3b04190fa2: Verifying Checksum 01:15:57 5d3b04190fa2: Download complete 01:15:57 ec43610c2a17: Verifying Checksum 01:15:57 ec43610c2a17: Download complete 01:15:57 5eb5b503b376: Verifying Checksum 01:15:57 5eb5b503b376: Download complete 01:15:58 5eb5b503b376: Pull complete 01:15:58 5c69ac0246d0: Pull complete 01:15:59 ec43610c2a17: Pull complete 01:15:59 3a2ae6a8a46f: Pull complete 01:15:59 33b1e0a273af: Pull complete 01:15:59 5d3b04190fa2: Pull complete 01:16:03 2f39f015ded8: Pull complete 01:16:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:16:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:04 prd-ubuntu20.04-docker-8c-8g-12545 does not seem to be running inside a container 01:16:04 $ 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-694 -v /w/workspace/gexfoundry_device-mqtt-go_PR-694:/w/workspace/gexfoundry_device-mqtt-go_PR-694:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:16:09 $ docker top cf629eefd45725c4aa51596d0144c56f04398e190a61cc4d1aff456d01bcecec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:10 ---> job-cost.sh 01:16:10 lf-activate-venv: SKIPPING 01:16:10 INFO: No Stack... 01:16:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:10 INFO: Archiving Costs [Pipeline] sh 01:16:11 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives/cost.csv 01:16:11 + cut -d, -f6 [Pipeline] lock 01:16:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] 01:16:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] did not exist. Created. 01:16:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:11 + echo total: 0.2199999988079071 [Pipeline] stash 01:16:11 Stashed 1 file(s) [Pipeline] } 01:16:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:11 $ docker stop --time=1 cf629eefd45725c4aa51596d0144c56f04398e190a61cc4d1aff456d01bcecec 01:16:13 $ docker rm -f --volumes cf629eefd45725c4aa51596d0144c56f04398e190a61cc4d1aff456d01bcecec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:16:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12546 in /w/workspace/gexfoundry_device-mqtt-go_PR-694 [Pipeline] { [Pipeline] ws 01:16:56 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:17:00 The recommended git tool is: git 01:17:07 using credential edgex-jenkins-ssh 01:17:07 Cloning the remote Git repository 01:17:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:17:07 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:17:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:17:07 > git --version # timeout=10 01:17:07 > git --version # 'git version 2.25.1' 01:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:17:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:17:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:17:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/694/head:refs/remotes/origin/PR-694 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:17:12 Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit a02a67ec64bf414f97b5f4dd0cc2863e74c61032 01:17:12 Merge succeeded, producing a02a67ec64bf414f97b5f4dd0cc2863e74c61032 01:17:12 Checking out Revision a02a67ec64bf414f97b5f4dd0cc2863e74c61032 (PR-694) 01:17:13 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:17:13 > git --version # timeout=10 01:17:13 > git --version # 'git version 2.25.1' 01:17:13 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:17:12 > git config core.sparsecheckout # timeout=10 01:17:12 > git checkout -f a02a67ec64bf414f97b5f4dd0cc2863e74c61032 # timeout=10 01:17:12 > git remote # timeout=10 01:17:12 > git config --get remote.origin.url # timeout=10 01:17:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:12 > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 01:17:12 > git rev-parse HEAD^{commit} # timeout=10 01:17:12 > git config core.sparsecheckout # timeout=10 01:17:12 > git checkout -f a02a67ec64bf414f97b5f4dd0cc2863e74c61032 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:17:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:17:18 Dload Upload Total Spent Left Speed 01:17:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87863 0 --:--:-- --:--:-- --:--:-- 87863 [Pipeline] sh 01:17:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:17:19 + sudo tee /etc/docker/daemon.new 01:17:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:17:19 { 01:17:19 "registry-mirrors": [ 01:17:19 "https://nexus3.edgexfoundry.org:10001" 01:17:19 ], 01:17:19 "bip": "10.250.0.254/24", 01:17:19 "hosts": [ 01:17:19 "tcp://0.0.0.0:5555", 01:17:19 "unix:///var/run/docker.sock" 01:17:19 ], 01:17:19 "mtu": 1458, 01:17:19 "selinux-enabled": true, 01:17:19 "seccomp-profile": "/etc/docker/seccomp.json" 01:17:19 } [Pipeline] sh 01:17:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:17:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:38 provisioning config files... 01:17:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config693880463016910555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:38 ---> ****-login.sh 01:17:38 nexus3.edgexfoundry.org:10001 01:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:39 Configure a credential helper to remove this warning. See 01:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:39 01:17:39 Login Succeeded 01:17:39 nexus3.edgexfoundry.org:10002 01:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:39 Configure a credential helper to remove this warning. See 01:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:39 01:17:39 Login Succeeded 01:17:39 nexus3.edgexfoundry.org:10003 01:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:40 Configure a credential helper to remove this warning. See 01:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:40 01:17:40 Login Succeeded 01:17:40 nexus3.edgexfoundry.org:10004 01:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:40 Configure a credential helper to remove this warning. See 01:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:40 01:17:40 Login Succeeded 01:17:40 ****.io 01:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:40 Configure a credential helper to remove this warning. See 01:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:40 01:17:40 Login Succeeded 01:17:40 ---> ****-login.sh ends [Pipeline] } 01:17:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:17:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:17:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:17:41 ========================================================= 01:17:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:17:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:41 + 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:17:42 Sending build context to Docker daemon 10.54MB 01:17:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:17:42 Step 2/12 : FROM ${BASE} AS builder 01:17:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:17:42 c6b39de5b339: Pulling fs layer 01:17:42 a69c41024577: Pulling fs layer 01:17:42 d6de4b400683: Pulling fs layer 01:17:42 35cb2a7552d0: Pulling fs layer 01:17:42 4f4fb700ef54: Pulling fs layer 01:17:42 464afbd9ba4c: Pulling fs layer 01:17:42 00f215d4a9da: Pulling fs layer 01:17:42 d496ad576159: Pulling fs layer 01:17:42 35cb2a7552d0: Waiting 01:17:42 4f4fb700ef54: Waiting 01:17:42 464afbd9ba4c: Waiting 01:17:42 00f215d4a9da: Waiting 01:17:42 d496ad576159: Waiting 01:17:42 a69c41024577: Download complete 01:17:42 35cb2a7552d0: Verifying Checksum 01:17:42 35cb2a7552d0: Download complete 01:17:42 4f4fb700ef54: Verifying Checksum 01:17:42 4f4fb700ef54: Download complete 01:17:42 464afbd9ba4c: Verifying Checksum 01:17:42 464afbd9ba4c: Download complete 01:17:42 c6b39de5b339: Verifying Checksum 01:17:42 c6b39de5b339: Download complete 01:17:42 d496ad576159: Verifying Checksum 01:17:42 d496ad576159: Download complete 01:17:43 c6b39de5b339: Pull complete 01:17:44 d6de4b400683: Download complete 01:17:45 a69c41024577: Pull complete 01:17:45 00f215d4a9da: Verifying Checksum 01:17:45 00f215d4a9da: Download complete 01:17:58 d6de4b400683: Pull complete 01:17:58 35cb2a7552d0: Pull complete 01:17:58 4f4fb700ef54: Pull complete 01:17:58 464afbd9ba4c: Pull complete 01:18:06 00f215d4a9da: Pull complete 01:18:08 d496ad576159: Pull complete 01:18:08 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:18:08 ---> f246e2811388 01:18:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:18:09 ---> Running in 1c15069d7bd9 01:18:09 Removing intermediate container 1c15069d7bd9 01:18:09 ---> 58e2f6bb8e4f 01:18:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:18:09 ---> Running in 80c4ee5e3e35 01:18:09 Removing intermediate container 80c4ee5e3e35 01:18:09 ---> 7ef0338356ed 01:18:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:18:10 ---> Running in 121f95b049f2 01:18:10 Removing intermediate container 121f95b049f2 01:18:10 ---> 2d5f7c86630c 01:18:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:18:10 ---> Running in bdc4549fd601 01:18:10 Removing intermediate container bdc4549fd601 01:18:10 ---> b156373dbede 01:18:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:18:10 ---> Running in 034ee2bedacc 01:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:18:13 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:18:13 (2/4) Installing libedit (20221030.3.1-r1) 01:18:13 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:18:13 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:18:13 Executing busybox-1.36.1-r5.trigger 01:18:13 OK: 271 MiB in 56 packages 01:18:14 Removing intermediate container 034ee2bedacc 01:18:14 ---> 1b3ddc01595b 01:18:14 Step 8/12 : WORKDIR /device-mqtt-go 01:18:14 ---> Running in f2db3cd97aca 01:18:14 Removing intermediate container f2db3cd97aca 01:18:14 ---> 5305c9b31313 01:18:14 Step 9/12 : COPY go.mod vendor* ./ 01:18:15 ---> 95fc97752560 01:18:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:18:15 ---> Running in 0e823ba0e67c 01:20:07 Removing intermediate container 0e823ba0e67c 01:20:07 ---> f383b2822f07 01:20:07 Step 11/12 : COPY . . 01:20:07 ---> bac351e4dc62 01:20:07 Step 12/12 : RUN $MAKE 01:20:07 ---> Running in b81b6bb0c48a 01:20:07 noop 01:20:07 Removing intermediate container b81b6bb0c48a 01:20:07 ---> 4c202a7868fa 01:20:07 Successfully built 4c202a7868fa 01:20:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:07 + docker inspect -f . ci-base-image-arm64 01:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:08 prd-ubuntu20.04-docker-arm64-4c-16g-12546 does not seem to be running inside a container 01:20:08 $ 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:20:09 $ docker top 4f7dc7facd924a632f7db7aab4e62df8a84634a665349d54ba4ff4fa8ec4dc0e -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:10 + go version 01:20:10 go version go1.21.9 linux/arm64 [Pipeline] } 01:20:10 $ docker stop --time=1 4f7dc7facd924a632f7db7aab4e62df8a84634a665349d54ba4ff4fa8ec4dc0e 01:20:12 $ docker rm -f --volumes 4f7dc7facd924a632f7db7aab4e62df8a84634a665349d54ba4ff4fa8ec4dc0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:12 + docker inspect -f . ci-base-image-arm64 01:20:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:13 prd-ubuntu20.04-docker-arm64-4c-16g-12546 does not seem to be running inside a container 01:20: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:20:14 $ docker top d013de2868b2d346c561ed098224705e83b1e57e2cdb2fb48b6037b50572b214 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:15 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:20:16 + make test 01:20:16 go test ./... -coverprofile=coverage.out ./... 01:20:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:23:29 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:23:33 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:23:33 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements 01:23:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:23:34 go vet ./... 01:24:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:24:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:24:22 ./bin/test-attribution-txt.sh 01:24:22 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:24:22 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:24:22 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:24:22 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:24:22 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:24:22 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:24:22 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:24:22 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:24:22 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:24:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:24:22 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:24:22 $ docker stop --time=1 d013de2868b2d346c561ed098224705e83b1e57e2cdb2fb48b6037b50572b214 01:24:24 $ docker rm -f --volumes d013de2868b2d346c561ed098224705e83b1e57e2cdb2fb48b6037b50572b214 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:24:25 Warning: overwriting stash ‘coverage-report’ 01:24:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:24:27 + ls -al . 01:24:27 total 248 01:24:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:20 . 01:24:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:17 .. 01:24:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 01:17 .dockerignore 01:24:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:17 .git 01:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:17 .github 01:24:27 -rw-rw-r-- 1 jenkins jenkins 264 Oct 2 01:17 .gitignore 01:24:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 01:17 .golangci.yml 01:24:27 -rw-rw-r-- 1 jenkins jenkins 10386 Oct 2 01:17 Attribution.txt 01:24:27 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 2 01:17 CHANGELOG.md 01:24:27 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 2 01:17 Dockerfile 01:24:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 01:17 GOVERNANCE.md 01:24:27 -rw-rw-r-- 1 jenkins jenkins 657 Oct 2 01:17 Jenkinsfile 01:24:27 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 01:17 LICENSE 01:24:27 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 2 01:17 Makefile 01:24:27 -rw-rw-r-- 1 jenkins jenkins 620 Oct 2 01:17 OWNERS.md 01:24:27 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 2 01:17 README.md 01:24:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 01:13 VERSION 01:24:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:17 bin 01:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:17 cmd 01:24:27 -rw-r--r-- 1 jenkins jenkins 18506 Oct 2 01:23 coverage.out 01:24:27 -rw-rw-r-- 1 jenkins jenkins 7066 Oct 2 01:17 go.mod 01:24:27 -rw-rw-r-- 1 jenkins jenkins 101675 Oct 2 01:17 go.sum 01:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:17 internal 01:24:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:17 mock 01:24:27 -rw-rw-r-- 1 jenkins jenkins 227 Oct 2 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:27 + 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=a02a67ec64bf414f97b5f4dd0cc2863e74c61032 --label arch=arm64 --label version=0.0.0 . 01:24:28 Sending build context to Docker daemon 10.56MB 01:24:28 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:24:28 Step 2/25 : FROM ${BASE} AS builder 01:24:28 ---> 4c202a7868fa 01:24:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:24:28 ---> Running in c44f04aa120c 01:24:28 Removing intermediate container c44f04aa120c 01:24:28 ---> 7c536f6d34a4 01:24:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:24:28 ---> Running in 6d8ebd6da3da 01:24:28 Removing intermediate container 6d8ebd6da3da 01:24:28 ---> 8782b42953b7 01:24:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:24:29 ---> Running in 4d34dd67f926 01:24:29 Removing intermediate container 4d34dd67f926 01:24:29 ---> c3caf8eb1de6 01:24:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:24:29 ---> Running in 9fbdaacee008 01:24:29 Removing intermediate container 9fbdaacee008 01:24:29 ---> 90eb1d49c79d 01:24:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:24:29 ---> Running in a56308d90166 01:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:24:32 OK: 271 MiB in 56 packages 01:24:33 Removing intermediate container a56308d90166 01:24:33 ---> bb1cd0138ebb 01:24:33 Step 8/25 : WORKDIR /device-mqtt-go 01:24:33 ---> Running in ac48d8eeb1a0 01:24:33 Removing intermediate container ac48d8eeb1a0 01:24:33 ---> 53a7ebbae056 01:24:33 Step 9/25 : COPY go.mod vendor* ./ 01:24:33 ---> 1a298372cab7 01:24:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:24:33 ---> Running in 84f39eaeb7ac 01:24:35 Removing intermediate container 84f39eaeb7ac 01:24:35 ---> 4a772e06908d 01:24:35 Step 11/25 : COPY . . 01:24:37 ---> 8d4346200e3a 01:24:37 Step 12/25 : RUN $MAKE 01:24:37 ---> Running in f32f506082b5 01:24:38 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.38" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:28:00 Removing intermediate container f32f506082b5 01:28:00 ---> d55fd2e365eb 01:28:00 Step 13/25 : FROM alpine:3.18 01:28:00 3.18: Pulling from library/alpine 01:28:00 720f3032cd11: Pulling fs layer 01:28:00 720f3032cd11: Verifying Checksum 01:28:00 720f3032cd11: Download complete 01:28:00 720f3032cd11: Pull complete 01:28:00 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:28:00 Status: Downloaded newer image for alpine:3.18 01:28:00 ---> 3e834921e367 01:28:00 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:28:00 ---> Running in bc39dbc8283e 01:28:00 Removing intermediate container bc39dbc8283e 01:28:00 ---> 6ac7dd870c32 01:28:00 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:28:00 ---> Running in f5bcc1c91ace 01:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:28:00 (1/1) Installing dumb-init (1.2.5-r2) 01:28:00 Executing busybox-1.36.1-r7.trigger 01:28:00 OK: 8 MiB in 16 packages 01:28:01 Removing intermediate container f5bcc1c91ace 01:28:01 ---> 3506a463cc1f 01:28:01 Step 16/25 : RUN apk --no-cache upgrade 01:28:01 ---> Running in b9d0c4daf4d5 01:28:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:28:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:28:03 OK: 8 MiB in 16 packages 01:28:04 Removing intermediate container b9d0c4daf4d5 01:28:04 ---> 104e863ef97a 01:28:04 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:28:06 ---> ac20f353d111 01:28:06 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:28:06 ---> 8c5127394877 01:28:06 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:28:07 ---> f96a8d612d9c 01:28:07 Step 20/25 : EXPOSE 59982 01:28:07 ---> Running in 3586ed6ef747 01:28:07 Removing intermediate container 3586ed6ef747 01:28:07 ---> 0ba7e9c7b707 01:28:07 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:28:07 ---> Running in 1571d02a7148 01:28:07 Removing intermediate container 1571d02a7148 01:28:07 ---> 1db83db3f44f 01:28:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:28:08 ---> Running in bf111a991a62 01:28:08 Removing intermediate container bf111a991a62 01:28:08 ---> 9db8d37fa998 01:28:08 Step 23/25 : LABEL arch=arm64 01:28:08 ---> Running in 4fe2469b28d0 01:28:08 Removing intermediate container 4fe2469b28d0 01:28:08 ---> 3b376b357141 01:28:08 Step 24/25 : LABEL git_sha=a02a67ec64bf414f97b5f4dd0cc2863e74c61032 01:28:08 ---> Running in 3d50cd4dc64c 01:28:08 Removing intermediate container 3d50cd4dc64c 01:28:08 ---> bee6bbcb52a7 01:28:08 Step 25/25 : LABEL version=0.0.0 01:28:09 ---> Running in 4c1f25e5c67b 01:28:09 Removing intermediate container 4c1f25e5c67b 01:28:09 ---> f863eae8db54 01:28:09 [Warning] One or more build-args [ARCH] were not consumed 01:28:09 Successfully built f863eae8db54 01:28:09 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:28:10 01:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:28:10 arm64: Pulling from edgex-lftools-log-publisher 01:28:10 8998bd30e6a1: Pulling fs layer 01:28:10 04944245beec: Pulling fs layer 01:28:10 699f458cf7ca: Pulling fs layer 01:28:10 765212b225bb: Pulling fs layer 01:28:10 f23df028b6ca: Pulling fs layer 01:28:10 d65c8cfc05b1: Pulling fs layer 01:28:10 2437ff75d9bd: Pulling fs layer 01:28:10 f23df028b6ca: Waiting 01:28:10 2437ff75d9bd: Waiting 01:28:10 d65c8cfc05b1: Waiting 01:28:10 765212b225bb: Waiting 01:28:11 04944245beec: Verifying Checksum 01:28:11 04944245beec: Download complete 01:28:11 765212b225bb: Verifying Checksum 01:28:11 765212b225bb: Download complete 01:28:11 f23df028b6ca: Verifying Checksum 01:28:11 f23df028b6ca: Download complete 01:28:11 d65c8cfc05b1: Download complete 01:28:11 699f458cf7ca: Verifying Checksum 01:28:11 699f458cf7ca: Download complete 01:28:11 8998bd30e6a1: Verifying Checksum 01:28:11 8998bd30e6a1: Download complete 01:28:14 2437ff75d9bd: Verifying Checksum 01:28:14 2437ff75d9bd: Download complete 01:28:16 8998bd30e6a1: Pull complete 01:28:16 04944245beec: Pull complete 01:28:17 699f458cf7ca: Pull complete 01:28:18 765212b225bb: Pull complete 01:28:19 f23df028b6ca: Pull complete 01:28:19 d65c8cfc05b1: Pull complete 01:28:37 2437ff75d9bd: Pull complete 01:28:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:28:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:28:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:37 prd-ubuntu20.04-docker-arm64-4c-16g-12546 does not seem to be running inside a container 01:28:37 $ 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:28:40 $ docker top 503687101d6c6ace73d6c6096fb47f5917dd4507c258045be5a698b9edfb3aa7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:41 ---> job-cost.sh 01:28:41 lf-activate-venv: SKIPPING 01:28:41 INFO: No Stack... 01:28:41 INFO: Retrieving Pricing Info for: v3-standard-4 01:28:42 INFO: Archiving Costs [Pipeline] sh 01:28:42 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:28:42 + cut -d, -f6 [Pipeline] lock 01:28:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] 01:28:42 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] did not exist. Created. 01:28:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:43 /w/workspace/device-mqtt-go/1@tmp/durable-564ae8dd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:28:43 + echo total: 0.10999999940395355 [Pipeline] stash 01:28:43 Warning: overwriting stash ‘stack-cost’ 01:28:43 Stashed 1 file(s) [Pipeline] } 01:28:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-694-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:44 $ docker stop --time=1 503687101d6c6ace73d6c6096fb47f5917dd4507c258045be5a698b9edfb3aa7 01:28:45 $ docker rm -f --volumes 503687101d6c6ace73d6c6096fb47f5917dd4507c258045be5a698b9edfb3aa7 [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:28:46 provisioning config files... 01:28:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/config12419852462252887401tmp [Pipeline] { [Pipeline] sh 01:28:46 + set +x 01:28:46 + curl -s https://codecov.io/bash 01:28:46 + bash -s -- 01:28:46 01:28:46 _____ _ 01:28:46 / ____| | | 01:28:46 | | ___ __| | ___ ___ _____ __ 01:28:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:28:46 | |___| (_) | (_| | __/ (_| (_) \ V / 01:28:46 \_____\___/ \__,_|\___|\___\___/ \_/ 01:28:46 Bash-1.0.6 01:28:46 01:28:46 01:28:46 ==> git version 2.25.1 found 01:28:46 ==> 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:28:46 Release-Date: 2020-01-08 01:28:46 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:28:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:28:46 ==> Jenkins CI detected. 01:28:46 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-694 01:28:46 project root: . 01:28:46 --> token set from env 01:28:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:28:46 ==> Running gcov in . (disable via -X gcov) 01:28:46 ==> Python coveragepy not found 01:28:46 ==> Searching for coverage reports in: 01:28:46 + . 01:28:46 -> Found 1 reports 01:28:46 ==> Detecting git/mercurial file structure 01:28:47 ==> Reading reports 01:28:47 + ./coverage.out bytes=18506 01:28:47 ==> Appending adjustments 01:28:47 https://docs.codecov.io/docs/fixing-reports 01:28:47 + Found adjustments 01:28:47 ==> Gzipping contents 01:28:47 4.0K /tmp/codecov.yGJTIT.gz 01:28:47 ==> Uploading reports 01:28:47 url: https://codecov.io 01:28:47 query: branch=PR-694&commit=a02a67ec64bf414f97b5f4dd0cc2863e74c61032&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-694%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=694&job=&cmd_args= 01:28:47 -> Pinging Codecov 01:28:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-694&commit=a02a67ec64bf414f97b5f4dd0cc2863e74c61032&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-694%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=694&job=&cmd_args= 01:28:47 -> Uploading to 01:28:47 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/a02a67ec64bf414f97b5f4dd0cc2863e74c61032/644d388a-cf8e-4096-be32-b5e8db4704e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T012847Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7b735927ffb62e0008f3bd004db4c5d6e8d39706f2eeac523a37e0b91d94f9ac 01:28:47 % Total % Received % Xferd Average Speed Time Time Time Current 01:28:47 Dload Upload Total Spent Left Speed 01:28:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14946 --:--:-- --:--:-- --:--:-- 14873 100 3049 0 0 100 3049 0 13199 --:--:-- --:--:-- --:--:-- 13142 01:28:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a02a67ec64bf414f97b5f4dd0cc2863e74c61032 [Pipeline] } 01:28:47 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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:28:50 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives ] 01:28:50 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives 01:28:50 total 16 01:28:50 drwxr-xr-x 3 root root 4096 Oct 2 01:16 . 01:28:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 01:16 .. 01:28:50 drwxr-xr-x 2 root root 4096 Oct 2 01:16 cost 01:28:50 -rw-r--r-- 1 root root 86 Oct 2 01:16 cost.csv 01:28:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives 01:28:50 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives 01:28:50 total 16 01:28:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 01:16 . 01:28:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 01:16 .. 01:28:50 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 01:16 cost 01:28:50 -rw-r--r-- 1 jenkins jenkins 86 Oct 2 01:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:28:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:28:51 ---> package-listing.sh 01:28:51 ++ facter osfamily 01:28:51 ++ tr '[:upper:]' '[:lower:]' 01:28:51 + OS_FAMILY=debian 01:28:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-694 01:28:51 + START_PACKAGES=/tmp/packages_start.txt 01:28:51 + END_PACKAGES=/tmp/packages_end.txt 01:28:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:28:51 + PACKAGES=/tmp/packages_start.txt 01:28:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-694 ']' 01:28:51 + PACKAGES=/tmp/packages_end.txt 01:28:51 + case "${OS_FAMILY}" in 01:28:51 + dpkg -l 01:28:51 + grep '^ii' 01:28:51 + '[' -f /tmp/packages_start.txt ']' 01:28:51 + '[' -f /tmp/packages_end.txt ']' 01:28:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:28:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-694 ']' 01:28:51 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives/ 01:28:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-694/archives/ [Pipeline] echo 01:28:51 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-694/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:28:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:52 prd-ubuntu20.04-docker-8c-8g-12545 does not seem to be running inside a container 01:28:52 $ 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-694/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-694 -v /w/workspace/gexfoundry_device-mqtt-go_PR-694:/w/workspace/gexfoundry_device-mqtt-go_PR-694:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-694@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:28:52 $ docker top d41805fdb7d4ede323b669dacff775af01b6ccc8d6dac59318555b3ec7038928 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:53 + touch /tmp/pre-build-complete [Pipeline] sh 01:28:53 + mkdir -p /var/log/sysstat [Pipeline] sh 01:28:54 + ls /var/log/sa-host 01:28:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:54 provisioning config files... 01:28:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-694@tmp/config2679851900467957120tmp [Pipeline] { [Pipeline] echo 01:28:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:28:54 ---> create-netrc.sh [Pipeline] } 01:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:28:55 ---> python-tools-install.sh [Pipeline] echo 01:28:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:28:55 ---> sudo-logs.sh 01:28:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:28:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:28:56 ---> job-cost.sh 01:28:56 lf-activate-venv: SKIPPING 01:28:56 DEBUG: total: 0.2199999988079071 01:28:56 INFO: Retrieving Stack Cost... 01:28:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:56 INFO: Archiving Costs [Pipeline] echo 01:28:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:28:57 ---> logs-deploy.sh 01:28:57 lf-activate-venv: SKIPPING 01:28:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-694/1 01:28:57 INFO: archiving workspace using pattern(s): 01:28:58 Archives upload complete. 01:28:58 INFO: archiving logs to Nexus 01:28:59 ---> uname -a: 01:28:59 Linux prd-ubuntu20-04-docker-8c-8g-12545 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:28:59 01:28:59 01:28:59 ---> lscpu: 01:28:59 Architecture: x86_64 01:28:59 CPU op-mode(s): 32-bit, 64-bit 01:28:59 Byte Order: Little Endian 01:28:59 Address sizes: 40 bits physical, 48 bits virtual 01:28:59 CPU(s): 8 01:28:59 On-line CPU(s) list: 0-7 01:28:59 Thread(s) per core: 1 01:28:59 Core(s) per socket: 1 01:28:59 Socket(s): 8 01:28:59 NUMA node(s): 1 01:28:59 Vendor ID: AuthenticAMD 01:28:59 CPU family: 23 01:28:59 Model: 49 01:28:59 Model name: AMD EPYC-Rome Processor 01:28:59 Stepping: 0 01:28:59 CPU MHz: 2799.998 01:28:59 BogoMIPS: 5599.99 01:28:59 Virtualization: AMD-V 01:28:59 Hypervisor vendor: KVM 01:28:59 Virtualization type: full 01:28:59 L1d cache: 256 KiB 01:28:59 L1i cache: 256 KiB 01:28:59 L2 cache: 4 MiB 01:28:59 L3 cache: 128 MiB 01:28:59 NUMA node0 CPU(s): 0-7 01:28:59 Vulnerability Itlb multihit: Not affected 01:28:59 Vulnerability L1tf: Not affected 01:28:59 Vulnerability Mds: Not affected 01:28:59 Vulnerability Meltdown: Not affected 01:28:59 Vulnerability Mmio stale data: Not affected 01:28:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:28:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:28:59 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:28:59 Vulnerability Srbds: Not affected 01:28:59 Vulnerability Tsx async abort: Not affected 01:28:59 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:28:59 01:28:59 01:28:59 ---> nproc: 01:28:59 8 01:28:59 01:28:59