Pull request #1590 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f63934a8655d383f38e07dede0f70b049ee20666+d3487eec0ede001a3c25d71c6388e8b50871be46 (fce00136e9c362627c3f30e15086c6e13e39b71c) 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-ssh18001964453448268093.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-ssh11982934334590662404.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-1590/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-1590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1822125438185160246.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-1590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9266279190454192155.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-ssh811976187964297338.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-1590/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-1590/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8578589468307929299.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-4703 in /w/workspace/gexfoundry_device-sdk-go_PR-1590 [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-1590 # 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/1590/head:refs/remotes/origin/PR-1590 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit f63934a8655d383f38e07dede0f70b049ee20666 Merge succeeded, producing f63934a8655d383f38e07dede0f70b049ee20666 Checking out Revision f63934a8655d383f38e07dede0f70b049ee20666 (PR-1590) Commit message: "build(deps): bump github.com/gorilla/schema from 1.2.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f f63934a8655d383f38e07dede0f70b049ee20666 # 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 f63934a8655d383f38e07dede0f70b049ee20666 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:48 ========================================================= 20:39:48 EdgeX Global Pipelines Version Info 20:39:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:48 ------------------- 20:39:48 stable info: 20:39:48 ------------------- 20:39:48 Commited By: Ginny Guan ginny@iotechsys.com 20:39:48 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:39:48 Message: update stable to v1.0.260 20:39:49 ------------------- 20:39:49 experimental info: 20:39:49 ------------------- 20:39:49 Commited By: Ginny Guan ginny@iotechsys.com 20:39:49 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:39:49 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:39:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:39:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1590 [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1590 [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1590 [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f63934a8655d383f38e07dede0f70b049ee20666 [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f63934a [Pipeline] echo 20:39:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:51 provisioning config files... 20:39:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/config12289187596934347512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:52 ---> ****-login.sh 20:39:52 nexus3.edgexfoundry.org:10001 20:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:52 Configure a credential helper to remove this warning. See 20:39:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:52 20:39:52 Login Succeeded 20:39:52 nexus3.edgexfoundry.org:10002 20:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:52 Configure a credential helper to remove this warning. See 20:39:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:52 20:39:52 Login Succeeded 20:39:52 nexus3.edgexfoundry.org:10003 20:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:52 Configure a credential helper to remove this warning. See 20:39:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:52 20:39:52 Login Succeeded 20:39:52 nexus3.edgexfoundry.org:10004 20:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:52 Configure a credential helper to remove this warning. See 20:39:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:52 20:39:52 Login Succeeded 20:39:52 ****.io 20:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:53 Configure a credential helper to remove this warning. See 20:39:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:53 20:39:53 Login Succeeded 20:39:53 ---> ****-login.sh ends [Pipeline] } 20:39:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:53 + git rev-list -1 --merges f63934a8655d383f38e07dede0f70b049ee20666~1..f63934a8655d383f38e07dede0f70b049ee20666 [Pipeline] echo 20:39:53 -----------> git rev-list -1 --merges f63934a8655d383f38e07dede0f70b049ee20666~1..f63934a8655d383f38e07dede0f70b049ee20666 f63934a8655d383f38e07dede0f70b049ee20666 [false] [Pipeline] sh 20:39:54 + git log --format=format:%s -1 f63934a8655d383f38e07dede0f70b049ee20666 [Pipeline] echo 20:39:54 ========================================================= 20:39:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:54 + git log --format=format:%s -1 f63934a8655d383f38e07dede0f70b049ee20666 [Pipeline] echo 20:39:54 [semverPrep] GIT_COMMIT: f63934a8655d383f38e07dede0f70b049ee20666, Commit Message: build(deps): bump github.com/gorilla/schema from 1.2.0 to 1.4.1 [Pipeline] echo 20:39:54 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:55 + grep -v github /etc/ssh/ssh_known_hosts 20:39:55 + [ -e /tmp/ssh_known_hosts ] 20:39:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:39:55 + sudo tee -a /etc/ssh/ssh_known_hosts 20:39:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:55 20:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:56 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:56 b85a868b505f: Pulling fs layer 20:39:56 e2be974225ed: Pulling fs layer 20:39:56 339a4e72a1f5: Pulling fs layer 20:39:56 988bab9f4d93: Pulling fs layer 20:39:56 1469e6f7b9e6: Pulling fs layer 20:39:56 eaf3925da568: Pulling fs layer 20:39:56 bab4dde63d76: Pulling fs layer 20:39:56 bde34c3a00c8: Pulling fs layer 20:39:56 b352a97aabf1: Pulling fs layer 20:39:56 4872d77fe225: Pulling fs layer 20:39:56 5851b861e8e6: Pulling fs layer 20:39:56 1469e6f7b9e6: Waiting 20:39:56 eaf3925da568: Waiting 20:39:56 988bab9f4d93: Waiting 20:39:56 b352a97aabf1: Waiting 20:39:56 e2be974225ed: Verifying Checksum 20:39:56 e2be974225ed: Download complete 20:39:56 988bab9f4d93: Verifying Checksum 20:39:56 988bab9f4d93: Download complete 20:39:56 1469e6f7b9e6: Verifying Checksum 20:39:56 1469e6f7b9e6: Download complete 20:39:56 eaf3925da568: Verifying Checksum 20:39:56 eaf3925da568: Download complete 20:39:56 339a4e72a1f5: Verifying Checksum 20:39:56 339a4e72a1f5: Download complete 20:39:56 bde34c3a00c8: Verifying Checksum 20:39:56 bde34c3a00c8: Download complete 20:39:56 b352a97aabf1: Verifying Checksum 20:39:56 b352a97aabf1: Download complete 20:39:56 4872d77fe225: Download complete 20:39:56 5851b861e8e6: Verifying Checksum 20:39:56 5851b861e8e6: Download complete 20:39:56 b85a868b505f: Verifying Checksum 20:39:56 b85a868b505f: Download complete 20:39:56 bab4dde63d76: Verifying Checksum 20:39:56 bab4dde63d76: Download complete 20:39:57 b85a868b505f: Pull complete 20:39:57 e2be974225ed: Pull complete 20:39:58 339a4e72a1f5: Pull complete 20:39:58 988bab9f4d93: Pull complete 20:39:58 1469e6f7b9e6: Pull complete 20:39:58 eaf3925da568: Pull complete 20:40:00 bab4dde63d76: Pull complete 20:40:00 bde34c3a00c8: Pull complete 20:40:00 b352a97aabf1: Pull complete 20:40:00 4872d77fe225: Pull complete 20:40:00 5851b861e8e6: Pull complete 20:40:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:00 prd-ubuntu20.04-docker-8c-8g-4703 does not seem to be running inside a container 20:40:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1590 -v /w/workspace/gexfoundry_device-sdk-go_PR-1590:/w/workspace/gexfoundry_device-sdk-go_PR-1590:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:40:03 $ docker top 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 -eo pid,comm 20:40:03 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). 20:40:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:04 [ssh-agent] Looking for ssh-agent implementation... 20:40:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:04 $ docker exec 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 ssh-agent 20:40:04 SSH_AUTH_SOCK=/tmp/ssh-hzm5Y7RQsQmI/agent.34 20:40:04 SSH_AGENT_PID=40 20:40:04 Running ssh-add (command line suppressed) 20:40:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/private_key_8526779556507428947.key (/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/private_key_8526779556507428947.key) 20:40:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:04 + git tag --points-at HEAD [Pipeline] } 20:40:04 $ docker exec --env ******** --env ******** 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 ssh-agent -k 20:40:04 unset SSH_AUTH_SOCK; 20:40:04 unset SSH_AGENT_PID; 20:40:04 echo Agent pid 40 killed; 20:40:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:04 [ssh-agent] Looking for ssh-agent implementation... 20:40:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:05 $ docker exec 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 ssh-agent 20:40:05 SSH_AUTH_SOCK=/tmp/ssh-3AFeWHOfBBD5/agent.74 20:40:05 SSH_AGENT_PID=80 20:40:05 Running ssh-add (command line suppressed) 20:40:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/private_key_9993639202896343772.key (/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/private_key_9993639202896343772.key) 20:40:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:05 + git semver init 20:40:05 2024-07-01 20:40:05,832 [run_init] DEBUG init version:0.0.0 force:False 20:40:05 2024-07-01 20:40:05,833 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver 20:40:05 2024-07-01 20:40:05,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver 20:40:05 2024-07-01 20:40:05,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1590, universal_newlines=False, shell=None, istream=None) 20:40:07 2024-07-01 20:40:07,749 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1590/.git/info/exclude 20:40:07 2024-07-01 20:40:07,750 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver/PR-1590 with force:False 20:40:07 2024-07-01 20:40:07,750 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver/PR-1590 20:40:07 2024-07-01 20:40:07,754 [execute] INFO git cat-file --batch-check 20:40:07 2024-07-01 20:40:07,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver, universal_newlines=False, shell=None, istream=) 20:40:07 2024-07-01 20:40:07,760 [execute] INFO git cat-file --batch 20:40:07 2024-07-01 20:40:07,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver, universal_newlines=False, shell=None, istream=) 20:40:07 2024-07-01 20:40:07,765 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1590/.semver/PR-1590 20:40:07 0.0.0 [Pipeline] } 20:40:07 $ docker exec --env ******** --env ******** 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 ssh-agent -k 20:40:07 unset SSH_AUTH_SOCK; 20:40:07 unset SSH_AGENT_PID; 20:40:07 echo Agent pid 80 killed; 20:40:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:08 + git semver [Pipeline] } 20:40:08 $ docker stop --time=1 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 20:40:10 $ docker rm -f --volumes 2afecc2d2bdbb72ab4f0e1a1a57d9f38f9aba62f79dd55b428edd9345fe54454 [Pipeline] // withDockerContainer [Pipeline] sh 20:40:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:11 Stashed 1 file(s) [Pipeline] echo 20:40:11 [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 20:40:11 provisioning config files... 20:40:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/config17920976389009162540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:12 ---> ****-login.sh 20:40:12 nexus3.edgexfoundry.org:10001 20:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:12 Configure a credential helper to remove this warning. See 20:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:12 20:40:12 Login Succeeded 20:40:12 nexus3.edgexfoundry.org:10002 20:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:12 Configure a credential helper to remove this warning. See 20:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:12 20:40:12 Login Succeeded 20:40:12 nexus3.edgexfoundry.org:10003 20:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:12 Configure a credential helper to remove this warning. See 20:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:12 20:40:12 Login Succeeded 20:40:12 nexus3.edgexfoundry.org:10004 20:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:12 Configure a credential helper to remove this warning. See 20:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:12 20:40:12 Login Succeeded 20:40:12 ****.io 20:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:12 Configure a credential helper to remove this warning. See 20:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:12 20:40:12 Login Succeeded 20:40:12 ---> ****-login.sh ends [Pipeline] } 20:40:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:40:13 ========================================================= 20:40:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:40:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:13 + 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 . 20:40:13 Sending build context to Docker daemon 24.95MB 20:40:13 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:40:13 Step 2/10 : FROM ${BASE} AS builder 20:40:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:13 619be1103602: Pulling fs layer 20:40:13 7862e08f4a3e: Pulling fs layer 20:40:13 5df492c9dc93: Pulling fs layer 20:40:13 7629e6793208: Pulling fs layer 20:40:13 4f4fb700ef54: Pulling fs layer 20:40:13 fb5054dd5b73: Pulling fs layer 20:40:13 eeca6798cff9: Pulling fs layer 20:40:13 aa269ceb94a6: Pulling fs layer 20:40:13 ada007ff1a6a: Pulling fs layer 20:40:13 7629e6793208: Waiting 20:40:13 4f4fb700ef54: Waiting 20:40:13 eeca6798cff9: Waiting 20:40:13 fb5054dd5b73: Waiting 20:40:13 ada007ff1a6a: Waiting 20:40:13 7862e08f4a3e: Verifying Checksum 20:40:13 7862e08f4a3e: Download complete 20:40:13 7629e6793208: Download complete 20:40:13 4f4fb700ef54: Verifying Checksum 20:40:13 4f4fb700ef54: Download complete 20:40:13 fb5054dd5b73: Verifying Checksum 20:40:13 fb5054dd5b73: Download complete 20:40:13 619be1103602: Verifying Checksum 20:40:13 619be1103602: Download complete 20:40:13 eeca6798cff9: Verifying Checksum 20:40:13 eeca6798cff9: Download complete 20:40:14 619be1103602: Pull complete 20:40:14 ada007ff1a6a: Verifying Checksum 20:40:14 ada007ff1a6a: Download complete 20:40:14 7862e08f4a3e: Pull complete 20:40:14 5df492c9dc93: Verifying Checksum 20:40:14 5df492c9dc93: Download complete 20:40:14 aa269ceb94a6: Verifying Checksum 20:40:14 aa269ceb94a6: Download complete 20:40:18 5df492c9dc93: Pull complete 20:40:18 7629e6793208: Pull complete 20:40:18 4f4fb700ef54: Pull complete 20:40:18 fb5054dd5b73: Pull complete 20:40:18 eeca6798cff9: Pull complete 20:40:20 aa269ceb94a6: Pull complete 20:40:20 ada007ff1a6a: Pull complete 20:40:20 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:40:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:40:20 ---> f489d0715acc 20:40:20 Step 3/10 : ARG MAKE=make build 20:40:25 ---> Running in 7c43f296cefe 20:40:25 Removing intermediate container 7c43f296cefe 20:40:25 ---> b90629b065f0 20:40:25 Step 4/10 : WORKDIR /device-sdk-go 20:40:25 ---> Running in ac57264265f0 20:40:25 Removing intermediate container ac57264265f0 20:40:25 ---> 5862aa5a3570 20:40:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:40:25 ---> Running in 235972ce249e 20:40:25 Removing intermediate container 235972ce249e 20:40:25 ---> 4d089854d364 20:40:25 Step 6/10 : RUN apk add --update --no-cache make git 20:40:25 ---> Running in da83815894d9 20:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:40:26 OK: 264 MiB in 52 packages 20:40:26 Removing intermediate container da83815894d9 20:40:26 ---> 43a8cc6d0720 20:40:26 Step 7/10 : COPY go.mod vendor* ./ 20:40:26 Still waiting to schedule task 20:40:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:40:26 ---> c6dd7dcfadc1 20:40:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:26 ---> Running in 04bcc1adad37 20:41:23 Removing intermediate container 04bcc1adad37 20:41:23 ---> 4da650e39629 20:41:23 Step 9/10 : COPY . . 20:41:23 ---> 0c6adad6f590 20:41:23 Step 10/10 : RUN ${MAKE} 20:41:23 ---> Running in 8ed834e01250 20:41:23 noop 20:41:23 Removing intermediate container 8ed834e01250 20:41:23 ---> 95b493387701 20:41:23 Successfully built 95b493387701 20:41:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:23 + docker inspect -f . ci-base-image-x86_64 20:41:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:23 prd-ubuntu20.04-docker-8c-8g-4703 does not seem to be running inside a container 20:41:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1590 -v /w/workspace/gexfoundry_device-sdk-go_PR-1590:/w/workspace/gexfoundry_device-sdk-go_PR-1590:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:24 $ docker top 2892960656b8839947374c50f1c58f637d69e6973ff7dc9a85773c56ce3499d9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:24 + go version 20:41:24 go version go1.21.9 linux/amd64 [Pipeline] } 20:41:24 $ docker stop --time=1 2892960656b8839947374c50f1c58f637d69e6973ff7dc9a85773c56ce3499d9 20:41:25 $ docker rm -f --volumes 2892960656b8839947374c50f1c58f637d69e6973ff7dc9a85773c56ce3499d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:26 + docker inspect -f . ci-base-image-x86_64 20:41:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:26 prd-ubuntu20.04-docker-8c-8g-4703 does not seem to be running inside a container 20:41:26 $ 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-1590 -v /w/workspace/gexfoundry_device-sdk-go_PR-1590:/w/workspace/gexfoundry_device-sdk-go_PR-1590:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:27 $ docker top 7b609d955fdd930c0b0a8058b4e3d3c0d02ec7ec47fd6cb906eaf4f114f7e270 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1590 [Pipeline] fileExists [Pipeline] sh 20:41:27 + make test 20:41:27 go test -race -coverprofile=coverage.out ./... 20:41:34 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:42:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 27.6% of statements 20:42:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.043s coverage: 80.0% of statements 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:42:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:42:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.100s coverage: 71.8% of statements 20:42:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:42:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.084s coverage: 14.4% of statements 20:42:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.817s coverage: 44.6% of statements 20:42:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.046s coverage: 68.5% of statements 20:42:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.089s coverage: 89.2% of statements 20:42:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.054s coverage: 5.5% of statements 20:42:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4715 in /w/workspace/gexfoundry_device-sdk-go_PR-1590 [Pipeline] { [Pipeline] ws 20:42:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:42:45 The recommended git tool is: git 20:42:51 using credential edgex-jenkins-ssh 20:42:51 Cloning the remote Git repository 20:42:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:42:51 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:42:53 GO111MODULE=on go vet ./... 20:42:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:42:52 > git --version # timeout=10 20:42:52 > git --version # 'git version 2.25.1' 20:42:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:55 ./bin/test-attribution-txt.sh 20:42:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:42:55 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:42:55 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:42:55 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:42:55 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:42:55 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:42:55 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:42:55 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:42:55 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:42:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:42:55 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:42:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:42:55 $ docker stop --time=1 7b609d955fdd930c0b0a8058b4e3d3c0d02ec7ec47fd6cb906eaf4f114f7e270 20:42:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:42:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:58 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit f63934a8655d383f38e07dede0f70b049ee20666 20:42:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:42:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:42:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1590/head:refs/remotes/origin/PR-1590 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:42:58 > git config core.sparsecheckout # timeout=10 20:42:58 > git checkout -f f63934a8655d383f38e07dede0f70b049ee20666 # timeout=10 20:42:59 Merge succeeded, producing f63934a8655d383f38e07dede0f70b049ee20666 20:42:59 Checking out Revision f63934a8655d383f38e07dede0f70b049ee20666 (PR-1590) 20:43:00 Commit message: "build(deps): bump github.com/gorilla/schema from 1.2.0 to 1.4.1" 20:43:00 > git --version # timeout=10 20:43:00 > git --version # 'git version 2.25.1' 20:43:00 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 20:42:59 > git remote # timeout=10 20:42:59 > git config --get remote.origin.url # timeout=10 20:42:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:59 > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 20:42:59 > git rev-parse HEAD^{commit} # timeout=10 20:42:59 > git config core.sparsecheckout # timeout=10 20:42:59 > git checkout -f f63934a8655d383f38e07dede0f70b049ee20666 # timeout=10 20:43:00 $ docker rm -f --volumes 7b609d955fdd930c0b0a8058b4e3d3c0d02ec7ec47fd6cb906eaf4f114f7e270 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:02 + ls -al . 20:43:02 total 376 20:43:02 drwxrwxr-x 11 jenkins jenkins 4096 Jul 1 20:41 . 20:43:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:39 .. 20:43:02 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:39 .dockerignore 20:43:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:42 .git 20:43:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:39 .github 20:43:02 -rw-rw-r-- 1 jenkins jenkins 137 Jul 1 20:39 .gitignore 20:43:02 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 20:39 .golangci.yml 20:43:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:40 .semver 20:43:02 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 1 20:39 CHANGELOG.md 20:43:02 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:39 GOVERNANCE.md 20:43:02 -rw-rw-r-- 1 jenkins jenkins 885 Jul 1 20:39 Jenkinsfile 20:43:02 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 20:39 LICENSE 20:43:02 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 1 20:39 Makefile 20:43:02 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 20:39 OWNERS.md 20:43:02 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 1 20:39 README.md 20:43:02 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:40 VERSION 20:43:02 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:39 bin 20:43:02 -rw-r--r-- 1 jenkins jenkins 122321 Jul 1 20:42 coverage.out 20:43:02 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 20:39 example 20:43:02 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 1 20:39 go.mod 20:43:02 -rw-rw-r-- 1 jenkins jenkins 101736 Jul 1 20:39 go.sum 20:43:02 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 20:39 internal 20:43:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:39 openapi 20:43:02 drwxrwxr-x 6 jenkins jenkins 4096 Jul 1 20:39 pkg 20:43:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:39 snap 20:43:02 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:04 + 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=f63934a8655d383f38e07dede0f70b049ee20666 --label arch=amd64 --label version=0.0.0 . 20:43:04 Sending build context to Docker daemon 25.07MB 20:43:04 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 20:43:04 Step 2/24 : FROM ${BASE} AS builder 20:43:04 ---> 95b493387701 20:43:04 Step 3/24 : ARG MAKE=make build 20:43:04 ---> Running in 7e77c36aec93 20:43:04 Removing intermediate container 7e77c36aec93 20:43:04 ---> 29edcdd26846 20:43:04 Step 4/24 : WORKDIR /device-sdk-go 20:43:04 ---> Running in 35e88b6fd4fc 20:43:04 Removing intermediate container 35e88b6fd4fc 20:43:04 ---> 8291671b8db3 20:43:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:43:04 ---> Running in 641680c65b31 20:43:04 Removing intermediate container 641680c65b31 20:43:04 ---> 5c7e84fe26c5 20:43:04 Step 6/24 : RUN apk add --update --no-cache make git 20:43:04 ---> Running in bd15a5dcdbc2 20:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 20:43:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 20:43:05 OK: 264 MiB in 52 packages [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:05 Removing intermediate container bd15a5dcdbc2 20:43:05 ---> 60277f0606af 20:43:05 Step 7/24 : COPY go.mod vendor* ./ 20:43:05 ---> fd1e7a8fd655 20:43:05 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:05 ---> Running in 11315c6601ec 20:43:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:43:06 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:06 Dload Upload Total Spent Left Speed 20:43:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 164k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh 20:43:06 Removing intermediate container 11315c6601ec 20:43:06 ---> fb263d58023b 20:43:06 Step 9/24 : COPY . . 20:43:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:07 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 20:43:07 /etc/docker/daemon.json 20:43:07 { 20:43:07 "registry-mirrors": [ 20:43:07 "https://nexus3.edgexfoundry.org:10001" 20:43:07 ], 20:43:07 "bip": "10.250.0.254/24", 20:43:07 "hosts": [ 20:43:07 "tcp://0.0.0.0:5555", 20:43:07 "unix:///var/run/docker.sock" 20:43:07 ], 20:43:07 "mtu": 1458, 20:43:07 "selinux-enabled": true, 20:43:07 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:07 } [Pipeline] sh 20:43:07 ---> f49ba8acad8b 20:43:07 Step 10/24 : RUN ${MAKE} 20:43:07 ---> Running in fef40694ef24 20:43:07 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 20:43:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:26 provisioning config files... 20:43:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5214020993556387384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:27 ---> ****-login.sh 20:43:27 nexus3.edgexfoundry.org:10001 20:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:27 Configure a credential helper to remove this warning. See 20:43:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:27 20:43:27 Login Succeeded 20:43:27 nexus3.edgexfoundry.org:10002 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 nexus3.edgexfoundry.org:10003 20:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:28 Configure a credential helper to remove this warning. See 20:43:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:28 20:43:28 Login Succeeded 20:43:28 nexus3.edgexfoundry.org:10004 20:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:29 Configure a credential helper to remove this warning. See 20:43:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:29 20:43:29 Login Succeeded 20:43:29 ****.io 20:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:29 Configure a credential helper to remove this warning. See 20:43:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:29 20:43:29 Login Succeeded 20:43:29 ---> ****-login.sh ends [Pipeline] } 20:43:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:30 ========================================================= 20:43:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:43:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:31 + 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 . 20:43:31 Sending build context to Docker daemon 12.89MB 20:43:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:43:31 Step 2/10 : FROM ${BASE} AS builder 20:43:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:43:32 c6b39de5b339: Pulling fs layer 20:43:32 a69c41024577: Pulling fs layer 20:43:32 d6de4b400683: Pulling fs layer 20:43:32 35cb2a7552d0: Pulling fs layer 20:43:32 4f4fb700ef54: Pulling fs layer 20:43:32 464afbd9ba4c: Pulling fs layer 20:43:32 00f215d4a9da: Pulling fs layer 20:43:32 d496ad576159: Pulling fs layer 20:43:32 35cb2a7552d0: Waiting 20:43:32 4f4fb700ef54: Waiting 20:43:32 464afbd9ba4c: Waiting 20:43:32 00f215d4a9da: Waiting 20:43:32 d496ad576159: Waiting 20:43:32 a69c41024577: Verifying Checksum 20:43:32 35cb2a7552d0: Verifying Checksum 20:43:32 35cb2a7552d0: Download complete 20:43:32 4f4fb700ef54: Verifying Checksum 20:43:32 4f4fb700ef54: Download complete 20:43:32 464afbd9ba4c: Verifying Checksum 20:43:32 464afbd9ba4c: Download complete 20:43:32 c6b39de5b339: Download complete 20:43:32 d496ad576159: Verifying Checksum 20:43:32 d496ad576159: Download complete 20:43:33 c6b39de5b339: Pull complete 20:43:34 a69c41024577: Pull complete 20:43:34 d6de4b400683: Verifying Checksum 20:43:34 d6de4b400683: Download complete 20:43:35 00f215d4a9da: Verifying Checksum 20:43:35 00f215d4a9da: Download complete 20:43:46 Removing intermediate container fef40694ef24 20:43:46 ---> 1fcba1337161 20:43:46 Step 11/24 : FROM alpine:3.18 20:43:46 3.18: Pulling from library/alpine 20:43:46 73baa7ef167e: Pulling fs layer 20:43:46 73baa7ef167e: Download complete 20:43:46 73baa7ef167e: Pull complete 20:43:46 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 20:43:46 Status: Downloaded newer image for alpine:3.18 20:43:46 ---> 8fd7cac70a4a 20:43:46 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:43:46 ---> Running in bb11c3651370 20:43:46 Removing intermediate container bb11c3651370 20:43:46 ---> 3cee288d1ae4 20:43:46 Step 13/24 : RUN apk add --update --no-cache dumb-init 20:43:46 ---> Running in 3ff125e9626c 20:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:43:46 (1/1) Installing dumb-init (1.2.5-r2) 20:43:46 Executing busybox-1.36.1-r7.trigger 20:43:46 OK: 7 MiB in 16 packages 20:43:46 Removing intermediate container 3ff125e9626c 20:43:46 ---> 2072cbf0237b 20:43:46 Step 14/24 : RUN apk --no-cache upgrade 20:43:46 ---> Running in 2aa12a6f8cb9 20:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:43:46 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 20:43:46 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 20:43:46 OK: 7 MiB in 16 packages 20:43:46 Removing intermediate container 2aa12a6f8cb9 20:43:46 ---> 33fe1baa7cf3 20:43:46 Step 15/24 : WORKDIR / 20:43:46 ---> Running in 174d7a67d6d7 20:43:46 Removing intermediate container 174d7a67d6d7 20:43:46 ---> c3f781ba3e38 20:43:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:43:46 ---> d232682ec0bf 20:43:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:43:46 ---> 886195c3577c 20:43:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:43:46 ---> 65d013284f63 20:43:46 Step 19/24 : EXPOSE 59999 20:43:46 ---> Running in 8972f960bac1 20:43:46 Removing intermediate container 8972f960bac1 20:43:46 ---> b1526760555c 20:43:46 Step 20/24 : ENTRYPOINT ["/device-simple"] 20:43:46 ---> Running in 484249f80977 20:43:47 Removing intermediate container 484249f80977 20:43:47 ---> e4d571c35c9b 20:43:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:43:47 ---> Running in 7cf0b6144682 20:43:47 Removing intermediate container 7cf0b6144682 20:43:47 ---> f04e27c99962 20:43:47 Step 22/24 : LABEL arch=amd64 20:43:47 ---> Running in 871be4801e95 20:43:47 Removing intermediate container 871be4801e95 20:43:47 ---> 562edd14865c 20:43:47 Step 23/24 : LABEL git_sha=f63934a8655d383f38e07dede0f70b049ee20666 20:43:47 ---> Running in 31de7bc40643 20:43:47 Removing intermediate container 31de7bc40643 20:43:47 ---> 9a646fb2381b 20:43:47 Step 24/24 : LABEL version=0.0.0 20:43:47 ---> Running in 3ca253301ec8 20:43:47 Removing intermediate container 3ca253301ec8 20:43:47 ---> 139cd5059804 20:43:47 [Warning] One or more build-args [ARCH] were not consumed 20:43:47 Successfully built 139cd5059804 20:43:47 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 20:43:47 d6de4b400683: Pull complete [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:48 35cb2a7552d0: Pull complete 20:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:48 20:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 20:43:48 4f4fb700ef54: Pull complete [Pipeline] sh 20:43:48 464afbd9ba4c: Pull complete 20:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:48 latest: Pulling from edgex-lftools-log-publisher 20:43:48 5eb5b503b376: Pulling fs layer 20:43:48 5c69ac0246d0: Pulling fs layer 20:43:48 ec43610c2a17: Pulling fs layer 20:43:48 3a2ae6a8a46f: Pulling fs layer 20:43:48 33b1e0a273af: Pulling fs layer 20:43:48 5d3b04190fa2: Pulling fs layer 20:43:48 2f39f015ded8: Pulling fs layer 20:43:48 33b1e0a273af: Waiting 20:43:48 5d3b04190fa2: Waiting 20:43:48 2f39f015ded8: Waiting 20:43:48 3a2ae6a8a46f: Waiting 20:43:48 5c69ac0246d0: Verifying Checksum 20:43:48 5c69ac0246d0: Download complete 20:43:48 3a2ae6a8a46f: Verifying Checksum 20:43:48 3a2ae6a8a46f: Download complete 20:43:48 33b1e0a273af: Verifying Checksum 20:43:48 33b1e0a273af: Download complete 20:43:48 5d3b04190fa2: Verifying Checksum 20:43:48 5d3b04190fa2: Download complete 20:43:48 ec43610c2a17: Verifying Checksum 20:43:49 5eb5b503b376: Download complete 20:43:49 2f39f015ded8: Verifying Checksum 20:43:49 2f39f015ded8: Download complete 20:43:50 5eb5b503b376: Pull complete 20:43:50 5c69ac0246d0: Pull complete 20:43:50 ec43610c2a17: Pull complete 20:43:50 3a2ae6a8a46f: Pull complete 20:43:51 33b1e0a273af: Pull complete 20:43:51 5d3b04190fa2: Pull complete 20:43:55 2f39f015ded8: Pull complete 20:43:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:55 prd-ubuntu20.04-docker-8c-8g-4703 does not seem to be running inside a container 20:43:55 $ 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-1590 -v /w/workspace/gexfoundry_device-sdk-go_PR-1590:/w/workspace/gexfoundry_device-sdk-go_PR-1590:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:57 00f215d4a9da: Pull complete 20:43:59 d496ad576159: Pull complete 20:43:59 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:43:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:43:59 ---> f246e2811388 20:43:59 Step 3/10 : ARG MAKE=make build 20:44:00 $ docker top 71b9ac07eefa6932227c7cf8e8c9c0f54f0aadb9841f0ce38fe5ccea3ff04b6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:01 ---> job-cost.sh 20:44:01 lf-activate-venv: SKIPPING 20:44:01 INFO: No Stack... 20:44:01 ---> Running in 42040a0d8384 20:44:01 Removing intermediate container 42040a0d8384 20:44:01 ---> c95c7b4a895b 20:44:01 Step 4/10 : WORKDIR /device-sdk-go 20:44:01 ---> Running in c9ca28f04478 20:44:01 INFO: Retrieving Pricing Info for: v3-standard-8 20:44:01 INFO: Archiving Costs [Pipeline] sh 20:44:02 Removing intermediate container c9ca28f04478 20:44:02 ---> 7dac49eb6e41 20:44:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:44:02 ---> Running in 129e7237b012 20:44:02 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives/cost.csv 20:44:02 + cut -d, -f6 [Pipeline] lock 20:44:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] 20:44:02 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] did not exist. Created. 20:44:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:44:02 Removing intermediate container 129e7237b012 20:44:02 ---> e890f9e44e7b 20:44:02 Step 6/10 : RUN apk add --update --no-cache make git 20:44:02 + echo total: 0.2199999988079071 20:44:02 ---> Running in ba4b887ee310 [Pipeline] stash 20:44:02 Stashed 1 file(s) [Pipeline] } 20:44:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:44:02 $ docker stop --time=1 71b9ac07eefa6932227c7cf8e8c9c0f54f0aadb9841f0ce38fe5ccea3ff04b6f 20:44:04 $ docker rm -f --volumes 71b9ac07eefa6932227c7cf8e8c9c0f54f0aadb9841f0ce38fe5ccea3ff04b6f 20:44:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:44:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } 20:44:06 OK: 266 MiB in 52 packages 20:44:07 Removing intermediate container ba4b887ee310 20:44:07 ---> c23e2b2c7f16 20:44:07 Step 7/10 : COPY go.mod vendor* ./ 20:44:07 ---> b75efb4ebdb4 20:44:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:07 ---> Running in dce2a8ecfa76 20:46:14 Removing intermediate container dce2a8ecfa76 20:46:14 ---> d1236c2aa0ac 20:46:14 Step 9/10 : COPY . . 20:46:14 ---> 1c158f7e63ed 20:46:14 Step 10/10 : RUN ${MAKE} 20:46:14 ---> Running in 0737880e686e 20:46:15 noop 20:46:15 Removing intermediate container 0737880e686e 20:46:15 ---> fe713966ea77 20:46:15 Successfully built fe713966ea77 20:46:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:16 + docker inspect -f . ci-base-image-arm64 20:46:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:16 prd-ubuntu20.04-docker-arm64-4c-16g-4715 does not seem to be running inside a container 20:46:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:46:18 $ docker top bf82bcada623edbb4c15c2753ac4e3efe46a0fec0f2f2668c777fd464cd356df -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:19 + go version 20:46:19 go version go1.21.9 linux/arm64 [Pipeline] } 20:46:19 $ docker stop --time=1 bf82bcada623edbb4c15c2753ac4e3efe46a0fec0f2f2668c777fd464cd356df 20:46:21 $ docker rm -f --volumes bf82bcada623edbb4c15c2753ac4e3efe46a0fec0f2f2668c777fd464cd356df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker inspect -f . ci-base-image-arm64 20:46:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:22 prd-ubuntu20.04-docker-arm64-4c-16g-4715 does not seem to be running inside a container 20:46:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:46:23 $ docker top 9ee129412db91008e4971db44223f66a7948c340124c3dd46814b1fef0786008 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:24 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 20:46:25 + make test 20:46:25 go test -race -coverprofile=coverage.out ./... 20:47:47 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:52:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:52:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:52:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:52:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:52:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:53:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.153s coverage: 27.6% of statements 20:53:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.227s coverage: 80.0% of statements 20:53:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:53:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:53:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.385s coverage: 86.0% of statements 20:53:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.751s coverage: 71.8% of statements 20:53:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.190s coverage: 14.4% of statements 20:53:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.012s coverage: 44.6% of statements 20:53:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:53:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:53:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.346s coverage: 68.5% of statements 20:53:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.486s coverage: 89.2% of statements 20:53:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.328s coverage: 5.5% of statements 20:53:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:53:57 GO111MODULE=on go vet ./... 20:59:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:19 ./bin/test-attribution-txt.sh 20:59:19 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:59:19 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:59:19 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:59:19 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:59:19 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:59:19 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:59:19 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:59:19 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:59:19 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:59:19 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:59:19 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:59:19 $ docker stop --time=1 9ee129412db91008e4971db44223f66a7948c340124c3dd46814b1fef0786008 20:59:22 $ docker rm -f --volumes 9ee129412db91008e4971db44223f66a7948c340124c3dd46814b1fef0786008 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:25 Warning: overwriting stash ‘coverage-report’ 20:59:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:26 + ls -al . 20:59:26 total 372 20:59:26 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:46 . 20:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:42 .. 20:59:26 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:42 .dockerignore 20:59:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:43 .git 20:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:42 .github 20:59:26 -rw-rw-r-- 1 jenkins jenkins 137 Jul 1 20:42 .gitignore 20:59:26 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 20:42 .golangci.yml 20:59:26 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 1 20:42 CHANGELOG.md 20:59:26 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:42 GOVERNANCE.md 20:59:26 -rw-rw-r-- 1 jenkins jenkins 885 Jul 1 20:42 Jenkinsfile 20:59:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 20:42 LICENSE 20:59:26 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 1 20:42 Makefile 20:59:26 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 20:42 OWNERS.md 20:59:26 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 1 20:42 README.md 20:59:26 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:40 VERSION 20:59:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:42 bin 20:59:26 -rw-r--r-- 1 jenkins jenkins 122321 Jul 1 20:53 coverage.out 20:59:26 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 20:42 example 20:59:26 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 1 20:42 go.mod 20:59:26 -rw-rw-r-- 1 jenkins jenkins 101736 Jul 1 20:42 go.sum 20:59:26 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 20:42 internal 20:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:42 openapi 20:59:26 drwxrwxr-x 6 jenkins jenkins 4096 Jul 1 20:42 pkg 20:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:42 snap 20:59:26 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:27 + 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=f63934a8655d383f38e07dede0f70b049ee20666 --label arch=arm64 --label version=0.0.0 . 20:59:28 Sending build context to Docker daemon 13.01MB 20:59:28 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 20:59:28 Step 2/24 : FROM ${BASE} AS builder 20:59:28 ---> fe713966ea77 20:59:28 Step 3/24 : ARG MAKE=make build 20:59:28 ---> Running in 704ec55b48dc 20:59:28 Removing intermediate container 704ec55b48dc 20:59:28 ---> c662c35f8a31 20:59:28 Step 4/24 : WORKDIR /device-sdk-go 20:59:28 ---> Running in ac8665afa978 20:59:29 Removing intermediate container ac8665afa978 20:59:29 ---> bec995a0ef77 20:59:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:59:29 ---> Running in 95e585b13f81 20:59:29 Removing intermediate container 95e585b13f81 20:59:29 ---> 9ff85d5e9eca 20:59:29 Step 6/24 : RUN apk add --update --no-cache make git 20:59:29 ---> Running in e7d3ae098870 20:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:59:32 OK: 266 MiB in 52 packages 20:59:34 Removing intermediate container e7d3ae098870 20:59:34 ---> c9c2bba1563d 20:59:34 Step 7/24 : COPY go.mod vendor* ./ 20:59:34 ---> 97d009ff531c 20:59:34 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:34 ---> Running in 56ae733997ac 20:59:37 Removing intermediate container 56ae733997ac 20:59:37 ---> 3d8980ce17c2 20:59:37 Step 9/24 : COPY . . 20:59:39 ---> 589f984de608 20:59:39 Step 10/24 : RUN ${MAKE} 20:59:39 ---> Running in 8d6e2202e647 20:59:40 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 21:04:02 Removing intermediate container 8d6e2202e647 21:04:02 ---> c9d0e1dc14ea 21:04:02 Step 11/24 : FROM alpine:3.18 21:04:02 3.18: Pulling from library/alpine 21:04:02 5c905c7ebe2f: Pulling fs layer 21:04:02 5c905c7ebe2f: Download complete 21:04:02 5c905c7ebe2f: Pull complete 21:04:02 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 21:04:02 Status: Downloaded newer image for alpine:3.18 21:04:02 ---> dec292d02e07 21:04:02 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:04:02 ---> Running in bcbb15427c09 21:04:02 Removing intermediate container bcbb15427c09 21:04:02 ---> 6ffd6d04dc14 21:04:02 Step 13/24 : RUN apk add --update --no-cache dumb-init 21:04:02 ---> Running in 413812b0517b 21:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:04:02 (1/1) Installing dumb-init (1.2.5-r2) 21:04:02 Executing busybox-1.36.1-r7.trigger 21:04:02 OK: 8 MiB in 16 packages 21:04:02 Removing intermediate container 413812b0517b 21:04:02 ---> 4720f2d9fe96 21:04:02 Step 14/24 : RUN apk --no-cache upgrade 21:04:02 ---> Running in 95cd2fb9afb5 21:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:04:02 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 21:04:02 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 21:04:02 OK: 8 MiB in 16 packages 21:04:02 Removing intermediate container 95cd2fb9afb5 21:04:02 ---> 37efd75855bf 21:04:02 Step 15/24 : WORKDIR / 21:04:02 ---> Running in 9f87f8f5fa7d 21:04:03 Removing intermediate container 9f87f8f5fa7d 21:04:03 ---> eb6c0622193a 21:04:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:04:03 ---> aff3f4f2204b 21:04:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:04:06 ---> c99d7bbd91fc 21:04:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:04:06 ---> 77a2a2ec3946 21:04:06 Step 19/24 : EXPOSE 59999 21:04:06 ---> Running in 6d711b9fb977 21:04:06 Removing intermediate container 6d711b9fb977 21:04:06 ---> 3b081d1ae195 21:04:06 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:04:06 ---> Running in 6a5b8cb6e96b 21:04:07 Removing intermediate container 6a5b8cb6e96b 21:04:07 ---> 217fdd238e6e 21:04:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:04:07 ---> Running in 44bd1cc0699c 21:04:07 Removing intermediate container 44bd1cc0699c 21:04:07 ---> b5801d21fd2b 21:04:07 Step 22/24 : LABEL arch=arm64 21:04:07 ---> Running in 6d357bd355c7 21:04:08 Removing intermediate container 6d357bd355c7 21:04:08 ---> a74767b5ba2a 21:04:08 Step 23/24 : LABEL git_sha=f63934a8655d383f38e07dede0f70b049ee20666 21:04:08 ---> Running in 7e777b1c411f 21:04:08 Removing intermediate container 7e777b1c411f 21:04:08 ---> 16bd94f94d78 21:04:08 Step 24/24 : LABEL version=0.0.0 21:04:08 ---> Running in 1ced86eace4e 21:04:08 Removing intermediate container 1ced86eace4e 21:04:08 ---> 8add7ddbc632 21:04:08 [Warning] One or more build-args [ARCH] were not consumed 21:04:08 Successfully built 8add7ddbc632 21:04:08 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 21:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:09 21:04:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:10 arm64: Pulling from edgex-lftools-log-publisher 21:04:10 8998bd30e6a1: Pulling fs layer 21:04:10 04944245beec: Pulling fs layer 21:04:10 699f458cf7ca: Pulling fs layer 21:04:10 765212b225bb: Pulling fs layer 21:04:10 f23df028b6ca: Pulling fs layer 21:04:10 d65c8cfc05b1: Pulling fs layer 21:04:10 2437ff75d9bd: Pulling fs layer 21:04:10 765212b225bb: Waiting 21:04:10 f23df028b6ca: Waiting 21:04:10 d65c8cfc05b1: Waiting 21:04:10 2437ff75d9bd: Waiting 21:04:10 04944245beec: Download complete 21:04:10 765212b225bb: Verifying Checksum 21:04:10 765212b225bb: Download complete 21:04:10 f23df028b6ca: Verifying Checksum 21:04:10 f23df028b6ca: Download complete 21:04:10 d65c8cfc05b1: Verifying Checksum 21:04:10 d65c8cfc05b1: Download complete 21:04:10 699f458cf7ca: Verifying Checksum 21:04:10 699f458cf7ca: Download complete 21:04:11 8998bd30e6a1: Verifying Checksum 21:04:11 8998bd30e6a1: Download complete 21:04:13 2437ff75d9bd: Verifying Checksum 21:04:13 2437ff75d9bd: Download complete 21:04:16 8998bd30e6a1: Pull complete 21:04:16 04944245beec: Pull complete 21:04:18 699f458cf7ca: Pull complete 21:04:18 765212b225bb: Pull complete 21:04:19 f23df028b6ca: Pull complete 21:04:19 d65c8cfc05b1: Pull complete 21:04:37 2437ff75d9bd: Pull complete 21:04:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:38 prd-ubuntu20.04-docker-arm64-4c-16g-4715 does not seem to be running inside a container 21:04:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:04:41 $ docker top 04535366823e3fe09631dbdfd5232f68b575f71db14ecd4e8204a645932bbf2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:42 ---> job-cost.sh 21:04:42 lf-activate-venv: SKIPPING 21:04:42 INFO: No Stack... 21:04:43 INFO: Retrieving Pricing Info for: v3-standard-4 21:04:43 INFO: Archiving Costs [Pipeline] sh 21:04:44 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 21:04:44 + cut -d, -f6 [Pipeline] lock 21:04:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] 21:04:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] did not exist. Created. 21:04:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:04:45 /w/workspace/device-sdk-go/1@tmp/durable-5e1ae40e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:04:45 + echo total: 0.10999999940395355 [Pipeline] stash 21:04:45 Warning: overwriting stash ‘stack-cost’ 21:04:45 Stashed 1 file(s) [Pipeline] } 21:04:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1590-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:04:46 $ docker stop --time=1 04535366823e3fe09631dbdfd5232f68b575f71db14ecd4e8204a645932bbf2d 21:04:47 $ docker rm -f --volumes 04535366823e3fe09631dbdfd5232f68b575f71db14ecd4e8204a645932bbf2d [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 21:04:48 provisioning config files... 21:04:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/config15975526797461528465tmp [Pipeline] { [Pipeline] sh 21:04:49 + set +x 21:04:49 + curl -s https://codecov.io/bash 21:04:49 + bash -s -- 21:04:49 21:04:49 _____ _ 21:04:49 / ____| | | 21:04:49 | | ___ __| | ___ ___ _____ __ 21:04:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:04:49 | |___| (_) | (_| | __/ (_| (_) \ V / 21:04:49 \_____\___/ \__,_|\___|\___\___/ \_/ 21:04:49 Bash-1.0.6 21:04:49 21:04:49 21:04:49 ==> git version 2.25.1 found 21:04:49 ==> 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 21:04:49 Release-Date: 2020-01-08 21:04:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:04:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:04:49 ==> Jenkins CI detected. 21:04:49 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1590 21:04:49 project root: . 21:04:49 --> token set from env 21:04:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:04:49 ==> Running gcov in . (disable via -X gcov) 21:04:49 ==> Python coveragepy not found 21:04:49 ==> Searching for coverage reports in: 21:04:49 + . 21:04:49 -> Found 1 reports 21:04:49 ==> Detecting git/mercurial file structure 21:04:49 ==> Reading reports 21:04:49 + ./coverage.out bytes=122321 21:04:49 ==> Appending adjustments 21:04:49 https://docs.codecov.io/docs/fixing-reports 21:04:49 + Found adjustments 21:04:49 ==> Gzipping contents 21:04:49 20K /tmp/codecov.Fz8MeB.gz 21:04:49 ==> Uploading reports 21:04:49 url: https://codecov.io 21:04:49 query: branch=PR-1590&commit=f63934a8655d383f38e07dede0f70b049ee20666&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1590%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1590&job=&cmd_args= 21:04:49 -> Pinging Codecov 21:04:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1590&commit=f63934a8655d383f38e07dede0f70b049ee20666&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1590%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1590&job=&cmd_args= 21:04:49 -> Uploading to 21:04:49 https://storage.googleapis.com/codecov/v4/raw/2024-07-01/7E55EF52A471D76F132DFD9A03CDDE97/f63934a8655d383f38e07dede0f70b049ee20666/d029c315-73ec-4263-b6c0-55d38e62ea64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240701%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240701T210449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93add7d2f32e31e95f81edf7eef027a7668eb9b06a97d11dc8de912c7e809638 21:04:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:49 Dload Upload Total Spent Left Speed 21:04:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16737 0 0 100 16737 0 75053 --:--:-- --:--:-- --:--:-- 75053 21:04:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f63934a8655d383f38e07dede0f70b049ee20666 [Pipeline] } 21:04:50 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 21:04:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives ] 21:04:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives 21:04:52 total 16 21:04:52 drwxr-xr-x 3 root root 4096 Jul 1 20:44 . 21:04:52 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 20:44 .. 21:04:52 drwxr-xr-x 2 root root 4096 Jul 1 20:44 cost 21:04:52 -rw-r--r-- 1 root root 86 Jul 1 20:44 cost.csv 21:04:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives 21:04:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives 21:04:52 total 16 21:04:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:44 . 21:04:52 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 20:44 .. 21:04:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 20:44 cost 21:04:52 -rw-r--r-- 1 jenkins jenkins 86 Jul 1 20:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:04:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:04:53 ---> package-listing.sh 21:04:53 ++ facter osfamily 21:04:53 ++ tr '[:upper:]' '[:lower:]' 21:04:53 + OS_FAMILY=debian 21:04:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1590 21:04:53 + START_PACKAGES=/tmp/packages_start.txt 21:04:53 + END_PACKAGES=/tmp/packages_end.txt 21:04:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:04:53 + PACKAGES=/tmp/packages_start.txt 21:04:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1590 ']' 21:04:53 + PACKAGES=/tmp/packages_end.txt 21:04:53 + case "${OS_FAMILY}" in 21:04:53 + dpkg -l 21:04:53 + grep '^ii' 21:04:53 + '[' -f /tmp/packages_start.txt ']' 21:04:53 + '[' -f /tmp/packages_end.txt ']' 21:04:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:04:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1590 ']' 21:04:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives/ 21:04:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1590/archives/ [Pipeline] echo 21:04:53 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-1590/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:04:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:55 prd-ubuntu20.04-docker-8c-8g-4703 does not seem to be running inside a container 21:04:55 $ 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-1590/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-1590 -v /w/workspace/gexfoundry_device-sdk-go_PR-1590:/w/workspace/gexfoundry_device-sdk-go_PR-1590:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:04:55 $ docker top 025318e267e244335f4f7b63243bde671a02cb64004e1e6666968b2e0eadcdab -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:04:56 + mkdir -p /var/log/sysstat [Pipeline] sh 21:04:56 + ls /var/log/sa-host 21:04:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:56 provisioning config files... 21:04:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1590@tmp/config11956996907516408976tmp [Pipeline] { [Pipeline] echo 21:04:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:04:57 ---> create-netrc.sh [Pipeline] } 21:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:04:57 ---> python-tools-install.sh [Pipeline] echo 21:04:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:04:57 ---> sudo-logs.sh 21:04:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:04:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:04:58 ---> job-cost.sh 21:04:58 lf-activate-venv: SKIPPING 21:04:58 DEBUG: total: 0.2199999988079071 21:04:58 INFO: Retrieving Stack Cost... 21:04:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:04:58 INFO: Archiving Costs [Pipeline] echo 21:04:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:04:59 ---> logs-deploy.sh 21:04:59 lf-activate-venv: SKIPPING 21:04:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1590/1 21:04:59 INFO: archiving workspace using pattern(s): 21:05:00 Archives upload complete. 21:05:00 INFO: archiving logs to Nexus