Push event to branch main 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-ssh3898855792839484900.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-ssh820227437172267302.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-ssh8412985149621872006.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-ssh17780406836443957315.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-ssh14326156464153498037.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-836 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 ea2a9f5095d438847c4770173d896939b70fc875 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-27T09:23:01.361Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-27T09:23:01.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-27T09:23:01.457Z] ========================================================= [2024-05-27T09:23:01.457Z] EdgeX Global Pipelines Version Info [2024-05-27T09:23:01.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:23:02.172Z] ------------------- [2024-05-27T09:23:02.172Z] stable info: [2024-05-27T09:23:02.172Z] ------------------- [2024-05-27T09:23:02.172Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T09:23:02.172Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T09:23:02.172Z] Message: update stable to v1.0.259 [2024-05-27T09:23:02.743Z] ------------------- [2024-05-27T09:23:02.743Z] experimental info: [2024-05-27T09:23:02.743Z] ------------------- [2024-05-27T09:23:02.743Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T09:23:02.743Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T09:23:02.743Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T09:23:02.820Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-27T09:23:02.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-27T09:23:02.867Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-27T09:23:02.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-27T09:23:02.908Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-27T09:23:02.929Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-27T09:23:02.953Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-27T09:23:02.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-27T09:23:02.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-27T09:23:03.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-27T09:23:03.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-27T09:23:03.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-27T09:23:03.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-27T09:23:03.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-27T09:23:03.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T09:23:03.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T09:23:03.159Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T09:23:03.182Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T09:23:03.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-27T09:23:03.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-27T09:23:03.245Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-27T09:23:03.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-27T09:23:03.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-27T09:23:03.313Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-27T09:23:03.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-27T09:23:03.360Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-27T09:23:03.380Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-27T09:23:03.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-27T09:23:03.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-27T09:23:03.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-27T09:23:03.480Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T09:23:03.508Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2505 [Pipeline] echo [2024-05-27T09:23:03.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T09:23:03.597Z] provisioning config files... [2024-05-27T09:23:03.611Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12069170661102750102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:23:03.950Z] ---> ****-login.sh [2024-05-27T09:23:03.950Z] nexus3.edgexfoundry.org:10001 [2024-05-27T09:23:04.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:04.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:04.209Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:04.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:04.209Z] [2024-05-27T09:23:04.209Z] Login Succeeded [2024-05-27T09:23:04.209Z] nexus3.edgexfoundry.org:10002 [2024-05-27T09:23:04.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:04.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:04.469Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:04.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:04.469Z] [2024-05-27T09:23:04.469Z] Login Succeeded [2024-05-27T09:23:04.469Z] nexus3.edgexfoundry.org:10003 [2024-05-27T09:23:04.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:04.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:04.469Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:04.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:04.469Z] [2024-05-27T09:23:04.469Z] Login Succeeded [2024-05-27T09:23:04.469Z] nexus3.edgexfoundry.org:10004 [2024-05-27T09:23:04.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:04.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:04.728Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:04.728Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:04.728Z] [2024-05-27T09:23:04.728Z] Login Succeeded [2024-05-27T09:23:04.728Z] ****.io [2024-05-27T09:23:04.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:04.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:04.987Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:04.987Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:04.987Z] [2024-05-27T09:23:04.987Z] Login Succeeded [2024-05-27T09:23:04.987Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T09:23:04.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-27T09:23:05.391Z] + git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T09:23:05.420Z] -----------> git rev-list -1 --merges 2bf2505a0d4e1853de162ef985be1e016ba60c0f~1..2bf2505a0d4e1853de162ef985be1e016ba60c0f 2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-27T09:23:05.420Z] 2bf2505a0d4e1853de162ef985be1e016ba60c0f [false] [Pipeline] sh [2024-05-27T09:23:05.716Z] + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T09:23:05.730Z] ========================================================= [2024-05-27T09:23:05.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-27T09:23:05.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T09:23:06.072Z] + git log --format=format:%s -1 2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] echo [2024-05-27T09:23:06.084Z] [semverPrep] GIT_COMMIT: 2bf2505a0d4e1853de162ef985be1e016ba60c0f, Commit Message: Merge pull request #1540 from lenny-goodell/cve [Pipeline] echo [2024-05-27T09:23:06.098Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-27T09:23:06.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-27T09:23:06.475Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-27T09:23:06.475Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-27T09:23:06.475Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-27T09:23:06.475Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-27T09:23:06.475Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-27T09:23:06.475Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:23:06.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T09:23:06.895Z] [2024-05-27T09:23:06.895Z] 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-27T09:23:07.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T09:23:07.212Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-27T09:23:07.212Z] b85a868b505f: Pulling fs layer [2024-05-27T09:23:07.212Z] e2be974225ed: Pulling fs layer [2024-05-27T09:23:07.212Z] 339a4e72a1f5: Pulling fs layer [2024-05-27T09:23:07.212Z] 988bab9f4d93: Pulling fs layer [2024-05-27T09:23:07.212Z] 1469e6f7b9e6: Pulling fs layer [2024-05-27T09:23:07.212Z] eaf3925da568: Pulling fs layer [2024-05-27T09:23:07.212Z] bab4dde63d76: Pulling fs layer [2024-05-27T09:23:07.212Z] bde34c3a00c8: Pulling fs layer [2024-05-27T09:23:07.212Z] b352a97aabf1: Pulling fs layer [2024-05-27T09:23:07.212Z] 4872d77fe225: Pulling fs layer [2024-05-27T09:23:07.212Z] 5851b861e8e6: Pulling fs layer [2024-05-27T09:23:07.212Z] bab4dde63d76: Waiting [2024-05-27T09:23:07.212Z] b352a97aabf1: Waiting [2024-05-27T09:23:07.212Z] 5851b861e8e6: Waiting [2024-05-27T09:23:07.212Z] 1469e6f7b9e6: Waiting [2024-05-27T09:23:07.212Z] eaf3925da568: Waiting [2024-05-27T09:23:07.212Z] 988bab9f4d93: Waiting [2024-05-27T09:23:07.212Z] 4872d77fe225: Waiting [2024-05-27T09:23:07.212Z] bde34c3a00c8: Waiting [2024-05-27T09:23:07.212Z] e2be974225ed: Download complete [2024-05-27T09:23:07.212Z] 988bab9f4d93: Verifying Checksum [2024-05-27T09:23:07.212Z] 988bab9f4d93: Download complete [2024-05-27T09:23:07.212Z] 1469e6f7b9e6: Verifying Checksum [2024-05-27T09:23:07.212Z] 1469e6f7b9e6: Download complete [2024-05-27T09:23:07.474Z] eaf3925da568: Verifying Checksum [2024-05-27T09:23:07.474Z] eaf3925da568: Download complete [2024-05-27T09:23:07.474Z] 339a4e72a1f5: Verifying Checksum [2024-05-27T09:23:07.474Z] 339a4e72a1f5: Download complete [2024-05-27T09:23:07.474Z] bde34c3a00c8: Verifying Checksum [2024-05-27T09:23:07.474Z] bde34c3a00c8: Download complete [2024-05-27T09:23:07.474Z] b352a97aabf1: Download complete [2024-05-27T09:23:07.474Z] 4872d77fe225: Verifying Checksum [2024-05-27T09:23:07.474Z] 4872d77fe225: Download complete [2024-05-27T09:23:07.474Z] 5851b861e8e6: Download complete [2024-05-27T09:23:07.474Z] b85a868b505f: Verifying Checksum [2024-05-27T09:23:07.474Z] b85a868b505f: Download complete [2024-05-27T09:23:07.733Z] bab4dde63d76: Verifying Checksum [2024-05-27T09:23:07.733Z] bab4dde63d76: Download complete [2024-05-27T09:23:08.670Z] b85a868b505f: Pull complete [2024-05-27T09:23:08.929Z] e2be974225ed: Pull complete [2024-05-27T09:23:09.188Z] 339a4e72a1f5: Pull complete [2024-05-27T09:23:09.449Z] 988bab9f4d93: Pull complete [2024-05-27T09:23:09.710Z] 1469e6f7b9e6: Pull complete [2024-05-27T09:23:09.710Z] eaf3925da568: Pull complete [2024-05-27T09:23:11.620Z] bab4dde63d76: Pull complete [2024-05-27T09:23:11.620Z] bde34c3a00c8: Pull complete [2024-05-27T09:23:11.620Z] b352a97aabf1: Pull complete [2024-05-27T09:23:11.620Z] 4872d77fe225: Pull complete [2024-05-27T09:23:11.882Z] 5851b861e8e6: Pull complete [2024-05-27T09:23:11.882Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-27T09:23:11.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T09:23:11.882Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:23:12.023Z] prd-ubuntu20.04-docker-8c-8g-836 does not seem to be running inside a container [2024-05-27T09:23:12.171Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-27T09:23:15.023Z] $ docker top abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb -eo pid,comm [2024-05-27T09:23:15.105Z] 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-27T09:23:15.105Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-27T09:23:15.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T09:23:15.164Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T09:23:15.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T09:23:15.358Z] $ docker exec abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb ssh-agent [2024-05-27T09:23:15.380Z] SSH_AUTH_SOCK=/tmp/ssh-ZpbglpmWJPFt/agent.32 [2024-05-27T09:23:15.380Z] SSH_AGENT_PID=39 [2024-05-27T09:23:15.385Z] Running ssh-add (command line suppressed) [2024-05-27T09:23:15.552Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18162813065152315773.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18162813065152315773.key) [2024-05-27T09:23:15.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T09:23:15.784Z] + git tag --points-at HEAD [Pipeline] } [2024-05-27T09:23:15.865Z] $ docker exec --env ******** --env ******** abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb ssh-agent -k [2024-05-27T09:23:15.944Z] unset SSH_AUTH_SOCK; [2024-05-27T09:23:15.944Z] unset SSH_AGENT_PID; [2024-05-27T09:23:15.945Z] echo Agent pid 39 killed; [2024-05-27T09:23:15.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-27T09:23:15.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T09:23:15.928Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T09:23:16.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T09:23:16.105Z] $ docker exec abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb ssh-agent [2024-05-27T09:23:16.147Z] SSH_AUTH_SOCK=/tmp/ssh-o012U0sxabYk/agent.71 [2024-05-27T09:23:16.147Z] SSH_AGENT_PID=77 [2024-05-27T09:23:16.152Z] Running ssh-add (command line suppressed) [2024-05-27T09:23:16.316Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15694334344797683059.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15694334344797683059.key) [2024-05-27T09:23:16.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T09:23:16.561Z] + git semver init [2024-05-27T09:23:16.820Z] 2024-05-27 09:23:16,790 [run_init] DEBUG init version:0.0.0 force:False [2024-05-27T09:23:16.820Z] 2024-05-27 09:23:16,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-27T09:23:16.820Z] 2024-05-27 09:23:16,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-27T09:23:16.820Z] 2024-05-27 09:23:16,791 [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-27T09:23:18.200Z] 2024-05-27 09:23:18,023 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-05-27T09:23:18.200Z] 2024-05-27 09:23:18,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-05-27T09:23:18.200Z] 2024-05-27 09:23:18,023 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-27T09:23:18.200Z] 2024-05-27 09:23:18,023 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-27T09:23:18.200Z] 3.2.0-dev.14 [Pipeline] } [2024-05-27T09:23:18.257Z] $ docker exec --env ******** --env ******** abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb ssh-agent -k [2024-05-27T09:23:18.353Z] unset SSH_AUTH_SOCK; [2024-05-27T09:23:18.353Z] unset SSH_AGENT_PID; [2024-05-27T09:23:18.353Z] echo Agent pid 77 killed; [2024-05-27T09:23:18.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-27T09:23:18.643Z] + git semver [Pipeline] } [2024-05-27T09:23:18.956Z] $ docker stop --time=1 abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb [2024-05-27T09:23:20.262Z] $ docker rm -f --volumes abb491fdb49b89259f41fae6b711d6fb9c50b76e9058902b815c19cb55f5f2bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T09:23:20.567Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-27T09:23:20.821Z] Stashed 1 file(s) [Pipeline] echo [2024-05-27T09:23:20.824Z] [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-27T09:23:21.024Z] provisioning config files... [2024-05-27T09:23:21.035Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14533849364107338493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:23:21.337Z] ---> ****-login.sh [2024-05-27T09:23:21.337Z] nexus3.edgexfoundry.org:10001 [2024-05-27T09:23:21.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:21.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:21.337Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:21.337Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:21.337Z] [2024-05-27T09:23:21.337Z] Login Succeeded [2024-05-27T09:23:21.337Z] nexus3.edgexfoundry.org:10002 [2024-05-27T09:23:21.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:21.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:21.337Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:21.337Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:21.337Z] [2024-05-27T09:23:21.337Z] Login Succeeded [2024-05-27T09:23:21.337Z] nexus3.edgexfoundry.org:10003 [2024-05-27T09:23:21.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:21.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:21.596Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:21.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:21.596Z] [2024-05-27T09:23:21.596Z] Login Succeeded [2024-05-27T09:23:21.596Z] nexus3.edgexfoundry.org:10004 [2024-05-27T09:23:21.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:21.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:21.597Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:21.597Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:21.597Z] [2024-05-27T09:23:21.597Z] Login Succeeded [2024-05-27T09:23:21.597Z] ****.io [2024-05-27T09:23:21.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:23:21.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:23:21.856Z] Configure a credential helper to remove this warning. See [2024-05-27T09:23:21.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:23:21.857Z] [2024-05-27T09:23:21.857Z] Login Succeeded [2024-05-27T09:23:21.857Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T09:23:21.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T09:23:21.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T09:23:21.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T09:23:21.978Z] ========================================================= [2024-05-27T09:23:21.978Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-27T09:23:21.978Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:23:22.365Z] + 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-27T09:23:22.365Z] Sending build context to Docker daemon 25.71MB [2024-05-27T09:23:22.365Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:23:22.365Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-27T09:23:22.626Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-27T09:23:22.626Z] 619be1103602: Pulling fs layer [2024-05-27T09:23:22.626Z] 7862e08f4a3e: Pulling fs layer [2024-05-27T09:23:22.626Z] 5df492c9dc93: Pulling fs layer [2024-05-27T09:23:22.626Z] 7629e6793208: Pulling fs layer [2024-05-27T09:23:22.626Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T09:23:22.626Z] fb5054dd5b73: Pulling fs layer [2024-05-27T09:23:22.626Z] eeca6798cff9: Pulling fs layer [2024-05-27T09:23:22.626Z] aa269ceb94a6: Pulling fs layer [2024-05-27T09:23:22.626Z] ada007ff1a6a: Pulling fs layer [2024-05-27T09:23:22.626Z] 4f4fb700ef54: Waiting [2024-05-27T09:23:22.626Z] fb5054dd5b73: Waiting [2024-05-27T09:23:22.626Z] aa269ceb94a6: Waiting [2024-05-27T09:23:22.626Z] ada007ff1a6a: Waiting [2024-05-27T09:23:22.626Z] 7629e6793208: Waiting [2024-05-27T09:23:22.626Z] 7862e08f4a3e: Verifying Checksum [2024-05-27T09:23:22.626Z] 7862e08f4a3e: Download complete [2024-05-27T09:23:22.626Z] 7629e6793208: Verifying Checksum [2024-05-27T09:23:22.626Z] 7629e6793208: Download complete [2024-05-27T09:23:22.626Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T09:23:22.626Z] 4f4fb700ef54: Download complete [2024-05-27T09:23:22.626Z] fb5054dd5b73: Verifying Checksum [2024-05-27T09:23:22.626Z] fb5054dd5b73: Download complete [2024-05-27T09:23:22.626Z] 619be1103602: Verifying Checksum [2024-05-27T09:23:22.626Z] 619be1103602: Download complete [2024-05-27T09:23:22.626Z] eeca6798cff9: Verifying Checksum [2024-05-27T09:23:22.626Z] eeca6798cff9: Download complete [2024-05-27T09:23:22.884Z] 619be1103602: Pull complete [2024-05-27T09:23:22.884Z] ada007ff1a6a: Verifying Checksum [2024-05-27T09:23:22.884Z] ada007ff1a6a: Download complete [2024-05-27T09:23:22.884Z] 7862e08f4a3e: Pull complete [2024-05-27T09:23:23.142Z] 5df492c9dc93: Verifying Checksum [2024-05-27T09:23:23.142Z] 5df492c9dc93: Download complete [2024-05-27T09:23:23.400Z] aa269ceb94a6: Verifying Checksum [2024-05-27T09:23:23.400Z] aa269ceb94a6: Download complete [2024-05-27T09:23:25.930Z] 5df492c9dc93: Pull complete [2024-05-27T09:23:25.930Z] 7629e6793208: Pull complete [2024-05-27T09:23:25.930Z] 4f4fb700ef54: Pull complete [2024-05-27T09:23:26.187Z] fb5054dd5b73: Pull complete [2024-05-27T09:23:26.187Z] eeca6798cff9: Pull complete [2024-05-27T09:23:28.711Z] aa269ceb94a6: Pull complete [2024-05-27T09:23:28.711Z] ada007ff1a6a: Pull complete [2024-05-27T09:23:28.969Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-27T09:23:28.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-27T09:23:28.970Z] ---> f489d0715acc [2024-05-27T09:23:28.970Z] Step 3/10 : ARG MAKE=make build [2024-05-27T09:23:34.270Z] ---> Running in 1f813dd81777 [2024-05-27T09:23:34.270Z] Removing intermediate container 1f813dd81777 [2024-05-27T09:23:34.270Z] ---> 5b9dcb440ad1 [2024-05-27T09:23:34.270Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-27T09:23:34.270Z] ---> Running in 60a82b89a7c5 [2024-05-27T09:23:34.270Z] Removing intermediate container 60a82b89a7c5 [2024-05-27T09:23:34.270Z] ---> fd7f08453540 [2024-05-27T09:23:34.270Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T09:23:34.270Z] ---> Running in 3cbadab65b2c [2024-05-27T09:23:34.270Z] Removing intermediate container 3cbadab65b2c [2024-05-27T09:23:34.270Z] ---> 3eeef272cb50 [2024-05-27T09:23:34.270Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-27T09:23:34.270Z] ---> Running in 0b2227f3bc0f [2024-05-27T09:23:34.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:23:34.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:23:34.528Z] OK: 264 MiB in 52 packages [2024-05-27T09:23:34.786Z] Removing intermediate container 0b2227f3bc0f [2024-05-27T09:23:34.786Z] ---> ce41226a83e9 [2024-05-27T09:23:34.786Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-27T09:23:34.786Z] ---> c2489ca74b43 [2024-05-27T09:23:34.786Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:23:34.786Z] ---> Running in c887aca76531 [2024-05-27T09:23:35.962Z] Still waiting to schedule task [2024-05-27T09:23:35.962Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-835’ [2024-05-27T09:24:36.875Z] Removing intermediate container c887aca76531 [2024-05-27T09:24:36.875Z] ---> 94863d0818f2 [2024-05-27T09:24:36.875Z] Step 9/10 : COPY . . [2024-05-27T09:24:36.875Z] ---> 82d924c43d91 [2024-05-27T09:24:36.875Z] Step 10/10 : RUN ${MAKE} [2024-05-27T09:24:36.875Z] ---> Running in 716ada74cab4 [2024-05-27T09:24:36.875Z] noop [2024-05-27T09:24:36.875Z] Removing intermediate container 716ada74cab4 [2024-05-27T09:24:36.875Z] ---> e59f04196ea2 [2024-05-27T09:24:36.875Z] Successfully built e59f04196ea2 [2024-05-27T09:24:36.875Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:24:37.198Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T09:24:37.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:24:37.278Z] prd-ubuntu20.04-docker-8c-8g-836 does not seem to be running inside a container [2024-05-27T09:24:37.290Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T09:24:37.615Z] $ docker top d7d4ba01c0703e2f5c18f1cbb33ebc3a68733084b2cbc4b7e719a39f1e5d29e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:24:37.978Z] + go version [2024-05-27T09:24:37.978Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-27T09:24:37.971Z] $ docker stop --time=1 d7d4ba01c0703e2f5c18f1cbb33ebc3a68733084b2cbc4b7e719a39f1e5d29e9 [2024-05-27T09:24:39.266Z] $ docker rm -f --volumes d7d4ba01c0703e2f5c18f1cbb33ebc3a68733084b2cbc4b7e719a39f1e5d29e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:24:39.706Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T09:24:39.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:24:39.788Z] prd-ubuntu20.04-docker-8c-8g-836 does not seem to be running inside a container [2024-05-27T09:24:39.803Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T09:24:40.125Z] $ docker top d2f620dd58f239a4b5f463dcf24ab098cc99c89282dc7240d669fb7145b602b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:24:40.492Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-27T09:24:40.791Z] + make test [2024-05-27T09:24:40.791Z] go test -race -coverprofile=coverage.out ./... [2024-05-27T09:24:47.354Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-27T09:25:19.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-27T09:25:19.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-27T09:25:19.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-27T09:25:19.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-27T09:25:19.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-27T09:25:20.342Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2024-05-27T09:25:20.342Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.059s coverage: 81.5% of statements [2024-05-27T09:25:21.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-27T09:25:21.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-27T09:25:22.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-27T09:25:22.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements [2024-05-27T09:25:22.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-27T09:25:22.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-27T09:25:23.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.146s coverage: 71.8% of statements [2024-05-27T09:25:24.139Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-27T09:25:26.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.054s coverage: 14.4% of statements [2024-05-27T09:25:26.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.826s coverage: 45.6% of statements [2024-05-27T09:25:26.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2024-05-27T09:25:26.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.102s coverage: 89.2% of statements [2024-05-27T09:25:26.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.073s coverage: 5.5% of statements [2024-05-27T09:25:58.759Z] GO111MODULE=on go vet ./... [2024-05-27T09:26:02.451Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T09:26:02.451Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T09:26:02.451Z] ./bin/test-attribution-txt.sh [2024-05-27T09:26:02.451Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.451Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-27T09:26:02.452Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-27T09:26:02.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-27T09:26:02.459Z] $ docker stop --time=1 d2f620dd58f239a4b5f463dcf24ab098cc99c89282dc7240d669fb7145b602b8 [2024-05-27T09:26:08.653Z] $ docker rm -f --volumes d2f620dd58f239a4b5f463dcf24ab098cc99c89282dc7240d669fb7145b602b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T09:26:09.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T09:26:09.404Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-27T09:26:09.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T09:26:10.142Z] + ls -al . [2024-05-27T09:26:10.142Z] total 376 [2024-05-27T09:26:10.142Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:24 . [2024-05-27T09:26:10.142Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:22 .. [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 09:22 .dockerignore [2024-05-27T09:26:10.142Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:25 .git [2024-05-27T09:26:10.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:22 .github [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 137 May 27 09:22 .gitignore [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 09:22 .golangci.yml [2024-05-27T09:26:10.142Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:23 .semver [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 27 09:22 CHANGELOG.md [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:22 GOVERNANCE.md [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 885 May 27 09:22 Jenkinsfile [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 09:22 LICENSE [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 27 09:22 Makefile [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 619 May 27 09:22 OWNERS.md [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 27 09:22 README.md [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 12 May 27 09:23 VERSION [2024-05-27T09:26:10.142Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:22 bin [2024-05-27T09:26:10.142Z] -rw-r--r-- 1 jenkins jenkins 122155 May 27 09:25 coverage.out [2024-05-27T09:26:10.142Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 09:22 example [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 27 09:22 go.mod [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 27 09:22 go.sum [2024-05-27T09:26:10.142Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:22 internal [2024-05-27T09:26:10.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:22 openapi [2024-05-27T09:26:10.142Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:22 pkg [2024-05-27T09:26:10.142Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:22 snap [2024-05-27T09:26:10.142Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:26:10.555Z] + 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-27T09:26:10.555Z] Sending build context to Docker daemon 25.84MB [2024-05-27T09:26:10.555Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:26:10.555Z] Step 2/24 : FROM ${BASE} AS builder [2024-05-27T09:26:10.555Z] ---> e59f04196ea2 [2024-05-27T09:26:10.555Z] Step 3/24 : ARG MAKE=make build [2024-05-27T09:26:11.122Z] ---> Running in 6854c9f80fe3 [2024-05-27T09:26:11.122Z] Removing intermediate container 6854c9f80fe3 [2024-05-27T09:26:11.122Z] ---> 52eebe62ba32 [2024-05-27T09:26:11.122Z] Step 4/24 : WORKDIR /device-sdk-go [2024-05-27T09:26:11.122Z] ---> Running in 9ba42d6dceae [2024-05-27T09:26:11.122Z] Removing intermediate container 9ba42d6dceae [2024-05-27T09:26:11.122Z] ---> e91238e6af7d [2024-05-27T09:26:11.122Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T09:26:11.122Z] ---> Running in 34130db557f3 [2024-05-27T09:26:11.380Z] Removing intermediate container 34130db557f3 [2024-05-27T09:26:11.380Z] ---> 91d1c446c855 [2024-05-27T09:26:11.380Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-05-27T09:26:11.380Z] ---> Running in 881ecb126774 [2024-05-27T09:26:11.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:11.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:11.899Z] OK: 264 MiB in 52 packages [2024-05-27T09:26:12.157Z] Removing intermediate container 881ecb126774 [2024-05-27T09:26:12.157Z] ---> 3d7ce4d64ff6 [2024-05-27T09:26:12.157Z] Step 7/24 : COPY go.mod vendor* ./ [2024-05-27T09:26:12.157Z] ---> a982e9bed6bf [2024-05-27T09:26:12.157Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:26:12.157Z] ---> Running in 3929a6548f1b [2024-05-27T09:26:13.092Z] Removing intermediate container 3929a6548f1b [2024-05-27T09:26:13.092Z] ---> 2591e9c921f6 [2024-05-27T09:26:13.092Z] Step 9/24 : COPY . . [2024-05-27T09:26:14.064Z] ---> 1302543f8c54 [2024-05-27T09:26:14.064Z] Step 10/24 : RUN ${MAKE} [2024-05-27T09:26:14.064Z] ---> Running in d6fda2ccbfae [2024-05-27T09:26:14.064Z] 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-27T09:26:31.541Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-838 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-05-27T09:26:31.555Z] Running in /w/workspace/device-sdk-go/286 [Pipeline] { [Pipeline] checkout [2024-05-27T09:26:31.591Z] The recommended git tool is: git [2024-05-27T09:26:36.914Z] using credential edgex-jenkins-ssh [2024-05-27T09:26:36.933Z] Cloning the remote Git repository [2024-05-27T09:26:36.986Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-27T09:26:37.085Z] > git init /w/workspace/device-sdk-go/286 # timeout=10 [2024-05-27T09:26:37.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-27T09:26:37.231Z] > git --version # timeout=10 [2024-05-27T09:26:37.263Z] > git --version # 'git version 2.25.1' [2024-05-27T09:26:37.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T09:26:37.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T09:26:40.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-27T09:26:40.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T09:26:41.196Z] Avoid second fetch [2024-05-27T09:26:41.197Z] Checking out Revision 2bf2505a0d4e1853de162ef985be1e016ba60c0f (main) [2024-05-27T09:26:41.215Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T09:26:41.290Z] > git checkout -f 2bf2505a0d4e1853de162ef985be1e016ba60c0f # timeout=10 [2024-05-27T09:26:42.062Z] Commit message: "Merge pull request #1540 from lenny-goodell/cve" [2024-05-27T09:26:46.192Z] Removing intermediate container d6fda2ccbfae [2024-05-27T09:26:46.192Z] ---> 59c9bb8ff834 [2024-05-27T09:26:46.192Z] Step 11/24 : FROM alpine:3.18 [2024-05-27T09:26:46.192Z] 3.18: Pulling from library/alpine [2024-05-27T09:26:46.452Z] 619be1103602: Already exists [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T09:26:46.710Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T09:26:46.710Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T09:26:46.710Z] ---> d3782b16ccc9 [2024-05-27T09:26:46.710Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-27T09:26:46.710Z] ---> Running in 9864b9e6e65c [2024-05-27T09:26:46.710Z] Removing intermediate container 9864b9e6e65c [2024-05-27T09:26:46.710Z] ---> c8076bc6b3a4 [2024-05-27T09:26:46.710Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-05-27T09:26:46.710Z] ---> Running in b672b4c24f0c [2024-05-27T09:26:46.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:47.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-27T09:26:47.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T09:26:47.123Z] Dload Upload Total Spent Left Speed [2024-05-27T09:26:47.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh [2024-05-27T09:26:47.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:47.465Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-27T09:26:47.487Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T09:26:47.487Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:26:47.487Z] OK: 7 MiB in 16 packages [2024-05-27T09:26:47.796Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-27T09:26:47.796Z] + sudo tee /etc/docker/daemon.new [2024-05-27T09:26:47.796Z] { [2024-05-27T09:26:47.796Z] "registry-mirrors": [ [2024-05-27T09:26:47.796Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-27T09:26:47.796Z] ], [2024-05-27T09:26:47.796Z] "bip": "10.250.0.254/24", [2024-05-27T09:26:47.796Z] "hosts": [ [2024-05-27T09:26:47.796Z] "tcp://0.0.0.0:5555", [2024-05-27T09:26:47.796Z] "unix:///var/run/docker.sock" [2024-05-27T09:26:47.796Z] ], [2024-05-27T09:26:47.796Z] "mtu": 1458, [2024-05-27T09:26:47.796Z] "selinux-enabled": true, [2024-05-27T09:26:47.796Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-27T09:26:47.796Z] } [Pipeline] sh [2024-05-27T09:26:48.056Z] Removing intermediate container b672b4c24f0c [2024-05-27T09:26:48.056Z] ---> 946ff23377e5 [2024-05-27T09:26:48.056Z] Step 14/24 : RUN apk --no-cache upgrade [2024-05-27T09:26:48.056Z] ---> Running in bb84ca726539 [2024-05-27T09:26:48.136Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-27T09:26:48.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:48.474Z] + sudo service docker restart [2024-05-27T09:26:48.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:48.840Z] Upgrading critical system libraries and apk-tools: [2024-05-27T09:26:48.840Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T09:26:48.840Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:26:48.840Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T09:26:48.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:48.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T09:26:49.099Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:26:49.099Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T09:26:49.099Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:26:49.099Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T09:26:49.099Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:26:49.099Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:26:49.099Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:26:49.099Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T09:26:49.099Z] OK: 7 MiB in 16 packages [2024-05-27T09:26:49.667Z] Removing intermediate container bb84ca726539 [2024-05-27T09:26:49.667Z] ---> a24df230eeb7 [2024-05-27T09:26:49.667Z] Step 15/24 : WORKDIR / [2024-05-27T09:26:49.667Z] ---> Running in 5b7c0faafdb7 [2024-05-27T09:26:49.667Z] Removing intermediate container 5b7c0faafdb7 [2024-05-27T09:26:49.667Z] ---> efa4992d7bd7 [2024-05-27T09:26:49.667Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-27T09:26:49.928Z] ---> bbb010ce0499 [2024-05-27T09:26:49.928Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-27T09:26:51.304Z] ---> f1510f8ec93f [2024-05-27T09:26:51.304Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-27T09:26:51.304Z] ---> 8cd0ac8d9504 [2024-05-27T09:26:51.304Z] Step 19/24 : EXPOSE 59999 [2024-05-27T09:26:51.304Z] ---> Running in 23a5d14fcbac [2024-05-27T09:26:51.304Z] Removing intermediate container 23a5d14fcbac [2024-05-27T09:26:51.304Z] ---> 1fd30a958fc7 [2024-05-27T09:26:51.304Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-05-27T09:26:51.564Z] ---> Running in bde067190dd6 [2024-05-27T09:26:51.564Z] Removing intermediate container bde067190dd6 [2024-05-27T09:26:51.564Z] ---> d9ca10523f0b [2024-05-27T09:26:51.564Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T09:26:51.564Z] ---> Running in 483ef0f93603 [2024-05-27T09:26:51.564Z] Removing intermediate container 483ef0f93603 [2024-05-27T09:26:51.564Z] ---> 795528783dec [2024-05-27T09:26:51.564Z] Step 22/24 : LABEL arch=amd64 [2024-05-27T09:26:51.564Z] ---> Running in 589211818a74 [2024-05-27T09:26:51.827Z] Removing intermediate container 589211818a74 [2024-05-27T09:26:51.827Z] ---> cebd01432e9c [2024-05-27T09:26:51.827Z] Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-27T09:26:51.827Z] ---> Running in a26bc15eda95 [2024-05-27T09:26:51.827Z] Removing intermediate container a26bc15eda95 [2024-05-27T09:26:51.827Z] ---> e69d28eccc0f [2024-05-27T09:26:51.827Z] Step 24/24 : LABEL version=3.2.0-dev.14 [2024-05-27T09:26:51.827Z] ---> Running in 2327885a9fd3 [2024-05-27T09:26:52.085Z] Removing intermediate container 2327885a9fd3 [2024-05-27T09:26:52.085Z] ---> 0068b96335da [2024-05-27T09:26:52.085Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T09:26:52.085Z] Successfully built 0068b96335da [2024-05-27T09:26:52.085Z] 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-27T09:26:52.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:26:52.574Z] [2024-05-27T09:26:52.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:26:52.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:26:52.877Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-27T09:26:52.877Z] 5eb5b503b376: Pulling fs layer [2024-05-27T09:26:52.877Z] 5c69ac0246d0: Pulling fs layer [2024-05-27T09:26:52.877Z] ec43610c2a17: Pulling fs layer [2024-05-27T09:26:52.877Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-27T09:26:52.877Z] 33b1e0a273af: Pulling fs layer [2024-05-27T09:26:52.877Z] 5d3b04190fa2: Pulling fs layer [2024-05-27T09:26:52.877Z] 2f39f015ded8: Pulling fs layer [2024-05-27T09:26:52.877Z] 3a2ae6a8a46f: Waiting [2024-05-27T09:26:52.877Z] 33b1e0a273af: Waiting [2024-05-27T09:26:52.877Z] 2f39f015ded8: Waiting [2024-05-27T09:26:52.877Z] 5d3b04190fa2: Waiting [2024-05-27T09:26:52.877Z] 5c69ac0246d0: Verifying Checksum [2024-05-27T09:26:52.877Z] 5c69ac0246d0: Download complete [2024-05-27T09:26:52.877Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-27T09:26:52.877Z] 3a2ae6a8a46f: Download complete [2024-05-27T09:26:52.877Z] 33b1e0a273af: Verifying Checksum [2024-05-27T09:26:52.877Z] 33b1e0a273af: Download complete [2024-05-27T09:26:52.877Z] 5d3b04190fa2: Verifying Checksum [2024-05-27T09:26:52.877Z] 5d3b04190fa2: Download complete [2024-05-27T09:26:52.877Z] ec43610c2a17: Verifying Checksum [2024-05-27T09:26:52.877Z] ec43610c2a17: Download complete [2024-05-27T09:26:53.136Z] 5eb5b503b376: Verifying Checksum [2024-05-27T09:26:53.136Z] 5eb5b503b376: Download complete [2024-05-27T09:26:53.702Z] 2f39f015ded8: Verifying Checksum [2024-05-27T09:26:53.702Z] 2f39f015ded8: Download complete [2024-05-27T09:26:54.272Z] 5eb5b503b376: Pull complete [2024-05-27T09:26:54.530Z] 5c69ac0246d0: Pull complete [2024-05-27T09:26:55.096Z] ec43610c2a17: Pull complete [2024-05-27T09:26:55.096Z] 3a2ae6a8a46f: Pull complete [2024-05-27T09:26:55.355Z] 33b1e0a273af: Pull complete [2024-05-27T09:26:55.355Z] 5d3b04190fa2: Pull complete [2024-05-27T09:26:59.533Z] 2f39f015ded8: Pull complete [2024-05-27T09:26:59.533Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-27T09:26:59.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:26:59.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:26:59.638Z] prd-ubuntu20.04-docker-8c-8g-836 does not seem to be running inside a container [2024-05-27T09:26:59.634Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T09:27:04.683Z] $ docker top c896c78bbf074d20a5128fc03116118f0463b31d5f6f56143f1085a20b773982 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:27:05.101Z] ---> job-cost.sh [2024-05-27T09:27:05.101Z] lf-activate-venv: SKIPPING [2024-05-27T09:27:05.101Z] INFO: No Stack... [2024-05-27T09:27:05.360Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T09:27:05.621Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T09:27:05.906Z] + cut -d, -f6 [2024-05-27T09:27:05.906Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock [2024-05-27T09:27:05.915Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] [2024-05-27T09:27:05.923Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] did not exist. Created. [2024-05-27T09:27:05.994Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T09:27:06.312Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-27T09:27:06.348Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T09:27:06.358Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T09:27:06.356Z] $ docker stop --time=1 c896c78bbf074d20a5128fc03116118f0463b31d5f6f56143f1085a20b773982 [2024-05-27T09:27:07.519Z] $ docker rm -f --volumes c896c78bbf074d20a5128fc03116118f0463b31d5f6f56143f1085a20b773982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2024-05-27T09:27:07.669Z] provisioning config files... [Pipeline] } [2024-05-27T09:27:07.694Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/286@tmp/config3758680061301233601tmp [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:27:08.189Z] ---> ****-login.sh [2024-05-27T09:27:08.189Z] nexus3.edgexfoundry.org:10001 [2024-05-27T09:27:08.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:27:08.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:27:08.730Z] Configure a credential helper to remove this warning. See [2024-05-27T09:27:08.730Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:27:08.730Z] [2024-05-27T09:27:08.730Z] Login Succeeded [2024-05-27T09:27:08.730Z] nexus3.edgexfoundry.org:10002 [2024-05-27T09:27:08.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:27:08.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:27:08.998Z] Configure a credential helper to remove this warning. See [2024-05-27T09:27:08.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:27:08.998Z] [2024-05-27T09:27:08.998Z] Login Succeeded [2024-05-27T09:27:08.998Z] nexus3.edgexfoundry.org:10003 [2024-05-27T09:27:09.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:27:09.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:27:09.544Z] Configure a credential helper to remove this warning. See [2024-05-27T09:27:09.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:27:09.544Z] [2024-05-27T09:27:09.544Z] Login Succeeded [2024-05-27T09:27:09.544Z] nexus3.edgexfoundry.org:10004 [2024-05-27T09:27:09.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:27:09.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:27:09.815Z] Configure a credential helper to remove this warning. See [2024-05-27T09:27:09.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:27:09.815Z] [2024-05-27T09:27:09.815Z] Login Succeeded [2024-05-27T09:27:09.815Z] ****.io [2024-05-27T09:27:10.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T09:27:10.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T09:27:10.350Z] Configure a credential helper to remove this warning. See [2024-05-27T09:27:10.350Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T09:27:10.350Z] [2024-05-27T09:27:10.350Z] Login Succeeded [2024-05-27T09:27:10.350Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T09:27:10.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T09:27:10.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T09:27:10.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T09:27:10.859Z] ========================================================= [2024-05-27T09:27:10.859Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-27T09:27:10.859Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:27:11.234Z] + 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-27T09:27:11.828Z] Sending build context to Docker daemon 13.27MB [2024-05-27T09:27:11.828Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:27:11.828Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-27T09:27:12.100Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-27T09:27:12.100Z] c6b39de5b339: Pulling fs layer [2024-05-27T09:27:12.100Z] a69c41024577: Pulling fs layer [2024-05-27T09:27:12.100Z] d6de4b400683: Pulling fs layer [2024-05-27T09:27:12.100Z] 35cb2a7552d0: Pulling fs layer [2024-05-27T09:27:12.100Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T09:27:12.100Z] 464afbd9ba4c: Pulling fs layer [2024-05-27T09:27:12.100Z] 00f215d4a9da: Pulling fs layer [2024-05-27T09:27:12.100Z] d496ad576159: Pulling fs layer [2024-05-27T09:27:12.100Z] 35cb2a7552d0: Waiting [2024-05-27T09:27:12.100Z] 464afbd9ba4c: Waiting [2024-05-27T09:27:12.100Z] 4f4fb700ef54: Waiting [2024-05-27T09:27:12.100Z] 00f215d4a9da: Waiting [2024-05-27T09:27:12.100Z] d496ad576159: Waiting [2024-05-27T09:27:12.100Z] a69c41024577: Verifying Checksum [2024-05-27T09:27:12.100Z] a69c41024577: Download complete [2024-05-27T09:27:12.100Z] 35cb2a7552d0: Verifying Checksum [2024-05-27T09:27:12.100Z] 35cb2a7552d0: Download complete [2024-05-27T09:27:12.100Z] 4f4fb700ef54: Download complete [2024-05-27T09:27:12.100Z] 464afbd9ba4c: Verifying Checksum [2024-05-27T09:27:12.100Z] 464afbd9ba4c: Download complete [2024-05-27T09:27:12.100Z] c6b39de5b339: Verifying Checksum [2024-05-27T09:27:12.100Z] c6b39de5b339: Download complete [2024-05-27T09:27:12.691Z] d496ad576159: Verifying Checksum [2024-05-27T09:27:12.691Z] d496ad576159: Download complete [2024-05-27T09:27:13.291Z] c6b39de5b339: Pull complete [2024-05-27T09:27:13.883Z] a69c41024577: Pull complete [2024-05-27T09:27:13.883Z] d6de4b400683: Verifying Checksum [2024-05-27T09:27:13.883Z] d6de4b400683: Download complete [2024-05-27T09:27:15.315Z] 00f215d4a9da: Verifying Checksum [2024-05-27T09:27:15.315Z] 00f215d4a9da: Download complete [2024-05-27T09:27:27.673Z] d6de4b400683: Pull complete [2024-05-27T09:27:27.673Z] 35cb2a7552d0: Pull complete [2024-05-27T09:27:27.673Z] 4f4fb700ef54: Pull complete [2024-05-27T09:27:27.673Z] 464afbd9ba4c: Pull complete [2024-05-27T09:27:37.781Z] 00f215d4a9da: Pull complete [2024-05-27T09:27:38.372Z] d496ad576159: Pull complete [2024-05-27T09:27:38.372Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-27T09:27:38.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-27T09:27:38.372Z] ---> f246e2811388 [2024-05-27T09:27:38.372Z] Step 3/10 : ARG MAKE=make build [2024-05-27T09:27:40.329Z] ---> Running in 07f5d311baa5 [2024-05-27T09:27:40.329Z] Removing intermediate container 07f5d311baa5 [2024-05-27T09:27:40.329Z] ---> c7c886213e7b [2024-05-27T09:27:40.329Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-27T09:27:40.598Z] ---> Running in a417d847dcc9 [2024-05-27T09:27:40.865Z] Removing intermediate container a417d847dcc9 [2024-05-27T09:27:40.865Z] ---> 6e5bfea729e6 [2024-05-27T09:27:40.865Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T09:27:40.865Z] ---> Running in 3dd3d6ecd274 [2024-05-27T09:27:41.142Z] Removing intermediate container 3dd3d6ecd274 [2024-05-27T09:27:41.142Z] ---> c176202522ef [2024-05-27T09:27:41.142Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-27T09:27:41.412Z] ---> Running in ea6056fc5fe6 [2024-05-27T09:27:42.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:27:42.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:27:43.918Z] OK: 266 MiB in 52 packages [2024-05-27T09:27:44.894Z] Removing intermediate container ea6056fc5fe6 [2024-05-27T09:27:44.894Z] ---> 021fdc85ecad [2024-05-27T09:27:44.894Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-27T09:27:45.163Z] ---> f4e9735ae69f [2024-05-27T09:27:45.163Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:27:45.447Z] ---> Running in acb6de74a008 [2024-05-27T09:29:37.178Z] Removing intermediate container acb6de74a008 [2024-05-27T09:29:37.178Z] ---> 446d146f0400 [2024-05-27T09:29:37.178Z] Step 9/10 : COPY . . [2024-05-27T09:29:37.178Z] ---> f53f57b22345 [2024-05-27T09:29:37.178Z] Step 10/10 : RUN ${MAKE} [2024-05-27T09:29:37.178Z] ---> Running in f643fca82b69 [2024-05-27T09:29:37.178Z] noop [2024-05-27T09:29:37.178Z] Removing intermediate container f643fca82b69 [2024-05-27T09:29:37.178Z] ---> 02583cce82aa [2024-05-27T09:29:37.178Z] Successfully built 02583cce82aa [2024-05-27T09:29:37.178Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:29:37.558Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T09:29:37.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:29:37.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-838 does not seem to be running inside a container [2024-05-27T09:29:37.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/286 -v /w/workspace/device-sdk-go/286:/w/workspace/device-sdk-go/286:rw,z -v /w/workspace/device-sdk-go/286@tmp:/w/workspace/device-sdk-go/286@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-27T09:29:39.113Z] $ docker top 7b2c55df620e3ebe13f80e5321681300b5dab047d19816974da3e5b370e2b014 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:29:39.975Z] + go version [2024-05-27T09:29:39.975Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-27T09:29:39.991Z] $ docker stop --time=1 7b2c55df620e3ebe13f80e5321681300b5dab047d19816974da3e5b370e2b014 [2024-05-27T09:29:41.652Z] $ docker rm -f --volumes 7b2c55df620e3ebe13f80e5321681300b5dab047d19816974da3e5b370e2b014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:29:42.234Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T09:29:42.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:29:42.433Z] prd-ubuntu20.04-docker-arm64-4c-16g-838 does not seem to be running inside a container [2024-05-27T09:29:42.504Z] $ 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/286 -v /w/workspace/device-sdk-go/286:/w/workspace/device-sdk-go/286:rw,z -v /w/workspace/device-sdk-go/286@tmp:/w/workspace/device-sdk-go/286@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-27T09:29:43.662Z] $ docker top cbab04709c7821a8590eab1278b0b794de6b77b6cb4f104d3c917298347a290f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:29:44.509Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/286 [Pipeline] fileExists [Pipeline] sh [2024-05-27T09:29:45.166Z] + make test [2024-05-27T09:29:45.166Z] go test -race -coverprofile=coverage.out ./... [2024-05-27T09:30:32.026Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-27T09:34:23.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-27T09:34:23.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-27T09:34:23.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-27T09:34:23.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-27T09:34:23.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-27T09:34:38.842Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.276s coverage: 27.6% of statements [2024-05-27T09:34:39.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.324s coverage: 81.5% of statements [2024-05-27T09:34:48.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-27T09:34:48.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-27T09:34:49.447Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.418s coverage: 86.0% of statements [2024-05-27T09:34:56.109Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-27T09:34:57.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.784s coverage: 71.8% of statements [2024-05-27T09:35:00.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.470s coverage: 14.4% of statements [2024-05-27T09:35:00.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.533s coverage: 45.9% of statements [2024-05-27T09:35:02.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-27T09:35:02.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-27T09:35:03.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.434s coverage: 68.5% of statements [2024-05-27T09:35:06.103Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.624s coverage: 89.2% of statements [2024-05-27T09:35:10.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-27T09:35:11.303Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.367s coverage: 5.5% of statements [2024-05-27T09:35:12.713Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-27T09:35:12.713Z] GO111MODULE=on go vet ./... [2024-05-27T09:39:04.640Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T09:39:04.640Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T09:39:04.640Z] ./bin/test-attribution-txt.sh [2024-05-27T09:39:04.640Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-27T09:39:04.640Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-27T09:39:04.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-27T09:39:04.678Z] $ docker stop --time=1 cbab04709c7821a8590eab1278b0b794de6b77b6cb4f104d3c917298347a290f [2024-05-27T09:39:06.722Z] $ docker rm -f --volumes cbab04709c7821a8590eab1278b0b794de6b77b6cb4f104d3c917298347a290f [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T09:39:09.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T09:39:09.192Z] Warning: overwriting stash ‘coverage-report’ [2024-05-27T09:39:09.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T09:39:10.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T09:39:10.531Z] + ls -al . [2024-05-27T09:39:10.531Z] total 372 [2024-05-27T09:39:10.531Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 09:29 . [2024-05-27T09:39:10.531Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:26 .. [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 09:26 .dockerignore [2024-05-27T09:39:10.531Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:26 .git [2024-05-27T09:39:10.531Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:26 .github [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 137 May 27 09:26 .gitignore [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 09:26 .golangci.yml [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 27 09:26 CHANGELOG.md [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:26 GOVERNANCE.md [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 885 May 27 09:26 Jenkinsfile [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 09:26 LICENSE [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 27 09:26 Makefile [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 619 May 27 09:26 OWNERS.md [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 27 09:26 README.md [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 12 May 27 09:23 VERSION [2024-05-27T09:39:10.531Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:26 bin [2024-05-27T09:39:10.531Z] -rw-r--r-- 1 jenkins jenkins 122153 May 27 09:35 coverage.out [2024-05-27T09:39:10.531Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 09:26 example [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 27 09:26 go.mod [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 27 09:26 go.sum [2024-05-27T09:39:10.531Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:26 internal [2024-05-27T09:39:10.531Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:26 openapi [2024-05-27T09:39:10.531Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:26 pkg [2024-05-27T09:39:10.531Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:26 snap [2024-05-27T09:39:10.531Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 09:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:39:10.879Z] + 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-27T09:39:11.484Z] Sending build context to Docker daemon 13.39MB [2024-05-27T09:39:11.484Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T09:39:11.484Z] Step 2/24 : FROM ${BASE} AS builder [2024-05-27T09:39:11.484Z] ---> 02583cce82aa [2024-05-27T09:39:11.484Z] Step 3/24 : ARG MAKE=make build [2024-05-27T09:39:11.484Z] ---> Running in 1c6650803b37 [2024-05-27T09:39:12.068Z] Removing intermediate container 1c6650803b37 [2024-05-27T09:39:12.069Z] ---> bcdcf82371f4 [2024-05-27T09:39:12.069Z] Step 4/24 : WORKDIR /device-sdk-go [2024-05-27T09:39:12.069Z] ---> Running in f28af1305c1d [2024-05-27T09:39:12.336Z] Removing intermediate container f28af1305c1d [2024-05-27T09:39:12.336Z] ---> f416cce64377 [2024-05-27T09:39:12.336Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T09:39:12.336Z] ---> Running in 3b5ba5e0b662 [2024-05-27T09:39:12.607Z] Removing intermediate container 3b5ba5e0b662 [2024-05-27T09:39:12.607Z] ---> e2de564741e2 [2024-05-27T09:39:12.607Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-05-27T09:39:12.875Z] ---> Running in 09b36ed4dfa5 [2024-05-27T09:39:13.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:39:14.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:39:15.514Z] OK: 266 MiB in 52 packages [2024-05-27T09:39:16.101Z] Removing intermediate container 09b36ed4dfa5 [2024-05-27T09:39:16.101Z] ---> 9224dbb89bba [2024-05-27T09:39:16.101Z] Step 7/24 : COPY go.mod vendor* ./ [2024-05-27T09:39:16.691Z] ---> 75e886cfdbe7 [2024-05-27T09:39:16.691Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T09:39:16.968Z] ---> Running in 210047c0adfc [2024-05-27T09:39:19.558Z] Removing intermediate container 210047c0adfc [2024-05-27T09:39:19.558Z] ---> 911835eab051 [2024-05-27T09:39:19.558Z] Step 9/24 : COPY . . [2024-05-27T09:39:20.968Z] ---> 25cd4f505592 [2024-05-27T09:39:20.968Z] Step 10/24 : RUN ${MAKE} [2024-05-27T09:39:20.968Z] ---> Running in a07dcc68fb4a [2024-05-27T09:39:21.930Z] 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-27T09:43:13.756Z] Removing intermediate container a07dcc68fb4a [2024-05-27T09:43:13.756Z] ---> e3d13f9ac1b1 [2024-05-27T09:43:13.756Z] Step 11/24 : FROM alpine:3.18 [2024-05-27T09:43:13.756Z] 3.18: Pulling from library/alpine [2024-05-27T09:43:13.756Z] c6b39de5b339: Already exists [2024-05-27T09:43:13.756Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T09:43:13.756Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T09:43:13.756Z] ---> 33abbf032149 [2024-05-27T09:43:13.756Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-27T09:43:13.756Z] ---> Running in 7749c2cc5940 [2024-05-27T09:43:13.756Z] Removing intermediate container 7749c2cc5940 [2024-05-27T09:43:13.756Z] ---> c5aa0abf5a7e [2024-05-27T09:43:13.756Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-05-27T09:43:13.756Z] ---> Running in 6f4812eb1601 [2024-05-27T09:43:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:43:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:43:13.756Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T09:43:13.756Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:43:13.756Z] OK: 8 MiB in 16 packages [2024-05-27T09:43:13.756Z] Removing intermediate container 6f4812eb1601 [2024-05-27T09:43:13.756Z] ---> 5cb62d3e28d0 [2024-05-27T09:43:13.756Z] Step 14/24 : RUN apk --no-cache upgrade [2024-05-27T09:43:13.756Z] ---> Running in 4cbab2b6f433 [2024-05-27T09:43:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:43:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:43:13.756Z] Upgrading critical system libraries and apk-tools: [2024-05-27T09:43:13.756Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T09:43:13.756Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T09:43:13.756Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T09:43:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T09:43:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T09:43:13.756Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:43:13.756Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T09:43:13.756Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:43:13.756Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T09:43:13.756Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:43:13.756Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T09:43:13.756Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T09:43:13.756Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T09:43:13.756Z] OK: 8 MiB in 16 packages [2024-05-27T09:43:13.756Z] Removing intermediate container 4cbab2b6f433 [2024-05-27T09:43:13.756Z] ---> cd95689d3a24 [2024-05-27T09:43:13.756Z] Step 15/24 : WORKDIR / [2024-05-27T09:43:13.756Z] ---> Running in 0c56197b1d39 [2024-05-27T09:43:13.756Z] Removing intermediate container 0c56197b1d39 [2024-05-27T09:43:13.756Z] ---> 0a0f36cb7631 [2024-05-27T09:43:13.756Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-27T09:43:13.756Z] ---> ae88497bff67 [2024-05-27T09:43:13.756Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-27T09:43:15.157Z] ---> 830c0c4d3cc5 [2024-05-27T09:43:15.157Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-27T09:43:15.739Z] ---> 3b731f6c894a [2024-05-27T09:43:15.739Z] Step 19/24 : EXPOSE 59999 [2024-05-27T09:43:16.004Z] ---> Running in d2b92f6eb0bf [2024-05-27T09:43:16.270Z] Removing intermediate container d2b92f6eb0bf [2024-05-27T09:43:16.270Z] ---> 47dc987403c2 [2024-05-27T09:43:16.270Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-05-27T09:43:16.270Z] ---> Running in caf20d0e6d6f [2024-05-27T09:43:16.535Z] Removing intermediate container caf20d0e6d6f [2024-05-27T09:43:16.535Z] ---> c8cb1e271a72 [2024-05-27T09:43:16.535Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T09:43:16.801Z] ---> Running in 7e6f96ffe0eb [2024-05-27T09:43:17.065Z] Removing intermediate container 7e6f96ffe0eb [2024-05-27T09:43:17.065Z] ---> 49226396989e [2024-05-27T09:43:17.065Z] Step 22/24 : LABEL arch=arm64 [2024-05-27T09:43:17.065Z] ---> Running in b8ac6d083661 [2024-05-27T09:43:17.332Z] Removing intermediate container b8ac6d083661 [2024-05-27T09:43:17.332Z] ---> 0e7eb24f848b [2024-05-27T09:43:17.332Z] Step 23/24 : LABEL git_sha=2bf2505a0d4e1853de162ef985be1e016ba60c0f [2024-05-27T09:43:17.332Z] ---> Running in 0b0d73eb9228 [2024-05-27T09:43:17.597Z] Removing intermediate container 0b0d73eb9228 [2024-05-27T09:43:17.597Z] ---> 787b32baf567 [2024-05-27T09:43:17.597Z] Step 24/24 : LABEL version=3.2.0-dev.14 [2024-05-27T09:43:17.863Z] ---> Running in 0434809dca9c [2024-05-27T09:43:18.128Z] Removing intermediate container 0434809dca9c [2024-05-27T09:43:18.128Z] ---> 6637b4200a95 [2024-05-27T09:43:18.128Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T09:43:18.128Z] Successfully built 6637b4200a95 [2024-05-27T09:43:18.128Z] 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-27T09:43:18.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T09:43:18.605Z] [2024-05-27T09:43:18.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:43:18.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T09:43:18.941Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-27T09:43:18.941Z] 8998bd30e6a1: Pulling fs layer [2024-05-27T09:43:18.941Z] 04944245beec: Pulling fs layer [2024-05-27T09:43:18.941Z] 699f458cf7ca: Pulling fs layer [2024-05-27T09:43:18.941Z] 765212b225bb: Pulling fs layer [2024-05-27T09:43:18.941Z] f23df028b6ca: Pulling fs layer [2024-05-27T09:43:18.941Z] d65c8cfc05b1: Pulling fs layer [2024-05-27T09:43:18.941Z] 2437ff75d9bd: Pulling fs layer [2024-05-27T09:43:18.941Z] d65c8cfc05b1: Waiting [2024-05-27T09:43:18.941Z] f23df028b6ca: Waiting [2024-05-27T09:43:18.941Z] 765212b225bb: Waiting [2024-05-27T09:43:18.941Z] 2437ff75d9bd: Waiting [2024-05-27T09:43:19.207Z] 04944245beec: Verifying Checksum [2024-05-27T09:43:19.208Z] 04944245beec: Download complete [2024-05-27T09:43:19.208Z] 765212b225bb: Verifying Checksum [2024-05-27T09:43:19.208Z] 765212b225bb: Download complete [2024-05-27T09:43:19.208Z] f23df028b6ca: Verifying Checksum [2024-05-27T09:43:19.208Z] f23df028b6ca: Download complete [2024-05-27T09:43:19.208Z] d65c8cfc05b1: Verifying Checksum [2024-05-27T09:43:19.208Z] d65c8cfc05b1: Download complete [2024-05-27T09:43:19.474Z] 699f458cf7ca: Verifying Checksum [2024-05-27T09:43:19.474Z] 699f458cf7ca: Download complete [2024-05-27T09:43:19.740Z] 8998bd30e6a1: Verifying Checksum [2024-05-27T09:43:19.740Z] 8998bd30e6a1: Download complete [2024-05-27T09:43:22.313Z] 2437ff75d9bd: Verifying Checksum [2024-05-27T09:43:22.313Z] 2437ff75d9bd: Download complete [2024-05-27T09:43:24.249Z] 8998bd30e6a1: Pull complete [2024-05-27T09:43:24.831Z] 04944245beec: Pull complete [2024-05-27T09:43:26.766Z] 699f458cf7ca: Pull complete [2024-05-27T09:43:26.766Z] 765212b225bb: Pull complete [2024-05-27T09:43:27.724Z] f23df028b6ca: Pull complete [2024-05-27T09:43:27.724Z] d65c8cfc05b1: Pull complete [2024-05-27T09:43:45.912Z] 2437ff75d9bd: Pull complete [2024-05-27T09:43:45.912Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-27T09:43:45.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T09:43:45.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:43:46.125Z] prd-ubuntu20.04-docker-arm64-4c-16g-838 does not seem to be running inside a container [2024-05-27T09:43:46.177Z] $ 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/286 -v /w/workspace/device-sdk-go/286:/w/workspace/device-sdk-go/286:rw,z -v /w/workspace/device-sdk-go/286@tmp:/w/workspace/device-sdk-go/286@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-27T09:43:48.793Z] $ docker top e46d35bccae5c57103b3767bc8a8d61ba4686e1c2ed5bb7a00e83b0dc99c7ee7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:43:49.318Z] ---> job-cost.sh [2024-05-27T09:43:49.584Z] lf-activate-venv: SKIPPING [2024-05-27T09:43:49.584Z] INFO: No Stack... [2024-05-27T09:43:52.405Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-27T09:43:52.405Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T09:43:53.028Z] + cat /w/workspace/device-sdk-go/286/archives/cost.csv [2024-05-27T09:43:53.028Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T09:43:53.077Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] [2024-05-27T09:43:53.089Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] did not exist. Created. [2024-05-27T09:43:53.095Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T09:43:53.745Z] /w/workspace/device-sdk-go/286@tmp/durable-23ba087b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-27T09:43:54.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-27T09:43:54.773Z] Warning: overwriting stash ‘stack-cost’ [2024-05-27T09:43:54.854Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T09:43:54.863Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-286-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T09:43:54.884Z] $ docker stop --time=1 e46d35bccae5c57103b3767bc8a8d61ba4686e1c2ed5bb7a00e83b0dc99c7ee7 [2024-05-27T09:43:56.423Z] $ docker rm -f --volumes e46d35bccae5c57103b3767bc8a8d61ba4686e1c2ed5bb7a00e83b0dc99c7ee7 [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-27T09:43:56.890Z] provisioning config files... [2024-05-27T09:43:56.897Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5119377899176725658tmp [Pipeline] { [Pipeline] sh [2024-05-27T09:43:57.195Z] + set +x [2024-05-27T09:43:57.195Z] + bash -s+ -- [2024-05-27T09:43:57.195Z] curl -s https://codecov.io/bash [2024-05-27T09:43:57.195Z] [2024-05-27T09:43:57.195Z] _____ _ [2024-05-27T09:43:57.195Z] / ____| | | [2024-05-27T09:43:57.195Z] | | ___ __| | ___ ___ _____ __ [2024-05-27T09:43:57.195Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-27T09:43:57.195Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-27T09:43:57.195Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-27T09:43:57.195Z] Bash-1.0.6 [2024-05-27T09:43:57.195Z] [2024-05-27T09:43:57.195Z] [2024-05-27T09:43:57.195Z] ==> git version 2.25.1 found [2024-05-27T09:43:57.195Z] ==> 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-27T09:43:57.195Z] Release-Date: 2020-01-08 [2024-05-27T09:43:57.195Z] 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-27T09:43:57.195Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-27T09:43:57.195Z] ==> Jenkins CI detected. [2024-05-27T09:43:57.195Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-05-27T09:43:57.195Z] project root: . [2024-05-27T09:43:57.195Z] --> token set from env [2024-05-27T09:43:57.195Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-27T09:43:57.195Z] ==> Running gcov in . (disable via -X gcov) [2024-05-27T09:43:57.195Z] ==> Python coveragepy not found [2024-05-27T09:43:57.195Z] ==> Searching for coverage reports in: [2024-05-27T09:43:57.195Z] + . [2024-05-27T09:43:57.195Z] -> Found 1 reports [2024-05-27T09:43:57.195Z] ==> Detecting git/mercurial file structure [2024-05-27T09:43:57.195Z] ==> Reading reports [2024-05-27T09:43:57.195Z] + ./coverage.out bytes=122153 [2024-05-27T09:43:57.195Z] ==> Appending adjustments [2024-05-27T09:43:57.195Z] https://docs.codecov.io/docs/fixing-reports [2024-05-27T09:43:57.464Z] + Found adjustments [2024-05-27T09:43:57.464Z] ==> Gzipping contents [2024-05-27T09:43:57.464Z] 20K /tmp/codecov.4JOU4D.gz [2024-05-27T09:43:57.464Z] ==> Uploading reports [2024-05-27T09:43:57.464Z] url: https://codecov.io [2024-05-27T09:43:57.465Z] query: branch=main&commit=2bf2505a0d4e1853de162ef985be1e016ba60c0f&build=286&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F286%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T09:43:57.465Z] -> Pinging Codecov [2024-05-27T09:43:57.465Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2bf2505a0d4e1853de162ef985be1e016ba60c0f&build=286&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F286%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T09:43:57.723Z] -> Uploading to [2024-05-27T09:43:57.723Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-27/7E55EF52A471D76F132DFD9A03CDDE97/2bf2505a0d4e1853de162ef985be1e016ba60c0f/650d9d34-c02a-48af-82c8-51097bcead88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T094357Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa264a11582c4f58b21b7a479adfd0f7f5f9ad42d7a68e750cfa5b86b9f925ea [2024-05-27T09:43:57.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T09:43:57.723Z] Dload Upload Total Spent Left Speed [2024-05-27T09:43:57.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 68073 --:--:-- --:--:-- --:--:-- 68351 [2024-05-27T09:43:57.981Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2bf2505a0d4e1853de162ef985be1e016ba60c0f [Pipeline] } [2024-05-27T09:43:57.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-27T09:43:58.200Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-27T09:43:58.217Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:43:58.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T09:43:58.524Z] [2024-05-27T09:43:58.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:43:58.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T09:43:58.828Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-27T09:43:58.828Z] 619be1103602: Already exists [2024-05-27T09:43:58.828Z] f8ea3408117e: Pulling fs layer [2024-05-27T09:43:58.828Z] 91320369b822: Pulling fs layer [2024-05-27T09:43:58.828Z] 0406650e8295: Pulling fs layer [2024-05-27T09:43:58.828Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T09:43:58.828Z] 96d80e3f36e1: Pulling fs layer [2024-05-27T09:43:58.828Z] bcf3aedb951c: Pulling fs layer [2024-05-27T09:43:58.828Z] 4f4fb700ef54: Waiting [2024-05-27T09:43:58.828Z] 96d80e3f36e1: Waiting [2024-05-27T09:43:58.828Z] bcf3aedb951c: Waiting [2024-05-27T09:43:58.828Z] 0406650e8295: Download complete [2024-05-27T09:43:58.828Z] f8ea3408117e: Verifying Checksum [2024-05-27T09:43:58.828Z] f8ea3408117e: Download complete [2024-05-27T09:43:58.828Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T09:43:58.828Z] 4f4fb700ef54: Download complete [2024-05-27T09:43:58.828Z] f8ea3408117e: Pull complete [2024-05-27T09:43:59.086Z] 96d80e3f36e1: Verifying Checksum [2024-05-27T09:43:59.086Z] 96d80e3f36e1: Download complete [2024-05-27T09:43:59.344Z] 91320369b822: Verifying Checksum [2024-05-27T09:43:59.344Z] 91320369b822: Download complete [2024-05-27T09:43:59.909Z] bcf3aedb951c: Verifying Checksum [2024-05-27T09:43:59.909Z] bcf3aedb951c: Download complete [2024-05-27T09:44:03.420Z] 91320369b822: Pull complete [2024-05-27T09:44:03.420Z] 0406650e8295: Pull complete [2024-05-27T09:44:03.420Z] 4f4fb700ef54: Pull complete [2024-05-27T09:44:03.420Z] 96d80e3f36e1: Pull complete [2024-05-27T09:44:06.184Z] bcf3aedb951c: Pull complete [2024-05-27T09:44:06.184Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-27T09:44:06.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T09:44:06.184Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:44:06.359Z] prd-ubuntu20.04-docker-8c-8g-836 does not seem to be running inside a container [2024-05-27T09:44:06.421Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-27T09:44:09.391Z] $ docker top 730272a71c9784f70fbe65c5893b6faf46e0cd048624e9dc5a15f92acf00a739 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-27T09:44:09.515Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-05-27T09:44:09.807Z] + set -o pipefail [2024-05-27T09:44:09.807Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-05-27T09:44:15.093Z] [2024-05-27T09:44:15.093Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... [2024-05-27T09:44:15.093Z] [2024-05-27T09:44:15.093Z] 'go list -json -deps ./...' command failed with error: go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.32 [2024-05-27T09:44:15.093Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.20 [2024-05-27T09:44:15.093Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-05-27T09:44:15.093Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.20 [2024-05-27T09:44:15.093Z] go: downloading github.com/labstack/echo/v4 v4.11.4 [2024-05-27T09:44:15.093Z] go: downloading github.com/google/uuid v1.6.0 [2024-05-27T09:44:15.093Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-05-27T09:44:15.093Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-05-27T09:44:15.093Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-05-27T09:44:15.093Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2024-05-27T09:44:15.093Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-05-27T09:44:15.094Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.8 [2024-05-27T09:44:15.094Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.7 [2024-05-27T09:44:15.094Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/sdk-golang v0.23.37 [2024-05-27T09:44:15.094Z] go: downloading github.com/fxamacker/cbor/v2 v2.6.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-kit/log v0.2.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-playground/validator/v10 v10.20.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-05-27T09:44:15.094Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-05-27T09:44:15.094Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-05-27T09:44:15.094Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-05-27T09:44:15.094Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/crypto v0.23.0 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/net v0.25.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-05-27T09:44:15.094Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/time v0.5.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/gorilla/websocket v1.5.1 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/sync v0.7.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.7 [2024-05-27T09:44:15.094Z] go: downloading github.com/x448/float16 v0.8.4 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/sys v0.20.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-resty/resty/v2 v2.13.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/edge-api v0.26.19 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/foundation/v2 v2.0.45 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/identity v1.0.77 [2024-05-27T09:44:15.094Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/pkg/errors v0.9.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/zitadel/oidc/v2 v2.12.0 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/oauth2 v0.20.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/channel/v2 v2.0.130 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/metrics v1.2.54 [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/secretstream v0.1.20 [2024-05-27T09:44:15.094Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-05-27T09:44:15.094Z] go: downloading github.com/openziti/transport/v2 v2.0.133 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-05-27T09:44:15.094Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/text v0.15.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-05-27T09:44:15.094Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/consul/api v1.28.3 [2024-05-27T09:44:15.094Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-05-27T09:44:15.094Z] go: downloading github.com/spf13/cast v1.6.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-05-27T09:44:15.094Z] go: downloading google.golang.org/grpc v1.60.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-05-27T09:44:15.094Z] go: downloading go.opentelemetry.io/otel v1.25.0 [2024-05-27T09:44:15.094Z] go: downloading go.opentelemetry.io/otel/trace v1.25.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-05-27T09:44:15.094Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-05-27T09:44:15.094Z] go: downloading go.mongodb.org/mongo-driver v1.15.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-05-27T09:44:15.094Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-05-27T09:44:15.094Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/gorilla/securecookie v1.1.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/gorilla/schema v1.2.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.4 [2024-05-27T09:44:15.094Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-05-27T09:44:15.094Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-05-27T09:44:15.094Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.3 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-logr/logr v1.4.1 [2024-05-27T09:44:15.094Z] go: downloading go.opentelemetry.io/otel/metric v1.25.0 [2024-05-27T09:44:15.094Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b [2024-05-27T09:44:15.094Z] go: downloading golang.org/x/term v0.20.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-05-27T09:44:15.094Z] go: downloading github.com/fatih/color v1.16.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/josharian/intern v1.0.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-05-27T09:44:15.094Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-05-27T09:44:15.094Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-05-27T09:44:15.094Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-05-27T09:44:15.094Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-05-27T09:44:15.094Z] error obtaining VCS status: exit status 128 [2024-05-27T09:44:15.094Z] Use -buildvcs=false to disable VCS stamping. [2024-05-27T09:44:15.094Z] [Pipeline] } [2024-05-27T09:44:15.070Z] $ docker stop --time=1 730272a71c9784f70fbe65c5893b6faf46e0cd048624e9dc5a15f92acf00a739 [2024-05-27T09:44:19.477Z] $ docker rm -f --volumes 730272a71c9784f70fbe65c5893b6faf46e0cd048624e9dc5a15f92acf00a739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T09:44:19.894Z] [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-27T09:44:20.654Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-05-27T09:44:20.654Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T09:44:20.654Z] total 16 [2024-05-27T09:44:20.654Z] drwxr-xr-x 3 root root 4096 May 27 09:27 . [2024-05-27T09:44:20.654Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:27 .. [2024-05-27T09:44:20.654Z] drwxr-xr-x 2 root root 4096 May 27 09:27 cost [2024-05-27T09:44:20.654Z] -rw-r--r-- 1 root root 85 May 27 09:27 cost.csv [2024-05-27T09:44:20.654Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T09:44:20.654Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T09:44:20.654Z] total 16 [2024-05-27T09:44:20.654Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:27 . [2024-05-27T09:44:20.654Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:27 .. [2024-05-27T09:44:20.654Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 09:27 cost [2024-05-27T09:44:20.654Z] -rw-r--r-- 1 jenkins jenkins 85 May 27 09:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:20.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:21.833Z] ---> package-listing.sh [2024-05-27T09:44:21.833Z] ++ facter osfamily [2024-05-27T09:44:21.833Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-27T09:44:22.093Z] + OS_FAMILY=debian [2024-05-27T09:44:22.093Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-05-27T09:44:22.093Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-27T09:44:22.093Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-27T09:44:22.093Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-27T09:44:22.093Z] + PACKAGES=/tmp/packages_start.txt [2024-05-27T09:44:22.093Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-27T09:44:22.093Z] + PACKAGES=/tmp/packages_end.txt [2024-05-27T09:44:22.093Z] + case "${OS_FAMILY}" in [2024-05-27T09:44:22.093Z] + dpkg -l [2024-05-27T09:44:22.093Z] + grep '^ii' [2024-05-27T09:44:22.093Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-27T09:44:22.093Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-27T09:44:22.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-27T09:44:22.093Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-27T09:44:22.093Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-05-27T09:44:22.093Z] + 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-27T09:44:22.104Z] 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-27T09:44:22.383Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T09:44:22.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T09:44:22.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T09:44:23.029Z] prd-ubuntu20.04-docker-8c-8g-836 does not seem to be running inside a container [2024-05-27T09:44:23.025Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T09:44:23.413Z] $ docker top c20b76645539774d80c40dde320795217b9932aa5f47567b03b555784b96aa42 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T09:44:23.799Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-27T09:44:24.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-27T09:44:24.375Z] + ls /var/log/sa-host [2024-05-27T09:44:24.375Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T09:44:24.441Z] provisioning config files... [2024-05-27T09:44:24.451Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12422805119956676366tmp [Pipeline] { [Pipeline] echo [2024-05-27T09:44:24.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:24.751Z] ---> create-netrc.sh [Pipeline] } [2024-05-27T09:44:24.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:25.077Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-27T09:44:25.091Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:25.456Z] ---> sudo-logs.sh [2024-05-27T09:44:25.456Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-27T09:44:25.488Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:25.771Z] ---> job-cost.sh [2024-05-27T09:44:25.772Z] lf-activate-venv: SKIPPING [2024-05-27T09:44:25.772Z] DEBUG: total: 0.2199999988079071 [2024-05-27T09:44:25.772Z] INFO: Retrieving Stack Cost... [2024-05-27T09:44:26.338Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T09:44:26.596Z] INFO: Archiving Costs [Pipeline] echo [2024-05-27T09:44:26.609Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T09:44:26.893Z] ---> logs-deploy.sh [2024-05-27T09:44:26.893Z] lf-activate-venv: SKIPPING [2024-05-27T09:44:26.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/286 [2024-05-27T09:44:26.893Z] INFO: archiving workspace using pattern(s): [2024-05-27T09:44:27.832Z] Archives upload complete. [2024-05-27T09:44:27.832Z] INFO: archiving logs to Nexus