Pull request #1580 updated 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 ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 97b36af7baff2da76e29dc2359062fa76ab64ed3 rather than 1f7dfa0cee49005af5cff3b6997ca0c64185fcea Obtained Jenkinsfile from 97b36af7baff2da76e29dc2359062fa76ab64ed3 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-ssh18211787786540406207.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-ssh13324738102064293981.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-1580/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-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7285922027776326104.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-ssh14933471496344711813.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-1580/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-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9117004495218904796.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-668 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [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-1580 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1f7dfa0cee49005af5cff3b6997ca0c64185fcea Merge succeeded, producing 1f7dfa0cee49005af5cff3b6997ca0c64185fcea Checking out Revision 1f7dfa0cee49005af5cff3b6997ca0c64185fcea (PR-1580) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # 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 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 Commit message: "fix: fix ci errcheck" > git rev-list --no-walk 172d6e4a11e37274c9c8e5c582891029179f4345 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:24:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:24:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:24:34 ========================================================= 06:24:34 EdgeX Global Pipelines Version Info 06:24:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:24:34 ------------------- 06:24:34 stable info: 06:24:34 ------------------- 06:24:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:24:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:24:34 Message: update stable to v1.0.258 06:24:35 ------------------- 06:24:35 experimental info: 06:24:35 ------------------- 06:24:35 Commited By: **** collab-it+edgex@linuxfoundation.org 06:24:35 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:24:35 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:24:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f7dfa0 [Pipeline] echo 06:24:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:36 provisioning config files... 06:24:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config13883146410587178077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:36 ---> ****-login.sh 06:24:36 nexus3.edgexfoundry.org:10001 06:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:36 Configure a credential helper to remove this warning. See 06:24:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:36 06:24:36 Login Succeeded 06:24:36 nexus3.edgexfoundry.org:10002 06:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:37 Configure a credential helper to remove this warning. See 06:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:37 06:24:37 Login Succeeded 06:24:37 nexus3.edgexfoundry.org:10003 06:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:37 Configure a credential helper to remove this warning. See 06:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:37 06:24:37 Login Succeeded 06:24:37 nexus3.edgexfoundry.org:10004 06:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:37 Configure a credential helper to remove this warning. See 06:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:37 06:24:37 Login Succeeded 06:24:37 ****.io 06:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:37 Configure a credential helper to remove this warning. See 06:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:37 06:24:37 Login Succeeded 06:24:37 ---> ****-login.sh ends [Pipeline] } 06:24:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:24:38 + git rev-list -1 --merges 1f7dfa0cee49005af5cff3b6997ca0c64185fcea~1..1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo 06:24:38 -----------> git rev-list -1 --merges 1f7dfa0cee49005af5cff3b6997ca0c64185fcea~1..1f7dfa0cee49005af5cff3b6997ca0c64185fcea 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [false] [Pipeline] sh 06:24:38 + git log --format=format:%s -1 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo 06:24:38 ========================================================= 06:24:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:24:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:38 + git log --format=format:%s -1 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo 06:24:38 [semverPrep] GIT_COMMIT: 1f7dfa0cee49005af5cff3b6997ca0c64185fcea, Commit Message: fix: fix ci errcheck [Pipeline] echo 06:24:38 [semverPrep] This is not a build commit. [Pipeline] sh 06:24:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:39 + grep -v github /etc/ssh/ssh_known_hosts 06:24:39 + [ -e /tmp/ssh_known_hosts ] 06:24:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:24:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:24:39 + sudo tee -a /etc/ssh/ssh_known_hosts 06:24:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:39 06:24:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:39 0.1.4: Pulling from edgex-devops/py-git-semver 06:24:39 b85a868b505f: Pulling fs layer 06:24:39 e2be974225ed: Pulling fs layer 06:24:39 339a4e72a1f5: Pulling fs layer 06:24:39 988bab9f4d93: Pulling fs layer 06:24:39 1469e6f7b9e6: Pulling fs layer 06:24:39 eaf3925da568: Pulling fs layer 06:24:39 bab4dde63d76: Pulling fs layer 06:24:39 bde34c3a00c8: Pulling fs layer 06:24:39 b352a97aabf1: Pulling fs layer 06:24:39 4872d77fe225: Pulling fs layer 06:24:39 5851b861e8e6: Pulling fs layer 06:24:39 bab4dde63d76: Waiting 06:24:39 bde34c3a00c8: Waiting 06:24:39 b352a97aabf1: Waiting 06:24:39 4872d77fe225: Waiting 06:24:39 5851b861e8e6: Waiting 06:24:39 988bab9f4d93: Waiting 06:24:39 1469e6f7b9e6: Waiting 06:24:39 eaf3925da568: Waiting 06:24:39 e2be974225ed: Download complete 06:24:39 988bab9f4d93: Download complete 06:24:39 1469e6f7b9e6: Verifying Checksum 06:24:39 1469e6f7b9e6: Download complete 06:24:39 339a4e72a1f5: Verifying Checksum 06:24:39 339a4e72a1f5: Download complete 06:24:39 eaf3925da568: Verifying Checksum 06:24:39 eaf3925da568: Download complete 06:24:40 bde34c3a00c8: Download complete 06:24:40 b352a97aabf1: Verifying Checksum 06:24:40 b352a97aabf1: Download complete 06:24:40 4872d77fe225: Verifying Checksum 06:24:40 4872d77fe225: Download complete 06:24:40 5851b861e8e6: Verifying Checksum 06:24:40 5851b861e8e6: Download complete 06:24:40 b85a868b505f: Verifying Checksum 06:24:40 b85a868b505f: Download complete 06:24:40 bab4dde63d76: Verifying Checksum 06:24:40 bab4dde63d76: Download complete 06:24:41 b85a868b505f: Pull complete 06:24:41 e2be974225ed: Pull complete 06:24:41 339a4e72a1f5: Pull complete 06:24:41 988bab9f4d93: Pull complete 06:24:42 1469e6f7b9e6: Pull complete 06:24:42 eaf3925da568: Pull complete 06:24:44 bab4dde63d76: Pull complete 06:24:44 bde34c3a00c8: Pull complete 06:24:44 b352a97aabf1: Pull complete 06:24:44 4872d77fe225: Pull complete 06:24:44 5851b861e8e6: Pull complete 06:24:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:24:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:44 prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container 06:24:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:24:47 $ docker top 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 -eo pid,comm 06:24: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). 06:24:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:47 [ssh-agent] Looking for ssh-agent implementation... 06:24:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:47 $ docker exec 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent 06:24:48 SSH_AUTH_SOCK=/tmp/ssh-TcIzDYIgK1fM/agent.32 06:24:48 SSH_AGENT_PID=38 06:24:48 Running ssh-add (command line suppressed) 06:24:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_9452531414924454403.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_9452531414924454403.key) 06:24:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:48 + git tag --points-at HEAD [Pipeline] } 06:24:48 $ docker exec --env ******** --env ******** 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent -k 06:24:48 unset SSH_AUTH_SOCK; 06:24:48 unset SSH_AGENT_PID; 06:24:48 echo Agent pid 38 killed; 06:24:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:24:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:48 [ssh-agent] Looking for ssh-agent implementation... 06:24:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:48 $ docker exec 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent 06:24:48 SSH_AUTH_SOCK=/tmp/ssh-EBRBTwNoPfIX/agent.72 06:24:48 SSH_AGENT_PID=78 06:24:48 Running ssh-add (command line suppressed) 06:24:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_2823322643912964655.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_2823322643912964655.key) 06:24:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:49 + git semver init 06:24:49 2024-05-24 06:24:49,501 [run_init] DEBUG init version:0.0.0 force:False 06:24:49 2024-05-24 06:24:49,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver 06:24:49 2024-05-24 06:24:49,503 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver 06:24:49 2024-05-24 06:24:49,503 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) 06:24:50 2024-05-24 06:24:50,855 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude 06:24:50 2024-05-24 06:24:50,856 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False 06:24:50 2024-05-24 06:24:50,856 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 06:24:50 2024-05-24 06:24:50,862 [execute] INFO git cat-file --batch-check 06:24:50 2024-05-24 06:24:50,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) 06:24:50 2024-05-24 06:24:50,870 [execute] INFO git cat-file --batch 06:24:50 2024-05-24 06:24:50,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) 06:24:50 2024-05-24 06:24:50,876 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 06:24:50 0.0.0 [Pipeline] } 06:24:50 $ docker exec --env ******** --env ******** 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent -k 06:24:51 unset SSH_AUTH_SOCK; 06:24:51 unset SSH_AGENT_PID; 06:24:51 echo Agent pid 78 killed; 06:24:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:51 + git semver [Pipeline] } 06:24:51 $ docker stop --time=1 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 06:24:52 $ docker rm -f --volumes 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 [Pipeline] // withDockerContainer [Pipeline] sh 06:24:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:24:53 Stashed 1 file(s) [Pipeline] echo 06:24: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 06:24:53 provisioning config files... 06:24:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config14678177575237727018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:53 ---> ****-login.sh 06:24:54 nexus3.edgexfoundry.org:10001 06:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:54 Configure a credential helper to remove this warning. See 06:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:54 06:24:54 Login Succeeded 06:24:54 nexus3.edgexfoundry.org:10002 06:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:54 Configure a credential helper to remove this warning. See 06:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:54 06:24:54 Login Succeeded 06:24:54 nexus3.edgexfoundry.org:10003 06:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:54 Configure a credential helper to remove this warning. See 06:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:54 06:24:54 Login Succeeded 06:24:54 nexus3.edgexfoundry.org:10004 06:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:54 Configure a credential helper to remove this warning. See 06:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:54 06:24:54 Login Succeeded 06:24:54 ****.io 06:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:54 Configure a credential helper to remove this warning. See 06:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:54 06:24:54 Login Succeeded 06:24:54 ---> ****-login.sh ends [Pipeline] } 06:24:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:24:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:24:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:24:54 ========================================================= 06:24:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:24:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24: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 . 06:24:55 Sending build context to Docker daemon 25.8MB 06:24:55 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:24:55 Step 2/10 : FROM ${BASE} AS builder 06:24:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:24:55 619be1103602: Pulling fs layer 06:24:55 7862e08f4a3e: Pulling fs layer 06:24:55 5df492c9dc93: Pulling fs layer 06:24:55 7629e6793208: Pulling fs layer 06:24:55 4f4fb700ef54: Pulling fs layer 06:24:55 fb5054dd5b73: Pulling fs layer 06:24:55 eeca6798cff9: Pulling fs layer 06:24:55 aa269ceb94a6: Pulling fs layer 06:24:55 ada007ff1a6a: Pulling fs layer 06:24:55 4f4fb700ef54: Waiting 06:24:55 fb5054dd5b73: Waiting 06:24:55 7629e6793208: Waiting 06:24:55 aa269ceb94a6: Waiting 06:24:55 ada007ff1a6a: Waiting 06:24:55 eeca6798cff9: Waiting 06:24:55 7862e08f4a3e: Download complete 06:24:55 7629e6793208: Download complete 06:24:55 4f4fb700ef54: Verifying Checksum 06:24:55 4f4fb700ef54: Download complete 06:24:55 fb5054dd5b73: Download complete 06:24:55 619be1103602: Download complete 06:24:55 eeca6798cff9: Verifying Checksum 06:24:55 eeca6798cff9: Download complete 06:24:55 619be1103602: Pull complete 06:24:55 7862e08f4a3e: Pull complete 06:24:55 ada007ff1a6a: Verifying Checksum 06:24:55 ada007ff1a6a: Download complete 06:24:55 5df492c9dc93: Verifying Checksum 06:24:55 5df492c9dc93: Download complete 06:24:56 aa269ceb94a6: Verifying Checksum 06:24:56 aa269ceb94a6: Download complete 06:24:59 5df492c9dc93: Pull complete 06:24:59 7629e6793208: Pull complete 06:24:59 4f4fb700ef54: Pull complete 06:24:59 fb5054dd5b73: Pull complete 06:24:59 eeca6798cff9: Pull complete 06:25:02 aa269ceb94a6: Pull complete 06:25:02 ada007ff1a6a: Pull complete 06:25:02 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:25:02 ---> f489d0715acc 06:25:02 Step 3/10 : ARG MAKE=make build 06:25:06 ---> Running in 1d17a3540902 06:25:06 Removing intermediate container 1d17a3540902 06:25:06 ---> 62bc2c2a3afa 06:25:06 Step 4/10 : WORKDIR /device-sdk-go 06:25:06 ---> Running in 97bbee669b16 06:25:06 Removing intermediate container 97bbee669b16 06:25:06 ---> abbed35195ea 06:25:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:25:06 ---> Running in 94696d0cdb12 06:25:06 Removing intermediate container 94696d0cdb12 06:25:06 ---> 137d6d9db91a 06:25:06 Step 6/10 : RUN apk add --update --no-cache make git 06:25:06 ---> Running in b781afb02261 06:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:07 OK: 264 MiB in 52 packages 06:25:07 Removing intermediate container b781afb02261 06:25:07 ---> e8fb3bee2ccf 06:25:07 Step 7/10 : COPY go.mod vendor* ./ 06:25:07 ---> e3015474d7c2 06:25:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:25:07 ---> Running in 70ec57db5c7b 06:25:08 Still waiting to schedule task 06:25:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:26:29 Removing intermediate container 70ec57db5c7b 06:26:29 ---> d6613a95583d 06:26:29 Step 9/10 : COPY . . 06:26:29 ---> 6eaafe71b828 06:26:29 Step 10/10 : RUN ${MAKE} 06:26:29 ---> Running in bdc5278f87ee 06:26:29 noop 06:26:29 Removing intermediate container bdc5278f87ee 06:26:29 ---> 1120467406c5 06:26:29 Successfully built 1120467406c5 06:26:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:29 + docker inspect -f . ci-base-image-x86_64 06:26:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:29 prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container 06:26:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 ******** ci-base-image-x86_64 cat 06:26:30 $ docker top 0acc9be300a8104e8a61f9ba0924098e69a9d6edbcddd1b102d34fecbab6b344 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:30 + go version 06:26:30 go version go1.21.9 linux/amd64 [Pipeline] } 06:26:30 $ docker stop --time=1 0acc9be300a8104e8a61f9ba0924098e69a9d6edbcddd1b102d34fecbab6b344 06:26:31 $ docker rm -f --volumes 0acc9be300a8104e8a61f9ba0924098e69a9d6edbcddd1b102d34fecbab6b344 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:32 + docker inspect -f . ci-base-image-x86_64 06:26:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:32 prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container 06:26:32 $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 ******** ci-base-image-x86_64 cat 06:26:32 $ docker top 84de5086d04862fd6b4babe4df80a9f86e9f99bc049a06a97e6c34706452938f -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh 06:26:33 + make test 06:26:33 go test -race -coverprofile=coverage.out ./... 06:26:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-669 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws 06:26:37 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:26:40 The recommended git tool is: git 06:26:41 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:26:45 using credential edgex-jenkins-ssh 06:26:45 Cloning the remote Git repository 06:26:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:26:45 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:26:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:26:45 > git --version # timeout=10 06:26:45 > git --version # 'git version 2.25.1' 06:26:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:26:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:26:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:26:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:26:49 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1f7dfa0cee49005af5cff3b6997ca0c64185fcea 06:26:50 Merge succeeded, producing 1f7dfa0cee49005af5cff3b6997ca0c64185fcea 06:26:50 Checking out Revision 1f7dfa0cee49005af5cff3b6997ca0c64185fcea (PR-1580) 06:26:49 > git config core.sparsecheckout # timeout=10 06:26:49 > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 06:26:50 > git remote # timeout=10 06:26:50 > git config --get remote.origin.url # timeout=10 06:26:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:50 > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 06:26:50 > git rev-parse HEAD^{commit} # timeout=10 06:26:50 > git config core.sparsecheckout # timeout=10 06:26:50 > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 06:26:53 Commit message: "fix: fix ci errcheck" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:26:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:55 Dload Upload Total Spent Left Speed 06:26:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 81 12828 81 10467 0 0 95154 0 --:--:-- --:--:-- --:--:-- 94297 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 06:26:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:26:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:26:55 + sudo tee /etc/docker/daemon.new 06:26:55 { 06:26:55 "registry-mirrors": [ 06:26:55 "https://nexus3.edgexfoundry.org:10001" 06:26:55 ], 06:26:55 "bip": "10.250.0.254/24", 06:26:55 "hosts": [ 06:26:55 "tcp://0.0.0.0:5555", 06:26:55 "unix:///var/run/docker.sock" 06:26:55 ], 06:26:55 "mtu": 1458, 06:26:55 "selinux-enabled": true, 06:26:55 "seccomp-profile": "/etc/docker/seccomp.json" 06:26:55 } [Pipeline] sh 06:26:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:26:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:14 provisioning config files... 06:27:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config12131751904169865674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:15 ---> ****-login.sh 06:27:15 nexus3.edgexfoundry.org:10001 06:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:15 Configure a credential helper to remove this warning. See 06:27:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:15 06:27:15 Login Succeeded 06:27:15 nexus3.edgexfoundry.org:10002 06:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:16 Configure a credential helper to remove this warning. See 06:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:16 06:27:16 Login Succeeded 06:27:16 nexus3.edgexfoundry.org:10003 06:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:16 Configure a credential helper to remove this warning. See 06:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:16 06:27:16 Login Succeeded 06:27:16 nexus3.edgexfoundry.org:10004 06:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:16 Configure a credential helper to remove this warning. See 06:27:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:16 06:27:16 Login Succeeded 06:27:16 ****.io 06:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:17 Configure a credential helper to remove this warning. See 06:27:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:17 06:27:17 Login Succeeded 06:27:17 ---> ****-login.sh ends [Pipeline] } 06:27:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:27:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:27:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:27:17 ========================================================= 06:27:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:27:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:18 + 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 . 06:27:18 Sending build context to Docker daemon 13.35MB 06:27:18 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:27:18 Step 2/10 : FROM ${BASE} AS builder 06:27:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:27:18 c6b39de5b339: Pulling fs layer 06:27:18 a69c41024577: Pulling fs layer 06:27:18 d6de4b400683: Pulling fs layer 06:27:18 35cb2a7552d0: Pulling fs layer 06:27:18 4f4fb700ef54: Pulling fs layer 06:27:18 464afbd9ba4c: Pulling fs layer 06:27:18 00f215d4a9da: Pulling fs layer 06:27:18 d496ad576159: Pulling fs layer 06:27:18 4f4fb700ef54: Waiting 06:27:18 464afbd9ba4c: Waiting 06:27:18 00f215d4a9da: Waiting 06:27:18 35cb2a7552d0: Waiting 06:27:18 d496ad576159: Waiting 06:27:19 a69c41024577: Download complete 06:27:19 35cb2a7552d0: Verifying Checksum 06:27:19 35cb2a7552d0: Download complete 06:27:19 4f4fb700ef54: Verifying Checksum 06:27:19 4f4fb700ef54: Download complete 06:27:19 c6b39de5b339: Verifying Checksum 06:27:19 c6b39de5b339: Download complete 06:27:19 464afbd9ba4c: Verifying Checksum 06:27:19 464afbd9ba4c: Download complete 06:27:19 d496ad576159: Verifying Checksum 06:27:19 d496ad576159: Download complete 06:27:19 c6b39de5b339: Pull complete 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.061s coverage: 26.5% of statements 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.061s coverage: 81.5% of statements 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.083s coverage: 86.0% of statements 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.103s coverage: 71.8% of statements 06:27:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.784s coverage: 45.9% of statements 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.071s coverage: 68.5% of statements 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.119s coverage: 89.2% of statements 06:27:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.064s coverage: 5.4% of statements 06:27:20 a69c41024577: Pull complete 06:27:20 d6de4b400683: Verifying Checksum 06:27:20 d6de4b400683: Download complete 06:27:22 00f215d4a9da: Verifying Checksum 06:27:22 00f215d4a9da: Download complete 06:27:34 d6de4b400683: Pull complete 06:27:34 35cb2a7552d0: Pull complete 06:27:34 4f4fb700ef54: Pull complete 06:27:34 464afbd9ba4c: Pull complete 06:27:42 00f215d4a9da: Pull complete 06:27:44 d496ad576159: Pull complete 06:27:44 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:27:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:27:44 ---> f246e2811388 06:27:44 Step 3/10 : ARG MAKE=make build 06:27:46 ---> Running in b8963ec96cba 06:27:46 Removing intermediate container b8963ec96cba 06:27:46 ---> b88d09d30781 06:27:46 Step 4/10 : WORKDIR /device-sdk-go 06:27:46 ---> Running in 2de6754d81d1 06:27:46 Removing intermediate container 2de6754d81d1 06:27:46 ---> 6835ec6a3f40 06:27:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:27:46 ---> Running in 73c2624f6f6c 06:27:47 Removing intermediate container 73c2624f6f6c 06:27:47 ---> 0aa8b467c030 06:27:47 Step 6/10 : RUN apk add --update --no-cache make git 06:27:47 ---> Running in 5cd143fb6762 06:27:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:27:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:27:50 OK: 266 MiB in 52 packages 06:27:50 Removing intermediate container 5cd143fb6762 06:27:50 ---> af1db2346c1e 06:27:50 Step 7/10 : COPY go.mod vendor* ./ 06:27:51 ---> 1b87d3626c7c 06:27:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:27:51 ---> Running in 205ed96648a2 06:27:52 GO111MODULE=on go vet ./... 06:27:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:27:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:27:59 ./bin/test-attribution-txt.sh 06:27:59 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/panjf2000/ants is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:27:59 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:27:59 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:27:59 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:27:59 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:27:59 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:27:59 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:27:59 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:27:59 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:27:59 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 06:27:59 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:27:59 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:27:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:27:59 $ docker stop --time=1 84de5086d04862fd6b4babe4df80a9f86e9f99bc049a06a97e6c34706452938f 06:28:03 $ docker rm -f --volumes 84de5086d04862fd6b4babe4df80a9f86e9f99bc049a06a97e6c34706452938f [Pipeline] // withDockerContainer [Pipeline] sh 06:28:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:28:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:28:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:28:05 + ls -al . 06:28:05 total 376 06:28:05 drwxrwxr-x 11 jenkins jenkins 4096 May 24 06:26 . 06:28:05 drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:24 .. 06:28:05 -rw-rw-r-- 1 jenkins jenkins 140 May 24 06:24 .dockerignore 06:28:05 drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:27 .git 06:28:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:24 .github 06:28:05 -rw-rw-r-- 1 jenkins jenkins 137 May 24 06:24 .gitignore 06:28:05 -rw-rw-r-- 1 jenkins jenkins 42 May 24 06:24 .golangci.yml 06:28:05 drwxr-xr-x 3 jenkins jenkins 4096 May 24 06:24 .semver 06:28:05 -rw-rw-r-- 1 jenkins jenkins 48109 May 24 06:24 CHANGELOG.md 06:28:05 -rw-rw-r-- 1 jenkins jenkins 677 May 24 06:24 GOVERNANCE.md 06:28:05 -rw-rw-r-- 1 jenkins jenkins 885 May 24 06:24 Jenkinsfile 06:28:05 -rw-rw-r-- 1 jenkins jenkins 11341 May 24 06:24 LICENSE 06:28:05 -rw-rw-r-- 1 jenkins jenkins 1842 May 24 06:24 Makefile 06:28:05 -rw-rw-r-- 1 jenkins jenkins 619 May 24 06:24 OWNERS.md 06:28:05 -rw-rw-r-- 1 jenkins jenkins 4933 May 24 06:24 README.md 06:28:05 -rw-rw-r-- 1 jenkins jenkins 5 May 24 06:24 VERSION 06:28:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:24 bin 06:28:05 -rw-r--r-- 1 jenkins jenkins 122832 May 24 06:27 coverage.out 06:28:05 drwxrwxr-x 5 jenkins jenkins 4096 May 24 06:24 example 06:28:05 -rw-rw-r-- 1 jenkins jenkins 7104 May 24 06:24 go.mod 06:28:05 -rw-rw-r-- 1 jenkins jenkins 101133 May 24 06:24 go.sum 06:28:05 drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:24 internal 06:28:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:24 openapi 06:28:05 drwxrwxr-x 6 jenkins jenkins 4096 May 24 06:24 pkg 06:28:05 drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:24 snap 06:28:05 -rw-rw-r-- 1 jenkins jenkins 222 May 24 06:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:05 + 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=1f7dfa0cee49005af5cff3b6997ca0c64185fcea --label arch=amd64 --label version=0.0.0 . 06:28:05 Sending build context to Docker daemon 25.92MB 06:28:05 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:28:05 Step 2/23 : FROM ${BASE} AS builder 06:28:05 ---> 1120467406c5 06:28:05 Step 3/23 : ARG MAKE=make build 06:28:05 ---> Running in 12babb40f668 06:28:05 Removing intermediate container 12babb40f668 06:28:05 ---> 78af8982cedc 06:28:05 Step 4/23 : WORKDIR /device-sdk-go 06:28:05 ---> Running in f7f083f8f092 06:28:05 Removing intermediate container f7f083f8f092 06:28:05 ---> b3a6206772ac 06:28:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:28:05 ---> Running in babb9b05e966 06:28:06 Removing intermediate container babb9b05e966 06:28:06 ---> 6c8728289fcc 06:28:06 Step 6/23 : RUN apk add --update --no-cache make git 06:28:06 ---> Running in 1678ba91a846 06:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:28:06 OK: 264 MiB in 52 packages 06:28:07 Removing intermediate container 1678ba91a846 06:28:07 ---> ca1606f38366 06:28:07 Step 7/23 : COPY go.mod vendor* ./ 06:28:07 ---> e1e81b49c588 06:28:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:07 ---> Running in 57598643b9bd 06:28:07 Removing intermediate container 57598643b9bd 06:28:07 ---> 7ddc12fed8fe 06:28:07 Step 9/23 : COPY . . 06:28:08 ---> de1584c60c21 06:28:08 Step 10/23 : RUN ${MAKE} 06:28:08 ---> Running in 7c4e980d217b 06:28:08 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 06:28:41 Removing intermediate container 7c4e980d217b 06:28:41 ---> 9c3de1ccbaa5 06:28:41 Step 11/23 : FROM alpine:3.18 06:28:41 3.18: Pulling from library/alpine 06:28:41 619be1103602: Already exists 06:28:41 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:28:41 Status: Downloaded newer image for alpine:3.18 06:28:41 ---> d3782b16ccc9 06:28:41 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:28:41 ---> Running in bab57a352300 06:28:41 Removing intermediate container bab57a352300 06:28:41 ---> 26b74ec92ec9 06:28:41 Step 13/23 : RUN apk add --update --no-cache 06:28:41 ---> Running in 5c6567a1586d 06:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:28:41 OK: 7 MiB in 15 packages 06:28:41 Removing intermediate container 5c6567a1586d 06:28:41 ---> 534d54be8fb7 06:28:41 Step 14/23 : WORKDIR / 06:28:41 ---> Running in 4ffe1251e5d2 06:28:42 Removing intermediate container 4ffe1251e5d2 06:28:42 ---> 71c8081ec908 06:28:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:28:42 ---> c14c3a5bc23a 06:28:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:28:43 ---> 13a5c7f64ddd 06:28:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:28:43 ---> fc5522479afc 06:28:43 Step 18/23 : EXPOSE 59999 06:28:43 ---> Running in ca3acfecd4d3 06:28:43 Removing intermediate container ca3acfecd4d3 06:28:43 ---> 3ee2e15ce8b4 06:28:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:28:43 ---> Running in 499644e60bbf 06:28:43 Removing intermediate container 499644e60bbf 06:28:43 ---> 41044758653b 06:28:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:28:43 ---> Running in fec4b8043eea 06:28:43 Removing intermediate container fec4b8043eea 06:28:43 ---> b03fe07fc099 06:28:43 Step 21/23 : LABEL arch=amd64 06:28:43 ---> Running in 9c2e40e51789 06:28:44 Removing intermediate container 9c2e40e51789 06:28:44 ---> 552d7de1b01d 06:28:44 Step 22/23 : LABEL git_sha=1f7dfa0cee49005af5cff3b6997ca0c64185fcea 06:28:44 ---> Running in 0763e8198b14 06:28:44 Removing intermediate container 0763e8198b14 06:28:44 ---> e0032c3aa66b 06:28:44 Step 23/23 : LABEL version=0.0.0 06:28:44 ---> Running in e9fc02c2a372 06:28:44 Removing intermediate container e9fc02c2a372 06:28:44 ---> d6daf3bb4244 06:28:44 [Warning] One or more build-args [ARCH] were not consumed 06:28:44 Successfully built d6daf3bb4244 06:28:44 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:28:44 06:28:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:28:44 latest: Pulling from edgex-lftools-log-publisher 06:28:44 5eb5b503b376: Pulling fs layer 06:28:44 5c69ac0246d0: Pulling fs layer 06:28:44 ec43610c2a17: Pulling fs layer 06:28:44 3a2ae6a8a46f: Pulling fs layer 06:28:44 33b1e0a273af: Pulling fs layer 06:28:44 5d3b04190fa2: Pulling fs layer 06:28:44 3a2ae6a8a46f: Waiting 06:28:44 33b1e0a273af: Waiting 06:28:44 5d3b04190fa2: Waiting 06:28:44 2f39f015ded8: Pulling fs layer 06:28:44 5c69ac0246d0: Verifying Checksum 06:28:44 5c69ac0246d0: Download complete 06:28:44 3a2ae6a8a46f: Verifying Checksum 06:28:44 3a2ae6a8a46f: Download complete 06:28:44 ec43610c2a17: Verifying Checksum 06:28:44 ec43610c2a17: Download complete 06:28:44 33b1e0a273af: Verifying Checksum 06:28:44 33b1e0a273af: Download complete 06:28:44 5d3b04190fa2: Download complete 06:28:45 5eb5b503b376: Download complete 06:28:45 2f39f015ded8: Download complete 06:28:46 5eb5b503b376: Pull complete 06:28:46 5c69ac0246d0: Pull complete 06:28:46 ec43610c2a17: Pull complete 06:28:47 3a2ae6a8a46f: Pull complete 06:28:47 33b1e0a273af: Pull complete 06:28:47 5d3b04190fa2: Pull complete 06:28:51 2f39f015ded8: Pull complete 06:28:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:28:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:51 prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container 06:28:51 $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:28:55 $ docker top 4dfa551952f7673bee84a363d39a4ba27599bd73213ff55586e5583f2410545b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:56 ---> job-cost.sh 06:28:56 lf-activate-venv: SKIPPING 06:28:56 INFO: No Stack... 06:28:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:28:57 INFO: Archiving Costs [Pipeline] sh 06:28:57 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv 06:28:57 + cut -d, -f6 [Pipeline] lock 06:28:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] 06:28:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] did not exist. Created. 06:28:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:28:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:28:57 Stashed 1 file(s) [Pipeline] } 06:28:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:28:57 $ docker stop --time=1 4dfa551952f7673bee84a363d39a4ba27599bd73213ff55586e5583f2410545b 06:28:59 $ docker rm -f --volumes 4dfa551952f7673bee84a363d39a4ba27599bd73213ff55586e5583f2410545b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:29:43 Removing intermediate container 205ed96648a2 06:29:43 ---> 1aa30ef3cba7 06:29:43 Step 9/10 : COPY . . 06:29:43 ---> 856d33ed1103 06:29:43 Step 10/10 : RUN ${MAKE} 06:29:43 ---> Running in cfd7a9f21cec 06:29:43 noop 06:29:43 Removing intermediate container cfd7a9f21cec 06:29:43 ---> c98266de3932 06:29:43 Successfully built c98266de3932 06:29:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:43 + docker inspect -f . ci-base-image-arm64 06:29:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:43 prd-ubuntu20.04-docker-arm64-4c-16g-669 does not seem to be running inside a container 06:29:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 06:29:45 $ docker top d54b6516321f2b2c84f126037a95932f36c0ac7c719fe1ce9fb35e7fde1df6b2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:45 + go version 06:29:45 go version go1.21.9 linux/arm64 [Pipeline] } 06:29:45 $ docker stop --time=1 d54b6516321f2b2c84f126037a95932f36c0ac7c719fe1ce9fb35e7fde1df6b2 06:29:47 $ docker rm -f --volumes d54b6516321f2b2c84f126037a95932f36c0ac7c719fe1ce9fb35e7fde1df6b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:48 + docker inspect -f . ci-base-image-arm64 06:29:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:48 prd-ubuntu20.04-docker-arm64-4c-16g-669 does not seem to be running inside a container 06:29:48 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 06:29:49 $ docker top 94c768e91b50dcb010a158366f2b6cd16ccdfe5778862414232509eb182ad666 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:50 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 06:29:50 + make test 06:29:50 go test -race -coverprofile=coverage.out ./... 06:30:29 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:33:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:33:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:33:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:33:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:33:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:33:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.230s coverage: 26.5% of statements 06:33:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.272s coverage: 81.5% of statements 06:34:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:34:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:34:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.428s coverage: 86.0% of statements 06:34:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:34:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.632s coverage: 71.8% of statements 06:34:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.296s coverage: 14.4% of statements 06:34:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.629s coverage: 45.9% of statements 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:34:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.482s coverage: 68.5% of statements 06:34:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.464s coverage: 89.2% of statements 06:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.324s coverage: 5.4% of statements 06:34:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:34:23 GO111MODULE=on go vet ./... 06:38:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:38:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:38:00 ./bin/test-attribution-txt.sh 06:38:00 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/panjf2000/ants is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:38:00 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:38:00 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:38:00 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:38:00 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:38:00 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:38:00 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:38:00 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:38:00 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:38:00 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 06:38:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:38:00 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:38:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:38:00 $ docker stop --time=1 94c768e91b50dcb010a158366f2b6cd16ccdfe5778862414232509eb182ad666 06:38:02 $ docker rm -f --volumes 94c768e91b50dcb010a158366f2b6cd16ccdfe5778862414232509eb182ad666 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:38:04 Warning: overwriting stash ‘coverage-report’ 06:38:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:38:05 + ls -al . 06:38:05 total 372 06:38:05 drwxrwxr-x 10 jenkins jenkins 4096 May 24 06:29 . 06:38:05 drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:26 .. 06:38:05 -rw-rw-r-- 1 jenkins jenkins 140 May 24 06:26 .dockerignore 06:38:05 drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:26 .git 06:38:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:26 .github 06:38:05 -rw-rw-r-- 1 jenkins jenkins 137 May 24 06:26 .gitignore 06:38:05 -rw-rw-r-- 1 jenkins jenkins 42 May 24 06:26 .golangci.yml 06:38:05 -rw-rw-r-- 1 jenkins jenkins 48109 May 24 06:26 CHANGELOG.md 06:38:05 -rw-rw-r-- 1 jenkins jenkins 677 May 24 06:26 GOVERNANCE.md 06:38:05 -rw-rw-r-- 1 jenkins jenkins 885 May 24 06:26 Jenkinsfile 06:38:05 -rw-rw-r-- 1 jenkins jenkins 11341 May 24 06:26 LICENSE 06:38:05 -rw-rw-r-- 1 jenkins jenkins 1842 May 24 06:26 Makefile 06:38:05 -rw-rw-r-- 1 jenkins jenkins 619 May 24 06:26 OWNERS.md 06:38:05 -rw-rw-r-- 1 jenkins jenkins 4933 May 24 06:26 README.md 06:38:05 -rw-rw-r-- 1 jenkins jenkins 5 May 24 06:24 VERSION 06:38:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:26 bin 06:38:05 -rw-r--r-- 1 jenkins jenkins 122833 May 24 06:34 coverage.out 06:38:05 drwxrwxr-x 5 jenkins jenkins 4096 May 24 06:26 example 06:38:05 -rw-rw-r-- 1 jenkins jenkins 7104 May 24 06:26 go.mod 06:38:05 -rw-rw-r-- 1 jenkins jenkins 101133 May 24 06:26 go.sum 06:38:05 drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:26 internal 06:38:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:26 openapi 06:38:05 drwxrwxr-x 6 jenkins jenkins 4096 May 24 06:26 pkg 06:38:05 drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:26 snap 06:38:05 -rw-rw-r-- 1 jenkins jenkins 222 May 24 06:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:06 + 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=1f7dfa0cee49005af5cff3b6997ca0c64185fcea --label arch=arm64 --label version=0.0.0 . 06:38:06 Sending build context to Docker daemon 13.48MB 06:38:06 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:38:06 Step 2/23 : FROM ${BASE} AS builder 06:38:06 ---> c98266de3932 06:38:06 Step 3/23 : ARG MAKE=make build 06:38:07 ---> Running in f6a11a29e0ca 06:38:07 Removing intermediate container f6a11a29e0ca 06:38:07 ---> b0fe242615a4 06:38:07 Step 4/23 : WORKDIR /device-sdk-go 06:38:07 ---> Running in 9936b25b6d83 06:38:07 Removing intermediate container 9936b25b6d83 06:38:07 ---> 43f5b144a8ff 06:38:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:38:07 ---> Running in ddf784b43fb9 06:38:08 Removing intermediate container ddf784b43fb9 06:38:08 ---> 2ef92481ba17 06:38:08 Step 6/23 : RUN apk add --update --no-cache make git 06:38:08 ---> Running in c3221f7a9a1f 06:38:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:38:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:38:10 OK: 266 MiB in 52 packages 06:38:11 Removing intermediate container c3221f7a9a1f 06:38:11 ---> 8080e70587b3 06:38:11 Step 7/23 : COPY go.mod vendor* ./ 06:38:11 ---> a997a2742ee0 06:38:11 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:38:11 ---> Running in fb44eda15b28 06:38:13 Removing intermediate container fb44eda15b28 06:38:13 ---> 010ed4914f13 06:38:13 Step 9/23 : COPY . . 06:38:15 ---> 04f7ddead867 06:38:15 Step 10/23 : RUN ${MAKE} 06:38:15 ---> Running in 5ac0b181dba1 06:38:16 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 06:41:38 Removing intermediate container 5ac0b181dba1 06:41:38 ---> 7a3f31ea5d12 06:41:38 Step 11/23 : FROM alpine:3.18 06:41:38 3.18: Pulling from library/alpine 06:41:38 c6b39de5b339: Already exists 06:41:38 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:41:38 Status: Downloaded newer image for alpine:3.18 06:41:38 ---> 33abbf032149 06:41:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:41:38 ---> Running in 1cb8b5d8dbcd 06:41:38 Removing intermediate container 1cb8b5d8dbcd 06:41:38 ---> c7d5d2de2476 06:41:38 Step 13/23 : RUN apk add --update --no-cache 06:41:38 ---> Running in 872aa873a36a 06:41:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:41:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:41:38 OK: 8 MiB in 15 packages 06:41:38 Removing intermediate container 872aa873a36a 06:41:38 ---> 650cff8c88ee 06:41:38 Step 14/23 : WORKDIR / 06:41:38 ---> Running in 3a786a610632 06:41:39 Removing intermediate container 3a786a610632 06:41:39 ---> efc4ade37a97 06:41:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:41:39 ---> 072d09b209e6 06:41:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:41:41 ---> d0156fab616b 06:41:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:41:42 ---> 03e6c3fbce38 06:41:42 Step 18/23 : EXPOSE 59999 06:41:42 ---> Running in 2fc15146e881 06:41:42 Removing intermediate container 2fc15146e881 06:41:42 ---> a4eb231987d9 06:41:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:41:42 ---> Running in 4508787326c7 06:41:43 Removing intermediate container 4508787326c7 06:41:43 ---> 32669fce07b9 06:41:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:41:43 ---> Running in fbdb727b7040 06:41:43 Removing intermediate container fbdb727b7040 06:41:43 ---> 9c2fb7d393d7 06:41:43 Step 21/23 : LABEL arch=arm64 06:41:43 ---> Running in b9ed0f464930 06:41:43 Removing intermediate container b9ed0f464930 06:41:43 ---> 243c6c20c6e3 06:41:43 Step 22/23 : LABEL git_sha=1f7dfa0cee49005af5cff3b6997ca0c64185fcea 06:41:43 ---> Running in 94160639f6d0 06:41:44 Removing intermediate container 94160639f6d0 06:41:44 ---> 3902dec5459f 06:41:44 Step 23/23 : LABEL version=0.0.0 06:41:44 ---> Running in ef4b26813792 06:41:44 Removing intermediate container ef4b26813792 06:41:44 ---> f8a260c9e449 06:41:44 [Warning] One or more build-args [ARCH] were not consumed 06:41:44 Successfully built f8a260c9e449 06:41:44 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:44 06:41:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:45 arm64: Pulling from edgex-lftools-log-publisher 06:41:45 8998bd30e6a1: Pulling fs layer 06:41:45 04944245beec: Pulling fs layer 06:41:45 699f458cf7ca: Pulling fs layer 06:41:45 765212b225bb: Pulling fs layer 06:41:45 f23df028b6ca: Pulling fs layer 06:41:45 d65c8cfc05b1: Pulling fs layer 06:41:45 2437ff75d9bd: Pulling fs layer 06:41:45 765212b225bb: Waiting 06:41:45 f23df028b6ca: Waiting 06:41:45 d65c8cfc05b1: Waiting 06:41:45 2437ff75d9bd: Waiting 06:41:45 04944245beec: Verifying Checksum 06:41:45 04944245beec: Download complete 06:41:45 765212b225bb: Verifying Checksum 06:41:45 765212b225bb: Download complete 06:41:45 f23df028b6ca: Download complete 06:41:45 d65c8cfc05b1: Verifying Checksum 06:41:45 d65c8cfc05b1: Download complete 06:41:45 699f458cf7ca: Verifying Checksum 06:41:45 699f458cf7ca: Download complete 06:41:46 8998bd30e6a1: Verifying Checksum 06:41:46 8998bd30e6a1: Download complete 06:41:48 2437ff75d9bd: Verifying Checksum 06:41:48 2437ff75d9bd: Download complete 06:41:50 8998bd30e6a1: Pull complete 06:41:51 04944245beec: Pull complete 06:41:52 699f458cf7ca: Pull complete 06:41:52 765212b225bb: Pull complete 06:41:53 f23df028b6ca: Pull complete 06:41:53 d65c8cfc05b1: Pull complete 06:42:11 2437ff75d9bd: Pull complete 06:42:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:42:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:12 prd-ubuntu20.04-docker-arm64-4c-16g-669 does not seem to be running inside a container 06:42:12 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:arm64 cat 06:42:14 $ docker top 0f0fa7c4dbb96dcac4fa84e76faa7c007682c60813c143d55ebb93bdfc0bf245 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:15 ---> job-cost.sh 06:42:15 lf-activate-venv: SKIPPING 06:42:15 INFO: No Stack... 06:42:15 INFO: Retrieving Pricing Info for: v3-standard-4 06:42:16 INFO: Archiving Costs [Pipeline] sh 06:42:17 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 06:42:17 + cut -d, -f6 [Pipeline] lock 06:42:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] 06:42:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] did not exist. Created. 06:42:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:42:18 /w/workspace/device-sdk-go/3@tmp/durable-d8938ff6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:42:18 + echo total: 0.10999999940395355 [Pipeline] stash 06:42:18 Warning: overwriting stash ‘stack-cost’ 06:42:19 Stashed 1 file(s) [Pipeline] } 06:42:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:42:19 $ docker stop --time=1 0f0fa7c4dbb96dcac4fa84e76faa7c007682c60813c143d55ebb93bdfc0bf245 06:42:20 $ docker rm -f --volumes 0f0fa7c4dbb96dcac4fa84e76faa7c007682c60813c143d55ebb93bdfc0bf245 [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 06:42:21 provisioning config files... 06:42:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config3568990731238473774tmp [Pipeline] { [Pipeline] sh 06:42:21 + set +x 06:42:21 + curl -s https://codecov.io/bash 06:42:21 + bash -s -- 06:42:21 06:42:21 _____ _ 06:42:21 / ____| | | 06:42:21 | | ___ __| | ___ ___ _____ __ 06:42:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:42:21 | |___| (_) | (_| | __/ (_| (_) \ V / 06:42:21 \_____\___/ \__,_|\___|\___\___/ \_/ 06:42:21 Bash-1.0.6 06:42:21 06:42:21 06:42:21 ==> git version 2.25.1 found 06:42:21 ==> 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 06:42:21 Release-Date: 2020-01-08 06:42:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:42:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:42:21 ==> Jenkins CI detected. 06:42:21 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1580 06:42:21 project root: . 06:42:21 --> token set from env 06:42:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:42:21 ==> Running gcov in . (disable via -X gcov) 06:42:21 ==> Python coveragepy not found 06:42:21 ==> Searching for coverage reports in: 06:42:21 + . 06:42:21 -> Found 1 reports 06:42:21 ==> Detecting git/mercurial file structure 06:42:21 ==> Reading reports 06:42:21 + ./coverage.out bytes=122833 06:42:21 ==> Appending adjustments 06:42:21 https://docs.codecov.io/docs/fixing-reports 06:42:21 + Found adjustments 06:42:21 ==> Gzipping contents 06:42:21 20K /tmp/codecov.ceBtru.gz 06:42:21 ==> Uploading reports 06:42:21 url: https://codecov.io 06:42:21 query: branch=PR-1580&commit=1f7dfa0cee49005af5cff3b6997ca0c64185fcea&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= 06:42:21 -> Pinging Codecov 06:42:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1580&commit=1f7dfa0cee49005af5cff3b6997ca0c64185fcea&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= 06:42:21 -> Uploading to 06:42:21 https://storage.googleapis.com/codecov/v4/raw/2024-05-24/7E55EF52A471D76F132DFD9A03CDDE97/1f7dfa0cee49005af5cff3b6997ca0c64185fcea/68bda536-59e9-48f2-baef-a9af2afe7dd7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T064221Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14806754b92ea70bfce2c90bcab723b23562895ccbd1c2f60f439ab4ed272ece 06:42:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:42:21 Dload Upload Total Spent Left Speed 06:42:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16783 0 0 100 16783 0 50857 --:--:-- --:--:-- --:--:-- 50857 06:42:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] } 06:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:42:23 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] 06:42:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 06:42:23 total 16 06:42:23 drwxr-xr-x 3 root root 4096 May 24 06:28 . 06:42:23 drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:28 .. 06:42:23 drwxr-xr-x 2 root root 4096 May 24 06:28 cost 06:42:23 -rw-r--r-- 1 root root 86 May 24 06:28 cost.csv 06:42:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 06:42:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 06:42:23 total 16 06:42:23 drwxr-xr-x 3 jenkins jenkins 4096 May 24 06:28 . 06:42:23 drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:28 .. 06:42:23 drwxr-xr-x 2 jenkins jenkins 4096 May 24 06:28 cost 06:42:23 -rw-r--r-- 1 jenkins jenkins 86 May 24 06:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:42:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:42:24 ---> package-listing.sh 06:42:24 ++ facter osfamily 06:42:24 ++ tr '[:upper:]' '[:lower:]' 06:42:24 + OS_FAMILY=debian 06:42:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 06:42:24 + START_PACKAGES=/tmp/packages_start.txt 06:42:24 + END_PACKAGES=/tmp/packages_end.txt 06:42:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:42:24 + PACKAGES=/tmp/packages_start.txt 06:42:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' 06:42:24 + PACKAGES=/tmp/packages_end.txt 06:42:24 + case "${OS_FAMILY}" in 06:42:24 + dpkg -l 06:42:24 + grep '^ii' 06:42:24 + '[' -f /tmp/packages_start.txt ']' 06:42:24 + '[' -f /tmp/packages_end.txt ']' 06:42:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:42:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' 06:42:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ 06:42:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo 06:42:24 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-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:42:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:42:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:25 prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container 06:42:25 $ 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-1580/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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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-lftools-log-publisher:latest cat 06:42:25 $ docker top 4a620423ce0b2fea754a0ae0a2ec77cad32c6dcbad502e8745feb6e434cfba7a -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:42:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:42:26 + ls /var/log/sa-host 06:42:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:26 provisioning config files... 06:42:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config619117817460566364tmp [Pipeline] { [Pipeline] echo 06:42:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:42:27 ---> create-netrc.sh [Pipeline] } 06:42:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:42:27 ---> python-tools-install.sh [Pipeline] echo 06:42:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:42:27 ---> sudo-logs.sh 06:42:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:42:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:42:27 ---> job-cost.sh 06:42:27 lf-activate-venv: SKIPPING 06:42:27 DEBUG: total: 0.2199999988079071 06:42:27 INFO: Retrieving Stack Cost... 06:42:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:42:28 INFO: Archiving Costs [Pipeline] echo 06:42:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:42:29 ---> logs-deploy.sh 06:42:29 lf-activate-venv: SKIPPING 06:42:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/3 06:42:29 INFO: archiving workspace using pattern(s): 06:42:30 Archives upload complete. 06:42:30 INFO: archiving logs to Nexus