Push event to branch main Started by user Cloud Tsai Rebuilds build #286 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bf2505a0d4e1853de162ef985be1e016ba60c0f 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-ssh1887662104278385766.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh11546577948539247263.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17135459319746631369.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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 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-ssh16883750207320330168.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14292585735268858349.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-865’ Running on prd-ubuntu20.04-docker-8c-8g-868 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2bf2505a0d4e1853de162ef985be1e016ba60c0f (main) Commit message: "Merge pull request #1540 from lenny-goodell/cve" > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 > git rev-list --no-walk 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-27T14:01:48.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-27T14:01:48.693Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-27T14:01:48.717Z] ========================================================= [2024-05-27T14:01:48.717Z] EdgeX Global Pipelines Version Info [2024-05-27T14:01:48.717Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:01:49.460Z] ------------------- [2024-05-27T14:01:49.460Z] stable info: [2024-05-27T14:01:49.460Z] ------------------- [2024-05-27T14:01:49.460Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T14:01:49.460Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T14:01:49.460Z] Message: update stable to v1.0.259 [2024-05-27T14:01:50.031Z] ------------------- [2024-05-27T14:01:50.031Z] experimental info: [2024-05-27T14:01:50.031Z] ------------------- [2024-05-27T14:01:50.031Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T14:01:50.031Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T14:01:50.031Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T14:01:50.099Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-27T14:01:50.121Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-27T14:01:50.148Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-27T14:01:50.170Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-27T14:01:50.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-27T14:01:50.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-27T14:01:50.239Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-27T14:01:50.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-27T14:01:50.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-27T14:01:50.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-27T14:01:50.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-27T14:01:50.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-27T14:01:50.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-27T14:01:50.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-27T14:01:50.434Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T14:01:50.454Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T14:01:50.480Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T14:01:50.505Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T14:01:50.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-27T14:01:50.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-27T14:01:50.568Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-27T14:01:50.595Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-27T14:01:50.622Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-27T14:01:50.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-27T14:01:50.665Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-27T14:01:50.690Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-27T14:01:50.713Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-27T14:01:50.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-27T14:01:50.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-27T14:01:50.784Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-27T14:01:50.805Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T14:01:50.826Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2505 [Pipeline] echo [2024-05-27T14:01:50.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T14:01:50.904Z] provisioning config files... [2024-05-27T14:01:50.918Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2127394052349977518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:01:51.251Z] ---> ****-login.sh [2024-05-27T14:01:51.251Z] nexus3.edgexfoundry.org:10001 [2024-05-27T14:01:51.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:01:51.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:01:51.510Z] Configure a credential helper to remove this warning. See [2024-05-27T14:01:51.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:01:51.511Z] [2024-05-27T14:01:51.511Z] Login Succeeded [2024-05-27T14:01:51.511Z] nexus3.edgexfoundry.org:10002 [2024-05-27T14:01:51.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:01:51.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:01:51.771Z] Configure a credential helper to remove this warning. See [2024-05-27T14:01:51.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:01:51.771Z] [2024-05-27T14:01:51.771Z] Login Succeeded [2024-05-27T14:01:51.771Z] nexus3.edgexfoundry.org:10003 [2024-05-27T14:01:51.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:01:51.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:01:51.771Z] Configure a credential helper to remove this warning. See [2024-05-27T14:01:51.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:01:51.771Z] [2024-05-27T14:01:51.771Z] Login Succeeded [2024-05-27T14:01:51.771Z] nexus3.edgexfoundry.org:10004 [2024-05-27T14:01:52.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:01:52.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:01:52.031Z] Configure a credential helper to remove this warning. See [2024-05-27T14:01:52.031Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:01:52.031Z] [2024-05-27T14:01:52.031Z] Login Succeeded [2024-05-27T14:01:52.031Z] ****.io [2024-05-27T14:01:52.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:01:52.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:01:52.290Z] Configure a credential helper to remove this warning. See [2024-05-27T14:01:52.290Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:01:52.290Z] [2024-05-27T14:01:52.290Z] Login Succeeded [2024-05-27T14:01:52.290Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T14:01:52.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-27T14:01:52.715Z] + git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T14:01:52.745Z] -----------> git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f 2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-27T14:01:52.745Z] 2bf2505a0d4e1853de162ef985be1e016ba60c0f [false] [Pipeline] sh [2024-05-27T14:01:53.039Z] + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T14:01:53.055Z] ========================================================= [2024-05-27T14:01:53.055Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-27T14:01:53.055Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T14:01:53.388Z] + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T14:01:53.397Z] [semverPrep] GIT_COMMIT: 2bf2505a0d4e1853de162ef985be1e016ba60c0f, Commit Message: Merge pull request #1540 from lenny-goodell/cve [Pipeline] echo [2024-05-27T14:01:53.409Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-27T14:01:53.768Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-27T14:01:53.768Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-27T14:01:53.768Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-27T14:01:53.768Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-27T14:01:53.768Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2024-05-27T14:01:53.768Z] /etc/ssh/ssh_known_hosts [2024-05-27T14:01:53.768Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:01:54.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T14:01:54.118Z] [2024-05-27T14:01:54.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:01:54.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T14:01:54.426Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-27T14:01:54.426Z] b85a868b505f: Pulling fs layer [2024-05-27T14:01:54.426Z] e2be974225ed: Pulling fs layer [2024-05-27T14:01:54.426Z] 339a4e72a1f5: Pulling fs layer [2024-05-27T14:01:54.426Z] 988bab9f4d93: Pulling fs layer [2024-05-27T14:01:54.426Z] 1469e6f7b9e6: Pulling fs layer [2024-05-27T14:01:54.426Z] eaf3925da568: Pulling fs layer [2024-05-27T14:01:54.426Z] bab4dde63d76: Pulling fs layer [2024-05-27T14:01:54.426Z] bde34c3a00c8: Pulling fs layer [2024-05-27T14:01:54.426Z] b352a97aabf1: Pulling fs layer [2024-05-27T14:01:54.426Z] 4872d77fe225: Pulling fs layer [2024-05-27T14:01:54.426Z] 5851b861e8e6: Pulling fs layer [2024-05-27T14:01:54.426Z] eaf3925da568: Waiting [2024-05-27T14:01:54.426Z] bab4dde63d76: Waiting [2024-05-27T14:01:54.426Z] bde34c3a00c8: Waiting [2024-05-27T14:01:54.426Z] b352a97aabf1: Waiting [2024-05-27T14:01:54.426Z] 4872d77fe225: Waiting [2024-05-27T14:01:54.426Z] 5851b861e8e6: Waiting [2024-05-27T14:01:54.426Z] 988bab9f4d93: Waiting [2024-05-27T14:01:54.426Z] 1469e6f7b9e6: Waiting [2024-05-27T14:01:54.426Z] e2be974225ed: Download complete [2024-05-27T14:01:54.426Z] 988bab9f4d93: Verifying Checksum [2024-05-27T14:01:54.426Z] 988bab9f4d93: Download complete [2024-05-27T14:01:54.426Z] 1469e6f7b9e6: Verifying Checksum [2024-05-27T14:01:54.426Z] 1469e6f7b9e6: Download complete [2024-05-27T14:01:54.426Z] eaf3925da568: Verifying Checksum [2024-05-27T14:01:54.426Z] eaf3925da568: Download complete [2024-05-27T14:01:54.426Z] 339a4e72a1f5: Verifying Checksum [2024-05-27T14:01:54.426Z] 339a4e72a1f5: Download complete [2024-05-27T14:01:54.685Z] bde34c3a00c8: Download complete [2024-05-27T14:01:54.685Z] b352a97aabf1: Verifying Checksum [2024-05-27T14:01:54.685Z] b352a97aabf1: Download complete [2024-05-27T14:01:54.685Z] 4872d77fe225: Verifying Checksum [2024-05-27T14:01:54.685Z] 4872d77fe225: Download complete [2024-05-27T14:01:54.685Z] 5851b861e8e6: Verifying Checksum [2024-05-27T14:01:54.685Z] 5851b861e8e6: Download complete [2024-05-27T14:01:54.685Z] b85a868b505f: Verifying Checksum [2024-05-27T14:01:54.685Z] b85a868b505f: Download complete [2024-05-27T14:01:55.256Z] bab4dde63d76: Verifying Checksum [2024-05-27T14:01:55.256Z] bab4dde63d76: Download complete [2024-05-27T14:01:56.192Z] b85a868b505f: Pull complete [2024-05-27T14:01:56.452Z] e2be974225ed: Pull complete [2024-05-27T14:01:57.021Z] 339a4e72a1f5: Pull complete [2024-05-27T14:01:57.021Z] 988bab9f4d93: Pull complete [2024-05-27T14:01:57.280Z] 1469e6f7b9e6: Pull complete [2024-05-27T14:01:57.280Z] eaf3925da568: Pull complete [2024-05-27T14:01:59.814Z] bab4dde63d76: Pull complete [2024-05-27T14:01:59.814Z] bde34c3a00c8: Pull complete [2024-05-27T14:01:59.814Z] b352a97aabf1: Pull complete [2024-05-27T14:01:59.814Z] 4872d77fe225: Pull complete [2024-05-27T14:02:00.073Z] 5851b861e8e6: Pull complete [2024-05-27T14:02:00.073Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-27T14:02:00.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T14:02:00.073Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:02:00.216Z] prd-ubuntu20.04-docker-8c-8g-868 does not seem to be running inside a container [2024-05-27T14:02:00.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-27T14:02:02.610Z] $ docker top 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 -eo pid,comm [2024-05-27T14:02:02.670Z] 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). [2024-05-27T14:02:02.670Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-27T14:02:02.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T14:02:02.727Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T14:02:02.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T14:02:02.851Z] $ docker exec 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 ssh-agent [2024-05-27T14:02:02.967Z] SSH_AUTH_SOCK=/tmp/ssh-2m6UQ68iYTJA/agent.32 [2024-05-27T14:02:02.967Z] SSH_AGENT_PID=38 [2024-05-27T14:02:02.972Z] Running ssh-add (command line suppressed) [2024-05-27T14:02:03.077Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12546984704994334290.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12546984704994334290.key) [2024-05-27T14:02:03.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T14:02:03.382Z] + git tag --points-at HEAD [Pipeline] } [2024-05-27T14:02:03.394Z] $ docker exec --env ******** --env ******** 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 ssh-agent -k [2024-05-27T14:02:03.486Z] unset SSH_AUTH_SOCK; [2024-05-27T14:02:03.486Z] unset SSH_AGENT_PID; [2024-05-27T14:02:03.487Z] echo Agent pid 38 killed; [2024-05-27T14:02:03.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-27T14:02:03.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T14:02:03.539Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T14:02:03.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T14:02:03.663Z] $ docker exec 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 ssh-agent [2024-05-27T14:02:03.777Z] SSH_AUTH_SOCK=/tmp/ssh-ovNS4TNopxZe/agent.71 [2024-05-27T14:02:03.777Z] SSH_AGENT_PID=77 [2024-05-27T14:02:03.782Z] Running ssh-add (command line suppressed) [2024-05-27T14:02:03.901Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6800326434048880941.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6800326434048880941.key) [2024-05-27T14:02:03.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T14:02:04.210Z] + git semver init [2024-05-27T14:02:04.470Z] 2024-05-27 14:02:04,406 [run_init] DEBUG init version:0.0.0 force:False [2024-05-27T14:02:04.470Z] 2024-05-27 14:02:04,407 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-27T14:02:04.470Z] 2024-05-27 14:02:04,408 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-27T14:02:04.470Z] 2024-05-27 14:02:04,408 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-05-27T14:02:05.849Z] 2024-05-27 14:02:05,651 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-05-27T14:02:05.849Z] 2024-05-27 14:02:05,652 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-05-27T14:02:05.849Z] 2024-05-27 14:02:05,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-27T14:02:05.849Z] 2024-05-27 14:02:05,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-27T14:02:05.849Z] 3.2.0-dev.14 [Pipeline] } [2024-05-27T14:02:05.858Z] $ docker exec --env ******** --env ******** 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 ssh-agent -k [2024-05-27T14:02:05.972Z] unset SSH_AUTH_SOCK; [2024-05-27T14:02:05.972Z] unset SSH_AGENT_PID; [2024-05-27T14:02:05.973Z] echo Agent pid 77 killed; [2024-05-27T14:02:05.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-27T14:02:06.307Z] + git semver [Pipeline] } [2024-05-27T14:02:06.582Z] $ docker stop --time=1 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 [2024-05-27T14:02:07.881Z] $ docker rm -f --volumes 977349db014028f36f140dc5e781824e7bcb6b3af2c611c9c328d73374c16547 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T14:02:08.228Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-27T14:02:08.469Z] Stashed 1 file(s) [Pipeline] echo [2024-05-27T14:02:08.472Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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 [2024-05-27T14:02:08.641Z] provisioning config files... [2024-05-27T14:02:08.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12929759201262791119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:02:08.952Z] ---> ****-login.sh [2024-05-27T14:02:08.952Z] nexus3.edgexfoundry.org:10001 [2024-05-27T14:02:08.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:02:08.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:02:08.952Z] Configure a credential helper to remove this warning. See [2024-05-27T14:02:08.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:02:08.952Z] [2024-05-27T14:02:08.952Z] Login Succeeded [2024-05-27T14:02:08.952Z] nexus3.edgexfoundry.org:10002 [2024-05-27T14:02:08.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:02:08.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:02:08.952Z] Configure a credential helper to remove this warning. See [2024-05-27T14:02:08.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:02:08.952Z] [2024-05-27T14:02:08.952Z] Login Succeeded [2024-05-27T14:02:08.952Z] nexus3.edgexfoundry.org:10003 [2024-05-27T14:02:09.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:02:09.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:02:09.212Z] Configure a credential helper to remove this warning. See [2024-05-27T14:02:09.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:02:09.212Z] [2024-05-27T14:02:09.212Z] Login Succeeded [2024-05-27T14:02:09.212Z] nexus3.edgexfoundry.org:10004 [2024-05-27T14:02:09.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:02:09.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:02:09.212Z] Configure a credential helper to remove this warning. See [2024-05-27T14:02:09.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:02:09.212Z] [2024-05-27T14:02:09.212Z] Login Succeeded [2024-05-27T14:02:09.212Z] ****.io [2024-05-27T14:02:09.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:02:09.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:02:09.472Z] Configure a credential helper to remove this warning. See [2024-05-27T14:02:09.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:02:09.472Z] [2024-05-27T14:02:09.472Z] Login Succeeded [2024-05-27T14:02:09.472Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T14:02:09.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T14:02:09.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T14:02:09.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T14:02:09.589Z] ========================================================= [2024-05-27T14:02:09.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-27T14:02:09.589Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:02:09.913Z] + 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 . [2024-05-27T14:02:09.913Z] Sending build context to Docker daemon 25.71MB [2024-05-27T14:02:09.913Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T14:02:09.913Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-27T14:02:10.172Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-27T14:02:10.172Z] 619be1103602: Pulling fs layer [2024-05-27T14:02:10.172Z] 7862e08f4a3e: Pulling fs layer [2024-05-27T14:02:10.172Z] 5df492c9dc93: Pulling fs layer [2024-05-27T14:02:10.172Z] 7629e6793208: Pulling fs layer [2024-05-27T14:02:10.172Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T14:02:10.172Z] fb5054dd5b73: Pulling fs layer [2024-05-27T14:02:10.172Z] eeca6798cff9: Pulling fs layer [2024-05-27T14:02:10.172Z] 7629e6793208: Waiting [2024-05-27T14:02:10.172Z] aa269ceb94a6: Pulling fs layer [2024-05-27T14:02:10.172Z] ada007ff1a6a: Pulling fs layer [2024-05-27T14:02:10.172Z] 4f4fb700ef54: Waiting [2024-05-27T14:02:10.172Z] fb5054dd5b73: Waiting [2024-05-27T14:02:10.172Z] aa269ceb94a6: Waiting [2024-05-27T14:02:10.172Z] eeca6798cff9: Waiting [2024-05-27T14:02:10.172Z] ada007ff1a6a: Waiting [2024-05-27T14:02:10.172Z] 7862e08f4a3e: Verifying Checksum [2024-05-27T14:02:10.172Z] 7862e08f4a3e: Download complete [2024-05-27T14:02:10.172Z] 7629e6793208: Verifying Checksum [2024-05-27T14:02:10.172Z] 7629e6793208: Download complete [2024-05-27T14:02:10.172Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T14:02:10.172Z] 4f4fb700ef54: Download complete [2024-05-27T14:02:10.172Z] fb5054dd5b73: Verifying Checksum [2024-05-27T14:02:10.172Z] fb5054dd5b73: Download complete [2024-05-27T14:02:10.172Z] 619be1103602: Verifying Checksum [2024-05-27T14:02:10.172Z] 619be1103602: Download complete [2024-05-27T14:02:10.172Z] eeca6798cff9: Verifying Checksum [2024-05-27T14:02:10.172Z] eeca6798cff9: Download complete [2024-05-27T14:02:10.432Z] 619be1103602: Pull complete [2024-05-27T14:02:10.432Z] ada007ff1a6a: Verifying Checksum [2024-05-27T14:02:10.432Z] ada007ff1a6a: Download complete [2024-05-27T14:02:10.432Z] 7862e08f4a3e: Pull complete [2024-05-27T14:02:10.691Z] 5df492c9dc93: Verifying Checksum [2024-05-27T14:02:10.691Z] 5df492c9dc93: Download complete [2024-05-27T14:02:10.950Z] aa269ceb94a6: Verifying Checksum [2024-05-27T14:02:10.950Z] aa269ceb94a6: Download complete [2024-05-27T14:02:15.147Z] 5df492c9dc93: Pull complete [2024-05-27T14:02:15.147Z] 7629e6793208: Pull complete [2024-05-27T14:02:15.147Z] 4f4fb700ef54: Pull complete [2024-05-27T14:02:15.147Z] fb5054dd5b73: Pull complete [2024-05-27T14:02:15.147Z] eeca6798cff9: Pull complete [2024-05-27T14:02:17.680Z] aa269ceb94a6: Pull complete [2024-05-27T14:02:17.680Z] ada007ff1a6a: Pull complete [2024-05-27T14:02:17.680Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-27T14:02:17.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-27T14:02:17.680Z] ---> f489d0715acc [2024-05-27T14:02:17.680Z] Step 3/10 : ARG MAKE=make build [2024-05-27T14:02:21.872Z] ---> Running in fcf626204024 [2024-05-27T14:02:21.872Z] Removing intermediate container fcf626204024 [2024-05-27T14:02:21.872Z] ---> 21f229c69d98 [2024-05-27T14:02:21.872Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-27T14:02:21.872Z] ---> Running in a9823c57231e [2024-05-27T14:02:21.872Z] Removing intermediate container a9823c57231e [2024-05-27T14:02:21.872Z] ---> 9e226d5f368b [2024-05-27T14:02:21.872Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T14:02:21.872Z] ---> Running in ca0d27cdc176 [2024-05-27T14:02:21.872Z] Removing intermediate container ca0d27cdc176 [2024-05-27T14:02:21.872Z] ---> b82e528163d5 [2024-05-27T14:02:21.872Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-27T14:02:21.872Z] ---> Running in 13f2a26241e1 [2024-05-27T14:02:21.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T14:02:21.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T14:02:22.131Z] OK: 264 MiB in 52 packages [2024-05-27T14:02:22.698Z] Removing intermediate container 13f2a26241e1 [2024-05-27T14:02:22.698Z] ---> a9162d9f9518 [2024-05-27T14:02:22.698Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-27T14:02:22.698Z] ---> 3aac8da9ef6d [2024-05-27T14:02:22.698Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T14:02:22.698Z] ---> Running in 89562a0ac3fe [2024-05-27T14:02:23.592Z] Still waiting to schedule task [2024-05-27T14:02:23.592Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-867’ [2024-05-27T14:03:18.946Z] Removing intermediate container 89562a0ac3fe [2024-05-27T14:03:18.946Z] ---> 307542060f55 [2024-05-27T14:03:18.946Z] Step 9/10 : COPY . . [2024-05-27T14:03:18.946Z] ---> ba3f2af61d9c [2024-05-27T14:03:18.946Z] Step 10/10 : RUN ${MAKE} [2024-05-27T14:03:18.946Z] ---> Running in 2237a93d4fb5 [2024-05-27T14:03:18.946Z] noop [2024-05-27T14:03:18.946Z] Removing intermediate container 2237a93d4fb5 [2024-05-27T14:03:18.946Z] ---> 3a7c949a9e37 [2024-05-27T14:03:18.946Z] Successfully built 3a7c949a9e37 [2024-05-27T14:03:18.946Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:03:19.275Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T14:03:19.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:03:19.356Z] prd-ubuntu20.04-docker-8c-8g-868 does not seem to be running inside a container [2024-05-27T14:03:19.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2024-05-27T14:03:19.734Z] $ docker top 3d1fa1d7d939949be0997a08ffc1be4d1702dec3fcf59b4bac9ac59fefe65186 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T14:03:20.072Z] + go version [2024-05-27T14:03:20.072Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-27T14:03:20.085Z] $ docker stop --time=1 3d1fa1d7d939949be0997a08ffc1be4d1702dec3fcf59b4bac9ac59fefe65186 [2024-05-27T14:03:21.338Z] $ docker rm -f --volumes 3d1fa1d7d939949be0997a08ffc1be4d1702dec3fcf59b4bac9ac59fefe65186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:03:21.774Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T14:03:21.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:03:21.860Z] prd-ubuntu20.04-docker-8c-8g-868 does not seem to be running inside a container [2024-05-27T14:03:21.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2024-05-27T14:03:22.246Z] $ docker top 649be002c0b9ed92432c15c4b28c59d9a6db616cd0431fa3bcc7474aed2a90e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T14:03:22.592Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-27T14:03:22.893Z] + make test [2024-05-27T14:03:22.893Z] go test -race -coverprofile=coverage.out ./... [2024-05-27T14:03:31.009Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-27T14:04:09.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.044s coverage: 27.6% of statements [2024-05-27T14:04:09.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.058s coverage: 81.5% of statements [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-27T14:04:09.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements [2024-05-27T14:04:09.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.102s coverage: 71.8% of statements [2024-05-27T14:04:09.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-27T14:04:10.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.062s coverage: 14.4% of statements [2024-05-27T14:04:10.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.745s coverage: 45.9% of statements [2024-05-27T14:04:10.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2024-05-27T14:04:10.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements [2024-05-27T14:04:10.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.075s coverage: 5.5% of statements [2024-05-27T14:04:42.713Z] GO111MODULE=on go vet ./... [2024-05-27T14:04:42.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T14:04:42.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T14:04:42.713Z] ./bin/test-attribution-txt.sh [2024-05-27T14:04:42.713Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.713Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-27T14:04:42.971Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-27T14:04:42.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-27T14:04:43.001Z] $ docker stop --time=1 649be002c0b9ed92432c15c4b28c59d9a6db616cd0431fa3bcc7474aed2a90e3 [2024-05-27T14:04:49.387Z] $ docker rm -f --volumes 649be002c0b9ed92432c15c4b28c59d9a6db616cd0431fa3bcc7474aed2a90e3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T14:04:50.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T14:04:50.130Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-27T14:04:50.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T14:04:50.852Z] + ls -al . [2024-05-27T14:04:50.852Z] total 376 [2024-05-27T14:04:50.852Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 14:03 . [2024-05-27T14:04:50.852Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 14:01 .. [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 14:01 .dockerignore [2024-05-27T14:04:50.852Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 14:04 .git [2024-05-27T14:04:50.852Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 14:01 .github [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 137 May 27 14:01 .gitignore [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 14:01 .golangci.yml [2024-05-27T14:04:50.852Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 14:02 .semver [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 27 14:01 CHANGELOG.md [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 14:01 GOVERNANCE.md [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 885 May 27 14:01 Jenkinsfile [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 14:01 LICENSE [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 27 14:01 Makefile [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 619 May 27 14:01 OWNERS.md [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 27 14:01 README.md [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 12 May 27 14:02 VERSION [2024-05-27T14:04:50.852Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 14:01 bin [2024-05-27T14:04:50.852Z] -rw-r--r-- 1 jenkins jenkins 122155 May 27 14:04 coverage.out [2024-05-27T14:04:50.852Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 14:01 example [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 27 14:01 go.mod [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 27 14:01 go.sum [2024-05-27T14:04:50.852Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 14:01 internal [2024-05-27T14:04:50.852Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 14:01 openapi [2024-05-27T14:04:50.852Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 14:01 pkg [2024-05-27T14:04:50.852Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 14:01 snap [2024-05-27T14:04:50.852Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 14:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:04:51.186Z] + 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=2bf2505a0d4e1853de162ef985be1e016ba60c0f --label arch=amd64 --label version=3.2.0-dev.14 . [2024-05-27T14:04:51.187Z] Sending build context to Docker daemon 25.84MB [2024-05-27T14:04:51.187Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T14:04:51.187Z] Step 2/24 : FROM ${BASE} AS builder [2024-05-27T14:04:51.187Z] ---> 3a7c949a9e37 [2024-05-27T14:04:51.187Z] Step 3/24 : ARG MAKE=make build [2024-05-27T14:04:51.754Z] ---> Running in 1bfdc8fb1b0a [2024-05-27T14:04:51.754Z] Removing intermediate container 1bfdc8fb1b0a [2024-05-27T14:04:51.754Z] ---> d27860d61ce4 [2024-05-27T14:04:51.754Z] Step 4/24 : WORKDIR /device-sdk-go [2024-05-27T14:04:51.754Z] ---> Running in b84eb0ffeaa9 [2024-05-27T14:04:51.754Z] Removing intermediate container b84eb0ffeaa9 [2024-05-27T14:04:51.754Z] ---> 17ad4d01801b [2024-05-27T14:04:51.754Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T14:04:51.754Z] ---> Running in 08298ca3ffd3 [2024-05-27T14:04:51.754Z] Removing intermediate container 08298ca3ffd3 [2024-05-27T14:04:51.754Z] ---> b3c6d4f62b76 [2024-05-27T14:04:51.754Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-05-27T14:04:52.013Z] ---> Running in 36a3487b657e [2024-05-27T14:04:52.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T14:04:52.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T14:04:52.530Z] OK: 264 MiB in 52 packages [2024-05-27T14:04:52.789Z] Removing intermediate container 36a3487b657e [2024-05-27T14:04:52.789Z] ---> cfce348d16cd [2024-05-27T14:04:52.789Z] Step 7/24 : COPY go.mod vendor* ./ [2024-05-27T14:04:53.048Z] ---> 441b2206a79f [2024-05-27T14:04:53.048Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T14:04:53.048Z] ---> Running in b5d3f46d8209 [2024-05-27T14:04:53.614Z] Removing intermediate container b5d3f46d8209 [2024-05-27T14:04:53.614Z] ---> 566047511036 [2024-05-27T14:04:53.614Z] Step 9/24 : COPY . . [2024-05-27T14:04:54.566Z] ---> 7f8aa2558e01 [2024-05-27T14:04:54.566Z] Step 10/24 : RUN ${MAKE} [2024-05-27T14:04:54.566Z] ---> Running in 8dba892780bf [2024-05-27T14:04:54.823Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-27T14:05:22.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-871 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-05-27T14:05:22.753Z] Running in /w/workspace/device-sdk-go/287 [Pipeline] { [Pipeline] checkout [2024-05-27T14:05:25.806Z] The recommended git tool is: git [2024-05-27T14:05:26.909Z] Removing intermediate container 8dba892780bf [2024-05-27T14:05:26.909Z] ---> 2a88a5e74834 [2024-05-27T14:05:26.909Z] Step 11/24 : FROM alpine:3.18 [2024-05-27T14:05:26.909Z] 3.18: Pulling from library/alpine [2024-05-27T14:05:26.909Z] 619be1103602: Already exists [2024-05-27T14:05:26.909Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T14:05:26.909Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T14:05:26.909Z] ---> d3782b16ccc9 [2024-05-27T14:05:26.909Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-27T14:05:26.909Z] ---> Running in 4de9c83016e6 [2024-05-27T14:05:26.909Z] Removing intermediate container 4de9c83016e6 [2024-05-27T14:05:26.909Z] ---> c1c1029a3343 [2024-05-27T14:05:26.909Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-05-27T14:05:26.909Z] ---> Running in 82e3a0c07eed [2024-05-27T14:05:26.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T14:05:26.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T14:05:26.909Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T14:05:26.909Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T14:05:26.909Z] OK: 7 MiB in 16 packages [2024-05-27T14:05:26.909Z] Removing intermediate container 82e3a0c07eed [2024-05-27T14:05:26.909Z] ---> 4a5fb9a1a879 [2024-05-27T14:05:26.909Z] Step 14/24 : RUN apk --no-cache upgrade [2024-05-27T14:05:26.909Z] ---> Running in 51146d9658aa [2024-05-27T14:05:26.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T14:05:26.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T14:05:26.909Z] Upgrading critical system libraries and apk-tools: [2024-05-27T14:05:26.909Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T14:05:26.909Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T14:05:26.909Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T14:05:26.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T14:05:26.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T14:05:26.909Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T14:05:26.909Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T14:05:26.909Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T14:05:26.909Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T14:05:26.909Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T14:05:26.909Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T14:05:26.909Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T14:05:26.909Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T14:05:26.909Z] OK: 7 MiB in 16 packages [2024-05-27T14:05:27.166Z] Removing intermediate container 51146d9658aa [2024-05-27T14:05:27.166Z] ---> c1adaaff5eb9 [2024-05-27T14:05:27.166Z] Step 15/24 : WORKDIR / [2024-05-27T14:05:27.166Z] ---> Running in 7ae06ad9cdcb [2024-05-27T14:05:27.166Z] Removing intermediate container 7ae06ad9cdcb [2024-05-27T14:05:27.166Z] ---> a836b431bc46 [2024-05-27T14:05:27.166Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-27T14:05:27.425Z] ---> 62bf95f08a0c [2024-05-27T14:05:27.425Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-27T14:05:28.796Z] ---> 9f1d11b8853f [2024-05-27T14:05:28.796Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-27T14:05:29.054Z] ---> 5a4bdc168308 [2024-05-27T14:05:29.054Z] Step 19/24 : EXPOSE 59999 [2024-05-27T14:05:29.054Z] ---> Running in e5f23813ba81 [2024-05-27T14:05:29.054Z] Removing intermediate container e5f23813ba81 [2024-05-27T14:05:29.054Z] ---> 2ed52017b454 [2024-05-27T14:05:29.054Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-05-27T14:05:29.054Z] ---> Running in 999604cb946c [2024-05-27T14:05:29.311Z] Removing intermediate container 999604cb946c [2024-05-27T14:05:29.311Z] ---> 0adf04421ede [2024-05-27T14:05:29.311Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T14:05:29.311Z] ---> Running in e4ef00ae123a [2024-05-27T14:05:29.311Z] Removing intermediate container e4ef00ae123a [2024-05-27T14:05:29.311Z] ---> f92477aec534 [2024-05-27T14:05:29.311Z] Step 22/24 : LABEL arch=amd64 [2024-05-27T14:05:29.311Z] ---> Running in 8d67371f0618 [2024-05-27T14:05:29.311Z] Removing intermediate container 8d67371f0618 [2024-05-27T14:05:29.311Z] ---> 0b3bbf4257a6 [2024-05-27T14:05:29.311Z] Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-27T14:05:29.311Z] ---> Running in cbb99a33eaa4 [2024-05-27T14:05:29.570Z] Removing intermediate container cbb99a33eaa4 [2024-05-27T14:05:29.570Z] ---> 6cadcd4f79ab [2024-05-27T14:05:29.570Z] Step 24/24 : LABEL version=3.2.0-dev.14 [2024-05-27T14:05:29.570Z] ---> Running in c9b566864e75 [2024-05-27T14:05:29.570Z] Removing intermediate container c9b566864e75 [2024-05-27T14:05:29.570Z] ---> 7893504b6eb7 [2024-05-27T14:05:29.570Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T14:05:29.570Z] Successfully built 7893504b6eb7 [2024-05-27T14:05:29.570Z] 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 [2024-05-27T14:05:30.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T14:05:30.011Z] [2024-05-27T14:05:30.011Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:05:30.314Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T14:05:30.314Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-27T14:05:30.314Z] 5eb5b503b376: Pulling fs layer [2024-05-27T14:05:30.314Z] 5c69ac0246d0: Pulling fs layer [2024-05-27T14:05:30.314Z] ec43610c2a17: Pulling fs layer [2024-05-27T14:05:30.314Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-27T14:05:30.314Z] 33b1e0a273af: Pulling fs layer [2024-05-27T14:05:30.314Z] 5d3b04190fa2: Pulling fs layer [2024-05-27T14:05:30.314Z] 2f39f015ded8: Pulling fs layer [2024-05-27T14:05:30.314Z] 3a2ae6a8a46f: Waiting [2024-05-27T14:05:30.314Z] 33b1e0a273af: Waiting [2024-05-27T14:05:30.314Z] 5d3b04190fa2: Waiting [2024-05-27T14:05:30.314Z] 2f39f015ded8: Waiting [2024-05-27T14:05:30.314Z] 5c69ac0246d0: Verifying Checksum [2024-05-27T14:05:30.314Z] 5c69ac0246d0: Download complete [2024-05-27T14:05:30.314Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-27T14:05:30.314Z] 3a2ae6a8a46f: Download complete [2024-05-27T14:05:30.314Z] 33b1e0a273af: Verifying Checksum [2024-05-27T14:05:30.314Z] 33b1e0a273af: Download complete [2024-05-27T14:05:30.314Z] ec43610c2a17: Verifying Checksum [2024-05-27T14:05:30.314Z] ec43610c2a17: Download complete [2024-05-27T14:05:30.314Z] 5d3b04190fa2: Verifying Checksum [2024-05-27T14:05:30.314Z] 5d3b04190fa2: Download complete [2024-05-27T14:05:30.571Z] 5eb5b503b376: Verifying Checksum [2024-05-27T14:05:30.571Z] 5eb5b503b376: Download complete [2024-05-27T14:05:31.135Z] 2f39f015ded8: Download complete [2024-05-27T14:05:31.232Z] using credential edgex-jenkins-ssh [2024-05-27T14:05:31.265Z] Cloning the remote Git repository [2024-05-27T14:05:31.700Z] 5eb5b503b376: Pull complete [2024-05-27T14:05:31.700Z] 5c69ac0246d0: Pull complete [2024-05-27T14:05:31.310Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-27T14:05:31.441Z] > git init /w/workspace/device-sdk-go/287 # timeout=10 [2024-05-27T14:05:31.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-27T14:05:31.597Z] > git --version # timeout=10 [2024-05-27T14:05:31.625Z] > git --version # 'git version 2.25.1' [2024-05-27T14:05:31.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T14:05:31.787Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T14:05:32.267Z] ec43610c2a17: Pull complete [2024-05-27T14:05:32.267Z] 3a2ae6a8a46f: Pull complete [2024-05-27T14:05:32.525Z] 33b1e0a273af: Pull complete [2024-05-27T14:05:32.525Z] 5d3b04190fa2: Pull complete [2024-05-27T14:05:34.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-27T14:05:34.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T14:05:35.607Z] Avoid second fetch [2024-05-27T14:05:35.607Z] Checking out Revision 2bf2505a0d4e1853de162ef985be1e016ba60c0f (main) [2024-05-27T14:05:35.623Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T14:05:35.714Z] > git checkout -f 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 [2024-05-27T14:05:36.343Z] Commit message: "Merge pull request #1540 from lenny-goodell/cve" [2024-05-27T14:05:36.742Z] 2f39f015ded8: Pull complete [2024-05-27T14:05:36.743Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-27T14:05:36.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T14:05:36.743Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:05:36.840Z] prd-ubuntu20.04-docker-8c-8g-868 does not seem to be running inside a container [2024-05-27T14:05:36.872Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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-lftools-log-publisher:latest cat [2024-05-27T14:05:40.458Z] [2024-05-27T14:05:40.458Z] GitHub has been notified of this commit’s build result [2024-05-27T14:05:40.458Z] [2024-05-27T14:05:40.684Z] $ docker top e02465f16f660b406d3a9973e0655775ddb8d70780e6e1c5d99398c355fda640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T14:05:41.055Z] ---> job-cost.sh [2024-05-27T14:05:41.055Z] lf-activate-venv: SKIPPING [2024-05-27T14:05:41.055Z] INFO: No Stack... [2024-05-27T14:05:41.317Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T14:05:41.431Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-27T14:05:41.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T14:05:41.431Z] Dload Upload Total Spent Left Speed [2024-05-27T14:05:41.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2024-05-27T14:05:41.780Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-27T14:05:41.886Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T14:05:42.125Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-27T14:05:42.126Z] + sudo tee /etc/docker/daemon.new [2024-05-27T14:05:42.126Z] { [2024-05-27T14:05:42.126Z] "registry-mirrors": [ [2024-05-27T14:05:42.126Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-27T14:05:42.126Z] ], [2024-05-27T14:05:42.126Z] "bip": "10.250.0.254/24", [2024-05-27T14:05:42.126Z] "hosts": [ [2024-05-27T14:05:42.126Z] "tcp://0.0.0.0:5555", [2024-05-27T14:05:42.126Z] "unix:///var/run/docker.sock" [2024-05-27T14:05:42.126Z] ], [2024-05-27T14:05:42.126Z] "mtu": 1458, [2024-05-27T14:05:42.126Z] "selinux-enabled": true, [2024-05-27T14:05:42.126Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-27T14:05:42.126Z] } [Pipeline] sh [2024-05-27T14:05:42.175Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-05-27T14:05:42.175Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T14:05:42.227Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] [2024-05-27T14:05:42.236Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] did not exist. Created. [2024-05-27T14:05:42.242Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T14:05:42.469Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-27T14:05:42.553Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-27T14:05:42.588Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T14:05:42.599Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T14:05:42.626Z] $ docker stop --time=1 e02465f16f660b406d3a9973e0655775ddb8d70780e6e1c5d99398c355fda640 [2024-05-27T14:05:42.806Z] + sudo service docker restart [2024-05-27T14:05:43.770Z] $ docker rm -f --volumes e02465f16f660b406d3a9973e0655775ddb8d70780e6e1c5d99398c355fda640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T14:06:01.095Z] provisioning config files... [2024-05-27T14:06:01.127Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/287@tmp/config1542875496942225208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:06:01.614Z] ---> ****-login.sh [2024-05-27T14:06:01.614Z] nexus3.edgexfoundry.org:10001 [2024-05-27T14:06:02.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:06:02.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:06:02.207Z] Configure a credential helper to remove this warning. See [2024-05-27T14:06:02.207Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:06:02.207Z] [2024-05-27T14:06:02.207Z] Login Succeeded [2024-05-27T14:06:02.207Z] nexus3.edgexfoundry.org:10002 [2024-05-27T14:06:02.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:06:02.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:06:02.756Z] Configure a credential helper to remove this warning. See [2024-05-27T14:06:02.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:06:02.756Z] [2024-05-27T14:06:02.756Z] Login Succeeded [2024-05-27T14:06:02.756Z] nexus3.edgexfoundry.org:10003 [2024-05-27T14:06:03.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:06:03.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:06:03.027Z] Configure a credential helper to remove this warning. See [2024-05-27T14:06:03.027Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:06:03.027Z] [2024-05-27T14:06:03.027Z] Login Succeeded [2024-05-27T14:06:03.302Z] nexus3.edgexfoundry.org:10004 [2024-05-27T14:06:03.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:06:03.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:06:03.572Z] Configure a credential helper to remove this warning. See [2024-05-27T14:06:03.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:06:03.572Z] [2024-05-27T14:06:03.572Z] Login Succeeded [2024-05-27T14:06:03.572Z] ****.io [2024-05-27T14:06:03.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T14:06:04.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T14:06:04.115Z] Configure a credential helper to remove this warning. See [2024-05-27T14:06:04.115Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T14:06:04.115Z] [2024-05-27T14:06:04.115Z] Login Succeeded [2024-05-27T14:06:04.115Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T14:06:04.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T14:06:04.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T14:06:04.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T14:06:04.534Z] ========================================================= [2024-05-27T14:06:04.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-27T14:06:04.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:06:04.913Z] + 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 . [2024-05-27T14:06:05.506Z] Sending build context to Docker daemon 13.27MB [2024-05-27T14:06:05.506Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T14:06:05.506Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-27T14:06:05.779Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-27T14:06:05.779Z] c6b39de5b339: Pulling fs layer [2024-05-27T14:06:05.779Z] a69c41024577: Pulling fs layer [2024-05-27T14:06:05.779Z] d6de4b400683: Pulling fs layer [2024-05-27T14:06:05.779Z] 35cb2a7552d0: Pulling fs layer [2024-05-27T14:06:05.779Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T14:06:05.779Z] 464afbd9ba4c: Pulling fs layer [2024-05-27T14:06:05.779Z] 00f215d4a9da: Pulling fs layer [2024-05-27T14:06:05.779Z] d496ad576159: Pulling fs layer [2024-05-27T14:06:05.779Z] 464afbd9ba4c: Waiting [2024-05-27T14:06:05.779Z] 35cb2a7552d0: Waiting [2024-05-27T14:06:05.779Z] 4f4fb700ef54: Waiting [2024-05-27T14:06:05.779Z] 00f215d4a9da: Waiting [2024-05-27T14:06:05.779Z] d496ad576159: Waiting [2024-05-27T14:06:05.779Z] a69c41024577: Verifying Checksum [2024-05-27T14:06:05.779Z] a69c41024577: Download complete [2024-05-27T14:06:05.779Z] 35cb2a7552d0: Download complete [2024-05-27T14:06:05.779Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T14:06:05.779Z] 4f4fb700ef54: Download complete [2024-05-27T14:06:05.779Z] 464afbd9ba4c: Verifying Checksum [2024-05-27T14:06:05.779Z] 464afbd9ba4c: Download complete [2024-05-27T14:06:05.779Z] c6b39de5b339: Download complete [2024-05-27T14:06:06.371Z] d496ad576159: Verifying Checksum [2024-05-27T14:06:06.371Z] d496ad576159: Download complete [2024-05-27T14:06:06.962Z] c6b39de5b339: Pull complete [2024-05-27T14:06:07.235Z] a69c41024577: Pull complete [2024-05-27T14:06:07.828Z] d6de4b400683: Verifying Checksum [2024-05-27T14:06:07.828Z] d6de4b400683: Download complete [2024-05-27T14:06:08.808Z] 00f215d4a9da: Verifying Checksum [2024-05-27T14:06:08.808Z] 00f215d4a9da: Download complete [2024-05-27T14:06:21.153Z] d6de4b400683: Pull complete [2024-05-27T14:06:21.419Z] 35cb2a7552d0: Pull complete [2024-05-27T14:06:21.419Z] 4f4fb700ef54: Pull complete [2024-05-27T14:06:21.687Z] 464afbd9ba4c: Pull complete [2024-05-27T14:06:29.932Z] 00f215d4a9da: Pull complete [2024-05-27T14:06:31.890Z] d496ad576159: Pull complete [2024-05-27T14:06:31.890Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-27T14:06:31.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-27T14:06:31.890Z] ---> f246e2811388 [2024-05-27T14:06:31.890Z] Step 3/10 : ARG MAKE=make build [2024-05-27T14:06:33.855Z] ---> Running in ef7491ab7226 [2024-05-27T14:06:34.125Z] Removing intermediate container ef7491ab7226 [2024-05-27T14:06:34.125Z] ---> 5c839b941113 [2024-05-27T14:06:34.125Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-27T14:06:34.125Z] ---> Running in 6ba8de38e956 [2024-05-27T14:06:34.411Z] Removing intermediate container 6ba8de38e956 [2024-05-27T14:06:34.411Z] ---> e9a01487259f [2024-05-27T14:06:34.411Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T14:06:34.685Z] ---> Running in c8bbc6498c29 [2024-05-27T14:06:34.955Z] Removing intermediate container c8bbc6498c29 [2024-05-27T14:06:34.955Z] ---> 57fe3a24c7fd [2024-05-27T14:06:34.955Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-27T14:06:34.955Z] ---> Running in 26bdea8e819b [2024-05-27T14:06:36.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T14:06:36.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T14:06:38.054Z] OK: 266 MiB in 52 packages [2024-05-27T14:06:38.645Z] Removing intermediate container 26bdea8e819b [2024-05-27T14:06:38.645Z] ---> a75c469042ac [2024-05-27T14:06:38.645Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-27T14:06:39.236Z] ---> 7832385b2e73 [2024-05-27T14:06:39.236Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T14:06:39.236Z] ---> Running in c960c8648c0b [2024-05-27T14:08:30.938Z] Removing intermediate container c960c8648c0b [2024-05-27T14:08:30.938Z] ---> d725c84093a1 [2024-05-27T14:08:30.938Z] Step 9/10 : COPY . . [2024-05-27T14:08:30.938Z] ---> 296bf3b27e10 [2024-05-27T14:08:30.938Z] Step 10/10 : RUN ${MAKE} [2024-05-27T14:08:30.938Z] ---> Running in b0ba9bac8f60 [2024-05-27T14:08:31.208Z] noop [2024-05-27T14:08:31.802Z] Removing intermediate container b0ba9bac8f60 [2024-05-27T14:08:31.802Z] ---> d1b61a6bed14 [2024-05-27T14:08:31.802Z] Successfully built d1b61a6bed14 [2024-05-27T14:08:31.802Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:08:32.443Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T14:08:32.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:08:32.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-871 does not seem to be running inside a container [2024-05-27T14:08:32.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/287 -v /w/workspace/device-sdk-go/287:/w/workspace/device-sdk-go/287:rw,z -v /w/workspace/device-sdk-go/287@tmp:/w/workspace/device-sdk-go/287@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 ******** ci-base-image-arm64 cat [2024-05-27T14:08:34.133Z] $ docker top 8e6a8dd3ead416c8cf930a943c1cc6831a7e9f39bf98897b3eb176e84b770d06 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T14:08:35.002Z] + go version [2024-05-27T14:08:35.002Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-27T14:08:35.019Z] $ docker stop --time=1 8e6a8dd3ead416c8cf930a943c1cc6831a7e9f39bf98897b3eb176e84b770d06 [2024-05-27T14:08:36.701Z] $ docker rm -f --volumes 8e6a8dd3ead416c8cf930a943c1cc6831a7e9f39bf98897b3eb176e84b770d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:08:37.317Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T14:08:37.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:08:37.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-871 does not seem to be running inside a container [2024-05-27T14:08:37.601Z] $ 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/287 -v /w/workspace/device-sdk-go/287:/w/workspace/device-sdk-go/287:rw,z -v /w/workspace/device-sdk-go/287@tmp:/w/workspace/device-sdk-go/287@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 ******** ci-base-image-arm64 cat [2024-05-27T14:08:38.850Z] $ docker top 062d33e268d2030258412947440414a3873710a0cfeec7771bf8212ddb331220 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T14:08:39.707Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/287 [Pipeline] fileExists [Pipeline] sh [2024-05-27T14:08:40.363Z] + make test [2024-05-27T14:08:40.363Z] go test -race -coverprofile=coverage.out ./... [2024-05-27T14:09:27.236Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-27T14:13:19.097Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-27T14:13:19.097Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-27T14:13:19.097Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-27T14:13:19.097Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-27T14:13:19.097Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-27T14:13:21.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.290s coverage: 27.6% of statements [2024-05-27T14:13:26.437Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.338s coverage: 81.5% of statements [2024-05-27T14:13:34.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-27T14:13:34.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-27T14:13:35.234Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.464s coverage: 86.0% of statements [2024-05-27T14:13:37.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-27T14:13:39.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.897s coverage: 71.8% of statements [2024-05-27T14:13:44.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.254s coverage: 14.4% of statements [2024-05-27T14:13:44.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-27T14:13:44.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-27T14:13:46.086Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.998s coverage: 45.9% of statements [2024-05-27T14:13:46.086Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.490s coverage: 68.5% of statements [2024-05-27T14:13:50.343Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.503s coverage: 89.2% of statements [2024-05-27T14:13:52.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-27T14:13:54.333Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.354s coverage: 5.5% of statements [2024-05-27T14:13:55.293Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-27T14:13:55.293Z] GO111MODULE=on go vet ./... [2024-05-27T14:18:17.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T14:18:17.132Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T14:18:17.132Z] ./bin/test-attribution-txt.sh [2024-05-27T14:18:17.132Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-27T14:18:17.132Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-27T14:18:17.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-27T14:18:17.163Z] $ docker stop --time=1 062d33e268d2030258412947440414a3873710a0cfeec7771bf8212ddb331220 [2024-05-27T14:18:19.333Z] $ docker rm -f --volumes 062d33e268d2030258412947440414a3873710a0cfeec7771bf8212ddb331220 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T14:18:22.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T14:18:22.060Z] Warning: overwriting stash ‘coverage-report’ [2024-05-27T14:18:22.773Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T14:18:23.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T14:18:23.519Z] + ls -al . [2024-05-27T14:18:23.519Z] total 372 [2024-05-27T14:18:23.519Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 14:08 . [2024-05-27T14:18:23.519Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 14:05 .. [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 14:05 .dockerignore [2024-05-27T14:18:23.519Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 14:05 .git [2024-05-27T14:18:23.519Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 14:05 .github [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 137 May 27 14:05 .gitignore [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 14:05 .golangci.yml [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 27 14:05 CHANGELOG.md [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 14:05 GOVERNANCE.md [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 885 May 27 14:05 Jenkinsfile [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 14:05 LICENSE [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 27 14:05 Makefile [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 619 May 27 14:05 OWNERS.md [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 27 14:05 README.md [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 12 May 27 14:02 VERSION [2024-05-27T14:18:23.519Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 14:05 bin [2024-05-27T14:18:23.519Z] -rw-r--r-- 1 jenkins jenkins 122153 May 27 14:13 coverage.out [2024-05-27T14:18:23.519Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 14:05 example [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 27 14:05 go.mod [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 27 14:05 go.sum [2024-05-27T14:18:23.519Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 14:05 internal [2024-05-27T14:18:23.519Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 14:05 openapi [2024-05-27T14:18:23.519Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 14:05 pkg [2024-05-27T14:18:23.519Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 14:05 snap [2024-05-27T14:18:23.519Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:18:23.878Z] + 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=2bf2505a0d4e1853de162ef985be1e016ba60c0f --label arch=arm64 --label version=3.2.0-dev.14 . [2024-05-27T14:18:24.465Z] Sending build context to Docker daemon 13.39MB [2024-05-27T14:18:24.465Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T14:18:24.465Z] Step 2/24 : FROM ${BASE} AS builder [2024-05-27T14:18:24.465Z] ---> d1b61a6bed14 [2024-05-27T14:18:24.465Z] Step 3/24 : ARG MAKE=make build [2024-05-27T14:18:24.731Z] ---> Running in 8ad3a48e7538 [2024-05-27T14:18:24.998Z] Removing intermediate container 8ad3a48e7538 [2024-05-27T14:18:24.998Z] ---> d439cc7bf821 [2024-05-27T14:18:24.998Z] Step 4/24 : WORKDIR /device-sdk-go [2024-05-27T14:18:24.998Z] ---> Running in 21ad6e5fc59c [2024-05-27T14:18:25.586Z] Removing intermediate container 21ad6e5fc59c [2024-05-27T14:18:25.586Z] ---> 02373e39b270 [2024-05-27T14:18:25.586Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T14:18:25.586Z] ---> Running in 01bff3602d3a [2024-05-27T14:18:25.853Z] Removing intermediate container 01bff3602d3a [2024-05-27T14:18:25.853Z] ---> 4a097316a9db [2024-05-27T14:18:25.853Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-05-27T14:18:25.853Z] ---> Running in c5cc8ceac938 [2024-05-27T14:18:27.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T14:18:27.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T14:18:28.973Z] OK: 266 MiB in 52 packages [2024-05-27T14:18:29.558Z] Removing intermediate container c5cc8ceac938 [2024-05-27T14:18:29.558Z] ---> 5c378927e47a [2024-05-27T14:18:29.558Z] Step 7/24 : COPY go.mod vendor* ./ [2024-05-27T14:18:30.145Z] ---> fc3ce167b843 [2024-05-27T14:18:30.145Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T14:18:30.413Z] ---> Running in 31a811729d3e [2024-05-27T14:18:32.999Z] Removing intermediate container 31a811729d3e [2024-05-27T14:18:32.999Z] ---> e3828a915478 [2024-05-27T14:18:32.999Z] Step 9/24 : COPY . . [2024-05-27T14:18:34.419Z] ---> 0b852182ac6f [2024-05-27T14:18:34.419Z] Step 10/24 : RUN ${MAKE} [2024-05-27T14:18:34.419Z] ---> Running in 347408215ead [2024-05-27T14:18:35.381Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-27T14:22:12.164Z] Removing intermediate container 347408215ead [2024-05-27T14:22:12.164Z] ---> bc1019b5655a [2024-05-27T14:22:12.164Z] Step 11/24 : FROM alpine:3.18 [2024-05-27T14:22:12.164Z] 3.18: Pulling from library/alpine [2024-05-27T14:22:12.164Z] c6b39de5b339: Already exists [2024-05-27T14:22:12.164Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T14:22:12.164Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T14:22:12.164Z] ---> 33abbf032149 [2024-05-27T14:22:12.164Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-27T14:22:12.164Z] ---> Running in a66bf29c2d6b [2024-05-27T14:22:12.429Z] Removing intermediate container a66bf29c2d6b [2024-05-27T14:22:12.429Z] ---> 49d43ec2c15a [2024-05-27T14:22:12.696Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-05-27T14:22:12.696Z] ---> Running in d7b92e0fead5 [2024-05-27T14:22:13.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T14:22:13.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T14:22:15.341Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T14:22:15.341Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T14:22:15.341Z] OK: 8 MiB in 16 packages [2024-05-27T14:22:15.922Z] Removing intermediate container d7b92e0fead5 [2024-05-27T14:22:15.922Z] ---> d7b786beed0e [2024-05-27T14:22:15.922Z] Step 14/24 : RUN apk --no-cache upgrade [2024-05-27T14:22:16.187Z] ---> Running in b6ac7ed36dfc [2024-05-27T14:22:17.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T14:22:17.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T14:22:18.372Z] Upgrading critical system libraries and apk-tools: [2024-05-27T14:22:18.372Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T14:22:18.372Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T14:22:18.639Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T14:22:18.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T14:22:18.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T14:22:19.857Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T14:22:19.857Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T14:22:19.857Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T14:22:19.857Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T14:22:19.857Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T14:22:20.123Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T14:22:20.123Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T14:22:20.123Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T14:22:20.123Z] OK: 8 MiB in 16 packages [2024-05-27T14:22:21.534Z] Removing intermediate container b6ac7ed36dfc [2024-05-27T14:22:21.534Z] ---> 6b40b6f7b178 [2024-05-27T14:22:21.534Z] Step 15/24 : WORKDIR / [2024-05-27T14:22:21.534Z] ---> Running in 19e048d2e40d [2024-05-27T14:22:21.534Z] Removing intermediate container 19e048d2e40d [2024-05-27T14:22:21.534Z] ---> 0e8d21bd0b40 [2024-05-27T14:22:21.534Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-27T14:22:22.116Z] ---> 6d74d2cecf10 [2024-05-27T14:22:22.116Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-27T14:22:24.693Z] ---> 5ef4fe96eeed [2024-05-27T14:22:24.693Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-27T14:22:24.693Z] ---> b067bf7562bf [2024-05-27T14:22:24.693Z] Step 19/24 : EXPOSE 59999 [2024-05-27T14:22:24.961Z] ---> Running in d44d75850d34 [2024-05-27T14:22:25.228Z] Removing intermediate container d44d75850d34 [2024-05-27T14:22:25.228Z] ---> 11c2ae152f95 [2024-05-27T14:22:25.228Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-05-27T14:22:25.228Z] ---> Running in 322b65c482fa [2024-05-27T14:22:25.495Z] Removing intermediate container 322b65c482fa [2024-05-27T14:22:25.495Z] ---> ee93722f6999 [2024-05-27T14:22:25.495Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T14:22:25.495Z] ---> Running in be5198b7158d [2024-05-27T14:22:25.762Z] Removing intermediate container be5198b7158d [2024-05-27T14:22:25.762Z] ---> c80bfb82fb27 [2024-05-27T14:22:25.762Z] Step 22/24 : LABEL arch=arm64 [2024-05-27T14:22:26.028Z] ---> Running in fc8371570f18 [2024-05-27T14:22:26.293Z] Removing intermediate container fc8371570f18 [2024-05-27T14:22:26.293Z] ---> 0bcb7b715619 [2024-05-27T14:22:26.293Z] Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-27T14:22:26.293Z] ---> Running in e73bb05cb2f9 [2024-05-27T14:22:26.559Z] Removing intermediate container e73bb05cb2f9 [2024-05-27T14:22:26.559Z] ---> 49edfcf9500a [2024-05-27T14:22:26.559Z] Step 24/24 : LABEL version=3.2.0-dev.14 [2024-05-27T14:22:26.559Z] ---> Running in eee2a2adf85d [2024-05-27T14:22:26.823Z] Removing intermediate container eee2a2adf85d [2024-05-27T14:22:26.823Z] ---> 4704b5f3830f [2024-05-27T14:22:26.823Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T14:22:26.823Z] Successfully built 4704b5f3830f [2024-05-27T14:22:26.823Z] 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 [2024-05-27T14:22:27.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T14:22:27.281Z] [2024-05-27T14:22:27.281Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:22:27.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T14:22:27.620Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-27T14:22:27.620Z] 8998bd30e6a1: Pulling fs layer [2024-05-27T14:22:27.620Z] 04944245beec: Pulling fs layer [2024-05-27T14:22:27.620Z] 699f458cf7ca: Pulling fs layer [2024-05-27T14:22:27.620Z] 765212b225bb: Pulling fs layer [2024-05-27T14:22:27.620Z] f23df028b6ca: Pulling fs layer [2024-05-27T14:22:27.620Z] d65c8cfc05b1: Pulling fs layer [2024-05-27T14:22:27.620Z] 2437ff75d9bd: Pulling fs layer [2024-05-27T14:22:27.620Z] d65c8cfc05b1: Waiting [2024-05-27T14:22:27.620Z] 765212b225bb: Waiting [2024-05-27T14:22:27.620Z] f23df028b6ca: Waiting [2024-05-27T14:22:27.620Z] 2437ff75d9bd: Waiting [2024-05-27T14:22:27.887Z] 04944245beec: Verifying Checksum [2024-05-27T14:22:27.887Z] 04944245beec: Download complete [2024-05-27T14:22:27.887Z] 765212b225bb: Verifying Checksum [2024-05-27T14:22:27.887Z] 765212b225bb: Download complete [2024-05-27T14:22:27.887Z] f23df028b6ca: Verifying Checksum [2024-05-27T14:22:27.887Z] f23df028b6ca: Download complete [2024-05-27T14:22:27.887Z] d65c8cfc05b1: Verifying Checksum [2024-05-27T14:22:27.887Z] d65c8cfc05b1: Download complete [2024-05-27T14:22:27.887Z] 699f458cf7ca: Verifying Checksum [2024-05-27T14:22:27.887Z] 699f458cf7ca: Download complete [2024-05-27T14:22:28.468Z] 8998bd30e6a1: Verifying Checksum [2024-05-27T14:22:28.468Z] 8998bd30e6a1: Download complete [2024-05-27T14:22:31.044Z] 2437ff75d9bd: Verifying Checksum [2024-05-27T14:22:31.044Z] 2437ff75d9bd: Download complete [2024-05-27T14:22:32.982Z] 8998bd30e6a1: Pull complete [2024-05-27T14:22:33.247Z] 04944245beec: Pull complete [2024-05-27T14:22:35.192Z] 699f458cf7ca: Pull complete [2024-05-27T14:22:35.192Z] 765212b225bb: Pull complete [2024-05-27T14:22:36.146Z] f23df028b6ca: Pull complete [2024-05-27T14:22:36.146Z] d65c8cfc05b1: Pull complete [2024-05-27T14:22:54.328Z] 2437ff75d9bd: Pull complete [2024-05-27T14:22:54.328Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-27T14:22:54.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T14:22:54.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:22:54.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-871 does not seem to be running inside a container [2024-05-27T14:22:54.567Z] $ 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/287 -v /w/workspace/device-sdk-go/287:/w/workspace/device-sdk-go/287:rw,z -v /w/workspace/device-sdk-go/287@tmp:/w/workspace/device-sdk-go/287@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-27T14:22:57.173Z] $ docker top b32a53d83abf3ab13eb2e1d9557bbc5544928fb36d67e26af6d5637c42631bfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:22:57.998Z] ---> job-cost.sh [2024-05-27T14:22:57.998Z] lf-activate-venv: SKIPPING [2024-05-27T14:22:57.998Z] INFO: No Stack... [2024-05-27T14:22:58.263Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-27T14:22:59.215Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T14:22:59.602Z] + cat /w/workspace/device-sdk-go/287/archives/cost.csv [2024-05-27T14:22:59.602Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T14:22:59.666Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] [2024-05-27T14:22:59.677Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] did not exist. Created. [2024-05-27T14:22:59.685Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T14:23:00.375Z] /w/workspace/device-sdk-go/287@tmp/durable-329b9194/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-27T14:23:00.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-27T14:23:00.772Z] Warning: overwriting stash ‘stack-cost’ [2024-05-27T14:23:00.880Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T14:23:00.889Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-287-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T14:23:00.912Z] $ docker stop --time=1 b32a53d83abf3ab13eb2e1d9557bbc5544928fb36d67e26af6d5637c42631bfd [2024-05-27T14:23:02.450Z] $ docker rm -f --volumes b32a53d83abf3ab13eb2e1d9557bbc5544928fb36d67e26af6d5637c42631bfd [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 [2024-05-27T14:23:02.927Z] provisioning config files... [2024-05-27T14:23:02.935Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10776099074465202735tmp [Pipeline] { [Pipeline] sh [2024-05-27T14:23:03.230Z] + set +x [2024-05-27T14:23:03.230Z] + curl -s https://codecov.io/bash [2024-05-27T14:23:03.230Z] + bash -s -- [2024-05-27T14:23:03.230Z] [2024-05-27T14:23:03.230Z] _____ _ [2024-05-27T14:23:03.230Z] / ____| | | [2024-05-27T14:23:03.230Z] | | ___ __| | ___ ___ _____ __ [2024-05-27T14:23:03.230Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-27T14:23:03.230Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-27T14:23:03.230Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-27T14:23:03.230Z] Bash-1.0.6 [2024-05-27T14:23:03.230Z] [2024-05-27T14:23:03.230Z] [2024-05-27T14:23:03.230Z] ==> git version 2.25.1 found [2024-05-27T14:23:03.230Z] ==> 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 [2024-05-27T14:23:03.230Z] Release-Date: 2020-01-08 [2024-05-27T14:23:03.230Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-27T14:23:03.230Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-27T14:23:03.230Z] ==> Jenkins CI detected. [2024-05-27T14:23:03.230Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-05-27T14:23:03.231Z] project root: . [2024-05-27T14:23:03.231Z] --> token set from env [2024-05-27T14:23:03.231Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-27T14:23:03.231Z] ==> Running gcov in . (disable via -X gcov) [2024-05-27T14:23:03.231Z] ==> Python coveragepy not found [2024-05-27T14:23:03.231Z] ==> Searching for coverage reports in: [2024-05-27T14:23:03.231Z] + . [2024-05-27T14:23:03.231Z] -> Found 1 reports [2024-05-27T14:23:03.231Z] ==> Detecting git/mercurial file structure [2024-05-27T14:23:03.231Z] ==> Reading reports [2024-05-27T14:23:03.231Z] + ./coverage.out bytes=122153 [2024-05-27T14:23:03.490Z] ==> Appending adjustments [2024-05-27T14:23:03.490Z] https://docs.codecov.io/docs/fixing-reports [2024-05-27T14:23:03.748Z] + Found adjustments [2024-05-27T14:23:03.748Z] ==> Gzipping contents [2024-05-27T14:23:03.748Z] 20K /tmp/codecov.aERhpQ.gz [2024-05-27T14:23:03.748Z] ==> Uploading reports [2024-05-27T14:23:03.748Z] url: https://codecov.io [2024-05-27T14:23:03.749Z] query: branch=main&commit=2bf2505a0d4e1853de162ef985be1e016ba60c0f&build=287&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F287%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T14:23:03.749Z] -> Pinging Codecov [2024-05-27T14:23:03.749Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2bf2505a0d4e1853de162ef985be1e016ba60c0f&build=287&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F287%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T14:23:04.007Z] -> Uploading to [2024-05-27T14:23:04.007Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-27/7E55EF52A471D76F132DFD9A03CDDE97/2bf2505a0d4e1853de162ef985be1e016ba60c0f/31b8c993-f6cd-404e-95ad-e969d06f2d9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T142303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=778b1ee8af317cd935bb0cfef82aabda4f6462999eb3e51f1c25adc1451d8349 [2024-05-27T14:23:04.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T14:23:04.007Z] Dload Upload Total Spent Left Speed [2024-05-27T14:23:04.267Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 70231 --:--:-- --:--:-- --:--:-- 70231 [2024-05-27T14:23:04.267Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] } [2024-05-27T14:23:04.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-27T14:23:04.422Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-27T14:23:04.438Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:23:04.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T14:23:04.757Z] [2024-05-27T14:23:04.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:23:05.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T14:23:05.057Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-27T14:23:05.057Z] 619be1103602: Already exists [2024-05-27T14:23:05.057Z] f8ea3408117e: Pulling fs layer [2024-05-27T14:23:05.057Z] 91320369b822: Pulling fs layer [2024-05-27T14:23:05.057Z] 0406650e8295: Pulling fs layer [2024-05-27T14:23:05.057Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T14:23:05.057Z] 96d80e3f36e1: Pulling fs layer [2024-05-27T14:23:05.057Z] bcf3aedb951c: Pulling fs layer [2024-05-27T14:23:05.057Z] 4f4fb700ef54: Waiting [2024-05-27T14:23:05.057Z] 96d80e3f36e1: Waiting [2024-05-27T14:23:05.057Z] bcf3aedb951c: Waiting [2024-05-27T14:23:05.057Z] 0406650e8295: Verifying Checksum [2024-05-27T14:23:05.057Z] 0406650e8295: Download complete [2024-05-27T14:23:05.057Z] f8ea3408117e: Download complete [2024-05-27T14:23:05.057Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T14:23:05.057Z] 4f4fb700ef54: Download complete [2024-05-27T14:23:05.315Z] f8ea3408117e: Pull complete [2024-05-27T14:23:05.315Z] 96d80e3f36e1: Verifying Checksum [2024-05-27T14:23:05.315Z] 96d80e3f36e1: Download complete [2024-05-27T14:23:05.576Z] 91320369b822: Verifying Checksum [2024-05-27T14:23:05.576Z] 91320369b822: Download complete [2024-05-27T14:23:06.142Z] bcf3aedb951c: Verifying Checksum [2024-05-27T14:23:06.142Z] bcf3aedb951c: Download complete [2024-05-27T14:23:09.424Z] 91320369b822: Pull complete [2024-05-27T14:23:09.424Z] 0406650e8295: Pull complete [2024-05-27T14:23:09.424Z] 4f4fb700ef54: Pull complete [2024-05-27T14:23:09.424Z] 96d80e3f36e1: Pull complete [2024-05-27T14:23:12.778Z] bcf3aedb951c: Pull complete [2024-05-27T14:23:12.778Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-27T14:23:12.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T14:23:12.778Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:23:12.871Z] prd-ubuntu20.04-docker-8c-8g-868 does not seem to be running inside a container [2024-05-27T14:23:12.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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/edgex-snyk-go:latest cat [2024-05-27T14:23:17.759Z] $ docker top 2d476c0582d0ba0994eccc051b3ff7405ab479e5847a1f4ff59b5c6f00be734b -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-27T14:23:17.835Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-05-27T14:23:18.111Z] + set -o pipefail [2024-05-27T14:23:18.112Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-05-27T14:23:24.678Z] [2024-05-27T14:23:24.678Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... [2024-05-27T14:23:24.678Z] [2024-05-27T14:23:24.678Z] 'go list -json -deps ./...' command failed with error: go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.32 [2024-05-27T14:23:24.678Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.20 [2024-05-27T14:23:24.678Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-05-27T14:23:24.678Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.20 [2024-05-27T14:23:24.678Z] go: downloading github.com/labstack/echo/v4 v4.11.4 [2024-05-27T14:23:24.678Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2024-05-27T14:23:24.678Z] go: downloading github.com/google/uuid v1.6.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-05-27T14:23:24.678Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-05-27T14:23:24.678Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-05-27T14:23:24.678Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.7 [2024-05-27T14:23:24.678Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.8 [2024-05-27T14:23:24.678Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 [2024-05-27T14:23:24.678Z] go: downloading github.com/go-kit/log v0.2.1 [2024-05-27T14:23:24.678Z] go: downloading github.com/go-playground/validator/v10 v10.20.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/fxamacker/cbor/v2 v2.6.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/openziti/sdk-golang v0.23.37 [2024-05-27T14:23:24.678Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-05-27T14:23:24.678Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-05-27T14:23:24.678Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-05-27T14:23:24.678Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-05-27T14:23:24.678Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-05-27T14:23:24.678Z] go: downloading golang.org/x/crypto v0.23.0 [2024-05-27T14:23:24.678Z] go: downloading golang.org/x/net v0.25.0 [2024-05-27T14:23:24.678Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.7 [2024-05-27T14:23:24.678Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-05-27T14:23:24.678Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-05-27T14:23:24.678Z] go: downloading golang.org/x/time v0.5.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/gorilla/websocket v1.5.1 [2024-05-27T14:23:24.679Z] go: downloading golang.org/x/sync v0.7.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-05-27T14:23:24.679Z] go: downloading github.com/x448/float16 v0.8.4 [2024-05-27T14:23:24.679Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-05-27T14:23:24.679Z] go: downloading golang.org/x/sys v0.20.0 [2024-05-27T14:23:24.679Z] go: downloading golang.org/x/text v0.15.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-resty/resty/v2 v2.13.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/edge-api v0.26.19 [2024-05-27T14:23:24.679Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/foundation/v2 v2.0.45 [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/identity v1.0.77 [2024-05-27T14:23:24.679Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/pkg/errors v0.9.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/zitadel/oidc/v2 v2.12.0 [2024-05-27T14:23:24.679Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-05-27T14:23:24.679Z] go: downloading golang.org/x/oauth2 v0.20.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/channel/v2 v2.0.130 [2024-05-27T14:23:24.679Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/metrics v1.2.54 [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/secretstream v0.1.20 [2024-05-27T14:23:24.679Z] go: downloading github.com/openziti/transport/v2 v2.0.133 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/consul/api v1.28.3 [2024-05-27T14:23:24.679Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-05-27T14:23:24.679Z] go: downloading github.com/spf13/cast v1.6.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-05-27T14:23:24.679Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-05-27T14:23:24.679Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-05-27T14:23:24.679Z] go: downloading google.golang.org/grpc v1.60.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-05-27T14:23:24.679Z] go: downloading go.opentelemetry.io/otel v1.25.0 [2024-05-27T14:23:24.679Z] go: downloading go.opentelemetry.io/otel/trace v1.25.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-05-27T14:23:24.679Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-05-27T14:23:24.679Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-05-27T14:23:24.679Z] go: downloading go.mongodb.org/mongo-driver v1.15.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-05-27T14:23:24.679Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/gorilla/securecookie v1.1.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/gorilla/schema v1.2.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.4 [2024-05-27T14:23:24.679Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-05-27T14:23:24.679Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-05-27T14:23:24.679Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.3 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-logr/logr v1.4.1 [2024-05-27T14:23:24.679Z] go: downloading go.opentelemetry.io/otel/metric v1.25.0 [2024-05-27T14:23:24.679Z] go: downloading golang.org/x/term v0.20.0 [2024-05-27T14:23:24.679Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b [2024-05-27T14:23:24.679Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-05-27T14:23:24.679Z] go: downloading github.com/fatih/color v1.16.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-05-27T14:23:24.679Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-05-27T14:23:24.679Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/josharian/intern v1.0.0 [2024-05-27T14:23:24.679Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-05-27T14:23:24.679Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-05-27T14:23:24.679Z] error obtaining VCS status: exit status 128 [2024-05-27T14:23:24.679Z] Use -buildvcs=false to disable VCS stamping. [2024-05-27T14:23:24.679Z] [Pipeline] } [2024-05-27T14:23:24.692Z] $ docker stop --time=1 2d476c0582d0ba0994eccc051b3ff7405ab479e5847a1f4ff59b5c6f00be734b [2024-05-27T14:23:28.881Z] $ docker rm -f --volumes 2d476c0582d0ba0994eccc051b3ff7405ab479e5847a1f4ff59b5c6f00be734b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T14:23:29.252Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 [2024-05-27T14:23:30.072Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-05-27T14:23:30.072Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T14:23:30.072Z] total 16 [2024-05-27T14:23:30.072Z] drwxr-xr-x 3 root root 4096 May 27 14:05 . [2024-05-27T14:23:30.072Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 14:05 .. [2024-05-27T14:23:30.072Z] drwxr-xr-x 2 root root 4096 May 27 14:05 cost [2024-05-27T14:23:30.072Z] -rw-r--r-- 1 root root 85 May 27 14:05 cost.csv [2024-05-27T14:23:30.072Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T14:23:30.072Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T14:23:30.072Z] total 16 [2024-05-27T14:23:30.072Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 14:05 . [2024-05-27T14:23:30.072Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 14:05 .. [2024-05-27T14:23:30.072Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 14:05 cost [2024-05-27T14:23:30.072Z] -rw-r--r-- 1 jenkins jenkins 85 May 27 14:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:30.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:31.298Z] ---> package-listing.sh [2024-05-27T14:23:31.298Z] ++ facter osfamily [2024-05-27T14:23:31.298Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-27T14:23:31.557Z] + OS_FAMILY=debian [2024-05-27T14:23:31.557Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-05-27T14:23:31.557Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-27T14:23:31.557Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-27T14:23:31.557Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-27T14:23:31.557Z] + PACKAGES=/tmp/packages_start.txt [2024-05-27T14:23:31.557Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-27T14:23:31.557Z] + PACKAGES=/tmp/packages_end.txt [2024-05-27T14:23:31.557Z] + case "${OS_FAMILY}" in [2024-05-27T14:23:31.557Z] + dpkg -l [2024-05-27T14:23:31.557Z] + grep '^ii' [2024-05-27T14:23:31.557Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-27T14:23:31.557Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-27T14:23:31.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-27T14:23:31.557Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-27T14:23:31.557Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-05-27T14:23:31.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2024-05-27T14:23:31.568Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-27T14:23:31.846Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T14:23:32.408Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T14:23:32.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T14:23:32.487Z] prd-ubuntu20.04-docker-8c-8g-868 does not seem to be running inside a container [2024-05-27T14:23:32.520Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T14:23:32.782Z] $ docker top b2df4392e272e1a61ca3208e929c11d03ede860af9491e1e6283cb09a0ce22f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T14:23:33.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-27T14:23:33.405Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-27T14:23:33.691Z] + ls /var/log/sa-host [2024-05-27T14:23:33.691Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T14:23:33.768Z] provisioning config files... [2024-05-27T14:23:33.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9817503611027655463tmp [Pipeline] { [Pipeline] echo [2024-05-27T14:23:33.797Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:34.077Z] ---> create-netrc.sh [Pipeline] } [2024-05-27T14:23:34.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:34.424Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-27T14:23:34.434Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:34.725Z] ---> sudo-logs.sh [2024-05-27T14:23:34.725Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-27T14:23:34.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:35.049Z] ---> job-cost.sh [2024-05-27T14:23:35.049Z] lf-activate-venv: SKIPPING [2024-05-27T14:23:35.049Z] DEBUG: total: 0.2199999988079071 [2024-05-27T14:23:35.049Z] INFO: Retrieving Stack Cost... [2024-05-27T14:23:35.616Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T14:23:35.873Z] INFO: Archiving Costs [Pipeline] echo [2024-05-27T14:23:35.884Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T14:23:36.177Z] ---> logs-deploy.sh [2024-05-27T14:23:36.177Z] lf-activate-venv: SKIPPING [2024-05-27T14:23:36.177Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/287 [2024-05-27T14:23:36.177Z] INFO: archiving workspace using pattern(s): [2024-05-27T14:23:37.113Z] Archives upload complete. [2024-05-27T14:23:37.113Z] INFO: archiving logs to Nexus