Branch indexing 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+decf7a4867f03271291a6465384c5ba130c9fec8 (4853b5fea8903ded32a239de8c037ee2b3be729c) 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-ssh13327242898751265287.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-ssh11055102455180965127.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18071990082684743334.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 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-ssh11646353290353839063.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10319730805065060986.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-597’ is offline Running on prd-ubuntu20.04-docker-8c-8g-599 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e Checking out Revision 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e (PR-1540) > 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e # timeout=10 Commit message: "Merge commit 'decf7a4867f03271291a6465384c5ba130c9fec8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:34 ========================================================= 18:41:34 EdgeX Global Pipelines Version Info 18:41:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 560b543060106dc818bb536252f2bc4c9dab5e1d # timeout=10 18:41:35 ------------------- 18:41:35 stable info: 18:41:35 ------------------- 18:41:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:41:35 Message: update stable to v1.0.258 18:41:36 ------------------- 18:41:36 experimental info: 18:41:36 ------------------- 18:41:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:36 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:41:36 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69c78d5 [Pipeline] echo 18:41:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:37 provisioning config files... 18:41:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config6361457505722021384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:37 ---> ****-login.sh 18:41:37 nexus3.edgexfoundry.org:10001 18:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:38 Configure a credential helper to remove this warning. See 18:41:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:38 18:41:38 Login Succeeded 18:41:38 nexus3.edgexfoundry.org:10002 18:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:38 Configure a credential helper to remove this warning. See 18:41:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:38 18:41:38 Login Succeeded 18:41:38 nexus3.edgexfoundry.org:10003 18:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:38 Configure a credential helper to remove this warning. See 18:41:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:38 18:41:38 Login Succeeded 18:41:38 nexus3.edgexfoundry.org:10004 18:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:38 Configure a credential helper to remove this warning. See 18:41:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:38 18:41:38 Login Succeeded 18:41:38 ****.io 18:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:38 Configure a credential helper to remove this warning. See 18:41:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:38 18:41:38 Login Succeeded 18:41:38 ---> ****-login.sh ends [Pipeline] } 18:41:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:39 + git rev-list -1 --merges 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e~1..69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e [Pipeline] echo 18:41:39 -----------> git rev-list -1 --merges 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e~1..69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e 18:41:39 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e [false] [Pipeline] sh 18:41:39 + git log --format=format:%s -1 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e [Pipeline] echo 18:41:39 ========================================================= 18:41:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:39 + git log --format=format:%s -1 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e [Pipeline] echo 18:41:39 [semverPrep] GIT_COMMIT: 69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e, Commit Message: Merge commit 'decf7a4867f03271291a6465384c5ba130c9fec8' into HEAD [Pipeline] echo 18:41:39 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:40 + grep -v github /etc/ssh/ssh_known_hosts 18:41:40 + [ -e /tmp/ssh_known_hosts ] 18:41:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:40 + + sudo tee -a /etc/ssh/ssh_known_hosts 18:41:40 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:40 18:41:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:40 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:40 b85a868b505f: Pulling fs layer 18:41:40 e2be974225ed: Pulling fs layer 18:41:40 339a4e72a1f5: Pulling fs layer 18:41:40 988bab9f4d93: Pulling fs layer 18:41:40 1469e6f7b9e6: Pulling fs layer 18:41:40 eaf3925da568: Pulling fs layer 18:41:40 bab4dde63d76: Pulling fs layer 18:41:40 bde34c3a00c8: Pulling fs layer 18:41:40 b352a97aabf1: Pulling fs layer 18:41:40 4872d77fe225: Pulling fs layer 18:41:40 5851b861e8e6: Pulling fs layer 18:41:40 988bab9f4d93: Waiting 18:41:40 1469e6f7b9e6: Waiting 18:41:40 eaf3925da568: Waiting 18:41:40 bab4dde63d76: Waiting 18:41:40 bde34c3a00c8: Waiting 18:41:40 b352a97aabf1: Waiting 18:41:40 4872d77fe225: Waiting 18:41:40 5851b861e8e6: Waiting 18:41:40 e2be974225ed: Download complete 18:41:40 988bab9f4d93: Verifying Checksum 18:41:40 988bab9f4d93: Download complete 18:41:40 1469e6f7b9e6: Verifying Checksum 18:41:40 1469e6f7b9e6: Download complete 18:41:40 eaf3925da568: Download complete 18:41:41 339a4e72a1f5: Verifying Checksum 18:41:41 339a4e72a1f5: Download complete 18:41:41 bde34c3a00c8: Download complete 18:41:41 b352a97aabf1: Verifying Checksum 18:41:41 4872d77fe225: Verifying Checksum 18:41:41 4872d77fe225: Download complete 18:41:41 5851b861e8e6: Verifying Checksum 18:41:41 5851b861e8e6: Download complete 18:41:41 b85a868b505f: Verifying Checksum 18:41:41 b85a868b505f: Download complete 18:41:41 bab4dde63d76: Verifying Checksum 18:41:41 bab4dde63d76: Download complete 18:41:42 b85a868b505f: Pull complete 18:41:42 e2be974225ed: Pull complete 18:41:42 339a4e72a1f5: Pull complete 18:41:42 988bab9f4d93: Pull complete 18:41:43 1469e6f7b9e6: Pull complete 18:41:43 eaf3925da568: Pull complete 18:41:45 bab4dde63d76: Pull complete 18:41:45 bde34c3a00c8: Pull complete 18:41:45 b352a97aabf1: Pull complete 18:41:45 4872d77fe225: Pull complete 18:41:45 5851b861e8e6: Pull complete 18:41:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:45 prd-ubuntu20.04-docker-8c-8g-599 does not seem to be running inside a container 18:41:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:47 $ docker top aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a -eo pid,comm 18:41:47 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). 18:41:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:47 [ssh-agent] Looking for ssh-agent implementation... 18:41:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:47 $ docker exec aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a ssh-agent 18:41:48 SSH_AUTH_SOCK=/tmp/ssh-M7tsKXnl2wZM/agent.32 18:41:48 SSH_AGENT_PID=38 18:41:48 Running ssh-add (command line suppressed) 18:41:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_8732675522516257881.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_8732675522516257881.key) 18:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:48 + git tag --points-at HEAD [Pipeline] } 18:41:48 $ docker exec --env ******** --env ******** aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a ssh-agent -k 18:41:48 unset SSH_AUTH_SOCK; 18:41:48 unset SSH_AGENT_PID; 18:41:48 echo Agent pid 38 killed; 18:41:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:41:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:48 [ssh-agent] Looking for ssh-agent implementation... 18:41:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:48 $ docker exec aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a ssh-agent 18:41:48 SSH_AUTH_SOCK=/tmp/ssh-avFRxIwhqfjU/agent.71 18:41:48 SSH_AGENT_PID=77 18:41:48 Running ssh-add (command line suppressed) 18:41:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_5618635925258953184.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_5618635925258953184.key) 18:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:49 + git semver init 18:41:49 2024-03-21 18:41:49,420 [run_init] DEBUG init version:0.0.0 force:False 18:41:49 2024-03-21 18:41:49,421 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:41:49 2024-03-21 18:41:49,421 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:41:49 2024-03-21 18:41:49,422 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) 18:41:50 2024-03-21 18:41:50,659 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude 18:41:50 2024-03-21 18:41:50,660 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False 18:41:50 2024-03-21 18:41:50,660 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:41:50 2024-03-21 18:41:50,664 [execute] INFO git cat-file --batch-check 18:41:50 2024-03-21 18:41:50,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:41:50 2024-03-21 18:41:50,670 [execute] INFO git cat-file --batch 18:41:50 2024-03-21 18:41:50,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:41:50 2024-03-21 18:41:50,674 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:41:50 0.0.0 [Pipeline] } 18:41:50 $ docker exec --env ******** --env ******** aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a ssh-agent -k 18:41:51 unset SSH_AUTH_SOCK; 18:41:51 unset SSH_AGENT_PID; 18:41:51 echo Agent pid 77 killed; 18:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:51 + git semver [Pipeline] } 18:41:51 $ docker stop --time=1 aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a 18:41:52 $ docker rm -f --volumes aaa89fed2d9a619ced88f8144df04e343cb2e6fc642abb342d04d08ddc5f407a [Pipeline] // withDockerContainer [Pipeline] sh 18:41:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:41:53 Stashed 1 file(s) [Pipeline] echo 18:41:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:53 provisioning config files... 18:41:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2817693354238824085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:54 ---> ****-login.sh 18:41:54 nexus3.edgexfoundry.org:10001 18:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:54 Configure a credential helper to remove this warning. See 18:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:54 18:41:54 Login Succeeded 18:41:54 nexus3.edgexfoundry.org:10002 18:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:54 Configure a credential helper to remove this warning. See 18:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:54 18:41:54 Login Succeeded 18:41:54 nexus3.edgexfoundry.org:10003 18:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:54 Configure a credential helper to remove this warning. See 18:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:54 18:41:54 Login Succeeded 18:41:54 nexus3.edgexfoundry.org:10004 18:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:54 Configure a credential helper to remove this warning. See 18:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:54 18:41:54 Login Succeeded 18:41:54 ****.io 18:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:54 Configure a credential helper to remove this warning. See 18:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:54 18:41:54 Login Succeeded 18:41:54 ---> ****-login.sh ends [Pipeline] } 18:41:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:41:54 ========================================================= 18:41:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:41:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:55 + 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 . 18:41:55 Sending build context to Docker daemon 22.04MB 18:41:55 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:41:55 Step 2/10 : FROM ${BASE} AS builder 18:41:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:41:55 7264a8db6415: Pulling fs layer 18:41:55 c4d48a809fc2: Pulling fs layer 18:41:55 4f1c88b9dad5: Pulling fs layer 18:41:55 ad3a456e5733: Pulling fs layer 18:41:55 69c7f0334f64: Pulling fs layer 18:41:55 1f1c1a5573a3: Pulling fs layer 18:41:55 ce7588e14bc9: Pulling fs layer 18:41:55 b5e4710f87ac: Pulling fs layer 18:41:55 1f1c1a5573a3: Waiting 18:41:55 ce7588e14bc9: Waiting 18:41:55 b5e4710f87ac: Waiting 18:41:55 ad3a456e5733: Waiting 18:41:55 69c7f0334f64: Waiting 18:41:55 c4d48a809fc2: Download complete 18:41:55 ad3a456e5733: Download complete 18:41:55 69c7f0334f64: Verifying Checksum 18:41:55 69c7f0334f64: Download complete 18:41:55 7264a8db6415: Verifying Checksum 18:41:55 7264a8db6415: Download complete 18:41:55 1f1c1a5573a3: Verifying Checksum 18:41:55 1f1c1a5573a3: Download complete 18:41:55 7264a8db6415: Pull complete 18:41:55 b5e4710f87ac: Download complete 18:41:55 c4d48a809fc2: Pull complete 18:41:55 4f1c88b9dad5: Verifying Checksum 18:41:55 4f1c88b9dad5: Download complete 18:41:56 ce7588e14bc9: Verifying Checksum 18:41:56 ce7588e14bc9: Download complete 18:41:58 4f1c88b9dad5: Pull complete 18:41:58 ad3a456e5733: Pull complete 18:41:58 69c7f0334f64: Pull complete 18:41:58 1f1c1a5573a3: Pull complete 18:42:01 ce7588e14bc9: Pull complete 18:42:01 b5e4710f87ac: Pull complete 18:42:01 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:42:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:42:01 ---> 88b5674ff536 18:42:01 Step 3/10 : ARG MAKE=make build 18:42:05 ---> Running in b6eace538222 18:42:05 Removing intermediate container b6eace538222 18:42:05 ---> ef018c24dbf1 18:42:05 Step 4/10 : WORKDIR /device-sdk-go 18:42:05 ---> Running in 6cf059c9e43c 18:42:05 Removing intermediate container 6cf059c9e43c 18:42:05 ---> d806545b3f5f 18:42:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:05 ---> Running in 61f70eb4a731 18:42:05 Removing intermediate container 61f70eb4a731 18:42:05 ---> 95c5fcb1f236 18:42:05 Step 6/10 : RUN apk add --update --no-cache make git 18:42:05 ---> Running in b10a19fecc58 18:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:42:06 OK: 264 MiB in 52 packages 18:42:06 Removing intermediate container b10a19fecc58 18:42:06 ---> 7e7d0f4e3971 18:42:06 Step 7/10 : COPY go.mod vendor* ./ 18:42:06 ---> 69759a8b0fd9 18:42:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:06 ---> Running in 8fb291d4cc7c 18:42:08 Still waiting to schedule task 18:42:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-598’ is offline 18:43:03 Removing intermediate container 8fb291d4cc7c 18:43:03 ---> 1dbfed313a2e 18:43:03 Step 9/10 : COPY . . 18:43:03 ---> db2b170035c9 18:43:03 Step 10/10 : RUN ${MAKE} 18:43:03 ---> Running in d20417358fd9 18:43:03 noop 18:43:03 Removing intermediate container d20417358fd9 18:43:03 ---> 6b296e0770ae 18:43:03 Successfully built 6b296e0770ae 18:43:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:03 + docker inspect -f . ci-base-image-x86_64 18:43:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:03 prd-ubuntu20.04-docker-8c-8g-599 does not seem to be running inside a container 18:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:03 $ docker top 92123873c3c33a69453b191743c69602376718ddd94d78f97a7a48c0657c41a6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:04 + go version 18:43:04 go version go1.21.0 linux/amd64 [Pipeline] } 18:43:04 $ docker stop --time=1 92123873c3c33a69453b191743c69602376718ddd94d78f97a7a48c0657c41a6 18:43:05 $ docker rm -f --volumes 92123873c3c33a69453b191743c69602376718ddd94d78f97a7a48c0657c41a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:06 + docker inspect -f . ci-base-image-x86_64 18:43:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:06 prd-ubuntu20.04-docker-8c-8g-599 does not seem to be running inside a container 18:43:06 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:06 $ docker top b1349e4823aeedd9d9712b567ce039901630eb59dc48b739675d2a54bd75d6a8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh 18:43:07 + make test 18:43:07 go test -race -coverprofile=coverage.out ./... 18:43:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-600 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws 18:43:42 Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout 18:43:45 The recommended git tool is: git 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 18:43:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.048s coverage: 81.5% of statements 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements 18:43:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.102s coverage: 71.8% of statements 18:43:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements 18:43:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.856s coverage: 45.9% of statements 18:43:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.066s coverage: 68.5% of statements 18:43:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements 18:43:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.060s coverage: 5.5% of statements 18:43:50 using credential edgex-jenkins-ssh 18:43:50 Cloning the remote Git repository 18:43:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:43:50 > git init /w/workspace/device-sdk-go/14 # timeout=10 18:43:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:50 > git --version # timeout=10 18:43:50 > git --version # 'git version 2.25.1' 18:43:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:43:55 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 18:43:55 Merge succeeded, producing b77db3f387f694c6482064b4e4d73f70bc25cd22 18:43:55 Checking out Revision b77db3f387f694c6482064b4e4d73f70bc25cd22 (PR-1540) 18:43:55 > git config core.sparsecheckout # timeout=10 18:43:55 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 18:43:55 > git remote # timeout=10 18:43:55 > git config --get remote.origin.url # timeout=10 18:43:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:55 > git merge decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 18:43:55 > git rev-parse HEAD^{commit} # timeout=10 18:43:55 > git config core.sparsecheckout # timeout=10 18:43:55 > git checkout -f b77db3f387f694c6482064b4e4d73f70bc25cd22 # timeout=10 18:43:58 Commit message: "Merge commit 'decf7a4867f03271291a6465384c5ba130c9fec8' into HEAD" 18:43:59 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:58 > git rev-list --no-walk 560b543060106dc818bb536252f2bc4c9dab5e1d # timeout=10 18:44:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:00 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:00 Dload Upload Total Spent Left Speed 18:44:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 18:44:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:01 + sudo tee /etc/docker/daemon.new 18:44:01 { 18:44:01 "registry-mirrors": [ 18:44:01 "https://nexus3.edgexfoundry.org:10001" 18:44:01 ], 18:44:01 "bip": "10.250.0.254/24", 18:44:01 "hosts": [ 18:44:01 "tcp://0.0.0.0:5555", 18:44:01 "unix:///var/run/docker.sock" 18:44:01 ], 18:44:01 "mtu": 1458, 18:44:01 "selinux-enabled": true, 18:44:01 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:01 } [Pipeline] sh 18:44:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:01 + sudo service docker restart 18:44:16 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:20 provisioning config files... 18:44:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/14@tmp/config9849079650129424978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:20 ./bin/test-attribution-txt.sh 18:44:20 ---> ****-login.sh 18:44:20 nexus3.edgexfoundry.org:10001 18:44:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:44:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:44:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:44:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:44:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:44:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:44:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:44:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:44:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:44:20 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:44:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:44:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:44:20 $ docker stop --time=1 b1349e4823aeedd9d9712b567ce039901630eb59dc48b739675d2a54bd75d6a8 18:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:21 Configure a credential helper to remove this warning. See 18:44:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:21 18:44:21 Login Succeeded 18:44:21 nexus3.edgexfoundry.org:10002 18:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:21 Configure a credential helper to remove this warning. See 18:44:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:21 18:44:21 Login Succeeded 18:44:21 nexus3.edgexfoundry.org:10003 18:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:21 Configure a credential helper to remove this warning. See 18:44:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:21 18:44:21 Login Succeeded 18:44:21 nexus3.edgexfoundry.org:10004 18:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:22 Configure a credential helper to remove this warning. See 18:44:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:22 18:44:22 Login Succeeded 18:44:22 ****.io 18:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:22 Configure a credential helper to remove this warning. See 18:44:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:22 18:44:22 Login Succeeded 18:44:22 ---> ****-login.sh ends 18:44:25 $ docker rm -f --volumes b1349e4823aeedd9d9712b567ce039901630eb59dc48b739675d2a54bd75d6a8 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 18:44:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:44:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 18:44:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:44:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:44:26 ========================================================= 18:44:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:44:26 ========================================================= [Pipeline] fileExists 18:44:26 Stashed 1 file(s) [Pipeline] } [Pipeline] fileExists [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh 18:44:26 + 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 . 18:44:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:26 + ls -al . 18:44:26 total 376 18:44:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 18:43 . 18:44:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:41 .. 18:44:26 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 18:41 .dockerignore 18:44:26 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:43 .git 18:44:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:41 .github 18:44:26 -rw-rw-r-- 1 jenkins jenkins 137 Mar 21 18:41 .gitignore 18:44:26 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 18:41 .golangci.yml 18:44:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:41 .semver 18:44:26 -rw-rw-r-- 1 jenkins jenkins 48109 Mar 21 18:41 CHANGELOG.md 18:44:26 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 18:41 GOVERNANCE.md 18:44:26 -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 18:41 Jenkinsfile 18:44:26 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 18:41 LICENSE 18:44:26 -rw-rw-r-- 1 jenkins jenkins 1842 Mar 21 18:41 Makefile 18:44:26 -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 18:41 OWNERS.md 18:44:26 -rw-rw-r-- 1 jenkins jenkins 4933 Mar 21 18:41 README.md 18:44:26 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 18:41 VERSION 18:44:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 18:41 bin 18:44:26 -rw-r--r-- 1 jenkins jenkins 122153 Mar 21 18:43 coverage.out 18:44:26 drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 18:41 example 18:44:26 -rw-rw-r-- 1 jenkins jenkins 7070 Mar 21 18:41 go.mod 18:44:26 -rw-rw-r-- 1 jenkins jenkins 100964 Mar 21 18:41 go.sum 18:44:26 drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 18:41 internal 18:44:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:41 openapi 18:44:26 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 18:41 pkg 18:44:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:41 snap 18:44:26 -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:27 Sending build context to Docker daemon 11.43MB 18:44:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:44:27 Step 2/10 : FROM ${BASE} AS builder 18:44:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:27 9fda8d8052c6: Pulling fs layer 18:44:27 5d54e960e981: Pulling fs layer 18:44:27 c4a7e357bf2a: Pulling fs layer 18:44:27 f0e02332f6b5: Pulling fs layer 18:44:27 872ee5b61b7b: Pulling fs layer 18:44:27 0c6a40ed1a82: Pulling fs layer 18:44:27 94ae7d8d031c: Pulling fs layer 18:44:27 f0e02332f6b5: Waiting 18:44:27 872ee5b61b7b: Waiting 18:44:27 0c6a40ed1a82: Waiting 18:44:27 5d54e960e981: Verifying Checksum 18:44:27 5d54e960e981: Download complete 18:44:27 + 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=69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e --label arch=amd64 --label version=0.0.0 . 18:44:27 Sending build context to Docker daemon 22.17MB 18:44:27 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:44:27 Step 2/24 : FROM ${BASE} AS builder 18:44:27 ---> 6b296e0770ae 18:44:27 Step 3/24 : ARG MAKE=make build 18:44:27 f0e02332f6b5: Verifying Checksum 18:44:27 f0e02332f6b5: Download complete 18:44:27 872ee5b61b7b: Verifying Checksum 18:44:27 872ee5b61b7b: Download complete 18:44:27 9fda8d8052c6: Verifying Checksum 18:44:27 9fda8d8052c6: Download complete 18:44:27 ---> Running in 6884bfa7c033 18:44:27 94ae7d8d031c: Verifying Checksum 18:44:27 94ae7d8d031c: Download complete 18:44:27 Removing intermediate container 6884bfa7c033 18:44:27 ---> 0daa0a5d0102 18:44:27 Step 4/24 : WORKDIR /device-sdk-go 18:44:27 ---> Running in ee252d88f8e8 18:44:27 Removing intermediate container ee252d88f8e8 18:44:27 ---> 87fc57c6de83 18:44:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:27 ---> Running in 0ae534032b91 18:44:28 Removing intermediate container 0ae534032b91 18:44:28 ---> 6c9cb758f652 18:44:28 Step 6/24 : RUN apk add --update --no-cache make git 18:44:28 ---> Running in b65a41da8ef6 18:44:28 9fda8d8052c6: Pull complete 18:44:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:44:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:44:28 OK: 264 MiB in 52 packages 18:44:28 5d54e960e981: Pull complete 18:44:28 Removing intermediate container b65a41da8ef6 18:44:28 ---> 6f0f624ef02b 18:44:28 Step 7/24 : COPY go.mod vendor* ./ 18:44:29 c4a7e357bf2a: Verifying Checksum 18:44:29 c4a7e357bf2a: Download complete 18:44:29 ---> dd256522392b 18:44:29 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:29 ---> Running in cadc6bef344e 18:44:29 Removing intermediate container cadc6bef344e 18:44:29 ---> 20571fd61911 18:44:29 Step 9/24 : COPY . . 18:44:29 0c6a40ed1a82: Verifying Checksum 18:44:29 0c6a40ed1a82: Download complete 18:44:30 ---> 59e301bbd617 18:44:30 Step 10/24 : RUN ${MAKE} 18:44:30 ---> Running in 61cb3a199e09 18:44:30 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 18:44:42 c4a7e357bf2a: Pull complete 18:44:42 f0e02332f6b5: Pull complete 18:44:42 872ee5b61b7b: Pull complete 18:44:50 0c6a40ed1a82: Pull complete 18:44:51 94ae7d8d031c: Pull complete 18:44:51 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:44:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:44:51 ---> 86de565de09d 18:44:51 Step 3/10 : ARG MAKE=make build 18:44:53 ---> Running in 34da2526854c 18:44:53 Removing intermediate container 34da2526854c 18:44:53 ---> 076fcd0679e2 18:44:53 Step 4/10 : WORKDIR /device-sdk-go 18:44:53 ---> Running in ddfc1c7bc11a 18:44:54 Removing intermediate container ddfc1c7bc11a 18:44:54 ---> 3f60c29cfd96 18:44:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:54 ---> Running in db8e529ff2c0 18:44:54 Removing intermediate container db8e529ff2c0 18:44:54 ---> 2471f9c6669c 18:44:54 Step 6/10 : RUN apk add --update --no-cache make git 18:44:54 ---> Running in 646f90c18db7 18:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:44:57 OK: 266 MiB in 52 packages 18:44:58 Removing intermediate container 646f90c18db7 18:44:58 ---> 370c281386eb 18:44:58 Step 7/10 : COPY go.mod vendor* ./ 18:44:58 ---> 394cf60dca71 18:44:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:58 ---> Running in 30cb37126e2e 18:45:02 Removing intermediate container 61cb3a199e09 18:45:02 ---> 972d38314045 18:45:02 Step 11/24 : FROM alpine:3.18 18:45:02 3.18: Pulling from library/alpine 18:45:02 619be1103602: Pulling fs layer 18:45:02 619be1103602: Download complete 18:45:02 619be1103602: Pull complete 18:45:02 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:45:02 Status: Downloaded newer image for alpine:3.18 18:45:02 ---> d3782b16ccc9 18:45:02 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:45:02 ---> Running in f9ca1928f733 18:45:02 Removing intermediate container f9ca1928f733 18:45:02 ---> c2ea84dc97da 18:45:02 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:45:02 ---> Running in 7a3c1e920cc7 18:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:45:02 (1/1) Installing dumb-init (1.2.5-r2) 18:45:02 Executing busybox-1.36.1-r5.trigger 18:45:02 OK: 7 MiB in 16 packages 18:45:02 Removing intermediate container 7a3c1e920cc7 18:45:02 ---> fa7bbf492dcb 18:45:02 Step 14/24 : RUN apk --no-cache upgrade 18:45:02 ---> Running in e2f8659a40b0 18:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:45:02 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:45:02 OK: 7 MiB in 16 packages 18:45:02 Removing intermediate container e2f8659a40b0 18:45:02 ---> 938bf6270a77 18:45:02 Step 15/24 : WORKDIR / 18:45:02 ---> Running in 51b80638b29f 18:45:02 Removing intermediate container 51b80638b29f 18:45:02 ---> 1b1f0c1a6f2f 18:45:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:45:02 ---> 68976fed0350 18:45:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:45:02 ---> c3e07eec2697 18:45:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:45:02 ---> 3b5799afc94e 18:45:02 Step 19/24 : EXPOSE 59999 18:45:02 ---> Running in 1414a1b12df3 18:45:02 Removing intermediate container 1414a1b12df3 18:45:02 ---> 7ba5bb424da9 18:45:02 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:45:02 ---> Running in ebaf2e260fa0 18:45:02 Removing intermediate container ebaf2e260fa0 18:45:02 ---> 6408d3075780 18:45:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:45:02 ---> Running in 6df09a3e7f1d 18:45:02 Removing intermediate container 6df09a3e7f1d 18:45:02 ---> 6d2de5199a36 18:45:02 Step 22/24 : LABEL arch=amd64 18:45:02 ---> Running in 1641f2a68cd6 18:45:02 Removing intermediate container 1641f2a68cd6 18:45:02 ---> 6e24ccadf6e2 18:45:02 Step 23/24 : LABEL git_sha=69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e 18:45:02 ---> Running in b89188b559e1 18:45:02 Removing intermediate container b89188b559e1 18:45:02 ---> 0f75f2c8bd45 18:45:02 Step 24/24 : LABEL version=0.0.0 18:45:02 ---> Running in 1fa29b3607bf 18:45:02 Removing intermediate container 1fa29b3607bf 18:45:02 ---> ec02e80a3207 18:45:02 [Warning] One or more build-args [ARCH] were not consumed 18:45:02 Successfully built ec02e80a3207 18:45:02 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 18:45:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:03 18:45:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:03 latest: Pulling from edgex-lftools-log-publisher 18:45:03 5eb5b503b376: Pulling fs layer 18:45:03 5c69ac0246d0: Pulling fs layer 18:45:03 ec43610c2a17: Pulling fs layer 18:45:03 3a2ae6a8a46f: Pulling fs layer 18:45:03 33b1e0a273af: Pulling fs layer 18:45:03 5d3b04190fa2: Pulling fs layer 18:45:03 2f39f015ded8: Pulling fs layer 18:45:03 3a2ae6a8a46f: Waiting 18:45:03 5d3b04190fa2: Waiting 18:45:03 2f39f015ded8: Waiting 18:45:03 33b1e0a273af: Waiting 18:45:03 5c69ac0246d0: Download complete 18:45:03 3a2ae6a8a46f: Verifying Checksum 18:45:03 3a2ae6a8a46f: Download complete 18:45:03 33b1e0a273af: Verifying Checksum 18:45:03 5d3b04190fa2: Verifying Checksum 18:45:03 5d3b04190fa2: Download complete 18:45:03 ec43610c2a17: Verifying Checksum 18:45:03 ec43610c2a17: Download complete 18:45:03 5eb5b503b376: Verifying Checksum 18:45:03 5eb5b503b376: Download complete 18:45:04 2f39f015ded8: Verifying Checksum 18:45:04 2f39f015ded8: Download complete 18:45:04 5eb5b503b376: Pull complete 18:45:04 5c69ac0246d0: Pull complete 18:45:05 ec43610c2a17: Pull complete 18:45:05 3a2ae6a8a46f: Pull complete 18:45:05 33b1e0a273af: Pull complete 18:45:05 5d3b04190fa2: Pull complete 18:45:09 2f39f015ded8: Pull complete 18:45:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:45:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:09 prd-ubuntu20.04-docker-8c-8g-599 does not seem to be running inside a container 18:45:10 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:12 $ docker top 825a91daab47b2631b9afc262e00186c7c8eae4da85d527ba02fb65b70a65860 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:12 ---> job-cost.sh 18:45:12 lf-activate-venv: SKIPPING 18:45:12 INFO: No Stack... 18:45:13 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:13 INFO: Archiving Costs [Pipeline] sh 18:45:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv 18:45:13 + cut -d, -f6 [Pipeline] lock 18:45:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] 18:45:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] did not exist. Created. 18:45:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:13 + echo total: 0.2199999988079071 [Pipeline] stash 18:45:14 Stashed 1 file(s) [Pipeline] } 18:45:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:14 $ docker stop --time=1 825a91daab47b2631b9afc262e00186c7c8eae4da85d527ba02fb65b70a65860 18:45:15 $ docker rm -f --volumes 825a91daab47b2631b9afc262e00186c7c8eae4da85d527ba02fb65b70a65860 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:47:05 Removing intermediate container 30cb37126e2e 18:47:05 ---> 58681b0b71e3 18:47:05 Step 9/10 : COPY . . 18:47:05 ---> c7b60c6139b1 18:47:05 Step 10/10 : RUN ${MAKE} 18:47:05 ---> Running in f2b3551df6f3 18:47:05 noop 18:47:05 Removing intermediate container f2b3551df6f3 18:47:05 ---> 08114c24d357 18:47:05 Successfully built 08114c24d357 18:47:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:05 + docker inspect -f . ci-base-image-arm64 18:47:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:05 prd-ubuntu20.04-docker-arm64-4c-16g-600 does not seem to be running inside a container 18:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:47:07 $ docker top 9c15a4ba5f54b85f94c403ebff6478e339a20b25e9d20f626ef1d5c4bf501f41 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:07 + go version 18:47:07 go version go1.21.0 linux/arm64 [Pipeline] } 18:47:08 $ docker stop --time=1 9c15a4ba5f54b85f94c403ebff6478e339a20b25e9d20f626ef1d5c4bf501f41 18:47:09 $ docker rm -f --volumes 9c15a4ba5f54b85f94c403ebff6478e339a20b25e9d20f626ef1d5c4bf501f41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:10 + docker inspect -f . ci-base-image-arm64 18:47:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:10 prd-ubuntu20.04-docker-arm64-4c-16g-600 does not seem to be running inside a container 18:47:10 $ 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/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:47:11 $ docker top 43fd8026cf76fdad884467dbf91552d065a8d19860938e09300d4199aaa99eaf -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/14 [Pipeline] fileExists [Pipeline] sh 18:47:12 + make test 18:47:12 go test -race -coverprofile=coverage.out ./... 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:50:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.208s coverage: 27.6% of statements 18:50:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.273s coverage: 81.5% of statements 18:50:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:50:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:50:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.366s coverage: 86.0% of statements 18:50:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:50:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.518s coverage: 71.8% of statements 18:50:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.241s coverage: 14.4% of statements 18:50:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:50:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:50:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.590s coverage: 45.9% of statements 18:50:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.378s coverage: 68.5% of statements 18:50:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.413s coverage: 89.2% of statements 18:50:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:50:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.306s coverage: 5.5% of statements 18:50:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:50:54 GO111MODULE=on go vet ./... 18:53:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:53:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:53:45 ./bin/test-attribution-txt.sh 18:53:45 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:53:45 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:53:45 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:53:45 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:53:45 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:53:45 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:53:45 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:53:45 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:53:45 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:53:45 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:53:45 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:53:45 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:53:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:53:45 $ docker stop --time=1 43fd8026cf76fdad884467dbf91552d065a8d19860938e09300d4199aaa99eaf 18:53:47 $ docker rm -f --volumes 43fd8026cf76fdad884467dbf91552d065a8d19860938e09300d4199aaa99eaf [Pipeline] // withDockerContainer [Pipeline] sh 18:53:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:53:50 Warning: overwriting stash ‘coverage-report’ 18:53:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:51 + ls -al . 18:53:51 total 372 18:53:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 18:47 . 18:53:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:43 .. 18:53:51 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 18:43 .dockerignore 18:53:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 18:43 .git 18:53:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:43 .github 18:53:51 -rw-rw-r-- 1 jenkins jenkins 137 Mar 21 18:43 .gitignore 18:53:51 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 18:43 .golangci.yml 18:53:51 -rw-rw-r-- 1 jenkins jenkins 48109 Mar 21 18:43 CHANGELOG.md 18:53:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 18:43 GOVERNANCE.md 18:53:51 -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 18:43 Jenkinsfile 18:53:51 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 18:43 LICENSE 18:53:51 -rw-rw-r-- 1 jenkins jenkins 1842 Mar 21 18:43 Makefile 18:53:51 -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 18:43 OWNERS.md 18:53:51 -rw-rw-r-- 1 jenkins jenkins 4933 Mar 21 18:43 README.md 18:53:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 18:41 VERSION 18:53:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 18:43 bin 18:53:51 -rw-r--r-- 1 jenkins jenkins 122153 Mar 21 18:50 coverage.out 18:53:51 drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 18:43 example 18:53:51 -rw-rw-r-- 1 jenkins jenkins 7070 Mar 21 18:43 go.mod 18:53:51 -rw-rw-r-- 1 jenkins jenkins 100964 Mar 21 18:43 go.sum 18:53:51 drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 18:43 internal 18:53:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 18:43 openapi 18:53:51 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 18:43 pkg 18:53:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 18:43 snap 18:53:51 -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:51 + 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=b77db3f387f694c6482064b4e4d73f70bc25cd22 --label arch=arm64 --label version=0.0.0 . 18:53:52 Sending build context to Docker daemon 11.56MB 18:53:52 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:53:52 Step 2/24 : FROM ${BASE} AS builder 18:53:52 ---> 08114c24d357 18:53:52 Step 3/24 : ARG MAKE=make build 18:53:52 ---> Running in 10f8b234488f 18:53:52 Removing intermediate container 10f8b234488f 18:53:52 ---> 4c5dd00fb8d3 18:53:52 Step 4/24 : WORKDIR /device-sdk-go 18:53:52 ---> Running in 4620257e0f35 18:53:53 Removing intermediate container 4620257e0f35 18:53:53 ---> 43b1d2548b3e 18:53:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:53:53 ---> Running in 1c6ece72105e 18:53:53 Removing intermediate container 1c6ece72105e 18:53:53 ---> 165925e7c7db 18:53:53 Step 6/24 : RUN apk add --update --no-cache make git 18:53:53 ---> Running in ce8a44548fcb 18:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:53:55 OK: 266 MiB in 52 packages 18:53:56 Removing intermediate container ce8a44548fcb 18:53:56 ---> c6ab8ea5a6b9 18:53:56 Step 7/24 : COPY go.mod vendor* ./ 18:53:57 ---> f217275b7088 18:53:57 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:57 ---> Running in 4a184bdd33c7 18:53:59 Removing intermediate container 4a184bdd33c7 18:53:59 ---> 2cee4c97a92c 18:53:59 Step 9/24 : COPY . . 18:54:00 ---> a831b729bcf5 18:54:00 Step 10/24 : RUN ${MAKE} 18:54:00 ---> Running in 3f8f49e91508 18:54:01 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 18:56:38 Removing intermediate container 3f8f49e91508 18:56:38 ---> d5268e69f027 18:56:38 Step 11/24 : FROM alpine:3.18 18:56:38 3.18: Pulling from library/alpine 18:56:38 c6b39de5b339: Pulling fs layer 18:56:38 c6b39de5b339: Verifying Checksum 18:56:38 c6b39de5b339: Download complete 18:56:38 c6b39de5b339: Pull complete 18:56:38 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:56:38 Status: Downloaded newer image for alpine:3.18 18:56:38 ---> 33abbf032149 18:56:38 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:56:38 ---> Running in b4ac1b2357e1 18:56:38 Removing intermediate container b4ac1b2357e1 18:56:38 ---> 25c0649f414d 18:56:38 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:56:38 ---> Running in d1aba3efca85 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:56:38 (1/1) Installing dumb-init (1.2.5-r2) 18:56:38 Executing busybox-1.36.1-r5.trigger 18:56:38 OK: 8 MiB in 16 packages 18:56:38 Removing intermediate container d1aba3efca85 18:56:38 ---> 2d2a87c534ed 18:56:38 Step 14/24 : RUN apk --no-cache upgrade 18:56:38 ---> Running in c22b2fb18d03 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:56:38 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:56:38 OK: 8 MiB in 16 packages 18:56:39 Removing intermediate container c22b2fb18d03 18:56:39 ---> a282a913201a 18:56:39 Step 15/24 : WORKDIR / 18:56:39 ---> Running in 03f66200f86a 18:56:39 Removing intermediate container 03f66200f86a 18:56:39 ---> 0241b1e1dd8c 18:56:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:56:40 ---> feeda9154865 18:56:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:56:42 ---> 1ea0d8aa160c 18:56:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:56:43 ---> 085b6f10a409 18:56:43 Step 19/24 : EXPOSE 59999 18:56:43 ---> Running in 6b12884a33f1 18:56:43 Removing intermediate container 6b12884a33f1 18:56:43 ---> 5bf3466f7c02 18:56:43 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:56:43 ---> Running in 0c46282bdb45 18:56:43 Removing intermediate container 0c46282bdb45 18:56:43 ---> 0bd80882f300 18:56:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:56:43 ---> Running in c90660239d1c 18:56:44 Removing intermediate container c90660239d1c 18:56:44 ---> 6a6f097210c8 18:56:44 Step 22/24 : LABEL arch=arm64 18:56:44 ---> Running in 014d6839789d 18:56:44 Removing intermediate container 014d6839789d 18:56:44 ---> 4b0210eeb4ab 18:56:44 Step 23/24 : LABEL git_sha=b77db3f387f694c6482064b4e4d73f70bc25cd22 18:56:44 ---> Running in c18989a96faa 18:56:44 Removing intermediate container c18989a96faa 18:56:44 ---> 05b586908b4a 18:56:44 Step 24/24 : LABEL version=0.0.0 18:56:44 ---> Running in be8e8a2b117b 18:56:44 Removing intermediate container be8e8a2b117b 18:56:44 ---> a54f86819889 18:56:44 [Warning] One or more build-args [ARCH] were not consumed 18:56:45 Successfully built a54f86819889 18:56:45 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 18:56:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:45 18:56:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:46 arm64: Pulling from edgex-lftools-log-publisher 18:56:46 8998bd30e6a1: Pulling fs layer 18:56:46 04944245beec: Pulling fs layer 18:56:46 699f458cf7ca: Pulling fs layer 18:56:46 765212b225bb: Pulling fs layer 18:56:46 f23df028b6ca: Pulling fs layer 18:56:46 d65c8cfc05b1: Pulling fs layer 18:56:46 765212b225bb: Waiting 18:56:46 f23df028b6ca: Waiting 18:56:46 2437ff75d9bd: Pulling fs layer 18:56:46 d65c8cfc05b1: Waiting 18:56:46 04944245beec: Verifying Checksum 18:56:46 04944245beec: Download complete 18:56:46 765212b225bb: Verifying Checksum 18:56:46 765212b225bb: Download complete 18:56:46 f23df028b6ca: Verifying Checksum 18:56:46 f23df028b6ca: Download complete 18:56:46 d65c8cfc05b1: Verifying Checksum 18:56:46 d65c8cfc05b1: Download complete 18:56:46 699f458cf7ca: Verifying Checksum 18:56:46 699f458cf7ca: Download complete 18:56:46 8998bd30e6a1: Download complete 18:56:49 2437ff75d9bd: Verifying Checksum 18:56:49 2437ff75d9bd: Download complete 18:56:51 8998bd30e6a1: Pull complete 18:56:51 04944245beec: Pull complete 18:56:53 699f458cf7ca: Pull complete 18:56:53 765212b225bb: Pull complete 18:56:54 f23df028b6ca: Pull complete 18:56:54 d65c8cfc05b1: Pull complete 18:57:12 2437ff75d9bd: Pull complete 18:57:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:13 prd-ubuntu20.04-docker-arm64-4c-16g-600 does not seem to be running inside a container 18:57:13 $ 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/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:57:15 $ docker top 6546006a959062ea8eb13854bccf4321e093a0944c592f8c9f23fef49962bbea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> job-cost.sh 18:57:16 lf-activate-venv: SKIPPING 18:57:16 INFO: No Stack... 18:57:17 INFO: Retrieving Pricing Info for: v3-standard-4 18:57:18 INFO: Archiving Costs [Pipeline] sh 18:57:18 + cat /w/workspace/device-sdk-go/14/archives/cost.csv 18:57:18 + cut -d, -f6 [Pipeline] lock 18:57:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] 18:57:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] did not exist. Created. 18:57:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:19 /w/workspace/device-sdk-go/14@tmp/durable-d07b2c8b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:57:20 + echo total: 0.10999999940395355 [Pipeline] stash 18:57:20 Warning: overwriting stash ‘stack-cost’ 18:57:20 Stashed 1 file(s) [Pipeline] } 18:57:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-14-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:20 $ docker stop --time=1 6546006a959062ea8eb13854bccf4321e093a0944c592f8c9f23fef49962bbea 18:57:21 $ docker rm -f --volumes 6546006a959062ea8eb13854bccf4321e093a0944c592f8c9f23fef49962bbea [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 18:57:22 provisioning config files... 18:57:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config16549967062410873841tmp [Pipeline] { [Pipeline] sh 18:57:22 + set +x 18:57:22 + bash -s -- 18:57:22 + curl -s https://codecov.io/bash 18:57:22 18:57:22 _____ _ 18:57:22 / ____| | | 18:57:22 | | ___ __| | ___ ___ _____ __ 18:57:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:57:22 | |___| (_) | (_| | __/ (_| (_) \ V / 18:57:22 \_____\___/ \__,_|\___|\___\___/ \_/ 18:57:22 Bash-1.0.6 18:57:22 18:57:22 18:57:22 ==> git version 2.25.1 found 18:57:22 ==> 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 18:57:22 Release-Date: 2020-01-08 18:57:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:57:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:57:22 ==> Jenkins CI detected. 18:57:22 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 18:57:22 project root: . 18:57:22 --> token set from env 18:57:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:57:22 ==> Running gcov in . (disable via -X gcov) 18:57:22 ==> Python coveragepy not found 18:57:22 ==> Searching for coverage reports in: 18:57:22 + . 18:57:22 -> Found 1 reports 18:57:22 ==> Detecting git/mercurial file structure 18:57:22 ==> Reading reports 18:57:22 + ./coverage.out bytes=122153 18:57:22 ==> Appending adjustments 18:57:22 https://docs.codecov.io/docs/fixing-reports 18:57:23 + Found adjustments 18:57:23 ==> Gzipping contents 18:57:23 20K /tmp/codecov.oAHZ2C.gz 18:57:23 ==> Uploading reports 18:57:23 url: https://codecov.io 18:57:23 query: branch=PR-1540&commit=69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 18:57:23 -> Pinging Codecov 18:57:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 18:57:23 -> Uploading to 18:57:23 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/7E55EF52A471D76F132DFD9A03CDDE97/69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e/29852628-28a0-427d-8e8c-ef0960bacd69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T185723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8fb1662d376517b67e5b3bee74855fddf27aebde493b0dbd66da639708265a9 18:57:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:57:23 Dload Upload Total Spent Left Speed 18:57:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16716 0 0 100 16716 0 54627 --:--:-- --:--:-- --:--:-- 54449 18:57:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/69c78d5fd3d46b49020aee2fdaf532cdd67fcc3e [Pipeline] } 18:57:23 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 18:57:24 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] 18:57:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:57:24 total 16 18:57:24 drwxr-xr-x 3 root root 4096 Mar 21 18:45 . 18:57:24 drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 18:45 .. 18:57:24 drwxr-xr-x 2 root root 4096 Mar 21 18:45 cost 18:57:24 -rw-r--r-- 1 root root 87 Mar 21 18:45 cost.csv 18:57:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:57:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:57:24 total 16 18:57:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:45 . 18:57:24 drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 18:45 .. 18:57:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 18:45 cost 18:57:24 -rw-r--r-- 1 jenkins jenkins 87 Mar 21 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:25 ---> package-listing.sh 18:57:25 ++ tr '[:upper:]' '[:lower:]' 18:57:25 ++ facter osfamily 18:57:25 + OS_FAMILY=debian 18:57:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 18:57:25 + START_PACKAGES=/tmp/packages_start.txt 18:57:25 + END_PACKAGES=/tmp/packages_end.txt 18:57:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:25 + PACKAGES=/tmp/packages_start.txt 18:57:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:57:25 + PACKAGES=/tmp/packages_end.txt 18:57:25 + case "${OS_FAMILY}" in 18:57:25 + dpkg -l 18:57:25 + grep '^ii' 18:57:25 + '[' -f /tmp/packages_start.txt ']' 18:57:25 + '[' -f /tmp/packages_end.txt ']' 18:57:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:57:25 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ 18:57:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo 18:57:25 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:57:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:26 prd-ubuntu20.04-docker-8c-8g-599 does not seem to be running inside a container 18:57:26 $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:57:27 $ docker top 48d1998b634eb20a92e94036a9a7f31f195aa947cb32fcb4852ebab662b45405 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:27 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:27 + mkdir -p /var/log/sysstat [Pipeline] sh 18:57:28 + ls /var/log/sa-host 18:57:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:28 provisioning config files... 18:57:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config17297119907895524326tmp [Pipeline] { [Pipeline] echo 18:57:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:28 ---> create-netrc.sh [Pipeline] } 18:57:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:57:28 ---> python-tools-install.sh [Pipeline] echo 18:57:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:29 ---> sudo-logs.sh 18:57:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:57:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:29 ---> job-cost.sh 18:57:29 lf-activate-venv: SKIPPING 18:57:29 DEBUG: total: 0.2199999988079071 18:57:29 INFO: Retrieving Stack Cost... 18:57:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:30 INFO: Archiving Costs [Pipeline] echo 18:57:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:30 ---> logs-deploy.sh 18:57:30 lf-activate-venv: SKIPPING 18:57:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/14 18:57:30 INFO: archiving workspace using pattern(s): 18:57:31 Archives upload complete. 18:57:31 INFO: archiving logs to Nexus