Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea2a9f5095d438847c4770173d896939b70fc875 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-ssh6494408988119522507.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3681960345611172081.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13645457858889029841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4336775694461222121.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2057086197655893345.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-825 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ea2a9f5095d438847c4770173d896939b70fc875 (main) Commit message: "Merge pull request #1581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.32" > git config core.sparsecheckout # timeout=10 > git checkout -f ea2a9f5095d438847c4770173d896939b70fc875 # timeout=10 > git rev-list --no-walk 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:49:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:49:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:49:05 ========================================================= 06:49:05 EdgeX Global Pipelines Version Info 06:49:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:49:06 ------------------- 06:49:06 stable info: 06:49:06 ------------------- 06:49:06 Commited By: Ginny Guan ginny@iotechsys.com 06:49:06 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:49:06 Message: update stable to v1.0.259 06:49:06 ------------------- 06:49:06 experimental info: 06:49:06 ------------------- 06:49:06 Commited By: Ginny Guan ginny@iotechsys.com 06:49:06 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:49:06 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:49:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:49:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea2a9f5 [Pipeline] echo 06:49:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:49:07 provisioning config files... 06:49:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3468013556624636091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:08 ---> ****-login.sh 06:49:08 nexus3.edgexfoundry.org:10001 06:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:08 Configure a credential helper to remove this warning. See 06:49:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:08 06:49:08 Login Succeeded 06:49:08 nexus3.edgexfoundry.org:10002 06:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:08 Configure a credential helper to remove this warning. See 06:49:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:08 06:49:08 Login Succeeded 06:49:08 nexus3.edgexfoundry.org:10003 06:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:08 Configure a credential helper to remove this warning. See 06:49:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:08 06:49:08 Login Succeeded 06:49:08 nexus3.edgexfoundry.org:10004 06:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:08 Configure a credential helper to remove this warning. See 06:49:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:08 06:49:08 Login Succeeded 06:49:08 ****.io 06:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:08 Configure a credential helper to remove this warning. See 06:49:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:08 06:49:08 Login Succeeded 06:49:08 ---> ****-login.sh ends [Pipeline] } 06:49:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:49:09 + git rev-list -1 --merges ea2a9f5095d438847c4770173d896939b70fc875~1..ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo 06:49:09 -----------> git rev-list -1 --merges ea2a9f5095d438847c4770173d896939b70fc875~1..ea2a9f5095d438847c4770173d896939b70fc875 ea2a9f5095d438847c4770173d896939b70fc875 06:49:09 ea2a9f5095d438847c4770173d896939b70fc875 [false] [Pipeline] sh 06:49:09 + git log --format=format:%s -1 ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo 06:49:09 ========================================================= 06:49:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:49:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:09 + git log --format=format:%s -1 ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo 06:49:09 [semverPrep] GIT_COMMIT: ea2a9f5095d438847c4770173d896939b70fc875, Commit Message: Merge pull request #1581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.32 [Pipeline] echo 06:49:09 [semverPrep] This is not a build commit. [Pipeline] sh 06:49:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:49:10 + grep -v github /etc/ssh/ssh_known_hosts 06:49:10 + [ -e /tmp/ssh_known_hosts ] 06:49:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:49:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:49:10 + sudo tee -a /etc/ssh/ssh_known_hosts 06:49:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:49:10 06:49:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:49:11 0.1.4: Pulling from edgex-devops/py-git-semver 06:49:11 b85a868b505f: Pulling fs layer 06:49:11 e2be974225ed: Pulling fs layer 06:49:11 339a4e72a1f5: Pulling fs layer 06:49:11 988bab9f4d93: Pulling fs layer 06:49:11 1469e6f7b9e6: Pulling fs layer 06:49:11 eaf3925da568: Pulling fs layer 06:49:11 bab4dde63d76: Pulling fs layer 06:49:11 bde34c3a00c8: Pulling fs layer 06:49:11 b352a97aabf1: Pulling fs layer 06:49:11 4872d77fe225: Pulling fs layer 06:49:11 5851b861e8e6: Pulling fs layer 06:49:11 988bab9f4d93: Waiting 06:49:11 1469e6f7b9e6: Waiting 06:49:11 b352a97aabf1: Waiting 06:49:11 4872d77fe225: Waiting 06:49:11 5851b861e8e6: Waiting 06:49:11 bab4dde63d76: Waiting 06:49:11 eaf3925da568: Waiting 06:49:11 bde34c3a00c8: Waiting 06:49:11 e2be974225ed: Verifying Checksum 06:49:11 988bab9f4d93: Verifying Checksum 06:49:11 988bab9f4d93: Download complete 06:49:11 1469e6f7b9e6: Verifying Checksum 06:49:11 1469e6f7b9e6: Download complete 06:49:11 eaf3925da568: Verifying Checksum 06:49:11 eaf3925da568: Download complete 06:49:11 339a4e72a1f5: Verifying Checksum 06:49:11 339a4e72a1f5: Download complete 06:49:11 bde34c3a00c8: Verifying Checksum 06:49:11 bde34c3a00c8: Download complete 06:49:11 b352a97aabf1: Verifying Checksum 06:49:11 b352a97aabf1: Download complete 06:49:11 4872d77fe225: Verifying Checksum 06:49:11 4872d77fe225: Download complete 06:49:11 5851b861e8e6: Verifying Checksum 06:49:11 5851b861e8e6: Download complete 06:49:11 b85a868b505f: Verifying Checksum 06:49:11 b85a868b505f: Download complete 06:49:11 bab4dde63d76: Verifying Checksum 06:49:11 bab4dde63d76: Download complete 06:49:12 b85a868b505f: Pull complete 06:49:12 e2be974225ed: Pull complete 06:49:12 339a4e72a1f5: Pull complete 06:49:13 988bab9f4d93: Pull complete 06:49:13 1469e6f7b9e6: Pull complete 06:49:13 eaf3925da568: Pull complete 06:49:15 bab4dde63d76: Pull complete 06:49:15 bde34c3a00c8: Pull complete 06:49:15 b352a97aabf1: Pull complete 06:49:15 4872d77fe225: Pull complete 06:49:15 5851b861e8e6: Pull complete 06:49:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:49:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:49:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:15 prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container 06:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:49:18 $ docker top 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 -eo pid,comm 06:49:18 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:49:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:49:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:49:18 [ssh-agent] Looking for ssh-agent implementation... 06:49:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:49:19 $ docker exec 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent 06:49:19 SSH_AUTH_SOCK=/tmp/ssh-xMIRmVT6nD6j/agent.32 06:49:19 SSH_AGENT_PID=38 06:49:19 Running ssh-add (command line suppressed) 06:49:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_998695521463486793.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_998695521463486793.key) 06:49:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:49:19 + git tag --points-at HEAD [Pipeline] } 06:49:19 $ docker exec --env ******** --env ******** 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent -k 06:49:19 unset SSH_AUTH_SOCK; 06:49:19 unset SSH_AGENT_PID; 06:49:19 echo Agent pid 38 killed; 06:49:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:49:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:49:19 [ssh-agent] Looking for ssh-agent implementation... 06:49:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:49:19 $ docker exec 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent 06:49:19 SSH_AUTH_SOCK=/tmp/ssh-ZA5zOD3Co1IF/agent.71 06:49:19 SSH_AGENT_PID=77 06:49:19 Running ssh-add (command line suppressed) 06:49:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_924027747378866283.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_924027747378866283.key) 06:49:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:49:20 + git semver init 06:49:20 2024-05-27 06:49:20,523 [run_init] DEBUG init version:0.0.0 force:False 06:49:20 2024-05-27 06:49:20,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:49:20 2024-05-27 06:49:20,525 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:49:20 2024-05-27 06:49:20,525 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:49:21 2024-05-27 06:49:21,832 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:49:21 2024-05-27 06:49:21,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:49:21 2024-05-27 06:49:21,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:49:21 2024-05-27 06:49:21,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:49:21 3.2.0-dev.14 [Pipeline] } 06:49:21 $ docker exec --env ******** --env ******** 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent -k 06:49:22 unset SSH_AUTH_SOCK; 06:49:22 unset SSH_AGENT_PID; 06:49:22 echo Agent pid 77 killed; 06:49:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:49:22 + git semver [Pipeline] } 06:49:22 $ docker stop --time=1 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 06:49:24 $ docker rm -f --volumes 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 [Pipeline] // withDockerContainer [Pipeline] sh 06:49:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:49:24 Stashed 1 file(s) [Pipeline] echo 06:49:24 [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:49:24 provisioning config files... 06:49:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1497084160342047887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:25 ---> ****-login.sh 06:49:25 nexus3.edgexfoundry.org:10001 06:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:25 Configure a credential helper to remove this warning. See 06:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:25 06:49:25 Login Succeeded 06:49:25 nexus3.edgexfoundry.org:10002 06:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:25 Configure a credential helper to remove this warning. See 06:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:25 06:49:25 Login Succeeded 06:49:25 nexus3.edgexfoundry.org:10003 06:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:25 Configure a credential helper to remove this warning. See 06:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:25 06:49:25 Login Succeeded 06:49:25 nexus3.edgexfoundry.org:10004 06:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:25 Configure a credential helper to remove this warning. See 06:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:25 06:49:25 Login Succeeded 06:49:25 ****.io 06:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:49:25 Configure a credential helper to remove this warning. See 06:49:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:49:25 06:49:25 Login Succeeded 06:49:25 ---> ****-login.sh ends [Pipeline] } 06:49:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:49:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:49:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:49:25 ========================================================= 06:49:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:49:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:26 + 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:49:26 Sending build context to Docker daemon 25.71MB 06:49:26 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:49:26 Step 2/10 : FROM ${BASE} AS builder 06:49:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:49:26 619be1103602: Pulling fs layer 06:49:26 7862e08f4a3e: Pulling fs layer 06:49:26 5df492c9dc93: Pulling fs layer 06:49:26 7629e6793208: Pulling fs layer 06:49:26 4f4fb700ef54: Pulling fs layer 06:49:26 fb5054dd5b73: Pulling fs layer 06:49:26 eeca6798cff9: Pulling fs layer 06:49:26 7629e6793208: Waiting 06:49:26 aa269ceb94a6: Pulling fs layer 06:49:26 ada007ff1a6a: Pulling fs layer 06:49:26 4f4fb700ef54: Waiting 06:49:26 fb5054dd5b73: Waiting 06:49:26 ada007ff1a6a: Waiting 06:49:26 eeca6798cff9: Waiting 06:49:26 7862e08f4a3e: Verifying Checksum 06:49:26 7862e08f4a3e: Download complete 06:49:26 7629e6793208: Verifying Checksum 06:49:26 7629e6793208: Download complete 06:49:26 4f4fb700ef54: Verifying Checksum 06:49:26 4f4fb700ef54: Download complete 06:49:26 fb5054dd5b73: Download complete 06:49:26 619be1103602: Verifying Checksum 06:49:26 619be1103602: Download complete 06:49:26 eeca6798cff9: Verifying Checksum 06:49:26 eeca6798cff9: Download complete 06:49:26 619be1103602: Pull complete 06:49:26 ada007ff1a6a: Verifying Checksum 06:49:26 ada007ff1a6a: Download complete 06:49:26 7862e08f4a3e: Pull complete 06:49:26 5df492c9dc93: Verifying Checksum 06:49:26 5df492c9dc93: Download complete 06:49:27 aa269ceb94a6: Verifying Checksum 06:49:27 aa269ceb94a6: Download complete 06:49:30 5df492c9dc93: Pull complete 06:49:30 7629e6793208: Pull complete 06:49:30 4f4fb700ef54: Pull complete 06:49:30 fb5054dd5b73: Pull complete 06:49:30 eeca6798cff9: Pull complete 06:49:32 aa269ceb94a6: Pull complete 06:49:33 ada007ff1a6a: Pull complete 06:49:33 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:49:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:49:33 ---> f489d0715acc 06:49:33 Step 3/10 : ARG MAKE=make build 06:49:37 ---> Running in 35f0026ddbf3 06:49:37 Removing intermediate container 35f0026ddbf3 06:49:37 ---> b6fd02694eb6 06:49:37 Step 4/10 : WORKDIR /device-sdk-go 06:49:37 ---> Running in 81c11b09a8dd 06:49:37 Removing intermediate container 81c11b09a8dd 06:49:37 ---> 8ba7ced95b7e 06:49:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:49:37 ---> Running in 5d029bdb9de0 06:49:37 Removing intermediate container 5d029bdb9de0 06:49:37 ---> 45c4fcb1d284 06:49:37 Step 6/10 : RUN apk add --update --no-cache make git 06:49:37 ---> Running in 7f7c6c813ea3 06:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:49:38 OK: 264 MiB in 52 packages 06:49:39 Removing intermediate container 7f7c6c813ea3 06:49:39 ---> 1c2f2c2fe78a 06:49:39 Step 7/10 : COPY go.mod vendor* ./ 06:49:39 ---> 63070d0e760f 06:49:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:49:39 ---> Running in 5a64212c1fca 06:49:39 Still waiting to schedule task 06:49:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:50:35 Removing intermediate container 5a64212c1fca 06:50:35 ---> bd0d6e52ffcf 06:50:35 Step 9/10 : COPY . . 06:50:36 ---> 4ec370b49fc2 06:50:36 Step 10/10 : RUN ${MAKE} 06:50:36 ---> Running in 9da85e9d2171 06:50:36 noop 06:50:37 Removing intermediate container 9da85e9d2171 06:50:37 ---> 5bc030dd9a77 06:50:37 Successfully built 5bc030dd9a77 06:50:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:37 + docker inspect -f . ci-base-image-x86_64 06:50:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:50:37 prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container 06:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:50:38 $ docker top 6efb8d66c15d32b5d7e208299a08c24516e059e231f4300ce5303e095d72da61 -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:38 + go version 06:50:38 go version go1.21.9 linux/amd64 [Pipeline] } 06:50:38 $ docker stop --time=1 6efb8d66c15d32b5d7e208299a08c24516e059e231f4300ce5303e095d72da61 06:50:39 $ docker rm -f --volumes 6efb8d66c15d32b5d7e208299a08c24516e059e231f4300ce5303e095d72da61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:40 + docker inspect -f . ci-base-image-x86_64 06:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:50:40 prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container 06:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:50:40 $ docker top 0691f84ec490feff17e57e50fb6d212182d46c45546f546cd9d8022abfc636be -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:50:41 + make test 06:50:41 go test -race -coverprofile=coverage.out ./... 06:50:49 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:51:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-827 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:51:09 Running in /w/workspace/device-sdk-go/285 [Pipeline] { [Pipeline] checkout 06:51:13 The recommended git tool is: git 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:51:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:51:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 06:51:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.059s coverage: 81.5% of statements 06:51:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements 06:51:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:51:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.109s coverage: 71.8% of statements 06:51:17 using credential edgex-jenkins-ssh 06:51:17 Cloning the remote Git repository 06:51:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:51:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:51:17 > git init /w/workspace/device-sdk-go/285 # timeout=10 06:51:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:51:17 > git --version # timeout=10 06:51:17 > git --version # 'git version 2.25.1' 06:51:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:51:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements 06:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.977s coverage: 45.9% of statements 06:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements 06:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements 06:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.061s coverage: 5.5% of statements 06:51:21 Avoid second fetch 06:51:21 Checking out Revision ea2a9f5095d438847c4770173d896939b70fc875 (main) 06:51:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:51:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:51:21 > git config core.sparsecheckout # timeout=10 06:51:21 > git checkout -f ea2a9f5095d438847c4770173d896939b70fc875 # timeout=10 06:51:22 Commit message: "Merge pull request #1581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.32" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:51:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:51:26 % Total % Received % Xferd Average Speed Time Time Time Current 06:51:26 Dload Upload Total Spent Left Speed 06:51:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 119k [Pipeline] sh 06:51:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:51:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 06:51:27 sudo tee /etc/docker/daemon.new 06:51:27 { 06:51:27 "registry-mirrors": [ 06:51:27 "https://nexus3.edgexfoundry.org:10001" 06:51:27 ], 06:51:27 "bip": "10.250.0.254/24", 06:51:27 "hosts": [ 06:51:27 "tcp://0.0.0.0:5555", 06:51:27 "unix:///var/run/docker.sock" 06:51:27 ], 06:51:27 "mtu": 1458, 06:51:27 "selinux-enabled": true, 06:51:27 "seccomp-profile": "/etc/docker/seccomp.json" 06:51:27 } [Pipeline] sh 06:51:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:51:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:51:46 provisioning config files... 06:51:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/285@tmp/config12239537865099210335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:47 ---> ****-login.sh 06:51:47 nexus3.edgexfoundry.org:10001 06:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:47 Configure a credential helper to remove this warning. See 06:51:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:47 06:51:47 Login Succeeded 06:51:47 nexus3.edgexfoundry.org:10002 06:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:48 Configure a credential helper to remove this warning. See 06:51:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:48 06:51:48 Login Succeeded 06:51:48 nexus3.edgexfoundry.org:10003 06:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:48 Configure a credential helper to remove this warning. See 06:51:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:48 06:51:48 Login Succeeded 06:51:48 nexus3.edgexfoundry.org:10004 06:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:49 Configure a credential helper to remove this warning. See 06:51:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:49 06:51:49 Login Succeeded 06:51:49 ****.io 06:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:51:49 Configure a credential helper to remove this warning. See 06:51:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:51:49 06:51:49 Login Succeeded 06:51:49 ---> ****-login.sh ends [Pipeline] } 06:51:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:51:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:51:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:51:49 ========================================================= 06:51:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:51:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:50 + 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:51:50 Sending build context to Docker daemon 13.27MB 06:51:50 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:51:50 Step 2/10 : FROM ${BASE} AS builder 06:51:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:51:51 c6b39de5b339: Pulling fs layer 06:51:51 a69c41024577: Pulling fs layer 06:51:51 d6de4b400683: Pulling fs layer 06:51:51 35cb2a7552d0: Pulling fs layer 06:51:51 4f4fb700ef54: Pulling fs layer 06:51:51 464afbd9ba4c: Pulling fs layer 06:51:51 00f215d4a9da: Pulling fs layer 06:51:51 d496ad576159: Pulling fs layer 06:51:51 4f4fb700ef54: Waiting 06:51:51 464afbd9ba4c: Waiting 06:51:51 00f215d4a9da: Waiting 06:51:51 d496ad576159: Waiting 06:51:51 35cb2a7552d0: Waiting 06:51:51 a69c41024577: Verifying Checksum 06:51:51 a69c41024577: Download complete 06:51:51 35cb2a7552d0: Verifying Checksum 06:51:51 35cb2a7552d0: Download complete 06:51:51 4f4fb700ef54: Verifying Checksum 06:51:51 4f4fb700ef54: Download complete 06:51:51 464afbd9ba4c: Verifying Checksum 06:51:51 464afbd9ba4c: Download complete 06:51:51 c6b39de5b339: Download complete 06:51:51 d496ad576159: Verifying Checksum 06:51:51 d496ad576159: Download complete 06:51:52 c6b39de5b339: Pull complete 06:51:52 GO111MODULE=on go vet ./... 06:51:53 a69c41024577: Pull complete 06:51:53 d6de4b400683: Verifying Checksum 06:51:53 d6de4b400683: Download complete 06:51:54 00f215d4a9da: Verifying Checksum 06:51:54 00f215d4a9da: Download complete 06:51:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:51:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:51:58 ./bin/test-attribution-txt.sh 06:51:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:51:58 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:51:58 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:51:58 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:51:58 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:51:58 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:51:58 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:51:58 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:51:58 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:51:58 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:51:58 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:51:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:51:58 $ docker stop --time=1 0691f84ec490feff17e57e50fb6d212182d46c45546f546cd9d8022abfc636be 06:52:03 $ docker rm -f --volumes 0691f84ec490feff17e57e50fb6d212182d46c45546f546cd9d8022abfc636be [Pipeline] // withDockerContainer [Pipeline] sh 06:52:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:52:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:52:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:52:04 + ls -al . 06:52:04 total 376 06:52:04 drwxrwxr-x 11 jenkins jenkins 4096 May 27 06:50 . 06:52:04 drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:48 .. 06:52:04 -rw-rw-r-- 1 jenkins jenkins 140 May 27 06:49 .dockerignore 06:52:04 drwxrwxr-x 8 jenkins jenkins 4096 May 27 06:51 .git 06:52:04 drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:49 .github 06:52:04 -rw-rw-r-- 1 jenkins jenkins 137 May 27 06:49 .gitignore 06:52:04 -rw-rw-r-- 1 jenkins jenkins 42 May 27 06:49 .golangci.yml 06:52:04 drwxr-xr-x 3 jenkins jenkins 4096 May 27 06:49 .semver 06:52:04 -rw-rw-r-- 1 jenkins jenkins 48109 May 27 06:49 CHANGELOG.md 06:52:04 -rw-rw-r-- 1 jenkins jenkins 677 May 27 06:49 GOVERNANCE.md 06:52:04 -rw-rw-r-- 1 jenkins jenkins 885 May 27 06:49 Jenkinsfile 06:52:04 -rw-rw-r-- 1 jenkins jenkins 11341 May 27 06:49 LICENSE 06:52:04 -rw-rw-r-- 1 jenkins jenkins 1842 May 27 06:49 Makefile 06:52:04 -rw-rw-r-- 1 jenkins jenkins 619 May 27 06:49 OWNERS.md 06:52:04 -rw-rw-r-- 1 jenkins jenkins 4933 May 27 06:49 README.md 06:52:04 -rw-rw-r-- 1 jenkins jenkins 12 May 27 06:49 VERSION 06:52:04 drwxrwxr-x 2 jenkins jenkins 4096 May 27 06:49 bin 06:52:04 -rw-r--r-- 1 jenkins jenkins 122155 May 27 06:51 coverage.out 06:52:04 drwxrwxr-x 5 jenkins jenkins 4096 May 27 06:49 example 06:52:04 -rw-rw-r-- 1 jenkins jenkins 7064 May 27 06:49 go.mod 06:52:04 -rw-rw-r-- 1 jenkins jenkins 101331 May 27 06:49 go.sum 06:52:04 drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:49 internal 06:52:04 drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:49 openapi 06:52:04 drwxrwxr-x 6 jenkins jenkins 4096 May 27 06:49 pkg 06:52:04 drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:49 snap 06:52:04 -rw-rw-r-- 1 jenkins jenkins 222 May 27 06:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52: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=ea2a9f5095d438847c4770173d896939b70fc875 --label arch=amd64 --label version=3.2.0-dev.14 . 06:52:05 Sending build context to Docker daemon 25.83MB 06:52:05 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:52:05 Step 2/23 : FROM ${BASE} AS builder 06:52:05 ---> 5bc030dd9a77 06:52:05 Step 3/23 : ARG MAKE=make build 06:52:05 ---> Running in fef5183db9f7 06:52:05 Removing intermediate container fef5183db9f7 06:52:05 ---> 51325ba61d98 06:52:05 Step 4/23 : WORKDIR /device-sdk-go 06:52:05 ---> Running in 3a91ea1d5418 06:52:05 Removing intermediate container 3a91ea1d5418 06:52:05 ---> ce5adc4cf863 06:52:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:52:05 ---> Running in 5b0480a51a07 06:52:05 Removing intermediate container 5b0480a51a07 06:52:05 ---> 8406504cf3e2 06:52:05 Step 6/23 : RUN apk add --update --no-cache make git 06:52:05 ---> Running in a9af538dfff4 06:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:52:06 OK: 264 MiB in 52 packages 06:52:06 Removing intermediate container a9af538dfff4 06:52:06 ---> 972ad589fd2c 06:52:06 Step 7/23 : COPY go.mod vendor* ./ 06:52:06 ---> c7a1469fef0d 06:52:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:52:06 ---> Running in 11c78ff57f3c 06:52:07 d6de4b400683: Pull complete 06:52:07 35cb2a7552d0: Pull complete 06:52:07 4f4fb700ef54: Pull complete 06:52:07 Removing intermediate container 11c78ff57f3c 06:52:07 ---> a135af2d040b 06:52:07 Step 9/23 : COPY . . 06:52:07 464afbd9ba4c: Pull complete 06:52:08 ---> fb7380eed2b0 06:52:08 Step 10/23 : RUN ${MAKE} 06:52:08 ---> Running in 5a7c095b6087 06:52:08 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:52:17 00f215d4a9da: Pull complete 06:52:17 d496ad576159: Pull complete 06:52:18 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:52:18 ---> f246e2811388 06:52:18 Step 3/10 : ARG MAKE=make build 06:52:20 ---> Running in 9e4ad043e983 06:52:20 Removing intermediate container 9e4ad043e983 06:52:20 ---> 3037e15be003 06:52:20 Step 4/10 : WORKDIR /device-sdk-go 06:52:20 ---> Running in 61d1e774387f 06:52:20 Removing intermediate container 61d1e774387f 06:52:20 ---> 711876a55f6c 06:52:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:52:20 ---> Running in cada045052a1 06:52:20 Removing intermediate container cada045052a1 06:52:20 ---> c3411c2525d5 06:52:20 Step 6/10 : RUN apk add --update --no-cache make git 06:52:20 ---> Running in 4d7eef6a39bb 06:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:52:23 OK: 266 MiB in 52 packages 06:52:24 Removing intermediate container 4d7eef6a39bb 06:52:24 ---> b80b1b401f2f 06:52:24 Step 7/10 : COPY go.mod vendor* ./ 06:52:24 ---> e1af04a7e1ca 06:52:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:52:24 ---> Running in 4468078b5c07 06:52:40 Removing intermediate container 5a7c095b6087 06:52:40 ---> 32b426e30a59 06:52:40 Step 11/23 : FROM alpine:3.18 06:52:40 3.18: Pulling from library/alpine 06:52:40 619be1103602: Already exists 06:52:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:52:40 Status: Downloaded newer image for alpine:3.18 06:52:40 ---> d3782b16ccc9 06:52:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:52:40 ---> Running in e9ee7a220ea5 06:52:40 Removing intermediate container e9ee7a220ea5 06:52:40 ---> 23f6632ed8e5 06:52:40 Step 13/23 : RUN apk add --update --no-cache 06:52:40 ---> Running in 5c34436ab3ac 06:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:52:41 OK: 7 MiB in 15 packages 06:52:41 Removing intermediate container 5c34436ab3ac 06:52:41 ---> 3b7c8ca3f699 06:52:41 Step 14/23 : WORKDIR / 06:52:41 ---> Running in d50cb1d457cd 06:52:41 Removing intermediate container d50cb1d457cd 06:52:41 ---> 0299d4a36cde 06:52:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:52:41 ---> c4611bb16c55 06:52:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:52:43 ---> b085463c849e 06:52:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:52:43 ---> 02d9e24ddcfd 06:52:43 Step 18/23 : EXPOSE 59999 06:52:43 ---> Running in 225d89c621f6 06:52:43 Removing intermediate container 225d89c621f6 06:52:43 ---> 3e722662deed 06:52:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:52:43 ---> Running in 12f9210198e4 06:52:43 Removing intermediate container 12f9210198e4 06:52:43 ---> 4ee142a4798a 06:52:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:52:43 ---> Running in e393b443c0f6 06:52:43 Removing intermediate container e393b443c0f6 06:52:43 ---> 37dad2689440 06:52:43 Step 21/23 : LABEL arch=amd64 06:52:43 ---> Running in 61536a96b148 06:52:43 Removing intermediate container 61536a96b148 06:52:43 ---> 33f478cc3257 06:52:43 Step 22/23 : LABEL git_sha=ea2a9f5095d438847c4770173d896939b70fc875 06:52:43 ---> Running in 4194c40f4346 06:52:43 Removing intermediate container 4194c40f4346 06:52:43 ---> bc8e627866fd 06:52:43 Step 23/23 : LABEL version=3.2.0-dev.14 06:52:43 ---> Running in 4e6ef2e41de4 06:52:43 Removing intermediate container 4e6ef2e41de4 06:52:43 ---> e468be36f5ab 06:52:43 [Warning] One or more build-args [ARCH] were not consumed 06:52:43 Successfully built e468be36f5ab 06:52:43 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:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:44 06:52:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:44 latest: Pulling from edgex-lftools-log-publisher 06:52:44 5eb5b503b376: Pulling fs layer 06:52:44 5c69ac0246d0: Pulling fs layer 06:52:44 ec43610c2a17: Pulling fs layer 06:52:44 3a2ae6a8a46f: Pulling fs layer 06:52:44 33b1e0a273af: Pulling fs layer 06:52:44 5d3b04190fa2: Pulling fs layer 06:52:44 2f39f015ded8: Pulling fs layer 06:52:44 33b1e0a273af: Waiting 06:52:44 3a2ae6a8a46f: Waiting 06:52:44 5d3b04190fa2: Waiting 06:52:44 2f39f015ded8: Waiting 06:52:44 5c69ac0246d0: Download complete 06:52:44 3a2ae6a8a46f: Verifying Checksum 06:52:44 3a2ae6a8a46f: Download complete 06:52:44 33b1e0a273af: Verifying Checksum 06:52:44 33b1e0a273af: Download complete 06:52:44 5d3b04190fa2: Verifying Checksum 06:52:44 5d3b04190fa2: Download complete 06:52:44 ec43610c2a17: Verifying Checksum 06:52:44 ec43610c2a17: Download complete 06:52:44 5eb5b503b376: Download complete 06:52:45 2f39f015ded8: Download complete 06:52:45 5eb5b503b376: Pull complete 06:52:45 5c69ac0246d0: Pull complete 06:52:46 ec43610c2a17: Pull complete 06:52:46 3a2ae6a8a46f: Pull complete 06:52:46 33b1e0a273af: Pull complete 06:52:46 5d3b04190fa2: Pull complete 06:52:50 2f39f015ded8: Pull complete 06:52:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:51 prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container 06:52: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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:52:54 $ docker top e8f25f065c96d15a63cdcfaef7bc9811817acffff371d0bbefa4c50c719f216d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:55 ---> job-cost.sh 06:52:55 lf-activate-venv: SKIPPING 06:52:55 INFO: No Stack... 06:52:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:52:55 INFO: Archiving Costs [Pipeline] sh 06:52:55 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:52:55 + cut -d, -f6 [Pipeline] lock 06:52:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] 06:52:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] did not exist. Created. 06:52:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:56 + echo total: 0.2199999988079071 [Pipeline] stash 06:52:56 Stashed 1 file(s) [Pipeline] } 06:52:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] // lock [Pipeline] } 06:52:56 $ docker stop --time=1 e8f25f065c96d15a63cdcfaef7bc9811817acffff371d0bbefa4c50c719f216d 06:52:57 $ docker rm -f --volumes e8f25f065c96d15a63cdcfaef7bc9811817acffff371d0bbefa4c50c719f216d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:54:16 Removing intermediate container 4468078b5c07 06:54:16 ---> aa174524fa84 06:54:16 Step 9/10 : COPY . . 06:54:16 ---> 0ecede801847 06:54:16 Step 10/10 : RUN ${MAKE} 06:54:16 ---> Running in 5c828bb9ebae 06:54:16 noop 06:54:16 Removing intermediate container 5c828bb9ebae 06:54:16 ---> d7d2772334dc 06:54:16 Successfully built d7d2772334dc 06:54:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:16 + docker inspect -f . ci-base-image-arm64 06:54:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:17 prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container 06:54:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/285 -v /w/workspace/device-sdk-go/285:/w/workspace/device-sdk-go/285:rw,z -v /w/workspace/device-sdk-go/285@tmp:/w/workspace/device-sdk-go/285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:54:18 $ docker top 610c7291cba20dc8380c15807967ea8d8105c5c321d3442d13d046732fd4c076 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:19 + go version 06:54:19 go version go1.21.9 linux/arm64 [Pipeline] } 06:54:19 $ docker stop --time=1 610c7291cba20dc8380c15807967ea8d8105c5c321d3442d13d046732fd4c076 06:54:20 $ docker rm -f --volumes 610c7291cba20dc8380c15807967ea8d8105c5c321d3442d13d046732fd4c076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:21 + docker inspect -f . ci-base-image-arm64 06:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container 06:54:21 $ 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/285 -v /w/workspace/device-sdk-go/285:/w/workspace/device-sdk-go/285:rw,z -v /w/workspace/device-sdk-go/285@tmp:/w/workspace/device-sdk-go/285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:54:22 $ docker top 8b0039f60b1588bfe0f52be2f620be9c859d10c8473a71a538f240e64ab82749 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:23 + git config --global --add safe.directory /w/workspace/device-sdk-go/285 [Pipeline] fileExists [Pipeline] sh 06:54:23 + make test 06:54:24 go test -race -coverprofile=coverage.out ./... 06:55:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:58:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:58:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:58:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:58:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:58:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:58:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.288s coverage: 27.6% of statements 06:58:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.299s coverage: 81.5% of statements 06:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:59:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.393s coverage: 86.0% of statements 06:59:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:59:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.637s coverage: 71.8% of statements 06:59:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.279s coverage: 14.4% of statements 06:59:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:59:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:59:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.873s coverage: 45.9% of statements 06:59:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.454s coverage: 68.5% of statements 06:59:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.485s coverage: 89.2% of statements 06:59:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:59:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.358s coverage: 5.5% of statements 06:59:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:59:22 GO111MODULE=on go vet ./... 07:03:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:03:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:03:29 ./bin/test-attribution-txt.sh 07:03:29 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:03:29 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:03:29 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:03:29 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:03:29 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:03:29 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:03:29 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:03:29 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:03:29 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:03:29 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:03:29 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:03:29 $ docker stop --time=1 8b0039f60b1588bfe0f52be2f620be9c859d10c8473a71a538f240e64ab82749 07:03:31 $ docker rm -f --volumes 8b0039f60b1588bfe0f52be2f620be9c859d10c8473a71a538f240e64ab82749 [Pipeline] // withDockerContainer [Pipeline] sh 07:03:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:03:34 Warning: overwriting stash ‘coverage-report’ 07:03:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:03:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:03:35 + ls -al . 07:03:35 total 372 07:03:35 drwxrwxr-x 10 jenkins jenkins 4096 May 27 06:54 . 07:03:35 drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:51 .. 07:03:35 -rw-rw-r-- 1 jenkins jenkins 140 May 27 06:51 .dockerignore 07:03:35 drwxrwxr-x 8 jenkins jenkins 4096 May 27 06:51 .git 07:03:35 drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:51 .github 07:03:35 -rw-rw-r-- 1 jenkins jenkins 137 May 27 06:51 .gitignore 07:03:35 -rw-rw-r-- 1 jenkins jenkins 42 May 27 06:51 .golangci.yml 07:03:35 -rw-rw-r-- 1 jenkins jenkins 48109 May 27 06:51 CHANGELOG.md 07:03:35 -rw-rw-r-- 1 jenkins jenkins 677 May 27 06:51 GOVERNANCE.md 07:03:35 -rw-rw-r-- 1 jenkins jenkins 885 May 27 06:51 Jenkinsfile 07:03:35 -rw-rw-r-- 1 jenkins jenkins 11341 May 27 06:51 LICENSE 07:03:35 -rw-rw-r-- 1 jenkins jenkins 1842 May 27 06:51 Makefile 07:03:35 -rw-rw-r-- 1 jenkins jenkins 619 May 27 06:51 OWNERS.md 07:03:35 -rw-rw-r-- 1 jenkins jenkins 4933 May 27 06:51 README.md 07:03:35 -rw-rw-r-- 1 jenkins jenkins 12 May 27 06:49 VERSION 07:03:35 drwxrwxr-x 2 jenkins jenkins 4096 May 27 06:51 bin 07:03:35 -rw-r--r-- 1 jenkins jenkins 122153 May 27 06:59 coverage.out 07:03:35 drwxrwxr-x 5 jenkins jenkins 4096 May 27 06:51 example 07:03:35 -rw-rw-r-- 1 jenkins jenkins 7064 May 27 06:51 go.mod 07:03:35 -rw-rw-r-- 1 jenkins jenkins 101331 May 27 06:51 go.sum 07:03:35 drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:51 internal 07:03:35 drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:51 openapi 07:03:35 drwxrwxr-x 6 jenkins jenkins 4096 May 27 06:51 pkg 07:03:35 drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:51 snap 07:03:35 -rw-rw-r-- 1 jenkins jenkins 222 May 27 06:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:36 + 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=ea2a9f5095d438847c4770173d896939b70fc875 --label arch=arm64 --label version=3.2.0-dev.14 . 07:03:36 Sending build context to Docker daemon 13.39MB 07:03:36 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:03:36 Step 2/23 : FROM ${BASE} AS builder 07:03:36 ---> d7d2772334dc 07:03:36 Step 3/23 : ARG MAKE=make build 07:03:36 ---> Running in a6fac538a7f5 07:03:37 Removing intermediate container a6fac538a7f5 07:03:37 ---> 79862beec725 07:03:37 Step 4/23 : WORKDIR /device-sdk-go 07:03:37 ---> Running in 6b76e357e38c 07:03:37 Removing intermediate container 6b76e357e38c 07:03:37 ---> b723c5449481 07:03:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:03:37 ---> Running in 362d64e79b53 07:03:37 Removing intermediate container 362d64e79b53 07:03:37 ---> 195db8c4bbf0 07:03:37 Step 6/23 : RUN apk add --update --no-cache make git 07:03:38 ---> Running in cc923d033e09 07:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:03:40 OK: 266 MiB in 52 packages 07:03:41 Removing intermediate container cc923d033e09 07:03:41 ---> edc7e6c3ed1e 07:03:41 Step 7/23 : COPY go.mod vendor* ./ 07:03:41 ---> b1cdc6f30405 07:03:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:03:41 ---> Running in 7889dcd8635f 07:03:44 Removing intermediate container 7889dcd8635f 07:03:44 ---> f2217be7d5b0 07:03:44 Step 9/23 : COPY . . 07:03:45 ---> a46fe45ca822 07:03:45 Step 10/23 : RUN ${MAKE} 07:03:45 ---> Running in e22db0fedb79 07:03:46 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:07:38 Removing intermediate container e22db0fedb79 07:07:38 ---> 51571115413e 07:07:38 Step 11/23 : FROM alpine:3.18 07:07:38 3.18: Pulling from library/alpine 07:07:38 c6b39de5b339: Already exists 07:07:38 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:07:38 Status: Downloaded newer image for alpine:3.18 07:07:38 ---> 33abbf032149 07:07:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:07:38 ---> Running in 8c4206fc0218 07:07:38 Removing intermediate container 8c4206fc0218 07:07:38 ---> 503183de1837 07:07:38 Step 13/23 : RUN apk add --update --no-cache 07:07:38 ---> Running in 5d1d262aa594 07:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:07:38 OK: 8 MiB in 15 packages 07:07:38 Removing intermediate container 5d1d262aa594 07:07:38 ---> 7a97b4c80756 07:07:38 Step 14/23 : WORKDIR / 07:07:38 ---> Running in 4a41d5e55653 07:07:38 Removing intermediate container 4a41d5e55653 07:07:38 ---> 26b531133dc6 07:07:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:07:38 ---> 5513243d809e 07:07:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:07:38 ---> edba02c893cc 07:07:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:07:38 ---> 245f8a83192c 07:07:38 Step 18/23 : EXPOSE 59999 07:07:38 ---> Running in 787d76d994cc 07:07:38 Removing intermediate container 787d76d994cc 07:07:38 ---> 8f93acb9d0f3 07:07:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:07:38 ---> Running in e4e7973199b2 07:07:38 Removing intermediate container e4e7973199b2 07:07:38 ---> b0dde82db441 07:07:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:07:38 ---> Running in fc60f7b35b39 07:07:38 Removing intermediate container fc60f7b35b39 07:07:38 ---> 0ca2d0e8a6ec 07:07:38 Step 21/23 : LABEL arch=arm64 07:07:38 ---> Running in e6813af4019b 07:07:38 Removing intermediate container e6813af4019b 07:07:38 ---> a97d5307bb1d 07:07:38 Step 22/23 : LABEL git_sha=ea2a9f5095d438847c4770173d896939b70fc875 07:07:38 ---> Running in 95a322544a6a 07:07:38 Removing intermediate container 95a322544a6a 07:07:38 ---> 44d454cd96bf 07:07:38 Step 23/23 : LABEL version=3.2.0-dev.14 07:07:38 ---> Running in 51aca520927b 07:07:38 Removing intermediate container 51aca520927b 07:07:38 ---> 429ddbb3588e 07:07:38 [Warning] One or more build-args [ARCH] were not consumed 07:07:38 Successfully built 429ddbb3588e 07:07:38 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 07:07:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:39 07:07:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:39 arm64: Pulling from edgex-lftools-log-publisher 07:07:39 8998bd30e6a1: Pulling fs layer 07:07:39 04944245beec: Pulling fs layer 07:07:39 699f458cf7ca: Pulling fs layer 07:07:39 765212b225bb: Pulling fs layer 07:07:39 f23df028b6ca: Pulling fs layer 07:07:39 d65c8cfc05b1: Pulling fs layer 07:07:39 2437ff75d9bd: Pulling fs layer 07:07:39 765212b225bb: Waiting 07:07:39 f23df028b6ca: Waiting 07:07:39 d65c8cfc05b1: Waiting 07:07:39 2437ff75d9bd: Waiting 07:07:39 04944245beec: Verifying Checksum 07:07:39 04944245beec: Download complete 07:07:39 765212b225bb: Verifying Checksum 07:07:39 765212b225bb: Download complete 07:07:39 d65c8cfc05b1: Verifying Checksum 07:07:39 d65c8cfc05b1: Download complete 07:07:39 699f458cf7ca: Verifying Checksum 07:07:39 699f458cf7ca: Download complete 07:07:40 8998bd30e6a1: Download complete 07:07:42 2437ff75d9bd: Verifying Checksum 07:07:42 2437ff75d9bd: Download complete 07:07:44 8998bd30e6a1: Pull complete 07:07:45 04944245beec: Pull complete 07:07:47 699f458cf7ca: Pull complete 07:07:47 765212b225bb: Pull complete 07:07:47 f23df028b6ca: Pull complete 07:07:47 d65c8cfc05b1: Pull complete 07:08:06 2437ff75d9bd: Pull complete 07:08:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:08:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container 07:08:06 $ 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/285 -v /w/workspace/device-sdk-go/285:/w/workspace/device-sdk-go/285:rw,z -v /w/workspace/device-sdk-go/285@tmp:/w/workspace/device-sdk-go/285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:08:09 $ docker top e0a0623f615131392d411ef67c00dc0cfaa74f3dd291966ef3999606b10f6c95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:09 ---> job-cost.sh 07:08:09 lf-activate-venv: SKIPPING 07:08:09 INFO: No Stack... 07:08:10 INFO: Retrieving Pricing Info for: v3-standard-4 07:08:11 INFO: Archiving Costs [Pipeline] sh 07:08:12 + cat /w/workspace/device-sdk-go/285/archives/cost.csv 07:08:12 + cut -d, -f6 [Pipeline] lock 07:08:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] 07:08:12 Resource [jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] did not exist. Created. 07:08:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:12 /w/workspace/device-sdk-go/285@tmp/durable-0fe683a4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:08:13 + echo total: 0.10999999940395355 [Pipeline] stash 07:08:13 Warning: overwriting stash ‘stack-cost’ 07:08:13 Stashed 1 file(s) [Pipeline] } 07:08:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] // lock [Pipeline] } 07:08:13 $ docker stop --time=1 e0a0623f615131392d411ef67c00dc0cfaa74f3dd291966ef3999606b10f6c95 07:08:15 $ docker rm -f --volumes e0a0623f615131392d411ef67c00dc0cfaa74f3dd291966ef3999606b10f6c95 [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 07:08:15 provisioning config files... 07:08:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14338816117640630577tmp [Pipeline] { [Pipeline] sh 07:08:16 + set +x 07:08:16 + curl -s https://codecov.io/bash 07:08:16 + bash -s -- 07:08:16 07:08:16 _____ _ 07:08:16 / ____| | | 07:08:16 | | ___ __| | ___ ___ _____ __ 07:08:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:08:16 | |___| (_) | (_| | __/ (_| (_) \ V / 07:08:16 \_____\___/ \__,_|\___|\___\___/ \_/ 07:08:16 Bash-1.0.6 07:08:16 07:08:16 07:08:16 ==> git version 2.25.1 found 07:08:16 ==> 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 07:08:16 Release-Date: 2020-01-08 07:08:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:08:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:08:16 ==> Jenkins CI detected. 07:08:16 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:08:16 project root: . 07:08:16 --> token set from env 07:08:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:08:16 ==> Running gcov in . (disable via -X gcov) 07:08:16 ==> Python coveragepy not found 07:08:16 ==> Searching for coverage reports in: 07:08:16 + . 07:08:16 -> Found 1 reports 07:08:16 ==> Detecting git/mercurial file structure 07:08:16 ==> Reading reports 07:08:16 + ./coverage.out bytes=122153 07:08:16 ==> Appending adjustments 07:08:16 https://docs.codecov.io/docs/fixing-reports 07:08:16 + Found adjustments 07:08:16 ==> Gzipping contents 07:08:16 20K /tmp/codecov.a78bIq.gz 07:08:16 ==> Uploading reports 07:08:16 url: https://codecov.io 07:08:16 query: branch=main&commit=ea2a9f5095d438847c4770173d896939b70fc875&build=285&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F285%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:16 -> Pinging Codecov 07:08:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=ea2a9f5095d438847c4770173d896939b70fc875&build=285&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F285%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:16 -> Uploading to 07:08:16 https://storage.googleapis.com/codecov/v4/raw/2024-05-27/7E55EF52A471D76F132DFD9A03CDDE97/ea2a9f5095d438847c4770173d896939b70fc875/f33f448a-78b3-44c9-b810-42673fb86e54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T070816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b52938211f6489de7ff4cb7541d7d342e214010c818adb906c81a5782062c0ee 07:08:16 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:16 Dload Upload Total Spent Left Speed 07:08:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 73634 --:--:-- --:--:-- --:--:-- 73634 07:08:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] } 07:08:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:08:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:08:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:08:17 07:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:08:17 latest: Pulling from edgex-devops/edgex-snyk-go 07:08:17 619be1103602: Already exists 07:08:17 f8ea3408117e: Pulling fs layer 07:08:17 91320369b822: Pulling fs layer 07:08:17 0406650e8295: Pulling fs layer 07:08:17 4f4fb700ef54: Pulling fs layer 07:08:17 96d80e3f36e1: Pulling fs layer 07:08:17 bcf3aedb951c: Pulling fs layer 07:08:17 4f4fb700ef54: Waiting 07:08:17 bcf3aedb951c: Waiting 07:08:17 0406650e8295: Download complete 07:08:17 f8ea3408117e: Verifying Checksum 07:08:17 f8ea3408117e: Download complete 07:08:17 4f4fb700ef54: Verifying Checksum 07:08:17 4f4fb700ef54: Download complete 07:08:17 f8ea3408117e: Pull complete 07:08:18 96d80e3f36e1: Verifying Checksum 07:08:18 96d80e3f36e1: Download complete 07:08:18 91320369b822: Verifying Checksum 07:08:18 91320369b822: Download complete 07:08:18 bcf3aedb951c: Verifying Checksum 07:08:18 bcf3aedb951c: Download complete 07:08:22 91320369b822: Pull complete 07:08:22 0406650e8295: Pull complete 07:08:22 4f4fb700ef54: Pull complete 07:08:22 96d80e3f36e1: Pull complete 07:08:25 bcf3aedb951c: Pull complete 07:08:25 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:08:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:25 prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container 07:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:08:28 $ docker top a8f03f40ac3361cf87846b82290006a2f83edb4cbe67602287c81dc1d6f71933 -eo pid,comm [Pipeline] { [Pipeline] echo 07:08:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:08:29 + set -o pipefail 07:08:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:08:34 07:08:34 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... 07:08:34 07:08:34 'go list -json -deps ./...' command failed with error: go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.32 07:08:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.20 07:08:34 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 07:08:34 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.20 07:08:34 go: downloading github.com/labstack/echo/v4 v4.11.4 07:08:34 go: downloading github.com/google/uuid v1.6.0 07:08:34 go: downloading github.com/hashicorp/go-multierror v1.1.1 07:08:34 go: downloading gopkg.in/yaml.v3 v3.0.1 07:08:34 go: downloading github.com/stretchr/testify v1.9.0 07:08:34 go: downloading github.com/OneOfOne/xxhash v1.2.8 07:08:34 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 07:08:34 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.7 07:08:34 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.8 07:08:34 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 07:08:34 go: downloading github.com/openziti/sdk-golang v0.23.37 07:08:34 go: downloading github.com/go-kit/log v0.2.1 07:08:34 go: downloading github.com/fxamacker/cbor/v2 v2.6.0 07:08:34 go: downloading github.com/go-playground/validator/v10 v10.20.0 07:08:34 go: downloading github.com/sirupsen/logrus v1.9.3 07:08:34 go: downloading github.com/mitchellh/copystructure v1.2.0 07:08:34 go: downloading github.com/mitchellh/mapstructure v1.5.0 07:08:34 go: downloading github.com/hashicorp/errwrap v1.1.0 07:08:34 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 07:08:34 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 07:08:34 go: downloading github.com/stretchr/objx v0.5.2 07:08:34 go: downloading github.com/labstack/gommon v0.4.2 07:08:34 go: downloading golang.org/x/crypto v0.23.0 07:08:34 go: downloading golang.org/x/net v0.25.0 07:08:34 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 07:08:34 go: downloading github.com/valyala/fasttemplate v1.2.2 07:08:34 go: downloading golang.org/x/time v0.5.0 07:08:34 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.7 07:08:34 go: downloading github.com/gorilla/websocket v1.5.1 07:08:34 go: downloading golang.org/x/sync v0.7.0 07:08:34 go: downloading github.com/go-logfmt/logfmt v0.5.1 07:08:34 go: downloading golang.org/x/sys v0.20.0 07:08:34 go: downloading github.com/mitchellh/reflectwalk v1.0.2 07:08:34 go: downloading github.com/x448/float16 v0.8.4 07:08:34 go: downloading github.com/go-redis/redis/v7 v7.3.0 07:08:34 go: downloading github.com/go-openapi/runtime v0.28.0 07:08:34 go: downloading github.com/go-openapi/strfmt v0.23.0 07:08:34 go: downloading github.com/go-resty/resty/v2 v2.13.1 07:08:34 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 07:08:34 go: downloading github.com/michaelquigley/pfxlog v0.6.10 07:08:34 go: downloading github.com/openziti/edge-api v0.26.19 07:08:34 go: downloading github.com/openziti/identity v1.0.77 07:08:34 go: downloading github.com/openziti/foundation/v2 v2.0.45 07:08:34 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 07:08:34 go: downloading github.com/pkg/errors v0.9.1 07:08:34 go: downloading github.com/zitadel/oidc/v2 v2.12.0 07:08:34 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 07:08:34 go: downloading golang.org/x/oauth2 v0.20.0 07:08:34 go: downloading github.com/openziti/channel/v2 v2.0.130 07:08:34 go: downloading github.com/openziti/secretstream v0.1.20 07:08:34 go: downloading github.com/openziti/transport/v2 v2.0.133 07:08:34 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 07:08:34 go: downloading github.com/kataras/go-events v0.0.3 07:08:34 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 07:08:34 go: downloading github.com/openziti/metrics v1.2.54 07:08:34 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 07:08:34 go: downloading github.com/go-playground/universal-translator v0.18.1 07:08:34 go: downloading github.com/leodido/go-urn v1.4.0 07:08:34 go: downloading golang.org/x/text v0.15.0 07:08:34 go: downloading github.com/mattn/go-colorable v0.1.13 07:08:34 go: downloading github.com/mattn/go-isatty v0.0.20 07:08:34 go: downloading github.com/hashicorp/consul/api v1.28.3 07:08:34 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:08:34 go: downloading github.com/spf13/cast v1.6.0 07:08:34 go: downloading github.com/valyala/bytebufferpool v1.0.0 07:08:34 go: downloading github.com/zeebo/errs v1.3.0 07:08:34 go: downloading google.golang.org/grpc v1.60.1 07:08:34 go: downloading github.com/go-openapi/errors v0.22.0 07:08:34 go: downloading github.com/go-openapi/swag v0.23.0 07:08:34 go: downloading github.com/opentracing/opentracing-go v1.2.0 07:08:34 go: downloading go.opentelemetry.io/otel v1.25.0 07:08:34 go: downloading go.opentelemetry.io/otel/trace v1.25.0 07:08:34 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 07:08:34 go: downloading github.com/oklog/ulid v1.3.1 07:08:34 go: downloading go.mongodb.org/mongo-driver v1.15.0 07:08:34 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 07:08:34 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 07:08:34 go: downloading github.com/go-openapi/validate v0.24.0 07:08:34 go: downloading github.com/fsnotify/fsnotify v1.7.0 07:08:34 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 07:08:34 go: downloading github.com/golang/protobuf v1.5.4 07:08:34 go: downloading google.golang.org/protobuf v1.34.1 07:08:34 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 07:08:34 go: downloading github.com/gorilla/securecookie v1.1.1 07:08:34 go: downloading github.com/gorilla/schema v1.2.0 07:08:34 go: downloading github.com/muhlemmer/gu v0.3.1 07:08:34 go: downloading github.com/mitchellh/go-ps v1.0.0 07:08:34 go: downloading github.com/shirou/gopsutil/v3 v3.24.4 07:08:34 go: downloading github.com/go-playground/locales v0.14.1 07:08:34 go: downloading github.com/go-jose/go-jose/v3 v3.0.3 07:08:34 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 07:08:34 go: downloading github.com/hashicorp/go-hclog v1.5.0 07:08:34 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 07:08:34 go: downloading github.com/hashicorp/serf v0.10.1 07:08:34 go: downloading github.com/mailru/easyjson v0.7.7 07:08:34 go: downloading github.com/go-openapi/analysis v0.23.0 07:08:34 go: downloading github.com/go-openapi/loads v0.22.0 07:08:34 go: downloading github.com/go-openapi/spec v0.21.0 07:08:34 go: downloading github.com/go-logr/logr v1.4.1 07:08:34 go: downloading go.opentelemetry.io/otel/metric v1.25.0 07:08:34 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b 07:08:34 go: downloading golang.org/x/term v0.20.0 07:08:34 go: downloading github.com/go-openapi/jsonpointer v0.21.0 07:08:34 go: downloading github.com/tklauser/go-sysconf v0.3.12 07:08:34 go: downloading github.com/fatih/color v1.16.0 07:08:34 go: downloading github.com/josharian/intern v1.0.0 07:08:34 go: downloading github.com/armon/go-metrics v0.4.1 07:08:34 go: downloading github.com/go-logr/stdr v1.2.2 07:08:34 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 07:08:34 go: downloading github.com/go-openapi/jsonreference v0.21.0 07:08:34 go: downloading github.com/tklauser/numcpus v0.6.1 07:08:34 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 07:08:34 go: downloading github.com/hashicorp/golang-lru v0.5.4 07:08:34 error obtaining VCS status: exit status 128 07:08:34 Use -buildvcs=false to disable VCS stamping. 07:08:34 [Pipeline] } 07:08:35 $ docker stop --time=1 a8f03f40ac3361cf87846b82290006a2f83edb4cbe67602287c81dc1d6f71933 07:08:40 $ docker rm -f --volumes a8f03f40ac3361cf87846b82290006a2f83edb4cbe67602287c81dc1d6f71933 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:08:40 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:08:41 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:08:41 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:08:41 total 16 07:08:41 drwxr-xr-x 3 root root 4096 May 27 06:52 . 07:08:41 drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:52 .. 07:08:41 drwxr-xr-x 2 root root 4096 May 27 06:52 cost 07:08:41 -rw-r--r-- 1 root root 85 May 27 06:52 cost.csv 07:08:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:08:41 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:08:41 total 16 07:08:41 drwxr-xr-x 3 jenkins jenkins 4096 May 27 06:52 . 07:08:41 drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:52 .. 07:08:41 drwxr-xr-x 2 jenkins jenkins 4096 May 27 06:52 cost 07:08:41 -rw-r--r-- 1 jenkins jenkins 85 May 27 06:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:08:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:08:42 ---> package-listing.sh 07:08:42 ++ facter osfamily 07:08:42 ++ tr '[:upper:]' '[:lower:]' 07:08:42 + OS_FAMILY=debian 07:08:42 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:08:42 + START_PACKAGES=/tmp/packages_start.txt 07:08:42 + END_PACKAGES=/tmp/packages_end.txt 07:08:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:08:42 + PACKAGES=/tmp/packages_start.txt 07:08:42 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:08:42 + PACKAGES=/tmp/packages_end.txt 07:08:42 + case "${OS_FAMILY}" in 07:08:42 + dpkg -l 07:08:42 + grep '^ii' 07:08:42 + '[' -f /tmp/packages_start.txt ']' 07:08:42 + '[' -f /tmp/packages_end.txt ']' 07:08:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:08:42 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:08:42 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:08:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:08:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:08:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:08:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:43 prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container 07:08:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:08:43 $ docker top 3869b47fa22ecce5afe8f14482ccb2b758f4fdc6aa1c07c300dfbe47da76422e -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:44 + touch /tmp/pre-build-complete [Pipeline] sh 07:08:44 + mkdir -p /var/log/sysstat [Pipeline] sh 07:08:44 + ls /var/log/sa-host 07:08:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:45 provisioning config files... 07:08:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10733669995798465704tmp [Pipeline] { [Pipeline] echo 07:08:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:08:45 ---> create-netrc.sh [Pipeline] } 07:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:08:45 ---> python-tools-install.sh [Pipeline] echo 07:08:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:08:46 ---> sudo-logs.sh 07:08:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:08:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:08:46 ---> job-cost.sh 07:08:46 lf-activate-venv: SKIPPING 07:08:46 DEBUG: total: 0.2199999988079071 07:08:46 INFO: Retrieving Stack Cost... 07:08:46 INFO: Retrieving Pricing Info for: v3-standard-8 07:08:47 INFO: Archiving Costs [Pipeline] echo 07:08:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:08:47 ---> logs-deploy.sh 07:08:47 lf-activate-venv: SKIPPING 07:08:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/285 07:08:47 INFO: archiving workspace using pattern(s): 07:08:48 Archives upload complete. 07:08:48 INFO: archiving logs to Nexus