Pull request #1589 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3754d409af1486e6bf6caad0ab64e76b64ee6010+d3487eec0ede001a3c25d71c6388e8b50871be46 (66ff14fdde55faebb5e2f9cfe80f6043ecf44b8f) 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-ssh1601947926608321656.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-ssh4393713248670765147.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-1589/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-1589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9413089193725414347.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-1589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2481693658066160076.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-ssh6733327083636176496.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-1589/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-1589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh732354894090223445.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-4676 in /w/workspace/gexfoundry_device-sdk-go_PR-1589 [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-1589 # 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/1589/head:refs/remotes/origin/PR-1589 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit 3754d409af1486e6bf6caad0ab64e76b64ee6010 Merge succeeded, producing 3754d409af1486e6bf6caad0ab64e76b64ee6010 Checking out Revision 3754d409af1486e6bf6caad0ab64e76b64ee6010 (PR-1589) > git config core.sparsecheckout # timeout=10 > git checkout -f 3754d409af1486e6bf6caad0ab64e76b64ee6010 # 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 d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3754d409af1486e6bf6caad0ab64e76b64ee6010 # timeout=10 Commit message: "feat: Allow empty profileName in Device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:50:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:50:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:50:07 ========================================================= 08:50:07 EdgeX Global Pipelines Version Info 08:50:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:50:08 ------------------- 08:50:08 stable info: 08:50:08 ------------------- 08:50:08 Commited By: Ginny Guan ginny@iotechsys.com 08:50:08 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 08:50:08 Message: update stable to v1.0.260 08:50:09 ------------------- 08:50:09 experimental info: 08:50:09 ------------------- 08:50:09 Commited By: Ginny Guan ginny@iotechsys.com 08:50:09 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 08:50:09 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:50:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:50:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1589 [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1589 [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1589 [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3754d409af1486e6bf6caad0ab64e76b64ee6010 [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3754d40 [Pipeline] echo 08:50:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:50:11 provisioning config files... 08:50:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config11815467567536588869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:50:12 ---> ****-login.sh 08:50:12 nexus3.edgexfoundry.org:10001 08:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:12 Configure a credential helper to remove this warning. See 08:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:12 08:50:12 Login Succeeded 08:50:12 nexus3.edgexfoundry.org:10002 08:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:12 Configure a credential helper to remove this warning. See 08:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:12 08:50:12 Login Succeeded 08:50:12 nexus3.edgexfoundry.org:10003 08:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:12 Configure a credential helper to remove this warning. See 08:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:12 08:50:12 Login Succeeded 08:50:12 nexus3.edgexfoundry.org:10004 08:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:12 Configure a credential helper to remove this warning. See 08:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:12 08:50:12 Login Succeeded 08:50:12 ****.io 08:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:13 Configure a credential helper to remove this warning. See 08:50:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:13 08:50:13 Login Succeeded 08:50:13 ---> ****-login.sh ends [Pipeline] } 08:50:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:50:14 + git rev-list -1 --merges 3754d409af1486e6bf6caad0ab64e76b64ee6010~1..3754d409af1486e6bf6caad0ab64e76b64ee6010 [Pipeline] echo 08:50:14 -----------> git rev-list -1 --merges 3754d409af1486e6bf6caad0ab64e76b64ee6010~1..3754d409af1486e6bf6caad0ab64e76b64ee6010 3754d409af1486e6bf6caad0ab64e76b64ee6010 [false] [Pipeline] sh 08:50:14 + git log --format=format:%s -1 3754d409af1486e6bf6caad0ab64e76b64ee6010 [Pipeline] echo 08:50:14 ========================================================= 08:50:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:50:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:50:14 + git log --format=format:%s -1 3754d409af1486e6bf6caad0ab64e76b64ee6010 [Pipeline] echo 08:50:14 [semverPrep] GIT_COMMIT: 3754d409af1486e6bf6caad0ab64e76b64ee6010, Commit Message: feat: Allow empty profileName in Device [Pipeline] echo 08:50:15 [semverPrep] This is not a build commit. [Pipeline] sh 08:50:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:50:15 + grep -v github /etc/ssh/ssh_known_hosts 08:50:15 + [ -e /tmp/ssh_known_hosts ] 08:50:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:50:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:50:15 + sudo tee -a /etc/ssh/ssh_known_hosts 08:50:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:50:16 08:50:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:50:16 0.1.4: Pulling from edgex-devops/py-git-semver 08:50:16 b85a868b505f: Pulling fs layer 08:50:16 e2be974225ed: Pulling fs layer 08:50:16 339a4e72a1f5: Pulling fs layer 08:50:16 988bab9f4d93: Pulling fs layer 08:50:16 1469e6f7b9e6: Pulling fs layer 08:50:16 eaf3925da568: Pulling fs layer 08:50:16 bab4dde63d76: Pulling fs layer 08:50:16 bde34c3a00c8: Pulling fs layer 08:50:16 b352a97aabf1: Pulling fs layer 08:50:16 4872d77fe225: Pulling fs layer 08:50:16 5851b861e8e6: Pulling fs layer 08:50:16 988bab9f4d93: Waiting 08:50:16 bde34c3a00c8: Waiting 08:50:16 b352a97aabf1: Waiting 08:50:16 eaf3925da568: Waiting 08:50:16 bab4dde63d76: Waiting 08:50:16 1469e6f7b9e6: Waiting 08:50:16 5851b861e8e6: Waiting 08:50:16 e2be974225ed: Verifying Checksum 08:50:16 e2be974225ed: Download complete 08:50:16 988bab9f4d93: Verifying Checksum 08:50:16 988bab9f4d93: Download complete 08:50:16 1469e6f7b9e6: Verifying Checksum 08:50:16 1469e6f7b9e6: Download complete 08:50:16 339a4e72a1f5: Verifying Checksum 08:50:16 339a4e72a1f5: Download complete 08:50:16 eaf3925da568: Verifying Checksum 08:50:16 eaf3925da568: Download complete 08:50:16 bde34c3a00c8: Download complete 08:50:16 b352a97aabf1: Verifying Checksum 08:50:16 b352a97aabf1: Download complete 08:50:16 4872d77fe225: Verifying Checksum 08:50:16 4872d77fe225: Download complete 08:50:16 5851b861e8e6: Download complete 08:50:16 b85a868b505f: Verifying Checksum 08:50:16 b85a868b505f: Download complete 08:50:17 bab4dde63d76: Verifying Checksum 08:50:17 bab4dde63d76: Download complete 08:50:17 b85a868b505f: Pull complete 08:50:18 e2be974225ed: Pull complete 08:50:18 339a4e72a1f5: Pull complete 08:50:18 988bab9f4d93: Pull complete 08:50:19 1469e6f7b9e6: Pull complete 08:50:19 eaf3925da568: Pull complete 08:50:21 bab4dde63d76: Pull complete 08:50:21 bde34c3a00c8: Pull complete 08:50:21 b352a97aabf1: Pull complete 08:50:21 4872d77fe225: Pull complete 08:50:21 5851b861e8e6: Pull complete 08:50:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:50:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:50:21 prd-ubuntu20.04-docker-8c-8g-4676 does not seem to be running inside a container 08:50:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@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-devops/py-git-semver:0.1.4 cat 08:50:24 $ docker top 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 -eo pid,comm 08:50:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:50:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:50:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:50:25 [ssh-agent] Looking for ssh-agent implementation... 08:50:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:50:25 $ docker exec 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 ssh-agent 08:50:25 SSH_AUTH_SOCK=/tmp/ssh-dHZqM83xV18O/agent.31 08:50:25 SSH_AGENT_PID=37 08:50:25 Running ssh-add (command line suppressed) 08:50:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_14608802302787549605.key (/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_14608802302787549605.key) 08:50:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:50:25 + git tag --points-at HEAD [Pipeline] } 08:50:25 $ docker exec --env ******** --env ******** 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 ssh-agent -k 08:50:25 unset SSH_AUTH_SOCK; 08:50:25 unset SSH_AGENT_PID; 08:50:25 echo Agent pid 37 killed; 08:50:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:50:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:50:26 [ssh-agent] Looking for ssh-agent implementation... 08:50:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:50:26 $ docker exec 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 ssh-agent 08:50:26 SSH_AUTH_SOCK=/tmp/ssh-RMLjGi2Xa9Fu/agent.70 08:50:26 SSH_AGENT_PID=77 08:50:26 Running ssh-add (command line suppressed) 08:50:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_1411331652723154118.key (/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_1411331652723154118.key) 08:50:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:50:26 + git semver init 08:50:26 2024-07-01 08:50:26,906 [run_init] DEBUG init version:0.0.0 force:False 08:50:26 2024-07-01 08:50:26,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver 08:50:26 2024-07-01 08:50:26,908 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver 08:50:26 2024-07-01 08:50:26,908 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1589, universal_newlines=False, shell=None, istream=None) 08:50:29 2024-07-01 08:50:28,928 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.git/info/exclude 08:50:29 2024-07-01 08:50:28,929 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 with force:False 08:50:29 2024-07-01 08:50:28,929 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 08:50:29 2024-07-01 08:50:28,934 [execute] INFO git cat-file --batch-check 08:50:29 2024-07-01 08:50:28,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver, universal_newlines=False, shell=None, istream=) 08:50:29 2024-07-01 08:50:28,940 [execute] INFO git cat-file --batch 08:50:29 2024-07-01 08:50:28,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver, universal_newlines=False, shell=None, istream=) 08:50:29 2024-07-01 08:50:28,945 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 08:50:29 0.0.0 [Pipeline] } 08:50:29 $ docker exec --env ******** --env ******** 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 ssh-agent -k 08:50:29 unset SSH_AUTH_SOCK; 08:50:29 unset SSH_AGENT_PID; 08:50:29 echo Agent pid 77 killed; 08:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:50:30 + git semver [Pipeline] } 08:50:30 $ docker stop --time=1 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 08:50:31 $ docker rm -f --volumes 9824da27952c92a30a9e126811f7570369307d3f98150e21d2e145882cb4f798 [Pipeline] // withDockerContainer [Pipeline] sh 08:50:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:50:32 Stashed 1 file(s) [Pipeline] echo 08:50:32 [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 08:50:33 provisioning config files... 08:50:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config3940592188701431452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:50:33 ---> ****-login.sh 08:50:33 nexus3.edgexfoundry.org:10001 08:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:33 Configure a credential helper to remove this warning. See 08:50:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:33 08:50:33 Login Succeeded 08:50:33 nexus3.edgexfoundry.org:10002 08:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:33 Configure a credential helper to remove this warning. See 08:50:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:33 08:50:33 Login Succeeded 08:50:33 nexus3.edgexfoundry.org:10003 08:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:33 Configure a credential helper to remove this warning. See 08:50:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:33 08:50:33 Login Succeeded 08:50:33 nexus3.edgexfoundry.org:10004 08:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:33 Configure a credential helper to remove this warning. See 08:50:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:33 08:50:33 Login Succeeded 08:50:33 ****.io 08:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:50:34 Configure a credential helper to remove this warning. See 08:50:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:50:34 08:50:34 Login Succeeded 08:50:34 ---> ****-login.sh ends [Pipeline] } 08:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:50:34 ========================================================= 08:50:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:50:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:35 + 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 . 08:50:35 Sending build context to Docker daemon 25.02MB 08:50:35 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:50:35 Step 2/10 : FROM ${BASE} AS builder 08:50:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:50:35 619be1103602: Pulling fs layer 08:50:35 7862e08f4a3e: Pulling fs layer 08:50:35 5df492c9dc93: Pulling fs layer 08:50:35 7629e6793208: Pulling fs layer 08:50:35 4f4fb700ef54: Pulling fs layer 08:50:35 fb5054dd5b73: Pulling fs layer 08:50:35 eeca6798cff9: Pulling fs layer 08:50:35 aa269ceb94a6: Pulling fs layer 08:50:35 ada007ff1a6a: Pulling fs layer 08:50:35 7629e6793208: Waiting 08:50:35 aa269ceb94a6: Waiting 08:50:35 ada007ff1a6a: Waiting 08:50:35 4f4fb700ef54: Waiting 08:50:35 eeca6798cff9: Waiting 08:50:35 fb5054dd5b73: Waiting 08:50:35 7862e08f4a3e: Verifying Checksum 08:50:35 7862e08f4a3e: Download complete 08:50:35 7629e6793208: Verifying Checksum 08:50:35 7629e6793208: Download complete 08:50:35 4f4fb700ef54: Download complete 08:50:35 fb5054dd5b73: Verifying Checksum 08:50:35 fb5054dd5b73: Download complete 08:50:35 619be1103602: Verifying Checksum 08:50:35 619be1103602: Download complete 08:50:35 eeca6798cff9: Verifying Checksum 08:50:35 619be1103602: Pull complete 08:50:35 ada007ff1a6a: Verifying Checksum 08:50:35 ada007ff1a6a: Download complete 08:50:35 7862e08f4a3e: Pull complete 08:50:35 5df492c9dc93: Verifying Checksum 08:50:35 5df492c9dc93: Download complete 08:50:36 aa269ceb94a6: Verifying Checksum 08:50:36 aa269ceb94a6: Download complete 08:50:39 5df492c9dc93: Pull complete 08:50:39 7629e6793208: Pull complete 08:50:39 4f4fb700ef54: Pull complete 08:50:39 fb5054dd5b73: Pull complete 08:50:39 eeca6798cff9: Pull complete 08:50:42 aa269ceb94a6: Pull complete 08:50:42 ada007ff1a6a: Pull complete 08:50:42 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 08:50:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:50:42 ---> f489d0715acc 08:50:42 Step 3/10 : ARG MAKE=make build 08:50:46 ---> Running in 2ad3194ab2b0 08:50:47 Removing intermediate container 2ad3194ab2b0 08:50:47 ---> 0d9421b65fe9 08:50:47 Step 4/10 : WORKDIR /device-sdk-go 08:50:47 ---> Running in 024bccea9235 08:50:47 Removing intermediate container 024bccea9235 08:50:47 ---> 917ce11be782 08:50:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:50:47 ---> Running in 8f32b66cd1ee 08:50:47 Removing intermediate container 8f32b66cd1ee 08:50:47 ---> a8ba2310da2b 08:50:47 Step 6/10 : RUN apk add --update --no-cache make git 08:50:47 ---> Running in f42f8942f777 08:50:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:50:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:50:47 OK: 264 MiB in 52 packages 08:50:48 Still waiting to schedule task 08:50:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:50:48 Removing intermediate container f42f8942f777 08:50:48 ---> 801e13d97a93 08:50:48 Step 7/10 : COPY go.mod vendor* ./ 08:50:48 ---> 7db246dbf66d 08:50:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:50:48 ---> Running in fff335fa0504 08:51:35 Removing intermediate container fff335fa0504 08:51:35 ---> 384b4b54aaeb 08:51:35 Step 9/10 : COPY . . 08:51:35 ---> 8560a542a337 08:51:35 Step 10/10 : RUN ${MAKE} 08:51:35 ---> Running in 3860d5baa0ec 08:51:35 noop 08:51:35 Removing intermediate container 3860d5baa0ec 08:51:35 ---> dcda80830ada 08:51:35 Successfully built dcda80830ada 08:51:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:36 + docker inspect -f . ci-base-image-x86_64 08:51:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:36 prd-ubuntu20.04-docker-8c-8g-4676 does not seem to be running inside a container 08:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:51:36 $ docker top 27a38abca727f5123835999229c3ef4f5bd2d70dbde28a331ed1be36de8fb975 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:37 + go version 08:51:37 go version go1.21.9 linux/amd64 [Pipeline] } 08:51:37 $ docker stop --time=1 27a38abca727f5123835999229c3ef4f5bd2d70dbde28a331ed1be36de8fb975 08:51:38 $ docker rm -f --volumes 27a38abca727f5123835999229c3ef4f5bd2d70dbde28a331ed1be36de8fb975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:39 + docker inspect -f . ci-base-image-x86_64 08:51:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:39 prd-ubuntu20.04-docker-8c-8g-4676 does not seem to be running inside a container 08:51:39 $ 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-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:51:39 $ docker top d004f7996954f3605888dd61249822a9af339804f0b945814bb59d08b79feaab -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1589 [Pipeline] fileExists [Pipeline] sh 08:51:40 + make test 08:51:40 go test -race -coverprofile=coverage.out ./... 08:51:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:52:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4677 in /w/workspace/gexfoundry_device-sdk-go_PR-1589 [Pipeline] { [Pipeline] ws 08:52:20 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:52:23 The recommended git tool is: git 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:52:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.026s coverage: 27.6% of statements 08:52:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.039s coverage: 80.0% of statements 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:52:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:52:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.094s coverage: 71.8% of statements 08:52:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:52:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.036s coverage: 14.4% of statements 08:52:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.801s coverage: 44.6% of statements 08:52:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.054s coverage: 68.5% of statements 08:52:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.102s coverage: 89.2% of statements 08:52:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.5% of statements 08:52:31 using credential edgex-jenkins-ssh 08:52:31 Cloning the remote Git repository 08:52:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:52:31 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:52:31 > git --version # timeout=10 08:52:32 > git --version # 'git version 2.25.1' 08:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:52:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:52:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:52:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:52:37 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit 3754d409af1486e6bf6caad0ab64e76b64ee6010 08:52:38 Merge succeeded, producing 3754d409af1486e6bf6caad0ab64e76b64ee6010 08:52:38 Checking out Revision 3754d409af1486e6bf6caad0ab64e76b64ee6010 (PR-1589) 08:52:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:52:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1589/head:refs/remotes/origin/PR-1589 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:52:37 > git config core.sparsecheckout # timeout=10 08:52:38 > git checkout -f 3754d409af1486e6bf6caad0ab64e76b64ee6010 # timeout=10 08:52:38 > git remote # timeout=10 08:52:38 > git config --get remote.origin.url # timeout=10 08:52:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:38 > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 08:52:38 > git rev-parse HEAD^{commit} # timeout=10 08:52:38 > git config core.sparsecheckout # timeout=10 08:52:38 > git checkout -f 3754d409af1486e6bf6caad0ab64e76b64ee6010 # timeout=10 08:52:42 Commit message: "feat: Allow empty profileName in Device" 08:52:42 > git --version # timeout=10 08:52:42 > git --version # 'git version 2.25.1' 08:52:42 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:52:44 % Total % Received % Xferd Average Speed Time Time Time Current 08:52:44 Dload Upload Total Spent Left Speed 08:52:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh 08:52:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:52:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 08:52:44 sudo tee /etc/docker/daemon.new 08:52:44 { 08:52:44 "registry-mirrors": [ 08:52:44 "https://nexus3.edgexfoundry.org:10001" 08:52:44 ], 08:52:44 "bip": "10.250.0.254/24", 08:52:44 "hosts": [ 08:52:44 "tcp://0.0.0.0:5555", 08:52:44 "unix:///var/run/docker.sock" 08:52:44 ], 08:52:44 "mtu": 1458, 08:52:44 "selinux-enabled": true, 08:52:44 "seccomp-profile": "/etc/docker/seccomp.json" 08:52:44 } [Pipeline] sh 08:52:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:52:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:53:03 provisioning config files... 08:53:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17272523555993289047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:04 ---> ****-login.sh 08:53:04 nexus3.edgexfoundry.org:10001 08:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:53:05 Configure a credential helper to remove this warning. See 08:53:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:53:05 08:53:05 Login Succeeded 08:53:05 nexus3.edgexfoundry.org:10002 08:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:53:05 Configure a credential helper to remove this warning. See 08:53:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:53:05 08:53:05 Login Succeeded 08:53:05 nexus3.edgexfoundry.org:10003 08:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:53:05 Configure a credential helper to remove this warning. See 08:53:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:53:05 08:53:05 Login Succeeded 08:53:05 nexus3.edgexfoundry.org:10004 08:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:53:06 Configure a credential helper to remove this warning. See 08:53:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:53:06 08:53:06 Login Succeeded 08:53:06 ****.io 08:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:53:06 Configure a credential helper to remove this warning. See 08:53:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:53:06 08:53:06 Login Succeeded 08:53:06 ---> ****-login.sh ends [Pipeline] } 08:53:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:53:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:53:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:53:07 ========================================================= 08:53:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:53:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:07 + 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 . 08:53:08 Sending build context to Docker daemon 12.95MB 08:53:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:53:08 Step 2/10 : FROM ${BASE} AS builder 08:53:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:53:08 c6b39de5b339: Pulling fs layer 08:53:08 a69c41024577: Pulling fs layer 08:53:08 d6de4b400683: Pulling fs layer 08:53:08 35cb2a7552d0: Pulling fs layer 08:53:08 4f4fb700ef54: Pulling fs layer 08:53:08 464afbd9ba4c: Pulling fs layer 08:53:08 00f215d4a9da: Pulling fs layer 08:53:08 d496ad576159: Pulling fs layer 08:53:08 4f4fb700ef54: Waiting 08:53:08 464afbd9ba4c: Waiting 08:53:08 00f215d4a9da: Waiting 08:53:08 d496ad576159: Waiting 08:53:08 35cb2a7552d0: Waiting 08:53:08 a69c41024577: Verifying Checksum 08:53:08 a69c41024577: Download complete 08:53:08 35cb2a7552d0: Verifying Checksum 08:53:08 35cb2a7552d0: Download complete 08:53:08 4f4fb700ef54: Download complete 08:53:08 c6b39de5b339: Verifying Checksum 08:53:08 c6b39de5b339: Download complete 08:53:08 464afbd9ba4c: Verifying Checksum 08:53:08 464afbd9ba4c: Download complete 08:53:09 GO111MODULE=on go vet ./... 08:53:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:53:09 d496ad576159: Verifying Checksum 08:53:09 d496ad576159: Download complete 08:53:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:53:09 ./bin/test-attribution-txt.sh 08:53:09 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 08:53:09 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 08:53:09 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 08:53:09 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 08:53:09 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 08:53:09 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 08:53:09 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 08:53:09 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 08:53:09 An attribution for golang.org/x/term is missing from Attribution.txt, please add 08:53:09 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 08:53:09 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 08:53:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 08:53:09 c6b39de5b339: Pull complete [Pipeline] } 08:53:09 $ docker stop --time=1 d004f7996954f3605888dd61249822a9af339804f0b945814bb59d08b79feaab 08:53:10 a69c41024577: Pull complete 08:53:10 d6de4b400683: Verifying Checksum 08:53:10 d6de4b400683: Download complete 08:53:11 00f215d4a9da: Verifying Checksum 08:53:11 00f215d4a9da: Download complete 08:53:14 $ docker rm -f --volumes d004f7996954f3605888dd61249822a9af339804f0b945814bb59d08b79feaab [Pipeline] // withDockerContainer [Pipeline] sh 08:53:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:53:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:53:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:53:16 + ls -al . 08:53:16 total 376 08:53:16 drwxrwxr-x 11 jenkins jenkins 4096 Jul 1 08:51 . 08:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 08:50 .. 08:53:16 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 08:50 .dockerignore 08:53:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 08:52 .git 08:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 08:50 .github 08:53:16 -rw-rw-r-- 1 jenkins jenkins 137 Jul 1 08:50 .gitignore 08:53:16 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 08:50 .golangci.yml 08:53:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 08:50 .semver 08:53:16 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 1 08:50 CHANGELOG.md 08:53:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 08:50 GOVERNANCE.md 08:53:16 -rw-rw-r-- 1 jenkins jenkins 885 Jul 1 08:50 Jenkinsfile 08:53:16 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 08:50 LICENSE 08:53:16 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 1 08:50 Makefile 08:53:16 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 08:50 OWNERS.md 08:53:16 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 1 08:50 README.md 08:53:16 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 08:50 VERSION 08:53:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 08:50 bin 08:53:16 -rw-r--r-- 1 jenkins jenkins 122321 Jul 1 08:52 coverage.out 08:53:16 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 08:50 example 08:53:16 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 1 08:50 go.mod 08:53:16 -rw-rw-r-- 1 jenkins jenkins 101736 Jul 1 08:50 go.sum 08:53:16 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 08:50 internal 08:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 08:50 openapi 08:53:16 drwxrwxr-x 6 jenkins jenkins 4096 Jul 1 08:50 pkg 08:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 08:50 snap 08:53:16 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 08:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:16 + 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=3754d409af1486e6bf6caad0ab64e76b64ee6010 --label arch=amd64 --label version=0.0.0 . 08:53:16 Sending build context to Docker daemon 25.14MB 08:53:16 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 08:53:16 Step 2/24 : FROM ${BASE} AS builder 08:53:16 ---> dcda80830ada 08:53:16 Step 3/24 : ARG MAKE=make build 08:53:17 ---> Running in 3038cdc0276b 08:53:17 Removing intermediate container 3038cdc0276b 08:53:17 ---> 41416bcf87fd 08:53:17 Step 4/24 : WORKDIR /device-sdk-go 08:53:17 ---> Running in 48ecbfc70277 08:53:17 Removing intermediate container 48ecbfc70277 08:53:17 ---> b693321379f3 08:53:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:53:17 ---> Running in 90daa80802d0 08:53:17 Removing intermediate container 90daa80802d0 08:53:17 ---> 980b3c148c59 08:53:17 Step 6/24 : RUN apk add --update --no-cache make git 08:53:17 ---> Running in e10e77dd7347 08:53:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:53:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:53:18 OK: 264 MiB in 52 packages 08:53:18 Removing intermediate container e10e77dd7347 08:53:18 ---> 99ccae8e51c7 08:53:18 Step 7/24 : COPY go.mod vendor* ./ 08:53:18 ---> bd307791bfc9 08:53:18 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:53:18 ---> Running in 55896027f84c 08:53:19 Removing intermediate container 55896027f84c 08:53:19 ---> 0bafd643d7ab 08:53:19 Step 9/24 : COPY . . 08:53:20 ---> e0cefd0a75f1 08:53:20 Step 10/24 : RUN ${MAKE} 08:53:20 ---> Running in 1ba9dd499e1b 08:53:20 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 08:53:23 d6de4b400683: Pull complete 08:53:23 35cb2a7552d0: Pull complete 08:53:23 4f4fb700ef54: Pull complete 08:53:23 464afbd9ba4c: Pull complete 08:53:33 00f215d4a9da: Pull complete 08:53:34 d496ad576159: Pull complete 08:53:34 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 08:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:53:34 ---> f246e2811388 08:53:34 Step 3/10 : ARG MAKE=make build 08:53:36 ---> Running in f0fba7d7bb1b 08:53:36 Removing intermediate container f0fba7d7bb1b 08:53:36 ---> eb7544ec88cb 08:53:36 Step 4/10 : WORKDIR /device-sdk-go 08:53:36 ---> Running in 24258fc31504 08:53:36 Removing intermediate container 24258fc31504 08:53:36 ---> 011bba96d5c8 08:53:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:53:36 ---> Running in ccc5aa71623f 08:53:37 Removing intermediate container ccc5aa71623f 08:53:37 ---> 89915c75d2f3 08:53:37 Step 6/10 : RUN apk add --update --no-cache make git 08:53:37 ---> Running in c8ff878d3a84 08:53:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:53:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:53:39 OK: 266 MiB in 52 packages 08:53:40 Removing intermediate container c8ff878d3a84 08:53:40 ---> 0fa9a2d4b9a3 08:53:40 Step 7/10 : COPY go.mod vendor* ./ 08:53:40 ---> 20b735bd3257 08:53:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:53:40 ---> Running in 4fd69cf80d5b 08:53:59 Removing intermediate container 1ba9dd499e1b 08:53:59 ---> 2773e844b9e1 08:53:59 Step 11/24 : FROM alpine:3.18 08:53:59 3.18: Pulling from library/alpine 08:53:59 73baa7ef167e: Pulling fs layer 08:53:59 73baa7ef167e: Verifying Checksum 08:53:59 73baa7ef167e: Download complete 08:53:59 73baa7ef167e: Pull complete 08:53:59 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 08:53:59 Status: Downloaded newer image for alpine:3.18 08:53:59 ---> 8fd7cac70a4a 08:53:59 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:53:59 ---> Running in 6e864f509b9d 08:53:59 Removing intermediate container 6e864f509b9d 08:53:59 ---> 2f2402bf5603 08:53:59 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:53:59 ---> Running in 59b6f35e1e12 08:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:53:59 (1/1) Installing dumb-init (1.2.5-r2) 08:53:59 Executing busybox-1.36.1-r7.trigger 08:53:59 OK: 7 MiB in 16 packages 08:53:59 Removing intermediate container 59b6f35e1e12 08:53:59 ---> 23371347fd35 08:53:59 Step 14/24 : RUN apk --no-cache upgrade 08:53:59 ---> Running in 5a7ce8c9629b 08:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:53:59 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 08:53:59 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 08:53:59 OK: 7 MiB in 16 packages 08:53:59 Removing intermediate container 5a7ce8c9629b 08:53:59 ---> b75bf3575404 08:53:59 Step 15/24 : WORKDIR / 08:53:59 ---> Running in e42353f6bd8c 08:53:59 Removing intermediate container e42353f6bd8c 08:53:59 ---> 2dd664834164 08:53:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:53:59 ---> b6fa652ac38d 08:53:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:53:59 ---> d28b3a6d917b 08:53:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:53:59 ---> 8b159ba4c158 08:53:59 Step 19/24 : EXPOSE 59999 08:53:59 ---> Running in 03ac1e88a606 08:53:59 Removing intermediate container 03ac1e88a606 08:53:59 ---> ecbbf766b190 08:53:59 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:53:59 ---> Running in d979631415f8 08:53:59 Removing intermediate container d979631415f8 08:53:59 ---> bb665d889404 08:53:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:53:59 ---> Running in a2120151783e 08:53:59 Removing intermediate container a2120151783e 08:53:59 ---> 3b8f1c62fa66 08:53:59 Step 22/24 : LABEL arch=amd64 08:53:59 ---> Running in ea575ca3787f 08:53:59 Removing intermediate container ea575ca3787f 08:53:59 ---> c8336b95a7c7 08:53:59 Step 23/24 : LABEL git_sha=3754d409af1486e6bf6caad0ab64e76b64ee6010 08:53:59 ---> Running in ff47f04e8fa8 08:53:59 Removing intermediate container ff47f04e8fa8 08:53:59 ---> 1aa3c03ba195 08:53:59 Step 24/24 : LABEL version=0.0.0 08:53:59 ---> Running in 5ebf6bad4df3 08:53:59 Removing intermediate container 5ebf6bad4df3 08:53:59 ---> ca80cdbfb871 08:53:59 [Warning] One or more build-args [ARCH] were not consumed 08:53:59 Successfully built ca80cdbfb871 08:53:59 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 08:54:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:54:00 08:54:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:54:01 latest: Pulling from edgex-lftools-log-publisher 08:54:01 5eb5b503b376: Pulling fs layer 08:54:01 5c69ac0246d0: Pulling fs layer 08:54:01 ec43610c2a17: Pulling fs layer 08:54:01 3a2ae6a8a46f: Pulling fs layer 08:54:01 33b1e0a273af: Pulling fs layer 08:54:01 5d3b04190fa2: Pulling fs layer 08:54:01 2f39f015ded8: Pulling fs layer 08:54:01 3a2ae6a8a46f: Waiting 08:54:01 33b1e0a273af: Waiting 08:54:01 5d3b04190fa2: Waiting 08:54:01 2f39f015ded8: Waiting 08:54:01 5c69ac0246d0: Verifying Checksum 08:54:01 5c69ac0246d0: Download complete 08:54:01 3a2ae6a8a46f: Verifying Checksum 08:54:01 3a2ae6a8a46f: Download complete 08:54:01 33b1e0a273af: Verifying Checksum 08:54:01 33b1e0a273af: Download complete 08:54:01 5d3b04190fa2: Verifying Checksum 08:54:01 5d3b04190fa2: Download complete 08:54:01 ec43610c2a17: Verifying Checksum 08:54:01 ec43610c2a17: Download complete 08:54:01 5eb5b503b376: Verifying Checksum 08:54:01 5eb5b503b376: Download complete 08:54:01 2f39f015ded8: Download complete 08:54:02 5eb5b503b376: Pull complete 08:54:02 5c69ac0246d0: Pull complete 08:54:03 ec43610c2a17: Pull complete 08:54:03 3a2ae6a8a46f: Pull complete 08:54:03 33b1e0a273af: Pull complete 08:54:03 5d3b04190fa2: Pull complete 08:54:07 2f39f015ded8: Pull complete 08:54:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:54:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:54:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:08 prd-ubuntu20.04-docker-8c-8g-4676 does not seem to be running inside a container 08:54:08 $ 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-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:54:12 $ docker top 025d63bfb5e311c787f28f40ffc798c87ee9f7b97c0883f10b66215680bb9853 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:13 ---> job-cost.sh 08:54:13 lf-activate-venv: SKIPPING 08:54:13 INFO: No Stack... 08:54:13 INFO: Retrieving Pricing Info for: v3-standard-8 08:54:13 INFO: Archiving Costs [Pipeline] sh 08:54:14 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/cost.csv 08:54:14 + cut -d, -f6 [Pipeline] lock 08:54:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] 08:54:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] did not exist. Created. 08:54:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:54:14 + echo total: 0.2199999988079071 [Pipeline] stash 08:54:14 Stashed 1 file(s) [Pipeline] } 08:54:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:54:14 $ docker stop --time=1 025d63bfb5e311c787f28f40ffc798c87ee9f7b97c0883f10b66215680bb9853 08:54:16 $ docker rm -f --volumes 025d63bfb5e311c787f28f40ffc798c87ee9f7b97c0883f10b66215680bb9853 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:55:32 Removing intermediate container 4fd69cf80d5b 08:55:32 ---> 472f88b988ce 08:55:32 Step 9/10 : COPY . . 08:55:32 ---> bfeb3a099816 08:55:32 Step 10/10 : RUN ${MAKE} 08:55:32 ---> Running in a3c4dbc806d3 08:55:32 noop 08:55:32 Removing intermediate container a3c4dbc806d3 08:55:32 ---> 7f5eb119bf41 08:55:32 Successfully built 7f5eb119bf41 08:55:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:33 + docker inspect -f . ci-base-image-arm64 08:55:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:33 prd-ubuntu20.04-docker-arm64-4c-16g-4677 does not seem to be running inside a container 08:55:33 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:55:34 $ docker top d1e2b67e9001109d093855cb6c9ce194e71eace55740dafb3b639a43e3a0136a -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:35 + go version 08:55:35 go version go1.21.9 linux/arm64 [Pipeline] } 08:55:35 $ docker stop --time=1 d1e2b67e9001109d093855cb6c9ce194e71eace55740dafb3b639a43e3a0136a 08:55:37 $ docker rm -f --volumes d1e2b67e9001109d093855cb6c9ce194e71eace55740dafb3b639a43e3a0136a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:37 + docker inspect -f . ci-base-image-arm64 08:55:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:38 prd-ubuntu20.04-docker-arm64-4c-16g-4677 does not seem to be running inside a container 08:55:38 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:55:39 $ docker top 5cddf5b80602a7ac2c36bdf80b63476e92ce2401313a3d0a0f88caa45cb6e95a -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 08:55:40 + make test 08:55:40 go test -race -coverprofile=coverage.out ./... 08:56:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:59:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:59:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:59:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:59:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:59:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:59:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.122s coverage: 27.6% of statements 08:59:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.172s coverage: 80.0% of statements 08:59:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:59:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:59:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.253s coverage: 86.0% of statements 08:59:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:59:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.544s coverage: 71.8% of statements 09:00:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.165s coverage: 14.4% of statements 09:00:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:00:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:00:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.729s coverage: 44.6% of statements 09:00:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.350s coverage: 68.5% of statements 09:00:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.361s coverage: 89.2% of statements 09:00:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:00:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.249s coverage: 5.5% of statements 09:00:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:00:14 GO111MODULE=on go vet ./... 09:03:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:51 ./bin/test-attribution-txt.sh 09:03:51 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:03:51 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:03:51 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:03:51 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:03:51 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:03:51 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:03:51 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:03:51 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:03:51 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:03:51 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:03:51 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:03:51 $ docker stop --time=1 5cddf5b80602a7ac2c36bdf80b63476e92ce2401313a3d0a0f88caa45cb6e95a 09:03:54 $ docker rm -f --volumes 5cddf5b80602a7ac2c36bdf80b63476e92ce2401313a3d0a0f88caa45cb6e95a [Pipeline] // withDockerContainer [Pipeline] sh 09:03:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:56 Warning: overwriting stash ‘coverage-report’ 09:03:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:57 + ls -al . 09:03:57 total 372 09:03:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 08:55 . 09:03:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 08:52 .. 09:03:57 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 08:52 .dockerignore 09:03:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 08:52 .git 09:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 08:52 .github 09:03:57 -rw-rw-r-- 1 jenkins jenkins 137 Jul 1 08:52 .gitignore 09:03:57 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 08:52 .golangci.yml 09:03:57 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 1 08:52 CHANGELOG.md 09:03:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 08:52 GOVERNANCE.md 09:03:57 -rw-rw-r-- 1 jenkins jenkins 885 Jul 1 08:52 Jenkinsfile 09:03:57 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 08:52 LICENSE 09:03:57 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 1 08:52 Makefile 09:03:57 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 08:52 OWNERS.md 09:03:57 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 1 08:52 README.md 09:03:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 08:50 VERSION 09:03:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 08:52 bin 09:03:57 -rw-r--r-- 1 jenkins jenkins 122323 Jul 1 09:00 coverage.out 09:03:57 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 08:52 example 09:03:57 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 1 08:52 go.mod 09:03:57 -rw-rw-r-- 1 jenkins jenkins 101736 Jul 1 08:52 go.sum 09:03:57 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 08:52 internal 09:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 08:52 openapi 09:03:57 drwxrwxr-x 6 jenkins jenkins 4096 Jul 1 08:52 pkg 09:03:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 08:52 snap 09:03:57 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 08:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:58 + 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=3754d409af1486e6bf6caad0ab64e76b64ee6010 --label arch=arm64 --label version=0.0.0 . 09:03:59 Sending build context to Docker daemon 13.08MB 09:03:59 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:03:59 Step 2/24 : FROM ${BASE} AS builder 09:03:59 ---> 7f5eb119bf41 09:03:59 Step 3/24 : ARG MAKE=make build 09:03:59 ---> Running in c2ae2be1e7a1 09:03:59 Removing intermediate container c2ae2be1e7a1 09:03:59 ---> b1d031c7a9f9 09:03:59 Step 4/24 : WORKDIR /device-sdk-go 09:03:59 ---> Running in 961cdc8a4bf4 09:03:59 Removing intermediate container 961cdc8a4bf4 09:03:59 ---> c10845272322 09:03:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:03:59 ---> Running in da260b67d110 09:04:00 Removing intermediate container da260b67d110 09:04:00 ---> afe8dde59275 09:04:00 Step 6/24 : RUN apk add --update --no-cache make git 09:04:00 ---> Running in 210b52d62298 09:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:04:03 OK: 266 MiB in 52 packages 09:04:03 Removing intermediate container 210b52d62298 09:04:03 ---> 17057eba8275 09:04:03 Step 7/24 : COPY go.mod vendor* ./ 09:04:04 ---> 9980817394b3 09:04:04 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:04:04 ---> Running in 4e1862af279b 09:04:06 Removing intermediate container 4e1862af279b 09:04:06 ---> 93a0d590a97e 09:04:06 Step 9/24 : COPY . . 09:04:07 ---> ed53995ab249 09:04:07 Step 10/24 : RUN ${MAKE} 09:04:08 ---> Running in 8e398c455424 09:04:09 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 09:07:30 Removing intermediate container 8e398c455424 09:07:30 ---> e3792e6e2a70 09:07:30 Step 11/24 : FROM alpine:3.18 09:07:30 3.18: Pulling from library/alpine 09:07:30 5c905c7ebe2f: Pulling fs layer 09:07:30 5c905c7ebe2f: Verifying Checksum 09:07:30 5c905c7ebe2f: Download complete 09:07:30 5c905c7ebe2f: Pull complete 09:07:30 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 09:07:30 Status: Downloaded newer image for alpine:3.18 09:07:30 ---> dec292d02e07 09:07:30 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:07:30 ---> Running in e5ba9a3af1d8 09:07:30 Removing intermediate container e5ba9a3af1d8 09:07:30 ---> 390bb8f137df 09:07:30 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:07:30 ---> Running in 85160945b331 09:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:07:30 (1/1) Installing dumb-init (1.2.5-r2) 09:07:30 Executing busybox-1.36.1-r7.trigger 09:07:30 OK: 8 MiB in 16 packages 09:07:31 Removing intermediate container 85160945b331 09:07:31 ---> aa29118feba8 09:07:31 Step 14/24 : RUN apk --no-cache upgrade 09:07:31 ---> Running in aff8dccaaab2 09:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:07:33 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 09:07:33 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 09:07:33 OK: 8 MiB in 16 packages 09:07:34 Removing intermediate container aff8dccaaab2 09:07:34 ---> 4016108656da 09:07:34 Step 15/24 : WORKDIR / 09:07:34 ---> Running in d727b6d23d22 09:07:34 Removing intermediate container d727b6d23d22 09:07:34 ---> 6acba0fac180 09:07:34 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:07:35 ---> d21ebdb0ac43 09:07:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:07:37 ---> 26529805ccf7 09:07:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:07:37 ---> aea9ec3e5a88 09:07:37 Step 19/24 : EXPOSE 59999 09:07:37 ---> Running in 256e36940b0e 09:07:38 Removing intermediate container 256e36940b0e 09:07:38 ---> 060901bdc2b4 09:07:38 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:07:38 ---> Running in a7bccfed67cd 09:07:38 Removing intermediate container a7bccfed67cd 09:07:38 ---> 5aefee7cc80a 09:07:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:07:38 ---> Running in e6163a137171 09:07:39 Removing intermediate container e6163a137171 09:07:39 ---> 477161f58223 09:07:39 Step 22/24 : LABEL arch=arm64 09:07:39 ---> Running in e1db6bfac542 09:07:39 Removing intermediate container e1db6bfac542 09:07:39 ---> 03159423547c 09:07:39 Step 23/24 : LABEL git_sha=3754d409af1486e6bf6caad0ab64e76b64ee6010 09:07:39 ---> Running in f07ff0cc8140 09:07:39 Removing intermediate container f07ff0cc8140 09:07:39 ---> f0a5563c21aa 09:07:39 Step 24/24 : LABEL version=0.0.0 09:07:39 ---> Running in 6305c88ec762 09:07:40 Removing intermediate container 6305c88ec762 09:07:40 ---> 9cc497bacfab 09:07:40 [Warning] One or more build-args [ARCH] were not consumed 09:07:40 Successfully built 9cc497bacfab 09:07:40 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 09:07:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:41 09:07:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:41 arm64: Pulling from edgex-lftools-log-publisher 09:07:41 8998bd30e6a1: Pulling fs layer 09:07:41 04944245beec: Pulling fs layer 09:07:41 699f458cf7ca: Pulling fs layer 09:07:41 765212b225bb: Pulling fs layer 09:07:41 f23df028b6ca: Pulling fs layer 09:07:41 d65c8cfc05b1: Pulling fs layer 09:07:41 2437ff75d9bd: Pulling fs layer 09:07:41 f23df028b6ca: Waiting 09:07:41 765212b225bb: Waiting 09:07:41 d65c8cfc05b1: Waiting 09:07:41 2437ff75d9bd: Waiting 09:07:41 04944245beec: Verifying Checksum 09:07:41 04944245beec: Download complete 09:07:41 f23df028b6ca: Verifying Checksum 09:07:41 f23df028b6ca: Download complete 09:07:41 d65c8cfc05b1: Verifying Checksum 09:07:41 d65c8cfc05b1: Download complete 09:07:42 699f458cf7ca: Verifying Checksum 09:07:42 699f458cf7ca: Download complete 09:07:42 8998bd30e6a1: Verifying Checksum 09:07:44 2437ff75d9bd: Verifying Checksum 09:07:44 2437ff75d9bd: Download complete 09:07:46 8998bd30e6a1: Pull complete 09:07:47 04944245beec: Pull complete 09:07:48 699f458cf7ca: Pull complete 09:07:49 765212b225bb: Pull complete 09:07:50 f23df028b6ca: Pull complete 09:07:50 d65c8cfc05b1: Pull complete 09:08:08 2437ff75d9bd: Pull complete 09:08:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-4677 does not seem to be running inside a container 09:08:08 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:08:11 $ docker top e119de329eefaba54e365fe1d40d0f6c7c4154d3f10ea49de786577b93c3f2a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:12 ---> job-cost.sh 09:08:12 lf-activate-venv: SKIPPING 09:08:12 INFO: No Stack... 09:08:12 INFO: Retrieving Pricing Info for: v3-standard-4 09:08:13 INFO: Archiving Costs [Pipeline] sh 09:08:14 + cut -d, -f6 09:08:14 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 09:08:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] 09:08:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] did not exist. Created. 09:08:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:08:15 /w/workspace/device-sdk-go/1@tmp/durable-6bf3fefb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:08:16 + echo total: 0.10999999940395355 [Pipeline] stash 09:08:16 Warning: overwriting stash ‘stack-cost’ 09:08:16 Stashed 1 file(s) [Pipeline] } 09:08:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:08:16 $ docker stop --time=1 e119de329eefaba54e365fe1d40d0f6c7c4154d3f10ea49de786577b93c3f2a0 09:08:17 $ docker rm -f --volumes e119de329eefaba54e365fe1d40d0f6c7c4154d3f10ea49de786577b93c3f2a0 [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 09:08:19 provisioning config files... 09:08:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config4930138985710374910tmp [Pipeline] { [Pipeline] sh 09:08:19 + set +x 09:08:19 + + curl -s https://codecov.io/bash 09:08:19 bash -s -- 09:08:19 09:08:19 _____ _ 09:08:19 / ____| | | 09:08:19 | | ___ __| | ___ ___ _____ __ 09:08:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:08:19 | |___| (_) | (_| | __/ (_| (_) \ V / 09:08:19 \_____\___/ \__,_|\___|\___\___/ \_/ 09:08:19 Bash-1.0.6 09:08:19 09:08:19 09:08:19 ==> git version 2.25.1 found 09:08:19 ==> 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 09:08:19 Release-Date: 2020-01-08 09:08:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:08:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:08:19 ==> Jenkins CI detected. 09:08:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1589 09:08:19 project root: . 09:08:19 --> token set from env 09:08:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:08:19 ==> Running gcov in . (disable via -X gcov) 09:08:19 ==> Python coveragepy not found 09:08:19 ==> Searching for coverage reports in: 09:08:19 + . 09:08:19 -> Found 1 reports 09:08:19 ==> Detecting git/mercurial file structure 09:08:19 ==> Reading reports 09:08:19 + ./coverage.out bytes=122323 09:08:19 ==> Appending adjustments 09:08:19 https://docs.codecov.io/docs/fixing-reports 09:08:19 + Found adjustments 09:08:19 ==> Gzipping contents 09:08:19 20K /tmp/codecov.nZKCzp.gz 09:08:19 ==> Uploading reports 09:08:19 url: https://codecov.io 09:08:19 query: branch=PR-1589&commit=3754d409af1486e6bf6caad0ab64e76b64ee6010&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1589%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1589&job=&cmd_args= 09:08:19 -> Pinging Codecov 09:08:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1589&commit=3754d409af1486e6bf6caad0ab64e76b64ee6010&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1589%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1589&job=&cmd_args= 09:08:19 -> Uploading to 09:08:19 https://storage.googleapis.com/codecov/v4/raw/2024-07-01/7E55EF52A471D76F132DFD9A03CDDE97/3754d409af1486e6bf6caad0ab64e76b64ee6010/71914eb5-007a-4984-bbcc-440e00cb1607.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240701%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240701T090819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=739fc2d100d89a68a226e215e9f57cdca1ed352796b89fb044fcf76f49540980 09:08:19 % Total % Received % Xferd Average Speed Time Time Time Current 09:08:19 Dload Upload Total Spent Left Speed 09:08:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16730 0 0 100 16730 0 68285 --:--:-- --:--:-- --:--:-- 68285 09:08:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3754d409af1486e6bf6caad0ab64e76b64ee6010 [Pipeline] } 09:08:20 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 09:08:23 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives ] 09:08:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives 09:08:23 total 16 09:08:23 drwxr-xr-x 3 root root 4096 Jul 1 08:54 . 09:08:23 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 08:54 .. 09:08:23 drwxr-xr-x 2 root root 4096 Jul 1 08:54 cost 09:08:23 -rw-r--r-- 1 root root 86 Jul 1 08:54 cost.csv 09:08:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives 09:08:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives 09:08:23 total 16 09:08:23 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 08:54 . 09:08:23 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 08:54 .. 09:08:23 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 08:54 cost 09:08:23 -rw-r--r-- 1 jenkins jenkins 86 Jul 1 08:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:08:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:24 ---> package-listing.sh 09:08:24 ++ facter osfamily 09:08:24 ++ tr '[:upper:]' '[:lower:]' 09:08:24 + OS_FAMILY=debian 09:08:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1589 09:08:24 + START_PACKAGES=/tmp/packages_start.txt 09:08:24 + END_PACKAGES=/tmp/packages_end.txt 09:08:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:24 + PACKAGES=/tmp/packages_start.txt 09:08:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1589 ']' 09:08:24 + PACKAGES=/tmp/packages_end.txt 09:08:24 + case "${OS_FAMILY}" in 09:08:24 + dpkg -l 09:08:24 + grep '^ii' 09:08:24 + '[' -f /tmp/packages_start.txt ']' 09:08:24 + '[' -f /tmp/packages_end.txt ']' 09:08:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1589 ']' 09:08:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/ 09:08:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/ [Pipeline] echo 09:08:24 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-1589/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:08:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:25 prd-ubuntu20.04-docker-8c-8g-4676 does not seem to be running inside a container 09:08:26 $ 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-1589/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-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:08:26 $ docker top f53d5462920c7745c9a798e9ec30484f09ff525ed2476a2d651f37fa58fd7f0a -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:26 + touch /tmp/pre-build-complete [Pipeline] sh 09:08:27 + mkdir -p /var/log/sysstat [Pipeline] sh 09:08:27 + ls /var/log/sa-host 09:08:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:27 provisioning config files... 09:08:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config3344483780090936579tmp [Pipeline] { [Pipeline] echo 09:08:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:28 ---> create-netrc.sh [Pipeline] } 09:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:08:28 ---> python-tools-install.sh [Pipeline] echo 09:08:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:08:28 ---> sudo-logs.sh 09:08:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:08:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:08:29 ---> job-cost.sh 09:08:29 lf-activate-venv: SKIPPING 09:08:29 DEBUG: total: 0.2199999988079071 09:08:29 INFO: Retrieving Stack Cost... 09:08:29 INFO: Retrieving Pricing Info for: v3-standard-8 09:08:30 INFO: Archiving Costs [Pipeline] echo 09:08:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:30 ---> logs-deploy.sh 09:08:30 lf-activate-venv: SKIPPING 09:08:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1589/1 09:08:30 INFO: archiving workspace using pattern(s): 09:08:31 Archives upload complete. 09:08:31 INFO: archiving logs to Nexus 09:08:32 ---> uname -a: 09:08:32 Linux prd-ubuntu20-04-docker-8c-8g-4676 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:08:32 09:08:32 09:08:32 ---> lscpu: 09:08:32 Architecture: x86_64 09:08:32 CPU op-mode(s): 32-bit, 64-bit 09:08:32 Byte Order: Little Endian 09:08:32 Address sizes: 40 bits physical, 48 bits virtual 09:08:32 CPU(s): 8 09:08:32 On-line CPU(s) list: 0-7 09:08:32 Thread(s) per core: 1 09:08:32 Core(s) per socket: 1 09:08:32 Socket(s): 8 09:08:32 NUMA node(s): 1 09:08:32 Vendor ID: AuthenticAMD 09:08:32 CPU family: 23 09:08:32 Model: 49 09:08:32 Model name: AMD EPYC-Rome Processor 09:08:32 Stepping: 0 09:08:32 CPU MHz: 2799.998 09:08:32 BogoMIPS: 5599.99 09:08:32 Virtualization: AMD-V 09:08:32 Hypervisor vendor: KVM 09:08:32 Virtualization type: full 09:08:32 L1d cache: 256 KiB 09:08:32 L1i cache: 256 KiB 09:08:32 L2 cache: 4 MiB 09:08:32 L3 cache: 128 MiB 09:08:32 NUMA node0 CPU(s): 0-7 09:08:32 Vulnerability Itlb multihit: Not affected 09:08:32 Vulnerability L1tf: Not affected 09:08:32 Vulnerability Mds: Not affected 09:08:32 Vulnerability Meltdown: Not affected 09:08:32 Vulnerability Mmio stale data: Not affected 09:08:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:08:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:08:32 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:08:32 Vulnerability Srbds: Not affected 09:08:32 Vulnerability Tsx async abort: Not affected 09:08:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:08:32 09:08:32 09:08:32 ---> nproc: 09:08:32 8 09:08:32 09:08:32 09:08:32 ---> df -h: 09:08:32 Filesystem Size Used Avail Use% Mounted on 09:08:32 overlay 155G 12G 143G 8% / 09:08:32 tmpfs 64M 0 64M 0% /dev 09:08:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:08:32 shm 64M 0 64M 0% /dev/shm 09:08:32 /dev/vda1 155G 12G 143G 8% /facter-os 09:08:32 09:08:32