Pull request #1580 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 97b36af7baff2da76e29dc2359062fa76ab64ed3 rather than 172d6e4a11e37274c9c8e5c582891029179f4345 Obtained Jenkinsfile from 97b36af7baff2da76e29dc2359062fa76ab64ed3 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18297087398519474577.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13586528756973690972.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10739320535398517898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4102368373252584601.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6096253793567075991.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-658 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1580 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 172d6e4a11e37274c9c8e5c582891029179f4345 Merge succeeded, producing 172d6e4a11e37274c9c8e5c582891029179f4345 Checking out Revision 172d6e4a11e37274c9c8e5c582891029179f4345 (PR-1580) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 172d6e4a11e37274c9c8e5c582891029179f4345 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 172d6e4a11e37274c9c8e5c582891029179f4345 # timeout=10 Commit message: "feat: reduce numbers of inactive goroutine to optimize performance" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T03:19:47.324Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T03:19:47.400Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T03:19:47.432Z] ========================================================= [2024-05-24T03:19:47.432Z] EdgeX Global Pipelines Version Info [2024-05-24T03:19:47.432Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a08c9e481214da3448347c6e25a80d3590086a18 # timeout=10 [2024-05-24T03:19:48.170Z] ------------------- [2024-05-24T03:19:48.170Z] stable info: [2024-05-24T03:19:48.170Z] ------------------- [2024-05-24T03:19:48.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-24T03:19:48.170Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-24T03:19:48.170Z] Message: update stable to v1.0.258 [2024-05-24T03:19:48.741Z] ------------------- [2024-05-24T03:19:48.741Z] experimental info: [2024-05-24T03:19:48.741Z] ------------------- [2024-05-24T03:19:48.741Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T03:19:48.741Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-24T03:19:48.741Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T03:19:48.824Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-24T03:19:48.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-24T03:19:48.870Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T03:19:48.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T03:19:48.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T03:19:48.945Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T03:19:48.965Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T03:19:48.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-24T03:19:49.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T03:19:49.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T03:19:49.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T03:19:49.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-24T03:19:49.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T03:19:49.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T03:19:49.175Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T03:19:49.197Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T03:19:49.223Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T03:19:49.250Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T03:19:49.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T03:19:49.303Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T03:19:49.329Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-24T03:19:49.353Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-24T03:19:49.380Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T03:19:49.410Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T03:19:49.435Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T03:19:49.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T03:19:49.482Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T03:19:49.511Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo [2024-05-24T03:19:49.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo [2024-05-24T03:19:49.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo [2024-05-24T03:19:49.571Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 172d6e4a11e37274c9c8e5c582891029179f4345 [Pipeline] echo [2024-05-24T03:19:49.591Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 172d6e4 [Pipeline] echo [2024-05-24T03:19:49.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T03:19:49.676Z] provisioning config files... [2024-05-24T03:19:49.690Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config3088223858550191681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:19:50.032Z] ---> ****-login.sh [2024-05-24T03:19:50.032Z] nexus3.edgexfoundry.org:10001 [2024-05-24T03:19:50.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:19:50.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:19:50.292Z] Configure a credential helper to remove this warning. See [2024-05-24T03:19:50.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:19:50.292Z] [2024-05-24T03:19:50.292Z] Login Succeeded [2024-05-24T03:19:50.292Z] nexus3.edgexfoundry.org:10002 [2024-05-24T03:19:50.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:19:51.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:19:51.497Z] Configure a credential helper to remove this warning. See [2024-05-24T03:19:51.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:19:51.497Z] [2024-05-24T03:19:51.497Z] Login Succeeded [2024-05-24T03:19:51.498Z] nexus3.edgexfoundry.org:10003 [2024-05-24T03:19:51.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:19:51.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:19:51.760Z] Configure a credential helper to remove this warning. See [2024-05-24T03:19:51.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:19:51.760Z] [2024-05-24T03:19:51.760Z] Login Succeeded [2024-05-24T03:19:51.760Z] nexus3.edgexfoundry.org:10004 [2024-05-24T03:19:51.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:19:52.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:19:52.700Z] Configure a credential helper to remove this warning. See [2024-05-24T03:19:52.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:19:52.700Z] [2024-05-24T03:19:52.700Z] Login Succeeded [2024-05-24T03:19:52.700Z] ****.io [2024-05-24T03:19:52.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:19:52.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:19:52.961Z] Configure a credential helper to remove this warning. See [2024-05-24T03:19:52.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:19:52.962Z] [2024-05-24T03:19:52.962Z] Login Succeeded [2024-05-24T03:19:52.962Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T03:19:52.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T03:19:53.382Z] + git rev-list -1 --merges 172d6e4a11e37274c9c8e5c582891029179f4345~1..172d6e4a11e37274c9c8e5c582891029179f4345 [Pipeline] echo [2024-05-24T03:19:53.410Z] -----------> git rev-list -1 --merges 172d6e4a11e37274c9c8e5c582891029179f4345~1..172d6e4a11e37274c9c8e5c582891029179f4345 172d6e4a11e37274c9c8e5c582891029179f4345 [false] [Pipeline] sh [2024-05-24T03:19:53.701Z] + git log --format=format:%s -1 172d6e4a11e37274c9c8e5c582891029179f4345 [Pipeline] echo [2024-05-24T03:19:53.720Z] ========================================================= [2024-05-24T03:19:53.720Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T03:19:53.720Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T03:19:54.053Z] + git log --format=format:%s -1 172d6e4a11e37274c9c8e5c582891029179f4345 [Pipeline] echo [2024-05-24T03:19:54.066Z] [semverPrep] GIT_COMMIT: 172d6e4a11e37274c9c8e5c582891029179f4345, Commit Message: feat: reduce numbers of inactive goroutine to optimize performance [Pipeline] echo [2024-05-24T03:19:54.080Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T03:19:54.449Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T03:19:54.449Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T03:19:54.449Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T03:19:54.449Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T03:19:54.449Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-24T03:19:54.449Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-24T03:19:54.449Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:19:54.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T03:19:54.809Z] [2024-05-24T03:19:54.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:19:55.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T03:19:55.114Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T03:19:55.114Z] b85a868b505f: Pulling fs layer [2024-05-24T03:19:55.114Z] e2be974225ed: Pulling fs layer [2024-05-24T03:19:55.114Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T03:19:55.114Z] 988bab9f4d93: Pulling fs layer [2024-05-24T03:19:55.114Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T03:19:55.114Z] eaf3925da568: Pulling fs layer [2024-05-24T03:19:55.114Z] bab4dde63d76: Pulling fs layer [2024-05-24T03:19:55.114Z] bde34c3a00c8: Pulling fs layer [2024-05-24T03:19:55.114Z] b352a97aabf1: Pulling fs layer [2024-05-24T03:19:55.114Z] 4872d77fe225: Pulling fs layer [2024-05-24T03:19:55.114Z] 5851b861e8e6: Pulling fs layer [2024-05-24T03:19:55.114Z] 988bab9f4d93: Waiting [2024-05-24T03:19:55.114Z] 1469e6f7b9e6: Waiting [2024-05-24T03:19:55.114Z] eaf3925da568: Waiting [2024-05-24T03:19:55.114Z] bab4dde63d76: Waiting [2024-05-24T03:19:55.114Z] 4872d77fe225: Waiting [2024-05-24T03:19:55.114Z] bde34c3a00c8: Waiting [2024-05-24T03:19:55.114Z] b352a97aabf1: Waiting [2024-05-24T03:19:55.114Z] 5851b861e8e6: Waiting [2024-05-24T03:19:55.114Z] 988bab9f4d93: Verifying Checksum [2024-05-24T03:19:55.114Z] 988bab9f4d93: Download complete [2024-05-24T03:19:55.374Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T03:19:55.374Z] 1469e6f7b9e6: Download complete [2024-05-24T03:19:55.374Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T03:19:55.374Z] 339a4e72a1f5: Download complete [2024-05-24T03:19:55.374Z] eaf3925da568: Download complete [2024-05-24T03:19:55.374Z] bde34c3a00c8: Download complete [2024-05-24T03:19:55.374Z] b352a97aabf1: Verifying Checksum [2024-05-24T03:19:55.374Z] b352a97aabf1: Download complete [2024-05-24T03:19:55.374Z] 4872d77fe225: Download complete [2024-05-24T03:19:55.374Z] 5851b861e8e6: Download complete [2024-05-24T03:19:55.633Z] b85a868b505f: Verifying Checksum [2024-05-24T03:19:55.633Z] b85a868b505f: Download complete [2024-05-24T03:19:56.200Z] bab4dde63d76: Verifying Checksum [2024-05-24T03:19:56.201Z] bab4dde63d76: Download complete [2024-05-24T03:19:56.768Z] b85a868b505f: Pull complete [2024-05-24T03:19:57.028Z] e2be974225ed: Pull complete [2024-05-24T03:19:57.287Z] 339a4e72a1f5: Pull complete [2024-05-24T03:19:57.544Z] 988bab9f4d93: Pull complete [2024-05-24T03:19:57.807Z] 1469e6f7b9e6: Pull complete [2024-05-24T03:19:57.807Z] eaf3925da568: Pull complete [2024-05-24T03:19:59.185Z] bab4dde63d76: Pull complete [2024-05-24T03:19:59.446Z] bde34c3a00c8: Pull complete [2024-05-24T03:19:59.446Z] b352a97aabf1: Pull complete [2024-05-24T03:19:59.446Z] 4872d77fe225: Pull complete [2024-05-24T03:19:59.705Z] 5851b861e8e6: Pull complete [2024-05-24T03:19:59.705Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T03:19:59.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T03:19:59.705Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:19:59.852Z] prd-ubuntu20.04-docker-8c-8g-658 does not seem to be running inside a container [2024-05-24T03:19:59.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-24T03:20:05.321Z] $ docker top 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb -eo pid,comm [2024-05-24T03:20:05.361Z] 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-05-24T03:20:05.361Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T03:20:05.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T03:20:05.434Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T03:20:05.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T03:20:05.555Z] $ docker exec 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb ssh-agent [2024-05-24T03:20:05.642Z] SSH_AUTH_SOCK=/tmp/ssh-lrhIlmnRsnVO/agent.32 [2024-05-24T03:20:05.642Z] SSH_AGENT_PID=38 [2024-05-24T03:20:05.648Z] Running ssh-add (command line suppressed) [2024-05-24T03:20:05.748Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_8087377582381867454.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_8087377582381867454.key) [2024-05-24T03:20:05.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T03:20:06.053Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T03:20:06.071Z] $ docker exec --env ******** --env ******** 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb ssh-agent -k [2024-05-24T03:20:06.188Z] unset SSH_AUTH_SOCK; [2024-05-24T03:20:06.188Z] unset SSH_AGENT_PID; [2024-05-24T03:20:06.188Z] echo Agent pid 38 killed; [2024-05-24T03:20:06.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T03:20:06.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T03:20:06.235Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T03:20:06.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T03:20:06.346Z] $ docker exec 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb ssh-agent [2024-05-24T03:20:06.443Z] SSH_AUTH_SOCK=/tmp/ssh-h4hhQBxD5LXk/agent.71 [2024-05-24T03:20:06.443Z] SSH_AGENT_PID=77 [2024-05-24T03:20:06.447Z] Running ssh-add (command line suppressed) [2024-05-24T03:20:06.546Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_12162949655120311638.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_12162949655120311638.key) [2024-05-24T03:20:06.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T03:20:06.848Z] + git semver init [2024-05-24T03:20:07.106Z] 2024-05-24 03:20:07,029 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T03:20:07.106Z] 2024-05-24 03:20:07,030 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-05-24T03:20:07.106Z] 2024-05-24 03:20:07,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-05-24T03:20:07.106Z] 2024-05-24 03:20:07,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) [2024-05-24T03:20:08.483Z] 2024-05-24 03:20:08,331 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude [2024-05-24T03:20:08.483Z] 2024-05-24 03:20:08,331 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False [2024-05-24T03:20:08.483Z] 2024-05-24 03:20:08,332 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-05-24T03:20:08.483Z] 2024-05-24 03:20:08,336 [execute] INFO git cat-file --batch-check [2024-05-24T03:20:08.483Z] 2024-05-24 03:20:08,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T03:20:08.483Z] 2024-05-24 03:20:08,342 [execute] INFO git cat-file --batch [2024-05-24T03:20:08.484Z] 2024-05-24 03:20:08,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T03:20:08.484Z] 2024-05-24 03:20:08,348 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-05-24T03:20:08.484Z] 0.0.0 [Pipeline] } [2024-05-24T03:20:08.497Z] $ docker exec --env ******** --env ******** 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb ssh-agent -k [2024-05-24T03:20:08.590Z] unset SSH_AUTH_SOCK; [2024-05-24T03:20:08.591Z] unset SSH_AGENT_PID; [2024-05-24T03:20:08.591Z] echo Agent pid 77 killed; [2024-05-24T03:20:08.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T03:20:08.922Z] + git semver [Pipeline] } [2024-05-24T03:20:09.199Z] $ docker stop --time=1 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb [2024-05-24T03:20:10.496Z] $ docker rm -f --volumes 9941684b447d62cc030d1747e6906c068a9bb708f0ce50d79e87fb6c312261cb [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T03:20:10.850Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T03:20:11.092Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T03:20:11.095Z] [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-05-24T03:20:11.268Z] provisioning config files... [2024-05-24T03:20:11.277Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config4759150688112198208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:20:11.579Z] ---> ****-login.sh [2024-05-24T03:20:11.579Z] nexus3.edgexfoundry.org:10001 [2024-05-24T03:20:11.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:20:11.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:20:11.579Z] Configure a credential helper to remove this warning. See [2024-05-24T03:20:11.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:20:11.579Z] [2024-05-24T03:20:11.579Z] Login Succeeded [2024-05-24T03:20:11.579Z] nexus3.edgexfoundry.org:10002 [2024-05-24T03:20:11.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:20:11.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:20:11.580Z] Configure a credential helper to remove this warning. See [2024-05-24T03:20:11.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:20:11.580Z] [2024-05-24T03:20:11.580Z] Login Succeeded [2024-05-24T03:20:11.580Z] nexus3.edgexfoundry.org:10003 [2024-05-24T03:20:11.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:20:11.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:20:11.838Z] Configure a credential helper to remove this warning. See [2024-05-24T03:20:11.838Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:20:11.838Z] [2024-05-24T03:20:11.838Z] Login Succeeded [2024-05-24T03:20:11.838Z] nexus3.edgexfoundry.org:10004 [2024-05-24T03:20:11.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:20:11.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:20:11.838Z] Configure a credential helper to remove this warning. See [2024-05-24T03:20:11.838Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:20:11.838Z] [2024-05-24T03:20:11.838Z] Login Succeeded [2024-05-24T03:20:11.838Z] ****.io [2024-05-24T03:20:11.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:20:12.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:20:12.098Z] Configure a credential helper to remove this warning. See [2024-05-24T03:20:12.098Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:20:12.098Z] [2024-05-24T03:20:12.098Z] Login Succeeded [2024-05-24T03:20:12.098Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T03:20:12.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T03:20:12.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T03:20:12.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T03:20:12.257Z] ========================================================= [2024-05-24T03:20:12.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-24T03:20:12.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:20:12.621Z] + 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-05-24T03:20:12.621Z] Sending build context to Docker daemon 25.78MB [2024-05-24T03:20:12.621Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T03:20:12.621Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-24T03:20:12.910Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-24T03:20:12.910Z] 619be1103602: Pulling fs layer [2024-05-24T03:20:12.910Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T03:20:12.910Z] 5df492c9dc93: Pulling fs layer [2024-05-24T03:20:12.910Z] 7629e6793208: Pulling fs layer [2024-05-24T03:20:12.910Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T03:20:12.910Z] fb5054dd5b73: Pulling fs layer [2024-05-24T03:20:12.910Z] eeca6798cff9: Pulling fs layer [2024-05-24T03:20:12.910Z] aa269ceb94a6: Pulling fs layer [2024-05-24T03:20:12.910Z] ada007ff1a6a: Pulling fs layer [2024-05-24T03:20:12.910Z] 7629e6793208: Waiting [2024-05-24T03:20:12.910Z] 4f4fb700ef54: Waiting [2024-05-24T03:20:12.910Z] fb5054dd5b73: Waiting [2024-05-24T03:20:12.910Z] eeca6798cff9: Waiting [2024-05-24T03:20:12.910Z] ada007ff1a6a: Waiting [2024-05-24T03:20:12.910Z] aa269ceb94a6: Waiting [2024-05-24T03:20:12.910Z] 7862e08f4a3e: Download complete [2024-05-24T03:20:12.910Z] 7629e6793208: Verifying Checksum [2024-05-24T03:20:12.910Z] 7629e6793208: Download complete [2024-05-24T03:20:12.910Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T03:20:12.910Z] 4f4fb700ef54: Download complete [2024-05-24T03:20:12.910Z] fb5054dd5b73: Verifying Checksum [2024-05-24T03:20:12.910Z] fb5054dd5b73: Download complete [2024-05-24T03:20:12.910Z] 619be1103602: Verifying Checksum [2024-05-24T03:20:12.910Z] 619be1103602: Download complete [2024-05-24T03:20:12.910Z] eeca6798cff9: Verifying Checksum [2024-05-24T03:20:12.910Z] eeca6798cff9: Download complete [2024-05-24T03:20:13.168Z] 619be1103602: Pull complete [2024-05-24T03:20:13.168Z] 7862e08f4a3e: Pull complete [2024-05-24T03:20:13.426Z] ada007ff1a6a: Download complete [2024-05-24T03:20:14.800Z] 5df492c9dc93: Verifying Checksum [2024-05-24T03:20:14.800Z] 5df492c9dc93: Download complete [2024-05-24T03:20:15.367Z] aa269ceb94a6: Verifying Checksum [2024-05-24T03:20:15.367Z] aa269ceb94a6: Download complete [2024-05-24T03:20:17.899Z] 5df492c9dc93: Pull complete [2024-05-24T03:20:17.899Z] 7629e6793208: Pull complete [2024-05-24T03:20:17.899Z] 4f4fb700ef54: Pull complete [2024-05-24T03:20:17.899Z] fb5054dd5b73: Pull complete [2024-05-24T03:20:17.899Z] eeca6798cff9: Pull complete [2024-05-24T03:20:20.429Z] aa269ceb94a6: Pull complete [2024-05-24T03:20:20.429Z] ada007ff1a6a: Pull complete [2024-05-24T03:20:20.429Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-24T03:20:20.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-24T03:20:20.429Z] ---> f489d0715acc [2024-05-24T03:20:20.429Z] Step 3/10 : ARG MAKE=make build [2024-05-24T03:20:25.720Z] ---> Running in a8dca0a4760f [2024-05-24T03:20:25.720Z] Removing intermediate container a8dca0a4760f [2024-05-24T03:20:25.720Z] ---> 4a9b85f39a04 [2024-05-24T03:20:25.720Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-24T03:20:25.720Z] ---> Running in df6b1e8c718f [2024-05-24T03:20:25.720Z] Removing intermediate container df6b1e8c718f [2024-05-24T03:20:25.720Z] ---> 49c1e9703aed [2024-05-24T03:20:25.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T03:20:25.720Z] ---> Running in b4fad1dd2116 [2024-05-24T03:20:25.980Z] Removing intermediate container b4fad1dd2116 [2024-05-24T03:20:25.980Z] ---> b9f5cf3d1c3f [2024-05-24T03:20:25.980Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-24T03:20:25.980Z] ---> Running in 656f66dd8ad9 [2024-05-24T03:20:26.214Z] Still waiting to schedule task [2024-05-24T03:20:26.215Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-657’ is offline [2024-05-24T03:20:26.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T03:20:26.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T03:20:26.498Z] OK: 264 MiB in 52 packages [2024-05-24T03:20:26.757Z] Removing intermediate container 656f66dd8ad9 [2024-05-24T03:20:26.757Z] ---> 496027fb36b3 [2024-05-24T03:20:26.757Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-24T03:20:27.017Z] ---> 59cef997997e [2024-05-24T03:20:27.017Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T03:20:27.017Z] ---> Running in b2a2e925a820 [2024-05-24T03:21:23.247Z] Removing intermediate container b2a2e925a820 [2024-05-24T03:21:23.247Z] ---> ae8545734a36 [2024-05-24T03:21:23.247Z] Step 9/10 : COPY . . [2024-05-24T03:21:23.247Z] ---> 2f7c261d8255 [2024-05-24T03:21:23.247Z] Step 10/10 : RUN ${MAKE} [2024-05-24T03:21:23.247Z] ---> Running in 7607f769f5c9 [2024-05-24T03:21:23.247Z] noop [2024-05-24T03:21:23.247Z] Removing intermediate container 7607f769f5c9 [2024-05-24T03:21:23.247Z] ---> f8dfb1f2e4c1 [2024-05-24T03:21:23.247Z] Successfully built f8dfb1f2e4c1 [2024-05-24T03:21:23.247Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:21:23.577Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T03:21:23.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:21:23.651Z] prd-ubuntu20.04-docker-8c-8g-658 does not seem to be running inside a container [2024-05-24T03:21:23.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T03:21:24.025Z] $ docker top 51d468c708a0ce0558b1bd58ecbaa02cb66b5b7b90a31663ce0c584b135d5a8d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T03:21:24.373Z] + go version [2024-05-24T03:21:24.373Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T03:21:24.387Z] $ docker stop --time=1 51d468c708a0ce0558b1bd58ecbaa02cb66b5b7b90a31663ce0c584b135d5a8d [2024-05-24T03:21:25.670Z] $ docker rm -f --volumes 51d468c708a0ce0558b1bd58ecbaa02cb66b5b7b90a31663ce0c584b135d5a8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:21:26.103Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T03:21:26.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:21:26.181Z] prd-ubuntu20.04-docker-8c-8g-658 does not seem to be running inside a container [2024-05-24T03:21:26.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T03:21:26.534Z] $ docker top ea6d4286701babc3e1bc496cecd50ade748b3f450d8acd3d1ff6ee83365914e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T03:21:26.877Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh [2024-05-24T03:21:27.177Z] + make test [2024-05-24T03:21:27.177Z] go test -race -coverprofile=coverage.out ./... [2024-05-24T03:21:33.740Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-24T03:22:00.967Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-659 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws [2024-05-24T03:22:00.987Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-05-24T03:22:01.032Z] The recommended git tool is: git [2024-05-24T03:22:05.608Z] using credential edgex-jenkins-ssh [2024-05-24T03:22:05.639Z] Cloning the remote Git repository [2024-05-24T03:22:05.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-24T03:22:05.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-24T03:22:05.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-24T03:22:05.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-24T03:22:05.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-24T03:22:05.686Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T03:22:05.778Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-05-24T03:22:05.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T03:22:05.923Z] > git --version # timeout=10 [2024-05-24T03:22:05.941Z] > git --version # 'git version 2.25.1' [2024-05-24T03:22:05.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T03:22:06.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 27.0% of statements [2024-05-24T03:22:06.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2024-05-24T03:22:06.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-24T03:22:06.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-24T03:22:06.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T03:22:07.877Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-24T03:22:07.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2024-05-24T03:22:08.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-24T03:22:08.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-24T03:22:09.069Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.080s coverage: 71.8% of statements [2024-05-24T03:22:09.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-24T03:22:08.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-24T03:22:08.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T03:22:09.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-24T03:22:09.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T03:22:09.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T03:22:09.677Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-24T03:22:10.284Z] Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 172d6e4a11e37274c9c8e5c582891029179f4345 [2024-05-24T03:22:10.600Z] Merge succeeded, producing 172d6e4a11e37274c9c8e5c582891029179f4345 [2024-05-24T03:22:10.601Z] Checking out Revision 172d6e4a11e37274c9c8e5c582891029179f4345 (PR-1580) [2024-05-24T03:22:10.303Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T03:22:10.394Z] > git checkout -f 172d6e4a11e37274c9c8e5c582891029179f4345 # timeout=10 [2024-05-24T03:22:10.504Z] > git remote # timeout=10 [2024-05-24T03:22:10.524Z] > git config --get remote.origin.url # timeout=10 [2024-05-24T03:22:10.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T03:22:10.556Z] > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [2024-05-24T03:22:10.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-24T03:22:10.610Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T03:22:10.630Z] > git checkout -f 172d6e4a11e37274c9c8e5c582891029179f4345 # timeout=10 [2024-05-24T03:22:12.173Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements [2024-05-24T03:22:12.173Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.948s coverage: 45.9% of statements [2024-05-24T03:22:12.173Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2024-05-24T03:22:12.173Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.107s coverage: 89.2% of statements [2024-05-24T03:22:12.173Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.064s coverage: 5.4% of statements [2024-05-24T03:22:14.215Z] Commit message: "feat: reduce numbers of inactive goroutine to optimize performance" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T03:22:16.005Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T03:22:16.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T03:22:16.006Z] Dload Upload Total Spent Left Speed [2024-05-24T03:22:16.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-05-24T03:22:16.333Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T03:22:16.663Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-24T03:22:16.663Z] + sudo tee /etc/docker/daemon.new [2024-05-24T03:22:16.663Z] { [2024-05-24T03:22:16.663Z] "registry-mirrors": [ [2024-05-24T03:22:16.663Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T03:22:16.663Z] ], [2024-05-24T03:22:16.663Z] "bip": "10.250.0.254/24", [2024-05-24T03:22:16.663Z] "hosts": [ [2024-05-24T03:22:16.663Z] "tcp://0.0.0.0:5555", [2024-05-24T03:22:16.663Z] "unix:///var/run/docker.sock" [2024-05-24T03:22:16.663Z] ], [2024-05-24T03:22:16.663Z] "mtu": 1458, [2024-05-24T03:22:16.663Z] "selinux-enabled": true, [2024-05-24T03:22:16.663Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T03:22:16.663Z] } [Pipeline] sh [2024-05-24T03:22:16.982Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-24T03:22:17.312Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T03:22:35.567Z] provisioning config files... [2024-05-24T03:22:35.606Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17631777013900556762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:22:36.080Z] ---> ****-login.sh [2024-05-24T03:22:36.080Z] nexus3.edgexfoundry.org:10001 [2024-05-24T03:22:36.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:22:36.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:22:36.667Z] Configure a credential helper to remove this warning. See [2024-05-24T03:22:36.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:22:36.668Z] [2024-05-24T03:22:36.668Z] Login Succeeded [2024-05-24T03:22:36.668Z] nexus3.edgexfoundry.org:10002 [2024-05-24T03:22:36.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:22:37.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:22:37.214Z] Configure a credential helper to remove this warning. See [2024-05-24T03:22:37.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:22:37.214Z] [2024-05-24T03:22:37.214Z] Login Succeeded [2024-05-24T03:22:37.214Z] nexus3.edgexfoundry.org:10003 [2024-05-24T03:22:37.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:22:37.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:22:37.483Z] Configure a credential helper to remove this warning. See [2024-05-24T03:22:37.483Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:22:37.483Z] [2024-05-24T03:22:37.483Z] Login Succeeded [2024-05-24T03:22:37.483Z] nexus3.edgexfoundry.org:10004 [2024-05-24T03:22:37.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:22:38.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:22:38.043Z] Configure a credential helper to remove this warning. See [2024-05-24T03:22:38.043Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:22:38.043Z] [2024-05-24T03:22:38.043Z] Login Succeeded [2024-05-24T03:22:38.043Z] ****.io [2024-05-24T03:22:38.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:22:38.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:22:38.582Z] Configure a credential helper to remove this warning. See [2024-05-24T03:22:38.582Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:22:38.582Z] [2024-05-24T03:22:38.582Z] Login Succeeded [2024-05-24T03:22:38.582Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T03:22:38.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T03:22:38.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T03:22:38.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T03:22:38.999Z] ========================================================= [2024-05-24T03:22:38.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-24T03:22:38.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:22:39.376Z] + 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-05-24T03:22:39.968Z] Sending build context to Docker daemon 13.34MB [2024-05-24T03:22:40.247Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T03:22:40.247Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-24T03:22:40.247Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T03:22:40.247Z] c6b39de5b339: Pulling fs layer [2024-05-24T03:22:40.247Z] a69c41024577: Pulling fs layer [2024-05-24T03:22:40.247Z] d6de4b400683: Pulling fs layer [2024-05-24T03:22:40.247Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T03:22:40.247Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T03:22:40.247Z] 464afbd9ba4c: Pulling fs layer [2024-05-24T03:22:40.247Z] 00f215d4a9da: Pulling fs layer [2024-05-24T03:22:40.247Z] d496ad576159: Pulling fs layer [2024-05-24T03:22:40.247Z] 4f4fb700ef54: Waiting [2024-05-24T03:22:40.247Z] 464afbd9ba4c: Waiting [2024-05-24T03:22:40.247Z] 00f215d4a9da: Waiting [2024-05-24T03:22:40.247Z] 35cb2a7552d0: Waiting [2024-05-24T03:22:40.247Z] d496ad576159: Waiting [2024-05-24T03:22:40.247Z] a69c41024577: Verifying Checksum [2024-05-24T03:22:40.247Z] a69c41024577: Download complete [2024-05-24T03:22:40.247Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T03:22:40.247Z] 35cb2a7552d0: Download complete [2024-05-24T03:22:40.520Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T03:22:40.520Z] 4f4fb700ef54: Download complete [2024-05-24T03:22:40.520Z] c6b39de5b339: Verifying Checksum [2024-05-24T03:22:40.520Z] c6b39de5b339: Download complete [2024-05-24T03:22:40.520Z] 464afbd9ba4c: Verifying Checksum [2024-05-24T03:22:40.520Z] 464afbd9ba4c: Download complete [2024-05-24T03:22:40.794Z] d496ad576159: Verifying Checksum [2024-05-24T03:22:40.794Z] d496ad576159: Download complete [2024-05-24T03:22:41.391Z] c6b39de5b339: Pull complete [2024-05-24T03:22:41.984Z] a69c41024577: Pull complete [2024-05-24T03:22:42.257Z] d6de4b400683: Verifying Checksum [2024-05-24T03:22:42.257Z] d6de4b400683: Download complete [2024-05-24T03:22:43.681Z] 00f215d4a9da: Verifying Checksum [2024-05-24T03:22:43.681Z] 00f215d4a9da: Download complete [2024-05-24T03:22:44.242Z] internal/autoevent/executor.go:72:18: Error return value of `e.pool.Submit` is not checked (errcheck) [2024-05-24T03:22:44.242Z] e.pool.Submit(func() { [2024-05-24T03:22:44.242Z] ^ [2024-05-24T03:22:44.242Z] internal/autoevent/manager.go:90:16: Error return value of `m.pool.Submit` is not checked (errcheck) [2024-05-24T03:22:44.242Z] m.pool.Submit(func() { executor.Run(m.ctx, m.wg, m.autoeventBuffer, dic) }) [2024-05-24T03:22:44.242Z] ^ [2024-05-24T03:22:44.242Z] make: *** [Makefile:42: lint] Error 1 [Pipeline] } [2024-05-24T03:22:44.275Z] $ docker stop --time=1 ea6d4286701babc3e1bc496cecd50ade748b3f450d8acd3d1ff6ee83365914e0 [2024-05-24T03:22:51.440Z] $ docker rm -f --volumes ea6d4286701babc3e1bc496cecd50ade748b3f450d8acd3d1ff6ee83365914e0 [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-05-24T03:22:52.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:22:52.251Z] [2024-05-24T03:22:52.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:22:52.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:22:52.560Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T03:22:52.560Z] 5eb5b503b376: Pulling fs layer [2024-05-24T03:22:52.560Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T03:22:52.560Z] ec43610c2a17: Pulling fs layer [2024-05-24T03:22:52.560Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T03:22:52.560Z] 33b1e0a273af: Pulling fs layer [2024-05-24T03:22:52.560Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T03:22:52.560Z] 2f39f015ded8: Pulling fs layer [2024-05-24T03:22:52.560Z] 3a2ae6a8a46f: Waiting [2024-05-24T03:22:52.560Z] 33b1e0a273af: Waiting [2024-05-24T03:22:52.560Z] 5d3b04190fa2: Waiting [2024-05-24T03:22:52.560Z] 5c69ac0246d0: Download complete [2024-05-24T03:22:52.560Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-24T03:22:52.560Z] 3a2ae6a8a46f: Download complete [2024-05-24T03:22:52.560Z] 33b1e0a273af: Verifying Checksum [2024-05-24T03:22:52.560Z] 33b1e0a273af: Download complete [2024-05-24T03:22:52.820Z] 5d3b04190fa2: Verifying Checksum [2024-05-24T03:22:52.820Z] 5d3b04190fa2: Download complete [2024-05-24T03:22:52.820Z] ec43610c2a17: Verifying Checksum [2024-05-24T03:22:52.820Z] 5eb5b503b376: Verifying Checksum [2024-05-24T03:22:52.820Z] 5eb5b503b376: Download complete [2024-05-24T03:22:53.385Z] 2f39f015ded8: Download complete [2024-05-24T03:22:53.958Z] 5eb5b503b376: Pull complete [2024-05-24T03:22:53.958Z] 5c69ac0246d0: Pull complete [2024-05-24T03:22:54.525Z] ec43610c2a17: Pull complete [2024-05-24T03:22:54.525Z] 3a2ae6a8a46f: Pull complete [2024-05-24T03:22:54.783Z] 33b1e0a273af: Pull complete [2024-05-24T03:22:54.783Z] 5d3b04190fa2: Pull complete [2024-05-24T03:22:56.033Z] d6de4b400683: Pull complete [2024-05-24T03:22:56.305Z] 35cb2a7552d0: Pull complete [2024-05-24T03:22:56.576Z] 4f4fb700ef54: Pull complete [2024-05-24T03:22:56.847Z] 464afbd9ba4c: Pull complete [2024-05-24T03:22:58.966Z] 2f39f015ded8: Pull complete [2024-05-24T03:22:58.966Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T03:22:58.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:22:58.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:22:59.069Z] prd-ubuntu20.04-docker-8c-8g-658 does not seem to be running inside a container [2024-05-24T03:22:59.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T03:23:03.907Z] $ docker top 328e33ba3f3a4572eef1cf7c8c30c8e085294a9490872369cf202ef13cf8841f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:23:04.284Z] ---> job-cost.sh [2024-05-24T03:23:04.284Z] lf-activate-venv: SKIPPING [2024-05-24T03:23:04.284Z] INFO: No Stack... [2024-05-24T03:23:04.545Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T03:23:04.805Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T03:23:05.104Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv [2024-05-24T03:23:05.104Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T03:23:05.117Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] [2024-05-24T03:23:05.125Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] did not exist. Created. [2024-05-24T03:23:05.132Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T03:23:05.446Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T03:23:05.496Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T03:23:05.509Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T03:23:05.540Z] $ docker stop --time=1 328e33ba3f3a4572eef1cf7c8c30c8e085294a9490872369cf202ef13cf8841f [2024-05-24T03:23:06.693Z] $ docker rm -f --volumes 328e33ba3f3a4572eef1cf7c8c30c8e085294a9490872369cf202ef13cf8841f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-24T03:23:06.830Z] Failed in branch amd64 [2024-05-24T03:23:06.960Z] 00f215d4a9da: Pull complete [2024-05-24T03:23:07.554Z] d496ad576159: Pull complete [2024-05-24T03:23:07.554Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-24T03:23:07.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-24T03:23:07.554Z] ---> f246e2811388 [2024-05-24T03:23:07.554Z] Step 3/10 : ARG MAKE=make build [2024-05-24T03:23:08.525Z] ---> Running in 85a49308cdc4 [2024-05-24T03:23:09.114Z] Removing intermediate container 85a49308cdc4 [2024-05-24T03:23:09.114Z] ---> c9961aa98359 [2024-05-24T03:23:09.114Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-24T03:23:09.114Z] ---> Running in ecce12c08e62 [2024-05-24T03:23:09.383Z] Removing intermediate container ecce12c08e62 [2024-05-24T03:23:09.383Z] ---> 4bc34bdb21ca [2024-05-24T03:23:09.383Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T03:23:09.383Z] ---> Running in 2fb0385f6451 [2024-05-24T03:23:09.973Z] Removing intermediate container 2fb0385f6451 [2024-05-24T03:23:09.973Z] ---> 892a48fe1f1c [2024-05-24T03:23:09.973Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-24T03:23:09.973Z] ---> Running in 3a8416ce291a [2024-05-24T03:23:11.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T03:23:11.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T03:23:13.091Z] OK: 266 MiB in 52 packages [2024-05-24T03:23:13.680Z] Removing intermediate container 3a8416ce291a [2024-05-24T03:23:13.680Z] ---> 7dfbacbfe6bc [2024-05-24T03:23:13.680Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-24T03:23:14.268Z] ---> bcc2b57b53f1 [2024-05-24T03:23:14.268Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T03:23:14.538Z] ---> Running in 14f2c363c1a7 [2024-05-24T03:25:06.268Z] Removing intermediate container 14f2c363c1a7 [2024-05-24T03:25:06.268Z] ---> e30349913d8c [2024-05-24T03:25:06.268Z] Step 9/10 : COPY . . [2024-05-24T03:25:06.268Z] ---> f29d650f8179 [2024-05-24T03:25:06.268Z] Step 10/10 : RUN ${MAKE} [2024-05-24T03:25:06.268Z] ---> Running in f86b1eaa178e [2024-05-24T03:25:06.268Z] noop [2024-05-24T03:25:06.268Z] Removing intermediate container f86b1eaa178e [2024-05-24T03:25:06.268Z] ---> 7daaf63cd8cb [2024-05-24T03:25:06.268Z] Successfully built 7daaf63cd8cb [2024-05-24T03:25:06.268Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:25:06.637Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T03:25:06.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:25:06.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-659 does not seem to be running inside a container [2024-05-24T03:25:06.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05-24T03:25:08.202Z] $ docker top be458fb2f0ef9a285a14250fa08f2155e6c57e3db125de5b3af87b5a9a66eee0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T03:25:09.043Z] + go version [2024-05-24T03:25:09.043Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T03:25:09.066Z] $ docker stop --time=1 be458fb2f0ef9a285a14250fa08f2155e6c57e3db125de5b3af87b5a9a66eee0 [2024-05-24T03:25:10.693Z] $ docker rm -f --volumes be458fb2f0ef9a285a14250fa08f2155e6c57e3db125de5b3af87b5a9a66eee0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:25:11.261Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T03:25:11.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:25:11.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-659 does not seem to be running inside a container [2024-05-24T03:25:11.522Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05-24T03:25:12.756Z] $ docker top afbd61625e4158aaf935d4c396ba3f916deafb0b0d0e8329259e26500e844c47 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T03:25:13.585Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-05-24T03:25:14.250Z] + make test [2024-05-24T03:25:14.250Z] go test -race -coverprofile=coverage.out ./... [2024-05-24T03:26:01.075Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-24T03:29:37.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-24T03:29:37.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-24T03:29:37.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-24T03:29:37.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-24T03:29:37.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-24T03:29:38.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.229s coverage: 27.0% of statements [2024-05-24T03:29:43.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.305s coverage: 81.5% of statements [2024-05-24T03:29:49.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-24T03:29:49.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-24T03:29:50.169Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.353s coverage: 86.0% of statements [2024-05-24T03:29:53.507Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-24T03:29:55.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.670s coverage: 71.8% of statements [2024-05-24T03:29:59.684Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.252s coverage: 14.4% of statements [2024-05-24T03:30:00.266Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-24T03:30:00.266Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-24T03:30:00.531Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.961s coverage: 45.9% of statements [2024-05-24T03:30:01.938Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.507s coverage: 68.5% of statements [2024-05-24T03:30:06.179Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.488s coverage: 89.2% of statements [2024-05-24T03:30:08.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-24T03:30:10.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.329s coverage: 5.4% of statements [2024-05-24T03:30:11.558Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T03:30:11.558Z] GO111MODULE=on go vet ./... [2024-05-24T03:34:18.393Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T03:34:18.393Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T03:34:18.393Z] ./bin/test-attribution-txt.sh [2024-05-24T03:34:18.393Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/panjf2000/ants is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-24T03:34:18.393Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-24T03:34:18.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-24T03:34:18.441Z] $ docker stop --time=1 afbd61625e4158aaf935d4c396ba3f916deafb0b0d0e8329259e26500e844c47 [2024-05-24T03:34:20.440Z] $ docker rm -f --volumes afbd61625e4158aaf935d4c396ba3f916deafb0b0d0e8329259e26500e844c47 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T03:34:22.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T03:34:23.258Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T03:34:23.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T03:34:24.232Z] + ls -al . [2024-05-24T03:34:24.232Z] total 372 [2024-05-24T03:34:24.232Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 03:25 . [2024-05-24T03:34:24.232Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:22 .. [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 03:22 .dockerignore [2024-05-24T03:34:24.232Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 03:22 .git [2024-05-24T03:34:24.232Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 03:22 .github [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 03:22 .gitignore [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 03:22 .golangci.yml [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 24 03:22 CHANGELOG.md [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 03:22 GOVERNANCE.md [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 03:22 Jenkinsfile [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 03:22 LICENSE [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 24 03:22 Makefile [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 03:22 OWNERS.md [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 24 03:22 README.md [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 03:20 VERSION [2024-05-24T03:34:24.232Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 03:22 bin [2024-05-24T03:34:24.232Z] -rw-r--r-- 1 jenkins jenkins 122656 May 24 03:30 coverage.out [2024-05-24T03:34:24.232Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 03:22 example [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 7104 May 24 03:22 go.mod [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 101133 May 24 03:22 go.sum [2024-05-24T03:34:24.232Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 03:22 internal [2024-05-24T03:34:24.232Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 03:22 openapi [2024-05-24T03:34:24.232Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 03:22 pkg [2024-05-24T03:34:24.232Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:22 snap [2024-05-24T03:34:24.232Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:34:24.563Z] + 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=172d6e4a11e37274c9c8e5c582891029179f4345 --label arch=arm64 --label version=0.0.0 . [2024-05-24T03:34:25.156Z] Sending build context to Docker daemon 13.46MB [2024-05-24T03:34:25.156Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T03:34:25.156Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-24T03:34:25.156Z] ---> 7daaf63cd8cb [2024-05-24T03:34:25.156Z] Step 3/23 : ARG MAKE=make build [2024-05-24T03:34:25.423Z] ---> Running in 44a66dc647cd [2024-05-24T03:34:25.690Z] Removing intermediate container 44a66dc647cd [2024-05-24T03:34:25.690Z] ---> 3adb39e0a9a2 [2024-05-24T03:34:25.690Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-24T03:34:25.690Z] ---> Running in 56a7776b8bb2 [2024-05-24T03:34:25.960Z] Removing intermediate container 56a7776b8bb2 [2024-05-24T03:34:25.960Z] ---> 77b37251d2b1 [2024-05-24T03:34:25.960Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T03:34:26.239Z] ---> Running in 32201aa56563 [2024-05-24T03:34:26.507Z] Removing intermediate container 32201aa56563 [2024-05-24T03:34:26.507Z] ---> f36c52674c7f [2024-05-24T03:34:26.507Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-24T03:34:26.507Z] ---> Running in 0b226576dd5b [2024-05-24T03:34:27.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T03:34:28.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T03:34:29.005Z] OK: 266 MiB in 52 packages [2024-05-24T03:34:29.966Z] Removing intermediate container 0b226576dd5b [2024-05-24T03:34:29.966Z] ---> 165519c81cf4 [2024-05-24T03:34:29.966Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-24T03:34:30.234Z] ---> 2831eeaa72d0 [2024-05-24T03:34:30.234Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T03:34:30.234Z] ---> Running in 378ce59d4977 [2024-05-24T03:34:32.815Z] Removing intermediate container 378ce59d4977 [2024-05-24T03:34:32.815Z] ---> 02c893a1dded [2024-05-24T03:34:32.815Z] Step 9/23 : COPY . . [2024-05-24T03:34:34.222Z] ---> 08f250a9efe0 [2024-05-24T03:34:34.222Z] Step 10/23 : RUN ${MAKE} [2024-05-24T03:34:34.222Z] ---> Running in e1b54e557b55 [2024-05-24T03:34:35.179Z] 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-05-24T03:37:56.962Z] Removing intermediate container e1b54e557b55 [2024-05-24T03:37:56.962Z] ---> ad0cbcf4fb5f [2024-05-24T03:37:56.962Z] Step 11/23 : FROM alpine:3.18 [2024-05-24T03:37:56.962Z] 3.18: Pulling from library/alpine [2024-05-24T03:37:56.962Z] c6b39de5b339: Already exists [2024-05-24T03:37:56.962Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T03:37:56.962Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T03:37:56.962Z] ---> 33abbf032149 [2024-05-24T03:37:56.962Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-24T03:37:56.962Z] ---> Running in a67a354d0021 [2024-05-24T03:37:56.962Z] Removing intermediate container a67a354d0021 [2024-05-24T03:37:56.962Z] ---> 8745e6df969d [2024-05-24T03:37:56.962Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-24T03:37:56.962Z] ---> Running in c0b95e8f507d [2024-05-24T03:37:56.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T03:37:56.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T03:37:56.962Z] OK: 8 MiB in 15 packages [2024-05-24T03:37:56.962Z] Removing intermediate container c0b95e8f507d [2024-05-24T03:37:56.962Z] ---> e99a6a72228d [2024-05-24T03:37:56.962Z] Step 14/23 : WORKDIR / [2024-05-24T03:37:56.962Z] ---> Running in c4d517fd223a [2024-05-24T03:37:56.962Z] Removing intermediate container c4d517fd223a [2024-05-24T03:37:56.962Z] ---> 0a17739c3f2c [2024-05-24T03:37:56.962Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-24T03:37:56.962Z] ---> e6e3f0ae27f6 [2024-05-24T03:37:56.962Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-24T03:37:57.229Z] ---> 050aa15d8f94 [2024-05-24T03:37:57.229Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-24T03:37:57.814Z] ---> 2dcaa100d419 [2024-05-24T03:37:57.814Z] Step 18/23 : EXPOSE 59999 [2024-05-24T03:37:57.814Z] ---> Running in 9f7c39796538 [2024-05-24T03:37:58.082Z] Removing intermediate container 9f7c39796538 [2024-05-24T03:37:58.082Z] ---> dced56803691 [2024-05-24T03:37:58.082Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-24T03:37:58.350Z] ---> Running in c1286479842b [2024-05-24T03:37:58.619Z] Removing intermediate container c1286479842b [2024-05-24T03:37:58.619Z] ---> ef331a315b40 [2024-05-24T03:37:58.619Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-24T03:37:58.619Z] ---> Running in dc578a9437fc [2024-05-24T03:37:58.887Z] Removing intermediate container dc578a9437fc [2024-05-24T03:37:58.887Z] ---> 231716132210 [2024-05-24T03:37:58.887Z] Step 21/23 : LABEL arch=arm64 [2024-05-24T03:37:59.156Z] ---> Running in 251a4b58bad6 [2024-05-24T03:37:59.423Z] Removing intermediate container 251a4b58bad6 [2024-05-24T03:37:59.423Z] ---> 159378176a1c [2024-05-24T03:37:59.423Z] Step 22/23 : LABEL git_sha=172d6e4a11e37274c9c8e5c582891029179f4345 [2024-05-24T03:37:59.423Z] ---> Running in c4a0d9258db2 [2024-05-24T03:37:59.689Z] Removing intermediate container c4a0d9258db2 [2024-05-24T03:37:59.689Z] ---> d2b40910cd0a [2024-05-24T03:37:59.689Z] Step 23/23 : LABEL version=0.0.0 [2024-05-24T03:37:59.689Z] ---> Running in e2bf06a48b1b [2024-05-24T03:37:59.957Z] Removing intermediate container e2bf06a48b1b [2024-05-24T03:37:59.957Z] ---> 40fb858afcc6 [2024-05-24T03:37:59.957Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T03:37:59.957Z] Successfully built 40fb858afcc6 [2024-05-24T03:38:00.223Z] 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-05-24T03:38:00.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T03:38:00.692Z] [2024-05-24T03:38:00.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:38:01.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T03:38:01.096Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T03:38:01.096Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T03:38:01.096Z] 04944245beec: Pulling fs layer [2024-05-24T03:38:01.096Z] 699f458cf7ca: Pulling fs layer [2024-05-24T03:38:01.096Z] 765212b225bb: Pulling fs layer [2024-05-24T03:38:01.096Z] f23df028b6ca: Pulling fs layer [2024-05-24T03:38:01.096Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T03:38:01.096Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T03:38:01.096Z] 765212b225bb: Waiting [2024-05-24T03:38:01.096Z] f23df028b6ca: Waiting [2024-05-24T03:38:01.096Z] d65c8cfc05b1: Waiting [2024-05-24T03:38:01.096Z] 2437ff75d9bd: Waiting [2024-05-24T03:38:01.368Z] 04944245beec: Verifying Checksum [2024-05-24T03:38:01.368Z] 04944245beec: Download complete [2024-05-24T03:38:01.368Z] 765212b225bb: Verifying Checksum [2024-05-24T03:38:01.368Z] 765212b225bb: Download complete [2024-05-24T03:38:01.368Z] f23df028b6ca: Verifying Checksum [2024-05-24T03:38:01.368Z] f23df028b6ca: Download complete [2024-05-24T03:38:01.368Z] d65c8cfc05b1: Verifying Checksum [2024-05-24T03:38:01.368Z] d65c8cfc05b1: Download complete [2024-05-24T03:38:01.368Z] 699f458cf7ca: Verifying Checksum [2024-05-24T03:38:01.368Z] 699f458cf7ca: Download complete [2024-05-24T03:38:01.956Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T03:38:01.956Z] 8998bd30e6a1: Download complete [2024-05-24T03:38:04.539Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T03:38:04.539Z] 2437ff75d9bd: Download complete [2024-05-24T03:38:06.481Z] 8998bd30e6a1: Pull complete [2024-05-24T03:38:07.065Z] 04944245beec: Pull complete [2024-05-24T03:38:08.471Z] 699f458cf7ca: Pull complete [2024-05-24T03:38:08.737Z] 765212b225bb: Pull complete [2024-05-24T03:38:09.758Z] f23df028b6ca: Pull complete [2024-05-24T03:38:09.758Z] d65c8cfc05b1: Pull complete [2024-05-24T03:38:27.952Z] 2437ff75d9bd: Pull complete [2024-05-24T03:38:27.952Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T03:38:27.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T03:38:27.952Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:38:28.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-659 does not seem to be running inside a container [2024-05-24T03:38:28.203Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-05-24T03:38:30.866Z] $ docker top dd31f9ad6ddbbc284db822e2bdbd02019078908f58e98d2c8c91422f32443a00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:31.697Z] ---> job-cost.sh [2024-05-24T03:38:31.697Z] lf-activate-venv: SKIPPING [2024-05-24T03:38:31.697Z] INFO: No Stack... [2024-05-24T03:38:32.323Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T03:38:32.917Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T03:38:33.276Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-05-24T03:38:33.276Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T03:38:33.615Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] [2024-05-24T03:38:33.623Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] did not exist. Created. [2024-05-24T03:38:33.630Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T03:38:34.333Z] /w/workspace/device-sdk-go/2@tmp/durable-d2334a0d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T03:38:35.020Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T03:38:35.046Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T03:38:35.150Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T03:38:35.159Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T03:38:35.192Z] $ docker stop --time=1 dd31f9ad6ddbbc284db822e2bdbd02019078908f58e98d2c8c91422f32443a00 [2024-05-24T03:38:36.715Z] $ docker rm -f --volumes dd31f9ad6ddbbc284db822e2bdbd02019078908f58e98d2c8c91422f32443a00 [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-05-24T03:38:37.887Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] [2024-05-24T03:38:37.887Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T03:38:37.887Z] total 16 [2024-05-24T03:38:37.887Z] drwxr-xr-x 3 root root 4096 May 24 03:23 . [2024-05-24T03:38:37.887Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 03:23 .. [2024-05-24T03:38:37.887Z] drwxr-xr-x 2 root root 4096 May 24 03:23 cost [2024-05-24T03:38:37.887Z] -rw-r--r-- 1 root root 86 May 24 03:23 cost.csv [2024-05-24T03:38:37.887Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T03:38:37.887Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T03:38:37.887Z] total 16 [2024-05-24T03:38:37.887Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 03:23 . [2024-05-24T03:38:37.887Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 03:23 .. [2024-05-24T03:38:37.887Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 03:23 cost [2024-05-24T03:38:37.887Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:38.168Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:39.015Z] ---> package-listing.sh [2024-05-24T03:38:39.015Z] ++ facter osfamily [2024-05-24T03:38:39.015Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T03:38:39.273Z] + OS_FAMILY=debian [2024-05-24T03:38:39.273Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 [2024-05-24T03:38:39.273Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T03:38:39.273Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T03:38:39.273Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T03:38:39.273Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T03:38:39.273Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-05-24T03:38:39.273Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T03:38:39.273Z] + case "${OS_FAMILY}" in [2024-05-24T03:38:39.273Z] + dpkg -l [2024-05-24T03:38:39.273Z] + grep '^ii' [2024-05-24T03:38:39.273Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T03:38:39.273Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T03:38:39.273Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T03:38:39.273Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-05-24T03:38:39.273Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [2024-05-24T03:38:39.273Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo [2024-05-24T03:38:39.283Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T03:38:39.558Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:38:40.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:38:40.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:38:40.200Z] prd-ubuntu20.04-docker-8c-8g-658 does not seem to be running inside a container [2024-05-24T03:38:40.227Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T03:38:40.416Z] $ docker top 2b79038501cd088d17f2c5fe56c933f8fb6c092247fcf4ca0b23960036240bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T03:38:40.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T03:38:41.122Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T03:38:41.405Z] + ls /var/log/sa-host [2024-05-24T03:38:41.405Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T03:38:41.563Z] provisioning config files... [2024-05-24T03:38:41.571Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config5135023177350431247tmp [Pipeline] { [Pipeline] echo [2024-05-24T03:38:41.589Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:41.870Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T03:38:41.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:42.214Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T03:38:42.222Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:42.507Z] ---> sudo-logs.sh [2024-05-24T03:38:42.507Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T03:38:42.541Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:42.828Z] ---> job-cost.sh [2024-05-24T03:38:42.828Z] lf-activate-venv: SKIPPING [2024-05-24T03:38:42.828Z] DEBUG: total: 0.2199999988079071 [2024-05-24T03:38:42.828Z] INFO: Retrieving Stack Cost... [2024-05-24T03:38:43.086Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T03:38:43.652Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T03:38:43.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:38:43.947Z] ---> logs-deploy.sh [2024-05-24T03:38:43.947Z] lf-activate-venv: SKIPPING [2024-05-24T03:38:43.947Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/2 [2024-05-24T03:38:43.947Z] INFO: archiving workspace using pattern(s): [2024-05-24T03:38:44.883Z] Archives upload complete. [2024-05-24T03:38:44.883Z] INFO: archiving logs to Nexus