Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e59f102ded9f468f6a1ef58277474402d3de2713+50e812dd0fc65b097297637d35e073c818e89983 (106e829661d86c4a0b0c092fe72225c59e39e6df) 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-ssh18102429871270513423.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-ssh1640625918651272227.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-1594/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-1594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh860078702381413637.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-ssh8232671568406838689.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-1594/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-1594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh864825834272156102.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5465’ Running on prd-ubuntu20.04-docker-8c-8g-5468 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [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-1594 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit e59f102ded9f468f6a1ef58277474402d3de2713 Merge succeeded, producing affa0fdf7606f7e786c22e0920c3d154c80a78fa Checking out Revision affa0fdf7606f7e786c22e0920c3d154c80a78fa (PR-1594) > 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/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e59f102ded9f468f6a1ef58277474402d3de2713 # 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 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f affa0fdf7606f7e786c22e0920c3d154c80a78fa # timeout=10 Commit message: "Merge commit '50e812dd0fc65b097297637d35e073c818e89983' into HEAD" > git rev-list --no-walk e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-12T18:42:48.345Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-12T18:42:48.425Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-12T18:42:48.454Z] ========================================================= [2024-07-12T18:42:48.454Z] EdgeX Global Pipelines Version Info [2024-07-12T18:42:48.454Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:42:49.210Z] ------------------- [2024-07-12T18:42:49.210Z] stable info: [2024-07-12T18:42:49.210Z] ------------------- [2024-07-12T18:42:49.210Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T18:42:49.210Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-12T18:42:49.210Z] Message: update stable to v1.0.260 [2024-07-12T18:42:49.780Z] ------------------- [2024-07-12T18:42:49.780Z] experimental info: [2024-07-12T18:42:49.780Z] ------------------- [2024-07-12T18:42:49.780Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T18:42:49.780Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-12T18:42:49.780Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-12T18:42:49.868Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-12T18:42:49.893Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-12T18:42:49.920Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-12T18:42:49.942Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-12T18:42:49.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-12T18:42:49.990Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-12T18:42:50.018Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-12T18:42:50.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-12T18:42:50.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-12T18:42:50.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-12T18:42:50.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-12T18:42:50.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-12T18:42:50.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-12T18:42:50.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-12T18:42:50.204Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-12T18:42:50.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T18:42:50.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T18:42:50.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T18:42:50.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-12T18:42:50.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-12T18:42:50.350Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-12T18:42:50.375Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-12T18:42:50.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-12T18:42:50.422Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-12T18:42:50.443Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-12T18:42:50.465Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-12T18:42:50.488Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-12T18:42:50.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1594 [Pipeline] echo [2024-07-12T18:42:50.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1594 [Pipeline] echo [2024-07-12T18:42:50.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1594 [Pipeline] echo [2024-07-12T18:42:50.582Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = affa0fdf7606f7e786c22e0920c3d154c80a78fa [Pipeline] echo [2024-07-12T18:42:50.611Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = affa0fd [Pipeline] echo [2024-07-12T18:42:50.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T18:42:50.693Z] provisioning config files... [2024-07-12T18:42:50.708Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config13060272271037547032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:42:51.042Z] ---> ****-login.sh [2024-07-12T18:42:51.042Z] nexus3.edgexfoundry.org:10001 [2024-07-12T18:42:51.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:42:51.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:42:51.304Z] Configure a credential helper to remove this warning. See [2024-07-12T18:42:51.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:42:51.304Z] [2024-07-12T18:42:51.304Z] Login Succeeded [2024-07-12T18:42:51.304Z] nexus3.edgexfoundry.org:10002 [2024-07-12T18:42:51.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:42:51.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:42:51.567Z] Configure a credential helper to remove this warning. See [2024-07-12T18:42:51.567Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:42:51.567Z] [2024-07-12T18:42:51.567Z] Login Succeeded [2024-07-12T18:42:51.567Z] nexus3.edgexfoundry.org:10003 [2024-07-12T18:42:51.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:42:51.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:42:51.567Z] Configure a credential helper to remove this warning. See [2024-07-12T18:42:51.567Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:42:51.567Z] [2024-07-12T18:42:51.567Z] Login Succeeded [2024-07-12T18:42:51.567Z] nexus3.edgexfoundry.org:10004 [2024-07-12T18:42:51.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:42:51.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:42:51.567Z] Configure a credential helper to remove this warning. See [2024-07-12T18:42:51.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:42:51.568Z] [2024-07-12T18:42:51.568Z] Login Succeeded [2024-07-12T18:42:51.568Z] ****.io [2024-07-12T18:42:51.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:42:51.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:42:51.830Z] Configure a credential helper to remove this warning. See [2024-07-12T18:42:51.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:42:51.830Z] [2024-07-12T18:42:51.830Z] Login Succeeded [2024-07-12T18:42:51.830Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T18:42:51.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-12T18:42:52.260Z] + git rev-list -1 --merges affa0fdf7606f7e786c22e0920c3d154c80a78fa~1..affa0fdf7606f7e786c22e0920c3d154c80a78fa [Pipeline] echo [2024-07-12T18:42:52.291Z] -----------> git rev-list -1 --merges affa0fdf7606f7e786c22e0920c3d154c80a78fa~1..affa0fdf7606f7e786c22e0920c3d154c80a78fa affa0fdf7606f7e786c22e0920c3d154c80a78fa [2024-07-12T18:42:52.291Z] affa0fdf7606f7e786c22e0920c3d154c80a78fa [false] [Pipeline] sh [2024-07-12T18:42:52.585Z] + git log --format=format:%s -1 affa0fdf7606f7e786c22e0920c3d154c80a78fa [Pipeline] echo [2024-07-12T18:42:52.603Z] ========================================================= [2024-07-12T18:42:52.603Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-12T18:42:52.603Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T18:42:52.957Z] + git log --format=format:%s -1 affa0fdf7606f7e786c22e0920c3d154c80a78fa [Pipeline] echo [2024-07-12T18:42:52.972Z] [semverPrep] GIT_COMMIT: affa0fdf7606f7e786c22e0920c3d154c80a78fa, Commit Message: Merge commit '50e812dd0fc65b097297637d35e073c818e89983' into HEAD [Pipeline] echo [2024-07-12T18:42:52.985Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-12T18:42:53.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T18:42:53.342Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-12T18:42:53.342Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-12T18:42:53.342Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-12T18:42:53.342Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-12T18:42:53.342Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-12T18:42:53.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:42:53.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T18:42:53.696Z] [2024-07-12T18:42:53.696Z] 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-12T18:42:54.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T18:42:54.001Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-12T18:42:54.001Z] b85a868b505f: Pulling fs layer [2024-07-12T18:42:54.001Z] e2be974225ed: Pulling fs layer [2024-07-12T18:42:54.001Z] 339a4e72a1f5: Pulling fs layer [2024-07-12T18:42:54.001Z] 988bab9f4d93: Pulling fs layer [2024-07-12T18:42:54.001Z] 1469e6f7b9e6: Pulling fs layer [2024-07-12T18:42:54.001Z] eaf3925da568: Pulling fs layer [2024-07-12T18:42:54.001Z] bab4dde63d76: Pulling fs layer [2024-07-12T18:42:54.001Z] bde34c3a00c8: Pulling fs layer [2024-07-12T18:42:54.001Z] b352a97aabf1: Pulling fs layer [2024-07-12T18:42:54.001Z] 4872d77fe225: Pulling fs layer [2024-07-12T18:42:54.001Z] 5851b861e8e6: Pulling fs layer [2024-07-12T18:42:54.001Z] eaf3925da568: Waiting [2024-07-12T18:42:54.001Z] bab4dde63d76: Waiting [2024-07-12T18:42:54.001Z] bde34c3a00c8: Waiting [2024-07-12T18:42:54.001Z] 1469e6f7b9e6: Waiting [2024-07-12T18:42:54.001Z] 988bab9f4d93: Waiting [2024-07-12T18:42:54.001Z] b352a97aabf1: Waiting [2024-07-12T18:42:54.001Z] 5851b861e8e6: Waiting [2024-07-12T18:42:54.001Z] e2be974225ed: Verifying Checksum [2024-07-12T18:42:54.001Z] e2be974225ed: Download complete [2024-07-12T18:42:54.001Z] 988bab9f4d93: Verifying Checksum [2024-07-12T18:42:54.001Z] 988bab9f4d93: Download complete [2024-07-12T18:42:54.001Z] 1469e6f7b9e6: Verifying Checksum [2024-07-12T18:42:54.001Z] 1469e6f7b9e6: Download complete [2024-07-12T18:42:54.001Z] 339a4e72a1f5: Verifying Checksum [2024-07-12T18:42:54.001Z] eaf3925da568: Download complete [2024-07-12T18:42:54.261Z] bde34c3a00c8: Download complete [2024-07-12T18:42:54.261Z] b352a97aabf1: Verifying Checksum [2024-07-12T18:42:54.261Z] b352a97aabf1: Download complete [2024-07-12T18:42:54.261Z] 4872d77fe225: Verifying Checksum [2024-07-12T18:42:54.261Z] 4872d77fe225: Download complete [2024-07-12T18:42:54.261Z] 5851b861e8e6: Verifying Checksum [2024-07-12T18:42:54.261Z] 5851b861e8e6: Download complete [2024-07-12T18:42:54.261Z] b85a868b505f: Verifying Checksum [2024-07-12T18:42:54.261Z] b85a868b505f: Download complete [2024-07-12T18:42:54.520Z] bab4dde63d76: Verifying Checksum [2024-07-12T18:42:54.520Z] bab4dde63d76: Download complete [2024-07-12T18:42:55.458Z] b85a868b505f: Pull complete [2024-07-12T18:42:55.718Z] e2be974225ed: Pull complete [2024-07-12T18:42:56.288Z] 339a4e72a1f5: Pull complete [2024-07-12T18:42:56.288Z] 988bab9f4d93: Pull complete [2024-07-12T18:42:56.548Z] 1469e6f7b9e6: Pull complete [2024-07-12T18:42:56.808Z] eaf3925da568: Pull complete [2024-07-12T18:42:58.708Z] bab4dde63d76: Pull complete [2024-07-12T18:42:58.708Z] bde34c3a00c8: Pull complete [2024-07-12T18:42:58.968Z] b352a97aabf1: Pull complete [2024-07-12T18:42:58.968Z] 4872d77fe225: Pull complete [2024-07-12T18:42:58.968Z] 5851b861e8e6: Pull complete [2024-07-12T18:42:58.968Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-12T18:42:58.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T18:42:58.968Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:42:59.102Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2024-07-12T18:42:59.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T18:43:03.524Z] $ docker top d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca -eo pid,comm [2024-07-12T18:43:03.639Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-12T18:43:03.639Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T18:43:03.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T18:43:03.706Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T18:43:03.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T18:43:03.804Z] $ docker exec d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca ssh-agent [2024-07-12T18:43:03.954Z] SSH_AUTH_SOCK=/tmp/ssh-j1CUzvm5eWqJ/agent.14 [2024-07-12T18:43:03.954Z] SSH_AGENT_PID=20 [2024-07-12T18:43:03.960Z] Running ssh-add (command line suppressed) [2024-07-12T18:43:04.053Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_6872432246026631236.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_6872432246026631236.key) [2024-07-12T18:43:04.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T18:43:04.370Z] + git tag --points-at HEAD [Pipeline] } [2024-07-12T18:43:04.374Z] $ docker exec --env ******** --env ******** d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca ssh-agent -k [2024-07-12T18:43:04.522Z] unset SSH_AUTH_SOCK; [2024-07-12T18:43:04.523Z] unset SSH_AGENT_PID; [2024-07-12T18:43:04.523Z] echo Agent pid 20 killed; [2024-07-12T18:43:04.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-12T18:43:04.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T18:43:04.583Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T18:43:04.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T18:43:04.683Z] $ docker exec d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca ssh-agent [2024-07-12T18:43:04.793Z] SSH_AUTH_SOCK=/tmp/ssh-TAqGkxdTN92J/agent.71 [2024-07-12T18:43:04.793Z] SSH_AGENT_PID=77 [2024-07-12T18:43:04.798Z] Running ssh-add (command line suppressed) [2024-07-12T18:43:04.924Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_6507665398810211751.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_6507665398810211751.key) [2024-07-12T18:43:04.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T18:43:05.262Z] + git semver init [2024-07-12T18:43:05.521Z] 2024-07-12 18:43:05,418 [run_init] DEBUG init version:0.0.0 force:False [2024-07-12T18:43:05.521Z] 2024-07-12 18:43:05,420 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver [2024-07-12T18:43:05.521Z] 2024-07-12 18:43:05,420 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver [2024-07-12T18:43:05.521Z] 2024-07-12 18:43:05,421 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594, universal_newlines=False, shell=None, istream=None) [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,664 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.git/info/exclude [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,664 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 with force:False [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,664 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,668 [execute] INFO git cat-file --batch-check [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,673 [execute] INFO git cat-file --batch [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T18:43:08.055Z] 2024-07-12 18:43:07,677 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 [2024-07-12T18:43:08.055Z] 0.0.0 [Pipeline] } [2024-07-12T18:43:08.058Z] $ docker exec --env ******** --env ******** d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca ssh-agent -k [2024-07-12T18:43:08.156Z] unset SSH_AUTH_SOCK; [2024-07-12T18:43:08.157Z] unset SSH_AGENT_PID; [2024-07-12T18:43:08.157Z] echo Agent pid 77 killed; [2024-07-12T18:43:08.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T18:43:08.492Z] + git semver [Pipeline] } [2024-07-12T18:43:08.759Z] $ docker stop --time=1 d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca [2024-07-12T18:43:10.049Z] $ docker rm -f --volumes d41a2ce6b77f108347fe54da51c534e2ca479ce870eddce2165a1d24e90de4ca [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T18:43:10.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-12T18:43:10.635Z] Stashed 1 file(s) [Pipeline] echo [2024-07-12T18:43:10.638Z] [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-12T18:43:10.794Z] provisioning config files... [2024-07-12T18:43:10.803Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config3749719132585537900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:43:11.106Z] ---> ****-login.sh [2024-07-12T18:43:11.106Z] nexus3.edgexfoundry.org:10001 [2024-07-12T18:43:11.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:43:11.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:43:11.107Z] Configure a credential helper to remove this warning. See [2024-07-12T18:43:11.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:43:11.107Z] [2024-07-12T18:43:11.107Z] Login Succeeded [2024-07-12T18:43:11.107Z] nexus3.edgexfoundry.org:10002 [2024-07-12T18:43:11.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:43:11.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:43:11.107Z] Configure a credential helper to remove this warning. See [2024-07-12T18:43:11.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:43:11.107Z] [2024-07-12T18:43:11.107Z] Login Succeeded [2024-07-12T18:43:11.107Z] nexus3.edgexfoundry.org:10003 [2024-07-12T18:43:11.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:43:11.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:43:11.367Z] Configure a credential helper to remove this warning. See [2024-07-12T18:43:11.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:43:11.367Z] [2024-07-12T18:43:11.367Z] Login Succeeded [2024-07-12T18:43:11.367Z] nexus3.edgexfoundry.org:10004 [2024-07-12T18:43:11.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:43:11.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:43:11.367Z] Configure a credential helper to remove this warning. See [2024-07-12T18:43:11.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:43:11.367Z] [2024-07-12T18:43:11.367Z] Login Succeeded [2024-07-12T18:43:11.367Z] ****.io [2024-07-12T18:43:11.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:43:11.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:43:11.628Z] Configure a credential helper to remove this warning. See [2024-07-12T18:43:11.628Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:43:11.628Z] [2024-07-12T18:43:11.628Z] Login Succeeded [2024-07-12T18:43:11.628Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T18:43:11.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T18:43:11.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:43:11.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:43:11.753Z] ========================================================= [2024-07-12T18:43:11.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-12T18:43:11.753Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:43:12.090Z] + 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-12T18:43:12.090Z] Sending build context to Docker daemon 25.11MB [2024-07-12T18:43:12.090Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:43:12.090Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-12T18:43:12.350Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-12T18:43:12.350Z] 619be1103602: Pulling fs layer [2024-07-12T18:43:12.350Z] 7862e08f4a3e: Pulling fs layer [2024-07-12T18:43:12.350Z] 5df492c9dc93: Pulling fs layer [2024-07-12T18:43:12.350Z] 7629e6793208: Pulling fs layer [2024-07-12T18:43:12.350Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T18:43:12.350Z] fb5054dd5b73: Pulling fs layer [2024-07-12T18:43:12.350Z] eeca6798cff9: Pulling fs layer [2024-07-12T18:43:12.350Z] aa269ceb94a6: Pulling fs layer [2024-07-12T18:43:12.350Z] ada007ff1a6a: Pulling fs layer [2024-07-12T18:43:12.350Z] aa269ceb94a6: Waiting [2024-07-12T18:43:12.350Z] 4f4fb700ef54: Waiting [2024-07-12T18:43:12.350Z] ada007ff1a6a: Waiting [2024-07-12T18:43:12.350Z] fb5054dd5b73: Waiting [2024-07-12T18:43:12.350Z] eeca6798cff9: Waiting [2024-07-12T18:43:12.350Z] 7629e6793208: Waiting [2024-07-12T18:43:12.350Z] 7862e08f4a3e: Verifying Checksum [2024-07-12T18:43:12.350Z] 7862e08f4a3e: Download complete [2024-07-12T18:43:12.350Z] 7629e6793208: Download complete [2024-07-12T18:43:12.350Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T18:43:12.350Z] 4f4fb700ef54: Download complete [2024-07-12T18:43:12.350Z] fb5054dd5b73: Verifying Checksum [2024-07-12T18:43:12.350Z] fb5054dd5b73: Download complete [2024-07-12T18:43:12.350Z] 619be1103602: Verifying Checksum [2024-07-12T18:43:12.350Z] 619be1103602: Download complete [2024-07-12T18:43:12.350Z] eeca6798cff9: Verifying Checksum [2024-07-12T18:43:12.350Z] eeca6798cff9: Download complete [2024-07-12T18:43:12.613Z] 619be1103602: Pull complete [2024-07-12T18:43:12.613Z] ada007ff1a6a: Verifying Checksum [2024-07-12T18:43:12.613Z] ada007ff1a6a: Download complete [2024-07-12T18:43:12.613Z] 7862e08f4a3e: Pull complete [2024-07-12T18:43:12.872Z] 5df492c9dc93: Verifying Checksum [2024-07-12T18:43:12.872Z] 5df492c9dc93: Download complete [2024-07-12T18:43:13.130Z] aa269ceb94a6: Verifying Checksum [2024-07-12T18:43:13.130Z] aa269ceb94a6: Download complete [2024-07-12T18:43:16.416Z] 5df492c9dc93: Pull complete [2024-07-12T18:43:16.416Z] 7629e6793208: Pull complete [2024-07-12T18:43:16.416Z] 4f4fb700ef54: Pull complete [2024-07-12T18:43:16.416Z] fb5054dd5b73: Pull complete [2024-07-12T18:43:16.416Z] eeca6798cff9: Pull complete [2024-07-12T18:43:18.945Z] aa269ceb94a6: Pull complete [2024-07-12T18:43:19.204Z] ada007ff1a6a: Pull complete [2024-07-12T18:43:19.204Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-12T18:43:19.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-12T18:43:19.204Z] ---> f489d0715acc [2024-07-12T18:43:19.204Z] Step 3/10 : ARG MAKE=make build [2024-07-12T18:43:25.744Z] Still waiting to schedule task [2024-07-12T18:43:25.744Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5466’ [2024-07-12T18:43:25.802Z] ---> Running in 87e2f3a7c2b5 [2024-07-12T18:43:25.802Z] Removing intermediate container 87e2f3a7c2b5 [2024-07-12T18:43:25.802Z] ---> 65efbc9d77df [2024-07-12T18:43:25.802Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-12T18:43:25.802Z] ---> Running in 61421bfb03ff [2024-07-12T18:43:25.802Z] Removing intermediate container 61421bfb03ff [2024-07-12T18:43:25.802Z] ---> 2ff04f6aa51d [2024-07-12T18:43:25.802Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T18:43:25.802Z] ---> Running in 0acf2abddc66 [2024-07-12T18:43:25.802Z] Removing intermediate container 0acf2abddc66 [2024-07-12T18:43:25.802Z] ---> 4a3f1f6589c1 [2024-07-12T18:43:25.802Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-12T18:43:25.802Z] ---> Running in 320a551c088a [2024-07-12T18:43:25.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T18:43:26.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T18:43:26.322Z] OK: 264 MiB in 52 packages [2024-07-12T18:43:26.582Z] Removing intermediate container 320a551c088a [2024-07-12T18:43:26.582Z] ---> 438126093cf4 [2024-07-12T18:43:26.582Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-12T18:43:26.842Z] ---> bb415f47cfe2 [2024-07-12T18:43:26.842Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:43:26.842Z] ---> Running in 40752f655370 [2024-07-12T18:44:34.676Z] Removing intermediate container 40752f655370 [2024-07-12T18:44:34.676Z] ---> c1ec295ec5f5 [2024-07-12T18:44:34.676Z] Step 9/10 : COPY . . [2024-07-12T18:44:34.676Z] ---> 0a0dc2c493d3 [2024-07-12T18:44:34.676Z] Step 10/10 : RUN ${MAKE} [2024-07-12T18:44:34.676Z] ---> Running in 0966f0d68d82 [2024-07-12T18:44:34.676Z] noop [2024-07-12T18:44:34.676Z] Removing intermediate container 0966f0d68d82 [2024-07-12T18:44:34.676Z] ---> 70d279ad1405 [2024-07-12T18:44:34.676Z] Successfully built 70d279ad1405 [2024-07-12T18:44:34.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:44:35.006Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T18:44:35.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:44:35.090Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2024-07-12T18:44:35.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T18:44:35.474Z] $ docker top f3f42e9eb01ea256edc95dd6d45142891c6482f906c4bceaf26b70951cff98a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:44:35.819Z] + go version [2024-07-12T18:44:35.819Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-12T18:44:35.831Z] $ docker stop --time=1 f3f42e9eb01ea256edc95dd6d45142891c6482f906c4bceaf26b70951cff98a8 [2024-07-12T18:44:37.102Z] $ docker rm -f --volumes f3f42e9eb01ea256edc95dd6d45142891c6482f906c4bceaf26b70951cff98a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:44:37.533Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T18:44:37.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:44:37.603Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2024-07-12T18:44:37.634Z] $ 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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T18:44:37.975Z] $ docker top f9b908edfb94b063c219e57eb6d36667b9282336a7f35723688ef95cdeae4f1d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:44:38.328Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] fileExists [Pipeline] sh [2024-07-12T18:44:38.631Z] + make test [2024-07-12T18:44:38.631Z] go test -race -coverprofile=coverage.out ./... [2024-07-12T18:44:46.743Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-12T18:45:25.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 27.0% of statements [2024-07-12T18:45:25.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.025s coverage: 80.0% of statements [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-12T18:45:25.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-12T18:45:25.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.104s coverage: 54.9% of statements [2024-07-12T18:45:25.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-12T18:45:26.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.073s coverage: 14.4% of statements [2024-07-12T18:45:26.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.342s coverage: 44.6% of statements [2024-07-12T18:45:26.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.049s coverage: 68.5% of statements [2024-07-12T18:45:26.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 89.2% of statements [2024-07-12T18:45:26.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements [2024-07-12T18:45:58.119Z] internal/controller/http/discovery.go:101:92: S1039: unnecessary use of fmt.Sprintf (gosimple) [2024-07-12T18:45:58.119Z] return sdkModels.ProfileScanRequest{}, errors.NewCommonEdgeX(errors.KindContractInvalid, fmt.Sprintf("request body validation failed"), err) [2024-07-12T18:45:58.119Z] ^ [2024-07-12T18:45:58.119Z] make: *** [Makefile:42: lint] Error 1 [Pipeline] } [2024-07-12T18:45:58.136Z] $ docker stop --time=1 f9b908edfb94b063c219e57eb6d36667b9282336a7f35723688ef95cdeae4f1d [2024-07-12T18:46:05.927Z] $ docker rm -f --volumes f9b908edfb94b063c219e57eb6d36667b9282336a7f35723688ef95cdeae4f1d [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-12T18:46:06.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:46:06.786Z] [2024-07-12T18:46:06.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:46:07.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:46:07.086Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-12T18:46:07.086Z] 5eb5b503b376: Pulling fs layer [2024-07-12T18:46:07.086Z] 5c69ac0246d0: Pulling fs layer [2024-07-12T18:46:07.086Z] ec43610c2a17: Pulling fs layer [2024-07-12T18:46:07.086Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-12T18:46:07.086Z] 33b1e0a273af: Pulling fs layer [2024-07-12T18:46:07.086Z] 5d3b04190fa2: Pulling fs layer [2024-07-12T18:46:07.086Z] 2f39f015ded8: Pulling fs layer [2024-07-12T18:46:07.086Z] 3a2ae6a8a46f: Waiting [2024-07-12T18:46:07.086Z] 33b1e0a273af: Waiting [2024-07-12T18:46:07.086Z] 5d3b04190fa2: Waiting [2024-07-12T18:46:07.086Z] 2f39f015ded8: Waiting [2024-07-12T18:46:07.086Z] 5c69ac0246d0: Download complete [2024-07-12T18:46:07.086Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-12T18:46:07.086Z] 3a2ae6a8a46f: Download complete [2024-07-12T18:46:07.345Z] 33b1e0a273af: Verifying Checksum [2024-07-12T18:46:07.345Z] 33b1e0a273af: Download complete [2024-07-12T18:46:07.345Z] 5d3b04190fa2: Verifying Checksum [2024-07-12T18:46:07.345Z] 5d3b04190fa2: Download complete [2024-07-12T18:46:07.345Z] ec43610c2a17: Verifying Checksum [2024-07-12T18:46:07.345Z] ec43610c2a17: Download complete [2024-07-12T18:46:07.345Z] 5eb5b503b376: Verifying Checksum [2024-07-12T18:46:07.345Z] 5eb5b503b376: Download complete [2024-07-12T18:46:07.913Z] 2f39f015ded8: Download complete [2024-07-12T18:46:08.849Z] 5eb5b503b376: Pull complete [2024-07-12T18:46:08.849Z] 5c69ac0246d0: Pull complete [2024-07-12T18:46:09.107Z] ec43610c2a17: Pull complete [2024-07-12T18:46:09.366Z] 3a2ae6a8a46f: Pull complete [2024-07-12T18:46:09.366Z] 33b1e0a273af: Pull complete [2024-07-12T18:46:09.625Z] 5d3b04190fa2: Pull complete [2024-07-12T18:46:13.804Z] 2f39f015ded8: Pull complete [2024-07-12T18:46:13.804Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-12T18:46:13.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T18:46:13.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:46:13.896Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2024-07-12T18:46:13.927Z] $ 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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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-12T18:46:20.354Z] $ docker top b6e9b40723eb88df8a0a1cf097b33a98ff36086ed4a8ee31699e0d270758a2fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:46:20.727Z] ---> job-cost.sh [2024-07-12T18:46:20.727Z] lf-activate-venv: SKIPPING [2024-07-12T18:46:20.727Z] INFO: No Stack... [2024-07-12T18:46:20.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T18:46:21.247Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T18:46:21.537Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/cost.csv [2024-07-12T18:46:21.537Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T18:46:21.551Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] [2024-07-12T18:46:21.560Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] did not exist. Created. [2024-07-12T18:46:21.570Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T18:46:21.883Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-12T18:46:21.931Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T18:46:21.942Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T18:46:21.976Z] $ docker stop --time=1 b6e9b40723eb88df8a0a1cf097b33a98ff36086ed4a8ee31699e0d270758a2fa [2024-07-12T18:46:23.138Z] $ docker rm -f --volumes b6e9b40723eb88df8a0a1cf097b33a98ff36086ed4a8ee31699e0d270758a2fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-12T18:46:23.278Z] Failed in branch amd64 [2024-07-12T18:46:42.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5470 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] { [Pipeline] ws [2024-07-12T18:46:42.493Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-07-12T18:46:45.555Z] The recommended git tool is: git [2024-07-12T18:46:54.573Z] using credential edgex-jenkins-ssh [2024-07-12T18:46:54.596Z] Cloning the remote Git repository [2024-07-12T18:46:54.661Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-12T18:46:54.801Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-07-12T18:46:55.124Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-12T18:46:55.125Z] > git --version # timeout=10 [2024-07-12T18:46:55.160Z] > git --version # 'git version 2.25.1' [2024-07-12T18:46:55.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T18:46:55.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T18:46:59.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-12T18:46:59.301Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T18:47:00.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-12T18:47:00.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-12T18:47:00.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T18:47:00.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-12T18:47:01.071Z] Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit e59f102ded9f468f6a1ef58277474402d3de2713 [2024-07-12T18:47:01.510Z] Merge succeeded, producing 1ed37a69e8b276466ddbede54cacb54d1ac0c712 [2024-07-12T18:47:01.510Z] Checking out Revision 1ed37a69e8b276466ddbede54cacb54d1ac0c712 (PR-1594) [2024-07-12T18:47:01.088Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T18:47:01.163Z] > git checkout -f e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 [2024-07-12T18:47:01.283Z] > git remote # timeout=10 [2024-07-12T18:47:01.306Z] > git config --get remote.origin.url # timeout=10 [2024-07-12T18:47:01.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T18:47:01.344Z] > git merge 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 [2024-07-12T18:47:01.477Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-12T18:47:01.519Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T18:47:01.533Z] > git checkout -f 1ed37a69e8b276466ddbede54cacb54d1ac0c712 # timeout=10 [2024-07-12T18:47:05.257Z] Commit message: "Merge commit '50e812dd0fc65b097297637d35e073c818e89983' into HEAD" [2024-07-12T18:47:05.268Z] > git rev-list --no-walk e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T18:47:07.207Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-12T18:47:07.207Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T18:47:07.207Z] Dload Upload Total Spent Left Speed [2024-07-12T18:47:07.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2024-07-12T18:47:07.700Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-12T18:47:08.028Z] + + sudo tee /etc/docker/daemon.new [2024-07-12T18:47:08.028Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-12T18:47:08.028Z] { [2024-07-12T18:47:08.028Z] "registry-mirrors": [ [2024-07-12T18:47:08.028Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-12T18:47:08.028Z] ], [2024-07-12T18:47:08.028Z] "bip": "10.250.0.254/24", [2024-07-12T18:47:08.028Z] "hosts": [ [2024-07-12T18:47:08.028Z] "tcp://0.0.0.0:5555", [2024-07-12T18:47:08.028Z] "unix:///var/run/docker.sock" [2024-07-12T18:47:08.028Z] ], [2024-07-12T18:47:08.028Z] "mtu": 1458, [2024-07-12T18:47:08.028Z] "selinux-enabled": true, [2024-07-12T18:47:08.028Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-12T18:47:08.028Z] } [Pipeline] sh [2024-07-12T18:47:08.357Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-12T18:47:08.698Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T18:47:27.000Z] provisioning config files... [2024-07-12T18:47:27.031Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4154447119341330321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T18:47:27.474Z] ---> ****-login.sh [2024-07-12T18:47:27.474Z] nexus3.edgexfoundry.org:10001 [2024-07-12T18:47:28.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:47:28.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:47:28.061Z] Configure a credential helper to remove this warning. See [2024-07-12T18:47:28.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:47:28.061Z] [2024-07-12T18:47:28.061Z] Login Succeeded [2024-07-12T18:47:28.329Z] nexus3.edgexfoundry.org:10002 [2024-07-12T18:47:28.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:47:28.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:47:28.600Z] Configure a credential helper to remove this warning. See [2024-07-12T18:47:28.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:47:28.600Z] [2024-07-12T18:47:28.600Z] Login Succeeded [2024-07-12T18:47:28.601Z] nexus3.edgexfoundry.org:10003 [2024-07-12T18:47:28.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:47:29.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:47:29.144Z] Configure a credential helper to remove this warning. See [2024-07-12T18:47:29.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:47:29.144Z] [2024-07-12T18:47:29.144Z] Login Succeeded [2024-07-12T18:47:29.144Z] nexus3.edgexfoundry.org:10004 [2024-07-12T18:47:29.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:47:29.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:47:29.417Z] Configure a credential helper to remove this warning. See [2024-07-12T18:47:29.417Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:47:29.417Z] [2024-07-12T18:47:29.417Z] Login Succeeded [2024-07-12T18:47:29.417Z] ****.io [2024-07-12T18:47:29.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T18:47:29.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T18:47:29.956Z] Configure a credential helper to remove this warning. See [2024-07-12T18:47:29.956Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T18:47:29.956Z] [2024-07-12T18:47:29.956Z] Login Succeeded [2024-07-12T18:47:29.956Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T18:47:29.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T18:47:30.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:47:30.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T18:47:30.364Z] ========================================================= [2024-07-12T18:47:30.364Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-12T18:47:30.364Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:47:30.728Z] + 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-12T18:47:31.314Z] Sending build context to Docker daemon 13.03MB [2024-07-12T18:47:31.314Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:47:31.314Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-12T18:47:31.586Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-12T18:47:31.586Z] c6b39de5b339: Pulling fs layer [2024-07-12T18:47:31.586Z] a69c41024577: Pulling fs layer [2024-07-12T18:47:31.586Z] d6de4b400683: Pulling fs layer [2024-07-12T18:47:31.586Z] 35cb2a7552d0: Pulling fs layer [2024-07-12T18:47:31.586Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T18:47:31.586Z] 464afbd9ba4c: Pulling fs layer [2024-07-12T18:47:31.586Z] 00f215d4a9da: Pulling fs layer [2024-07-12T18:47:31.586Z] d496ad576159: Pulling fs layer [2024-07-12T18:47:31.586Z] 4f4fb700ef54: Waiting [2024-07-12T18:47:31.586Z] 464afbd9ba4c: Waiting [2024-07-12T18:47:31.586Z] 35cb2a7552d0: Waiting [2024-07-12T18:47:31.586Z] 00f215d4a9da: Waiting [2024-07-12T18:47:31.586Z] d496ad576159: Waiting [2024-07-12T18:47:31.586Z] a69c41024577: Download complete [2024-07-12T18:47:31.586Z] 35cb2a7552d0: Verifying Checksum [2024-07-12T18:47:31.586Z] 35cb2a7552d0: Download complete [2024-07-12T18:47:31.586Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T18:47:31.586Z] 4f4fb700ef54: Download complete [2024-07-12T18:47:31.858Z] 464afbd9ba4c: Verifying Checksum [2024-07-12T18:47:31.858Z] 464afbd9ba4c: Download complete [2024-07-12T18:47:31.858Z] c6b39de5b339: Download complete [2024-07-12T18:47:32.129Z] d496ad576159: Verifying Checksum [2024-07-12T18:47:32.130Z] d496ad576159: Download complete [2024-07-12T18:47:32.719Z] c6b39de5b339: Pull complete [2024-07-12T18:47:33.309Z] a69c41024577: Pull complete [2024-07-12T18:47:33.579Z] d6de4b400683: Verifying Checksum [2024-07-12T18:47:33.579Z] d6de4b400683: Download complete [2024-07-12T18:47:34.997Z] 00f215d4a9da: Verifying Checksum [2024-07-12T18:47:34.997Z] 00f215d4a9da: Download complete [2024-07-12T18:47:47.348Z] d6de4b400683: Pull complete [2024-07-12T18:47:47.348Z] 35cb2a7552d0: Pull complete [2024-07-12T18:47:47.348Z] 4f4fb700ef54: Pull complete [2024-07-12T18:47:47.627Z] 464afbd9ba4c: Pull complete [2024-07-12T18:47:57.748Z] 00f215d4a9da: Pull complete [2024-07-12T18:47:58.334Z] d496ad576159: Pull complete [2024-07-12T18:47:58.604Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-12T18:47:58.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-12T18:47:58.604Z] ---> f246e2811388 [2024-07-12T18:47:58.604Z] Step 3/10 : ARG MAKE=make build [2024-07-12T18:47:59.582Z] ---> Running in aa4e51f28790 [2024-07-12T18:47:59.582Z] Removing intermediate container aa4e51f28790 [2024-07-12T18:47:59.582Z] ---> aefc3131c5a5 [2024-07-12T18:47:59.582Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-12T18:47:59.855Z] ---> Running in 2df1ef5edacb [2024-07-12T18:48:00.123Z] Removing intermediate container 2df1ef5edacb [2024-07-12T18:48:00.123Z] ---> a5d8a76fb9df [2024-07-12T18:48:00.123Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T18:48:00.123Z] ---> Running in b86ad33dc850 [2024-07-12T18:48:00.716Z] Removing intermediate container b86ad33dc850 [2024-07-12T18:48:00.716Z] ---> b50b9a140890 [2024-07-12T18:48:00.716Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-12T18:48:00.716Z] ---> Running in 54e02c9e7cd0 [2024-07-12T18:48:02.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T18:48:03.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T18:48:04.229Z] OK: 266 MiB in 52 packages [2024-07-12T18:48:05.652Z] Removing intermediate container 54e02c9e7cd0 [2024-07-12T18:48:05.652Z] ---> 6425be08a5ca [2024-07-12T18:48:05.652Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-12T18:48:05.921Z] ---> 82e460dfcc57 [2024-07-12T18:48:05.921Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:48:05.921Z] ---> Running in 26211815ae9e [2024-07-12T18:50:12.634Z] Removing intermediate container 26211815ae9e [2024-07-12T18:50:12.634Z] ---> fe998f2ee2ba [2024-07-12T18:50:12.634Z] Step 9/10 : COPY . . [2024-07-12T18:50:12.634Z] ---> b33c2b811f4a [2024-07-12T18:50:12.634Z] Step 10/10 : RUN ${MAKE} [2024-07-12T18:50:12.634Z] ---> Running in 83c1af6efd35 [2024-07-12T18:50:12.634Z] noop [2024-07-12T18:50:12.634Z] Removing intermediate container 83c1af6efd35 [2024-07-12T18:50:12.634Z] ---> 92335af19693 [2024-07-12T18:50:12.634Z] Successfully built 92335af19693 [2024-07-12T18:50:12.634Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:50:13.005Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T18:50:13.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:50:13.242Z] prd-ubuntu20.04-docker-arm64-4c-16g-5470 does not seem to be running inside a container [2024-07-12T18:50:13.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-12T18:50:14.642Z] $ docker top 090fccbea67300164200fa9f4316041351f7203611952671e82ddf1f3b8a6155 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:50:15.507Z] + go version [2024-07-12T18:50:15.507Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-12T18:50:15.529Z] $ docker stop --time=1 090fccbea67300164200fa9f4316041351f7203611952671e82ddf1f3b8a6155 [2024-07-12T18:50:17.206Z] $ docker rm -f --volumes 090fccbea67300164200fa9f4316041351f7203611952671e82ddf1f3b8a6155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:50:17.806Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T18:50:17.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T18:50:18.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-5470 does not seem to be running inside a container [2024-07-12T18:50:18.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-12T18:50:19.420Z] $ docker top 28e2acb74fe155eeeb26777addc3dcd3d0de2f290525e82657aa110292df5232 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T18:50:20.270Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-07-12T18:50:20.934Z] + make test [2024-07-12T18:50:20.934Z] go test -race -coverprofile=coverage.out ./... [2024-07-12T18:51:07.787Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-12T18:54:44.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-12T18:54:44.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-12T18:54:44.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-12T18:54:44.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-12T18:54:44.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-12T18:54:48.319Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.123s coverage: 27.0% of statements [2024-07-12T18:54:53.660Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.178s coverage: 80.0% of statements [2024-07-12T18:54:58.997Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-12T18:54:58.997Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-12T18:55:00.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.288s coverage: 86.0% of statements [2024-07-12T18:55:04.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-12T18:55:06.113Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.607s coverage: 54.9% of statements [2024-07-12T18:55:09.457Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.160s coverage: 14.4% of statements [2024-07-12T18:55:09.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.840s coverage: 44.6% of statements [2024-07-12T18:55:10.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-12T18:55:10.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-12T18:55:12.287Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.288s coverage: 68.5% of statements [2024-07-12T18:55:15.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.410s coverage: 89.2% of statements [2024-07-12T18:55:19.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-12T18:55:21.329Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.267s coverage: 5.3% of statements [2024-07-12T18:55:22.734Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-12T18:55:22.734Z] GO111MODULE=on go vet ./... [2024-07-12T18:59:30.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T18:59:30.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T18:59:30.215Z] ./bin/test-attribution-txt.sh [2024-07-12T18:59:30.215Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T18:59:30.215Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T18:59:30.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T18:59:30.268Z] $ docker stop --time=1 28e2acb74fe155eeeb26777addc3dcd3d0de2f290525e82657aa110292df5232 [2024-07-12T18:59:32.386Z] $ docker rm -f --volumes 28e2acb74fe155eeeb26777addc3dcd3d0de2f290525e82657aa110292df5232 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T18:59:34.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T18:59:35.588Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T18:59:36.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T18:59:36.677Z] + ls -al . [2024-07-12T18:59:36.677Z] total 376 [2024-07-12T18:59:36.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 18:50 . [2024-07-12T18:59:36.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:46 .. [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 18:47 .dockerignore [2024-07-12T18:59:36.677Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:47 .git [2024-07-12T18:59:36.677Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:47 .github [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 12 18:47 .gitignore [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 12 18:47 .golangci.yml [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 12 18:47 CHANGELOG.md [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:47 GOVERNANCE.md [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 12 18:47 Jenkinsfile [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 12 18:47 LICENSE [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 12 18:47 Makefile [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 12 18:47 OWNERS.md [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 12 18:47 README.md [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 18:43 VERSION [2024-07-12T18:59:36.677Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:47 bin [2024-07-12T18:59:36.677Z] -rw-r--r-- 1 jenkins jenkins 125510 Jul 12 18:55 coverage.out [2024-07-12T18:59:36.677Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 12 18:47 example [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 7102 Jul 12 18:47 go.mod [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 102003 Jul 12 18:47 go.sum [2024-07-12T18:59:36.677Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 18:47 internal [2024-07-12T18:59:36.677Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:47 openapi [2024-07-12T18:59:36.677Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 18:47 pkg [2024-07-12T18:59:36.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:47 snap [2024-07-12T18:59:36.677Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 12 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T18:59:37.036Z] + 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=1ed37a69e8b276466ddbede54cacb54d1ac0c712 --label arch=arm64 --label version=0.0.0 . [2024-07-12T18:59:37.625Z] Sending build context to Docker daemon 13.16MB [2024-07-12T18:59:37.625Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T18:59:37.625Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-12T18:59:37.625Z] ---> 92335af19693 [2024-07-12T18:59:37.625Z] Step 3/24 : ARG MAKE=make build [2024-07-12T18:59:37.895Z] ---> Running in 3b7319b86331 [2024-07-12T18:59:38.162Z] Removing intermediate container 3b7319b86331 [2024-07-12T18:59:38.162Z] ---> a1ebd8a01a5f [2024-07-12T18:59:38.162Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-12T18:59:38.162Z] ---> Running in c0008abee516 [2024-07-12T18:59:38.903Z] Removing intermediate container c0008abee516 [2024-07-12T18:59:38.903Z] ---> eb2b14f56584 [2024-07-12T18:59:38.903Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T18:59:38.903Z] ---> Running in a993fa48d9f6 [2024-07-12T18:59:38.903Z] Removing intermediate container a993fa48d9f6 [2024-07-12T18:59:38.903Z] ---> 4782d54d7347 [2024-07-12T18:59:38.903Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-12T18:59:38.903Z] ---> Running in 202235ca87cf [2024-07-12T18:59:40.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T18:59:40.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T18:59:41.609Z] OK: 266 MiB in 52 packages [2024-07-12T18:59:42.572Z] Removing intermediate container 202235ca87cf [2024-07-12T18:59:42.572Z] ---> d551a427bda5 [2024-07-12T18:59:42.572Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-12T18:59:43.155Z] ---> f827fbbfbcbc [2024-07-12T18:59:43.155Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T18:59:43.155Z] ---> Running in 363acaec08c9 [2024-07-12T18:59:45.741Z] Removing intermediate container 363acaec08c9 [2024-07-12T18:59:45.741Z] ---> 5ed4828fa029 [2024-07-12T18:59:45.741Z] Step 9/24 : COPY . . [2024-07-12T18:59:47.146Z] ---> 911bfdb7d296 [2024-07-12T18:59:47.146Z] Step 10/24 : RUN ${MAKE} [2024-07-12T18:59:47.415Z] ---> Running in 6a261c895746 [2024-07-12T18:59:48.370Z] 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-12T19:03:25.181Z] Removing intermediate container 6a261c895746 [2024-07-12T19:03:25.181Z] ---> 57ecd703085f [2024-07-12T19:03:25.181Z] Step 11/24 : FROM alpine:3.18 [2024-07-12T19:03:25.181Z] 3.18: Pulling from library/alpine [2024-07-12T19:03:25.181Z] 5c905c7ebe2f: Pulling fs layer [2024-07-12T19:03:25.181Z] 5c905c7ebe2f: Verifying Checksum [2024-07-12T19:03:25.181Z] 5c905c7ebe2f: Download complete [2024-07-12T19:03:25.181Z] 5c905c7ebe2f: Pull complete [2024-07-12T19:03:25.181Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T19:03:25.181Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T19:03:25.181Z] ---> dec292d02e07 [2024-07-12T19:03:25.181Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-12T19:03:25.181Z] ---> Running in 59ca9c25b970 [2024-07-12T19:03:25.181Z] Removing intermediate container 59ca9c25b970 [2024-07-12T19:03:25.181Z] ---> c710f2255da9 [2024-07-12T19:03:25.181Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-12T19:03:25.181Z] ---> Running in 8fcb0a916cb3 [2024-07-12T19:03:25.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T19:03:25.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T19:03:25.181Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T19:03:25.181Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T19:03:25.181Z] OK: 8 MiB in 16 packages [2024-07-12T19:03:26.154Z] Removing intermediate container 8fcb0a916cb3 [2024-07-12T19:03:26.154Z] ---> 1215d7c0b13a [2024-07-12T19:03:26.154Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-12T19:03:26.154Z] ---> Running in 4eb30af80cb3 [2024-07-12T19:03:27.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T19:03:27.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T19:03:28.336Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T19:03:28.336Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T19:03:28.336Z] OK: 8 MiB in 16 packages [2024-07-12T19:03:29.748Z] Removing intermediate container 4eb30af80cb3 [2024-07-12T19:03:29.748Z] ---> 0468a8dad605 [2024-07-12T19:03:29.748Z] Step 15/24 : WORKDIR / [2024-07-12T19:03:29.748Z] ---> Running in 29b6d157d064 [2024-07-12T19:03:29.748Z] Removing intermediate container 29b6d157d064 [2024-07-12T19:03:29.748Z] ---> 2a86a4cef21d [2024-07-12T19:03:29.748Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-12T19:03:30.329Z] ---> 4217e9d09652 [2024-07-12T19:03:30.329Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-12T19:03:32.906Z] ---> 2192a259703b [2024-07-12T19:03:32.906Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-12T19:03:32.906Z] ---> 1f776ab14f4c [2024-07-12T19:03:32.906Z] Step 19/24 : EXPOSE 59999 [2024-07-12T19:03:33.173Z] ---> Running in 64cd755b5466 [2024-07-12T19:03:33.442Z] Removing intermediate container 64cd755b5466 [2024-07-12T19:03:33.442Z] ---> 09bca5a81b08 [2024-07-12T19:03:33.442Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-12T19:03:33.442Z] ---> Running in 1c2057aa06bd [2024-07-12T19:03:33.709Z] Removing intermediate container 1c2057aa06bd [2024-07-12T19:03:33.709Z] ---> 4384fd9f3871 [2024-07-12T19:03:33.709Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-12T19:03:33.709Z] ---> Running in fb8b2994d077 [2024-07-12T19:03:34.292Z] Removing intermediate container fb8b2994d077 [2024-07-12T19:03:34.293Z] ---> f1d3953dcf3e [2024-07-12T19:03:34.293Z] Step 22/24 : LABEL arch=arm64 [2024-07-12T19:03:34.293Z] ---> Running in 278b6d4b0d95 [2024-07-12T19:03:34.560Z] Removing intermediate container 278b6d4b0d95 [2024-07-12T19:03:34.560Z] ---> 54acc5a2fd5d [2024-07-12T19:03:34.560Z] Step 23/24 : LABEL git_sha=1ed37a69e8b276466ddbede54cacb54d1ac0c712 [2024-07-12T19:03:34.560Z] ---> Running in a6b059b7062e [2024-07-12T19:03:34.827Z] Removing intermediate container a6b059b7062e [2024-07-12T19:03:34.827Z] ---> f3675174294f [2024-07-12T19:03:34.827Z] Step 24/24 : LABEL version=0.0.0 [2024-07-12T19:03:34.827Z] ---> Running in 111b7a961c46 [2024-07-12T19:03:35.094Z] Removing intermediate container 111b7a961c46 [2024-07-12T19:03:35.094Z] ---> 0ac8a17052d5 [2024-07-12T19:03:35.094Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T19:03:35.358Z] Successfully built 0ac8a17052d5 [2024-07-12T19:03:35.358Z] 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-12T19:03:35.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T19:03:35.861Z] [2024-07-12T19:03:35.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T19:03:36.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T19:03:36.200Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-12T19:03:36.200Z] 8998bd30e6a1: Pulling fs layer [2024-07-12T19:03:36.200Z] 04944245beec: Pulling fs layer [2024-07-12T19:03:36.200Z] 699f458cf7ca: Pulling fs layer [2024-07-12T19:03:36.200Z] 765212b225bb: Pulling fs layer [2024-07-12T19:03:36.200Z] f23df028b6ca: Pulling fs layer [2024-07-12T19:03:36.200Z] d65c8cfc05b1: Pulling fs layer [2024-07-12T19:03:36.200Z] 2437ff75d9bd: Pulling fs layer [2024-07-12T19:03:36.200Z] f23df028b6ca: Waiting [2024-07-12T19:03:36.200Z] 2437ff75d9bd: Waiting [2024-07-12T19:03:36.200Z] d65c8cfc05b1: Waiting [2024-07-12T19:03:36.200Z] 765212b225bb: Waiting [2024-07-12T19:03:36.469Z] 04944245beec: Verifying Checksum [2024-07-12T19:03:36.469Z] 04944245beec: Download complete [2024-07-12T19:03:36.469Z] 765212b225bb: Verifying Checksum [2024-07-12T19:03:36.469Z] 765212b225bb: Download complete [2024-07-12T19:03:36.469Z] d65c8cfc05b1: Verifying Checksum [2024-07-12T19:03:36.469Z] d65c8cfc05b1: Download complete [2024-07-12T19:03:36.736Z] 699f458cf7ca: Verifying Checksum [2024-07-12T19:03:36.736Z] 699f458cf7ca: Download complete [2024-07-12T19:03:37.002Z] 8998bd30e6a1: Verifying Checksum [2024-07-12T19:03:37.002Z] 8998bd30e6a1: Download complete [2024-07-12T19:03:39.581Z] 2437ff75d9bd: Verifying Checksum [2024-07-12T19:03:39.581Z] 2437ff75d9bd: Download complete [2024-07-12T19:03:41.519Z] 8998bd30e6a1: Pull complete [2024-07-12T19:03:42.101Z] 04944245beec: Pull complete [2024-07-12T19:03:43.508Z] 699f458cf7ca: Pull complete [2024-07-12T19:03:43.775Z] 765212b225bb: Pull complete [2024-07-12T19:03:44.732Z] f23df028b6ca: Pull complete [2024-07-12T19:03:44.732Z] d65c8cfc05b1: Pull complete [2024-07-12T19:04:02.932Z] 2437ff75d9bd: Pull complete [2024-07-12T19:04:02.932Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-12T19:04:02.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T19:04:02.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T19:04:03.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-5470 does not seem to be running inside a container [2024-07-12T19:04:03.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-12T19:04:05.851Z] $ docker top 26ac14e59ca65881c506d0c89d11446d4f2c16b8949153be5781172edbec6ea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:06.683Z] ---> job-cost.sh [2024-07-12T19:04:06.683Z] lf-activate-venv: SKIPPING [2024-07-12T19:04:06.683Z] INFO: No Stack... [2024-07-12T19:04:06.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-12T19:04:07.897Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T19:04:08.526Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2024-07-12T19:04:08.526Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T19:04:08.561Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] [2024-07-12T19:04:08.569Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] did not exist. Created. [2024-07-12T19:04:08.575Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T19:04:09.241Z] /w/workspace/device-sdk-go/3@tmp/durable-b8ea30f2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-12T19:04:09.559Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-12T19:04:09.583Z] Warning: overwriting stash ‘stack-cost’ [2024-07-12T19:04:09.655Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T19:04:09.668Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T19:04:09.706Z] $ docker stop --time=1 26ac14e59ca65881c506d0c89d11446d4f2c16b8949153be5781172edbec6ea5 [2024-07-12T19:04:11.222Z] $ docker rm -f --volumes 26ac14e59ca65881c506d0c89d11446d4f2c16b8949153be5781172edbec6ea5 [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-12T19:04:12.344Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives ] [2024-07-12T19:04:12.345Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives [2024-07-12T19:04:12.345Z] total 16 [2024-07-12T19:04:12.345Z] drwxr-xr-x 3 root root 4096 Jul 12 18:46 . [2024-07-12T19:04:12.345Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 18:46 .. [2024-07-12T19:04:12.345Z] drwxr-xr-x 2 root root 4096 Jul 12 18:46 cost [2024-07-12T19:04:12.345Z] -rw-r--r-- 1 root root 86 Jul 12 18:46 cost.csv [2024-07-12T19:04:12.345Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives [2024-07-12T19:04:12.345Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives [2024-07-12T19:04:12.345Z] total 16 [2024-07-12T19:04:12.345Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:46 . [2024-07-12T19:04:12.345Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 18:46 .. [2024-07-12T19:04:12.345Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 18:46 cost [2024-07-12T19:04:12.345Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 12 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:12.637Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:13.499Z] ---> package-listing.sh [2024-07-12T19:04:13.499Z] ++ facter osfamily [2024-07-12T19:04:13.499Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-12T19:04:13.759Z] + OS_FAMILY=debian [2024-07-12T19:04:13.759Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1594 [2024-07-12T19:04:13.759Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-12T19:04:13.759Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-12T19:04:13.759Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-12T19:04:13.759Z] + PACKAGES=/tmp/packages_start.txt [2024-07-12T19:04:13.759Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' [2024-07-12T19:04:13.759Z] + PACKAGES=/tmp/packages_end.txt [2024-07-12T19:04:13.759Z] + case "${OS_FAMILY}" in [2024-07-12T19:04:13.759Z] + dpkg -l [2024-07-12T19:04:13.759Z] + grep '^ii' [2024-07-12T19:04:13.759Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-12T19:04:13.759Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-12T19:04:13.759Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-12T19:04:13.759Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' [2024-07-12T19:04:13.759Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ [2024-07-12T19:04:13.759Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ [Pipeline] echo [2024-07-12T19:04:13.772Z] 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-1594/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-12T19:04:14.050Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T19:04:14.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T19:04:14.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T19:04:14.696Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2024-07-12T19:04:14.752Z] $ 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-1594/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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-12T19:04:15.217Z] $ docker top caa01dc490d67b7ea19536c098f53432af1a4ff2ce3d65b6cd6499b6ef483f6a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T19:04:15.610Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-12T19:04:15.928Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-12T19:04:16.265Z] + ls /var/log/sa-host [2024-07-12T19:04:16.265Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T19:04:16.365Z] provisioning config files... [2024-07-12T19:04:16.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config18446574765445974579tmp [Pipeline] { [Pipeline] echo [2024-07-12T19:04:16.422Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:16.704Z] ---> create-netrc.sh [Pipeline] } [2024-07-12T19:04:16.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:17.039Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-12T19:04:17.048Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:17.330Z] ---> sudo-logs.sh [2024-07-12T19:04:17.330Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-12T19:04:17.359Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:17.643Z] ---> job-cost.sh [2024-07-12T19:04:17.643Z] lf-activate-venv: SKIPPING [2024-07-12T19:04:17.643Z] DEBUG: total: 0.2199999988079071 [2024-07-12T19:04:17.643Z] INFO: Retrieving Stack Cost... [2024-07-12T19:04:18.218Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T19:04:18.477Z] INFO: Archiving Costs [Pipeline] echo [2024-07-12T19:04:18.490Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T19:04:18.776Z] ---> logs-deploy.sh [2024-07-12T19:04:18.776Z] lf-activate-venv: SKIPPING [2024-07-12T19:04:18.776Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1594/3 [2024-07-12T19:04:18.776Z] INFO: archiving workspace using pattern(s): [2024-07-12T19:04:19.713Z] Archives upload complete. [2024-07-12T19:04:19.713Z] INFO: archiving logs to Nexus