Pull request #1595 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 28146908bf0732d49c9d35c53c872abf459317a4+ffc6b2a10374aabd10876c720f3818be68dc531f (ae1c2751ac92711231439a38ade468ff0f2873d7) 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-ssh13567236284924111472.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2389122944807158426.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1595/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-1595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12891624197658260415.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-1595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8236996207208693682.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2083720123704528763.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-1595/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-1595/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3740867842200111498.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 590556114a56c6d90cc8043840e039c2f74196dc 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-5298 in /w/workspace/gexfoundry_device-sdk-go_PR-1595 [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-1595 # 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 > 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/1595/head:refs/remotes/origin/PR-1595 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ffc6b2a10374aabd10876c720f3818be68dc531f into PR head commit 28146908bf0732d49c9d35c53c872abf459317a4 Merge succeeded, producing 28146908bf0732d49c9d35c53c872abf459317a4 Checking out Revision 28146908bf0732d49c9d35c53c872abf459317a4 (PR-1595) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 28146908bf0732d49c9d35c53c872abf459317a4 # 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 ffc6b2a10374aabd10876c720f3818be68dc531f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 28146908bf0732d49c9d35c53c872abf459317a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:24:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:24:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:24:21 ========================================================= 04:24:21 EdgeX Global Pipelines Version Info 04:24:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:24:22 ------------------- 04:24:22 stable info: 04:24:22 ------------------- 04:24:22 Commited By: Ginny Guan ginny@iotechsys.com 04:24:22 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:24:22 Message: update stable to v1.0.260 04:24:22 ------------------- 04:24:22 experimental info: 04:24:22 ------------------- 04:24:22 Commited By: Ginny Guan ginny@iotechsys.com 04:24:22 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:24:22 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:24:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1595 [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1595 [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1595 [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 28146908bf0732d49c9d35c53c872abf459317a4 [Pipeline] echo 04:24:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2814690 [Pipeline] echo 04:24:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:25 provisioning config files... 04:24:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/config12726875618044352495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:25 ---> ****-login.sh 04:24:25 nexus3.edgexfoundry.org:10001 04:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:25 Configure a credential helper to remove this warning. See 04:24:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:25 04:24:25 Login Succeeded 04:24:25 nexus3.edgexfoundry.org:10002 04:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:26 Configure a credential helper to remove this warning. See 04:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:26 04:24:26 Login Succeeded 04:24:26 nexus3.edgexfoundry.org:10003 04:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:26 Configure a credential helper to remove this warning. See 04:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:26 04:24:26 Login Succeeded 04:24:26 nexus3.edgexfoundry.org:10004 04:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:26 Configure a credential helper to remove this warning. See 04:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:26 04:24:26 Login Succeeded 04:24:26 ****.io 04:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:26 Configure a credential helper to remove this warning. See 04:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:26 04:24:26 Login Succeeded 04:24:26 ---> ****-login.sh ends [Pipeline] } 04:24:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:24:27 + git rev-list -1 --merges 28146908bf0732d49c9d35c53c872abf459317a4~1..28146908bf0732d49c9d35c53c872abf459317a4 [Pipeline] echo 04:24:27 -----------> git rev-list -1 --merges 28146908bf0732d49c9d35c53c872abf459317a4~1..28146908bf0732d49c9d35c53c872abf459317a4 28146908bf0732d49c9d35c53c872abf459317a4 [false] [Pipeline] sh 04:24:27 + git log --format=format:%s -1 28146908bf0732d49c9d35c53c872abf459317a4 [Pipeline] echo 04:24:27 ========================================================= 04:24:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:24:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:28 + git log --format=format:%s -1 28146908bf0732d49c9d35c53c872abf459317a4 [Pipeline] echo 04:24:28 [semverPrep] GIT_COMMIT: 28146908bf0732d49c9d35c53c872abf459317a4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:24:28 [semverPrep] This is not a build commit. [Pipeline] sh 04:24:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:24:28 + grep -v github /etc/ssh/ssh_known_hosts 04:24:28 + [ -e /tmp/ssh_known_hosts ] 04:24:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:24:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:24:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:24:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:24:29 04:24:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:24:29 0.1.4: Pulling from edgex-devops/py-git-semver 04:24:29 b85a868b505f: Pulling fs layer 04:24:29 e2be974225ed: Pulling fs layer 04:24:29 339a4e72a1f5: Pulling fs layer 04:24:29 988bab9f4d93: Pulling fs layer 04:24:29 988bab9f4d93: Waiting 04:24:29 1469e6f7b9e6: Pulling fs layer 04:24:29 eaf3925da568: Pulling fs layer 04:24:29 bab4dde63d76: Pulling fs layer 04:24:29 bde34c3a00c8: Pulling fs layer 04:24:29 b352a97aabf1: Pulling fs layer 04:24:29 bab4dde63d76: Waiting 04:24:29 eaf3925da568: Waiting 04:24:29 bde34c3a00c8: Waiting 04:24:29 b352a97aabf1: Waiting 04:24:29 1469e6f7b9e6: Waiting 04:24:29 4872d77fe225: Pulling fs layer 04:24:29 5851b861e8e6: Pulling fs layer 04:24:29 5851b861e8e6: Waiting 04:24:29 4872d77fe225: Waiting 04:24:29 e2be974225ed: Download complete 04:24:29 988bab9f4d93: Download complete 04:24:29 339a4e72a1f5: Verifying Checksum 04:24:29 339a4e72a1f5: Download complete 04:24:29 1469e6f7b9e6: Verifying Checksum 04:24:29 1469e6f7b9e6: Download complete 04:24:29 eaf3925da568: Verifying Checksum 04:24:29 eaf3925da568: Download complete 04:24:29 bde34c3a00c8: Download complete 04:24:29 b352a97aabf1: Verifying Checksum 04:24:29 b352a97aabf1: Download complete 04:24:29 4872d77fe225: Verifying Checksum 04:24:29 4872d77fe225: Download complete 04:24:29 5851b861e8e6: Download complete 04:24:29 b85a868b505f: Verifying Checksum 04:24:29 b85a868b505f: Download complete 04:24:30 bab4dde63d76: Verifying Checksum 04:24:31 b85a868b505f: Pull complete 04:24:31 e2be974225ed: Pull complete 04:24:31 339a4e72a1f5: Pull complete 04:24:31 988bab9f4d93: Pull complete 04:24:32 1469e6f7b9e6: Pull complete 04:24:32 eaf3925da568: Pull complete 04:24:34 bab4dde63d76: Pull complete 04:24:34 bde34c3a00c8: Pull complete 04:24:34 b352a97aabf1: Pull complete 04:24:34 4872d77fe225: Pull complete 04:24:34 5851b861e8e6: Pull complete 04:24:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:24:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:34 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 04:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1595 -v /w/workspace/gexfoundry_device-sdk-go_PR-1595:/w/workspace/gexfoundry_device-sdk-go_PR-1595:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1595@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:24:37 $ docker top 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:24:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:37 [ssh-agent] Looking for ssh-agent implementation... 04:24:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:37 $ docker exec 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 ssh-agent 04:24:37 SSH_AUTH_SOCK=/tmp/ssh-V7vYlh6Hr8qL/agent.32 04:24:37 SSH_AGENT_PID=38 04:24:37 Running ssh-add (command line suppressed) 04:24:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/private_key_16347527447976063797.key (/w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/private_key_16347527447976063797.key) 04:24:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:38 + git tag --points-at HEAD [Pipeline] } 04:24:38 $ docker exec --env ******** --env ******** 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 ssh-agent -k 04:24:38 unset SSH_AUTH_SOCK; 04:24:38 unset SSH_AGENT_PID; 04:24:38 echo Agent pid 38 killed; 04:24:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:24:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:38 [ssh-agent] Looking for ssh-agent implementation... 04:24:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:38 $ docker exec 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 ssh-agent 04:24:38 SSH_AUTH_SOCK=/tmp/ssh-hsFe1XSFhs7A/agent.71 04:24:38 SSH_AGENT_PID=77 04:24:38 Running ssh-add (command line suppressed) 04:24:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/private_key_15155400167257907639.key (/w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/private_key_15155400167257907639.key) 04:24:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:39 + git semver init 04:24:39 2024-07-10 04:24:39,288 [run_init] DEBUG init version:0.0.0 force:False 04:24:39 2024-07-10 04:24:39,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver 04:24:39 2024-07-10 04:24:39,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver 04:24:39 2024-07-10 04:24:39,290 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1595, universal_newlines=False, shell=None, istream=None) 04:24:41 2024-07-10 04:24:41,278 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1595/.git/info/exclude 04:24:41 2024-07-10 04:24:41,278 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver/PR-1595 with force:False 04:24:41 2024-07-10 04:24:41,278 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver/PR-1595 04:24:41 2024-07-10 04:24:41,283 [execute] INFO git cat-file --batch-check 04:24:41 2024-07-10 04:24:41,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver, universal_newlines=False, shell=None, istream=) 04:24:41 2024-07-10 04:24:41,290 [execute] INFO git cat-file --batch 04:24:41 2024-07-10 04:24:41,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver, universal_newlines=False, shell=None, istream=) 04:24:41 2024-07-10 04:24:41,296 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1595/.semver/PR-1595 04:24:41 0.0.0 [Pipeline] } 04:24:41 $ docker exec --env ******** --env ******** 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 ssh-agent -k 04:24:42 unset SSH_AUTH_SOCK; 04:24:42 unset SSH_AGENT_PID; 04:24:42 echo Agent pid 77 killed; 04:24:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:24:42 + git semver [Pipeline] } 04:24:42 $ docker stop --time=1 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 04:24:44 $ docker rm -f --volumes 8ee7ae61ac4f369ff47f3ddffa97748d51ee637a6906d923320a23bbf8a04831 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:24:44 Stashed 1 file(s) [Pipeline] echo 04:24:44 [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:24:45 provisioning config files... 04:24:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/config13682446563942001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:46 ---> ****-login.sh 04:24:46 nexus3.edgexfoundry.org:10001 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 nexus3.edgexfoundry.org:10002 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 nexus3.edgexfoundry.org:10003 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 nexus3.edgexfoundry.org:10004 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 ****.io 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 ---> ****-login.sh ends [Pipeline] } 04:24:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:46 ========================================================= 04:24:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:24:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:47 + 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:24:47 Sending build context to Docker daemon 24.97MB 04:24:47 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:24:47 Step 2/10 : FROM ${BASE} AS builder 04:24:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:24:47 619be1103602: Pulling fs layer 04:24:47 7862e08f4a3e: Pulling fs layer 04:24:47 5df492c9dc93: Pulling fs layer 04:24:47 7629e6793208: Pulling fs layer 04:24:47 4f4fb700ef54: Pulling fs layer 04:24:47 fb5054dd5b73: Pulling fs layer 04:24:47 eeca6798cff9: Pulling fs layer 04:24:47 aa269ceb94a6: Pulling fs layer 04:24:47 ada007ff1a6a: Pulling fs layer 04:24:47 4f4fb700ef54: Waiting 04:24:47 aa269ceb94a6: Waiting 04:24:47 7629e6793208: Waiting 04:24:47 eeca6798cff9: Waiting 04:24:47 ada007ff1a6a: Waiting 04:24:47 7862e08f4a3e: Verifying Checksum 04:24:47 7862e08f4a3e: Download complete 04:24:47 7629e6793208: Download complete 04:24:47 4f4fb700ef54: Download complete 04:24:47 619be1103602: Verifying Checksum 04:24:47 619be1103602: Download complete 04:24:47 fb5054dd5b73: Verifying Checksum 04:24:47 fb5054dd5b73: Download complete 04:24:47 eeca6798cff9: Verifying Checksum 04:24:47 eeca6798cff9: Download complete 04:24:48 ada007ff1a6a: Verifying Checksum 04:24:48 ada007ff1a6a: Download complete 04:24:48 619be1103602: Pull complete 04:24:48 7862e08f4a3e: Pull complete 04:24:48 5df492c9dc93: Verifying Checksum 04:24:48 5df492c9dc93: Download complete 04:24:48 aa269ceb94a6: Verifying Checksum 04:24:48 aa269ceb94a6: Download complete 04:24:51 5df492c9dc93: Pull complete 04:24:51 7629e6793208: Pull complete 04:24:51 4f4fb700ef54: Pull complete 04:24:51 fb5054dd5b73: Pull complete 04:24:51 eeca6798cff9: Pull complete 04:24:53 aa269ceb94a6: Pull complete 04:24:54 ada007ff1a6a: Pull complete 04:24:54 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:24:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:24:54 ---> f489d0715acc 04:24:54 Step 3/10 : ARG MAKE=make build 04:24:58 ---> Running in 5eb119e2a6f3 04:24:58 Removing intermediate container 5eb119e2a6f3 04:24:58 ---> 321b2c338419 04:24:58 Step 4/10 : WORKDIR /device-sdk-go 04:24:58 ---> Running in 0a694b39a882 04:24:58 Removing intermediate container 0a694b39a882 04:24:58 ---> 5edd3732f5e7 04:24:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:24:58 ---> Running in 0680fa145531 04:24:58 Removing intermediate container 0680fa145531 04:24:58 ---> f8f269e5ffd3 04:24:58 Step 6/10 : RUN apk add --update --no-cache make git 04:24:58 ---> Running in 7873f409e0de 04:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:24:58 OK: 264 MiB in 52 packages 04:24:59 Removing intermediate container 7873f409e0de 04:24:59 ---> 661e144c156d 04:24:59 Step 7/10 : COPY go.mod vendor* ./ 04:24:59 ---> ab92f21906bf 04:24:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:59 ---> Running in d7ee981fdd9d 04:25:00 Still waiting to schedule task 04:25:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:25:55 Removing intermediate container d7ee981fdd9d 04:25:55 ---> 97a98e0fa36a 04:25:55 Step 9/10 : COPY . . 04:25:55 ---> 418b9336bbe2 04:25:55 Step 10/10 : RUN ${MAKE} 04:25:55 ---> Running in dc3eeb8750da 04:25:55 noop 04:25:55 Removing intermediate container dc3eeb8750da 04:25:55 ---> 48d3b2cdcdee 04:25:55 Successfully built 48d3b2cdcdee 04:25:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:56 + docker inspect -f . ci-base-image-x86_64 04:25:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:56 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 04:25:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1595 -v /w/workspace/gexfoundry_device-sdk-go_PR-1595:/w/workspace/gexfoundry_device-sdk-go_PR-1595:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1595@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:25:56 $ docker top d69cf94efea0985ef194156a3968ae62e80642b55992d71714d118b8b1fdfc16 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:57 + go version 04:25:57 go version go1.21.9 linux/amd64 [Pipeline] } 04:25:57 $ docker stop --time=1 d69cf94efea0985ef194156a3968ae62e80642b55992d71714d118b8b1fdfc16 04:25:58 $ docker rm -f --volumes d69cf94efea0985ef194156a3968ae62e80642b55992d71714d118b8b1fdfc16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:59 + docker inspect -f . ci-base-image-x86_64 04:25:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:59 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 04:25:59 $ 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-1595 -v /w/workspace/gexfoundry_device-sdk-go_PR-1595:/w/workspace/gexfoundry_device-sdk-go_PR-1595:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1595@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:25:59 $ docker top 32954dea67d7266ae851a7d50097dae3f0995942f97780c87e38f2ce2386ef81 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1595 [Pipeline] fileExists [Pipeline] sh 04:26:00 + make test 04:26:00 go test -race -coverprofile=coverage.out ./... 04:26:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:26:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5299 in /w/workspace/gexfoundry_device-sdk-go_PR-1595 [Pipeline] { [Pipeline] ws 04:26:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:26:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 27.6% of statements 04:26:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 80.0% of statements 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:26:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:26:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.078s coverage: 71.8% of statements 04:26:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:26:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.4% of statements 04:26:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.794s coverage: 44.6% of statements 04:26:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements 04:26:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.088s coverage: 89.2% of statements 04:26:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements 04:26:47 The recommended git tool is: git 04:26:54 using credential edgex-jenkins-ssh 04:26:54 Cloning the remote Git repository 04:26:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:26:54 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:26:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:26:54 > git --version # timeout=10 04:26:54 > git --version # 'git version 2.25.1' 04:26:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:26:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:26:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:26:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1595/head:refs/remotes/origin/PR-1595 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:27:00 Merging remotes/origin/main commit ffc6b2a10374aabd10876c720f3818be68dc531f into PR head commit 28146908bf0732d49c9d35c53c872abf459317a4 04:27:00 Merge succeeded, producing 28146908bf0732d49c9d35c53c872abf459317a4 04:27:00 Checking out Revision 28146908bf0732d49c9d35c53c872abf459317a4 (PR-1595) 04:27:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:27:01 > git --version # timeout=10 04:27:01 > git --version # 'git version 2.25.1' 04:27:01 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 04:27:00 > git config core.sparsecheckout # timeout=10 04:27:00 > git checkout -f 28146908bf0732d49c9d35c53c872abf459317a4 # timeout=10 04:27:00 > git remote # timeout=10 04:27:00 > git config --get remote.origin.url # timeout=10 04:27:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:27:00 > git merge ffc6b2a10374aabd10876c720f3818be68dc531f # timeout=10 04:27:00 > git rev-parse HEAD^{commit} # timeout=10 04:27:00 > git config core.sparsecheckout # timeout=10 04:27:00 > git checkout -f 28146908bf0732d49c9d35c53c872abf459317a4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:27:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:05 Dload Upload Total Spent Left Speed 04:27:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 72886 0 --:--:-- --:--:-- --:--:-- 73302 [Pipeline] sh 04:27:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:27:06 + sudo tee /etc/docker/daemon.new 04:27:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:27:06 { 04:27:06 "registry-mirrors": [ 04:27:06 "https://nexus3.edgexfoundry.org:10001" 04:27:06 ], 04:27:06 "bip": "10.250.0.254/24", 04:27:06 "hosts": [ 04:27:06 "tcp://0.0.0.0:5555", 04:27:06 "unix:///var/run/docker.sock" 04:27:06 ], 04:27:06 "mtu": 1458, 04:27:06 "selinux-enabled": true, 04:27:06 "seccomp-profile": "/etc/docker/seccomp.json" 04:27:06 } [Pipeline] sh 04:27:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:27:07 + sudo service docker restart 04:27:18 GO111MODULE=on go vet ./... 04:27:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:27:20 ./bin/test-attribution-txt.sh 04:27:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:27:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:27:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:27:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:27:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:27:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:27:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:27:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:27:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:27:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:27:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:27:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:27:20 $ docker stop --time=1 32954dea67d7266ae851a7d50097dae3f0995942f97780c87e38f2ce2386ef81 04:27:26 $ docker rm -f --volumes 32954dea67d7266ae851a7d50097dae3f0995942f97780c87e38f2ce2386ef81 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:26 provisioning config files... 04:27:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1683545119798814620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 04:27:27 ---> ****-login.sh 04:27:27 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 04:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:27:27 Configure a credential helper to remove this warning. See 04:27:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:27:27 04:27:27 Login Succeeded 04:27:27 nexus3.edgexfoundry.org:10002 04:27:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:27:28 Configure a credential helper to remove this warning. See 04:27:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:27:28 04:27:28 Login Succeeded 04:27:28 nexus3.edgexfoundry.org:10003 04:27:28 + ls -al . 04:27:28 total 376 04:27:28 drwxrwxr-x 11 jenkins jenkins 4096 Jul 10 04:26 . 04:27:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 04:24 .. 04:27:28 -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 04:24 .dockerignore 04:27:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 04:26 .git 04:27:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 04:24 .github 04:27:28 -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 04:24 .gitignore 04:27:28 -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 04:24 .golangci.yml 04:27:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 04:24 .semver 04:27:28 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 10 04:24 CHANGELOG.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 04:24 GOVERNANCE.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 04:24 Jenkinsfile 04:27:28 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 04:24 LICENSE 04:27:28 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 10 04:24 Makefile 04:27:28 -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 04:24 OWNERS.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 10 04:24 README.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 04:24 VERSION 04:27:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 04:24 bin 04:27:28 -rw-r--r-- 1 jenkins jenkins 122322 Jul 10 04:26 coverage.out 04:27:28 drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 04:24 example 04:27:28 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 10 04:24 go.mod 04:27:28 -rw-rw-r-- 1 jenkins jenkins 101738 Jul 10 04:24 go.sum 04:27:28 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 04:24 internal 04:27:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 04:24 openapi 04:27:28 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 04:24 pkg 04:27:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 04:24 snap 04:27:28 -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 04:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:27:28 Configure a credential helper to remove this warning. See 04:27:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:27:28 04:27:28 Login Succeeded 04:27:28 nexus3.edgexfoundry.org:10004 04:27:28 + 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=28146908bf0732d49c9d35c53c872abf459317a4 --label arch=amd64 --label version=0.0.0 . 04:27:28 Sending build context to Docker daemon 25.09MB 04:27:28 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:27:28 Step 2/24 : FROM ${BASE} AS builder 04:27:28 ---> 48d3b2cdcdee 04:27:28 Step 3/24 : ARG MAKE=make build 04:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:27:29 Configure a credential helper to remove this warning. See 04:27:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:27:29 04:27:29 Login Succeeded 04:27:29 ****.io 04:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:29 ---> Running in fa19e57788f1 04:27:29 Removing intermediate container fa19e57788f1 04:27:29 ---> de672c801f27 04:27:29 Step 4/24 : WORKDIR /device-sdk-go 04:27:29 ---> Running in 91f779b05b7d 04:27:29 Removing intermediate container 91f779b05b7d 04:27:29 ---> 376ee523501a 04:27:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:27:29 ---> Running in 6ab9475965d1 04:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:27:29 Configure a credential helper to remove this warning. See 04:27:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:27:29 04:27:29 Login Succeeded 04:27:29 ---> ****-login.sh ends 04:27:29 Removing intermediate container 6ab9475965d1 04:27:29 ---> a2b682da9613 04:27:29 Step 6/24 : RUN apk add --update --no-cache make git 04:27:29 ---> Running in 901a0acb1bcd [Pipeline] } 04:27:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] echo 04:27:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:27:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:27:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:27:30 ========================================================= 04:27:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:27:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:27:30 OK: 264 MiB in 52 packages [Pipeline] sh 04:27:30 Removing intermediate container 901a0acb1bcd 04:27:30 ---> d3a2cc527bc5 04:27:30 Step 7/24 : COPY go.mod vendor* ./ 04:27:30 ---> b8e17cac85e9 04:27:30 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:30 ---> Running in a6cd6ece1891 04:27:30 + 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:27:31 Removing intermediate container a6cd6ece1891 04:27:31 ---> 80c4dd590195 04:27:31 Step 9/24 : COPY . . 04:27:31 Sending build context to Docker daemon 12.9MB 04:27:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:27:31 Step 2/10 : FROM ${BASE} AS builder 04:27:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:27:31 c6b39de5b339: Pulling fs layer 04:27:31 a69c41024577: Pulling fs layer 04:27:31 d6de4b400683: Pulling fs layer 04:27:31 35cb2a7552d0: Pulling fs layer 04:27:31 4f4fb700ef54: Pulling fs layer 04:27:31 464afbd9ba4c: Pulling fs layer 04:27:31 00f215d4a9da: Pulling fs layer 04:27:31 d496ad576159: Pulling fs layer 04:27:31 464afbd9ba4c: Waiting 04:27:31 00f215d4a9da: Waiting 04:27:31 d496ad576159: Waiting 04:27:31 35cb2a7552d0: Waiting 04:27:31 4f4fb700ef54: Waiting 04:27:31 a69c41024577: Verifying Checksum 04:27:31 a69c41024577: Download complete 04:27:31 35cb2a7552d0: Download complete 04:27:31 4f4fb700ef54: Verifying Checksum 04:27:31 4f4fb700ef54: Download complete 04:27:31 464afbd9ba4c: Verifying Checksum 04:27:31 464afbd9ba4c: Download complete 04:27:31 c6b39de5b339: Download complete 04:27:32 ---> 612a3b9a8f39 04:27:32 Step 10/24 : RUN ${MAKE} 04:27:32 ---> Running in 45d2a40ead73 04:27:32 d496ad576159: Verifying Checksum 04:27:32 d496ad576159: Download complete 04:27:32 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:27:32 c6b39de5b339: Pull complete 04:27:33 a69c41024577: Pull complete 04:27:33 d6de4b400683: Download complete 04:27:34 00f215d4a9da: Verifying Checksum 04:27:34 00f215d4a9da: Download complete 04:27:47 d6de4b400683: Pull complete 04:27:47 35cb2a7552d0: Pull complete 04:27:47 4f4fb700ef54: Pull complete 04:27:47 464afbd9ba4c: Pull complete 04:27:55 00f215d4a9da: Pull complete 04:27:57 d496ad576159: Pull complete 04:27:57 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:27:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:27:57 ---> f246e2811388 04:27:57 Step 3/10 : ARG MAKE=make build 04:27:57 ---> Running in 07159198c9bd 04:27:57 Removing intermediate container 07159198c9bd 04:27:57 ---> d896e1ca5571 04:27:57 Step 4/10 : WORKDIR /device-sdk-go 04:27:57 ---> Running in 911d677e7f44 04:27:58 Removing intermediate container 911d677e7f44 04:27:58 ---> b5b148e32c9a 04:27:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:27:58 ---> Running in b827881ac8d0 04:27:58 Removing intermediate container b827881ac8d0 04:27:58 ---> 014a90f9e23b 04:27:58 Step 6/10 : RUN apk add --update --no-cache make git 04:27:59 ---> Running in 29e6c5b2f199 04:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:28:01 OK: 266 MiB in 52 packages 04:28:02 Removing intermediate container 29e6c5b2f199 04:28:02 ---> dd887e992db4 04:28:02 Step 7/10 : COPY go.mod vendor* ./ 04:28:03 ---> 109c0823d13e 04:28:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:03 ---> Running in 6eefc9d14fec 04:28:11 Removing intermediate container 45d2a40ead73 04:28:11 ---> 698dd79b1bfd 04:28:11 Step 11/24 : FROM alpine:3.18 04:28:11 3.18: Pulling from library/alpine 04:28:11 73baa7ef167e: Pulling fs layer 04:28:11 73baa7ef167e: Verifying Checksum 04:28:11 73baa7ef167e: Download complete 04:28:11 73baa7ef167e: Pull complete 04:28:11 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:28:11 Status: Downloaded newer image for alpine:3.18 04:28:11 ---> 8fd7cac70a4a 04:28:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:28:11 ---> Running in 2a70c82bc167 04:28:11 Removing intermediate container 2a70c82bc167 04:28:11 ---> 0af4a72ff969 04:28:11 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:28:11 ---> Running in 78f7943b595d 04:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:28:11 (1/1) Installing dumb-init (1.2.5-r2) 04:28:11 Executing busybox-1.36.1-r7.trigger 04:28:11 OK: 7 MiB in 16 packages 04:28:11 Removing intermediate container 78f7943b595d 04:28:11 ---> d86949cb3b18 04:28:11 Step 14/24 : RUN apk --no-cache upgrade 04:28:11 ---> Running in ee202c6b4fc6 04:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:28:11 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:28:11 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:28:11 OK: 7 MiB in 16 packages 04:28:11 Removing intermediate container ee202c6b4fc6 04:28:11 ---> ad5bbb33210b 04:28:11 Step 15/24 : WORKDIR / 04:28:11 ---> Running in 9b8892ee306e 04:28:11 Removing intermediate container 9b8892ee306e 04:28:11 ---> 73775c34e5e5 04:28:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:28:11 ---> 9be61543ce93 04:28:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:11 ---> 3529326e4f9b 04:28:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:11 ---> 157b52aa59d5 04:28:11 Step 19/24 : EXPOSE 59999 04:28:11 ---> Running in 20ced1fdec41 04:28:11 Removing intermediate container 20ced1fdec41 04:28:11 ---> 87dd1dc4e317 04:28:11 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:28:11 ---> Running in b73249e0b25f 04:28:11 Removing intermediate container b73249e0b25f 04:28:11 ---> 0a652a750c49 04:28:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:28:11 ---> Running in c909571f3cfb 04:28:11 Removing intermediate container c909571f3cfb 04:28:11 ---> b5cf203307e0 04:28:11 Step 22/24 : LABEL arch=amd64 04:28:11 ---> Running in 72b170a996ca 04:28:11 Removing intermediate container 72b170a996ca 04:28:11 ---> aaa6270db57e 04:28:11 Step 23/24 : LABEL git_sha=28146908bf0732d49c9d35c53c872abf459317a4 04:28:11 ---> Running in 6d305ea1e5d6 04:28:11 Removing intermediate container 6d305ea1e5d6 04:28:11 ---> c3ba90dc6b2d 04:28:11 Step 24/24 : LABEL version=0.0.0 04:28:11 ---> Running in bcec46b162d1 04:28:11 Removing intermediate container bcec46b162d1 04:28:11 ---> 2993ea188de4 04:28:11 [Warning] One or more build-args [ARCH] were not consumed 04:28:11 Successfully built 2993ea188de4 04:28:11 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:12 04:28:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:12 latest: Pulling from edgex-lftools-log-publisher 04:28:12 5eb5b503b376: Pulling fs layer 04:28:12 5c69ac0246d0: Pulling fs layer 04:28:12 ec43610c2a17: Pulling fs layer 04:28:12 3a2ae6a8a46f: Pulling fs layer 04:28:12 33b1e0a273af: Pulling fs layer 04:28:12 5d3b04190fa2: Pulling fs layer 04:28:12 2f39f015ded8: Pulling fs layer 04:28:12 3a2ae6a8a46f: Waiting 04:28:12 33b1e0a273af: Waiting 04:28:12 5d3b04190fa2: Waiting 04:28:12 5c69ac0246d0: Download complete 04:28:12 3a2ae6a8a46f: Verifying Checksum 04:28:12 3a2ae6a8a46f: Download complete 04:28:12 33b1e0a273af: Verifying Checksum 04:28:12 33b1e0a273af: Download complete 04:28:12 ec43610c2a17: Verifying Checksum 04:28:12 ec43610c2a17: Download complete 04:28:12 5d3b04190fa2: Verifying Checksum 04:28:12 5eb5b503b376: Download complete 04:28:13 2f39f015ded8: Verifying Checksum 04:28:13 2f39f015ded8: Download complete 04:28:13 5eb5b503b376: Pull complete 04:28:14 5c69ac0246d0: Pull complete 04:28:14 ec43610c2a17: Pull complete 04:28:14 3a2ae6a8a46f: Pull complete 04:28:14 33b1e0a273af: Pull complete 04:28:15 5d3b04190fa2: Pull complete 04:28:19 2f39f015ded8: Pull complete 04:28:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:28:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:19 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 04:28:19 $ 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-1595 -v /w/workspace/gexfoundry_device-sdk-go_PR-1595:/w/workspace/gexfoundry_device-sdk-go_PR-1595:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1595@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:28:23 $ docker top 121fba4b58fd97d693b2c76567856635c67abd14b03ff9cfaea02b1c99e05f52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:24 ---> job-cost.sh 04:28:24 lf-activate-venv: SKIPPING 04:28:24 INFO: No Stack... 04:28:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:25 INFO: Archiving Costs [Pipeline] sh 04:28:25 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives/cost.csv 04:28:25 + cut -d, -f6 [Pipeline] lock 04:28:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] 04:28:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] did not exist. Created. 04:28:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:25 + echo total: 0.2199999988079071 [Pipeline] stash 04:28:25 Stashed 1 file(s) [Pipeline] } 04:28:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:26 $ docker stop --time=1 121fba4b58fd97d693b2c76567856635c67abd14b03ff9cfaea02b1c99e05f52 04:28:27 $ docker rm -f --volumes 121fba4b58fd97d693b2c76567856635c67abd14b03ff9cfaea02b1c99e05f52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:29:54 Removing intermediate container 6eefc9d14fec 04:29:54 ---> e57ee6bbcdb2 04:29:54 Step 9/10 : COPY . . 04:29:54 ---> 7af1ab7abb03 04:29:54 Step 10/10 : RUN ${MAKE} 04:29:54 ---> Running in 2822dcd6eb51 04:29:54 noop 04:29:54 Removing intermediate container 2822dcd6eb51 04:29:54 ---> ac6d7cf6e0e8 04:29:54 Successfully built ac6d7cf6e0e8 04:29:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:55 + docker inspect -f . ci-base-image-arm64 04:29:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:56 prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container 04:29:56 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:29:57 $ docker top 3937e11b1f9b5833be6d3f44c1475f3258c918b719dd140d7c0b5de9634ffdb0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:58 + go version 04:29:58 go version go1.21.9 linux/arm64 [Pipeline] } 04:29:58 $ docker stop --time=1 3937e11b1f9b5833be6d3f44c1475f3258c918b719dd140d7c0b5de9634ffdb0 04:29:59 $ docker rm -f --volumes 3937e11b1f9b5833be6d3f44c1475f3258c918b719dd140d7c0b5de9634ffdb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:00 + docker inspect -f . ci-base-image-arm64 04:30:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:01 prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container 04:30:01 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:30:02 $ docker top 2e3f57efaefc9effd03b88218cbc8b38f33ce00590b011a9f0ddda2bbf66c63f -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:03 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:30:03 + make test 04:30:03 go test -race -coverprofile=coverage.out ./... 04:30:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:34:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:34:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:34:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:34:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:34:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:34:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.113s coverage: 27.6% of statements 04:34:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.167s coverage: 80.0% of statements 04:34:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:34:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:34:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.250s coverage: 86.0% of statements 04:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.415s coverage: 71.8% of statements 04:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.149s coverage: 14.4% of statements 04:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.744s coverage: 44.6% of statements 04:34:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:34:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:34:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.323s coverage: 68.5% of statements 04:34:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.360s coverage: 89.2% of statements 04:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:34:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.245s coverage: 5.5% of statements 04:34:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:37 GO111MODULE=on go vet ./... 04:38:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:38:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:38:14 ./bin/test-attribution-txt.sh 04:38:14 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:38:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:38:14 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:38:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:38:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:38:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:38:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:38:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:38:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:38:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:38:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:38:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:38:14 $ docker stop --time=1 2e3f57efaefc9effd03b88218cbc8b38f33ce00590b011a9f0ddda2bbf66c63f 04:38:16 $ docker rm -f --volumes 2e3f57efaefc9effd03b88218cbc8b38f33ce00590b011a9f0ddda2bbf66c63f [Pipeline] // withDockerContainer [Pipeline] sh 04:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:38:19 Warning: overwriting stash ‘coverage-report’ 04:38:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:38:20 + ls -al . 04:38:20 total 372 04:38:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 04:30 . 04:38:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 04:26 .. 04:38:20 -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 04:27 .dockerignore 04:38:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 04:27 .git 04:38:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 04:27 .github 04:38:20 -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 04:27 .gitignore 04:38:20 -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 04:27 .golangci.yml 04:38:20 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 10 04:27 CHANGELOG.md 04:38:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 04:27 GOVERNANCE.md 04:38:20 -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 04:27 Jenkinsfile 04:38:20 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 04:27 LICENSE 04:38:20 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 10 04:27 Makefile 04:38:20 -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 04:27 OWNERS.md 04:38:20 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 10 04:27 README.md 04:38:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 04:24 VERSION 04:38:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 04:27 bin 04:38:20 -rw-r--r-- 1 jenkins jenkins 122321 Jul 10 04:34 coverage.out 04:38:20 drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 04:27 example 04:38:20 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 10 04:27 go.mod 04:38:20 -rw-rw-r-- 1 jenkins jenkins 101738 Jul 10 04:27 go.sum 04:38:20 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 04:27 internal 04:38:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 04:27 openapi 04:38:20 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 04:27 pkg 04:38:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 04:27 snap 04:38:20 -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 04:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:21 + 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=28146908bf0732d49c9d35c53c872abf459317a4 --label arch=arm64 --label version=0.0.0 . 04:38:21 Sending build context to Docker daemon 13.02MB 04:38:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:38:21 Step 2/24 : FROM ${BASE} AS builder 04:38:21 ---> ac6d7cf6e0e8 04:38:21 Step 3/24 : ARG MAKE=make build 04:38:22 ---> Running in 65cc10f7c2d7 04:38:22 Removing intermediate container 65cc10f7c2d7 04:38:22 ---> cfcd9a3a7bda 04:38:22 Step 4/24 : WORKDIR /device-sdk-go 04:38:22 ---> Running in 787bd3d7449a 04:38:22 Removing intermediate container 787bd3d7449a 04:38:22 ---> ecf968119fd9 04:38:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:38:22 ---> Running in c2c245868d06 04:38:23 Removing intermediate container c2c245868d06 04:38:23 ---> bb707b0fb8cb 04:38:23 Step 6/24 : RUN apk add --update --no-cache make git 04:38:23 ---> Running in 81c817e62f92 04:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:38:25 OK: 266 MiB in 52 packages 04:38:26 Removing intermediate container 81c817e62f92 04:38:26 ---> cadb9940bb90 04:38:26 Step 7/24 : COPY go.mod vendor* ./ 04:38:27 ---> 402a0b54e43b 04:38:27 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:27 ---> Running in f144df0a1c8d 04:38:29 Removing intermediate container f144df0a1c8d 04:38:29 ---> 398beb85f23a 04:38:29 Step 9/24 : COPY . . 04:38:30 ---> 690cca039c85 04:38:30 Step 10/24 : RUN ${MAKE} 04:38:30 ---> Running in 859a54869238 04:38:31 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:41:53 Removing intermediate container 859a54869238 04:41:53 ---> ced803c4650e 04:41:53 Step 11/24 : FROM alpine:3.18 04:41:53 3.18: Pulling from library/alpine 04:41:53 5c905c7ebe2f: Pulling fs layer 04:41:53 5c905c7ebe2f: Download complete 04:41:53 5c905c7ebe2f: Pull complete 04:41:53 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:41:53 Status: Downloaded newer image for alpine:3.18 04:41:53 ---> dec292d02e07 04:41:53 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:41:53 ---> Running in 22fce794fe06 04:41:53 Removing intermediate container 22fce794fe06 04:41:53 ---> 5d8328d60faa 04:41:53 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:41:53 ---> Running in 0bc68f77c7bb 04:41:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:41:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:41:53 (1/1) Installing dumb-init (1.2.5-r2) 04:41:53 Executing busybox-1.36.1-r7.trigger 04:41:53 OK: 8 MiB in 16 packages 04:41:54 Removing intermediate container 0bc68f77c7bb 04:41:54 ---> 6c0e882c4681 04:41:54 Step 14/24 : RUN apk --no-cache upgrade 04:41:54 ---> Running in 052a2d24fb38 04:41:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:41:57 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:41:57 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:41:57 OK: 8 MiB in 16 packages 04:41:58 Removing intermediate container 052a2d24fb38 04:41:58 ---> 2fab55350514 04:41:58 Step 15/24 : WORKDIR / 04:41:58 ---> Running in e05455e1528e 04:41:58 Removing intermediate container e05455e1528e 04:41:58 ---> 036d41186536 04:41:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:41:59 ---> 5b59076f94f1 04:41:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:42:01 ---> 4128752e41c2 04:42:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:42:01 ---> d72da40d492b 04:42:01 Step 19/24 : EXPOSE 59999 04:42:01 ---> Running in 2fb8cfaeefeb 04:42:02 Removing intermediate container 2fb8cfaeefeb 04:42:02 ---> 61f2320939b2 04:42:02 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:42:02 ---> Running in c92d73c9a340 04:42:02 Removing intermediate container c92d73c9a340 04:42:02 ---> 24c77213fb6e 04:42:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:42:02 ---> Running in 0efd0c64f87c 04:42:02 Removing intermediate container 0efd0c64f87c 04:42:02 ---> 63ebed6af8d9 04:42:02 Step 22/24 : LABEL arch=arm64 04:42:02 ---> Running in dce200049da3 04:42:03 Removing intermediate container dce200049da3 04:42:03 ---> 3cba81136698 04:42:03 Step 23/24 : LABEL git_sha=28146908bf0732d49c9d35c53c872abf459317a4 04:42:03 ---> Running in 58c1d784e413 04:42:03 Removing intermediate container 58c1d784e413 04:42:03 ---> 863013e78285 04:42:03 Step 24/24 : LABEL version=0.0.0 04:42:03 ---> Running in b769eae9aaf5 04:42:04 Removing intermediate container b769eae9aaf5 04:42:04 ---> ed2bc847d97b 04:42:04 [Warning] One or more build-args [ARCH] were not consumed 04:42:04 Successfully built ed2bc847d97b 04:42:04 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:42:04 04:42:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:42:05 arm64: Pulling from edgex-lftools-log-publisher 04:42:05 8998bd30e6a1: Pulling fs layer 04:42:05 04944245beec: Pulling fs layer 04:42:05 699f458cf7ca: Pulling fs layer 04:42:05 765212b225bb: Pulling fs layer 04:42:05 f23df028b6ca: Pulling fs layer 04:42:05 d65c8cfc05b1: Pulling fs layer 04:42:05 2437ff75d9bd: Pulling fs layer 04:42:05 f23df028b6ca: Waiting 04:42:05 d65c8cfc05b1: Waiting 04:42:05 765212b225bb: Waiting 04:42:05 2437ff75d9bd: Waiting 04:42:05 04944245beec: Verifying Checksum 04:42:05 04944245beec: Download complete 04:42:05 765212b225bb: Verifying Checksum 04:42:05 765212b225bb: Download complete 04:42:05 f23df028b6ca: Verifying Checksum 04:42:05 f23df028b6ca: Download complete 04:42:05 d65c8cfc05b1: Verifying Checksum 04:42:05 d65c8cfc05b1: Download complete 04:42:05 699f458cf7ca: Verifying Checksum 04:42:05 699f458cf7ca: Download complete 04:42:06 8998bd30e6a1: Verifying Checksum 04:42:06 8998bd30e6a1: Download complete 04:42:09 2437ff75d9bd: Verifying Checksum 04:42:09 2437ff75d9bd: Download complete 04:42:11 8998bd30e6a1: Pull complete 04:42:11 04944245beec: Pull complete 04:42:13 699f458cf7ca: Pull complete 04:42:13 765212b225bb: Pull complete 04:42:14 f23df028b6ca: Pull complete 04:42:14 d65c8cfc05b1: Pull complete 04:42:32 2437ff75d9bd: Pull complete 04:42:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:42:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:42:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:33 prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container 04:42:33 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:42:35 $ docker top c2ea6e00c06d29992d8e3dcbb244085dbd9100d32869a6ad4da86ef2fcf8f0e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:36 ---> job-cost.sh 04:42:36 lf-activate-venv: SKIPPING 04:42:36 INFO: No Stack... 04:42:37 INFO: Retrieving Pricing Info for: v3-standard-4 04:42:38 INFO: Archiving Costs [Pipeline] sh 04:42:38 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:42:38 + cut -d, -f6 [Pipeline] lock 04:42:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] 04:42:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] did not exist. Created. 04:42:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:39 /w/workspace/device-sdk-go/1@tmp/durable-48e5cdd4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:42:40 + echo total: 0.10999999940395355 [Pipeline] stash 04:42:40 Warning: overwriting stash ‘stack-cost’ 04:42:40 Stashed 1 file(s) [Pipeline] } 04:42:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1595-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:40 $ docker stop --time=1 c2ea6e00c06d29992d8e3dcbb244085dbd9100d32869a6ad4da86ef2fcf8f0e2 04:42:41 $ docker rm -f --volumes c2ea6e00c06d29992d8e3dcbb244085dbd9100d32869a6ad4da86ef2fcf8f0e2 [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:42:43 provisioning config files... 04:42:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/config7563818060140660628tmp [Pipeline] { [Pipeline] sh 04:42:43 + set +x 04:42:43 + curl -s https://codecov.io/bash 04:42:43 + bash -s -- 04:42:43 04:42:43 _____ _ 04:42:43 / ____| | | 04:42:43 | | ___ __| | ___ ___ _____ __ 04:42:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:42:43 | |___| (_) | (_| | __/ (_| (_) \ V / 04:42:43 \_____\___/ \__,_|\___|\___\___/ \_/ 04:42:43 Bash-1.0.6 04:42:43 04:42:43 04:42:43 ==> git version 2.25.1 found 04:42:43 ==> 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:42:43 Release-Date: 2020-01-08 04:42:43 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:42:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:42:43 ==> Jenkins CI detected. 04:42:43 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1595 04:42:43 project root: . 04:42:43 --> token set from env 04:42:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:42:43 ==> Running gcov in . (disable via -X gcov) 04:42:43 ==> Python coveragepy not found 04:42:43 ==> Searching for coverage reports in: 04:42:43 + . 04:42:43 -> Found 1 reports 04:42:43 ==> Detecting git/mercurial file structure 04:42:43 ==> Reading reports 04:42:43 + ./coverage.out bytes=122321 04:42:43 ==> Appending adjustments 04:42:43 https://docs.codecov.io/docs/fixing-reports 04:42:43 + Found adjustments 04:42:43 ==> Gzipping contents 04:42:43 20K /tmp/codecov.A4QqJB.gz 04:42:43 ==> Uploading reports 04:42:43 url: https://codecov.io 04:42:43 query: branch=PR-1595&commit=28146908bf0732d49c9d35c53c872abf459317a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1595%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1595&job=&cmd_args= 04:42:43 -> Pinging Codecov 04:42:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1595&commit=28146908bf0732d49c9d35c53c872abf459317a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1595%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1595&job=&cmd_args= 04:42:43 -> Uploading to 04:42:43 https://storage.googleapis.com/codecov/v4/raw/2024-07-10/7E55EF52A471D76F132DFD9A03CDDE97/28146908bf0732d49c9d35c53c872abf459317a4/7ee04c12-f1b8-4e98-b759-da0caf80d02f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240710%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240710T044243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b382700296770b2a92f6a455c9af1dac0a6524edfecf29d0f94513e344b8237e 04:42:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:43 Dload Upload Total Spent Left Speed 04:42:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16730 0 0 100 16730 0 71495 --:--:-- --:--:-- --:--:-- 71495 04:42:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/28146908bf0732d49c9d35c53c872abf459317a4 [Pipeline] } 04:42:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:42:46 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives ] 04:42:46 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives 04:42:46 total 16 04:42:46 drwxr-xr-x 3 root root 4096 Jul 10 04:28 . 04:42:46 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 04:28 .. 04:42:46 drwxr-xr-x 2 root root 4096 Jul 10 04:28 cost 04:42:46 -rw-r--r-- 1 root root 86 Jul 10 04:28 cost.csv 04:42:46 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives 04:42:46 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives 04:42:46 total 16 04:42:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 04:28 . 04:42:46 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 04:28 .. 04:42:46 drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 04:28 cost 04:42:46 -rw-r--r-- 1 jenkins jenkins 86 Jul 10 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:42:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:42:47 ---> package-listing.sh 04:42:47 ++ facter osfamily 04:42:47 ++ tr '[:upper:]' '[:lower:]' 04:42:48 + OS_FAMILY=debian 04:42:48 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1595 04:42:48 + START_PACKAGES=/tmp/packages_start.txt 04:42:48 + END_PACKAGES=/tmp/packages_end.txt 04:42:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:42:48 + PACKAGES=/tmp/packages_start.txt 04:42:48 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1595 ']' 04:42:48 + PACKAGES=/tmp/packages_end.txt 04:42:48 + case "${OS_FAMILY}" in 04:42:48 + dpkg -l 04:42:48 + grep '^ii' 04:42:48 + '[' -f /tmp/packages_start.txt ']' 04:42:48 + '[' -f /tmp/packages_end.txt ']' 04:42:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:42:48 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1595 ']' 04:42:48 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives/ 04:42:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1595/archives/ [Pipeline] echo 04:42:48 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-1595/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:42:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:49 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 04:42:49 $ 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-1595/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-1595 -v /w/workspace/gexfoundry_device-sdk-go_PR-1595:/w/workspace/gexfoundry_device-sdk-go_PR-1595:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1595@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:42:49 $ docker top 9398fac233aac12eaf791c28e81b6d60a136bccb3373ecf656e89c48b644cd42 -eo pid,comm [Pipeline] { [Pipeline] sh 04:42:50 + touch /tmp/pre-build-complete [Pipeline] sh 04:42:50 + mkdir -p /var/log/sysstat [Pipeline] sh 04:42:50 + ls /var/log/sa-host 04:42:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:50 provisioning config files... 04:42:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1595@tmp/config13160113739503394820tmp [Pipeline] { [Pipeline] echo 04:42:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:42:51 ---> create-netrc.sh [Pipeline] } 04:42:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:42:52 ---> python-tools-install.sh [Pipeline] echo 04:42:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:42:52 ---> sudo-logs.sh 04:42:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:42:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:42:52 ---> job-cost.sh 04:42:52 lf-activate-venv: SKIPPING 04:42:52 DEBUG: total: 0.2199999988079071 04:42:52 INFO: Retrieving Stack Cost... 04:42:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:53 INFO: Archiving Costs [Pipeline] echo 04:42:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:42:54 ---> logs-deploy.sh 04:42:54 lf-activate-venv: SKIPPING 04:42:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1595/1 04:42:54 INFO: archiving workspace using pattern(s): 04:42:55 Archives upload complete. 04:42:55 INFO: archiving logs to Nexus