Pull request #1573 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c020589200711f14ff7174cb813a2f3d169bed73+decf7a4867f03271291a6465384c5ba130c9fec8 (ef3dc372280d26ea96b21804d95fb501bfe9a5fb) 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-ssh16577792461325645658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14403748201327845066.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1573/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-sdk-go/branches/PR-1573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh244958670906508316.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-sdk-go/branches/PR-1573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1305839995370136341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12672659849426502787.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-sdk-go/branches/PR-1573/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-sdk-go/branches/PR-1573/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9499525468087756164.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2528 in /w/workspace/gexfoundry_device-sdk-go_PR-1573 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1573 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit c020589200711f14ff7174cb813a2f3d169bed73 Merge succeeded, producing c020589200711f14ff7174cb813a2f3d169bed73 Checking out Revision c020589200711f14ff7174cb813a2f3d169bed73 (PR-1573) Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1573/head:refs/remotes/origin/PR-1573 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # 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 decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:21:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:21:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:21:19 ========================================================= 04:21:19 EdgeX Global Pipelines Version Info 04:21:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:21:20 ------------------- 04:21:20 stable info: 04:21:20 ------------------- 04:21:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:21:20 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:21:20 Message: update stable to v1.0.258 04:21:21 ------------------- 04:21:21 experimental info: 04:21:21 ------------------- 04:21:21 Commited By: **** collab-it+edgex@linuxfoundation.org 04:21:21 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:21:21 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1573 [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1573 [Pipeline] echo 04:21:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1573 [Pipeline] echo 04:21:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo 04:21:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c020589 [Pipeline] echo 04:21:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:23 provisioning config files... 04:21:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config5053157536664124954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:23 ---> ****-login.sh 04:21:23 nexus3.edgexfoundry.org:10001 04:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:23 Configure a credential helper to remove this warning. See 04:21:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:23 04:21:23 Login Succeeded 04:21:23 nexus3.edgexfoundry.org:10002 04:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:24 Configure a credential helper to remove this warning. See 04:21:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:24 04:21:24 Login Succeeded 04:21:24 nexus3.edgexfoundry.org:10003 04:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:24 Configure a credential helper to remove this warning. See 04:21:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:24 04:21:24 Login Succeeded 04:21:24 nexus3.edgexfoundry.org:10004 04:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:24 Configure a credential helper to remove this warning. See 04:21:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:24 04:21:24 Login Succeeded 04:21:24 ****.io 04:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:24 Configure a credential helper to remove this warning. See 04:21:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:24 04:21:24 Login Succeeded 04:21:24 ---> ****-login.sh ends [Pipeline] } 04:21:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:21:25 + git rev-list -1 --merges c020589200711f14ff7174cb813a2f3d169bed73~1..c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo 04:21:25 -----------> git rev-list -1 --merges c020589200711f14ff7174cb813a2f3d169bed73~1..c020589200711f14ff7174cb813a2f3d169bed73 c020589200711f14ff7174cb813a2f3d169bed73 [false] [Pipeline] sh 04:21:25 + git log --format=format:%s -1 c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo 04:21:25 ========================================================= 04:21:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:21:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:26 + git log --format=format:%s -1 c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo 04:21:26 [semverPrep] GIT_COMMIT: c020589200711f14ff7174cb813a2f3d169bed73, Commit Message: build(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0 [Pipeline] echo 04:21:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:21:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:21:26 + grep -v github /etc/ssh/ssh_known_hosts 04:21:26 + [ -e /tmp/ssh_known_hosts ] 04:21:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:21:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:21:26 + sudo tee -a /etc/ssh/ssh_known_hosts 04:21:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:21:27 04:21:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:21:27 0.1.4: Pulling from edgex-devops/py-git-semver 04:21:27 b85a868b505f: Pulling fs layer 04:21:27 e2be974225ed: Pulling fs layer 04:21:27 339a4e72a1f5: Pulling fs layer 04:21:27 988bab9f4d93: Pulling fs layer 04:21:27 1469e6f7b9e6: Pulling fs layer 04:21:27 eaf3925da568: Pulling fs layer 04:21:27 bab4dde63d76: Pulling fs layer 04:21:27 bde34c3a00c8: Pulling fs layer 04:21:27 b352a97aabf1: Pulling fs layer 04:21:27 4872d77fe225: Pulling fs layer 04:21:27 5851b861e8e6: Pulling fs layer 04:21:27 988bab9f4d93: Waiting 04:21:27 1469e6f7b9e6: Waiting 04:21:27 eaf3925da568: Waiting 04:21:27 bab4dde63d76: Waiting 04:21:27 b352a97aabf1: Waiting 04:21:27 4872d77fe225: Waiting 04:21:27 5851b861e8e6: Waiting 04:21:27 bde34c3a00c8: Waiting 04:21:27 988bab9f4d93: Verifying Checksum 04:21:27 988bab9f4d93: Download complete 04:21:27 1469e6f7b9e6: Verifying Checksum 04:21:27 1469e6f7b9e6: Download complete 04:21:27 eaf3925da568: Download complete 04:21:27 339a4e72a1f5: Verifying Checksum 04:21:27 339a4e72a1f5: Download complete 04:21:27 bde34c3a00c8: Verifying Checksum 04:21:27 bde34c3a00c8: Download complete 04:21:27 b352a97aabf1: Verifying Checksum 04:21:27 b352a97aabf1: Download complete 04:21:27 4872d77fe225: Verifying Checksum 04:21:27 4872d77fe225: Download complete 04:21:27 5851b861e8e6: Verifying Checksum 04:21:27 5851b861e8e6: Download complete 04:21:27 b85a868b505f: Download complete 04:21:28 bab4dde63d76: Verifying Checksum 04:21:28 bab4dde63d76: Download complete 04:21:29 b85a868b505f: Pull complete 04:21:29 e2be974225ed: Pull complete 04:21:29 339a4e72a1f5: Pull complete 04:21:29 988bab9f4d93: Pull complete 04:21:30 1469e6f7b9e6: Pull complete 04:21:30 eaf3925da568: Pull complete 04:21:31 bab4dde63d76: Pull complete 04:21:31 bde34c3a00c8: Pull complete 04:21:31 b352a97aabf1: Pull complete 04:21:31 4872d77fe225: Pull complete 04:21:31 5851b861e8e6: Pull complete 04:21:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:21:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:32 prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container 04:21:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 04:21:35 $ docker top c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 -eo pid,comm 04:21:35 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). 04:21:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:21:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:21:36 [ssh-agent] Looking for ssh-agent implementation... 04:21:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:21:36 $ docker exec c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent 04:21:36 SSH_AUTH_SOCK=/tmp/ssh-O9FiDGx3MKav/agent.32 04:21:36 SSH_AGENT_PID=38 04:21:36 Running ssh-add (command line suppressed) 04:21:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_3698810404846316625.key (/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_3698810404846316625.key) 04:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:21:36 + git tag --points-at HEAD [Pipeline] } 04:21:36 $ docker exec --env ******** --env ******** c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent -k 04:21:36 unset SSH_AUTH_SOCK; 04:21:36 unset SSH_AGENT_PID; 04:21:36 echo Agent pid 38 killed; 04:21:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:21:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:21:37 [ssh-agent] Looking for ssh-agent implementation... 04:21:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:21:37 $ docker exec c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent 04:21:37 SSH_AUTH_SOCK=/tmp/ssh-0Cjh5rpD4sIY/agent.72 04:21:37 SSH_AGENT_PID=78 04:21:37 Running ssh-add (command line suppressed) 04:21:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_4177772517570522540.key (/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_4177772517570522540.key) 04:21:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:21:37 + git semver init 04:21:38 2024-04-16 04:21:37,952 [run_init] DEBUG init version:0.0.0 force:False 04:21:38 2024-04-16 04:21:37,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver 04:21:38 2024-04-16 04:21:37,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver 04:21:38 2024-04-16 04:21:37,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573, universal_newlines=False, shell=None, istream=None) 04:21:39 2024-04-16 04:21:39,295 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.git/info/exclude 04:21:39 2024-04-16 04:21:39,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 with force:False 04:21:39 2024-04-16 04:21:39,295 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 04:21:39 2024-04-16 04:21:39,299 [execute] INFO git cat-file --batch-check 04:21:39 2024-04-16 04:21:39,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver, universal_newlines=False, shell=None, istream=) 04:21:39 2024-04-16 04:21:39,305 [execute] INFO git cat-file --batch 04:21:39 2024-04-16 04:21:39,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver, universal_newlines=False, shell=None, istream=) 04:21:39 2024-04-16 04:21:39,309 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 04:21:39 0.0.0 [Pipeline] } 04:21:39 $ docker exec --env ******** --env ******** c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent -k 04:21:39 unset SSH_AUTH_SOCK; 04:21:39 unset SSH_AGENT_PID; 04:21:39 echo Agent pid 78 killed; 04:21:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:21:39 + git semver [Pipeline] } 04:21:40 $ docker stop --time=1 c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 04:21:41 $ docker rm -f --volumes c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:21:42 Stashed 1 file(s) [Pipeline] echo 04:21:42 [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 04:21:42 provisioning config files... 04:21:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config7311248237320421570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:43 ---> ****-login.sh 04:21:43 nexus3.edgexfoundry.org:10001 04:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:43 Configure a credential helper to remove this warning. See 04:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:43 04:21:43 Login Succeeded 04:21:43 nexus3.edgexfoundry.org:10002 04:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:43 Configure a credential helper to remove this warning. See 04:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:43 04:21:43 Login Succeeded 04:21:43 nexus3.edgexfoundry.org:10003 04:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:43 Configure a credential helper to remove this warning. See 04:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:43 04:21:43 Login Succeeded 04:21:43 nexus3.edgexfoundry.org:10004 04:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:43 Configure a credential helper to remove this warning. See 04:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:43 04:21:43 Login Succeeded 04:21:43 ****.io 04:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:43 Configure a credential helper to remove this warning. See 04:21:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:43 04:21:43 Login Succeeded 04:21:43 ---> ****-login.sh ends [Pipeline] } 04:21:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:21:44 ========================================================= 04:21:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:21:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:44 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:21:44 Sending build context to Docker daemon 22.13MB 04:21:44 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:21:44 Step 2/10 : FROM ${BASE} AS builder 04:21:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:21:44 7264a8db6415: Pulling fs layer 04:21:44 c4d48a809fc2: Pulling fs layer 04:21:44 4f1c88b9dad5: Pulling fs layer 04:21:44 ad3a456e5733: Pulling fs layer 04:21:44 69c7f0334f64: Pulling fs layer 04:21:44 1f1c1a5573a3: Pulling fs layer 04:21:44 ce7588e14bc9: Pulling fs layer 04:21:44 b5e4710f87ac: Pulling fs layer 04:21:44 ad3a456e5733: Waiting 04:21:44 69c7f0334f64: Waiting 04:21:44 ce7588e14bc9: Waiting 04:21:44 b5e4710f87ac: Waiting 04:21:44 c4d48a809fc2: Verifying Checksum 04:21:44 c4d48a809fc2: Download complete 04:21:44 ad3a456e5733: Verifying Checksum 04:21:44 ad3a456e5733: Download complete 04:21:44 69c7f0334f64: Verifying Checksum 04:21:44 69c7f0334f64: Download complete 04:21:44 7264a8db6415: Verifying Checksum 04:21:44 7264a8db6415: Download complete 04:21:44 1f1c1a5573a3: Verifying Checksum 04:21:44 1f1c1a5573a3: Download complete 04:21:44 7264a8db6415: Pull complete 04:21:45 b5e4710f87ac: Verifying Checksum 04:21:45 b5e4710f87ac: Download complete 04:21:45 c4d48a809fc2: Pull complete 04:21:45 4f1c88b9dad5: Verifying Checksum 04:21:45 4f1c88b9dad5: Download complete 04:21:45 ce7588e14bc9: Verifying Checksum 04:21:45 ce7588e14bc9: Download complete 04:21:48 4f1c88b9dad5: Pull complete 04:21:48 ad3a456e5733: Pull complete 04:21:48 69c7f0334f64: Pull complete 04:21:48 1f1c1a5573a3: Pull complete 04:21:50 ce7588e14bc9: Pull complete 04:21:51 b5e4710f87ac: Pull complete 04:21:51 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:21:51 ---> 88b5674ff536 04:21:51 Step 3/10 : ARG MAKE=make build 04:21:57 Still waiting to schedule task 04:21:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:21:57 ---> Running in 4e3d530bfd40 04:21:57 Removing intermediate container 4e3d530bfd40 04:21:57 ---> 5c52529448e2 04:21:57 Step 4/10 : WORKDIR /device-sdk-go 04:21:57 ---> Running in b07f787d5595 04:21:57 Removing intermediate container b07f787d5595 04:21:57 ---> 967c4912608f 04:21:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:21:57 ---> Running in a88fe2a91e99 04:21:57 Removing intermediate container a88fe2a91e99 04:21:57 ---> 5225ef6e0938 04:21:57 Step 6/10 : RUN apk add --update --no-cache make git 04:21:57 ---> Running in c2a3c97a550c 04:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:21:57 OK: 264 MiB in 52 packages 04:21:58 Removing intermediate container c2a3c97a550c 04:21:58 ---> 71df01c25f41 04:21:58 Step 7/10 : COPY go.mod vendor* ./ 04:21:58 ---> 949c1ada59e3 04:21:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:58 ---> Running in 7fcc8842c858 04:23:06 Removing intermediate container 7fcc8842c858 04:23:06 ---> efcf17fd032c 04:23:06 Step 9/10 : COPY . . 04:23:06 ---> 9159e4ed880e 04:23:06 Step 10/10 : RUN ${MAKE} 04:23:06 ---> Running in 487705c6e294 04:23:06 noop 04:23:07 Removing intermediate container 487705c6e294 04:23:07 ---> ad1ffc3a6639 04:23:07 Successfully built ad1ffc3a6639 04:23:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:07 + docker inspect -f . ci-base-image-x86_64 04:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:07 prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container 04:23:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 04:23:08 $ docker top 2decdb695216ca8151f8863cb409535c3cb1a99def91a598f2604d228531f23f -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:08 + go version 04:23:08 go version go1.21.0 linux/amd64 [Pipeline] } 04:23:08 $ docker stop --time=1 2decdb695216ca8151f8863cb409535c3cb1a99def91a598f2604d228531f23f 04:23:09 $ docker rm -f --volumes 2decdb695216ca8151f8863cb409535c3cb1a99def91a598f2604d228531f23f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:10 + docker inspect -f . ci-base-image-x86_64 04:23:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:10 prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container 04:23:10 $ 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-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 04:23:11 $ docker top c2a140c01fe15441bfcdb75bf76570f0bc7482b885f9af79da711834c425d0b4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1573 [Pipeline] fileExists [Pipeline] sh 04:23:11 + make test 04:23:11 go test -race -coverprofile=coverage.out ./... 04:23:18 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:23:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2529 in /w/workspace/gexfoundry_device-sdk-go_PR-1573 [Pipeline] { [Pipeline] ws 04:23:33 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:23:33 The recommended git tool is: git 04:23:40 using credential edgex-jenkins-ssh 04:23:40 Cloning the remote Git repository 04:23:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:23:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:23:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:23:41 > git --version # timeout=10 04:23:41 > git --version # 'git version 2.25.1' 04:23:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:23:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:46 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit c020589200711f14ff7174cb813a2f3d169bed73 04:23:46 Merge succeeded, producing c020589200711f14ff7174cb813a2f3d169bed73 04:23:46 Checking out Revision c020589200711f14ff7174cb813a2f3d169bed73 (PR-1573) 04:23:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:23:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:23:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1573/head:refs/remotes/origin/PR-1573 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:23:46 > git config core.sparsecheckout # timeout=10 04:23:46 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 04:23:46 > git remote # timeout=10 04:23:46 > git config --get remote.origin.url # timeout=10 04:23:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:46 > git merge decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 04:23:46 > git rev-parse HEAD^{commit} # timeout=10 04:23:46 > git config core.sparsecheckout # timeout=10 04:23:46 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 04:23:47 Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" 04:23:47 > git --version # timeout=10 04:23:47 > git --version # 'git version 2.25.1' 04:23:47 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:23:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 27.6% of statements 04:23:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:23:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:23:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements 04:23:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:23:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:23:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:23:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:52 Dload Upload Total Spent Left Speed 04:23:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 04:23:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:23:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.125s coverage: 71.8% of statements 04:23:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:23:52 + sudo tee /etc/docker/daemon.new 04:23:52 { 04:23:52 "registry-mirrors": [ 04:23:52 "https://nexus3.edgexfoundry.org:10001" 04:23:52 ], 04:23:52 "bip": "10.250.0.254/24", 04:23:52 "hosts": [ 04:23:52 "tcp://0.0.0.0:5555", 04:23:52 "unix:///var/run/docker.sock" 04:23:52 ], 04:23:52 "mtu": 1458, 04:23:52 "selinux-enabled": true, 04:23:52 "seccomp-profile": "/etc/docker/seccomp.json" 04:23:52 } [Pipeline] sh 04:23:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:23:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:23:53 + sudo service docker restart 04:23:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements 04:23:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.714s coverage: 45.9% of statements 04:23:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements 04:23:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.170s coverage: 89.2% of statements 04:23:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.187s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:11 provisioning config files... 04:24:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3839169026698252834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:12 ---> ****-login.sh 04:24:12 nexus3.edgexfoundry.org:10001 04:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:12 Configure a credential helper to remove this warning. See 04:24:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:12 04:24:12 Login Succeeded 04:24:12 nexus3.edgexfoundry.org:10002 04:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:13 Configure a credential helper to remove this warning. See 04:24:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:13 04:24:13 Login Succeeded 04:24:13 nexus3.edgexfoundry.org:10003 04:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:13 Configure a credential helper to remove this warning. See 04:24:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:13 04:24:13 Login Succeeded 04:24:13 nexus3.edgexfoundry.org:10004 04:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:14 Configure a credential helper to remove this warning. See 04:24:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:14 04:24:14 Login Succeeded 04:24:14 ****.io 04:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:14 Configure a credential helper to remove this warning. See 04:24:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:14 04:24:14 Login Succeeded 04:24:14 ---> ****-login.sh ends [Pipeline] } 04:24:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:15 ========================================================= 04:24:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:24:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:15 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:24:16 Sending build context to Docker daemon 11.47MB 04:24:16 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:24:16 Step 2/10 : FROM ${BASE} AS builder 04:24:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:24:16 9fda8d8052c6: Pulling fs layer 04:24:16 5d54e960e981: Pulling fs layer 04:24:16 c4a7e357bf2a: Pulling fs layer 04:24:16 f0e02332f6b5: Pulling fs layer 04:24:16 872ee5b61b7b: Pulling fs layer 04:24:16 0c6a40ed1a82: Pulling fs layer 04:24:16 94ae7d8d031c: Pulling fs layer 04:24:16 f0e02332f6b5: Waiting 04:24:16 872ee5b61b7b: Waiting 04:24:16 0c6a40ed1a82: Waiting 04:24:16 94ae7d8d031c: Waiting 04:24:16 5d54e960e981: Verifying Checksum 04:24:16 5d54e960e981: Download complete 04:24:16 f0e02332f6b5: Verifying Checksum 04:24:16 f0e02332f6b5: Download complete 04:24:16 872ee5b61b7b: Verifying Checksum 04:24:16 872ee5b61b7b: Download complete 04:24:16 9fda8d8052c6: Verifying Checksum 04:24:16 9fda8d8052c6: Download complete 04:24:17 94ae7d8d031c: Verifying Checksum 04:24:17 94ae7d8d031c: Download complete 04:24:17 9fda8d8052c6: Pull complete 04:24:17 5d54e960e981: Pull complete 04:24:18 c4a7e357bf2a: Verifying Checksum 04:24:18 c4a7e357bf2a: Download complete 04:24:19 0c6a40ed1a82: Download complete 04:24:27 GO111MODULE=on go vet ./... 04:24:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:30 ./bin/test-attribution-txt.sh 04:24:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:24:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:24:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:24:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:24:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:24:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:24:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:24:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:24:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:24:30 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 04:24:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:24:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:24:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:24:30 $ docker stop --time=1 c2a140c01fe15441bfcdb75bf76570f0bc7482b885f9af79da711834c425d0b4 04:24:31 c4a7e357bf2a: Pull complete 04:24:31 f0e02332f6b5: Pull complete 04:24:31 872ee5b61b7b: Pull complete 04:24:37 $ docker rm -f --volumes c2a140c01fe15441bfcdb75bf76570f0bc7482b885f9af79da711834c425d0b4 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:39 + ls -al . 04:24:39 total 376 04:24:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 04:23 . 04:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:21 .. 04:24:39 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 04:21 .dockerignore 04:24:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 04:23 .git 04:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:21 .github 04:24:39 -rw-rw-r-- 1 jenkins jenkins 137 Apr 16 04:21 .gitignore 04:24:39 -rw-rw-r-- 1 jenkins jenkins 42 Apr 16 04:21 .golangci.yml 04:24:39 drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 04:21 .semver 04:24:39 -rw-rw-r-- 1 jenkins jenkins 48109 Apr 16 04:21 CHANGELOG.md 04:24:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 04:21 GOVERNANCE.md 04:24:39 -rw-rw-r-- 1 jenkins jenkins 885 Apr 16 04:21 Jenkinsfile 04:24:39 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 04:21 LICENSE 04:24:39 -rw-rw-r-- 1 jenkins jenkins 1842 Apr 16 04:21 Makefile 04:24:39 -rw-rw-r-- 1 jenkins jenkins 619 Apr 16 04:21 OWNERS.md 04:24:39 -rw-rw-r-- 1 jenkins jenkins 4933 Apr 16 04:21 README.md 04:24:39 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 04:21 VERSION 04:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:21 bin 04:24:39 -rw-r--r-- 1 jenkins jenkins 122153 Apr 16 04:23 coverage.out 04:24:39 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 04:21 example 04:24:39 -rw-rw-r-- 1 jenkins jenkins 7070 Apr 16 04:21 go.mod 04:24:39 -rw-rw-r-- 1 jenkins jenkins 101288 Apr 16 04:21 go.sum 04:24:39 drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:21 internal 04:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:21 openapi 04:24:39 drwxrwxr-x 6 jenkins jenkins 4096 Apr 16 04:21 pkg 04:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:21 snap 04:24:39 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:39 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c020589200711f14ff7174cb813a2f3d169bed73 --label arch=amd64 --label version=0.0.0 . 04:24:39 Sending build context to Docker daemon 22.25MB 04:24:39 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:24:39 Step 2/23 : FROM ${BASE} AS builder 04:24:39 ---> ad1ffc3a6639 04:24:39 Step 3/23 : ARG MAKE=make build 04:24:39 0c6a40ed1a82: Pull complete 04:24:40 ---> Running in d0537893a74e 04:24:40 Removing intermediate container d0537893a74e 04:24:40 ---> 577bfc7c75a1 04:24:40 Step 4/23 : WORKDIR /device-sdk-go 04:24:40 ---> Running in 7cb4a54c719f 04:24:40 Removing intermediate container 7cb4a54c719f 04:24:40 ---> 873bd33b2ae3 04:24:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:24:40 ---> Running in 636a789fc30a 04:24:40 Removing intermediate container 636a789fc30a 04:24:40 ---> 5518338e40e5 04:24:40 Step 6/23 : RUN apk add --update --no-cache make git 04:24:40 ---> Running in e060ec01ac8b 04:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:24:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:24:41 94ae7d8d031c: Pull complete 04:24:41 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:24:41 ---> 86de565de09d 04:24:41 Step 3/10 : ARG MAKE=make build 04:24:41 OK: 264 MiB in 52 packages 04:24:41 Removing intermediate container e060ec01ac8b 04:24:41 ---> 47c91bf74ee7 04:24:41 Step 7/23 : COPY go.mod vendor* ./ 04:24:41 ---> 493a18da4660 04:24:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:41 ---> Running in 3fe7ab09d226 04:24:42 Removing intermediate container 3fe7ab09d226 04:24:42 ---> f846b6791285 04:24:42 Step 9/23 : COPY . . 04:24:42 ---> 0965cd7b28a4 04:24:42 Step 10/23 : RUN ${MAKE} 04:24:42 ---> Running in 5e4993273349 04:24:43 ---> Running in 48f5f577e4c1 04:24:43 Removing intermediate container 48f5f577e4c1 04:24:43 ---> 6ff87f6859d2 04:24:43 Step 4/10 : WORKDIR /device-sdk-go 04:24:43 ---> Running in 9b44d03f300e 04:24:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:24:43 Removing intermediate container 9b44d03f300e 04:24:43 ---> b14f24e03d76 04:24:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:24:43 ---> Running in 47aacfc41638 04:24:43 Removing intermediate container 47aacfc41638 04:24:43 ---> fcc5d4a455ae 04:24:43 Step 6/10 : RUN apk add --update --no-cache make git 04:24:43 ---> Running in e2315ff12fbf 04:24:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:24:46 OK: 266 MiB in 52 packages 04:24:47 Removing intermediate container e2315ff12fbf 04:24:47 ---> b91da8f0868d 04:24:47 Step 7/10 : COPY go.mod vendor* ./ 04:24:47 ---> cc9ed0ee7113 04:24:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:47 ---> Running in 9319729fbcf4 04:25:15 Removing intermediate container 5e4993273349 04:25:15 ---> 704749d29524 04:25:15 Step 11/23 : FROM alpine:3.18 04:25:15 3.18: Pulling from library/alpine 04:25:15 619be1103602: Pulling fs layer 04:25:15 619be1103602: Verifying Checksum 04:25:15 619be1103602: Download complete 04:25:15 619be1103602: Pull complete 04:25:15 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:25:15 Status: Downloaded newer image for alpine:3.18 04:25:15 ---> d3782b16ccc9 04:25:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:25:15 ---> Running in d5183cc9fe4b 04:25:15 Removing intermediate container d5183cc9fe4b 04:25:15 ---> 439fd20f0d97 04:25:15 Step 13/23 : RUN apk add --update --no-cache 04:25:15 ---> Running in 62dd320c2760 04:25:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:15 OK: 7 MiB in 15 packages 04:25:15 Removing intermediate container 62dd320c2760 04:25:15 ---> 07c5e0569350 04:25:15 Step 14/23 : WORKDIR / 04:25:15 ---> Running in f6035021ee73 04:25:15 Removing intermediate container f6035021ee73 04:25:15 ---> 6d0647a6b7c3 04:25:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:25:15 ---> 7339e0df3b38 04:25:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:25:15 ---> 0434ddc3ed99 04:25:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:25:15 ---> 8f37ebc124fe 04:25:15 Step 18/23 : EXPOSE 59999 04:25:15 ---> Running in aca7cee02ea4 04:25:15 Removing intermediate container aca7cee02ea4 04:25:15 ---> 1c79ecd56dfe 04:25:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:25:15 ---> Running in 0fccf7f9067a 04:25:15 Removing intermediate container 0fccf7f9067a 04:25:15 ---> dd189f825fcb 04:25:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:25:15 ---> Running in 9a7db9eca936 04:25:15 Removing intermediate container 9a7db9eca936 04:25:15 ---> aeb2ac02bdc8 04:25:15 Step 21/23 : LABEL arch=amd64 04:25:15 ---> Running in 1bf8a7532aa8 04:25:15 Removing intermediate container 1bf8a7532aa8 04:25:15 ---> 7b5b602b296d 04:25:15 Step 22/23 : LABEL git_sha=c020589200711f14ff7174cb813a2f3d169bed73 04:25:15 ---> Running in d4054f9189c7 04:25:15 Removing intermediate container d4054f9189c7 04:25:15 ---> 12a6cbbf145f 04:25:15 Step 23/23 : LABEL version=0.0.0 04:25:15 ---> Running in cd2f2f990f43 04:25:15 Removing intermediate container cd2f2f990f43 04:25:15 ---> 0845ee5e870b 04:25:15 [Warning] One or more build-args [ARCH] were not consumed 04:25:15 Successfully built 0845ee5e870b 04:25:15 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:16 04:25:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:16 latest: Pulling from edgex-lftools-log-publisher 04:25:16 5eb5b503b376: Pulling fs layer 04:25:16 5c69ac0246d0: Pulling fs layer 04:25:16 ec43610c2a17: Pulling fs layer 04:25:16 3a2ae6a8a46f: Pulling fs layer 04:25:16 33b1e0a273af: Pulling fs layer 04:25:16 5d3b04190fa2: Pulling fs layer 04:25:16 2f39f015ded8: Pulling fs layer 04:25:16 33b1e0a273af: Waiting 04:25:16 5d3b04190fa2: Waiting 04:25:16 2f39f015ded8: Waiting 04:25:16 3a2ae6a8a46f: Waiting 04:25:16 5c69ac0246d0: Verifying Checksum 04:25:16 5c69ac0246d0: Download complete 04:25:16 3a2ae6a8a46f: Verifying Checksum 04:25:16 3a2ae6a8a46f: Download complete 04:25:16 33b1e0a273af: Verifying Checksum 04:25:16 33b1e0a273af: Download complete 04:25:16 ec43610c2a17: Verifying Checksum 04:25:16 ec43610c2a17: Download complete 04:25:16 5d3b04190fa2: Verifying Checksum 04:25:16 5d3b04190fa2: Download complete 04:25:16 5eb5b503b376: Verifying Checksum 04:25:16 5eb5b503b376: Download complete 04:25:17 2f39f015ded8: Download complete 04:25:17 5eb5b503b376: Pull complete 04:25:17 5c69ac0246d0: Pull complete 04:25:18 ec43610c2a17: Pull complete 04:25:18 3a2ae6a8a46f: Pull complete 04:25:18 33b1e0a273af: Pull complete 04:25:18 5d3b04190fa2: Pull complete 04:25:22 2f39f015ded8: Pull complete 04:25:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:25:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:23 prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container 04:25:23 $ 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-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 04:25:26 $ docker top 3d1935d8245d8e0b1e07727dda18e8aa895039a66413b7a5a187841d617bbce9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:27 ---> job-cost.sh 04:25:27 lf-activate-venv: SKIPPING 04:25:27 INFO: No Stack... 04:25:27 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:28 INFO: Archiving Costs [Pipeline] sh 04:25:28 + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/cost.csv 04:25:28 cut -d, -f6 [Pipeline] lock 04:25:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] 04:25:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] did not exist. Created. 04:25:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:25:28 + echo total: 0.2199999988079071 [Pipeline] stash 04:25:28 Stashed 1 file(s) [Pipeline] } 04:25:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:25:29 $ docker stop --time=1 3d1935d8245d8e0b1e07727dda18e8aa895039a66413b7a5a187841d617bbce9 04:25:30 $ docker rm -f --volumes 3d1935d8245d8e0b1e07727dda18e8aa895039a66413b7a5a187841d617bbce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:39 Removing intermediate container 9319729fbcf4 04:26:39 ---> 4028dffe5cb5 04:26:39 Step 9/10 : COPY . . 04:26:39 ---> 159cbae1959b 04:26:39 Step 10/10 : RUN ${MAKE} 04:26:39 ---> Running in 2b9ce88c1e47 04:26:40 noop 04:26:40 Removing intermediate container 2b9ce88c1e47 04:26:40 ---> 6d09606e04fa 04:26:40 Successfully built 6d09606e04fa 04:26:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:41 + docker inspect -f . ci-base-image-arm64 04:26:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:41 prd-ubuntu20.04-docker-arm64-4c-16g-2529 does not seem to be running inside a container 04:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-arm64 cat 04:26:42 $ docker top 85fa131aea99bd42d2315a5ddc59c5242738006118fc9b91902c239653dd0dbf -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:43 + go version 04:26:43 go version go1.21.0 linux/arm64 [Pipeline] } 04:26:43 $ docker stop --time=1 85fa131aea99bd42d2315a5ddc59c5242738006118fc9b91902c239653dd0dbf 04:26:45 $ docker rm -f --volumes 85fa131aea99bd42d2315a5ddc59c5242738006118fc9b91902c239653dd0dbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:46 + docker inspect -f . ci-base-image-arm64 04:26:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:46 prd-ubuntu20.04-docker-arm64-4c-16g-2529 does not seem to be running inside a container 04:26:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-arm64 cat 04:26:47 $ docker top 6ef4a52b12e06b31b595cd4f21104fc19384c38e3db206be717ee11d4effd051 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:26:49 + make test 04:26:49 go test -race -coverprofile=coverage.out ./... 04:27:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:29:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:29:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:29:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:29:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:29:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:29:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.208s coverage: 27.6% of statements 04:29:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.270s coverage: 81.5% of statements 04:30:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:30:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:30:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.319s coverage: 86.0% of statements 04:30:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:30:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.552s coverage: 71.8% of statements 04:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:30:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.261s coverage: 14.4% of statements 04:30:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.452s coverage: 45.9% of statements 04:30:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.397s coverage: 68.5% of statements 04:30:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.424s coverage: 89.2% of statements 04:30:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:30:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.300s coverage: 5.5% of statements 04:30:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:30:19 GO111MODULE=on go vet ./... 04:33:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:33:26 ./bin/test-attribution-txt.sh 04:33:26 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:33:26 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:33:26 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:33:26 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:33:26 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:33:26 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:33:26 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:33:26 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:33:26 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:33:26 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 04:33:26 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:33:26 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:33:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:33:26 $ docker stop --time=1 6ef4a52b12e06b31b595cd4f21104fc19384c38e3db206be717ee11d4effd051 04:33:28 $ docker rm -f --volumes 6ef4a52b12e06b31b595cd4f21104fc19384c38e3db206be717ee11d4effd051 [Pipeline] // withDockerContainer [Pipeline] sh 04:33:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:31 Warning: overwriting stash ‘coverage-report’ 04:33:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:33:32 + ls -al . 04:33:32 total 372 04:33:32 drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 04:26 . 04:33:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:23 .. 04:33:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 04:23 .dockerignore 04:33:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 04:23 .git 04:33:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:23 .github 04:33:32 -rw-rw-r-- 1 jenkins jenkins 137 Apr 16 04:23 .gitignore 04:33:32 -rw-rw-r-- 1 jenkins jenkins 42 Apr 16 04:23 .golangci.yml 04:33:32 -rw-rw-r-- 1 jenkins jenkins 48109 Apr 16 04:23 CHANGELOG.md 04:33:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 04:23 GOVERNANCE.md 04:33:32 -rw-rw-r-- 1 jenkins jenkins 885 Apr 16 04:23 Jenkinsfile 04:33:32 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 04:23 LICENSE 04:33:32 -rw-rw-r-- 1 jenkins jenkins 1842 Apr 16 04:23 Makefile 04:33:32 -rw-rw-r-- 1 jenkins jenkins 619 Apr 16 04:23 OWNERS.md 04:33:32 -rw-rw-r-- 1 jenkins jenkins 4933 Apr 16 04:23 README.md 04:33:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 04:21 VERSION 04:33:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:23 bin 04:33:32 -rw-r--r-- 1 jenkins jenkins 122154 Apr 16 04:30 coverage.out 04:33:32 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 04:23 example 04:33:32 -rw-rw-r-- 1 jenkins jenkins 7070 Apr 16 04:23 go.mod 04:33:32 -rw-rw-r-- 1 jenkins jenkins 101288 Apr 16 04:23 go.sum 04:33:32 drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:23 internal 04:33:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:23 openapi 04:33:32 drwxrwxr-x 6 jenkins jenkins 4096 Apr 16 04:23 pkg 04:33:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:23 snap 04:33:32 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:33 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c020589200711f14ff7174cb813a2f3d169bed73 --label arch=arm64 --label version=0.0.0 . 04:33:33 Sending build context to Docker daemon 11.6MB 04:33:33 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:33:33 Step 2/23 : FROM ${BASE} AS builder 04:33:33 ---> 6d09606e04fa 04:33:33 Step 3/23 : ARG MAKE=make build 04:33:33 ---> Running in b33ce3d2b7f6 04:33:34 Removing intermediate container b33ce3d2b7f6 04:33:34 ---> 6f894084a849 04:33:34 Step 4/23 : WORKDIR /device-sdk-go 04:33:34 ---> Running in 04b95c8c0b02 04:33:34 Removing intermediate container 04b95c8c0b02 04:33:34 ---> 716a244eb123 04:33:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:33:34 ---> Running in f21fb8977b0b 04:33:34 Removing intermediate container f21fb8977b0b 04:33:34 ---> 03e18bcd0e9a 04:33:34 Step 6/23 : RUN apk add --update --no-cache make git 04:33:34 ---> Running in aa50ef5a9068 04:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:33:37 OK: 266 MiB in 52 packages 04:33:38 Removing intermediate container aa50ef5a9068 04:33:38 ---> f8a4c8eba0cc 04:33:38 Step 7/23 : COPY go.mod vendor* ./ 04:33:38 ---> 0f0cedbf2d3a 04:33:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:38 ---> Running in 17b2503a4929 04:33:41 Removing intermediate container 17b2503a4929 04:33:41 ---> 33383411cd2b 04:33:41 Step 9/23 : COPY . . 04:33:42 ---> 2f11e666efb5 04:33:42 Step 10/23 : RUN ${MAKE} 04:33:42 ---> Running in a62c074c43d4 04:33:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:36:35 Removing intermediate container a62c074c43d4 04:36:35 ---> d5d5ccd9f9eb 04:36:35 Step 11/23 : FROM alpine:3.18 04:36:35 3.18: Pulling from library/alpine 04:36:35 c6b39de5b339: Pulling fs layer 04:36:35 c6b39de5b339: Verifying Checksum 04:36:35 c6b39de5b339: Download complete 04:36:35 c6b39de5b339: Pull complete 04:36:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:36:35 Status: Downloaded newer image for alpine:3.18 04:36:35 ---> 33abbf032149 04:36:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:36:35 ---> Running in d4fe345e23b7 04:36:35 Removing intermediate container d4fe345e23b7 04:36:35 ---> c6f2ecaf0382 04:36:35 Step 13/23 : RUN apk add --update --no-cache 04:36:35 ---> Running in 1231368f63d6 04:36:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:36:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:36:35 OK: 8 MiB in 15 packages 04:36:35 Removing intermediate container 1231368f63d6 04:36:35 ---> d29f5c5f12d4 04:36:35 Step 14/23 : WORKDIR / 04:36:35 ---> Running in 28b6bc128ceb 04:36:35 Removing intermediate container 28b6bc128ceb 04:36:35 ---> 92d4a2d94415 04:36:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:36:35 ---> 550e8d87452b 04:36:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:36:35 ---> 39cb81a5e759 04:36:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:36:35 ---> 74b21ed7be98 04:36:35 Step 18/23 : EXPOSE 59999 04:36:35 ---> Running in ca6b7084f84a 04:36:35 Removing intermediate container ca6b7084f84a 04:36:35 ---> ae813fc1535a 04:36:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:36:35 ---> Running in 8e495a252373 04:36:35 Removing intermediate container 8e495a252373 04:36:35 ---> 3f4cb9060b5d 04:36:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:36:35 ---> Running in 3449e267c8d9 04:36:35 Removing intermediate container 3449e267c8d9 04:36:35 ---> e03a9e884172 04:36:35 Step 21/23 : LABEL arch=arm64 04:36:35 ---> Running in 753ddf79dba9 04:36:35 Removing intermediate container 753ddf79dba9 04:36:35 ---> a2ef1fcaf348 04:36:35 Step 22/23 : LABEL git_sha=c020589200711f14ff7174cb813a2f3d169bed73 04:36:35 ---> Running in c55f94a46216 04:36:35 Removing intermediate container c55f94a46216 04:36:35 ---> fcc914ab6f20 04:36:35 Step 23/23 : LABEL version=0.0.0 04:36:35 ---> Running in e58c89e9b737 04:36:35 Removing intermediate container e58c89e9b737 04:36:35 ---> e5690d0e1f93 04:36:35 [Warning] One or more build-args [ARCH] were not consumed 04:36:35 Successfully built e5690d0e1f93 04:36:35 Successfully tagged device-sdk-simple-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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:35 04:36:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:36 arm64: Pulling from edgex-lftools-log-publisher 04:36:36 8998bd30e6a1: Pulling fs layer 04:36:36 04944245beec: Pulling fs layer 04:36:36 699f458cf7ca: Pulling fs layer 04:36:36 765212b225bb: Pulling fs layer 04:36:36 f23df028b6ca: Pulling fs layer 04:36:36 d65c8cfc05b1: Pulling fs layer 04:36:36 2437ff75d9bd: Pulling fs layer 04:36:36 d65c8cfc05b1: Waiting 04:36:36 2437ff75d9bd: Waiting 04:36:36 765212b225bb: Waiting 04:36:36 f23df028b6ca: Waiting 04:36:36 04944245beec: Verifying Checksum 04:36:36 04944245beec: Download complete 04:36:36 765212b225bb: Verifying Checksum 04:36:36 765212b225bb: Download complete 04:36:36 f23df028b6ca: Verifying Checksum 04:36:36 f23df028b6ca: Download complete 04:36:36 d65c8cfc05b1: Verifying Checksum 04:36:36 d65c8cfc05b1: Download complete 04:36:36 699f458cf7ca: Download complete 04:36:37 8998bd30e6a1: Download complete 04:36:39 2437ff75d9bd: Verifying Checksum 04:36:39 2437ff75d9bd: Download complete 04:36:41 8998bd30e6a1: Pull complete 04:36:42 04944245beec: Pull complete 04:36:43 699f458cf7ca: Pull complete 04:36:43 765212b225bb: Pull complete 04:36:44 f23df028b6ca: Pull complete 04:36:45 d65c8cfc05b1: Pull complete 04:37:03 2437ff75d9bd: Pull complete 04:37:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:03 prd-ubuntu20.04-docker-arm64-4c-16g-2529 does not seem to be running inside a container 04:37:03 $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:37:06 $ docker top b7ec9a328440c585ed5e7b1acf71511b2ac6d5c6de47a92c1268314181d1f63c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:07 ---> job-cost.sh 04:37:07 lf-activate-venv: SKIPPING 04:37:07 INFO: No Stack... 04:37:08 INFO: Retrieving Pricing Info for: v3-standard-4 04:37:09 INFO: Archiving Costs [Pipeline] sh 04:37:09 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:37:09 + cut -d, -f6 [Pipeline] lock 04:37:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] 04:37:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] did not exist. Created. 04:37:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:10 /w/workspace/device-sdk-go/1@tmp/durable-a85b758b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:37:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:37:11 Warning: overwriting stash ‘stack-cost’ 04:37:11 Stashed 1 file(s) [Pipeline] } 04:37:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:11 $ docker stop --time=1 b7ec9a328440c585ed5e7b1acf71511b2ac6d5c6de47a92c1268314181d1f63c 04:37:12 $ docker rm -f --volumes b7ec9a328440c585ed5e7b1acf71511b2ac6d5c6de47a92c1268314181d1f63c [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 04:37:14 provisioning config files... 04:37:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config6098142872050937947tmp [Pipeline] { [Pipeline] sh 04:37:14 + set +x 04:37:14 + curl -s https://codecov.io/bash+ 04:37:14 bash -s -- 04:37:14 04:37:14 _____ _ 04:37:14 / ____| | | 04:37:14 | | ___ __| | ___ ___ _____ __ 04:37:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:37:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:37:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:37:14 Bash-1.0.6 04:37:14 04:37:14 04:37:14 ==> git version 2.25.1 found 04:37:14 ==> 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 04:37:14 Release-Date: 2020-01-08 04:37:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:37:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:37:14 ==> Jenkins CI detected. 04:37:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1573 04:37:14 project root: . 04:37:14 --> token set from env 04:37:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:37:14 ==> Running gcov in . (disable via -X gcov) 04:37:14 ==> Python coveragepy not found 04:37:14 ==> Searching for coverage reports in: 04:37:14 + . 04:37:14 -> Found 1 reports 04:37:14 ==> Detecting git/mercurial file structure 04:37:14 ==> Reading reports 04:37:14 + ./coverage.out bytes=122154 04:37:14 ==> Appending adjustments 04:37:14 https://docs.codecov.io/docs/fixing-reports 04:37:14 + Found adjustments 04:37:14 ==> Gzipping contents 04:37:14 20K /tmp/codecov.wqlG7j.gz 04:37:14 ==> Uploading reports 04:37:14 url: https://codecov.io 04:37:14 query: branch=PR-1573&commit=c020589200711f14ff7174cb813a2f3d169bed73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1573&job=&cmd_args= 04:37:14 -> Pinging Codecov 04:37:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1573&commit=c020589200711f14ff7174cb813a2f3d169bed73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1573&job=&cmd_args= 04:37:15 -> Uploading to 04:37:15 https://storage.googleapis.com/codecov/v4/raw/2024-04-16/7E55EF52A471D76F132DFD9A03CDDE97/c020589200711f14ff7174cb813a2f3d169bed73/9020852c-68ed-4f5f-a605-47c61ee2ffbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240416T043714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fc49d7bd0f0f4d576c527f27b7f59bddf84db5e45d894ee2af8f30b601eb532 04:37:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:15 Dload Upload Total Spent Left Speed 04:37:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16712 0 0 100 16712 0 56269 --:--:-- --:--:-- --:--:-- 56269 04:37:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] } 04:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:37:17 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives ] 04:37:17 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives 04:37:17 total 16 04:37:17 drwxr-xr-x 3 root root 4096 Apr 16 04:25 . 04:37:17 drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:25 .. 04:37:17 drwxr-xr-x 2 root root 4096 Apr 16 04:25 cost 04:37:17 -rw-r--r-- 1 root root 86 Apr 16 04:25 cost.csv 04:37:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives 04:37:17 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives 04:37:17 total 16 04:37:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 04:25 . 04:37:17 drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:25 .. 04:37:17 drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 04:25 cost 04:37:17 -rw-r--r-- 1 jenkins jenkins 86 Apr 16 04:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:37:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:37:18 ---> package-listing.sh 04:37:18 ++ facter osfamily 04:37:18 ++ tr '[:upper:]' '[:lower:]' 04:37:18 + OS_FAMILY=debian 04:37:18 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1573 04:37:18 + START_PACKAGES=/tmp/packages_start.txt 04:37:18 + END_PACKAGES=/tmp/packages_end.txt 04:37:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:37:18 + PACKAGES=/tmp/packages_start.txt 04:37:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1573 ']' 04:37:18 + PACKAGES=/tmp/packages_end.txt 04:37:18 + case "${OS_FAMILY}" in 04:37:18 + dpkg -l 04:37:18 + grep '^ii' 04:37:18 + '[' -f /tmp/packages_start.txt ']' 04:37:18 + '[' -f /tmp/packages_end.txt ']' 04:37:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:37:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1573 ']' 04:37:18 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/ 04:37:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/ [Pipeline] echo 04:37:18 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-sdk-go_PR-1573/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:37:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:20 prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container 04:37:20 $ 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-sdk-go_PR-1573/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-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 04:37:20 $ docker top fd74154f371f3ea6ff76d48719598eed34a2037dd5154870117f1cfd725476f1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:20 + touch /tmp/pre-build-complete [Pipeline] sh 04:37:20 + mkdir -p /var/log/sysstat [Pipeline] sh 04:37:21 + ls /var/log/sa-host 04:37:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:21 provisioning config files... 04:37:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config9623394100419382274tmp [Pipeline] { [Pipeline] echo 04:37:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:37:21 ---> create-netrc.sh [Pipeline] } 04:37:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:37:22 ---> python-tools-install.sh [Pipeline] echo 04:37:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:37:22 ---> sudo-logs.sh 04:37:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:37:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:37:23 ---> job-cost.sh 04:37:23 lf-activate-venv: SKIPPING 04:37:23 DEBUG: total: 0.2199999988079071 04:37:23 INFO: Retrieving Stack Cost... 04:37:23 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:24 INFO: Archiving Costs [Pipeline] echo 04:37:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:37:24 ---> logs-deploy.sh 04:37:24 lf-activate-venv: SKIPPING 04:37:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1573/1 04:37:24 INFO: archiving workspace using pattern(s): 04:37:25 Archives upload complete. 04:37:25 INFO: archiving logs to Nexus