Pull request #1569 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of dovholuknf for edgexfoundry/device-sdk-go Loading trusted files from base branch main at fdea4761bbcb74cab7badbb069f6efddd7703878 rather than 9b367c880bb900e5a32d5fedc22a9174aca7eb07 Obtained Jenkinsfile from fdea4761bbcb74cab7badbb069f6efddd7703878 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-ssh7563528442526573896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15382908555876784563.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13752034296428463112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15283545415401161737.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2153018436419985734.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1569/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1569/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12927200892874236542.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-460 in /w/workspace/gexfoundry_device-sdk-go_PR-1569 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1569 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1569/head:refs/remotes/origin/PR-1569 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fdea4761bbcb74cab7badbb069f6efddd7703878 into PR head commit 9b367c880bb900e5a32d5fedc22a9174aca7eb07 Merge succeeded, producing 9b367c880bb900e5a32d5fedc22a9174aca7eb07 Checking out Revision 9b367c880bb900e5a32d5fedc22a9174aca7eb07 (PR-1569) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b367c880bb900e5a32d5fedc22a9174aca7eb07 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fdea4761bbcb74cab7badbb069f6efddd7703878 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b367c880bb900e5a32d5fedc22a9174aca7eb07 # timeout=10 Commit message: "feat: add openziti support" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-20T19:02:51.119Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-20T19:02:51.365Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-20T19:02:51.484Z] ========================================================= [2024-03-20T19:02:51.484Z] EdgeX Global Pipelines Version Info [2024-03-20T19:02:51.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:02:52.279Z] ------------------- [2024-03-20T19:02:52.279Z] stable info: [2024-03-20T19:02:52.279Z] ------------------- [2024-03-20T19:02:52.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-20T19:02:52.279Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T19:02:52.279Z] Message: update stable to v1.0.258 [2024-03-20T19:02:52.849Z] ------------------- [2024-03-20T19:02:52.849Z] experimental info: [2024-03-20T19:02:52.849Z] ------------------- [2024-03-20T19:02:52.849Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-20T19:02:52.849Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T19:02:52.849Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-20T19:02:53.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-20T19:02:53.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-20T19:02:53.183Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-20T19:02:53.232Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-20T19:02:53.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-20T19:02:53.340Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-20T19:02:53.395Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-20T19:02:53.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-20T19:02:53.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-20T19:02:53.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-20T19:02:53.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-20T19:02:53.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-20T19:02:53.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-20T19:02:53.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-20T19:02:53.836Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-20T19:02:53.889Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T19:02:53.945Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T19:02:54.013Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T19:02:54.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-20T19:02:54.130Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-20T19:02:54.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-20T19:02:54.240Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-20T19:02:54.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-20T19:02:54.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-20T19:02:54.407Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-20T19:02:54.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-20T19:02:54.524Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-20T19:02:54.582Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1569 [Pipeline] echo [2024-03-20T19:02:54.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1569 [Pipeline] echo [2024-03-20T19:02:54.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1569 [Pipeline] echo [2024-03-20T19:02:54.740Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b367c880bb900e5a32d5fedc22a9174aca7eb07 [Pipeline] echo [2024-03-20T19:02:54.789Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b367c8 [Pipeline] echo [2024-03-20T19:02:54.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T19:02:55.050Z] provisioning config files... [2024-03-20T19:02:55.067Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/config10223302286517589498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:02:55.458Z] ---> ****-login.sh [2024-03-20T19:02:55.458Z] nexus3.edgexfoundry.org:10001 [2024-03-20T19:02:55.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:02:55.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:02:55.719Z] Configure a credential helper to remove this warning. See [2024-03-20T19:02:55.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:02:55.719Z] [2024-03-20T19:02:55.719Z] Login Succeeded [2024-03-20T19:02:55.719Z] nexus3.edgexfoundry.org:10002 [2024-03-20T19:02:55.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:02:55.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:02:55.979Z] Configure a credential helper to remove this warning. See [2024-03-20T19:02:55.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:02:55.980Z] [2024-03-20T19:02:55.980Z] Login Succeeded [2024-03-20T19:02:55.980Z] nexus3.edgexfoundry.org:10003 [2024-03-20T19:02:55.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:02:55.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:02:55.980Z] Configure a credential helper to remove this warning. See [2024-03-20T19:02:55.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:02:55.980Z] [2024-03-20T19:02:55.980Z] Login Succeeded [2024-03-20T19:02:55.980Z] nexus3.edgexfoundry.org:10004 [2024-03-20T19:02:56.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:02:56.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:02:56.244Z] Configure a credential helper to remove this warning. See [2024-03-20T19:02:56.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:02:56.244Z] [2024-03-20T19:02:56.244Z] Login Succeeded [2024-03-20T19:02:56.244Z] ****.io [2024-03-20T19:02:56.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:02:56.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:02:56.505Z] Configure a credential helper to remove this warning. See [2024-03-20T19:02:56.505Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:02:56.505Z] [2024-03-20T19:02:56.505Z] Login Succeeded [2024-03-20T19:02:56.505Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T19:02:56.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-20T19:02:57.240Z] + git rev-list -1 --merges 9b367c880bb900e5a32d5fedc22a9174aca7eb07~1..9b367c880bb900e5a32d5fedc22a9174aca7eb07 [Pipeline] echo [2024-03-20T19:02:57.283Z] -----------> git rev-list -1 --merges 9b367c880bb900e5a32d5fedc22a9174aca7eb07~1..9b367c880bb900e5a32d5fedc22a9174aca7eb07 9b367c880bb900e5a32d5fedc22a9174aca7eb07 [false] [Pipeline] sh [2024-03-20T19:02:57.604Z] + git log --format=format:%s -1 9b367c880bb900e5a32d5fedc22a9174aca7eb07 [Pipeline] echo [2024-03-20T19:02:57.638Z] ========================================================= [2024-03-20T19:02:57.638Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-20T19:02:57.638Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T19:02:58.088Z] + git log --format=format:%s -1 9b367c880bb900e5a32d5fedc22a9174aca7eb07 [Pipeline] echo [2024-03-20T19:02:58.122Z] [semverPrep] GIT_COMMIT: 9b367c880bb900e5a32d5fedc22a9174aca7eb07, Commit Message: feat: add openziti support [Pipeline] echo [2024-03-20T19:02:58.157Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-20T19:02:58.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-20T19:02:58.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-20T19:02:58.588Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-20T19:02:58.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-20T19:02:58.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-20T19:02:58.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-20T19:02:58.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:02:59.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T19:02:59.109Z] [2024-03-20T19:02:59.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:02:59.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T19:02:59.506Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-20T19:02:59.506Z] b85a868b505f: Pulling fs layer [2024-03-20T19:02:59.507Z] e2be974225ed: Pulling fs layer [2024-03-20T19:02:59.507Z] 339a4e72a1f5: Pulling fs layer [2024-03-20T19:02:59.507Z] 988bab9f4d93: Pulling fs layer [2024-03-20T19:02:59.507Z] 1469e6f7b9e6: Pulling fs layer [2024-03-20T19:02:59.507Z] eaf3925da568: Pulling fs layer [2024-03-20T19:02:59.507Z] bab4dde63d76: Pulling fs layer [2024-03-20T19:02:59.507Z] bde34c3a00c8: Pulling fs layer [2024-03-20T19:02:59.507Z] b352a97aabf1: Pulling fs layer [2024-03-20T19:02:59.507Z] 4872d77fe225: Pulling fs layer [2024-03-20T19:02:59.507Z] 5851b861e8e6: Pulling fs layer [2024-03-20T19:02:59.507Z] 1469e6f7b9e6: Waiting [2024-03-20T19:02:59.507Z] eaf3925da568: Waiting [2024-03-20T19:02:59.507Z] bab4dde63d76: Waiting [2024-03-20T19:02:59.507Z] bde34c3a00c8: Waiting [2024-03-20T19:02:59.507Z] b352a97aabf1: Waiting [2024-03-20T19:02:59.507Z] 4872d77fe225: Waiting [2024-03-20T19:02:59.507Z] 988bab9f4d93: Waiting [2024-03-20T19:02:59.507Z] 5851b861e8e6: Waiting [2024-03-20T19:02:59.507Z] e2be974225ed: Verifying Checksum [2024-03-20T19:02:59.507Z] e2be974225ed: Download complete [2024-03-20T19:02:59.507Z] 988bab9f4d93: Download complete [2024-03-20T19:02:59.507Z] 1469e6f7b9e6: Verifying Checksum [2024-03-20T19:02:59.507Z] 1469e6f7b9e6: Download complete [2024-03-20T19:02:59.767Z] eaf3925da568: Verifying Checksum [2024-03-20T19:02:59.767Z] eaf3925da568: Download complete [2024-03-20T19:02:59.767Z] 339a4e72a1f5: Verifying Checksum [2024-03-20T19:02:59.767Z] 339a4e72a1f5: Download complete [2024-03-20T19:02:59.767Z] bde34c3a00c8: Download complete [2024-03-20T19:02:59.767Z] b352a97aabf1: Download complete [2024-03-20T19:02:59.767Z] 4872d77fe225: Verifying Checksum [2024-03-20T19:02:59.767Z] 4872d77fe225: Download complete [2024-03-20T19:02:59.767Z] 5851b861e8e6: Download complete [2024-03-20T19:02:59.767Z] b85a868b505f: Verifying Checksum [2024-03-20T19:02:59.767Z] b85a868b505f: Download complete [2024-03-20T19:03:00.027Z] bab4dde63d76: Verifying Checksum [2024-03-20T19:03:00.027Z] bab4dde63d76: Download complete [2024-03-20T19:03:00.967Z] b85a868b505f: Pull complete [2024-03-20T19:03:01.226Z] e2be974225ed: Pull complete [2024-03-20T19:03:01.796Z] 339a4e72a1f5: Pull complete [2024-03-20T19:03:01.796Z] 988bab9f4d93: Pull complete [2024-03-20T19:03:02.055Z] 1469e6f7b9e6: Pull complete [2024-03-20T19:03:02.055Z] eaf3925da568: Pull complete [2024-03-20T19:03:03.977Z] bab4dde63d76: Pull complete [2024-03-20T19:03:03.977Z] bde34c3a00c8: Pull complete [2024-03-20T19:03:03.977Z] b352a97aabf1: Pull complete [2024-03-20T19:03:04.237Z] 4872d77fe225: Pull complete [2024-03-20T19:03:04.237Z] 5851b861e8e6: Pull complete [2024-03-20T19:03:04.237Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-20T19:03:04.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T19:03:04.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:03:04.524Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2024-03-20T19:03:04.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1569 -v /w/workspace/gexfoundry_device-sdk-go_PR-1569:/w/workspace/gexfoundry_device-sdk-go_PR-1569:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-20T19:03:06.527Z] $ docker top c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 -eo pid,comm [2024-03-20T19:03:06.591Z] 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-03-20T19:03:06.591Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-20T19:03:06.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T19:03:06.737Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T19:03:06.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T19:03:06.845Z] $ docker exec c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 ssh-agent [2024-03-20T19:03:06.976Z] SSH_AUTH_SOCK=/tmp/ssh-bFUGUXnBPYRS/agent.31 [2024-03-20T19:03:06.976Z] SSH_AGENT_PID=37 [2024-03-20T19:03:06.983Z] Running ssh-add (command line suppressed) [2024-03-20T19:03:07.078Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/private_key_14030291395596942643.key (/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/private_key_14030291395596942643.key) [2024-03-20T19:03:07.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T19:03:07.437Z] + git tag --points-at HEAD [Pipeline] } [2024-03-20T19:03:07.455Z] $ docker exec --env ******** --env ******** c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 ssh-agent -k [2024-03-20T19:03:07.558Z] unset SSH_AUTH_SOCK; [2024-03-20T19:03:07.558Z] unset SSH_AGENT_PID; [2024-03-20T19:03:07.558Z] echo Agent pid 37 killed; [2024-03-20T19:03:07.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-20T19:03:07.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T19:03:07.667Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T19:03:07.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T19:03:07.781Z] $ docker exec c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 ssh-agent [2024-03-20T19:03:07.900Z] SSH_AUTH_SOCK=/tmp/ssh-Yo76JM45zon3/agent.70 [2024-03-20T19:03:07.900Z] SSH_AGENT_PID=76 [2024-03-20T19:03:07.905Z] Running ssh-add (command line suppressed) [2024-03-20T19:03:08.010Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/private_key_4573774275653674956.key (/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/private_key_4573774275653674956.key) [2024-03-20T19:03:08.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T19:03:08.368Z] + git semver init [2024-03-20T19:03:08.628Z] 2024-03-20 19:03:08,543 [run_init] DEBUG init version:0.0.0 force:False [2024-03-20T19:03:08.628Z] 2024-03-20 19:03:08,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver [2024-03-20T19:03:08.628Z] 2024-03-20 19:03:08,544 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver [2024-03-20T19:03:08.628Z] 2024-03-20 19:03:08,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1569, universal_newlines=False, shell=None, istream=None) [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,663 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1569/.git/info/exclude [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,664 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver/PR-1569 with force:False [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,664 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver/PR-1569 [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,669 [execute] INFO git cat-file --batch-check [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,676 [execute] INFO git cat-file --batch [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T19:03:10.008Z] 2024-03-20 19:03:09,682 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1569/.semver/PR-1569 [2024-03-20T19:03:10.008Z] 0.0.0 [Pipeline] } [2024-03-20T19:03:10.033Z] $ docker exec --env ******** --env ******** c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 ssh-agent -k [2024-03-20T19:03:10.137Z] unset SSH_AUTH_SOCK; [2024-03-20T19:03:10.138Z] unset SSH_AGENT_PID; [2024-03-20T19:03:10.138Z] echo Agent pid 76 killed; [2024-03-20T19:03:10.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-20T19:03:10.602Z] + git semver [Pipeline] } [2024-03-20T19:03:10.883Z] $ docker stop --time=1 c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 [2024-03-20T19:03:12.177Z] $ docker rm -f --volumes c158d94148ba678fb55b4c0ac7f17dd8bf5c2048e1d3ed6bb8e7a759aebc4c73 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T19:03:12.597Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-20T19:03:12.965Z] Stashed 1 file(s) [Pipeline] echo [2024-03-20T19:03:12.986Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T19:03:13.636Z] provisioning config files... [2024-03-20T19:03:13.646Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/config9306829718001483938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:03:13.998Z] ---> ****-login.sh [2024-03-20T19:03:13.998Z] nexus3.edgexfoundry.org:10001 [2024-03-20T19:03:13.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:03:13.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:03:13.998Z] Configure a credential helper to remove this warning. See [2024-03-20T19:03:13.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:03:13.998Z] [2024-03-20T19:03:13.998Z] Login Succeeded [2024-03-20T19:03:13.998Z] nexus3.edgexfoundry.org:10002 [2024-03-20T19:03:13.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:03:13.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:03:13.998Z] Configure a credential helper to remove this warning. See [2024-03-20T19:03:13.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:03:13.998Z] [2024-03-20T19:03:13.998Z] Login Succeeded [2024-03-20T19:03:13.998Z] nexus3.edgexfoundry.org:10003 [2024-03-20T19:03:14.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:03:14.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:03:14.258Z] Configure a credential helper to remove this warning. See [2024-03-20T19:03:14.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:03:14.258Z] [2024-03-20T19:03:14.258Z] Login Succeeded [2024-03-20T19:03:14.258Z] nexus3.edgexfoundry.org:10004 [2024-03-20T19:03:14.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:03:14.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:03:14.259Z] Configure a credential helper to remove this warning. See [2024-03-20T19:03:14.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:03:14.259Z] [2024-03-20T19:03:14.259Z] Login Succeeded [2024-03-20T19:03:14.259Z] ****.io [2024-03-20T19:03:14.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:03:14.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:03:14.518Z] Configure a credential helper to remove this warning. See [2024-03-20T19:03:14.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:03:14.518Z] [2024-03-20T19:03:14.518Z] Login Succeeded [2024-03-20T19:03:14.518Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T19:03:14.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-20T19:03:14.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T19:03:14.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T19:03:14.856Z] ========================================================= [2024-03-20T19:03:14.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-20T19:03:14.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:03:15.343Z] + 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-03-20T19:03:15.343Z] Sending build context to Docker daemon 22.09MB [2024-03-20T19:03:15.343Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T19:03:15.343Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-20T19:03:15.603Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-20T19:03:15.603Z] 7264a8db6415: Pulling fs layer [2024-03-20T19:03:15.603Z] c4d48a809fc2: Pulling fs layer [2024-03-20T19:03:15.603Z] 4f1c88b9dad5: Pulling fs layer [2024-03-20T19:03:15.603Z] ad3a456e5733: Pulling fs layer [2024-03-20T19:03:15.603Z] 69c7f0334f64: Pulling fs layer [2024-03-20T19:03:15.603Z] 1f1c1a5573a3: Pulling fs layer [2024-03-20T19:03:15.603Z] ce7588e14bc9: Pulling fs layer [2024-03-20T19:03:15.603Z] b5e4710f87ac: Pulling fs layer [2024-03-20T19:03:15.603Z] ad3a456e5733: Waiting [2024-03-20T19:03:15.603Z] 1f1c1a5573a3: Waiting [2024-03-20T19:03:15.603Z] ce7588e14bc9: Waiting [2024-03-20T19:03:15.603Z] b5e4710f87ac: Waiting [2024-03-20T19:03:15.603Z] 69c7f0334f64: Waiting [2024-03-20T19:03:15.603Z] c4d48a809fc2: Download complete [2024-03-20T19:03:15.603Z] ad3a456e5733: Download complete [2024-03-20T19:03:15.603Z] 69c7f0334f64: Verifying Checksum [2024-03-20T19:03:15.603Z] 69c7f0334f64: Download complete [2024-03-20T19:03:15.603Z] 7264a8db6415: Verifying Checksum [2024-03-20T19:03:15.603Z] 7264a8db6415: Download complete [2024-03-20T19:03:15.603Z] 1f1c1a5573a3: Verifying Checksum [2024-03-20T19:03:15.603Z] 1f1c1a5573a3: Download complete [2024-03-20T19:03:15.863Z] 7264a8db6415: Pull complete [2024-03-20T19:03:15.863Z] b5e4710f87ac: Verifying Checksum [2024-03-20T19:03:15.863Z] c4d48a809fc2: Pull complete [2024-03-20T19:03:16.123Z] 4f1c88b9dad5: Verifying Checksum [2024-03-20T19:03:16.123Z] 4f1c88b9dad5: Download complete [2024-03-20T19:03:16.381Z] ce7588e14bc9: Verifying Checksum [2024-03-20T19:03:16.381Z] ce7588e14bc9: Download complete [2024-03-20T19:03:19.693Z] 4f1c88b9dad5: Pull complete [2024-03-20T19:03:19.693Z] ad3a456e5733: Pull complete [2024-03-20T19:03:19.693Z] 69c7f0334f64: Pull complete [2024-03-20T19:03:19.693Z] 1f1c1a5573a3: Pull complete [2024-03-20T19:03:22.227Z] ce7588e14bc9: Pull complete [2024-03-20T19:03:22.487Z] b5e4710f87ac: Pull complete [2024-03-20T19:03:22.487Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-20T19:03:22.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-20T19:03:22.487Z] ---> 88b5674ff536 [2024-03-20T19:03:22.487Z] Step 3/10 : ARG MAKE=make build [2024-03-20T19:03:25.021Z] ---> Running in 646d2dd61071 [2024-03-20T19:03:25.021Z] Removing intermediate container 646d2dd61071 [2024-03-20T19:03:25.021Z] ---> e07c3f960415 [2024-03-20T19:03:25.021Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-20T19:03:25.021Z] ---> Running in ec815e0ab08a [2024-03-20T19:03:25.021Z] Removing intermediate container ec815e0ab08a [2024-03-20T19:03:25.021Z] ---> f99a9d1e2b08 [2024-03-20T19:03:25.021Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T19:03:25.021Z] ---> Running in 62ab50765d16 [2024-03-20T19:03:25.279Z] Removing intermediate container 62ab50765d16 [2024-03-20T19:03:25.279Z] ---> 09dfc5de8147 [2024-03-20T19:03:25.279Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-20T19:03:25.279Z] ---> Running in a42888f9a4cb [2024-03-20T19:03:25.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T19:03:28.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T19:03:28.334Z] OK: 264 MiB in 52 packages [2024-03-20T19:03:28.443Z] Still waiting to schedule task [2024-03-20T19:03:28.443Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-20T19:03:28.594Z] Removing intermediate container a42888f9a4cb [2024-03-20T19:03:28.594Z] ---> d96bcc3ceb3b [2024-03-20T19:03:28.594Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-20T19:03:28.855Z] ---> 29066b2e9e6c [2024-03-20T19:03:28.855Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T19:03:28.855Z] ---> Running in 0bd9eab3964d [2024-03-20T19:04:15.556Z] Removing intermediate container 0bd9eab3964d [2024-03-20T19:04:15.556Z] ---> 6411dd280e5a [2024-03-20T19:04:15.556Z] Step 9/10 : COPY . . [2024-03-20T19:04:16.125Z] ---> 25e9f929c63a [2024-03-20T19:04:16.125Z] Step 10/10 : RUN ${MAKE} [2024-03-20T19:04:16.125Z] ---> Running in cf367bd36d5b [2024-03-20T19:04:16.385Z] noop [2024-03-20T19:04:16.646Z] Removing intermediate container cf367bd36d5b [2024-03-20T19:04:16.646Z] ---> 46633eceab70 [2024-03-20T19:04:16.646Z] Successfully built 46633eceab70 [2024-03-20T19:04:16.646Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:04:17.116Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-20T19:04:17.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:04:17.275Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2024-03-20T19:04:17.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1569 -v /w/workspace/gexfoundry_device-sdk-go_PR-1569:/w/workspace/gexfoundry_device-sdk-go_PR-1569:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-20T19:04:17.622Z] $ docker top edc7ff4a8125805f0ba24742bc811d820502e5cb59e043b4bf44172933f04ce4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T19:04:18.032Z] + go version [2024-03-20T19:04:18.033Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-20T19:04:18.061Z] $ docker stop --time=1 edc7ff4a8125805f0ba24742bc811d820502e5cb59e043b4bf44172933f04ce4 [2024-03-20T19:04:19.321Z] $ docker rm -f --volumes edc7ff4a8125805f0ba24742bc811d820502e5cb59e043b4bf44172933f04ce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:04:20.057Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-20T19:04:20.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:04:20.215Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2024-03-20T19:04:20.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1569 -v /w/workspace/gexfoundry_device-sdk-go_PR-1569:/w/workspace/gexfoundry_device-sdk-go_PR-1569:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-20T19:04:20.572Z] $ docker top f57654da8d9bb84ab03040efc231fdfc24d2690a4daba16d06bc56dd04c74c08 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T19:04:20.974Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1569 [Pipeline] fileExists [Pipeline] sh [2024-03-20T19:04:21.343Z] + make test [2024-03-20T19:04:21.343Z] go test -race -coverprofile=coverage.out ./... [2024-03-20T19:04:29.489Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-20T19:05:01.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.048s coverage: 27.6% of statements [2024-03-20T19:05:01.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 81.5% of statements [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-20T19:05:01.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-20T19:05:02.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.063s coverage: 86.0% of statements [2024-03-20T19:05:02.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-20T19:05:02.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-20T19:05:02.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-20T19:05:03.795Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.131s coverage: 71.8% of statements [2024-03-20T19:05:03.821Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-462 in /w/workspace/gexfoundry_device-sdk-go_PR-1569 [Pipeline] { [Pipeline] ws [2024-03-20T19:05:03.884Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-03-20T19:05:03.967Z] The recommended git tool is: git [2024-03-20T19:05:04.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-20T19:05:06.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.054s coverage: 14.4% of statements [2024-03-20T19:05:06.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.850s coverage: 45.9% of statements [2024-03-20T19:05:06.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.072s coverage: 68.5% of statements [2024-03-20T19:05:06.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements [2024-03-20T19:05:06.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.072s coverage: 5.5% of statements [2024-03-20T19:05:08.730Z] using credential edgex-jenkins-ssh [2024-03-20T19:05:08.748Z] Cloning the remote Git repository [2024-03-20T19:05:08.793Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-20T19:05:08.892Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-03-20T19:05:09.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-20T19:05:09.022Z] > git --version # timeout=10 [2024-03-20T19:05:09.041Z] > git --version # 'git version 2.25.1' [2024-03-20T19:05:09.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T19:05:09.184Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-20T19:05:11.480Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-20T19:05:11.511Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-20T19:05:12.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-20T19:05:12.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-20T19:05:12.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T19:05:12.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1569/head:refs/remotes/origin/PR-1569 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-20T19:05:13.043Z] Merging remotes/origin/main commit fdea4761bbcb74cab7badbb069f6efddd7703878 into PR head commit 9b367c880bb900e5a32d5fedc22a9174aca7eb07 [2024-03-20T19:05:13.489Z] Merge succeeded, producing 9b367c880bb900e5a32d5fedc22a9174aca7eb07 [2024-03-20T19:05:13.489Z] Checking out Revision 9b367c880bb900e5a32d5fedc22a9174aca7eb07 (PR-1569) [2024-03-20T19:05:13.064Z] > git config core.sparsecheckout # timeout=10 [2024-03-20T19:05:13.133Z] > git checkout -f 9b367c880bb900e5a32d5fedc22a9174aca7eb07 # timeout=10 [2024-03-20T19:05:13.244Z] > git remote # timeout=10 [2024-03-20T19:05:13.261Z] > git config --get remote.origin.url # timeout=10 [2024-03-20T19:05:13.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T19:05:13.300Z] > git merge fdea4761bbcb74cab7badbb069f6efddd7703878 # timeout=10 [2024-03-20T19:05:13.463Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-20T19:05:13.533Z] > git config core.sparsecheckout # timeout=10 [2024-03-20T19:05:13.551Z] > git checkout -f 9b367c880bb900e5a32d5fedc22a9174aca7eb07 # timeout=10 [2024-03-20T19:05:17.211Z] Commit message: "feat: add openziti support" [2024-03-20T19:05:17.264Z] > git --version # timeout=10 [2024-03-20T19:05:17.275Z] > git --version # 'git version 2.25.1' [2024-03-20T19:05:17.294Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T19:05:19.099Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-20T19:05:19.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-20T19:05:19.099Z] Dload Upload Total Spent Left Speed [2024-03-20T19:05:19.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2024-03-20T19:05:19.443Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-20T19:05:19.784Z] + sudo tee /etc/docker/daemon.new [2024-03-20T19:05:19.785Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-20T19:05:19.785Z] { [2024-03-20T19:05:19.785Z] "registry-mirrors": [ [2024-03-20T19:05:19.785Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-20T19:05:19.785Z] ], [2024-03-20T19:05:19.785Z] "bip": "10.250.0.254/24", [2024-03-20T19:05:19.785Z] "hosts": [ [2024-03-20T19:05:19.785Z] "tcp://0.0.0.0:5555", [2024-03-20T19:05:19.785Z] "unix:///var/run/docker.sock" [2024-03-20T19:05:19.785Z] ], [2024-03-20T19:05:19.785Z] "mtu": 1458, [2024-03-20T19:05:19.785Z] "selinux-enabled": true, [2024-03-20T19:05:19.785Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-20T19:05:19.785Z] } [Pipeline] sh [2024-03-20T19:05:20.129Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-20T19:05:20.471Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T19:05:38.795Z] provisioning config files... [2024-03-20T19:05:38.825Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16591011779227486333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:05:38.996Z] GO111MODULE=on go vet ./... [2024-03-20T19:05:39.299Z] ---> ****-login.sh [2024-03-20T19:05:39.299Z] nexus3.edgexfoundry.org:10001 [2024-03-20T19:05:39.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:05:39.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:05:39.839Z] Configure a credential helper to remove this warning. See [2024-03-20T19:05:39.839Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:05:39.839Z] [2024-03-20T19:05:39.839Z] Login Succeeded [2024-03-20T19:05:39.839Z] nexus3.edgexfoundry.org:10002 [2024-03-20T19:05:40.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:05:40.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:05:40.108Z] Configure a credential helper to remove this warning. See [2024-03-20T19:05:40.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:05:40.108Z] [2024-03-20T19:05:40.377Z] Login Succeeded [2024-03-20T19:05:40.377Z] nexus3.edgexfoundry.org:10003 [2024-03-20T19:05:40.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:05:40.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:05:40.647Z] Configure a credential helper to remove this warning. See [2024-03-20T19:05:40.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:05:40.647Z] [2024-03-20T19:05:40.647Z] Login Succeeded [2024-03-20T19:05:40.647Z] nexus3.edgexfoundry.org:10004 [2024-03-20T19:05:40.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-20T19:05:40.900Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-20T19:05:40.900Z] ./bin/test-attribution-txt.sh [2024-03-20T19:05:40.900Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-20T19:05:40.900Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-20T19:05:40.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T19:05:40.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:05:40.915Z] Configure a credential helper to remove this warning. See [2024-03-20T19:05:40.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:05:40.915Z] [2024-03-20T19:05:40.915Z] Login Succeeded [2024-03-20T19:05:40.915Z] ****.io [2024-03-20T19:05:41.160Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-20T19:05:41.160Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [2024-03-20T19:05:41.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo [2024-03-20T19:05:41.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-20T19:05:41.252Z] $ docker stop --time=1 f57654da8d9bb84ab03040efc231fdfc24d2690a4daba16d06bc56dd04c74c08 [2024-03-20T19:05:41.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T19:05:41.450Z] Configure a credential helper to remove this warning. See [2024-03-20T19:05:41.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T19:05:41.450Z] [2024-03-20T19:05:41.450Z] Login Succeeded [2024-03-20T19:05:41.450Z] ---> ****-login.sh ends [2024-03-20T19:05:43.383Z] $ docker rm -f --volumes f57654da8d9bb84ab03040efc231fdfc24d2690a4daba16d06bc56dd04c74c08 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2024-03-20T19:05:43.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-03-20T19:05:44.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-20T19:05:44.230Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo [2024-03-20T19:05:44.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo [2024-03-20T19:05:44.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T19:05:44.500Z] ========================================================= [2024-03-20T19:05:44.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-20T19:05:44.500Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:05:44.931Z] + 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 . [Pipeline] sh [2024-03-20T19:05:45.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-20T19:05:45.516Z] Sending build context to Docker daemon 11.48MB [2024-03-20T19:05:45.516Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T19:05:45.516Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-20T19:05:45.516Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-20T19:05:45.516Z] 9fda8d8052c6: Pulling fs layer [2024-03-20T19:05:45.516Z] 5d54e960e981: Pulling fs layer [2024-03-20T19:05:45.516Z] c4a7e357bf2a: Pulling fs layer [2024-03-20T19:05:45.516Z] f0e02332f6b5: Pulling fs layer [2024-03-20T19:05:45.516Z] 872ee5b61b7b: Pulling fs layer [2024-03-20T19:05:45.516Z] 0c6a40ed1a82: Pulling fs layer [2024-03-20T19:05:45.516Z] 94ae7d8d031c: Pulling fs layer [2024-03-20T19:05:45.516Z] f0e02332f6b5: Waiting [2024-03-20T19:05:45.516Z] 872ee5b61b7b: Waiting [2024-03-20T19:05:45.516Z] 0c6a40ed1a82: Waiting [2024-03-20T19:05:45.516Z] 94ae7d8d031c: Waiting [2024-03-20T19:05:45.516Z] 5d54e960e981: Download complete [2024-03-20T19:05:45.516Z] f0e02332f6b5: Verifying Checksum [2024-03-20T19:05:45.516Z] f0e02332f6b5: Download complete [2024-03-20T19:05:45.563Z] + ls -al . [2024-03-20T19:05:45.563Z] total 376 [2024-03-20T19:05:45.563Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 19:04 . [2024-03-20T19:05:45.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:02 .. [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 19:02 .dockerignore [2024-03-20T19:05:45.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 19:05 .git [2024-03-20T19:05:45.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:02 .github [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 20 19:02 .gitignore [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 19:02 .golangci.yml [2024-03-20T19:05:45.563Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 19:03 .semver [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 20 19:02 CHANGELOG.md [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 19:02 GOVERNANCE.md [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 19:02 Jenkinsfile [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 19:02 LICENSE [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 20 19:02 Makefile [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 19:02 OWNERS.md [2024-03-20T19:05:45.563Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 20 19:02 README.md [2024-03-20T19:05:45.564Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 19:03 VERSION [2024-03-20T19:05:45.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 19:02 bin [2024-03-20T19:05:45.564Z] -rw-r--r-- 1 jenkins jenkins 122155 Mar 20 19:05 coverage.out [2024-03-20T19:05:45.564Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 19:02 example [2024-03-20T19:05:45.564Z] -rw-rw-r-- 1 jenkins jenkins 7070 Mar 20 19:02 go.mod [2024-03-20T19:05:45.564Z] -rw-rw-r-- 1 jenkins jenkins 100964 Mar 20 19:02 go.sum [2024-03-20T19:05:45.564Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 19:02 internal [2024-03-20T19:05:45.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:02 openapi [2024-03-20T19:05:45.564Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 19:02 pkg [2024-03-20T19:05:45.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:02 snap [2024-03-20T19:05:45.564Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:05:45.783Z] 872ee5b61b7b: Verifying Checksum [2024-03-20T19:05:45.784Z] 872ee5b61b7b: Download complete [2024-03-20T19:05:45.784Z] 9fda8d8052c6: Download complete [2024-03-20T19:05:45.975Z] + 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=9b367c880bb900e5a32d5fedc22a9174aca7eb07 --label arch=amd64 --label version=0.0.0 . [2024-03-20T19:05:45.976Z] Sending build context to Docker daemon 22.21MB [2024-03-20T19:05:45.976Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T19:05:45.976Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-20T19:05:45.976Z] ---> 46633eceab70 [2024-03-20T19:05:45.976Z] Step 3/23 : ARG MAKE=make build [2024-03-20T19:05:46.050Z] 94ae7d8d031c: Verifying Checksum [2024-03-20T19:05:46.051Z] 94ae7d8d031c: Download complete [2024-03-20T19:05:46.238Z] ---> Running in b657229b0d63 [2024-03-20T19:05:46.238Z] Removing intermediate container b657229b0d63 [2024-03-20T19:05:46.238Z] ---> f21114d734c0 [2024-03-20T19:05:46.238Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-20T19:05:46.238Z] ---> Running in 5e6c17d4747c [2024-03-20T19:05:46.238Z] Removing intermediate container 5e6c17d4747c [2024-03-20T19:05:46.238Z] ---> 823528aec065 [2024-03-20T19:05:46.238Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T19:05:46.238Z] ---> Running in 6611bdda6b01 [2024-03-20T19:05:46.499Z] Removing intermediate container 6611bdda6b01 [2024-03-20T19:05:46.499Z] ---> 7f0c4d6eeb0c [2024-03-20T19:05:46.499Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-20T19:05:46.499Z] ---> Running in 59a9bb7fbf6b [2024-03-20T19:05:46.635Z] 9fda8d8052c6: Pull complete [2024-03-20T19:05:46.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T19:05:46.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T19:05:47.019Z] OK: 264 MiB in 52 packages [2024-03-20T19:05:47.216Z] 5d54e960e981: Pull complete [2024-03-20T19:05:47.482Z] c4a7e357bf2a: Verifying Checksum [2024-03-20T19:05:47.482Z] c4a7e357bf2a: Download complete [2024-03-20T19:05:47.588Z] Removing intermediate container 59a9bb7fbf6b [2024-03-20T19:05:47.588Z] ---> 4acbf0f6871e [2024-03-20T19:05:47.588Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-20T19:05:47.588Z] ---> 1d6c29a594cb [2024-03-20T19:05:47.588Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T19:05:47.588Z] ---> Running in b71c5a33f231 [2024-03-20T19:05:48.159Z] Removing intermediate container b71c5a33f231 [2024-03-20T19:05:48.159Z] ---> c78bba9c0daf [2024-03-20T19:05:48.159Z] Step 9/23 : COPY . . [2024-03-20T19:05:48.438Z] 0c6a40ed1a82: Verifying Checksum [2024-03-20T19:05:48.438Z] 0c6a40ed1a82: Download complete [2024-03-20T19:05:48.728Z] ---> f6a33dc90fee [2024-03-20T19:05:48.729Z] Step 10/23 : RUN ${MAKE} [2024-03-20T19:05:48.729Z] ---> Running in 73a1556688c8 [2024-03-20T19:05:48.989Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-03-20T19:06:00.735Z] c4a7e357bf2a: Pull complete [2024-03-20T19:06:00.735Z] f0e02332f6b5: Pull complete [2024-03-20T19:06:00.735Z] 872ee5b61b7b: Pull complete [2024-03-20T19:06:08.953Z] 0c6a40ed1a82: Pull complete [2024-03-20T19:06:09.918Z] 94ae7d8d031c: Pull complete [2024-03-20T19:06:09.918Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-20T19:06:09.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-20T19:06:09.918Z] ---> 86de565de09d [2024-03-20T19:06:09.918Z] Step 3/10 : ARG MAKE=make build [2024-03-20T19:06:11.864Z] ---> Running in 1d265392c364 [2024-03-20T19:06:11.864Z] Removing intermediate container 1d265392c364 [2024-03-20T19:06:11.864Z] ---> 86bf5de137cd [2024-03-20T19:06:11.864Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-20T19:06:11.864Z] ---> Running in 5fc63ab3717e [2024-03-20T19:06:12.448Z] Removing intermediate container 5fc63ab3717e [2024-03-20T19:06:12.448Z] ---> 193a352e29b0 [2024-03-20T19:06:12.448Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T19:06:12.448Z] ---> Running in 9f043e20e22a [2024-03-20T19:06:12.715Z] Removing intermediate container 9f043e20e22a [2024-03-20T19:06:12.715Z] ---> b89e05f4aafb [2024-03-20T19:06:12.715Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-20T19:06:12.715Z] ---> Running in 0699858ef2e6 [2024-03-20T19:06:13.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T19:06:14.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T19:06:15.249Z] OK: 266 MiB in 52 packages [2024-03-20T19:06:15.542Z] Removing intermediate container 73a1556688c8 [2024-03-20T19:06:15.543Z] ---> 33d9aa8912b8 [2024-03-20T19:06:15.543Z] Step 11/23 : FROM alpine:3.18 [2024-03-20T19:06:15.543Z] 3.18: Pulling from library/alpine [2024-03-20T19:06:15.543Z] 619be1103602: Pulling fs layer [2024-03-20T19:06:15.543Z] 619be1103602: Verifying Checksum [2024-03-20T19:06:15.543Z] 619be1103602: Download complete [2024-03-20T19:06:15.543Z] 619be1103602: Pull complete [2024-03-20T19:06:15.543Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-20T19:06:15.543Z] Status: Downloaded newer image for alpine:3.18 [2024-03-20T19:06:15.543Z] ---> d3782b16ccc9 [2024-03-20T19:06:15.543Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-20T19:06:15.543Z] ---> Running in 8678f92c2930 [2024-03-20T19:06:15.543Z] Removing intermediate container 8678f92c2930 [2024-03-20T19:06:15.543Z] ---> 83cfb2acad64 [2024-03-20T19:06:15.543Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-20T19:06:15.543Z] ---> Running in bc4e3495e337 [2024-03-20T19:06:15.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T19:06:15.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T19:06:15.805Z] OK: 7 MiB in 15 packages [2024-03-20T19:06:15.836Z] Removing intermediate container 0699858ef2e6 [2024-03-20T19:06:15.836Z] ---> cef2d6d913bb [2024-03-20T19:06:15.836Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-20T19:06:16.065Z] Removing intermediate container bc4e3495e337 [2024-03-20T19:06:16.065Z] ---> d93cf7d3e085 [2024-03-20T19:06:16.065Z] Step 14/23 : WORKDIR / [2024-03-20T19:06:16.065Z] ---> Running in e373f1e875c0 [2024-03-20T19:06:16.065Z] Removing intermediate container e373f1e875c0 [2024-03-20T19:06:16.065Z] ---> 793338a355fa [2024-03-20T19:06:16.065Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-20T19:06:16.324Z] ---> b5e2b4e2589d [2024-03-20T19:06:16.324Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-20T19:06:16.426Z] ---> 34be7abb90d9 [2024-03-20T19:06:16.426Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T19:06:16.426Z] ---> Running in b3a8cc0ad02d [2024-03-20T19:06:16.894Z] ---> 72657f5706bd [2024-03-20T19:06:16.894Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-20T19:06:17.153Z] ---> 6b4ea0383ecd [2024-03-20T19:06:17.153Z] Step 18/23 : EXPOSE 59999 [2024-03-20T19:06:17.153Z] ---> Running in 2dd2fb14b1cf [2024-03-20T19:06:17.153Z] Removing intermediate container 2dd2fb14b1cf [2024-03-20T19:06:17.153Z] ---> 8aed1cdca255 [2024-03-20T19:06:17.153Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-20T19:06:17.153Z] ---> Running in 22efa20069ef [2024-03-20T19:06:17.153Z] Removing intermediate container 22efa20069ef [2024-03-20T19:06:17.153Z] ---> 44e5216b88a1 [2024-03-20T19:06:17.153Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-20T19:06:17.414Z] ---> Running in 0b8b9c02d81d [2024-03-20T19:06:17.414Z] Removing intermediate container 0b8b9c02d81d [2024-03-20T19:06:17.414Z] ---> d9ac13df80ba [2024-03-20T19:06:17.414Z] Step 21/23 : LABEL arch=amd64 [2024-03-20T19:06:17.414Z] ---> Running in 6df02eedaf63 [2024-03-20T19:06:17.414Z] Removing intermediate container 6df02eedaf63 [2024-03-20T19:06:17.414Z] ---> 765171656f6e [2024-03-20T19:06:17.414Z] Step 22/23 : LABEL git_sha=9b367c880bb900e5a32d5fedc22a9174aca7eb07 [2024-03-20T19:06:17.414Z] ---> Running in 08280f7e19e9 [2024-03-20T19:06:17.414Z] Removing intermediate container 08280f7e19e9 [2024-03-20T19:06:17.414Z] ---> 424807c9772a [2024-03-20T19:06:17.414Z] Step 23/23 : LABEL version=0.0.0 [2024-03-20T19:06:17.673Z] ---> Running in 81b1a680b229 [2024-03-20T19:06:17.673Z] Removing intermediate container 81b1a680b229 [2024-03-20T19:06:17.673Z] ---> 930f59989084 [2024-03-20T19:06:17.673Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-20T19:06:17.673Z] Successfully built 930f59989084 [2024-03-20T19:06:17.673Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:06:18.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T19:06:18.622Z] [2024-03-20T19:06:18.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:06:19.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T19:06:19.010Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-20T19:06:19.010Z] 5eb5b503b376: Pulling fs layer [2024-03-20T19:06:19.010Z] 5c69ac0246d0: Pulling fs layer [2024-03-20T19:06:19.010Z] ec43610c2a17: Pulling fs layer [2024-03-20T19:06:19.010Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-20T19:06:19.010Z] 33b1e0a273af: Pulling fs layer [2024-03-20T19:06:19.010Z] 5d3b04190fa2: Pulling fs layer [2024-03-20T19:06:19.010Z] 2f39f015ded8: Pulling fs layer [2024-03-20T19:06:19.010Z] 33b1e0a273af: Waiting [2024-03-20T19:06:19.010Z] 3a2ae6a8a46f: Waiting [2024-03-20T19:06:19.010Z] 5d3b04190fa2: Waiting [2024-03-20T19:06:19.010Z] 2f39f015ded8: Waiting [2024-03-20T19:06:19.010Z] 5c69ac0246d0: Download complete [2024-03-20T19:06:19.010Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-20T19:06:19.010Z] 3a2ae6a8a46f: Download complete [2024-03-20T19:06:19.010Z] ec43610c2a17: Verifying Checksum [2024-03-20T19:06:19.010Z] ec43610c2a17: Download complete [2024-03-20T19:06:19.010Z] 33b1e0a273af: Verifying Checksum [2024-03-20T19:06:19.010Z] 33b1e0a273af: Download complete [2024-03-20T19:06:19.010Z] 5d3b04190fa2: Download complete [2024-03-20T19:06:19.269Z] 5eb5b503b376: Verifying Checksum [2024-03-20T19:06:19.269Z] 5eb5b503b376: Download complete [2024-03-20T19:06:19.835Z] 2f39f015ded8: Download complete [2024-03-20T19:06:20.411Z] 5eb5b503b376: Pull complete [2024-03-20T19:06:20.672Z] 5c69ac0246d0: Pull complete [2024-03-20T19:06:21.245Z] ec43610c2a17: Pull complete [2024-03-20T19:06:21.245Z] 3a2ae6a8a46f: Pull complete [2024-03-20T19:06:21.245Z] 33b1e0a273af: Pull complete [2024-03-20T19:06:21.504Z] 5d3b04190fa2: Pull complete [2024-03-20T19:06:25.701Z] 2f39f015ded8: Pull complete [2024-03-20T19:06:25.701Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-20T19:06:25.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T19:06:25.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:06:25.959Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2024-03-20T19:06:25.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1569 -v /w/workspace/gexfoundry_device-sdk-go_PR-1569:/w/workspace/gexfoundry_device-sdk-go_PR-1569:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-20T19:06:32.654Z] $ docker top 06436588b5cb32a70f663c0e80dab7dd8e33dfe64374be3949ccd06481748f65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:06:33.135Z] ---> job-cost.sh [2024-03-20T19:06:33.135Z] lf-activate-venv: SKIPPING [2024-03-20T19:06:33.135Z] INFO: No Stack... [2024-03-20T19:06:33.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-20T19:06:33.965Z] INFO: Archiving Costs [Pipeline] sh [2024-03-20T19:06:34.291Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives/cost.csv [2024-03-20T19:06:34.291Z] + cut -d, -f6 [Pipeline] lock [2024-03-20T19:06:34.337Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] [2024-03-20T19:06:34.341Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] did not exist. Created. [2024-03-20T19:06:34.347Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-20T19:06:34.756Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-20T19:06:34.815Z] Stashed 1 file(s) [Pipeline] } [2024-03-20T19:06:34.843Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-20T19:06:34.928Z] $ docker stop --time=1 06436588b5cb32a70f663c0e80dab7dd8e33dfe64374be3949ccd06481748f65 [2024-03-20T19:06:36.073Z] $ docker rm -f --volumes 06436588b5cb32a70f663c0e80dab7dd8e33dfe64374be3949ccd06481748f65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-20T19:08:23.108Z] Removing intermediate container b3a8cc0ad02d [2024-03-20T19:08:23.108Z] ---> eb0563343e50 [2024-03-20T19:08:23.108Z] Step 9/10 : COPY . . [2024-03-20T19:08:23.108Z] ---> 13dca2071f0f [2024-03-20T19:08:23.108Z] Step 10/10 : RUN ${MAKE} [2024-03-20T19:08:23.108Z] ---> Running in 9db9037138b6 [2024-03-20T19:08:23.108Z] noop [2024-03-20T19:08:23.108Z] Removing intermediate container 9db9037138b6 [2024-03-20T19:08:23.108Z] ---> 771b161a0b48 [2024-03-20T19:08:23.108Z] Successfully built 771b161a0b48 [2024-03-20T19:08:23.108Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:08:23.608Z] + docker inspect -f . ci-base-image-arm64 [2024-03-20T19:08:23.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:08:23.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-462 does not seem to be running inside a container [2024-03-20T19:08:23.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-20T19:08:25.176Z] $ docker top 1446ec9fc9fe82dee713a3e603cbd92427fda2ed5b20fbecddfa1e5422b2cf1e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T19:08:26.057Z] + go version [2024-03-20T19:08:26.057Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-20T19:08:26.097Z] $ docker stop --time=1 1446ec9fc9fe82dee713a3e603cbd92427fda2ed5b20fbecddfa1e5422b2cf1e [2024-03-20T19:08:27.728Z] $ docker rm -f --volumes 1446ec9fc9fe82dee713a3e603cbd92427fda2ed5b20fbecddfa1e5422b2cf1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:08:28.640Z] + docker inspect -f . ci-base-image-arm64 [2024-03-20T19:08:28.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:08:28.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-462 does not seem to be running inside a container [2024-03-20T19:08:28.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-20T19:08:30.090Z] $ docker top e8621e64a4a9802a2c4a2cff56a2c7c058805fc3190c7f424b29a5ecd7387ca4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T19:08:30.646Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-20T19:08:31.550Z] + make test [2024-03-20T19:08:31.550Z] go test -race -coverprofile=coverage.out ./... [2024-03-20T19:09:03.915Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-20T19:11:25.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-20T19:11:25.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-20T19:11:25.662Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-20T19:11:25.662Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-20T19:11:25.662Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-20T19:11:33.874Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.198s coverage: 27.6% of statements [2024-03-20T19:11:36.462Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.240s coverage: 81.5% of statements [2024-03-20T19:11:41.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-20T19:11:41.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-20T19:11:42.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.329s coverage: 86.0% of statements [2024-03-20T19:11:48.125Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-20T19:11:49.080Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.533s coverage: 71.8% of statements [2024-03-20T19:11:52.414Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.286s coverage: 14.4% of statements [2024-03-20T19:11:52.414Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.554s coverage: 45.9% of statements [2024-03-20T19:11:52.414Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-20T19:11:52.414Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-20T19:11:53.374Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.395s coverage: 68.5% of statements [2024-03-20T19:11:56.710Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.423s coverage: 89.2% of statements [2024-03-20T19:11:59.307Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-20T19:12:00.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.346s coverage: 5.5% of statements [2024-03-20T19:12:01.688Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-20T19:12:01.688Z] GO111MODULE=on go vet ./... [2024-03-20T19:15:08.420Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-20T19:15:08.420Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-20T19:15:08.420Z] ./bin/test-attribution-txt.sh [2024-03-20T19:15:08.420Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-20T19:15:08.420Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-20T19:15:08.421Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-20T19:15:08.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-20T19:15:08.644Z] $ docker stop --time=1 e8621e64a4a9802a2c4a2cff56a2c7c058805fc3190c7f424b29a5ecd7387ca4 [2024-03-20T19:15:10.630Z] $ docker rm -f --volumes e8621e64a4a9802a2c4a2cff56a2c7c058805fc3190c7f424b29a5ecd7387ca4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T19:15:13.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-20T19:15:13.050Z] Warning: overwriting stash ‘coverage-report’ [2024-03-20T19:15:13.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T19:15:14.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-20T19:15:14.680Z] + ls -al . [2024-03-20T19:15:14.680Z] total 372 [2024-03-20T19:15:14.680Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 19:08 . [2024-03-20T19:15:14.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:05 .. [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 19:05 .dockerignore [2024-03-20T19:15:14.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 19:05 .git [2024-03-20T19:15:14.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:05 .github [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 20 19:05 .gitignore [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 19:05 .golangci.yml [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 20 19:05 CHANGELOG.md [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 19:05 GOVERNANCE.md [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 19:05 Jenkinsfile [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 19:05 LICENSE [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 20 19:05 Makefile [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 19:05 OWNERS.md [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 20 19:05 README.md [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 19:03 VERSION [2024-03-20T19:15:14.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 19:05 bin [2024-03-20T19:15:14.680Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 20 19:12 coverage.out [2024-03-20T19:15:14.680Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 19:05 example [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 7070 Mar 20 19:05 go.mod [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 100964 Mar 20 19:05 go.sum [2024-03-20T19:15:14.680Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 19:05 internal [2024-03-20T19:15:14.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:05 openapi [2024-03-20T19:15:14.680Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 19:05 pkg [2024-03-20T19:15:14.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:05 snap [2024-03-20T19:15:14.680Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 19:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:15:15.092Z] + 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=9b367c880bb900e5a32d5fedc22a9174aca7eb07 --label arch=arm64 --label version=0.0.0 . [2024-03-20T19:15:15.674Z] Sending build context to Docker daemon 11.6MB [2024-03-20T19:15:15.674Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T19:15:15.674Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-20T19:15:15.674Z] ---> 771b161a0b48 [2024-03-20T19:15:15.674Z] Step 3/23 : ARG MAKE=make build [2024-03-20T19:15:15.940Z] ---> Running in 7d1c6eb8d283 [2024-03-20T19:15:16.207Z] Removing intermediate container 7d1c6eb8d283 [2024-03-20T19:15:16.207Z] ---> 7c5872ced349 [2024-03-20T19:15:16.207Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-20T19:15:16.207Z] ---> Running in 76a89d43a096 [2024-03-20T19:15:16.478Z] Removing intermediate container 76a89d43a096 [2024-03-20T19:15:16.478Z] ---> 8145f1f5b273 [2024-03-20T19:15:16.478Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T19:15:16.752Z] ---> Running in 2fc61c0af51b [2024-03-20T19:15:17.018Z] Removing intermediate container 2fc61c0af51b [2024-03-20T19:15:17.018Z] ---> 56f7964a0c92 [2024-03-20T19:15:17.018Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-20T19:15:17.018Z] ---> Running in f4a2ec879ff2 [2024-03-20T19:15:17.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T19:15:18.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T19:15:19.969Z] OK: 266 MiB in 52 packages [2024-03-20T19:15:20.553Z] Removing intermediate container f4a2ec879ff2 [2024-03-20T19:15:20.553Z] ---> 6b770737e08f [2024-03-20T19:15:20.553Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-20T19:15:21.136Z] ---> 2c04aa7f5af1 [2024-03-20T19:15:21.136Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T19:15:21.136Z] ---> Running in 65c85694568d [2024-03-20T19:15:23.707Z] Removing intermediate container 65c85694568d [2024-03-20T19:15:23.707Z] ---> c390044ba7fb [2024-03-20T19:15:23.707Z] Step 9/23 : COPY . . [2024-03-20T19:15:25.111Z] ---> 1f29ada049b1 [2024-03-20T19:15:25.111Z] Step 10/23 : RUN ${MAKE} [2024-03-20T19:15:25.111Z] ---> Running in 68cd6e0aba14 [2024-03-20T19:15:26.067Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-03-20T19:18:17.786Z] Removing intermediate container 68cd6e0aba14 [2024-03-20T19:18:17.786Z] ---> 749a6823e218 [2024-03-20T19:18:17.786Z] Step 11/23 : FROM alpine:3.18 [2024-03-20T19:18:17.786Z] 3.18: Pulling from library/alpine [2024-03-20T19:18:17.786Z] c6b39de5b339: Pulling fs layer [2024-03-20T19:18:17.787Z] c6b39de5b339: Verifying Checksum [2024-03-20T19:18:17.787Z] c6b39de5b339: Download complete [2024-03-20T19:18:17.787Z] c6b39de5b339: Pull complete [2024-03-20T19:18:17.787Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-20T19:18:17.787Z] Status: Downloaded newer image for alpine:3.18 [2024-03-20T19:18:17.787Z] ---> 33abbf032149 [2024-03-20T19:18:17.787Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-20T19:18:17.787Z] ---> Running in 479da0e3b34c [2024-03-20T19:18:17.787Z] Removing intermediate container 479da0e3b34c [2024-03-20T19:18:17.787Z] ---> 0da214074e43 [2024-03-20T19:18:17.787Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-20T19:18:17.787Z] ---> Running in e2f8001258ca [2024-03-20T19:18:17.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T19:18:17.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T19:18:17.787Z] OK: 8 MiB in 15 packages [2024-03-20T19:18:17.787Z] Removing intermediate container e2f8001258ca [2024-03-20T19:18:17.787Z] ---> 6dbce698d3c5 [2024-03-20T19:18:17.787Z] Step 14/23 : WORKDIR / [2024-03-20T19:18:17.787Z] ---> Running in d820e2a01cfd [2024-03-20T19:18:18.055Z] Removing intermediate container d820e2a01cfd [2024-03-20T19:18:18.055Z] ---> 49a796395333 [2024-03-20T19:18:18.055Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-20T19:18:18.639Z] ---> 5aa0627e52b0 [2024-03-20T19:18:18.639Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-20T19:18:20.598Z] ---> edd91fee28be [2024-03-20T19:18:20.598Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-20T19:18:21.184Z] ---> 6bdd26a589d5 [2024-03-20T19:18:21.184Z] Step 18/23 : EXPOSE 59999 [2024-03-20T19:18:21.184Z] ---> Running in 121e7d70d286 [2024-03-20T19:18:21.452Z] Removing intermediate container 121e7d70d286 [2024-03-20T19:18:21.452Z] ---> 9ce87eccfaa1 [2024-03-20T19:18:21.452Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-20T19:18:21.452Z] ---> Running in 8aebdbbebddf [2024-03-20T19:18:21.720Z] Removing intermediate container 8aebdbbebddf [2024-03-20T19:18:21.720Z] ---> 548af90d46fc [2024-03-20T19:18:21.720Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-20T19:18:21.988Z] ---> Running in 5d36986bd609 [2024-03-20T19:18:22.255Z] Removing intermediate container 5d36986bd609 [2024-03-20T19:18:22.255Z] ---> 68da35ed1dcc [2024-03-20T19:18:22.255Z] Step 21/23 : LABEL arch=arm64 [2024-03-20T19:18:22.255Z] ---> Running in 5b385548f8f0 [2024-03-20T19:18:22.521Z] Removing intermediate container 5b385548f8f0 [2024-03-20T19:18:22.522Z] ---> 5895a8047f61 [2024-03-20T19:18:22.522Z] Step 22/23 : LABEL git_sha=9b367c880bb900e5a32d5fedc22a9174aca7eb07 [2024-03-20T19:18:22.788Z] ---> Running in 8167bf4d87fa [2024-03-20T19:18:23.058Z] Removing intermediate container 8167bf4d87fa [2024-03-20T19:18:23.058Z] ---> 4931919769d7 [2024-03-20T19:18:23.058Z] Step 23/23 : LABEL version=0.0.0 [2024-03-20T19:18:23.058Z] ---> Running in 62ef7aa76d31 [2024-03-20T19:18:23.323Z] Removing intermediate container 62ef7aa76d31 [2024-03-20T19:18:23.323Z] ---> 51aa76a1e008 [2024-03-20T19:18:23.323Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-20T19:18:23.323Z] Successfully built 51aa76a1e008 [2024-03-20T19:18:23.323Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:18:24.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T19:18:24.160Z] [2024-03-20T19:18:24.160Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:18:24.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T19:18:24.562Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-20T19:18:24.562Z] 8998bd30e6a1: Pulling fs layer [2024-03-20T19:18:24.562Z] 04944245beec: Pulling fs layer [2024-03-20T19:18:24.562Z] 699f458cf7ca: Pulling fs layer [2024-03-20T19:18:24.562Z] 765212b225bb: Pulling fs layer [2024-03-20T19:18:24.562Z] f23df028b6ca: Pulling fs layer [2024-03-20T19:18:24.562Z] d65c8cfc05b1: Pulling fs layer [2024-03-20T19:18:24.562Z] 2437ff75d9bd: Pulling fs layer [2024-03-20T19:18:24.562Z] 765212b225bb: Waiting [2024-03-20T19:18:24.563Z] f23df028b6ca: Waiting [2024-03-20T19:18:24.563Z] d65c8cfc05b1: Waiting [2024-03-20T19:18:24.563Z] 2437ff75d9bd: Waiting [2024-03-20T19:18:24.829Z] 04944245beec: Verifying Checksum [2024-03-20T19:18:24.829Z] 04944245beec: Download complete [2024-03-20T19:18:24.829Z] 765212b225bb: Verifying Checksum [2024-03-20T19:18:24.829Z] 765212b225bb: Download complete [2024-03-20T19:18:24.829Z] f23df028b6ca: Verifying Checksum [2024-03-20T19:18:24.829Z] f23df028b6ca: Download complete [2024-03-20T19:18:24.829Z] d65c8cfc05b1: Verifying Checksum [2024-03-20T19:18:24.829Z] d65c8cfc05b1: Download complete [2024-03-20T19:18:25.095Z] 699f458cf7ca: Verifying Checksum [2024-03-20T19:18:25.095Z] 699f458cf7ca: Download complete [2024-03-20T19:18:25.361Z] 8998bd30e6a1: Verifying Checksum [2024-03-20T19:18:25.361Z] 8998bd30e6a1: Download complete [2024-03-20T19:18:27.932Z] 2437ff75d9bd: Verifying Checksum [2024-03-20T19:18:27.932Z] 2437ff75d9bd: Download complete [2024-03-20T19:18:29.873Z] 8998bd30e6a1: Pull complete [2024-03-20T19:18:30.456Z] 04944245beec: Pull complete [2024-03-20T19:18:32.399Z] 699f458cf7ca: Pull complete [2024-03-20T19:18:32.399Z] 765212b225bb: Pull complete [2024-03-20T19:18:33.355Z] f23df028b6ca: Pull complete [2024-03-20T19:18:33.355Z] d65c8cfc05b1: Pull complete [2024-03-20T19:18:51.540Z] 2437ff75d9bd: Pull complete [2024-03-20T19:18:51.540Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-20T19:18:51.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T19:18:51.540Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:18:51.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-462 does not seem to be running inside a container [2024-03-20T19:18:51.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-20T19:18:54.629Z] $ docker top d089cd280daa8283ea5d26418bd7acfb683d765cef4855a60494aff0671c17e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:18:55.534Z] ---> job-cost.sh [2024-03-20T19:18:55.534Z] lf-activate-venv: SKIPPING [2024-03-20T19:18:55.534Z] INFO: No Stack... [2024-03-20T19:18:55.800Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-20T19:18:56.755Z] INFO: Archiving Costs [Pipeline] sh [2024-03-20T19:18:57.408Z] + cut -d,+ -f6 [2024-03-20T19:18:57.409Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2024-03-20T19:18:57.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] [2024-03-20T19:18:57.490Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] did not exist. Created. [2024-03-20T19:18:57.495Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-20T19:18:58.224Z] /w/workspace/device-sdk-go/1@tmp/durable-15f2d449/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-20T19:18:58.883Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-20T19:18:58.921Z] Warning: overwriting stash ‘stack-cost’ [2024-03-20T19:18:58.995Z] Stashed 1 file(s) [Pipeline] } [2024-03-20T19:18:59.010Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1569-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-20T19:18:59.098Z] $ docker stop --time=1 d089cd280daa8283ea5d26418bd7acfb683d765cef4855a60494aff0671c17e6 [2024-03-20T19:19:00.604Z] $ docker rm -f --volumes d089cd280daa8283ea5d26418bd7acfb683d765cef4855a60494aff0671c17e6 [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-03-20T19:19:01.749Z] provisioning config files... [2024-03-20T19:19:01.761Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/config6883738798487184188tmp [Pipeline] { [Pipeline] sh [2024-03-20T19:19:02.098Z] + set +x [2024-03-20T19:19:02.098Z] + curl -s https://codecov.io/bash [2024-03-20T19:19:02.098Z] + bash -s -- [2024-03-20T19:19:02.098Z] [2024-03-20T19:19:02.098Z] _____ _ [2024-03-20T19:19:02.098Z] / ____| | | [2024-03-20T19:19:02.098Z] | | ___ __| | ___ ___ _____ __ [2024-03-20T19:19:02.098Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-20T19:19:02.098Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-20T19:19:02.098Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-20T19:19:02.098Z] Bash-1.0.6 [2024-03-20T19:19:02.098Z] [2024-03-20T19:19:02.098Z] [2024-03-20T19:19:02.098Z] ==> git version 2.25.1 found [2024-03-20T19:19:02.098Z] ==> 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-03-20T19:19:02.098Z] Release-Date: 2020-01-08 [2024-03-20T19:19:02.098Z] 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-03-20T19:19:02.098Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-20T19:19:02.099Z] ==> Jenkins CI detected. [2024-03-20T19:19:02.099Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1569 [2024-03-20T19:19:02.099Z] project root: . [2024-03-20T19:19:02.099Z] --> token set from env [2024-03-20T19:19:02.099Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-20T19:19:02.360Z] ==> Running gcov in . (disable via -X gcov) [2024-03-20T19:19:02.360Z] ==> Python coveragepy not found [2024-03-20T19:19:02.360Z] ==> Searching for coverage reports in: [2024-03-20T19:19:02.360Z] + . [2024-03-20T19:19:02.360Z] -> Found 1 reports [2024-03-20T19:19:02.360Z] ==> Detecting git/mercurial file structure [2024-03-20T19:19:02.360Z] ==> Reading reports [2024-03-20T19:19:02.360Z] + ./coverage.out bytes=122153 [2024-03-20T19:19:02.360Z] ==> Appending adjustments [2024-03-20T19:19:02.360Z] https://docs.codecov.io/docs/fixing-reports [2024-03-20T19:19:02.621Z] + Found adjustments [2024-03-20T19:19:02.621Z] ==> Gzipping contents [2024-03-20T19:19:02.621Z] 20K /tmp/codecov.ItCWXY.gz [2024-03-20T19:19:02.621Z] ==> Uploading reports [2024-03-20T19:19:02.621Z] url: https://codecov.io [2024-03-20T19:19:02.621Z] query: branch=PR-1569&commit=9b367c880bb900e5a32d5fedc22a9174aca7eb07&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1569%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1569&job=&cmd_args= [2024-03-20T19:19:02.621Z] -> Pinging Codecov [2024-03-20T19:19:02.622Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1569&commit=9b367c880bb900e5a32d5fedc22a9174aca7eb07&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1569%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1569&job=&cmd_args= [2024-03-20T19:19:02.882Z] -> Uploading to [2024-03-20T19:19:02.883Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-20/7E55EF52A471D76F132DFD9A03CDDE97/9b367c880bb900e5a32d5fedc22a9174aca7eb07/d216fc4a-942f-4d09-bd4b-10e15355f7d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240320T191902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6016dda3dbbcc37bcbe0e580d968449a3e3b0ace2e1ea1893666c8323f31506c [2024-03-20T19:19:02.883Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-20T19:19:02.883Z] Dload Upload Total Spent Left Speed [2024-03-20T19:19:03.143Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 64160 --:--:-- --:--:-- --:--:-- 64160 [2024-03-20T19:19:03.143Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9b367c880bb900e5a32d5fedc22a9174aca7eb07 [Pipeline] } [2024-03-20T19:19:03.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-03-20T19:19:05.088Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives ] [2024-03-20T19:19:05.088Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives [2024-03-20T19:19:05.088Z] total 16 [2024-03-20T19:19:05.088Z] drwxr-xr-x 3 root root 4096 Mar 20 19:06 . [2024-03-20T19:19:05.088Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 19:06 .. [2024-03-20T19:19:05.088Z] drwxr-xr-x 2 root root 4096 Mar 20 19:06 cost [2024-03-20T19:19:05.088Z] -rw-r--r-- 1 root root 86 Mar 20 19:06 cost.csv [2024-03-20T19:19:05.088Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives [2024-03-20T19:19:05.088Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives [2024-03-20T19:19:05.088Z] total 16 [2024-03-20T19:19:05.088Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 19:06 . [2024-03-20T19:19:05.088Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 19:06 .. [2024-03-20T19:19:05.088Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 19:06 cost [2024-03-20T19:19:05.088Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 19:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:05.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:06.304Z] ---> package-listing.sh [2024-03-20T19:19:06.304Z] ++ facter osfamily [2024-03-20T19:19:06.304Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-20T19:19:06.563Z] + OS_FAMILY=debian [2024-03-20T19:19:06.563Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1569 [2024-03-20T19:19:06.563Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-20T19:19:06.563Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-20T19:19:06.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-20T19:19:06.563Z] + PACKAGES=/tmp/packages_start.txt [2024-03-20T19:19:06.563Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1569 ']' [2024-03-20T19:19:06.563Z] + PACKAGES=/tmp/packages_end.txt [2024-03-20T19:19:06.563Z] + case "${OS_FAMILY}" in [2024-03-20T19:19:06.563Z] + dpkg -l [2024-03-20T19:19:06.563Z] + grep '^ii' [2024-03-20T19:19:06.563Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-20T19:19:06.563Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-20T19:19:06.563Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-20T19:19:06.563Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1569 ']' [2024-03-20T19:19:06.563Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives/ [2024-03-20T19:19:06.563Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1569/archives/ [Pipeline] echo [2024-03-20T19:19:06.598Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1569/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-20T19:19:06.907Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T19:19:07.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T19:19:07.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T19:19:07.704Z] prd-ubuntu20.04-docker-8c-8g-460 does not seem to be running inside a container [2024-03-20T19:19:07.722Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1569/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1569 -v /w/workspace/gexfoundry_device-sdk-go_PR-1569:/w/workspace/gexfoundry_device-sdk-go_PR-1569:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-20T19:19:07.981Z] $ docker top 83d2400a31aac863fed4d34a865c8b06860c063a5c7d6cdf04a5c832d58e574e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T19:19:08.452Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-20T19:19:08.848Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-20T19:19:09.162Z] + ls /var/log/sa-host [2024-03-20T19:19:09.162Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T19:19:09.393Z] provisioning config files... [2024-03-20T19:19:09.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1569@tmp/config1786904065961942111tmp [Pipeline] { [Pipeline] echo [2024-03-20T19:19:09.467Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:09.779Z] ---> create-netrc.sh [Pipeline] } [2024-03-20T19:19:09.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:10.217Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-20T19:19:10.254Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:10.567Z] ---> sudo-logs.sh [2024-03-20T19:19:10.567Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-20T19:19:10.722Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:11.048Z] ---> job-cost.sh [2024-03-20T19:19:11.048Z] lf-activate-venv: SKIPPING [2024-03-20T19:19:11.048Z] DEBUG: total: 0.2199999988079071 [2024-03-20T19:19:11.048Z] INFO: Retrieving Stack Cost... [2024-03-20T19:19:11.619Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-20T19:19:11.881Z] INFO: Archiving Costs [Pipeline] echo [2024-03-20T19:19:11.914Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T19:19:12.223Z] ---> logs-deploy.sh [2024-03-20T19:19:12.223Z] lf-activate-venv: SKIPPING [2024-03-20T19:19:12.223Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1569/1 [2024-03-20T19:19:12.223Z] INFO: archiving workspace using pattern(s): [2024-03-20T19:19:13.164Z] Archives upload complete. [2024-03-20T19:19:13.164Z] INFO: archiving logs to Nexus