Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c020589200711f14ff7174cb813a2f3d169bed73+97b36af7baff2da76e29dc2359062fa76ab64ed3 (a652c236a5facbd970342ac6f2e463686e64dccb) 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-ssh12987213039136957143.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-ssh5324103423732118865.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-1573/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-1573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7054115364439966913.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-ssh15319935150924645014.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-1573/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-1573/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12294541430433688679.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-298 in /w/workspace/gexfoundry_device-sdk-go_PR-1573 [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-1573 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1573/head:refs/remotes/origin/PR-1573 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit c020589200711f14ff7174cb813a2f3d169bed73 Merge succeeded, producing 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc Checking out Revision 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc (PR-1573) > git config core.sparsecheckout # timeout=10 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # 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 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc # timeout=10 Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T18:43:26.036Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T18:43:26.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T18:43:26.135Z] ========================================================= [2024-05-16T18:43:26.136Z] EdgeX Global Pipelines Version Info [2024-05-16T18:43:26.136Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:43:26.852Z] ------------------- [2024-05-16T18:43:26.852Z] stable info: [2024-05-16T18:43:26.852Z] ------------------- [2024-05-16T18:43:26.852Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T18:43:26.852Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:43:26.852Z] Message: update stable to v1.0.258 [2024-05-16T18:43:27.419Z] ------------------- [2024-05-16T18:43:27.419Z] experimental info: [2024-05-16T18:43:27.419Z] ------------------- [2024-05-16T18:43:27.419Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T18:43:27.420Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:43:27.420Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T18:43:27.493Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-16T18:43:27.513Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-16T18:43:27.532Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T18:43:27.553Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T18:43:27.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T18:43:27.596Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T18:43:27.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T18:43:27.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-16T18:43:27.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T18:43:27.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T18:43:27.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T18:43:27.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-16T18:43:27.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T18:43:27.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T18:43:27.789Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T18:43:27.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:43:27.832Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:43:27.858Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:43:27.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T18:43:27.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T18:43:27.924Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-16T18:43:27.947Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-16T18:43:27.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T18:43:27.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T18:43:28.014Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T18:43:28.037Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T18:43:28.063Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T18:43:28.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1573 [Pipeline] echo [2024-05-16T18:43:28.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1573 [Pipeline] echo [2024-05-16T18:43:28.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1573 [Pipeline] echo [2024-05-16T18:43:28.142Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [Pipeline] echo [2024-05-16T18:43:28.162Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24b2f0f [Pipeline] echo [2024-05-16T18:43:28.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:43:28.252Z] provisioning config files... [2024-05-16T18:43:28.264Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config16321705147853688328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:43:28.591Z] ---> ****-login.sh [2024-05-16T18:43:28.591Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:43:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:28.851Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:28.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:28.851Z] [2024-05-16T18:43:28.851Z] Login Succeeded [2024-05-16T18:43:28.851Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:43:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:28.851Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:28.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:28.851Z] [2024-05-16T18:43:28.851Z] Login Succeeded [2024-05-16T18:43:28.851Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:43:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:29.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:29.112Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:29.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:29.112Z] [2024-05-16T18:43:29.112Z] Login Succeeded [2024-05-16T18:43:29.112Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:43:29.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:29.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:29.112Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:29.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:29.112Z] [2024-05-16T18:43:29.112Z] Login Succeeded [2024-05-16T18:43:29.112Z] ****.io [2024-05-16T18:43:29.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:29.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:29.371Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:29.371Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:29.371Z] [2024-05-16T18:43:29.371Z] Login Succeeded [2024-05-16T18:43:29.371Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:43:29.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T18:43:29.789Z] + git rev-list -1 --merges 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc~1..24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [Pipeline] echo [2024-05-16T18:43:29.818Z] -----------> git rev-list -1 --merges 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc~1..24b2f0f0b132b784ed2abb12444ee236b7c9ccbc 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [2024-05-16T18:43:29.818Z] 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [false] [Pipeline] sh [2024-05-16T18:43:30.112Z] + git log --format=format:%s -1 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [Pipeline] echo [2024-05-16T18:43:30.128Z] ========================================================= [2024-05-16T18:43:30.128Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T18:43:30.128Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:43:30.456Z] + git log --format=format:%s -1 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [Pipeline] echo [2024-05-16T18:43:30.467Z] [semverPrep] GIT_COMMIT: 24b2f0f0b132b784ed2abb12444ee236b7c9ccbc, Commit Message: Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD [Pipeline] echo [2024-05-16T18:43:30.485Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T18:43:30.841Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T18:43:30.842Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T18:43:30.842Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T18:43:30.842Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T18:43:30.842Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-05-16T18:43:30.842Z] -a /etc/ssh/ssh_known_hosts [2024-05-16T18:43:30.842Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:43:31.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:43:31.190Z] [2024-05-16T18:43:31.190Z] 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-16T18:43:31.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:43:31.498Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T18:43:31.498Z] b85a868b505f: Pulling fs layer [2024-05-16T18:43:31.498Z] e2be974225ed: Pulling fs layer [2024-05-16T18:43:31.498Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T18:43:31.498Z] 988bab9f4d93: Pulling fs layer [2024-05-16T18:43:31.498Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T18:43:31.498Z] eaf3925da568: Pulling fs layer [2024-05-16T18:43:31.498Z] bab4dde63d76: Pulling fs layer [2024-05-16T18:43:31.498Z] bde34c3a00c8: Pulling fs layer [2024-05-16T18:43:31.498Z] b352a97aabf1: Pulling fs layer [2024-05-16T18:43:31.498Z] 4872d77fe225: Pulling fs layer [2024-05-16T18:43:31.498Z] 5851b861e8e6: Pulling fs layer [2024-05-16T18:43:31.498Z] bab4dde63d76: Waiting [2024-05-16T18:43:31.498Z] bde34c3a00c8: Waiting [2024-05-16T18:43:31.498Z] b352a97aabf1: Waiting [2024-05-16T18:43:31.498Z] 4872d77fe225: Waiting [2024-05-16T18:43:31.498Z] 5851b861e8e6: Waiting [2024-05-16T18:43:31.498Z] 988bab9f4d93: Waiting [2024-05-16T18:43:31.498Z] eaf3925da568: Waiting [2024-05-16T18:43:31.498Z] 1469e6f7b9e6: Waiting [2024-05-16T18:43:31.498Z] e2be974225ed: Download complete [2024-05-16T18:43:31.498Z] 988bab9f4d93: Verifying Checksum [2024-05-16T18:43:31.498Z] 988bab9f4d93: Download complete [2024-05-16T18:43:31.498Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T18:43:31.498Z] 1469e6f7b9e6: Download complete [2024-05-16T18:43:31.498Z] eaf3925da568: Verifying Checksum [2024-05-16T18:43:31.498Z] eaf3925da568: Download complete [2024-05-16T18:43:31.498Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T18:43:31.498Z] 339a4e72a1f5: Download complete [2024-05-16T18:43:31.756Z] bde34c3a00c8: Verifying Checksum [2024-05-16T18:43:31.756Z] bde34c3a00c8: Download complete [2024-05-16T18:43:31.756Z] b352a97aabf1: Download complete [2024-05-16T18:43:31.756Z] 4872d77fe225: Verifying Checksum [2024-05-16T18:43:31.756Z] 4872d77fe225: Download complete [2024-05-16T18:43:31.756Z] 5851b861e8e6: Verifying Checksum [2024-05-16T18:43:31.756Z] 5851b861e8e6: Download complete [2024-05-16T18:43:31.756Z] b85a868b505f: Verifying Checksum [2024-05-16T18:43:31.756Z] b85a868b505f: Download complete [2024-05-16T18:43:32.014Z] bab4dde63d76: Verifying Checksum [2024-05-16T18:43:32.014Z] bab4dde63d76: Download complete [2024-05-16T18:43:32.951Z] b85a868b505f: Pull complete [2024-05-16T18:43:33.210Z] e2be974225ed: Pull complete [2024-05-16T18:43:33.469Z] 339a4e72a1f5: Pull complete [2024-05-16T18:43:33.730Z] 988bab9f4d93: Pull complete [2024-05-16T18:43:33.990Z] 1469e6f7b9e6: Pull complete [2024-05-16T18:43:33.990Z] eaf3925da568: Pull complete [2024-05-16T18:43:35.893Z] bab4dde63d76: Pull complete [2024-05-16T18:43:35.893Z] bde34c3a00c8: Pull complete [2024-05-16T18:43:35.893Z] b352a97aabf1: Pull complete [2024-05-16T18:43:35.893Z] 4872d77fe225: Pull complete [2024-05-16T18:43:36.151Z] 5851b861e8e6: Pull complete [2024-05-16T18:43:36.151Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T18:43:36.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:43:36.151Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:43:36.295Z] prd-ubuntu20.04-docker-8c-8g-298 does not seem to be running inside a container [2024-05-16T18:43:36.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-16T18:43:39.390Z] $ docker top 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa -eo pid,comm [2024-05-16T18:43:39.446Z] 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-16T18:43:39.446Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T18:43:39.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:43:39.502Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:43:39.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:43:39.610Z] $ docker exec 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa ssh-agent [2024-05-16T18:43:39.718Z] SSH_AUTH_SOCK=/tmp/ssh-zELYFrXKMgVm/agent.32 [2024-05-16T18:43:39.718Z] SSH_AGENT_PID=38 [2024-05-16T18:43:39.723Z] Running ssh-add (command line suppressed) [2024-05-16T18:43:39.814Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_13432446866311571796.key (/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_13432446866311571796.key) [2024-05-16T18:43:39.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:43:40.120Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T18:43:40.128Z] $ docker exec --env ******** --env ******** 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa ssh-agent -k [2024-05-16T18:43:40.231Z] unset SSH_AUTH_SOCK; [2024-05-16T18:43:40.232Z] unset SSH_AGENT_PID; [2024-05-16T18:43:40.232Z] echo Agent pid 38 killed; [2024-05-16T18:43:40.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T18:43:40.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:43:40.280Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:43:40.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:43:40.391Z] $ docker exec 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa ssh-agent [2024-05-16T18:43:40.501Z] SSH_AUTH_SOCK=/tmp/ssh-1mPG9bHZWuZt/agent.72 [2024-05-16T18:43:40.501Z] SSH_AGENT_PID=78 [2024-05-16T18:43:40.506Z] Running ssh-add (command line suppressed) [2024-05-16T18:43:40.597Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_15678405402128757820.key (/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_15678405402128757820.key) [2024-05-16T18:43:40.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:43:40.910Z] + git semver init [2024-05-16T18:43:41.170Z] 2024-05-16 18:43:41,077 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T18:43:41.170Z] 2024-05-16 18:43:41,078 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver [2024-05-16T18:43:41.170Z] 2024-05-16 18:43:41,078 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver [2024-05-16T18:43:41.170Z] 2024-05-16 18:43:41,078 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573, universal_newlines=False, shell=None, istream=None) [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.git/info/exclude [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 with force:False [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,389 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,393 [execute] INFO git cat-file --batch-check [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,399 [execute] INFO git cat-file --batch [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T18:43:42.547Z] 2024-05-16 18:43:42,403 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 [2024-05-16T18:43:42.547Z] 0.0.0 [Pipeline] } [2024-05-16T18:43:42.553Z] $ docker exec --env ******** --env ******** 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa ssh-agent -k [2024-05-16T18:43:42.643Z] unset SSH_AUTH_SOCK; [2024-05-16T18:43:42.646Z] unset SSH_AGENT_PID; [2024-05-16T18:43:42.646Z] echo Agent pid 78 killed; [2024-05-16T18:43:42.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T18:43:42.974Z] + git semver [Pipeline] } [2024-05-16T18:43:43.242Z] $ docker stop --time=1 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa [2024-05-16T18:43:44.535Z] $ docker rm -f --volumes 9b28d82af48684c676dc2f54e35e8f24cd9aeba37b5dab139eeb391447ae40aa [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:43:44.884Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T18:43:45.124Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T18:43:45.127Z] [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-16T18:43:45.302Z] provisioning config files... [2024-05-16T18:43:45.312Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config14534136503737074921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:43:45.615Z] ---> ****-login.sh [2024-05-16T18:43:45.615Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:43:45.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:45.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:45.616Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:45.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:45.616Z] [2024-05-16T18:43:45.616Z] Login Succeeded [2024-05-16T18:43:45.616Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:43:45.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:45.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:45.616Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:45.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:45.616Z] [2024-05-16T18:43:45.616Z] Login Succeeded [2024-05-16T18:43:45.616Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:43:45.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:45.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:45.878Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:45.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:45.878Z] [2024-05-16T18:43:45.878Z] Login Succeeded [2024-05-16T18:43:45.878Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:43:45.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:45.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:45.878Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:45.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:45.878Z] [2024-05-16T18:43:45.878Z] Login Succeeded [2024-05-16T18:43:45.878Z] ****.io [2024-05-16T18:43:45.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:46.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:46.136Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:46.136Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:46.136Z] [2024-05-16T18:43:46.136Z] Login Succeeded [2024-05-16T18:43:46.136Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:43:46.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:43:46.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:43:46.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:43:46.277Z] ========================================================= [2024-05-16T18:43:46.277Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T18:43:46.277Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:43:46.618Z] + 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-16T18:43:46.618Z] Sending build context to Docker daemon 25.72MB [2024-05-16T18:43:46.618Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:43:46.618Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T18:43:46.878Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T18:43:46.878Z] 619be1103602: Pulling fs layer [2024-05-16T18:43:46.878Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T18:43:46.878Z] 5df492c9dc93: Pulling fs layer [2024-05-16T18:43:46.878Z] 7629e6793208: Pulling fs layer [2024-05-16T18:43:46.878Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:43:46.878Z] fb5054dd5b73: Pulling fs layer [2024-05-16T18:43:46.878Z] eeca6798cff9: Pulling fs layer [2024-05-16T18:43:46.878Z] aa269ceb94a6: Pulling fs layer [2024-05-16T18:43:46.878Z] ada007ff1a6a: Pulling fs layer [2024-05-16T18:43:46.878Z] 4f4fb700ef54: Waiting [2024-05-16T18:43:46.878Z] eeca6798cff9: Waiting [2024-05-16T18:43:46.878Z] fb5054dd5b73: Waiting [2024-05-16T18:43:46.878Z] aa269ceb94a6: Waiting [2024-05-16T18:43:46.878Z] ada007ff1a6a: Waiting [2024-05-16T18:43:46.878Z] 7629e6793208: Waiting [2024-05-16T18:43:46.878Z] 7862e08f4a3e: Download complete [2024-05-16T18:43:46.878Z] 7629e6793208: Verifying Checksum [2024-05-16T18:43:46.878Z] 7629e6793208: Download complete [2024-05-16T18:43:46.878Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:43:46.878Z] 4f4fb700ef54: Download complete [2024-05-16T18:43:46.878Z] 619be1103602: Verifying Checksum [2024-05-16T18:43:46.878Z] 619be1103602: Download complete [2024-05-16T18:43:46.878Z] fb5054dd5b73: Download complete [2024-05-16T18:43:46.878Z] eeca6798cff9: Download complete [2024-05-16T18:43:47.148Z] 619be1103602: Pull complete [2024-05-16T18:43:47.148Z] ada007ff1a6a: Download complete [2024-05-16T18:43:47.408Z] 7862e08f4a3e: Pull complete [2024-05-16T18:43:47.408Z] 5df492c9dc93: Verifying Checksum [2024-05-16T18:43:47.408Z] 5df492c9dc93: Download complete [2024-05-16T18:43:47.978Z] aa269ceb94a6: Verifying Checksum [2024-05-16T18:43:47.978Z] aa269ceb94a6: Download complete [2024-05-16T18:43:51.272Z] 5df492c9dc93: Pull complete [2024-05-16T18:43:51.272Z] 7629e6793208: Pull complete [2024-05-16T18:43:51.272Z] 4f4fb700ef54: Pull complete [2024-05-16T18:43:51.272Z] fb5054dd5b73: Pull complete [2024-05-16T18:43:51.530Z] eeca6798cff9: Pull complete [2024-05-16T18:43:53.429Z] aa269ceb94a6: Pull complete [2024-05-16T18:43:53.994Z] ada007ff1a6a: Pull complete [2024-05-16T18:43:53.994Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T18:43:53.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T18:43:53.994Z] ---> f489d0715acc [2024-05-16T18:43:53.994Z] Step 3/10 : ARG MAKE=make build [2024-05-16T18:43:59.290Z] ---> Running in 15086dc1ff4a [2024-05-16T18:43:59.290Z] Removing intermediate container 15086dc1ff4a [2024-05-16T18:43:59.290Z] ---> 8d54d181f4d9 [2024-05-16T18:43:59.290Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-16T18:43:59.290Z] ---> Running in 98c053ba3f0b [2024-05-16T18:43:59.290Z] Removing intermediate container 98c053ba3f0b [2024-05-16T18:43:59.290Z] ---> 6b4d4d290847 [2024-05-16T18:43:59.290Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:43:59.290Z] ---> Running in 7dd0190c17b5 [2024-05-16T18:43:59.290Z] Removing intermediate container 7dd0190c17b5 [2024-05-16T18:43:59.290Z] ---> 4437305c4395 [2024-05-16T18:43:59.290Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-16T18:43:59.290Z] ---> Running in 0c74ddf639da [2024-05-16T18:43:59.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:43:59.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:43:59.808Z] OK: 264 MiB in 52 packages [2024-05-16T18:44:00.066Z] Removing intermediate container 0c74ddf639da [2024-05-16T18:44:00.066Z] ---> 88e1e8156915 [2024-05-16T18:44:00.066Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T18:44:00.066Z] ---> a57acdedba95 [2024-05-16T18:44:00.066Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:44:00.066Z] ---> Running in 048b87e83000 [2024-05-16T18:44:00.257Z] Still waiting to schedule task [2024-05-16T18:44:00.257Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-299’ is offline [2024-05-16T18:44:46.747Z] Removing intermediate container 048b87e83000 [2024-05-16T18:44:46.747Z] ---> 946fdccaf2d7 [2024-05-16T18:44:46.747Z] Step 9/10 : COPY . . [2024-05-16T18:44:46.747Z] ---> fde9fe6b6051 [2024-05-16T18:44:46.747Z] Step 10/10 : RUN ${MAKE} [2024-05-16T18:44:46.747Z] ---> Running in d24ed443b456 [2024-05-16T18:44:47.006Z] noop [2024-05-16T18:44:47.265Z] Removing intermediate container d24ed443b456 [2024-05-16T18:44:47.265Z] ---> 267273116b91 [2024-05-16T18:44:47.265Z] Successfully built 267273116b91 [2024-05-16T18:44:47.265Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:47.595Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:44:47.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:44:47.665Z] prd-ubuntu20.04-docker-8c-8g-298 does not seem to be running inside a container [2024-05-16T18:44:47.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 ******** ci-base-image-x86_64 cat [2024-05-16T18:44:47.988Z] $ docker top 48d159b6f77f656f714d8cd4865fb6d61db528b5bf3e70f54c6a132d61177cdc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:44:48.336Z] + go version [2024-05-16T18:44:48.336Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T18:44:48.349Z] $ docker stop --time=1 48d159b6f77f656f714d8cd4865fb6d61db528b5bf3e70f54c6a132d61177cdc [2024-05-16T18:44:49.631Z] $ docker rm -f --volumes 48d159b6f77f656f714d8cd4865fb6d61db528b5bf3e70f54c6a132d61177cdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:50.060Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:44:50.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:44:50.145Z] prd-ubuntu20.04-docker-8c-8g-298 does not seem to be running inside a container [2024-05-16T18:44:50.179Z] $ 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-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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 ******** ci-base-image-x86_64 cat [2024-05-16T18:44:50.498Z] $ docker top ead38964f14040ccdec56fec6877e2353af21732757d68895e096465ccbdf21b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:44:50.851Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1573 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:44:51.157Z] + make test [2024-05-16T18:44:51.157Z] go test -race -coverprofile=coverage.out ./... [2024-05-16T18:44:59.270Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-16T18:45:25.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.059s coverage: 27.6% of statements [2024-05-16T18:45:25.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.059s coverage: 81.5% of statements [2024-05-16T18:45:25.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-16T18:45:25.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-16T18:45:26.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.100s coverage: 71.8% of statements [2024-05-16T18:45:26.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-16T18:45:29.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.064s coverage: 14.4% of statements [2024-05-16T18:45:29.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.394s coverage: 45.9% of statements [2024-05-16T18:45:29.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements [2024-05-16T18:45:29.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.118s coverage: 89.2% of statements [2024-05-16T18:45:29.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.072s coverage: 5.5% of statements [2024-05-16T18:46:01.515Z] GO111MODULE=on go vet ./... [2024-05-16T18:46:02.887Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T18:46:02.887Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T18:46:02.887Z] ./bin/test-attribution-txt.sh [2024-05-16T18:46:02.887Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T18:46:02.887Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T18:46:03.145Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T18:46:03.145Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T18:46:03.145Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T18:46:03.145Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T18:46:03.145Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T18:46:03.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T18:46:03.177Z] $ docker stop --time=1 ead38964f14040ccdec56fec6877e2353af21732757d68895e096465ccbdf21b [2024-05-16T18:46:08.578Z] $ docker rm -f --volumes ead38964f14040ccdec56fec6877e2353af21732757d68895e096465ccbdf21b [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:46:09.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T18:46:09.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-16T18:46:09.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T18:46:10.065Z] + ls -al . [2024-05-16T18:46:10.065Z] total 376 [2024-05-16T18:46:10.065Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:44 . [2024-05-16T18:46:10.065Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:43 .. [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:43 .dockerignore [2024-05-16T18:46:10.065Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:45 .git [2024-05-16T18:46:10.065Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:43 .github [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 137 May 16 18:43 .gitignore [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:43 .golangci.yml [2024-05-16T18:46:10.065Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:43 .semver [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 16 18:43 CHANGELOG.md [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:43 GOVERNANCE.md [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 885 May 16 18:43 Jenkinsfile [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 16 18:43 LICENSE [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 16 18:43 Makefile [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 619 May 16 18:43 OWNERS.md [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 16 18:43 README.md [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:43 VERSION [2024-05-16T18:46:10.065Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:43 bin [2024-05-16T18:46:10.065Z] -rw-r--r-- 1 jenkins jenkins 122153 May 16 18:45 coverage.out [2024-05-16T18:46:10.065Z] drwxrwxr-x 5 jenkins jenkins 4096 May 16 18:43 example [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 7070 May 16 18:43 go.mod [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 101288 May 16 18:43 go.sum [2024-05-16T18:46:10.065Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:43 internal [2024-05-16T18:46:10.065Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:43 openapi [2024-05-16T18:46:10.065Z] drwxrwxr-x 6 jenkins jenkins 4096 May 16 18:43 pkg [2024-05-16T18:46:10.065Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:43 snap [2024-05-16T18:46:10.065Z] -rw-rw-r-- 1 jenkins jenkins 222 May 16 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:46:10.380Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=24b2f0f0b132b784ed2abb12444ee236b7c9ccbc --label arch=amd64 --label version=0.0.0 . [2024-05-16T18:46:10.380Z] Sending build context to Docker daemon 25.84MB [2024-05-16T18:46:10.380Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:46:10.380Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T18:46:10.380Z] ---> 267273116b91 [2024-05-16T18:46:10.380Z] Step 3/23 : ARG MAKE=make build [2024-05-16T18:46:10.945Z] ---> Running in e188d592ee2e [2024-05-16T18:46:10.945Z] Removing intermediate container e188d592ee2e [2024-05-16T18:46:10.945Z] ---> 38aa3fe57533 [2024-05-16T18:46:10.945Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-16T18:46:10.945Z] ---> Running in 6b289b77b427 [2024-05-16T18:46:10.945Z] Removing intermediate container 6b289b77b427 [2024-05-16T18:46:10.945Z] ---> 45a014fb659f [2024-05-16T18:46:10.945Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:46:10.945Z] ---> Running in d93ce8c95776 [2024-05-16T18:46:11.221Z] Removing intermediate container d93ce8c95776 [2024-05-16T18:46:11.221Z] ---> 1696d26bb022 [2024-05-16T18:46:11.221Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-16T18:46:11.221Z] ---> Running in 51b8a6a649c2 [2024-05-16T18:46:11.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:11.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:11.999Z] OK: 264 MiB in 52 packages [2024-05-16T18:46:12.257Z] Removing intermediate container 51b8a6a649c2 [2024-05-16T18:46:12.257Z] ---> 0eeacf7e25c9 [2024-05-16T18:46:12.257Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T18:46:12.257Z] ---> 2c07a0e30b98 [2024-05-16T18:46:12.257Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:46:12.257Z] ---> Running in 27fe78e42c48 [2024-05-16T18:46:12.832Z] Removing intermediate container 27fe78e42c48 [2024-05-16T18:46:12.832Z] ---> 93fd38fb7209 [2024-05-16T18:46:12.832Z] Step 9/23 : COPY . . [2024-05-16T18:46:13.774Z] ---> f9a5ecd85f54 [2024-05-16T18:46:13.774Z] Step 10/23 : RUN ${MAKE} [2024-05-16T18:46:13.774Z] ---> Running in 377537a9cd26 [2024-05-16T18:46:14.037Z] 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-16T18:46:40.239Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-301 in /w/workspace/gexfoundry_device-sdk-go_PR-1573 [Pipeline] { [Pipeline] ws [2024-05-16T18:46:40.257Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-05-16T18:46:43.316Z] The recommended git tool is: git [2024-05-16T18:46:46.147Z] Removing intermediate container 377537a9cd26 [2024-05-16T18:46:46.147Z] ---> 098cbc06973e [2024-05-16T18:46:46.147Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T18:46:46.147Z] 3.18: Pulling from library/alpine [2024-05-16T18:46:46.147Z] 619be1103602: Already exists [2024-05-16T18:46:46.147Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T18:46:46.147Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T18:46:46.147Z] ---> d3782b16ccc9 [2024-05-16T18:46:46.147Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-16T18:46:46.147Z] ---> Running in 50a5a4442ef8 [2024-05-16T18:46:46.147Z] Removing intermediate container 50a5a4442ef8 [2024-05-16T18:46:46.147Z] ---> 0f435f2553ab [2024-05-16T18:46:46.147Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-16T18:46:46.147Z] ---> Running in 02f1f0e25c5b [2024-05-16T18:46:46.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:46.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:46.671Z] OK: 7 MiB in 15 packages [2024-05-16T18:46:47.238Z] Removing intermediate container 02f1f0e25c5b [2024-05-16T18:46:47.238Z] ---> 71f2ac00eab1 [2024-05-16T18:46:47.238Z] Step 14/23 : WORKDIR / [2024-05-16T18:46:47.238Z] ---> Running in 654a573100a6 [2024-05-16T18:46:47.238Z] Removing intermediate container 654a573100a6 [2024-05-16T18:46:47.238Z] ---> 34e889405d80 [2024-05-16T18:46:47.238Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-16T18:46:47.238Z] ---> 95b2bb8640ee [2024-05-16T18:46:47.238Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-16T18:46:48.736Z] using credential edgex-jenkins-ssh [2024-05-16T18:46:48.763Z] Cloning the remote Git repository [2024-05-16T18:46:49.143Z] ---> 97910533df08 [2024-05-16T18:46:49.143Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-16T18:46:49.143Z] ---> af1b3382642c [2024-05-16T18:46:49.143Z] Step 18/23 : EXPOSE 59999 [2024-05-16T18:46:49.143Z] ---> Running in 0290f95961ac [2024-05-16T18:46:49.143Z] Removing intermediate container 0290f95961ac [2024-05-16T18:46:49.143Z] ---> ed64ecd25b05 [2024-05-16T18:46:49.143Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-16T18:46:49.143Z] ---> Running in b83ff7f9c803 [2024-05-16T18:46:49.143Z] Removing intermediate container b83ff7f9c803 [2024-05-16T18:46:49.143Z] ---> a82ca6286f69 [2024-05-16T18:46:49.143Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T18:46:49.143Z] ---> Running in 8dfa90663318 [2024-05-16T18:46:49.143Z] Removing intermediate container 8dfa90663318 [2024-05-16T18:46:49.143Z] ---> a0b0cdc26ffb [2024-05-16T18:46:49.143Z] Step 21/23 : LABEL arch=amd64 [2024-05-16T18:46:49.143Z] ---> Running in a059dbff993d [2024-05-16T18:46:49.402Z] Removing intermediate container a059dbff993d [2024-05-16T18:46:49.402Z] ---> 1e4d537845a5 [2024-05-16T18:46:49.402Z] Step 22/23 : LABEL git_sha=24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [2024-05-16T18:46:49.402Z] ---> Running in fc47fba0d38f [2024-05-16T18:46:49.402Z] Removing intermediate container fc47fba0d38f [2024-05-16T18:46:49.402Z] ---> a0221789d54d [2024-05-16T18:46:49.402Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T18:46:49.402Z] ---> Running in 3a5bf53bdb39 [2024-05-16T18:46:49.402Z] Removing intermediate container 3a5bf53bdb39 [2024-05-16T18:46:49.402Z] ---> 5ac361078ccd [2024-05-16T18:46:49.402Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T18:46:49.402Z] Successfully built 5ac361078ccd [2024-05-16T18:46:49.402Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2024-05-16T18:46:48.815Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:46:48.922Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-05-16T18:46:49.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:46:49.106Z] > git --version # timeout=10 [2024-05-16T18:46:49.129Z] > git --version # 'git version 2.25.1' [2024-05-16T18:46:49.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:46:49.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:46:49.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:46:49.869Z] [2024-05-16T18:46:49.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:46:50.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:46:50.172Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T18:46:50.172Z] 5eb5b503b376: Pulling fs layer [2024-05-16T18:46:50.172Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T18:46:50.172Z] ec43610c2a17: Pulling fs layer [2024-05-16T18:46:50.172Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T18:46:50.172Z] 33b1e0a273af: Pulling fs layer [2024-05-16T18:46:50.172Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T18:46:50.172Z] 2f39f015ded8: Pulling fs layer [2024-05-16T18:46:50.172Z] 33b1e0a273af: Waiting [2024-05-16T18:46:50.172Z] 5d3b04190fa2: Waiting [2024-05-16T18:46:50.172Z] 2f39f015ded8: Waiting [2024-05-16T18:46:50.172Z] 3a2ae6a8a46f: Waiting [2024-05-16T18:46:50.172Z] 5c69ac0246d0: Verifying Checksum [2024-05-16T18:46:50.172Z] 5c69ac0246d0: Download complete [2024-05-16T18:46:50.172Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-16T18:46:50.172Z] 3a2ae6a8a46f: Download complete [2024-05-16T18:46:50.172Z] 33b1e0a273af: Verifying Checksum [2024-05-16T18:46:50.172Z] 33b1e0a273af: Download complete [2024-05-16T18:46:50.172Z] ec43610c2a17: Verifying Checksum [2024-05-16T18:46:50.172Z] ec43610c2a17: Download complete [2024-05-16T18:46:50.172Z] 5d3b04190fa2: Download complete [2024-05-16T18:46:50.431Z] 5eb5b503b376: Download complete [2024-05-16T18:46:50.998Z] 2f39f015ded8: Download complete [2024-05-16T18:46:51.569Z] 5eb5b503b376: Pull complete [2024-05-16T18:46:51.569Z] 5c69ac0246d0: Pull complete [2024-05-16T18:46:52.135Z] ec43610c2a17: Pull complete [2024-05-16T18:46:52.135Z] 3a2ae6a8a46f: Pull complete [2024-05-16T18:46:52.393Z] 33b1e0a273af: Pull complete [2024-05-16T18:46:52.393Z] 5d3b04190fa2: Pull complete [2024-05-16T18:46:52.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-16T18:46:52.456Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:46:54.406Z] Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit c020589200711f14ff7174cb813a2f3d169bed73 [2024-05-16T18:46:54.831Z] Merge succeeded, producing 0d9a72bc2c8201cfa9f8bafea42b03c22ee61445 [2024-05-16T18:46:54.832Z] Checking out Revision 0d9a72bc2c8201cfa9f8bafea42b03c22ee61445 (PR-1573) [2024-05-16T18:46:53.735Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-16T18:46:53.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:46:53.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:46:53.832Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1573/head:refs/remotes/origin/PR-1573 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-16T18:46:54.424Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:46:54.504Z] > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 [2024-05-16T18:46:54.639Z] > git remote # timeout=10 [2024-05-16T18:46:54.659Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T18:46:54.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:46:54.698Z] > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [2024-05-16T18:46:54.807Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T18:46:54.836Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:46:54.854Z] > git checkout -f 0d9a72bc2c8201cfa9f8bafea42b03c22ee61445 # timeout=10 [2024-05-16T18:46:56.572Z] 2f39f015ded8: Pull complete [2024-05-16T18:46:56.572Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T18:46:56.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:46:56.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:46:56.687Z] prd-ubuntu20.04-docker-8c-8g-298 does not seem to be running inside a container [2024-05-16T18:46:56.715Z] $ 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-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-16T18:46:58.655Z] Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" [2024-05-16T18:46:58.655Z] First time build. Skipping changelog. [2024-05-16T18:46:59.762Z] [2024-05-16T18:46:59.762Z] GitHub has been notified of this commit’s build result [2024-05-16T18:46:59.762Z] [2024-05-16T18:47:00.014Z] $ docker top 3989bf772d571a7b75f0a48fc22f0ae0e229319188de1056b5b1a6e5be384bb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:47:00.410Z] ---> job-cost.sh [2024-05-16T18:47:00.410Z] lf-activate-venv: SKIPPING [2024-05-16T18:47:00.410Z] INFO: No Stack... [2024-05-16T18:47:00.669Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T18:47:00.790Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T18:47:00.790Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T18:47:00.790Z] Dload Upload Total Spent Left Speed [2024-05-16T18:47:00.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-05-16T18:47:01.140Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T18:47:01.237Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T18:47:01.484Z] + sudo tee /etc/docker/daemon.new [2024-05-16T18:47:01.484Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T18:47:01.484Z] { [2024-05-16T18:47:01.484Z] "registry-mirrors": [ [2024-05-16T18:47:01.484Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T18:47:01.484Z] ], [2024-05-16T18:47:01.484Z] "bip": "10.250.0.254/24", [2024-05-16T18:47:01.484Z] "hosts": [ [2024-05-16T18:47:01.484Z] "tcp://0.0.0.0:5555", [2024-05-16T18:47:01.484Z] "unix:///var/run/docker.sock" [2024-05-16T18:47:01.484Z] ], [2024-05-16T18:47:01.484Z] "mtu": 1458, [2024-05-16T18:47:01.484Z] "selinux-enabled": true, [2024-05-16T18:47:01.484Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T18:47:01.484Z] } [Pipeline] sh [2024-05-16T18:47:01.524Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/cost.csv [2024-05-16T18:47:01.524Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T18:47:01.585Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] [2024-05-16T18:47:01.592Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] did not exist. Created. [2024-05-16T18:47:01.598Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T18:47:01.838Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-16T18:47:01.908Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T18:47:01.947Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T18:47:01.955Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T18:47:01.988Z] $ docker stop --time=1 3989bf772d571a7b75f0a48fc22f0ae0e229319188de1056b5b1a6e5be384bb4 [2024-05-16T18:47:02.187Z] + sudo service docker restart [2024-05-16T18:47:03.145Z] $ docker rm -f --volumes 3989bf772d571a7b75f0a48fc22f0ae0e229319188de1056b5b1a6e5be384bb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:47:20.470Z] provisioning config files... [2024-05-16T18:47:20.505Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7408346680016231346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:47:20.975Z] ---> ****-login.sh [2024-05-16T18:47:20.975Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:47:21.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:47:21.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:47:21.564Z] Configure a credential helper to remove this warning. See [2024-05-16T18:47:21.564Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:47:21.564Z] [2024-05-16T18:47:21.564Z] Login Succeeded [2024-05-16T18:47:21.564Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:47:21.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:47:22.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:47:22.107Z] Configure a credential helper to remove this warning. See [2024-05-16T18:47:22.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:47:22.108Z] [2024-05-16T18:47:22.108Z] Login Succeeded [2024-05-16T18:47:22.108Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:47:22.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:47:22.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:47:22.381Z] Configure a credential helper to remove this warning. See [2024-05-16T18:47:22.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:47:22.381Z] [2024-05-16T18:47:22.381Z] Login Succeeded [2024-05-16T18:47:22.381Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:47:22.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:47:22.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:47:22.653Z] Configure a credential helper to remove this warning. See [2024-05-16T18:47:22.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:47:22.653Z] [2024-05-16T18:47:22.653Z] Login Succeeded [2024-05-16T18:47:22.653Z] ****.io [2024-05-16T18:47:22.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:47:23.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:47:23.192Z] Configure a credential helper to remove this warning. See [2024-05-16T18:47:23.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:47:23.192Z] [2024-05-16T18:47:23.192Z] Login Succeeded [2024-05-16T18:47:23.192Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:47:23.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:47:23.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:47:23.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:47:23.618Z] ========================================================= [2024-05-16T18:47:23.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T18:47:23.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:47:23.983Z] + 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-16T18:47:24.664Z] Sending build context to Docker daemon 13.27MB [2024-05-16T18:47:24.664Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:47:24.664Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T18:47:24.664Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T18:47:24.664Z] c6b39de5b339: Pulling fs layer [2024-05-16T18:47:24.664Z] a69c41024577: Pulling fs layer [2024-05-16T18:47:24.664Z] d6de4b400683: Pulling fs layer [2024-05-16T18:47:24.664Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T18:47:24.664Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:47:24.664Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T18:47:24.664Z] 00f215d4a9da: Pulling fs layer [2024-05-16T18:47:24.664Z] d496ad576159: Pulling fs layer [2024-05-16T18:47:24.664Z] 4f4fb700ef54: Waiting [2024-05-16T18:47:24.664Z] 464afbd9ba4c: Waiting [2024-05-16T18:47:24.664Z] 00f215d4a9da: Waiting [2024-05-16T18:47:24.664Z] d496ad576159: Waiting [2024-05-16T18:47:24.664Z] 35cb2a7552d0: Waiting [2024-05-16T18:47:24.938Z] a69c41024577: Download complete [2024-05-16T18:47:24.938Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T18:47:24.938Z] 35cb2a7552d0: Download complete [2024-05-16T18:47:24.938Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:47:24.938Z] 4f4fb700ef54: Download complete [2024-05-16T18:47:24.938Z] 464afbd9ba4c: Verifying Checksum [2024-05-16T18:47:24.938Z] 464afbd9ba4c: Download complete [2024-05-16T18:47:24.938Z] c6b39de5b339: Download complete [2024-05-16T18:47:25.205Z] d496ad576159: Verifying Checksum [2024-05-16T18:47:25.205Z] d496ad576159: Download complete [2024-05-16T18:47:25.789Z] c6b39de5b339: Pull complete [2024-05-16T18:47:26.378Z] a69c41024577: Pull complete [2024-05-16T18:47:26.647Z] d6de4b400683: Verifying Checksum [2024-05-16T18:47:26.647Z] d6de4b400683: Download complete [2024-05-16T18:47:27.613Z] 00f215d4a9da: Verifying Checksum [2024-05-16T18:47:27.613Z] 00f215d4a9da: Download complete [2024-05-16T18:47:39.935Z] d6de4b400683: Pull complete [2024-05-16T18:47:40.203Z] 35cb2a7552d0: Pull complete [2024-05-16T18:47:40.470Z] 4f4fb700ef54: Pull complete [2024-05-16T18:47:40.749Z] 464afbd9ba4c: Pull complete [2024-05-16T18:47:48.959Z] 00f215d4a9da: Pull complete [2024-05-16T18:47:50.369Z] d496ad576159: Pull complete [2024-05-16T18:47:50.369Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T18:47:50.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T18:47:50.369Z] ---> f246e2811388 [2024-05-16T18:47:50.369Z] Step 3/10 : ARG MAKE=make build [2024-05-16T18:47:52.324Z] ---> Running in 1b28ba05937d [2024-05-16T18:47:52.591Z] Removing intermediate container 1b28ba05937d [2024-05-16T18:47:52.591Z] ---> e8d799cddd6e [2024-05-16T18:47:52.591Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-16T18:47:52.591Z] ---> Running in 4e71d7abf2e8 [2024-05-16T18:47:52.860Z] Removing intermediate container 4e71d7abf2e8 [2024-05-16T18:47:52.860Z] ---> 340fba41826c [2024-05-16T18:47:52.860Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:47:52.860Z] ---> Running in b5afde69c7b8 [2024-05-16T18:47:53.130Z] Removing intermediate container b5afde69c7b8 [2024-05-16T18:47:53.130Z] ---> db57eb7058bb [2024-05-16T18:47:53.130Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-16T18:47:53.396Z] ---> Running in 80697c08c1dd [2024-05-16T18:47:54.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T18:47:54.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T18:47:55.831Z] OK: 266 MiB in 52 packages [2024-05-16T18:47:56.798Z] Removing intermediate container 80697c08c1dd [2024-05-16T18:47:56.799Z] ---> 941b37dd9f32 [2024-05-16T18:47:56.799Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T18:47:57.390Z] ---> 4e0c01c46568 [2024-05-16T18:47:57.390Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:47:57.390Z] ---> Running in fb390d506992 [2024-05-16T18:49:49.115Z] Removing intermediate container fb390d506992 [2024-05-16T18:49:49.115Z] ---> 086546d7f829 [2024-05-16T18:49:49.115Z] Step 9/10 : COPY . . [2024-05-16T18:49:49.115Z] ---> 377d250ff54a [2024-05-16T18:49:49.115Z] Step 10/10 : RUN ${MAKE} [2024-05-16T18:49:49.115Z] ---> Running in e96f5517ec41 [2024-05-16T18:49:50.096Z] noop [2024-05-16T18:49:50.693Z] Removing intermediate container e96f5517ec41 [2024-05-16T18:49:50.693Z] ---> 87df117b3545 [2024-05-16T18:49:50.962Z] Successfully built 87df117b3545 [2024-05-16T18:49:50.962Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:49:51.339Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:49:51.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:49:51.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-301 does not seem to be running inside a container [2024-05-16T18:49:51.664Z] $ 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 ******** ci-base-image-arm64 cat [2024-05-16T18:49:52.918Z] $ docker top bbf9abb9c4adef902a35ae7ce84fa521be252edb000d5c708d82ce06696f3e91 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:49:53.803Z] + go version [2024-05-16T18:49:53.803Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T18:49:53.821Z] $ docker stop --time=1 bbf9abb9c4adef902a35ae7ce84fa521be252edb000d5c708d82ce06696f3e91 [2024-05-16T18:49:55.475Z] $ docker rm -f --volumes bbf9abb9c4adef902a35ae7ce84fa521be252edb000d5c708d82ce06696f3e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:49:56.099Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:49:56.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:49:56.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-301 does not seem to be running inside a container [2024-05-16T18:49:56.386Z] $ 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 ******** ci-base-image-arm64 cat [2024-05-16T18:49:57.638Z] $ docker top 434127ccf2ed2667f3e3a21866f3a4976647d0e2d77f8f12bb234e36293367fe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:49:58.524Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:49:59.184Z] + make test [2024-05-16T18:49:59.184Z] go test -race -coverprofile=coverage.out ./... [2024-05-16T18:50:55.628Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-16T18:54:32.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-16T18:54:32.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-16T18:54:32.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-16T18:54:32.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-16T18:54:32.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-16T18:54:40.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.256s coverage: 27.6% of statements [2024-05-16T18:54:45.108Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.313s coverage: 81.5% of statements [2024-05-16T18:54:53.344Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-16T18:54:53.344Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-16T18:54:53.930Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.509s coverage: 86.0% of statements [2024-05-16T18:54:59.314Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-16T18:55:00.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.716s coverage: 71.8% of statements [2024-05-16T18:55:04.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.322s coverage: 14.4% of statements [2024-05-16T18:55:04.572Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.809s coverage: 45.9% of statements [2024-05-16T18:55:07.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-16T18:55:07.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-16T18:55:08.603Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.751s coverage: 68.5% of statements [2024-05-16T18:55:10.550Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.554s coverage: 89.2% of statements [2024-05-16T18:55:17.199Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-16T18:55:18.613Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.401s coverage: 5.5% of statements [2024-05-16T18:55:20.024Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T18:55:20.024Z] GO111MODULE=on go vet ./... [2024-05-16T18:59:41.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T18:59:41.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T18:59:41.886Z] ./bin/test-attribution-txt.sh [2024-05-16T18:59:41.886Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T18:59:41.886Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T18:59:41.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T18:59:41.924Z] $ docker stop --time=1 434127ccf2ed2667f3e3a21866f3a4976647d0e2d77f8f12bb234e36293367fe [2024-05-16T18:59:43.944Z] $ docker rm -f --volumes 434127ccf2ed2667f3e3a21866f3a4976647d0e2d77f8f12bb234e36293367fe [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:59:46.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T18:59:46.523Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T18:59:47.193Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:59:47.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T18:59:47.931Z] + ls -al . [2024-05-16T18:59:47.931Z] total 372 [2024-05-16T18:59:47.931Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 18:50 . [2024-05-16T18:59:47.931Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:46 .. [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:46 .dockerignore [2024-05-16T18:59:47.931Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:46 .git [2024-05-16T18:59:47.931Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:46 .github [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 137 May 16 18:46 .gitignore [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:46 .golangci.yml [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 16 18:46 CHANGELOG.md [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:46 GOVERNANCE.md [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 885 May 16 18:46 Jenkinsfile [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 16 18:46 LICENSE [2024-05-16T18:59:47.931Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 16 18:46 Makefile [2024-05-16T18:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 619 May 16 18:46 OWNERS.md [2024-05-16T18:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 16 18:46 README.md [2024-05-16T18:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:43 VERSION [2024-05-16T18:59:47.932Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:46 bin [2024-05-16T18:59:47.932Z] -rw-r--r-- 1 jenkins jenkins 122155 May 16 18:55 coverage.out [2024-05-16T18:59:47.932Z] drwxrwxr-x 5 jenkins jenkins 4096 May 16 18:46 example [2024-05-16T18:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 7070 May 16 18:46 go.mod [2024-05-16T18:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 101288 May 16 18:46 go.sum [2024-05-16T18:59:47.932Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 internal [2024-05-16T18:59:47.932Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:46 openapi [2024-05-16T18:59:47.932Z] drwxrwxr-x 6 jenkins jenkins 4096 May 16 18:46 pkg [2024-05-16T18:59:47.932Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:46 snap [2024-05-16T18:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 222 May 16 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:59:48.305Z] + 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=0d9a72bc2c8201cfa9f8bafea42b03c22ee61445 --label arch=arm64 --label version=0.0.0 . [2024-05-16T18:59:48.888Z] Sending build context to Docker daemon 13.4MB [2024-05-16T18:59:48.888Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:59:48.888Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T18:59:48.888Z] ---> 87df117b3545 [2024-05-16T18:59:48.888Z] Step 3/23 : ARG MAKE=make build [2024-05-16T18:59:49.159Z] ---> Running in d8a16cef70c9 [2024-05-16T18:59:49.431Z] Removing intermediate container d8a16cef70c9 [2024-05-16T18:59:49.431Z] ---> df0e8f10dbc8 [2024-05-16T18:59:49.431Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-16T18:59:49.431Z] ---> Running in ebaf82853f32 [2024-05-16T18:59:50.014Z] Removing intermediate container ebaf82853f32 [2024-05-16T18:59:50.014Z] ---> cc141e492d2c [2024-05-16T18:59:50.014Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:59:50.014Z] ---> Running in c2ac88450836 [2024-05-16T18:59:50.280Z] Removing intermediate container c2ac88450836 [2024-05-16T18:59:50.280Z] ---> 743f432c26b1 [2024-05-16T18:59:50.280Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-16T18:59:50.280Z] ---> Running in a308ed3a7269 [2024-05-16T18:59:51.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T18:59:51.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T18:59:53.225Z] OK: 266 MiB in 52 packages [2024-05-16T18:59:53.809Z] Removing intermediate container a308ed3a7269 [2024-05-16T18:59:53.809Z] ---> d244c3ce57cd [2024-05-16T18:59:53.809Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T18:59:54.401Z] ---> 82be113296a4 [2024-05-16T18:59:54.401Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:59:54.673Z] ---> Running in 87a106f7f958 [2024-05-16T18:59:57.253Z] Removing intermediate container 87a106f7f958 [2024-05-16T18:59:57.253Z] ---> 6ae730288245 [2024-05-16T18:59:57.253Z] Step 9/23 : COPY . . [2024-05-16T18:59:58.659Z] ---> 93d5d4529b75 [2024-05-16T18:59:58.659Z] Step 10/23 : RUN ${MAKE} [2024-05-16T18:59:58.659Z] ---> Running in 340981466fe7 [2024-05-16T18:59:59.619Z] 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-16T19:04:06.491Z] Removing intermediate container 340981466fe7 [2024-05-16T19:04:06.491Z] ---> 3c96a525420d [2024-05-16T19:04:06.491Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T19:04:06.491Z] 3.18: Pulling from library/alpine [2024-05-16T19:04:06.491Z] c6b39de5b339: Already exists [2024-05-16T19:04:06.491Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T19:04:06.491Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T19:04:06.491Z] ---> 33abbf032149 [2024-05-16T19:04:06.491Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-16T19:04:06.491Z] ---> Running in 0636f660149a [2024-05-16T19:04:06.491Z] Removing intermediate container 0636f660149a [2024-05-16T19:04:06.491Z] ---> 9bf6f5176087 [2024-05-16T19:04:06.491Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-16T19:04:06.491Z] ---> Running in 10c9840213ef [2024-05-16T19:04:06.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T19:04:06.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T19:04:06.491Z] OK: 8 MiB in 15 packages [2024-05-16T19:04:06.491Z] Removing intermediate container 10c9840213ef [2024-05-16T19:04:06.491Z] ---> 3f6530f51b15 [2024-05-16T19:04:06.491Z] Step 14/23 : WORKDIR / [2024-05-16T19:04:06.491Z] ---> Running in 789e2bcecfde [2024-05-16T19:04:06.491Z] Removing intermediate container 789e2bcecfde [2024-05-16T19:04:06.491Z] ---> dee1821adecd [2024-05-16T19:04:06.491Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-16T19:04:06.491Z] ---> 145f599728fb [2024-05-16T19:04:06.491Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-16T19:04:06.491Z] ---> be87bee1b966 [2024-05-16T19:04:06.491Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-16T19:04:06.491Z] ---> 8fca21a33b36 [2024-05-16T19:04:06.491Z] Step 18/23 : EXPOSE 59999 [2024-05-16T19:04:06.491Z] ---> Running in 7a927163aa01 [2024-05-16T19:04:06.491Z] Removing intermediate container 7a927163aa01 [2024-05-16T19:04:06.491Z] ---> 0a3a2883d570 [2024-05-16T19:04:06.491Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-16T19:04:06.491Z] ---> Running in 4950fe1baafe [2024-05-16T19:04:06.491Z] Removing intermediate container 4950fe1baafe [2024-05-16T19:04:06.491Z] ---> c1e2afe47fbe [2024-05-16T19:04:06.491Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T19:04:06.491Z] ---> Running in 44bcd59ec310 [2024-05-16T19:04:06.491Z] Removing intermediate container 44bcd59ec310 [2024-05-16T19:04:06.491Z] ---> cbb82d0602cc [2024-05-16T19:04:06.491Z] Step 21/23 : LABEL arch=arm64 [2024-05-16T19:04:06.491Z] ---> Running in a122340e6f13 [2024-05-16T19:04:06.491Z] Removing intermediate container a122340e6f13 [2024-05-16T19:04:06.491Z] ---> cd376dd750c8 [2024-05-16T19:04:06.491Z] Step 22/23 : LABEL git_sha=0d9a72bc2c8201cfa9f8bafea42b03c22ee61445 [2024-05-16T19:04:06.491Z] ---> Running in 56faed7ef459 [2024-05-16T19:04:06.757Z] Removing intermediate container 56faed7ef459 [2024-05-16T19:04:06.758Z] ---> 7dd857a5ac57 [2024-05-16T19:04:06.758Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T19:04:06.758Z] ---> Running in a791695ce26b [2024-05-16T19:04:07.024Z] Removing intermediate container a791695ce26b [2024-05-16T19:04:07.024Z] ---> 9f5d4cd41088 [2024-05-16T19:04:07.024Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T19:04:07.290Z] Successfully built 9f5d4cd41088 [2024-05-16T19:04:07.290Z] 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-16T19:04:07.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:04:07.768Z] [2024-05-16T19:04:07.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:04:08.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:04:08.102Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T19:04:08.102Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T19:04:08.102Z] 04944245beec: Pulling fs layer [2024-05-16T19:04:08.102Z] 699f458cf7ca: Pulling fs layer [2024-05-16T19:04:08.102Z] 765212b225bb: Pulling fs layer [2024-05-16T19:04:08.102Z] f23df028b6ca: Pulling fs layer [2024-05-16T19:04:08.102Z] 765212b225bb: Waiting [2024-05-16T19:04:08.102Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T19:04:08.102Z] f23df028b6ca: Waiting [2024-05-16T19:04:08.102Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T19:04:08.102Z] d65c8cfc05b1: Waiting [2024-05-16T19:04:08.371Z] 04944245beec: Verifying Checksum [2024-05-16T19:04:08.371Z] 04944245beec: Download complete [2024-05-16T19:04:08.371Z] 765212b225bb: Verifying Checksum [2024-05-16T19:04:08.371Z] 765212b225bb: Download complete [2024-05-16T19:04:08.371Z] f23df028b6ca: Verifying Checksum [2024-05-16T19:04:08.371Z] f23df028b6ca: Download complete [2024-05-16T19:04:08.371Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T19:04:08.371Z] d65c8cfc05b1: Download complete [2024-05-16T19:04:08.638Z] 699f458cf7ca: Verifying Checksum [2024-05-16T19:04:08.638Z] 699f458cf7ca: Download complete [2024-05-16T19:04:08.905Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T19:04:08.905Z] 8998bd30e6a1: Download complete [2024-05-16T19:04:11.484Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T19:04:11.484Z] 2437ff75d9bd: Download complete [2024-05-16T19:04:13.421Z] 8998bd30e6a1: Pull complete [2024-05-16T19:04:14.001Z] 04944245beec: Pull complete [2024-05-16T19:04:15.941Z] 699f458cf7ca: Pull complete [2024-05-16T19:04:15.941Z] 765212b225bb: Pull complete [2024-05-16T19:04:16.520Z] f23df028b6ca: Pull complete [2024-05-16T19:04:16.786Z] d65c8cfc05b1: Pull complete [2024-05-16T19:04:34.977Z] 2437ff75d9bd: Pull complete [2024-05-16T19:04:34.977Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T19:04:34.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:04:34.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T19:04:35.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-301 does not seem to be running inside a container [2024-05-16T19:04:35.246Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-16T19:04:38.273Z] $ docker top b7afc3b72b0fb152148b321b532f2aed2022ae6e53c508158dbd9ea6c60f24d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:39.177Z] ---> job-cost.sh [2024-05-16T19:04:39.178Z] lf-activate-venv: SKIPPING [2024-05-16T19:04:39.178Z] INFO: No Stack... [2024-05-16T19:04:39.764Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T19:04:40.358Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T19:04:41.270Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-05-16T19:04:41.270Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T19:04:41.330Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] [2024-05-16T19:04:41.339Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] did not exist. Created. [2024-05-16T19:04:41.345Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T19:04:42.006Z] /w/workspace/device-sdk-go/2@tmp/durable-328fe165/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T19:04:42.644Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T19:04:42.669Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T19:04:42.761Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T19:04:42.770Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1573-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T19:04:42.795Z] $ docker stop --time=1 b7afc3b72b0fb152148b321b532f2aed2022ae6e53c508158dbd9ea6c60f24d4 [2024-05-16T19:04:44.322Z] $ docker rm -f --volumes b7afc3b72b0fb152148b321b532f2aed2022ae6e53c508158dbd9ea6c60f24d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-05-16T19:04:44.755Z] provisioning config files... [2024-05-16T19:04:44.775Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config10144892548070747369tmp [Pipeline] { [Pipeline] sh [2024-05-16T19:04:45.126Z] + set +x [2024-05-16T19:04:45.126Z] + curl -s https://codecov.io/bash [2024-05-16T19:04:45.126Z] + bash -s -- [2024-05-16T19:04:45.126Z] [2024-05-16T19:04:45.126Z] _____ _ [2024-05-16T19:04:45.126Z] / ____| | | [2024-05-16T19:04:45.126Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T19:04:45.126Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T19:04:45.126Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T19:04:45.126Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T19:04:45.126Z] Bash-1.0.6 [2024-05-16T19:04:45.126Z] [2024-05-16T19:04:45.126Z] [2024-05-16T19:04:45.126Z] ==> git version 2.25.1 found [2024-05-16T19:04:45.126Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-05-16T19:04:45.126Z] Release-Date: 2020-01-08 [2024-05-16T19:04:45.126Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-16T19:04:45.126Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T19:04:45.126Z] ==> Jenkins CI detected. [2024-05-16T19:04:45.126Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1573 [2024-05-16T19:04:45.126Z] project root: . [2024-05-16T19:04:45.126Z] --> token set from env [2024-05-16T19:04:45.126Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T19:04:45.126Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T19:04:45.126Z] ==> Python coveragepy not found [2024-05-16T19:04:45.126Z] ==> Searching for coverage reports in: [2024-05-16T19:04:45.126Z] + . [2024-05-16T19:04:45.126Z] -> Found 1 reports [2024-05-16T19:04:45.126Z] ==> Detecting git/mercurial file structure [2024-05-16T19:04:45.126Z] ==> Reading reports [2024-05-16T19:04:45.126Z] + ./coverage.out bytes=122155 [2024-05-16T19:04:45.126Z] ==> Appending adjustments [2024-05-16T19:04:45.126Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T19:04:45.432Z] + Found adjustments [2024-05-16T19:04:45.432Z] ==> Gzipping contents [2024-05-16T19:04:45.696Z] 20K /tmp/codecov.qr0aOc.gz [2024-05-16T19:04:45.697Z] ==> Uploading reports [2024-05-16T19:04:45.697Z] url: https://codecov.io [2024-05-16T19:04:45.697Z] query: branch=PR-1573&commit=24b2f0f0b132b784ed2abb12444ee236b7c9ccbc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1573%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1573&job=&cmd_args= [2024-05-16T19:04:45.697Z] -> Pinging Codecov [2024-05-16T19:04:45.697Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1573&commit=24b2f0f0b132b784ed2abb12444ee236b7c9ccbc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1573%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1573&job=&cmd_args= [2024-05-16T19:04:45.697Z] -> Uploading to [2024-05-16T19:04:45.697Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-16/7E55EF52A471D76F132DFD9A03CDDE97/24b2f0f0b132b784ed2abb12444ee236b7c9ccbc/f100bb58-2068-4dfb-bc2b-f097342113bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T190445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1df69693c3a93752268b701cad16b1b3c0027e8ada6fecd23025b2482e0b51c6 [2024-05-16T19:04:45.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T19:04:45.697Z] Dload Upload Total Spent Left Speed [2024-05-16T19:04:45.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16748 0 0 100 16748 0 66725 --:--:-- --:--:-- --:--:-- 66725 [2024-05-16T19:04:45.956Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/24b2f0f0b132b784ed2abb12444ee236b7c9ccbc [Pipeline] } [2024-05-16T19:04:45.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-16T19:04:46.795Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives ] [2024-05-16T19:04:46.796Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives [2024-05-16T19:04:46.796Z] total 16 [2024-05-16T19:04:46.796Z] drwxr-xr-x 3 root root 4096 May 16 18:47 . [2024-05-16T19:04:46.796Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:47 .. [2024-05-16T19:04:46.796Z] drwxr-xr-x 2 root root 4096 May 16 18:47 cost [2024-05-16T19:04:46.796Z] -rw-r--r-- 1 root root 86 May 16 18:47 cost.csv [2024-05-16T19:04:46.796Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives [2024-05-16T19:04:46.796Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives [2024-05-16T19:04:46.796Z] total 16 [2024-05-16T19:04:46.796Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:47 . [2024-05-16T19:04:46.796Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:47 .. [2024-05-16T19:04:46.796Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:47 cost [2024-05-16T19:04:46.796Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:47.082Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:47.943Z] ---> package-listing.sh [2024-05-16T19:04:47.943Z] ++ facter osfamily [2024-05-16T19:04:47.943Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T19:04:48.202Z] + OS_FAMILY=debian [2024-05-16T19:04:48.202Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1573 [2024-05-16T19:04:48.202Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T19:04:48.202Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T19:04:48.202Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T19:04:48.202Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T19:04:48.202Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1573 ']' [2024-05-16T19:04:48.202Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T19:04:48.202Z] + case "${OS_FAMILY}" in [2024-05-16T19:04:48.202Z] + dpkg -l [2024-05-16T19:04:48.202Z] + grep '^ii' [2024-05-16T19:04:48.202Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T19:04:48.202Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T19:04:48.202Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T19:04:48.202Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1573 ']' [2024-05-16T19:04:48.202Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/ [2024-05-16T19:04:48.202Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/ [Pipeline] echo [2024-05-16T19:04:48.210Z] 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-1573/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-16T19:04:48.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:04:49.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T19:04:49.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T19:04:49.151Z] prd-ubuntu20.04-docker-8c-8g-298 does not seem to be running inside a container [2024-05-16T19:04:49.181Z] $ 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-1573/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-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@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-lftools-log-publisher:latest cat [2024-05-16T19:04:49.381Z] $ docker top b9765db610f3e6f74504ddc1ed9f040ef6e3fd36f65d7b568c4141572ecc4513 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T19:04:49.743Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T19:04:50.032Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T19:04:50.322Z] + ls /var/log/sa-host [2024-05-16T19:04:50.322Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T19:04:50.398Z] provisioning config files... [2024-05-16T19:04:50.407Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config763288196953461016tmp [Pipeline] { [Pipeline] echo [2024-05-16T19:04:50.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:50.715Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T19:04:50.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:51.052Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T19:04:51.062Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:51.346Z] ---> sudo-logs.sh [2024-05-16T19:04:51.346Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T19:04:51.379Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:51.666Z] ---> job-cost.sh [2024-05-16T19:04:51.666Z] lf-activate-venv: SKIPPING [2024-05-16T19:04:51.666Z] DEBUG: total: 0.2199999988079071 [2024-05-16T19:04:51.666Z] INFO: Retrieving Stack Cost... [2024-05-16T19:04:52.236Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T19:04:52.495Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T19:04:52.508Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:52.793Z] ---> logs-deploy.sh [2024-05-16T19:04:52.793Z] lf-activate-venv: SKIPPING [2024-05-16T19:04:52.793Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1573/2 [2024-05-16T19:04:52.793Z] INFO: archiving workspace using pattern(s): [2024-05-16T19:04:53.746Z] Archives upload complete. [2024-05-16T19:04:54.007Z] INFO: archiving logs to Nexus