Pull request #1598 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eeeb13dfdff6bd9ec552494222de6197d09e718e+50e812dd0fc65b097297637d35e073c818e89983 (71c45ff63b4d38c14bd6415d4212dee4ccc9a0f8) 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-ssh13618756002531746791.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-ssh501331717104111783.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-1598/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-1598/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10504026850457119030.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-1598/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10184891851270973796.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-ssh11556888847295303721.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-1598/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-1598/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13617853293752469154.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 ‘prd-ubuntu20.04-docker-8c-8g-5593’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5597 in /w/workspace/gexfoundry_device-sdk-go_PR-1598 [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-1598 # 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 Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit eeeb13dfdff6bd9ec552494222de6197d09e718e > 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/1598/head:refs/remotes/origin/PR-1598 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eeeb13dfdff6bd9ec552494222de6197d09e718e # timeout=10 Merge succeeded, producing eeeb13dfdff6bd9ec552494222de6197d09e718e Checking out Revision eeeb13dfdff6bd9ec552494222de6197d09e718e (PR-1598) Commit message: "build(deps): bump github.com/panjf2000/ants/v2 from 2.9.1 to 2.10.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eeeb13dfdff6bd9ec552494222de6197d09e718e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:17:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:17:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:17:30 ========================================================= 04:17:30 EdgeX Global Pipelines Version Info 04:17:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:17:31 ------------------- 04:17:31 stable info: 04:17:31 ------------------- 04:17:31 Commited By: Ginny Guan ginny@iotechsys.com 04:17:31 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:17:31 Message: update stable to v1.0.260 04:17:32 ------------------- 04:17:32 experimental info: 04:17:32 ------------------- 04:17:32 Commited By: Ginny Guan ginny@iotechsys.com 04:17:32 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:17:32 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:17:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:17:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1598 [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1598 [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1598 [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eeeb13dfdff6bd9ec552494222de6197d09e718e [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eeeb13d [Pipeline] echo 04:17:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:34 provisioning config files... 04:17:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/config6902098426958700538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:35 ---> ****-login.sh 04:17:35 nexus3.edgexfoundry.org:10001 04:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:36 Configure a credential helper to remove this warning. See 04:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:36 04:17:36 Login Succeeded 04:17:36 nexus3.edgexfoundry.org:10002 04:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:36 Configure a credential helper to remove this warning. See 04:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:36 04:17:36 Login Succeeded 04:17:36 nexus3.edgexfoundry.org:10003 04:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:36 Configure a credential helper to remove this warning. See 04:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:36 04:17:36 Login Succeeded 04:17:36 nexus3.edgexfoundry.org:10004 04:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:36 Configure a credential helper to remove this warning. See 04:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:36 04:17:36 Login Succeeded 04:17:36 ****.io 04:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:36 Configure a credential helper to remove this warning. See 04:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:36 04:17:36 Login Succeeded 04:17:36 ---> ****-login.sh ends [Pipeline] } 04:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:17:37 + git rev-list -1 --merges eeeb13dfdff6bd9ec552494222de6197d09e718e~1..eeeb13dfdff6bd9ec552494222de6197d09e718e [Pipeline] echo 04:17:37 -----------> git rev-list -1 --merges eeeb13dfdff6bd9ec552494222de6197d09e718e~1..eeeb13dfdff6bd9ec552494222de6197d09e718e eeeb13dfdff6bd9ec552494222de6197d09e718e [false] [Pipeline] sh 04:17:37 + git log --format=format:%s -1 eeeb13dfdff6bd9ec552494222de6197d09e718e [Pipeline] echo 04:17:37 ========================================================= 04:17:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:17:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:38 + git log --format=format:%s -1 eeeb13dfdff6bd9ec552494222de6197d09e718e [Pipeline] echo 04:17:38 [semverPrep] GIT_COMMIT: eeeb13dfdff6bd9ec552494222de6197d09e718e, Commit Message: build(deps): bump github.com/panjf2000/ants/v2 from 2.9.1 to 2.10.0 [Pipeline] echo 04:17:38 [semverPrep] This is not a build commit. [Pipeline] sh 04:17:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:17:38 + grep -v github /etc/ssh/ssh_known_hosts 04:17:38 + [ -e /tmp/ssh_known_hosts ] 04:17:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:17:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:17:38 + sudo tee -a /etc/ssh/ssh_known_hosts 04:17:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:39 04:17:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:39 0.1.4: Pulling from edgex-devops/py-git-semver 04:17:39 b85a868b505f: Pulling fs layer 04:17:39 e2be974225ed: Pulling fs layer 04:17:39 339a4e72a1f5: Pulling fs layer 04:17:39 988bab9f4d93: Pulling fs layer 04:17:39 1469e6f7b9e6: Pulling fs layer 04:17:39 eaf3925da568: Pulling fs layer 04:17:39 bab4dde63d76: Pulling fs layer 04:17:39 bde34c3a00c8: Pulling fs layer 04:17:39 b352a97aabf1: Pulling fs layer 04:17:39 4872d77fe225: Pulling fs layer 04:17:39 5851b861e8e6: Pulling fs layer 04:17:39 b352a97aabf1: Waiting 04:17:39 4872d77fe225: Waiting 04:17:39 988bab9f4d93: Waiting 04:17:39 5851b861e8e6: Waiting 04:17:39 1469e6f7b9e6: Waiting 04:17:39 eaf3925da568: Waiting 04:17:39 bde34c3a00c8: Waiting 04:17:39 e2be974225ed: Download complete 04:17:39 988bab9f4d93: Verifying Checksum 04:17:39 988bab9f4d93: Download complete 04:17:39 1469e6f7b9e6: Verifying Checksum 04:17:39 1469e6f7b9e6: Download complete 04:17:39 339a4e72a1f5: Verifying Checksum 04:17:39 339a4e72a1f5: Download complete 04:17:39 eaf3925da568: Verifying Checksum 04:17:39 eaf3925da568: Download complete 04:17:39 bde34c3a00c8: Download complete 04:17:39 b352a97aabf1: Verifying Checksum 04:17:39 b352a97aabf1: Download complete 04:17:39 4872d77fe225: Verifying Checksum 04:17:39 4872d77fe225: Download complete 04:17:39 5851b861e8e6: Download complete 04:17:39 b85a868b505f: Verifying Checksum 04:17:39 b85a868b505f: Download complete 04:17:40 bab4dde63d76: Verifying Checksum 04:17:40 bab4dde63d76: Download complete 04:17:41 b85a868b505f: Pull complete 04:17:41 e2be974225ed: Pull complete 04:17:41 339a4e72a1f5: Pull complete 04:17:41 988bab9f4d93: Pull complete 04:17:42 1469e6f7b9e6: Pull complete 04:17:42 eaf3925da568: Pull complete 04:17:43 bab4dde63d76: Pull complete 04:17:43 bde34c3a00c8: Pull complete 04:17:43 b352a97aabf1: Pull complete 04:17:44 4872d77fe225: Pull complete 04:17:44 5851b861e8e6: Pull complete 04:17:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:44 prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container 04:17:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1598 -v /w/workspace/gexfoundry_device-sdk-go_PR-1598:/w/workspace/gexfoundry_device-sdk-go_PR-1598:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:17:46 $ docker top eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 -eo pid,comm 04:17:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:17:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:17:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:46 [ssh-agent] Looking for ssh-agent implementation... 04:17:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:46 $ docker exec eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 ssh-agent 04:17:47 SSH_AUTH_SOCK=/tmp/ssh-iKRP9ULZ90BK/agent.32 04:17:47 SSH_AGENT_PID=38 04:17:47 Running ssh-add (command line suppressed) 04:17:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/private_key_1537345404839855780.key (/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/private_key_1537345404839855780.key) 04:17:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:47 + git tag --points-at HEAD [Pipeline] } 04:17:47 $ docker exec --env ******** --env ******** eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 ssh-agent -k 04:17:47 unset SSH_AUTH_SOCK; 04:17:47 unset SSH_AGENT_PID; 04:17:47 echo Agent pid 38 killed; 04:17:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:17:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:47 [ssh-agent] Looking for ssh-agent implementation... 04:17:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:47 $ docker exec eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 ssh-agent 04:17:48 SSH_AUTH_SOCK=/tmp/ssh-aHBelZVX51pM/agent.71 04:17:48 SSH_AGENT_PID=77 04:17:48 Running ssh-add (command line suppressed) 04:17:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/private_key_4118884463238371028.key (/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/private_key_4118884463238371028.key) 04:17:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:48 + git semver init 04:17:48 2024-07-15 04:17:48,713 [run_init] DEBUG init version:0.0.0 force:False 04:17:48 2024-07-15 04:17:48,715 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver 04:17:48 2024-07-15 04:17:48,715 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver 04:17:48 2024-07-15 04:17:48,715 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1598, universal_newlines=False, shell=None, istream=None) 04:17:50 2024-07-15 04:17:50,637 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1598/.git/info/exclude 04:17:50 2024-07-15 04:17:50,637 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver/PR-1598 with force:False 04:17:50 2024-07-15 04:17:50,637 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver/PR-1598 04:17:50 2024-07-15 04:17:50,642 [execute] INFO git cat-file --batch-check 04:17:50 2024-07-15 04:17:50,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver, universal_newlines=False, shell=None, istream=) 04:17:50 2024-07-15 04:17:50,648 [execute] INFO git cat-file --batch 04:17:50 2024-07-15 04:17:50,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver, universal_newlines=False, shell=None, istream=) 04:17:50 2024-07-15 04:17:50,654 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1598/.semver/PR-1598 04:17:50 0.0.0 [Pipeline] } 04:17:50 $ docker exec --env ******** --env ******** eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 ssh-agent -k 04:17:50 unset SSH_AUTH_SOCK; 04:17:50 unset SSH_AGENT_PID; 04:17:50 echo Agent pid 77 killed; 04:17:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:17:51 + git semver [Pipeline] } 04:17:51 $ docker stop --time=1 eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 04:17:53 $ docker rm -f --volumes eb07e93a879be8973e068757dfb3906a02bd706c11721c919e04934c3c064338 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:17:53 Stashed 1 file(s) [Pipeline] echo 04:17:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:54 provisioning config files... 04:17:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/config18196902454633195495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:55 ---> ****-login.sh 04:17:55 nexus3.edgexfoundry.org:10001 04:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:55 Configure a credential helper to remove this warning. See 04:17:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:55 04:17:55 Login Succeeded 04:17:55 nexus3.edgexfoundry.org:10002 04:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:55 Configure a credential helper to remove this warning. See 04:17:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:55 04:17:55 Login Succeeded 04:17:55 nexus3.edgexfoundry.org:10003 04:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:55 Configure a credential helper to remove this warning. See 04:17:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:55 04:17:55 Login Succeeded 04:17:55 nexus3.edgexfoundry.org:10004 04:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:55 Configure a credential helper to remove this warning. See 04:17:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:55 04:17:55 Login Succeeded 04:17:55 ****.io 04:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:55 Configure a credential helper to remove this warning. See 04:17:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:55 04:17:55 Login Succeeded 04:17:55 ---> ****-login.sh ends [Pipeline] } 04:17:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:17:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:17:55 ========================================================= 04:17:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:17:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:56 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:17:56 Sending build context to Docker daemon 25.01MB 04:17:56 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:17:56 Step 2/10 : FROM ${BASE} AS builder 04:17:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:17:56 619be1103602: Pulling fs layer 04:17:56 7862e08f4a3e: Pulling fs layer 04:17:56 5df492c9dc93: Pulling fs layer 04:17:56 7629e6793208: Pulling fs layer 04:17:56 4f4fb700ef54: Pulling fs layer 04:17:56 fb5054dd5b73: Pulling fs layer 04:17:56 eeca6798cff9: Pulling fs layer 04:17:56 aa269ceb94a6: Pulling fs layer 04:17:56 ada007ff1a6a: Pulling fs layer 04:17:56 4f4fb700ef54: Waiting 04:17:56 fb5054dd5b73: Waiting 04:17:56 eeca6798cff9: Waiting 04:17:56 aa269ceb94a6: Waiting 04:17:56 ada007ff1a6a: Waiting 04:17:56 7629e6793208: Waiting 04:17:56 7862e08f4a3e: Verifying Checksum 04:17:56 7862e08f4a3e: Download complete 04:17:56 7629e6793208: Download complete 04:17:56 4f4fb700ef54: Verifying Checksum 04:17:56 4f4fb700ef54: Download complete 04:17:56 fb5054dd5b73: Verifying Checksum 04:17:56 fb5054dd5b73: Download complete 04:17:56 619be1103602: Verifying Checksum 04:17:56 619be1103602: Download complete 04:17:56 eeca6798cff9: Verifying Checksum 04:17:56 eeca6798cff9: Download complete 04:17:56 619be1103602: Pull complete 04:17:56 ada007ff1a6a: Verifying Checksum 04:17:56 ada007ff1a6a: Download complete 04:17:56 7862e08f4a3e: Pull complete 04:17:56 5df492c9dc93: Verifying Checksum 04:17:56 5df492c9dc93: Download complete 04:17:57 aa269ceb94a6: Verifying Checksum 04:17:57 aa269ceb94a6: Download complete 04:18:00 5df492c9dc93: Pull complete 04:18:00 7629e6793208: Pull complete 04:18:00 4f4fb700ef54: Pull complete 04:18:00 fb5054dd5b73: Pull complete 04:18:00 eeca6798cff9: Pull complete 04:18:02 aa269ceb94a6: Pull complete 04:18:03 ada007ff1a6a: Pull complete 04:18:03 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:18:03 ---> f489d0715acc 04:18:03 Step 3/10 : ARG MAKE=make build 04:18:04 ---> Running in f85a98b97a9d 04:18:04 Removing intermediate container f85a98b97a9d 04:18:04 ---> 83e81841b784 04:18:04 Step 4/10 : WORKDIR /device-sdk-go 04:18:04 ---> Running in 4e37ad1d30ce 04:18:04 Removing intermediate container 4e37ad1d30ce 04:18:04 ---> addd2b050fcb 04:18:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:18:04 ---> Running in 33e31d4eb41e 04:18:04 Removing intermediate container 33e31d4eb41e 04:18:04 ---> 081d52b1f785 04:18:04 Step 6/10 : RUN apk add --update --no-cache make git 04:18:04 ---> Running in 3bd0397ce457 04:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:18:05 OK: 264 MiB in 52 packages 04:18:05 Removing intermediate container 3bd0397ce457 04:18:05 ---> 66b01fd61473 04:18:05 Step 7/10 : COPY go.mod vendor* ./ 04:18:05 ---> dd24c6b508d4 04:18:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:05 ---> Running in f0ae38c255f4 04:18:09 Still waiting to schedule task 04:18:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:18:37 Removing intermediate container f0ae38c255f4 04:18:37 ---> 2112b1e5344b 04:18:37 Step 9/10 : COPY . . 04:18:37 ---> 77b3c7409138 04:18:37 Step 10/10 : RUN ${MAKE} 04:18:37 ---> Running in 54c5a59c5f4f 04:18:37 noop 04:18:37 Removing intermediate container 54c5a59c5f4f 04:18:37 ---> ee7afcfb52a3 04:18:37 Successfully built ee7afcfb52a3 04:18:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:38 + docker inspect -f . ci-base-image-x86_64 04:18:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:38 prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container 04:18:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1598 -v /w/workspace/gexfoundry_device-sdk-go_PR-1598:/w/workspace/gexfoundry_device-sdk-go_PR-1598:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:18:39 $ docker top 3fa2729dd651b6ef7664960e80f60baa1b90562aa4d4232e2e438e57f8ecb708 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:39 + go version 04:18:39 go version go1.21.9 linux/amd64 [Pipeline] } 04:18:39 $ docker stop --time=1 3fa2729dd651b6ef7664960e80f60baa1b90562aa4d4232e2e438e57f8ecb708 04:18:40 $ docker rm -f --volumes 3fa2729dd651b6ef7664960e80f60baa1b90562aa4d4232e2e438e57f8ecb708 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:41 + docker inspect -f . ci-base-image-x86_64 04:18:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:41 prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container 04:18:41 $ 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-1598 -v /w/workspace/gexfoundry_device-sdk-go_PR-1598:/w/workspace/gexfoundry_device-sdk-go_PR-1598:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:18:42 $ docker top b769a653395d2ecdfa00f185bdf794ba8a56419f03b319b3c2732bb8f1429b34 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1598 [Pipeline] fileExists [Pipeline] sh 04:18:42 + make test 04:18:42 go test -race -coverprofile=coverage.out ./... 04:18:49 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:19:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 27.0% of statements 04:19:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 80.0% of statements 04:19:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements 04:19:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:19:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:19:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:19:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements 04:19:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:19:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.032s coverage: 14.4% of statements 04:19:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.351s coverage: 44.6% of statements 04:19:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.055s coverage: 68.5% of statements 04:19:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.085s coverage: 89.2% of statements 04:19:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.4% of statements 04:19:52 GO111MODULE=on go vet ./... 04:19:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:53 ./bin/test-attribution-txt.sh 04:19:53 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:19:53 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:19:53 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:19:53 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:19:53 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:19:53 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:19:53 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:19:53 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:19:53 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:19:53 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:19:53 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:19:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:19:53 $ docker stop --time=1 b769a653395d2ecdfa00f185bdf794ba8a56419f03b319b3c2732bb8f1429b34 04:19:55 $ docker rm -f --volumes b769a653395d2ecdfa00f185bdf794ba8a56419f03b319b3c2732bb8f1429b34 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:19:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:57 + ls -al . 04:19:57 total 376 04:19:57 drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 04:18 . 04:19:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:17 .. 04:19:57 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 04:17 .dockerignore 04:19:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 04:19 .git 04:19:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 04:17 .github 04:19:57 -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 04:17 .gitignore 04:19:57 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 04:17 .golangci.yml 04:19:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 04:17 .semver 04:19:57 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 04:17 CHANGELOG.md 04:19:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 04:17 GOVERNANCE.md 04:19:57 -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 04:17 Jenkinsfile 04:19:57 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 04:17 LICENSE 04:19:57 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 04:17 Makefile 04:19:57 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 04:17 OWNERS.md 04:19:57 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 04:17 README.md 04:19:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 04:17 VERSION 04:19:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 04:17 bin 04:19:57 -rw-r--r-- 1 jenkins jenkins 122663 Jul 15 04:19 coverage.out 04:19:57 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 04:17 example 04:19:57 -rw-rw-r-- 1 jenkins jenkins 7103 Jul 15 04:17 go.mod 04:19:57 -rw-rw-r-- 1 jenkins jenkins 102085 Jul 15 04:17 go.sum 04:19:57 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 04:17 internal 04:19:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 04:17 openapi 04:19:57 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 04:17 pkg 04:19:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:17 snap 04:19:57 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:57 + 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=eeeb13dfdff6bd9ec552494222de6197d09e718e --label arch=amd64 --label version=0.0.0 . 04:19:57 Sending build context to Docker daemon 25.14MB 04:19:57 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:19:57 Step 2/24 : FROM ${BASE} AS builder 04:19:57 ---> ee7afcfb52a3 04:19:57 Step 3/24 : ARG MAKE=make build 04:19:57 ---> Running in 3e70a9a84426 04:19:57 Removing intermediate container 3e70a9a84426 04:19:57 ---> 85b3999cdfbc 04:19:57 Step 4/24 : WORKDIR /device-sdk-go 04:19:57 ---> Running in 551b9f5a5ec2 04:19:57 Removing intermediate container 551b9f5a5ec2 04:19:57 ---> 99078e460831 04:19:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:19:57 ---> Running in c5596f480014 04:19:58 Removing intermediate container c5596f480014 04:19:58 ---> fdcfa4bd7682 04:19:58 Step 6/24 : RUN apk add --update --no-cache make git 04:19:58 ---> Running in c7a6a4d7cca8 04:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:19:58 OK: 264 MiB in 52 packages 04:19:58 Removing intermediate container c7a6a4d7cca8 04:19:58 ---> 140da4603abe 04:19:58 Step 7/24 : COPY go.mod vendor* ./ 04:19:59 ---> 7310260e9d32 04:19:59 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:59 ---> Running in 82dbca8868e3 04:20:00 Removing intermediate container 82dbca8868e3 04:20:00 ---> 6d477c89ab7c 04:20:00 Step 9/24 : COPY . . 04:20:00 ---> 6474dd6658db 04:20:00 Step 10/24 : RUN ${MAKE} 04:20:00 ---> Running in d6c9fa0ab2eb 04:20:00 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:20:27 Removing intermediate container d6c9fa0ab2eb 04:20:27 ---> 42cb6f93e36a 04:20:27 Step 11/24 : FROM alpine:3.18 04:20:27 3.18: Pulling from library/alpine 04:20:27 73baa7ef167e: Pulling fs layer 04:20:27 73baa7ef167e: Verifying Checksum 04:20:27 73baa7ef167e: Download complete 04:20:27 73baa7ef167e: Pull complete 04:20:27 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:20:27 Status: Downloaded newer image for alpine:3.18 04:20:27 ---> 8fd7cac70a4a 04:20:27 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:20:27 ---> Running in ab92cb2d9ebc 04:20:27 Removing intermediate container ab92cb2d9ebc 04:20:27 ---> 37d4ceb1b340 04:20:27 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:20:27 ---> Running in 6c4fca0279c8 04:20:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:20:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:20:27 (1/1) Installing dumb-init (1.2.5-r2) 04:20:27 Executing busybox-1.36.1-r7.trigger 04:20:27 OK: 7 MiB in 16 packages 04:20:27 Removing intermediate container 6c4fca0279c8 04:20:27 ---> e2b97fd98e77 04:20:27 Step 14/24 : RUN apk --no-cache upgrade 04:20:27 ---> Running in 1971f3c3014e 04:20:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:20:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:20:27 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:20:27 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:20:27 OK: 7 MiB in 16 packages 04:20:28 Removing intermediate container 1971f3c3014e 04:20:28 ---> 6cb9de8104e4 04:20:28 Step 15/24 : WORKDIR / 04:20:28 ---> Running in b3f9ec83927e 04:20:28 Removing intermediate container b3f9ec83927e 04:20:28 ---> 6786f8518972 04:20:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:28 ---> 34325ef6600d 04:20:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:29 ---> d91016a68c69 04:20:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:29 ---> 24303daa37e6 04:20:29 Step 19/24 : EXPOSE 59999 04:20:29 ---> Running in 9049cffd2bc4 04:20:29 Removing intermediate container 9049cffd2bc4 04:20:29 ---> 74e7585e0487 04:20:29 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:20:29 ---> Running in 89598886ea15 04:20:29 Removing intermediate container 89598886ea15 04:20:29 ---> 638409ab0aa4 04:20:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:20:29 ---> Running in 8bbe53bc3cbd 04:20:29 Removing intermediate container 8bbe53bc3cbd 04:20:29 ---> 22839774168d 04:20:29 Step 22/24 : LABEL arch=amd64 04:20:29 ---> Running in 2196c667a135 04:20:29 Removing intermediate container 2196c667a135 04:20:29 ---> 450884e6800e 04:20:29 Step 23/24 : LABEL git_sha=eeeb13dfdff6bd9ec552494222de6197d09e718e 04:20:29 ---> Running in e245b9011b95 04:20:29 Removing intermediate container e245b9011b95 04:20:29 ---> a4ccc91cd21d 04:20:29 Step 24/24 : LABEL version=0.0.0 04:20:29 ---> Running in 63cb5f5019d4 04:20:29 Removing intermediate container 63cb5f5019d4 04:20:29 ---> 7e23726dafd4 04:20:29 [Warning] One or more build-args [ARCH] were not consumed 04:20:29 Successfully built 7e23726dafd4 04:20:29 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:30 04:20:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:31 latest: Pulling from edgex-lftools-log-publisher 04:20:31 5eb5b503b376: Pulling fs layer 04:20:31 5c69ac0246d0: Pulling fs layer 04:20:31 ec43610c2a17: Pulling fs layer 04:20:31 3a2ae6a8a46f: Pulling fs layer 04:20:31 33b1e0a273af: Pulling fs layer 04:20:31 5d3b04190fa2: Pulling fs layer 04:20:31 2f39f015ded8: Pulling fs layer 04:20:31 3a2ae6a8a46f: Waiting 04:20:31 5d3b04190fa2: Waiting 04:20:31 33b1e0a273af: Waiting 04:20:31 2f39f015ded8: Waiting 04:20:31 3a2ae6a8a46f: Verifying Checksum 04:20:31 3a2ae6a8a46f: Download complete 04:20:31 33b1e0a273af: Verifying Checksum 04:20:31 33b1e0a273af: Download complete 04:20:31 5d3b04190fa2: Verifying Checksum 04:20:31 5d3b04190fa2: Download complete 04:20:31 ec43610c2a17: Verifying Checksum 04:20:31 ec43610c2a17: Download complete 04:20:31 5eb5b503b376: Verifying Checksum 04:20:31 5eb5b503b376: Download complete 04:20:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5599 in /w/workspace/gexfoundry_device-sdk-go_PR-1598 [Pipeline] { [Pipeline] ws 04:20:31 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:20:32 2f39f015ded8: Download complete 04:20:32 5eb5b503b376: Pull complete 04:20:32 5c69ac0246d0: Pull complete 04:20:32 ec43610c2a17: Pull complete 04:20:33 3a2ae6a8a46f: Pull complete 04:20:33 33b1e0a273af: Pull complete 04:20:33 5d3b04190fa2: Pull complete 04:20:34 The recommended git tool is: git 04:20:36 2f39f015ded8: Pull complete 04:20:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:37 prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container 04:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1598 -v /w/workspace/gexfoundry_device-sdk-go_PR-1598:/w/workspace/gexfoundry_device-sdk-go_PR-1598:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:20:38 $ docker top 3b54d613a4ed97189804e336b3c0706537d198354eb6aefdb723ecca1c5f6ba7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:38 ---> job-cost.sh 04:20:38 lf-activate-venv: SKIPPING 04:20:38 INFO: No Stack... 04:20:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:20:39 INFO: Archiving Costs [Pipeline] sh 04:20:39 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives/cost.csv 04:20:39 + cut -d, -f6 [Pipeline] lock 04:20:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] 04:20:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] did not exist. Created. 04:20:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:20:40 + echo total: 0.2199999988079071 [Pipeline] stash 04:20:40 Stashed 1 file(s) [Pipeline] } 04:20:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:20:40 $ docker stop --time=1 3b54d613a4ed97189804e336b3c0706537d198354eb6aefdb723ecca1c5f6ba7 04:20:41 $ docker rm -f --volumes 3b54d613a4ed97189804e336b3c0706537d198354eb6aefdb723ecca1c5f6ba7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:20:42 using credential edgex-jenkins-ssh 04:20:42 Cloning the remote Git repository 04:20:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:20:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:20:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:20:42 > git --version # timeout=10 04:20:42 > git --version # 'git version 2.25.1' 04:20:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:20:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:20:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:20:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1598/head:refs/remotes/origin/PR-1598 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:20:49 Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit eeeb13dfdff6bd9ec552494222de6197d09e718e 04:20:50 Merge succeeded, producing eeeb13dfdff6bd9ec552494222de6197d09e718e 04:20:50 Checking out Revision eeeb13dfdff6bd9ec552494222de6197d09e718e (PR-1598) 04:20:49 > git config core.sparsecheckout # timeout=10 04:20:49 > git checkout -f eeeb13dfdff6bd9ec552494222de6197d09e718e # timeout=10 04:20:50 > git remote # timeout=10 04:20:50 > git config --get remote.origin.url # timeout=10 04:20:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:50 > git merge 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 04:20:50 > git rev-parse HEAD^{commit} # timeout=10 04:20:50 > git config core.sparsecheckout # timeout=10 04:20:50 > git checkout -f eeeb13dfdff6bd9ec552494222de6197d09e718e # timeout=10 04:20:50 Commit message: "build(deps): bump github.com/panjf2000/ants/v2 from 2.9.1 to 2.10.0" 04:20:50 > git --version # timeout=10 04:20:50 > git --version # 'git version 2.25.1' 04:20:50 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:20:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:20:55 Dload Upload Total Spent Left Speed 04:20:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 04:20:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:20:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:20:56 + sudo tee /etc/docker/daemon.new 04:20:56 { 04:20:56 "registry-mirrors": [ 04:20:56 "https://nexus3.edgexfoundry.org:10001" 04:20:56 ], 04:20:56 "bip": "10.250.0.254/24", 04:20:56 "hosts": [ 04:20:56 "tcp://0.0.0.0:5555", 04:20:56 "unix:///var/run/docker.sock" 04:20:56 ], 04:20:56 "mtu": 1458, 04:20:56 "selinux-enabled": true, 04:20:56 "seccomp-profile": "/etc/docker/seccomp.json" 04:20:56 } [Pipeline] sh 04:20:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:20:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:15 provisioning config files... 04:21:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2984162717283513343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:16 ---> ****-login.sh 04:21:16 nexus3.edgexfoundry.org:10001 04:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:16 Configure a credential helper to remove this warning. See 04:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:16 04:21:16 Login Succeeded 04:21:16 nexus3.edgexfoundry.org:10002 04:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:17 Configure a credential helper to remove this warning. See 04:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:17 04:21:17 Login Succeeded 04:21:17 nexus3.edgexfoundry.org:10003 04:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:17 Configure a credential helper to remove this warning. See 04:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:17 04:21:17 Login Succeeded 04:21:17 nexus3.edgexfoundry.org:10004 04:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:18 Configure a credential helper to remove this warning. See 04:21:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:18 04:21:18 Login Succeeded 04:21:18 ****.io 04:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:21:18 Configure a credential helper to remove this warning. See 04:21:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:21:18 04:21:18 Login Succeeded 04:21:18 ---> ****-login.sh ends [Pipeline] } 04:21:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:21:19 ========================================================= 04:21:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:21:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:19 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:21:20 Sending build context to Docker daemon 12.92MB 04:21:20 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:21:20 Step 2/10 : FROM ${BASE} AS builder 04:21:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:21:20 c6b39de5b339: Pulling fs layer 04:21:20 a69c41024577: Pulling fs layer 04:21:20 d6de4b400683: Pulling fs layer 04:21:20 35cb2a7552d0: Pulling fs layer 04:21:20 4f4fb700ef54: Pulling fs layer 04:21:20 464afbd9ba4c: Pulling fs layer 04:21:20 00f215d4a9da: Pulling fs layer 04:21:20 d496ad576159: Pulling fs layer 04:21:20 4f4fb700ef54: Waiting 04:21:20 464afbd9ba4c: Waiting 04:21:20 00f215d4a9da: Waiting 04:21:20 d496ad576159: Waiting 04:21:20 a69c41024577: Verifying Checksum 04:21:20 a69c41024577: Download complete 04:21:20 35cb2a7552d0: Verifying Checksum 04:21:20 35cb2a7552d0: Download complete 04:21:20 4f4fb700ef54: Verifying Checksum 04:21:20 4f4fb700ef54: Download complete 04:21:20 464afbd9ba4c: Verifying Checksum 04:21:20 464afbd9ba4c: Download complete 04:21:20 c6b39de5b339: Download complete 04:21:21 d496ad576159: Verifying Checksum 04:21:21 d496ad576159: Download complete 04:21:22 c6b39de5b339: Pull complete 04:21:23 d6de4b400683: Verifying Checksum 04:21:23 d6de4b400683: Download complete 04:21:23 a69c41024577: Pull complete 04:21:24 00f215d4a9da: Download complete 04:21:37 d6de4b400683: Pull complete 04:21:37 35cb2a7552d0: Pull complete 04:21:37 4f4fb700ef54: Pull complete 04:21:37 464afbd9ba4c: Pull complete 04:21:47 00f215d4a9da: Pull complete 04:21:47 d496ad576159: Pull complete 04:21:47 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:21:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:21:47 ---> f246e2811388 04:21:47 Step 3/10 : ARG MAKE=make build 04:21:49 ---> Running in 4c081df4a62e 04:21:50 Removing intermediate container 4c081df4a62e 04:21:50 ---> 2e8bfb93c140 04:21:50 Step 4/10 : WORKDIR /device-sdk-go 04:21:50 ---> Running in bedb98fe08fc 04:21:50 Removing intermediate container bedb98fe08fc 04:21:50 ---> 67ad0a0b38e5 04:21:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:21:50 ---> Running in 21053265b6bd 04:21:50 Removing intermediate container 21053265b6bd 04:21:50 ---> ab612b0669d2 04:21:50 Step 6/10 : RUN apk add --update --no-cache make git 04:21:50 ---> Running in e13fe7bbabbd 04:21:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:21:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:21:53 OK: 266 MiB in 52 packages 04:21:54 Removing intermediate container e13fe7bbabbd 04:21:54 ---> babd382dab8c 04:21:54 Step 7/10 : COPY go.mod vendor* ./ 04:21:54 ---> 3852b8d77aae 04:21:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:54 ---> Running in 7d7c3f049d35 04:24:01 Removing intermediate container 7d7c3f049d35 04:24:01 ---> d2015dfb3e52 04:24:01 Step 9/10 : COPY . . 04:24:02 ---> a9785885d11b 04:24:02 Step 10/10 : RUN ${MAKE} 04:24:02 ---> Running in 47ea95a55d5c 04:24:03 noop 04:24:03 Removing intermediate container 47ea95a55d5c 04:24:03 ---> 4ffe055a396e 04:24:03 Successfully built 4ffe055a396e 04:24:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:04 + docker inspect -f . ci-base-image-arm64 04:24:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:04 prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container 04:24:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:24:06 $ docker top 2438ee5e4a6af9df0cd97999e496f7338df286e82c92df04f93175dffc32b7cf -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:06 + go version 04:24:06 go version go1.21.9 linux/arm64 [Pipeline] } 04:24:06 $ docker stop --time=1 2438ee5e4a6af9df0cd97999e496f7338df286e82c92df04f93175dffc32b7cf 04:24:08 $ docker rm -f --volumes 2438ee5e4a6af9df0cd97999e496f7338df286e82c92df04f93175dffc32b7cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:09 + docker inspect -f . ci-base-image-arm64 04:24:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:09 prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container 04:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:24:11 $ docker top 4fe0ff6aeeb81bfea6a8c747a744447b179eaf2fcb0b3df3af6a8b89255048bf -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:24:12 + make test 04:24:12 go test -race -coverprofile=coverage.out ./... 04:24:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:28:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:28:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:28:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:28:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:28:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:28:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.128s coverage: 27.0% of statements 04:28:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.183s coverage: 80.0% of statements 04:28:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:28:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:28:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.257s coverage: 86.0% of statements 04:28:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:28:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.463s coverage: 71.8% of statements 04:28:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.168s coverage: 14.4% of statements 04:28:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.034s coverage: 44.6% of statements 04:28:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:28:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:29:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.332s coverage: 68.5% of statements 04:29:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.404s coverage: 89.2% of statements 04:29:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:29:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.262s coverage: 5.4% of statements 04:29:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:29:10 GO111MODULE=on go vet ./... 04:33:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:33:17 ./bin/test-attribution-txt.sh 04:33:17 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:33:17 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:33:17 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:33:17 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:33:17 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:33:17 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:33:17 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:33:17 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:33:17 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:33:17 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:33:17 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:33:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:33:17 $ docker stop --time=1 4fe0ff6aeeb81bfea6a8c747a744447b179eaf2fcb0b3df3af6a8b89255048bf 04:33:19 $ docker rm -f --volumes 4fe0ff6aeeb81bfea6a8c747a744447b179eaf2fcb0b3df3af6a8b89255048bf [Pipeline] // withDockerContainer [Pipeline] sh 04:33:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:22 Warning: overwriting stash ‘coverage-report’ 04:33:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:33:24 + ls -al . 04:33:24 total 372 04:33:24 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 04:24 . 04:33:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:20 .. 04:33:24 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 04:20 .dockerignore 04:33:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 04:20 .git 04:33:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 04:20 .github 04:33:24 -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 04:20 .gitignore 04:33:24 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 04:20 .golangci.yml 04:33:24 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 04:20 CHANGELOG.md 04:33:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 04:20 GOVERNANCE.md 04:33:24 -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 04:20 Jenkinsfile 04:33:24 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 04:20 LICENSE 04:33:24 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 04:20 Makefile 04:33:24 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 04:20 OWNERS.md 04:33:24 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 04:20 README.md 04:33:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 04:17 VERSION 04:33:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 04:20 bin 04:33:24 -rw-r--r-- 1 jenkins jenkins 122663 Jul 15 04:29 coverage.out 04:33:24 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 04:20 example 04:33:24 -rw-rw-r-- 1 jenkins jenkins 7103 Jul 15 04:20 go.mod 04:33:24 -rw-rw-r-- 1 jenkins jenkins 102085 Jul 15 04:20 go.sum 04:33:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 04:20 internal 04:33:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 04:20 openapi 04:33:24 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 04:20 pkg 04:33:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 04:20 snap 04:33:24 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:24 + 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=eeeb13dfdff6bd9ec552494222de6197d09e718e --label arch=arm64 --label version=0.0.0 . 04:33:25 Sending build context to Docker daemon 13.05MB 04:33:25 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:33:25 Step 2/24 : FROM ${BASE} AS builder 04:33:25 ---> 4ffe055a396e 04:33:25 Step 3/24 : ARG MAKE=make build 04:33:25 ---> Running in 84cf44dfe08d 04:33:25 Removing intermediate container 84cf44dfe08d 04:33:25 ---> 2403c2c04b67 04:33:25 Step 4/24 : WORKDIR /device-sdk-go 04:33:25 ---> Running in ec688ed77888 04:33:25 Removing intermediate container ec688ed77888 04:33:25 ---> c1b3bfc10fc7 04:33:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:33:26 ---> Running in 6aa2eb8c77ca 04:33:26 Removing intermediate container 6aa2eb8c77ca 04:33:26 ---> e69e929fc8d0 04:33:26 Step 6/24 : RUN apk add --update --no-cache make git 04:33:26 ---> Running in ada83bc40b17 04:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:33:28 OK: 266 MiB in 52 packages 04:33:29 Removing intermediate container ada83bc40b17 04:33:29 ---> 5f7e9a9b06c6 04:33:29 Step 7/24 : COPY go.mod vendor* ./ 04:33:30 ---> c105cddee445 04:33:30 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:30 ---> Running in 47fc02da3a98 04:33:33 Removing intermediate container 47fc02da3a98 04:33:33 ---> ab0565aab1cd 04:33:33 Step 9/24 : COPY . . 04:33:34 ---> 25a00129beb4 04:33:34 Step 10/24 : RUN ${MAKE} 04:33:34 ---> Running in 8e5cc1db5d2a 04:33:35 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:37:12 Removing intermediate container 8e5cc1db5d2a 04:37:12 ---> 630d61c22cad 04:37:12 Step 11/24 : FROM alpine:3.18 04:37:12 3.18: Pulling from library/alpine 04:37:12 5c905c7ebe2f: Pulling fs layer 04:37:12 5c905c7ebe2f: Verifying Checksum 04:37:12 5c905c7ebe2f: Download complete 04:37:12 5c905c7ebe2f: Pull complete 04:37:12 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:37:12 Status: Downloaded newer image for alpine:3.18 04:37:12 ---> dec292d02e07 04:37:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:37:12 ---> Running in f5df8205fd44 04:37:12 Removing intermediate container f5df8205fd44 04:37:12 ---> 21f2b40dc615 04:37:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:37:12 ---> Running in cf36e3c2391b 04:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:37:12 (1/1) Installing dumb-init (1.2.5-r2) 04:37:12 Executing busybox-1.36.1-r7.trigger 04:37:12 OK: 8 MiB in 16 packages 04:37:12 Removing intermediate container cf36e3c2391b 04:37:12 ---> 74a8d184441d 04:37:12 Step 14/24 : RUN apk --no-cache upgrade 04:37:12 ---> Running in 765fd7b68ec4 04:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:37:12 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:37:12 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:37:12 OK: 8 MiB in 16 packages 04:37:12 Removing intermediate container 765fd7b68ec4 04:37:12 ---> 79be4fdb4da6 04:37:12 Step 15/24 : WORKDIR / 04:37:12 ---> Running in a77307d48fbd 04:37:12 Removing intermediate container a77307d48fbd 04:37:12 ---> 084af859d4c9 04:37:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:37:12 ---> 282eeab8575c 04:37:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:37:12 ---> 9c36141e83af 04:37:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:37:12 ---> ed9f8b5b8722 04:37:12 Step 19/24 : EXPOSE 59999 04:37:12 ---> Running in fd7d2fe63c1e 04:37:12 Removing intermediate container fd7d2fe63c1e 04:37:12 ---> fb96b5b24c3e 04:37:12 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:37:12 ---> Running in c3e103ab7913 04:37:13 Removing intermediate container c3e103ab7913 04:37:13 ---> bdde6eed5cfc 04:37:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:37:13 ---> Running in b45b58634b39 04:37:13 Removing intermediate container b45b58634b39 04:37:13 ---> 87be3f935e0f 04:37:13 Step 22/24 : LABEL arch=arm64 04:37:13 ---> Running in 680b25a5abaa 04:37:14 Removing intermediate container 680b25a5abaa 04:37:14 ---> 014bbc5da329 04:37:14 Step 23/24 : LABEL git_sha=eeeb13dfdff6bd9ec552494222de6197d09e718e 04:37:14 ---> Running in b7deab01768e 04:37:14 Removing intermediate container b7deab01768e 04:37:14 ---> a72158b31dc3 04:37:14 Step 24/24 : LABEL version=0.0.0 04:37:14 ---> Running in bb7cb634cca9 04:37:14 Removing intermediate container bb7cb634cca9 04:37:14 ---> 3a8a777f6796 04:37:14 [Warning] One or more build-args [ARCH] were not consumed 04:37:14 Successfully built 3a8a777f6796 04:37:14 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:15 04:37:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:16 arm64: Pulling from edgex-lftools-log-publisher 04:37:16 8998bd30e6a1: Pulling fs layer 04:37:16 04944245beec: Pulling fs layer 04:37:16 699f458cf7ca: Pulling fs layer 04:37:16 765212b225bb: Pulling fs layer 04:37:16 f23df028b6ca: Pulling fs layer 04:37:16 d65c8cfc05b1: Pulling fs layer 04:37:16 2437ff75d9bd: Pulling fs layer 04:37:16 d65c8cfc05b1: Waiting 04:37:16 2437ff75d9bd: Waiting 04:37:16 765212b225bb: Waiting 04:37:16 04944245beec: Verifying Checksum 04:37:16 04944245beec: Download complete 04:37:16 765212b225bb: Verifying Checksum 04:37:16 765212b225bb: Download complete 04:37:16 f23df028b6ca: Download complete 04:37:16 d65c8cfc05b1: Verifying Checksum 04:37:16 d65c8cfc05b1: Download complete 04:37:16 699f458cf7ca: Verifying Checksum 04:37:16 699f458cf7ca: Download complete 04:37:17 8998bd30e6a1: Verifying Checksum 04:37:17 8998bd30e6a1: Download complete 04:37:19 2437ff75d9bd: Verifying Checksum 04:37:19 2437ff75d9bd: Download complete 04:37:21 8998bd30e6a1: Pull complete 04:37:21 04944245beec: Pull complete 04:37:23 699f458cf7ca: Pull complete 04:37:23 765212b225bb: Pull complete 04:37:24 f23df028b6ca: Pull complete 04:37:24 d65c8cfc05b1: Pull complete 04:37:42 2437ff75d9bd: Pull complete 04:37:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:37:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:43 prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container 04:37:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:37:46 $ docker top 49b38f7aa4c823389fe90d223f50e10e7a201454be504c10a258654e9eae6046 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:47 ---> job-cost.sh 04:37:47 lf-activate-venv: SKIPPING 04:37:47 INFO: No Stack... 04:37:47 INFO: Retrieving Pricing Info for: v3-standard-4 04:37:48 INFO: Archiving Costs [Pipeline] sh 04:37:48 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:37:48 + cut -d, -f6 [Pipeline] lock 04:37:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] 04:37:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] did not exist. Created. 04:37:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:49 /w/workspace/device-sdk-go/1@tmp/durable-e2f2a094/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:37:50 + echo total: 0.10999999940395355 [Pipeline] stash 04:37:50 Warning: overwriting stash ‘stack-cost’ 04:37:50 Stashed 1 file(s) [Pipeline] } 04:37:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1598-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:50 $ docker stop --time=1 49b38f7aa4c823389fe90d223f50e10e7a201454be504c10a258654e9eae6046 04:37:52 $ docker rm -f --volumes 49b38f7aa4c823389fe90d223f50e10e7a201454be504c10a258654e9eae6046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:37:53 provisioning config files... 04:37:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/config3267288259087785390tmp [Pipeline] { [Pipeline] sh 04:37:53 + set +x 04:37:53 + + bash -s --curl 04:37:53 -s https://codecov.io/bash 04:37:53 04:37:53 _____ _ 04:37:53 / ____| | | 04:37:53 | | ___ __| | ___ ___ _____ __ 04:37:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:37:53 | |___| (_) | (_| | __/ (_| (_) \ V / 04:37:53 \_____\___/ \__,_|\___|\___\___/ \_/ 04:37:53 Bash-1.0.6 04:37:53 04:37:53 04:37:53 ==> git version 2.25.1 found 04:37:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:37:53 Release-Date: 2020-01-08 04:37:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:37:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:37:53 ==> Jenkins CI detected. 04:37:53 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1598 04:37:53 project root: . 04:37:53 --> token set from env 04:37:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:37:53 ==> Running gcov in . (disable via -X gcov) 04:37:53 ==> Python coveragepy not found 04:37:53 ==> Searching for coverage reports in: 04:37:53 + . 04:37:53 -> Found 1 reports 04:37:53 ==> Detecting git/mercurial file structure 04:37:53 ==> Reading reports 04:37:53 + ./coverage.out bytes=122663 04:37:53 ==> Appending adjustments 04:37:53 https://docs.codecov.io/docs/fixing-reports 04:37:54 + Found adjustments 04:37:54 ==> Gzipping contents 04:37:54 20K /tmp/codecov.GSoSxs.gz 04:37:54 ==> Uploading reports 04:37:54 url: https://codecov.io 04:37:54 query: branch=PR-1598&commit=eeeb13dfdff6bd9ec552494222de6197d09e718e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1598%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1598&job=&cmd_args= 04:37:54 -> Pinging Codecov 04:37:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1598&commit=eeeb13dfdff6bd9ec552494222de6197d09e718e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1598%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1598&job=&cmd_args= 04:37:54 -> Uploading to 04:37:54 https://storage.googleapis.com/codecov/v4/raw/2024-07-15/7E55EF52A471D76F132DFD9A03CDDE97/eeeb13dfdff6bd9ec552494222de6197d09e718e/0b1ede11-60d8-4971-9200-abda672d9a21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240715%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240715T043754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=062eaee5cab0c851ff61fade94090947347dc504a49d5eaae1c13271e6236d46 04:37:54 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:54 Dload Upload Total Spent Left Speed 04:37:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16782 0 0 100 16782 0 64795 --:--:-- --:--:-- --:--:-- 65046 04:37:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/eeeb13dfdff6bd9ec552494222de6197d09e718e [Pipeline] } 04:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:37:56 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives ] 04:37:56 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives 04:37:56 total 16 04:37:56 drwxr-xr-x 3 root root 4096 Jul 15 04:20 . 04:37:56 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 04:20 .. 04:37:56 drwxr-xr-x 2 root root 4096 Jul 15 04:20 cost 04:37:56 -rw-r--r-- 1 root root 86 Jul 15 04:20 cost.csv 04:37:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives 04:37:56 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives 04:37:56 total 16 04:37:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 04:20 . 04:37:56 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 04:20 .. 04:37:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 04:20 cost 04:37:56 -rw-r--r-- 1 jenkins jenkins 86 Jul 15 04:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:37:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:37:58 ---> package-listing.sh 04:37:58 ++ tr '[:upper:]' '[:lower:]' 04:37:58 ++ facter osfamily 04:37:58 + OS_FAMILY=debian 04:37:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1598 04:37:58 + START_PACKAGES=/tmp/packages_start.txt 04:37:58 + END_PACKAGES=/tmp/packages_end.txt 04:37:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:37:58 + PACKAGES=/tmp/packages_start.txt 04:37:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1598 ']' 04:37:58 + PACKAGES=/tmp/packages_end.txt 04:37:58 + case "${OS_FAMILY}" in 04:37:58 + dpkg -l 04:37:58 + grep '^ii' 04:37:58 + '[' -f /tmp/packages_start.txt ']' 04:37:58 + '[' -f /tmp/packages_end.txt ']' 04:37:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:37:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1598 ']' 04:37:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives/ 04:37:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1598/archives/ [Pipeline] echo 04:37:58 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-1598/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:37:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:59 prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container 04:37:59 $ 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-1598/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-1598 -v /w/workspace/gexfoundry_device-sdk-go_PR-1598:/w/workspace/gexfoundry_device-sdk-go_PR-1598:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:37:59 $ docker top 52c9b1c7a23909d9c60bb816560966cb69ca918137f9b55e6a773e5a8779cd42 -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:00 + touch /tmp/pre-build-complete [Pipeline] sh 04:38:00 + mkdir -p /var/log/sysstat [Pipeline] sh 04:38:00 + ls /var/log/sa-host 04:38:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:01 provisioning config files... 04:38:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1598@tmp/config10474926111656229903tmp [Pipeline] { [Pipeline] echo 04:38:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:38:01 ---> create-netrc.sh [Pipeline] } 04:38:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:38:01 ---> python-tools-install.sh [Pipeline] echo 04:38:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:38:02 ---> sudo-logs.sh 04:38:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:38:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:38:02 ---> job-cost.sh 04:38:02 lf-activate-venv: SKIPPING 04:38:02 DEBUG: total: 0.2199999988079071 04:38:02 INFO: Retrieving Stack Cost... 04:38:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:38:03 INFO: Archiving Costs [Pipeline] echo 04:38:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:38:03 ---> logs-deploy.sh 04:38:03 lf-activate-venv: SKIPPING 04:38:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1598/1 04:38:03 INFO: archiving workspace using pattern(s): 04:38:04 Archives upload complete. 04:38:04 INFO: archiving logs to Nexus