Pull request #1580 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at d3487eec0ede001a3c25d71c6388e8b50871be46 rather than 223c3cf2d9106e3768d8f217f81ec937c9274de2 Obtained Jenkinsfile from d3487eec0ede001a3c25d71c6388e8b50871be46 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-ssh2665832890136012027.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh18433312375284186702.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5624030312031754695.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh12159114917207661688.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10102127664016356397.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-4673 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1580 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit 223c3cf2d9106e3768d8f217f81ec937c9274de2 Merge succeeded, producing 223c3cf2d9106e3768d8f217f81ec937c9274de2 Checking out Revision 223c3cf2d9106e3768d8f217f81ec937c9274de2 (PR-1580) > git config core.sparsecheckout # timeout=10 > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into main" First time build. Skipping changelog. > git rev-list --no-walk 9b341dd96325adb5f3b63082d72c9242068405c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-01T07:20:05.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-01T07:20:05.923Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-01T07:20:05.952Z] ========================================================= [2024-07-01T07:20:05.952Z] EdgeX Global Pipelines Version Info [2024-07-01T07:20:05.952Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:20:06.709Z] ------------------- [2024-07-01T07:20:06.709Z] stable info: [2024-07-01T07:20:06.709Z] ------------------- [2024-07-01T07:20:06.709Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-01T07:20:06.709Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-01T07:20:06.709Z] Message: update stable to v1.0.260 [2024-07-01T07:20:07.279Z] ------------------- [2024-07-01T07:20:07.279Z] experimental info: [2024-07-01T07:20:07.279Z] ------------------- [2024-07-01T07:20:07.279Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-01T07:20:07.279Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-01T07:20:07.279Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-01T07:20:07.362Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-01T07:20:07.381Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-01T07:20:07.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-01T07:20:07.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-01T07:20:07.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-01T07:20:07.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-01T07:20:07.496Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-01T07:20:07.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-01T07:20:07.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-01T07:20:07.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-01T07:20:07.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-01T07:20:07.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-01T07:20:07.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-01T07:20:07.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-01T07:20:07.748Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-01T07:20:07.778Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T07:20:07.801Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T07:20:07.817Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T07:20:07.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-01T07:20:07.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-01T07:20:07.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-01T07:20:07.913Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-01T07:20:07.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-01T07:20:07.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-01T07:20:07.961Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-01T07:20:07.979Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-01T07:20:08.001Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-01T07:20:08.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo [2024-07-01T07:20:08.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo [2024-07-01T07:20:08.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo [2024-07-01T07:20:08.073Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo [2024-07-01T07:20:08.092Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 223c3cf [Pipeline] echo [2024-07-01T07:20:08.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T07:20:08.163Z] provisioning config files... [2024-07-01T07:20:08.178Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config1486255773665627802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:20:08.514Z] ---> ****-login.sh [2024-07-01T07:20:08.514Z] nexus3.edgexfoundry.org:10001 [2024-07-01T07:20:08.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:08.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:08.775Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:08.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:08.775Z] [2024-07-01T07:20:08.775Z] Login Succeeded [2024-07-01T07:20:08.775Z] nexus3.edgexfoundry.org:10002 [2024-07-01T07:20:09.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:09.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:09.037Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:09.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:09.037Z] [2024-07-01T07:20:09.037Z] Login Succeeded [2024-07-01T07:20:09.037Z] nexus3.edgexfoundry.org:10003 [2024-07-01T07:20:09.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:09.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:09.037Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:09.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:09.037Z] [2024-07-01T07:20:09.037Z] Login Succeeded [2024-07-01T07:20:09.037Z] nexus3.edgexfoundry.org:10004 [2024-07-01T07:20:09.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:09.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:09.300Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:09.300Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:09.300Z] [2024-07-01T07:20:09.300Z] Login Succeeded [2024-07-01T07:20:09.300Z] ****.io [2024-07-01T07:20:09.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:09.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:09.560Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:09.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:09.560Z] [2024-07-01T07:20:09.560Z] Login Succeeded [2024-07-01T07:20:09.560Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T07:20:09.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-01T07:20:09.990Z] + git rev-list -1 --merges 223c3cf2d9106e3768d8f217f81ec937c9274de2~1..223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo [2024-07-01T07:20:10.016Z] -----------> git rev-list -1 --merges 223c3cf2d9106e3768d8f217f81ec937c9274de2~1..223c3cf2d9106e3768d8f217f81ec937c9274de2 223c3cf2d9106e3768d8f217f81ec937c9274de2 [2024-07-01T07:20:10.016Z] 223c3cf2d9106e3768d8f217f81ec937c9274de2 [false] [Pipeline] sh [2024-07-01T07:20:10.336Z] + git log --format=format:%s -1 223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo [2024-07-01T07:20:10.373Z] ========================================================= [2024-07-01T07:20:10.373Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-01T07:20:10.373Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T07:20:10.726Z] + git log --format=format:%s -1 223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo [2024-07-01T07:20:10.738Z] [semverPrep] GIT_COMMIT: 223c3cf2d9106e3768d8f217f81ec937c9274de2, Commit Message: Merge branch 'edgexfoundry:main' into main [Pipeline] echo [2024-07-01T07:20:10.758Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-01T07:20:11.140Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-01T07:20:11.140Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-01T07:20:11.140Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-01T07:20:11.140Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-01T07:20:11.140Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-01T07:20:11.140Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-01T07:20:11.140Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:20:11.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T07:20:11.574Z] [2024-07-01T07:20:11.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:20:11.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T07:20:11.885Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-01T07:20:11.885Z] b85a868b505f: Pulling fs layer [2024-07-01T07:20:11.885Z] e2be974225ed: Pulling fs layer [2024-07-01T07:20:11.885Z] 339a4e72a1f5: Pulling fs layer [2024-07-01T07:20:11.885Z] 988bab9f4d93: Pulling fs layer [2024-07-01T07:20:11.885Z] 1469e6f7b9e6: Pulling fs layer [2024-07-01T07:20:11.885Z] eaf3925da568: Pulling fs layer [2024-07-01T07:20:11.885Z] bab4dde63d76: Pulling fs layer [2024-07-01T07:20:11.885Z] bde34c3a00c8: Pulling fs layer [2024-07-01T07:20:11.885Z] b352a97aabf1: Pulling fs layer [2024-07-01T07:20:11.885Z] 4872d77fe225: Pulling fs layer [2024-07-01T07:20:11.885Z] 5851b861e8e6: Pulling fs layer [2024-07-01T07:20:11.885Z] bde34c3a00c8: Waiting [2024-07-01T07:20:11.885Z] 4872d77fe225: Waiting [2024-07-01T07:20:11.885Z] b352a97aabf1: Waiting [2024-07-01T07:20:11.885Z] 988bab9f4d93: Waiting [2024-07-01T07:20:11.885Z] 1469e6f7b9e6: Waiting [2024-07-01T07:20:11.885Z] bab4dde63d76: Waiting [2024-07-01T07:20:11.885Z] eaf3925da568: Waiting [2024-07-01T07:20:11.885Z] e2be974225ed: Verifying Checksum [2024-07-01T07:20:11.885Z] e2be974225ed: Download complete [2024-07-01T07:20:11.885Z] 988bab9f4d93: Verifying Checksum [2024-07-01T07:20:11.885Z] 988bab9f4d93: Download complete [2024-07-01T07:20:11.885Z] 1469e6f7b9e6: Verifying Checksum [2024-07-01T07:20:11.885Z] 1469e6f7b9e6: Download complete [2024-07-01T07:20:11.885Z] eaf3925da568: Verifying Checksum [2024-07-01T07:20:11.885Z] eaf3925da568: Download complete [2024-07-01T07:20:12.145Z] 339a4e72a1f5: Verifying Checksum [2024-07-01T07:20:12.146Z] 339a4e72a1f5: Download complete [2024-07-01T07:20:12.146Z] bde34c3a00c8: Verifying Checksum [2024-07-01T07:20:12.146Z] bde34c3a00c8: Download complete [2024-07-01T07:20:12.146Z] b352a97aabf1: Verifying Checksum [2024-07-01T07:20:12.146Z] b352a97aabf1: Download complete [2024-07-01T07:20:12.146Z] 4872d77fe225: Verifying Checksum [2024-07-01T07:20:12.146Z] 4872d77fe225: Download complete [2024-07-01T07:20:12.146Z] 5851b861e8e6: Verifying Checksum [2024-07-01T07:20:12.146Z] 5851b861e8e6: Download complete [2024-07-01T07:20:12.146Z] b85a868b505f: Download complete [2024-07-01T07:20:12.406Z] bab4dde63d76: Verifying Checksum [2024-07-01T07:20:12.406Z] bab4dde63d76: Download complete [2024-07-01T07:20:13.346Z] b85a868b505f: Pull complete [2024-07-01T07:20:13.607Z] e2be974225ed: Pull complete [2024-07-01T07:20:14.179Z] 339a4e72a1f5: Pull complete [2024-07-01T07:20:14.179Z] 988bab9f4d93: Pull complete [2024-07-01T07:20:14.443Z] 1469e6f7b9e6: Pull complete [2024-07-01T07:20:14.443Z] eaf3925da568: Pull complete [2024-07-01T07:20:16.355Z] bab4dde63d76: Pull complete [2024-07-01T07:20:16.355Z] bde34c3a00c8: Pull complete [2024-07-01T07:20:16.355Z] b352a97aabf1: Pull complete [2024-07-01T07:20:16.355Z] 4872d77fe225: Pull complete [2024-07-01T07:20:16.615Z] 5851b861e8e6: Pull complete [2024-07-01T07:20:16.615Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-01T07:20:16.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T07:20:16.615Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:20:16.780Z] prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container [2024-07-01T07:20:16.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-01T07:20:19.611Z] $ docker top 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-01T07:20:19.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-01T07:20:19.724Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-01T07:20:19.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-01T07:20:19.841Z] $ docker exec 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent [2024-07-01T07:20:19.962Z] SSH_AUTH_SOCK=/tmp/ssh-SrKCnxt7IKkS/agent.32 [2024-07-01T07:20:19.962Z] SSH_AGENT_PID=38 [2024-07-01T07:20:19.968Z] Running ssh-add (command line suppressed) [2024-07-01T07:20:20.071Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_5606256284184599811.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_5606256284184599811.key) [2024-07-01T07:20:20.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-01T07:20:20.384Z] + git tag --points-at HEAD [Pipeline] } [2024-07-01T07:20:20.389Z] $ docker exec --env ******** --env ******** 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent -k [2024-07-01T07:20:20.491Z] unset SSH_AUTH_SOCK; [2024-07-01T07:20:20.491Z] unset SSH_AGENT_PID; [2024-07-01T07:20:20.491Z] echo Agent pid 38 killed; [2024-07-01T07:20:20.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-01T07:20:20.548Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-01T07:20:20.548Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-01T07:20:20.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-01T07:20:20.661Z] $ docker exec 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent [2024-07-01T07:20:20.774Z] SSH_AUTH_SOCK=/tmp/ssh-ktdJFhygQosO/agent.71 [2024-07-01T07:20:20.774Z] SSH_AGENT_PID=77 [2024-07-01T07:20:20.779Z] Running ssh-add (command line suppressed) [2024-07-01T07:20:20.877Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_204859789932955408.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_204859789932955408.key) [2024-07-01T07:20:20.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-01T07:20:21.192Z] + git semver init [2024-07-01T07:20:21.451Z] 2024-07-01 07:20:21,359 [run_init] DEBUG init version:0.0.0 force:False [2024-07-01T07:20:21.451Z] 2024-07-01 07:20:21,360 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-07-01T07:20:21.451Z] 2024-07-01 07:20:21,361 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-07-01T07:20:21.451Z] 2024-07-01 07:20:21,361 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,427 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,428 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,428 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,433 [execute] INFO git cat-file --batch-check [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,440 [execute] INFO git cat-file --batch [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-07-01T07:20:23.997Z] 2024-07-01 07:20:23,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-07-01T07:20:23.997Z] 0.0.0 [Pipeline] } [2024-07-01T07:20:24.003Z] $ docker exec --env ******** --env ******** 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent -k [2024-07-01T07:20:24.111Z] unset SSH_AUTH_SOCK; [2024-07-01T07:20:24.112Z] unset SSH_AGENT_PID; [2024-07-01T07:20:24.112Z] echo Agent pid 77 killed; [2024-07-01T07:20:24.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-01T07:20:24.462Z] + git semver [Pipeline] } [2024-07-01T07:20:24.729Z] $ docker stop --time=1 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc [2024-07-01T07:20:26.011Z] $ docker rm -f --volumes 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T07:20:26.369Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-01T07:20:26.601Z] Stashed 1 file(s) [Pipeline] echo [2024-07-01T07:20:26.604Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T07:20:26.796Z] provisioning config files... [2024-07-01T07:20:26.805Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config17491790282067685248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:20:27.104Z] ---> ****-login.sh [2024-07-01T07:20:27.104Z] nexus3.edgexfoundry.org:10001 [2024-07-01T07:20:27.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:27.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:27.105Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:27.105Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:27.105Z] [2024-07-01T07:20:27.105Z] Login Succeeded [2024-07-01T07:20:27.105Z] nexus3.edgexfoundry.org:10002 [2024-07-01T07:20:27.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:27.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:27.105Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:27.105Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:27.105Z] [2024-07-01T07:20:27.105Z] Login Succeeded [2024-07-01T07:20:27.105Z] nexus3.edgexfoundry.org:10003 [2024-07-01T07:20:27.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:27.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:27.364Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:27.364Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:27.364Z] [2024-07-01T07:20:27.364Z] Login Succeeded [2024-07-01T07:20:27.364Z] nexus3.edgexfoundry.org:10004 [2024-07-01T07:20:27.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:27.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:27.364Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:27.364Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:27.364Z] [2024-07-01T07:20:27.364Z] Login Succeeded [2024-07-01T07:20:27.364Z] ****.io [2024-07-01T07:20:27.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:20:27.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:20:27.623Z] Configure a credential helper to remove this warning. See [2024-07-01T07:20:27.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:20:27.623Z] [2024-07-01T07:20:27.623Z] Login Succeeded [2024-07-01T07:20:27.623Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T07:20:27.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-01T07:20:27.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T07:20:27.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T07:20:27.759Z] ========================================================= [2024-07-01T07:20:27.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-01T07:20:27.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:20:28.086Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-01T07:20:28.086Z] Sending build context to Docker daemon 25.25MB [2024-07-01T07:20:28.086Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T07:20:28.086Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-01T07:20:28.345Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-01T07:20:28.345Z] 619be1103602: Pulling fs layer [2024-07-01T07:20:28.345Z] 7862e08f4a3e: Pulling fs layer [2024-07-01T07:20:28.345Z] 5df492c9dc93: Pulling fs layer [2024-07-01T07:20:28.345Z] 7629e6793208: Pulling fs layer [2024-07-01T07:20:28.345Z] 4f4fb700ef54: Pulling fs layer [2024-07-01T07:20:28.345Z] fb5054dd5b73: Pulling fs layer [2024-07-01T07:20:28.345Z] eeca6798cff9: Pulling fs layer [2024-07-01T07:20:28.345Z] 4f4fb700ef54: Waiting [2024-07-01T07:20:28.345Z] fb5054dd5b73: Waiting [2024-07-01T07:20:28.345Z] 7629e6793208: Waiting [2024-07-01T07:20:28.345Z] eeca6798cff9: Waiting [2024-07-01T07:20:28.345Z] aa269ceb94a6: Pulling fs layer [2024-07-01T07:20:28.345Z] ada007ff1a6a: Pulling fs layer [2024-07-01T07:20:28.345Z] aa269ceb94a6: Waiting [2024-07-01T07:20:28.345Z] ada007ff1a6a: Waiting [2024-07-01T07:20:28.345Z] 7862e08f4a3e: Download complete [2024-07-01T07:20:28.345Z] 7629e6793208: Verifying Checksum [2024-07-01T07:20:28.345Z] 7629e6793208: Download complete [2024-07-01T07:20:28.345Z] 4f4fb700ef54: Verifying Checksum [2024-07-01T07:20:28.345Z] 4f4fb700ef54: Download complete [2024-07-01T07:20:28.345Z] fb5054dd5b73: Download complete [2024-07-01T07:20:28.345Z] 619be1103602: Verifying Checksum [2024-07-01T07:20:28.345Z] 619be1103602: Download complete [2024-07-01T07:20:28.345Z] eeca6798cff9: Verifying Checksum [2024-07-01T07:20:28.345Z] eeca6798cff9: Download complete [2024-07-01T07:20:28.604Z] 619be1103602: Pull complete [2024-07-01T07:20:28.604Z] ada007ff1a6a: Verifying Checksum [2024-07-01T07:20:28.604Z] ada007ff1a6a: Download complete [2024-07-01T07:20:28.604Z] 7862e08f4a3e: Pull complete [2024-07-01T07:20:28.863Z] 5df492c9dc93: Download complete [2024-07-01T07:20:29.121Z] aa269ceb94a6: Verifying Checksum [2024-07-01T07:20:29.121Z] aa269ceb94a6: Download complete [2024-07-01T07:20:32.440Z] 5df492c9dc93: Pull complete [2024-07-01T07:20:32.440Z] 7629e6793208: Pull complete [2024-07-01T07:20:32.440Z] 4f4fb700ef54: Pull complete [2024-07-01T07:20:32.440Z] fb5054dd5b73: Pull complete [2024-07-01T07:20:32.440Z] eeca6798cff9: Pull complete [2024-07-01T07:20:35.040Z] aa269ceb94a6: Pull complete [2024-07-01T07:20:35.303Z] ada007ff1a6a: Pull complete [2024-07-01T07:20:35.303Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-01T07:20:35.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-01T07:20:35.303Z] ---> f489d0715acc [2024-07-01T07:20:35.303Z] Step 3/10 : ARG MAKE=make build [2024-07-01T07:20:39.613Z] ---> Running in f685d2a3ccf6 [2024-07-01T07:20:39.613Z] Removing intermediate container f685d2a3ccf6 [2024-07-01T07:20:39.613Z] ---> cdbb6fbb7892 [2024-07-01T07:20:39.613Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-01T07:20:39.613Z] ---> Running in 86a82008982c [2024-07-01T07:20:39.613Z] Removing intermediate container 86a82008982c [2024-07-01T07:20:39.613Z] ---> 5ecf1623721d [2024-07-01T07:20:39.613Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-01T07:20:39.613Z] ---> Running in 05aa208f7b10 [2024-07-01T07:20:39.613Z] Removing intermediate container 05aa208f7b10 [2024-07-01T07:20:39.613Z] ---> a805870ca9da [2024-07-01T07:20:39.613Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-01T07:20:39.613Z] ---> Running in 7c66f74a5a23 [2024-07-01T07:20:39.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T07:20:40.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T07:20:40.390Z] OK: 264 MiB in 52 packages [2024-07-01T07:20:40.649Z] Removing intermediate container 7c66f74a5a23 [2024-07-01T07:20:40.649Z] ---> 5c1154463bd5 [2024-07-01T07:20:40.649Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-01T07:20:40.909Z] ---> bcedee63680f [2024-07-01T07:20:40.909Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T07:20:40.909Z] ---> Running in c990545d1e87 [2024-07-01T07:20:41.737Z] Still waiting to schedule task [2024-07-01T07:20:41.737Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-01T07:21:37.370Z] Removing intermediate container c990545d1e87 [2024-07-01T07:21:37.370Z] ---> 6d9229bbbe56 [2024-07-01T07:21:37.370Z] Step 9/10 : COPY . . [2024-07-01T07:21:37.370Z] ---> d0ae68b5bda9 [2024-07-01T07:21:37.370Z] Step 10/10 : RUN ${MAKE} [2024-07-01T07:21:37.370Z] ---> Running in f95df8797d80 [2024-07-01T07:21:37.370Z] noop [2024-07-01T07:21:37.370Z] Removing intermediate container f95df8797d80 [2024-07-01T07:21:37.370Z] ---> 6cdb497b77f1 [2024-07-01T07:21:37.370Z] Successfully built 6cdb497b77f1 [2024-07-01T07:21:37.370Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:21:37.697Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-01T07:21:37.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:21:37.774Z] prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container [2024-07-01T07:21:37.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-01T07:21:38.130Z] $ docker top fc99c26586a4492bfc43699825eb125e965ed66a5c3dae8bacd99d483eb2b4a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T07:21:38.494Z] + go version [2024-07-01T07:21:38.494Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-01T07:21:38.490Z] $ docker stop --time=1 fc99c26586a4492bfc43699825eb125e965ed66a5c3dae8bacd99d483eb2b4a6 [2024-07-01T07:21:39.760Z] $ docker rm -f --volumes fc99c26586a4492bfc43699825eb125e965ed66a5c3dae8bacd99d483eb2b4a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:21:40.215Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-01T07:21:40.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:21:40.306Z] prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container [2024-07-01T07:21:40.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-01T07:21:40.629Z] $ docker top e98e765ee9602439583eb94541bd5b2b20c42d979461784355b248119c174ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T07:21:40.983Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh [2024-07-01T07:21:41.287Z] + make test [2024-07-01T07:21:41.287Z] go test -race -coverprofile=coverage.out ./... [2024-07-01T07:21:47.856Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-01T07:22:19.607Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4674 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws [2024-07-01T07:22:19.622Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2024-07-01T07:22:22.701Z] The recommended git tool is: git [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-01T07:22:26.654Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.034s coverage: 27.0% of statements [2024-07-01T07:22:26.654Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.051s coverage: 80.0% of statements [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-01T07:22:26.654Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-01T07:22:26.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-01T07:22:26.654Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.097s coverage: 71.8% of statements [2024-07-01T07:22:27.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-01T07:22:29.755Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.038s coverage: 14.4% of statements [2024-07-01T07:22:30.579Z] using credential edgex-jenkins-ssh [2024-07-01T07:22:30.601Z] Cloning the remote Git repository [2024-07-01T07:22:30.641Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-01T07:22:30.781Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2024-07-01T07:22:31.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-01T07:22:31.120Z] > git --version # timeout=10 [2024-07-01T07:22:31.149Z] > git --version # 'git version 2.25.1' [2024-07-01T07:22:31.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T07:22:31.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-01T07:22:34.843Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-01T07:22:34.875Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-01T07:22:36.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-01T07:22:36.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-01T07:22:36.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T07:22:36.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-01T07:22:36.817Z] Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit 223c3cf2d9106e3768d8f217f81ec937c9274de2 [2024-07-01T07:22:37.186Z] Merge succeeded, producing 223c3cf2d9106e3768d8f217f81ec937c9274de2 [2024-07-01T07:22:37.187Z] Checking out Revision 223c3cf2d9106e3768d8f217f81ec937c9274de2 (PR-1580) [2024-07-01T07:22:36.831Z] > git config core.sparsecheckout # timeout=10 [2024-07-01T07:22:36.906Z] > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 [2024-07-01T07:22:37.017Z] > git remote # timeout=10 [2024-07-01T07:22:37.046Z] > git config --get remote.origin.url # timeout=10 [2024-07-01T07:22:37.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T07:22:37.115Z] > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 [2024-07-01T07:22:37.159Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-01T07:22:37.190Z] > git config core.sparsecheckout # timeout=10 [2024-07-01T07:22:37.214Z] > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 [2024-07-01T07:22:41.219Z] Commit message: "Merge branch 'edgexfoundry:main' into main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T07:22:42.756Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-01T07:22:42.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-01T07:22:42.756Z] Dload Upload Total Spent Left Speed [2024-07-01T07:22:47.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 100 12828 100 12828 0 0 2482 0 0:00:05 0:00:05 --:--:-- 2628 [Pipeline] sh [2024-07-01T07:22:48.022Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-01T07:22:48.348Z] + sudo tee /etc/docker/daemon.new [2024-07-01T07:22:48.348Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-01T07:22:48.348Z] { [2024-07-01T07:22:48.348Z] "registry-mirrors": [ [2024-07-01T07:22:48.348Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-01T07:22:48.348Z] ], [2024-07-01T07:22:48.348Z] "bip": "10.250.0.254/24", [2024-07-01T07:22:48.348Z] "hosts": [ [2024-07-01T07:22:48.348Z] "tcp://0.0.0.0:5555", [2024-07-01T07:22:48.348Z] "unix:///var/run/docker.sock" [2024-07-01T07:22:48.348Z] ], [2024-07-01T07:22:48.348Z] "mtu": 1458, [2024-07-01T07:22:48.348Z] "selinux-enabled": true, [2024-07-01T07:22:48.348Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-01T07:22:48.348Z] } [Pipeline] sh [2024-07-01T07:22:48.670Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-01T07:22:48.996Z] + sudo service docker restart [2024-07-01T07:22:51.704Z] --- FAIL: Test_processDevices (20.01s) [2024-07-01T07:22:51.704Z] --- FAIL: Test_processDevices/valid_load_devices_from_uri (10.00s) [2024-07-01T07:22:51.704Z] devices_test.go:40: [2024-07-01T07:22:51.704Z] Error Trace: /w/workspace/gexfoundry_device-sdk-go_PR-1580/internal/provision/devices_test.go:40 [2024-07-01T07:22:51.704Z] Error: Not equal: [2024-07-01T07:22:51.704Z] expected: 5 [2024-07-01T07:22:51.704Z] actual : 0 [2024-07-01T07:22:51.704Z] Test: Test_processDevices/valid_load_devices_from_uri [2024-07-01T07:22:51.704Z] FAIL [2024-07-01T07:22:51.704Z] coverage: 44.6% of statements [2024-07-01T07:22:51.704Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 23.871s [2024-07-01T07:22:51.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements [2024-07-01T07:22:51.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.082s coverage: 89.2% of statements [2024-07-01T07:22:51.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.091s coverage: 5.4% of statements [2024-07-01T07:22:51.704Z] FAIL [2024-07-01T07:22:51.704Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2024-07-01T07:22:51.682Z] $ docker stop --time=1 e98e765ee9602439583eb94541bd5b2b20c42d979461784355b248119c174ad4 [2024-07-01T07:22:53.189Z] $ docker rm -f --volumes e98e765ee9602439583eb94541bd5b2b20c42d979461784355b248119c174ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:22:53.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T07:22:53.892Z] [2024-07-01T07:22:53.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:22:54.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T07:22:54.197Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-01T07:22:54.197Z] 5eb5b503b376: Pulling fs layer [2024-07-01T07:22:54.197Z] 5c69ac0246d0: Pulling fs layer [2024-07-01T07:22:54.197Z] ec43610c2a17: Pulling fs layer [2024-07-01T07:22:54.197Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-01T07:22:54.197Z] 33b1e0a273af: Pulling fs layer [2024-07-01T07:22:54.197Z] 5d3b04190fa2: Pulling fs layer [2024-07-01T07:22:54.197Z] 2f39f015ded8: Pulling fs layer [2024-07-01T07:22:54.197Z] 33b1e0a273af: Waiting [2024-07-01T07:22:54.197Z] 3a2ae6a8a46f: Waiting [2024-07-01T07:22:54.197Z] 5d3b04190fa2: Waiting [2024-07-01T07:22:54.197Z] 5c69ac0246d0: Verifying Checksum [2024-07-01T07:22:54.197Z] 5c69ac0246d0: Download complete [2024-07-01T07:22:54.197Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-01T07:22:54.197Z] 3a2ae6a8a46f: Download complete [2024-07-01T07:22:54.456Z] 33b1e0a273af: Verifying Checksum [2024-07-01T07:22:54.456Z] 33b1e0a273af: Download complete [2024-07-01T07:22:54.456Z] 5d3b04190fa2: Verifying Checksum [2024-07-01T07:22:54.456Z] 5d3b04190fa2: Download complete [2024-07-01T07:22:54.456Z] ec43610c2a17: Verifying Checksum [2024-07-01T07:22:54.456Z] ec43610c2a17: Download complete [2024-07-01T07:22:54.456Z] 5eb5b503b376: Verifying Checksum [2024-07-01T07:22:54.456Z] 5eb5b503b376: Download complete [2024-07-01T07:22:55.022Z] 2f39f015ded8: Download complete [2024-07-01T07:22:55.586Z] 5eb5b503b376: Pull complete [2024-07-01T07:22:55.842Z] 5c69ac0246d0: Pull complete [2024-07-01T07:22:56.101Z] ec43610c2a17: Pull complete [2024-07-01T07:22:56.360Z] 3a2ae6a8a46f: Pull complete [2024-07-01T07:22:56.618Z] 33b1e0a273af: Pull complete [2024-07-01T07:22:56.618Z] 5d3b04190fa2: Pull complete [2024-07-01T07:23:00.799Z] 2f39f015ded8: Pull complete [2024-07-01T07:23:00.799Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-01T07:23:00.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T07:23:00.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:23:00.901Z] prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container [2024-07-01T07:23:00.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-01T07:23:04.666Z] $ docker top 6f8f83e37e46455e2126fdaf0a1b7681a65606b082c86d778a4a0c2a77807b9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:23:05.113Z] ---> job-cost.sh [2024-07-01T07:23:05.113Z] lf-activate-venv: SKIPPING [2024-07-01T07:23:05.113Z] INFO: No Stack... [2024-07-01T07:23:05.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-01T07:23:05.947Z] INFO: Archiving Costs [Pipeline] sh [2024-07-01T07:23:06.237Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv [2024-07-01T07:23:06.237Z] + cut -d, -f6 [Pipeline] lock [2024-07-01T07:23:06.249Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [2024-07-01T07:23:06.258Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] did not exist. Created. [2024-07-01T07:23:06.269Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-01T07:23:06.579Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-01T07:23:06.620Z] Stashed 1 file(s) [Pipeline] } [2024-07-01T07:23:06.629Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-01T07:23:06.618Z] $ docker stop --time=1 6f8f83e37e46455e2126fdaf0a1b7681a65606b082c86d778a4a0c2a77807b9a [2024-07-01T07:23:07.773Z] $ docker rm -f --volumes 6f8f83e37e46455e2126fdaf0a1b7681a65606b082c86d778a4a0c2a77807b9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2024-07-01T07:23:07.929Z] provisioning config files... [Pipeline] } [Pipeline] // withEnv [2024-07-01T07:23:07.958Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config10742814864453088942tmp [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [2024-07-01T07:23:07.997Z] Failed in branch amd64 [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:23:08.426Z] ---> ****-login.sh [2024-07-01T07:23:08.426Z] nexus3.edgexfoundry.org:10001 [2024-07-01T07:23:09.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:23:09.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:23:09.012Z] Configure a credential helper to remove this warning. See [2024-07-01T07:23:09.012Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:23:09.012Z] [2024-07-01T07:23:09.012Z] Login Succeeded [2024-07-01T07:23:09.012Z] nexus3.edgexfoundry.org:10002 [2024-07-01T07:23:09.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:23:09.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:23:09.283Z] Configure a credential helper to remove this warning. See [2024-07-01T07:23:09.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:23:09.283Z] [2024-07-01T07:23:09.283Z] Login Succeeded [2024-07-01T07:23:09.550Z] nexus3.edgexfoundry.org:10003 [2024-07-01T07:23:09.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:23:09.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:23:09.823Z] Configure a credential helper to remove this warning. See [2024-07-01T07:23:09.823Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:23:09.823Z] [2024-07-01T07:23:09.823Z] Login Succeeded [2024-07-01T07:23:09.823Z] nexus3.edgexfoundry.org:10004 [2024-07-01T07:23:10.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:23:10.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:23:10.097Z] Configure a credential helper to remove this warning. See [2024-07-01T07:23:10.097Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:23:10.097Z] [2024-07-01T07:23:10.097Z] Login Succeeded [2024-07-01T07:23:10.097Z] ****.io [2024-07-01T07:23:10.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T07:23:10.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T07:23:10.633Z] Configure a credential helper to remove this warning. See [2024-07-01T07:23:10.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T07:23:10.633Z] [2024-07-01T07:23:10.633Z] Login Succeeded [2024-07-01T07:23:10.633Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T07:23:10.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-01T07:23:10.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T07:23:10.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T07:23:10.990Z] ========================================================= [2024-07-01T07:23:10.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-01T07:23:10.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:23:11.356Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-01T07:23:11.955Z] Sending build context to Docker daemon 13.19MB [2024-07-01T07:23:11.955Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T07:23:11.955Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-01T07:23:12.238Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-01T07:23:12.238Z] c6b39de5b339: Pulling fs layer [2024-07-01T07:23:12.238Z] a69c41024577: Pulling fs layer [2024-07-01T07:23:12.238Z] d6de4b400683: Pulling fs layer [2024-07-01T07:23:12.238Z] 35cb2a7552d0: Pulling fs layer [2024-07-01T07:23:12.238Z] 4f4fb700ef54: Pulling fs layer [2024-07-01T07:23:12.238Z] 464afbd9ba4c: Pulling fs layer [2024-07-01T07:23:12.238Z] 00f215d4a9da: Pulling fs layer [2024-07-01T07:23:12.238Z] d496ad576159: Pulling fs layer [2024-07-01T07:23:12.238Z] 4f4fb700ef54: Waiting [2024-07-01T07:23:12.238Z] 464afbd9ba4c: Waiting [2024-07-01T07:23:12.238Z] 00f215d4a9da: Waiting [2024-07-01T07:23:12.238Z] d496ad576159: Waiting [2024-07-01T07:23:12.238Z] 35cb2a7552d0: Waiting [2024-07-01T07:23:12.238Z] a69c41024577: Verifying Checksum [2024-07-01T07:23:12.238Z] a69c41024577: Download complete [2024-07-01T07:23:12.238Z] 35cb2a7552d0: Verifying Checksum [2024-07-01T07:23:12.238Z] 35cb2a7552d0: Download complete [2024-07-01T07:23:12.238Z] 4f4fb700ef54: Verifying Checksum [2024-07-01T07:23:12.238Z] 4f4fb700ef54: Download complete [2024-07-01T07:23:12.238Z] 464afbd9ba4c: Verifying Checksum [2024-07-01T07:23:12.238Z] 464afbd9ba4c: Download complete [2024-07-01T07:23:12.238Z] c6b39de5b339: Verifying Checksum [2024-07-01T07:23:12.238Z] c6b39de5b339: Download complete [2024-07-01T07:23:12.516Z] d496ad576159: Verifying Checksum [2024-07-01T07:23:12.516Z] d496ad576159: Download complete [2024-07-01T07:23:13.121Z] c6b39de5b339: Pull complete [2024-07-01T07:23:13.717Z] a69c41024577: Pull complete [2024-07-01T07:23:13.991Z] d6de4b400683: Verifying Checksum [2024-07-01T07:23:13.991Z] d6de4b400683: Download complete [2024-07-01T07:23:14.957Z] 00f215d4a9da: Verifying Checksum [2024-07-01T07:23:14.957Z] 00f215d4a9da: Download complete [2024-07-01T07:23:27.275Z] d6de4b400683: Pull complete [2024-07-01T07:23:27.275Z] 35cb2a7552d0: Pull complete [2024-07-01T07:23:27.276Z] 4f4fb700ef54: Pull complete [2024-07-01T07:23:27.276Z] 464afbd9ba4c: Pull complete [2024-07-01T07:23:35.472Z] 00f215d4a9da: Pull complete [2024-07-01T07:23:36.877Z] d496ad576159: Pull complete [2024-07-01T07:23:36.877Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-01T07:23:36.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-01T07:23:36.877Z] ---> f246e2811388 [2024-07-01T07:23:36.877Z] Step 3/10 : ARG MAKE=make build [2024-07-01T07:23:38.816Z] ---> Running in 217ba13c0d5b [2024-07-01T07:23:38.816Z] Removing intermediate container 217ba13c0d5b [2024-07-01T07:23:38.816Z] ---> 03572efbf911 [2024-07-01T07:23:38.816Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-01T07:23:39.095Z] ---> Running in b1d0c547e7a5 [2024-07-01T07:23:40.517Z] Removing intermediate container b1d0c547e7a5 [2024-07-01T07:23:40.517Z] ---> d00135f10e36 [2024-07-01T07:23:40.517Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-01T07:23:40.517Z] ---> Running in c56eb8dc8a2f [2024-07-01T07:23:40.787Z] Removing intermediate container c56eb8dc8a2f [2024-07-01T07:23:40.787Z] ---> cd7f8f3f8562 [2024-07-01T07:23:40.787Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-01T07:23:40.787Z] ---> Running in 927c1f83a7f0 [2024-07-01T07:23:42.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T07:23:42.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T07:23:43.605Z] OK: 266 MiB in 52 packages [2024-07-01T07:23:44.187Z] Removing intermediate container 927c1f83a7f0 [2024-07-01T07:23:44.187Z] ---> 8e0483fa80a5 [2024-07-01T07:23:44.187Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-01T07:23:44.774Z] ---> 4c18482af3ed [2024-07-01T07:23:44.774Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T07:23:44.774Z] ---> Running in 8478d661cccf [2024-07-01T07:25:51.439Z] Removing intermediate container 8478d661cccf [2024-07-01T07:25:51.439Z] ---> 08e035905164 [2024-07-01T07:25:51.439Z] Step 9/10 : COPY . . [2024-07-01T07:25:51.439Z] ---> fe1c6fb9e198 [2024-07-01T07:25:51.439Z] Step 10/10 : RUN ${MAKE} [2024-07-01T07:25:51.439Z] ---> Running in 6c1c0dd328ea [2024-07-01T07:25:51.439Z] noop [2024-07-01T07:25:51.439Z] Removing intermediate container 6c1c0dd328ea [2024-07-01T07:25:51.439Z] ---> 0650e5e3a384 [2024-07-01T07:25:51.439Z] Successfully built 0650e5e3a384 [2024-07-01T07:25:51.439Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:25:51.797Z] + docker inspect -f . ci-base-image-arm64 [2024-07-01T07:25:51.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:25:52.078Z] prd-ubuntu20.04-docker-arm64-4c-16g-4674 does not seem to be running inside a container [2024-07-01T07:25:52.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-01T07:25:53.309Z] $ docker top 78e4234c01a506c3a93304edd3d1b401b223f693b1596146c7a7a498f092aa5b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T07:25:54.156Z] + go version [2024-07-01T07:25:54.156Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-01T07:25:54.170Z] $ docker stop --time=1 78e4234c01a506c3a93304edd3d1b401b223f693b1596146c7a7a498f092aa5b [2024-07-01T07:25:55.821Z] $ docker rm -f --volumes 78e4234c01a506c3a93304edd3d1b401b223f693b1596146c7a7a498f092aa5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:25:56.404Z] + docker inspect -f . ci-base-image-arm64 [2024-07-01T07:25:56.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:25:56.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-4674 does not seem to be running inside a container [2024-07-01T07:25:56.643Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-01T07:25:58.258Z] $ docker top 69efcb4660566dd69f90ffd8482402607cc8513ab23ddfe99af1e561d016ef39 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T07:25:58.801Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh [2024-07-01T07:25:59.726Z] + make test [2024-07-01T07:25:59.726Z] go test -race -coverprofile=coverage.out ./... [2024-07-01T07:26:38.591Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-01T07:30:00.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-01T07:30:00.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-01T07:30:00.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-01T07:30:00.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-01T07:30:00.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-01T07:30:01.759Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.126s coverage: 27.0% of statements [2024-07-01T07:30:06.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.180s coverage: 80.0% of statements [2024-07-01T07:30:12.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-01T07:30:12.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-01T07:30:12.950Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.240s coverage: 86.0% of statements [2024-07-01T07:30:18.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-01T07:30:19.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.568s coverage: 71.8% of statements [2024-07-01T07:30:23.096Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.264s coverage: 14.4% of statements [2024-07-01T07:30:23.096Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.354s coverage: 44.6% of statements [2024-07-01T07:30:24.508Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-01T07:30:24.508Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-01T07:30:25.907Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.337s coverage: 68.5% of statements [2024-07-01T07:30:27.325Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.353s coverage: 89.2% of statements [2024-07-01T07:30:33.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-01T07:30:34.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.243s coverage: 5.4% of statements [2024-07-01T07:30:35.981Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-01T07:30:35.981Z] GO111MODULE=on go vet ./... [2024-07-01T07:34:12.751Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-01T07:34:12.751Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-01T07:34:12.751Z] ./bin/test-attribution-txt.sh [2024-07-01T07:34:12.751Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-01T07:34:12.751Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-01T07:34:12.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-01T07:34:12.783Z] $ docker stop --time=1 69efcb4660566dd69f90ffd8482402607cc8513ab23ddfe99af1e561d016ef39 [2024-07-01T07:34:14.740Z] $ docker rm -f --volumes 69efcb4660566dd69f90ffd8482402607cc8513ab23ddfe99af1e561d016ef39 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T07:34:16.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-01T07:34:17.582Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T07:34:18.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-01T07:34:18.711Z] + ls -al . [2024-07-01T07:34:18.711Z] total 372 [2024-07-01T07:34:18.711Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 07:26 . [2024-07-01T07:34:18.711Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:22 .. [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 07:22 .dockerignore [2024-07-01T07:34:18.711Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 07:22 .git [2024-07-01T07:34:18.711Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:22 .github [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 1 07:22 .gitignore [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 07:22 .golangci.yml [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 1 07:22 CHANGELOG.md [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 07:22 GOVERNANCE.md [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 1 07:22 Jenkinsfile [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 07:22 LICENSE [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 1 07:22 Makefile [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 07:22 OWNERS.md [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 1 07:22 README.md [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 07:20 VERSION [2024-07-01T07:34:18.711Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 07:22 bin [2024-07-01T07:34:18.711Z] -rw-r--r-- 1 jenkins jenkins 122665 Jul 1 07:30 coverage.out [2024-07-01T07:34:18.711Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 07:22 example [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 7101 Jul 1 07:22 go.mod [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 102001 Jul 1 07:22 go.sum [2024-07-01T07:34:18.711Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 07:22 internal [2024-07-01T07:34:18.711Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:22 openapi [2024-07-01T07:34:18.711Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 1 07:22 pkg [2024-07-01T07:34:18.711Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:22 snap [2024-07-01T07:34:18.711Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:34:19.073Z] + 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=223c3cf2d9106e3768d8f217f81ec937c9274de2 --label arch=arm64 --label version=0.0.0 . [2024-07-01T07:34:19.673Z] Sending build context to Docker daemon 13.31MB [2024-07-01T07:34:19.673Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T07:34:19.673Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-01T07:34:19.673Z] ---> 0650e5e3a384 [2024-07-01T07:34:19.673Z] Step 3/24 : ARG MAKE=make build [2024-07-01T07:34:19.938Z] ---> Running in a3dbe4c3a900 [2024-07-01T07:34:20.203Z] Removing intermediate container a3dbe4c3a900 [2024-07-01T07:34:20.204Z] ---> c4ce5eac6e11 [2024-07-01T07:34:20.204Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-01T07:34:20.204Z] ---> Running in ab486640d125 [2024-07-01T07:34:20.469Z] Removing intermediate container ab486640d125 [2024-07-01T07:34:20.469Z] ---> 6f398c65a7b6 [2024-07-01T07:34:20.469Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-01T07:34:20.469Z] ---> Running in 5c94ec1cac7c [2024-07-01T07:34:20.735Z] Removing intermediate container 5c94ec1cac7c [2024-07-01T07:34:20.735Z] ---> 9af4671f968c [2024-07-01T07:34:20.735Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-01T07:34:21.011Z] ---> Running in e887dbf11db4 [2024-07-01T07:34:21.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T07:34:22.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T07:34:23.206Z] OK: 266 MiB in 52 packages [2024-07-01T07:34:24.174Z] Removing intermediate container e887dbf11db4 [2024-07-01T07:34:24.174Z] ---> 62250dcce5f9 [2024-07-01T07:34:24.174Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-01T07:34:24.438Z] ---> 66c95dcf7cb1 [2024-07-01T07:34:24.438Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T07:34:24.709Z] ---> Running in da7e0a8d33f9 [2024-07-01T07:34:26.651Z] Removing intermediate container da7e0a8d33f9 [2024-07-01T07:34:26.651Z] ---> 479c1d398172 [2024-07-01T07:34:26.651Z] Step 9/24 : COPY . . [2024-07-01T07:34:28.591Z] ---> ff6840f884c5 [2024-07-01T07:34:28.591Z] Step 10/24 : RUN ${MAKE} [2024-07-01T07:34:28.591Z] ---> Running in 9b25781af875 [2024-07-01T07:34:29.551Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-01T07:37:51.306Z] Removing intermediate container 9b25781af875 [2024-07-01T07:37:51.306Z] ---> f8df47123a3c [2024-07-01T07:37:51.306Z] Step 11/24 : FROM alpine:3.18 [2024-07-01T07:37:51.306Z] 3.18: Pulling from library/alpine [2024-07-01T07:37:51.306Z] 5c905c7ebe2f: Pulling fs layer [2024-07-01T07:37:51.306Z] 5c905c7ebe2f: Verifying Checksum [2024-07-01T07:37:51.306Z] 5c905c7ebe2f: Download complete [2024-07-01T07:37:51.306Z] 5c905c7ebe2f: Pull complete [2024-07-01T07:37:51.306Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-01T07:37:51.306Z] Status: Downloaded newer image for alpine:3.18 [2024-07-01T07:37:51.306Z] ---> dec292d02e07 [2024-07-01T07:37:51.306Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-01T07:37:51.306Z] ---> Running in f49190075e62 [2024-07-01T07:37:51.306Z] Removing intermediate container f49190075e62 [2024-07-01T07:37:51.306Z] ---> 63d4fb80782b [2024-07-01T07:37:51.306Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-01T07:37:51.306Z] ---> Running in 2b9298b69889 [2024-07-01T07:37:51.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T07:37:51.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T07:37:51.306Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-01T07:37:51.306Z] Executing busybox-1.36.1-r7.trigger [2024-07-01T07:37:51.306Z] OK: 8 MiB in 16 packages [2024-07-01T07:37:51.306Z] Removing intermediate container 2b9298b69889 [2024-07-01T07:37:51.306Z] ---> c75642832414 [2024-07-01T07:37:51.306Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-01T07:37:51.306Z] ---> Running in d661c3fc116e [2024-07-01T07:37:51.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T07:37:52.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T07:37:52.757Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T07:37:53.026Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T07:37:53.027Z] OK: 8 MiB in 16 packages [2024-07-01T07:37:53.990Z] Removing intermediate container d661c3fc116e [2024-07-01T07:37:53.990Z] ---> a3e93303400c [2024-07-01T07:37:53.990Z] Step 15/24 : WORKDIR / [2024-07-01T07:37:53.990Z] ---> Running in 58340d0f5932 [2024-07-01T07:37:54.255Z] Removing intermediate container 58340d0f5932 [2024-07-01T07:37:54.255Z] ---> ce0b06542df7 [2024-07-01T07:37:54.255Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-01T07:37:54.837Z] ---> 1e3b3b69f0b8 [2024-07-01T07:37:54.837Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-01T07:37:56.766Z] ---> ad116abd09ee [2024-07-01T07:37:56.766Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-01T07:37:57.345Z] ---> 8fdae020067e [2024-07-01T07:37:57.345Z] Step 19/24 : EXPOSE 59999 [2024-07-01T07:37:57.345Z] ---> Running in ecd8aa8fd30a [2024-07-01T07:37:57.610Z] Removing intermediate container ecd8aa8fd30a [2024-07-01T07:37:57.610Z] ---> 8f36f089a037 [2024-07-01T07:37:57.610Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-01T07:37:57.610Z] ---> Running in 5f7e6d52b7d5 [2024-07-01T07:37:57.887Z] Removing intermediate container 5f7e6d52b7d5 [2024-07-01T07:37:57.887Z] ---> c6865a7571d1 [2024-07-01T07:37:57.887Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-01T07:37:57.887Z] ---> Running in d4b90c313ce9 [2024-07-01T07:37:58.468Z] Removing intermediate container d4b90c313ce9 [2024-07-01T07:37:58.468Z] ---> f52032c35584 [2024-07-01T07:37:58.468Z] Step 22/24 : LABEL arch=arm64 [2024-07-01T07:37:58.468Z] ---> Running in f7c3a9df6dd3 [2024-07-01T07:37:58.733Z] Removing intermediate container f7c3a9df6dd3 [2024-07-01T07:37:58.733Z] ---> c2102a6c6896 [2024-07-01T07:37:58.733Z] Step 23/24 : LABEL git_sha=223c3cf2d9106e3768d8f217f81ec937c9274de2 [2024-07-01T07:37:58.733Z] ---> Running in e8b670afb892 [2024-07-01T07:37:58.997Z] Removing intermediate container e8b670afb892 [2024-07-01T07:37:58.997Z] ---> 809429e94ec2 [2024-07-01T07:37:58.997Z] Step 24/24 : LABEL version=0.0.0 [2024-07-01T07:37:58.997Z] ---> Running in 9d8fbcb74a35 [2024-07-01T07:37:59.261Z] Removing intermediate container 9d8fbcb74a35 [2024-07-01T07:37:59.261Z] ---> b12ac96a87ed [2024-07-01T07:37:59.261Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-01T07:37:59.530Z] Successfully built b12ac96a87ed [2024-07-01T07:37:59.530Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:38:00.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T07:38:00.008Z] [2024-07-01T07:38:00.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:38:00.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T07:38:00.399Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-01T07:38:00.399Z] 8998bd30e6a1: Pulling fs layer [2024-07-01T07:38:00.399Z] 04944245beec: Pulling fs layer [2024-07-01T07:38:00.399Z] 699f458cf7ca: Pulling fs layer [2024-07-01T07:38:00.399Z] 765212b225bb: Pulling fs layer [2024-07-01T07:38:00.399Z] f23df028b6ca: Pulling fs layer [2024-07-01T07:38:00.399Z] d65c8cfc05b1: Pulling fs layer [2024-07-01T07:38:00.399Z] 2437ff75d9bd: Pulling fs layer [2024-07-01T07:38:00.399Z] 765212b225bb: Waiting [2024-07-01T07:38:00.399Z] f23df028b6ca: Waiting [2024-07-01T07:38:00.399Z] 2437ff75d9bd: Waiting [2024-07-01T07:38:00.399Z] d65c8cfc05b1: Waiting [2024-07-01T07:38:00.665Z] 04944245beec: Verifying Checksum [2024-07-01T07:38:00.665Z] 04944245beec: Download complete [2024-07-01T07:38:00.665Z] 765212b225bb: Verifying Checksum [2024-07-01T07:38:00.665Z] 765212b225bb: Download complete [2024-07-01T07:38:00.665Z] f23df028b6ca: Verifying Checksum [2024-07-01T07:38:00.665Z] f23df028b6ca: Download complete [2024-07-01T07:38:00.665Z] d65c8cfc05b1: Verifying Checksum [2024-07-01T07:38:00.665Z] d65c8cfc05b1: Download complete [2024-07-01T07:38:00.933Z] 699f458cf7ca: Verifying Checksum [2024-07-01T07:38:00.933Z] 699f458cf7ca: Download complete [2024-07-01T07:38:01.199Z] 8998bd30e6a1: Verifying Checksum [2024-07-01T07:38:01.199Z] 8998bd30e6a1: Download complete [2024-07-01T07:38:03.772Z] 2437ff75d9bd: Verifying Checksum [2024-07-01T07:38:03.772Z] 2437ff75d9bd: Download complete [2024-07-01T07:38:05.711Z] 8998bd30e6a1: Pull complete [2024-07-01T07:38:06.291Z] 04944245beec: Pull complete [2024-07-01T07:38:07.691Z] 699f458cf7ca: Pull complete [2024-07-01T07:38:07.955Z] 765212b225bb: Pull complete [2024-07-01T07:38:08.848Z] f23df028b6ca: Pull complete [2024-07-01T07:38:08.848Z] d65c8cfc05b1: Pull complete [2024-07-01T07:38:27.055Z] 2437ff75d9bd: Pull complete [2024-07-01T07:38:27.056Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-01T07:38:27.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T07:38:27.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:38:27.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-4674 does not seem to be running inside a container [2024-07-01T07:38:27.322Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-01T07:38:29.970Z] $ docker top 0158051f6187d235351dc4a078118c95d2b19e17ea634f08be014ef462819c73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:30.829Z] ---> job-cost.sh [2024-07-01T07:38:30.829Z] lf-activate-venv: SKIPPING [2024-07-01T07:38:30.829Z] INFO: No Stack... [2024-07-01T07:38:31.406Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-01T07:38:31.982Z] INFO: Archiving Costs [Pipeline] sh [2024-07-01T07:38:32.298Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2024-07-01T07:38:32.298Z] + cut -d, -f6 [Pipeline] lock [2024-07-01T07:38:32.351Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [2024-07-01T07:38:32.363Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] did not exist. Created. [2024-07-01T07:38:32.370Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-01T07:38:32.705Z] /w/workspace/device-sdk-go/9@tmp/durable-bc52064c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-01T07:38:33.333Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-01T07:38:33.362Z] Warning: overwriting stash ‘stack-cost’ [2024-07-01T07:38:33.432Z] Stashed 1 file(s) [Pipeline] } [2024-07-01T07:38:33.443Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-01T07:38:33.462Z] $ docker stop --time=1 0158051f6187d235351dc4a078118c95d2b19e17ea634f08be014ef462819c73 [2024-07-01T07:38:34.931Z] $ docker rm -f --volumes 0158051f6187d235351dc4a078118c95d2b19e17ea634f08be014ef462819c73 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-01T07:38:36.142Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] [2024-07-01T07:38:36.142Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-07-01T07:38:36.142Z] total 16 [2024-07-01T07:38:36.142Z] drwxr-xr-x 3 root root 4096 Jul 1 07:23 . [2024-07-01T07:38:36.142Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 07:23 .. [2024-07-01T07:38:36.142Z] drwxr-xr-x 2 root root 4096 Jul 1 07:23 cost [2024-07-01T07:38:36.142Z] -rw-r--r-- 1 root root 86 Jul 1 07:23 cost.csv [2024-07-01T07:38:36.142Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-07-01T07:38:36.142Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-07-01T07:38:36.142Z] total 16 [2024-07-01T07:38:36.142Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 07:23 . [2024-07-01T07:38:36.142Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 07:23 .. [2024-07-01T07:38:36.142Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 07:23 cost [2024-07-01T07:38:36.142Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 1 07:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:36.430Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:37.295Z] ---> package-listing.sh [2024-07-01T07:38:37.295Z] ++ facter osfamily [2024-07-01T07:38:37.295Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-01T07:38:37.295Z] + OS_FAMILY=debian [2024-07-01T07:38:37.295Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 [2024-07-01T07:38:37.295Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-01T07:38:37.295Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-01T07:38:37.295Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-01T07:38:37.295Z] + PACKAGES=/tmp/packages_start.txt [2024-07-01T07:38:37.295Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-07-01T07:38:37.295Z] + PACKAGES=/tmp/packages_end.txt [2024-07-01T07:38:37.295Z] + case "${OS_FAMILY}" in [2024-07-01T07:38:37.295Z] + dpkg -l [2024-07-01T07:38:37.295Z] + grep '^ii' [2024-07-01T07:38:37.553Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-01T07:38:37.553Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-01T07:38:37.553Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-01T07:38:37.553Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-07-01T07:38:37.553Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [2024-07-01T07:38:37.553Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo [2024-07-01T07:38:37.562Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-01T07:38:37.837Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T07:38:38.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T07:38:38.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T07:38:38.212Z] prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container [2024-07-01T07:38:38.254Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-01T07:38:38.452Z] $ docker top 390fcafea507593bfe680266da33b6fec7902cc25bac210ad1ceaa82cd14ce3f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T07:38:38.794Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-01T07:38:39.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-01T07:38:39.363Z] + ls /var/log/sa-host [2024-07-01T07:38:39.363Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T07:38:39.529Z] provisioning config files... [2024-07-01T07:38:39.541Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config344670073338511020tmp [Pipeline] { [Pipeline] echo [2024-07-01T07:38:39.560Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:39.847Z] ---> create-netrc.sh [Pipeline] } [2024-07-01T07:38:39.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:40.202Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-01T07:38:40.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:40.497Z] ---> sudo-logs.sh [2024-07-01T07:38:40.497Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-01T07:38:40.529Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:40.808Z] ---> job-cost.sh [2024-07-01T07:38:40.809Z] lf-activate-venv: SKIPPING [2024-07-01T07:38:40.809Z] DEBUG: total: 0.2199999988079071 [2024-07-01T07:38:40.809Z] INFO: Retrieving Stack Cost... [2024-07-01T07:38:41.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-01T07:38:41.646Z] INFO: Archiving Costs [Pipeline] echo [2024-07-01T07:38:41.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T07:38:41.938Z] ---> logs-deploy.sh [2024-07-01T07:38:41.938Z] lf-activate-venv: SKIPPING [2024-07-01T07:38:41.938Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/9 [2024-07-01T07:38:41.938Z] INFO: archiving workspace using pattern(s): [2024-07-01T07:38:42.872Z] Archives upload complete. [2024-07-01T07:38:42.872Z] INFO: archiving logs to Nexus