Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 (c2527aa9ec120a050a81ab821a49841872776309) 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-ssh10962955526464961387.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-ssh9824524790686656816.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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2693232229238731640.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-ssh581821312267569463.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2732432782071496132.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-5269 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing bec460a3b3b75a283f70f76261ca2cf91e41fc17 Checking out Revision bec460a3b3b75a283f70f76261ca2cf91e41fc17 (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bec460a3b3b75a283f70f76261ca2cf91e41fc17 # timeout=10 Commit message: "Merge commit 'f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 28fff03a21efc2383ece406034a1638be118866e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-08T18:41:54.020Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-08T18:41:54.101Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-08T18:41:54.124Z] ========================================================= [2024-03-08T18:41:54.124Z] EdgeX Global Pipelines Version Info [2024-03-08T18:41:54.124Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:41:54.947Z] ------------------- [2024-03-08T18:41:54.947Z] stable info: [2024-03-08T18:41:54.947Z] ------------------- [2024-03-08T18:41:54.947Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-08T18:41:54.947Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-08T18:41:54.947Z] Message: update stable to v1.0.258 [2024-03-08T18:41:55.519Z] ------------------- [2024-03-08T18:41:55.519Z] experimental info: [2024-03-08T18:41:55.519Z] ------------------- [2024-03-08T18:41:55.519Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-08T18:41:55.519Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-08T18:41:55.519Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-08T18:41:55.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-08T18:41:55.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-08T18:41:55.665Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-08T18:41:55.691Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-08T18:41:55.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-08T18:41:55.747Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-08T18:41:55.776Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-08T18:41:55.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-08T18:41:55.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-08T18:41:55.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-08T18:41:55.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-08T18:41:55.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-08T18:41:55.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-08T18:41:55.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-08T18:41:56.015Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-08T18:41:56.044Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T18:41:56.070Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T18:41:56.101Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T18:41:56.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-08T18:41:56.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-08T18:41:56.207Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-08T18:41:56.243Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-08T18:41:56.282Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-08T18:41:56.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-08T18:41:56.355Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-08T18:41:56.391Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-08T18:41:56.430Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-08T18:41:56.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2024-03-08T18:41:56.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2024-03-08T18:41:56.552Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2024-03-08T18:41:56.593Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bec460a3b3b75a283f70f76261ca2cf91e41fc17 [Pipeline] echo [2024-03-08T18:41:56.633Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bec460a [Pipeline] echo [2024-03-08T18:41:56.675Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T18:41:56.770Z] provisioning config files... [2024-03-08T18:41:56.784Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2544368447066036669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:41:57.133Z] ---> ****-login.sh [2024-03-08T18:41:57.133Z] nexus3.edgexfoundry.org:10001 [2024-03-08T18:41:57.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:41:57.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:41:57.965Z] Configure a credential helper to remove this warning. See [2024-03-08T18:41:57.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:41:57.965Z] [2024-03-08T18:41:57.965Z] Login Succeeded [2024-03-08T18:41:57.965Z] nexus3.edgexfoundry.org:10002 [2024-03-08T18:41:58.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:41:58.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:41:58.227Z] Configure a credential helper to remove this warning. See [2024-03-08T18:41:58.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:41:58.227Z] [2024-03-08T18:41:58.227Z] Login Succeeded [2024-03-08T18:41:58.227Z] nexus3.edgexfoundry.org:10003 [2024-03-08T18:41:58.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:41:58.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:41:58.227Z] Configure a credential helper to remove this warning. See [2024-03-08T18:41:58.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:41:58.227Z] [2024-03-08T18:41:58.227Z] Login Succeeded [2024-03-08T18:41:58.227Z] nexus3.edgexfoundry.org:10004 [2024-03-08T18:41:58.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:41:58.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:41:58.492Z] Configure a credential helper to remove this warning. See [2024-03-08T18:41:58.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:41:58.492Z] [2024-03-08T18:41:58.492Z] Login Succeeded [2024-03-08T18:41:58.492Z] ****.io [2024-03-08T18:41:58.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:41:58.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:41:58.755Z] Configure a credential helper to remove this warning. See [2024-03-08T18:41:58.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:41:58.755Z] [2024-03-08T18:41:58.755Z] Login Succeeded [2024-03-08T18:41:58.755Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T18:41:58.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-08T18:41:59.250Z] + git rev-list -1 --merges bec460a3b3b75a283f70f76261ca2cf91e41fc17~1..bec460a3b3b75a283f70f76261ca2cf91e41fc17 [Pipeline] echo [2024-03-08T18:41:59.282Z] -----------> git rev-list -1 --merges bec460a3b3b75a283f70f76261ca2cf91e41fc17~1..bec460a3b3b75a283f70f76261ca2cf91e41fc17 bec460a3b3b75a283f70f76261ca2cf91e41fc17 [2024-03-08T18:41:59.282Z] bec460a3b3b75a283f70f76261ca2cf91e41fc17 [false] [Pipeline] sh [2024-03-08T18:41:59.587Z] + git log --format=format:%s -1 bec460a3b3b75a283f70f76261ca2cf91e41fc17 [Pipeline] echo [2024-03-08T18:41:59.604Z] ========================================================= [2024-03-08T18:41:59.604Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-08T18:41:59.604Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T18:41:59.980Z] + git log --format=format:%s -1 bec460a3b3b75a283f70f76261ca2cf91e41fc17 [Pipeline] echo [2024-03-08T18:41:59.991Z] [semverPrep] GIT_COMMIT: bec460a3b3b75a283f70f76261ca2cf91e41fc17, Commit Message: Merge commit 'f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2' into HEAD [Pipeline] echo [2024-03-08T18:42:00.017Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-08T18:42:00.416Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-08T18:42:00.416Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-08T18:42:00.416Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-08T18:42:00.416Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-08T18:42:00.416Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-08T18:42:00.416Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-08T18:42:00.416Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:42:00.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T18:42:00.851Z] [2024-03-08T18:42:00.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:42:01.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T18:42:01.176Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-08T18:42:01.176Z] b85a868b505f: Pulling fs layer [2024-03-08T18:42:01.176Z] e2be974225ed: Pulling fs layer [2024-03-08T18:42:01.176Z] 339a4e72a1f5: Pulling fs layer [2024-03-08T18:42:01.176Z] 988bab9f4d93: Pulling fs layer [2024-03-08T18:42:01.176Z] 1469e6f7b9e6: Pulling fs layer [2024-03-08T18:42:01.176Z] eaf3925da568: Pulling fs layer [2024-03-08T18:42:01.176Z] bab4dde63d76: Pulling fs layer [2024-03-08T18:42:01.176Z] bde34c3a00c8: Pulling fs layer [2024-03-08T18:42:01.176Z] b352a97aabf1: Pulling fs layer [2024-03-08T18:42:01.176Z] 4872d77fe225: Pulling fs layer [2024-03-08T18:42:01.176Z] 5851b861e8e6: Pulling fs layer [2024-03-08T18:42:01.176Z] 988bab9f4d93: Waiting [2024-03-08T18:42:01.176Z] 1469e6f7b9e6: Waiting [2024-03-08T18:42:01.176Z] eaf3925da568: Waiting [2024-03-08T18:42:01.176Z] bab4dde63d76: Waiting [2024-03-08T18:42:01.176Z] bde34c3a00c8: Waiting [2024-03-08T18:42:01.176Z] b352a97aabf1: Waiting [2024-03-08T18:42:01.176Z] 4872d77fe225: Waiting [2024-03-08T18:42:01.176Z] 5851b861e8e6: Waiting [2024-03-08T18:42:01.436Z] e2be974225ed: Download complete [2024-03-08T18:42:01.436Z] 988bab9f4d93: Verifying Checksum [2024-03-08T18:42:01.436Z] 988bab9f4d93: Download complete [2024-03-08T18:42:01.436Z] 1469e6f7b9e6: Verifying Checksum [2024-03-08T18:42:01.436Z] 1469e6f7b9e6: Download complete [2024-03-08T18:42:01.436Z] 339a4e72a1f5: Verifying Checksum [2024-03-08T18:42:01.436Z] 339a4e72a1f5: Download complete [2024-03-08T18:42:01.436Z] eaf3925da568: Download complete [2024-03-08T18:42:01.436Z] bde34c3a00c8: Verifying Checksum [2024-03-08T18:42:01.436Z] bde34c3a00c8: Download complete [2024-03-08T18:42:01.436Z] b352a97aabf1: Download complete [2024-03-08T18:42:01.436Z] 4872d77fe225: Verifying Checksum [2024-03-08T18:42:01.436Z] 4872d77fe225: Download complete [2024-03-08T18:42:01.436Z] 5851b861e8e6: Verifying Checksum [2024-03-08T18:42:01.436Z] 5851b861e8e6: Download complete [2024-03-08T18:42:01.701Z] b85a868b505f: Verifying Checksum [2024-03-08T18:42:01.701Z] b85a868b505f: Download complete [2024-03-08T18:42:01.963Z] bab4dde63d76: Download complete [2024-03-08T18:42:02.906Z] b85a868b505f: Pull complete [2024-03-08T18:42:03.165Z] e2be974225ed: Pull complete [2024-03-08T18:42:04.106Z] 339a4e72a1f5: Pull complete [2024-03-08T18:42:04.106Z] 988bab9f4d93: Pull complete [2024-03-08T18:42:04.383Z] 1469e6f7b9e6: Pull complete [2024-03-08T18:42:04.656Z] eaf3925da568: Pull complete [2024-03-08T18:42:06.562Z] bab4dde63d76: Pull complete [2024-03-08T18:42:07.131Z] bde34c3a00c8: Pull complete [2024-03-08T18:42:07.391Z] b352a97aabf1: Pull complete [2024-03-08T18:42:07.651Z] 4872d77fe225: Pull complete [2024-03-08T18:42:07.911Z] 5851b861e8e6: Pull complete [2024-03-08T18:42:07.911Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-08T18:42:07.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T18:42:08.171Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:42:08.393Z] prd-ubuntu20.04-docker-8c-8g-5269 does not seem to be running inside a container [2024-03-08T18:42:08.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-08T18:42:13.310Z] $ docker top 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb -eo pid,comm [2024-03-08T18:42:13.399Z] 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-03-08T18:42:13.399Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-08T18:42:13.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-08T18:42:13.504Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-08T18:42:13.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-08T18:42:13.611Z] $ docker exec 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb ssh-agent [2024-03-08T18:42:13.725Z] SSH_AUTH_SOCK=/tmp/ssh-BuoCGYqcHWq1/agent.33 [2024-03-08T18:42:13.725Z] SSH_AGENT_PID=39 [2024-03-08T18:42:13.732Z] Running ssh-add (command line suppressed) [2024-03-08T18:42:13.823Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_10845833544488494316.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_10845833544488494316.key) [2024-03-08T18:42:13.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-08T18:42:14.152Z] + git tag --points-at HEAD [Pipeline] } [2024-03-08T18:42:14.162Z] $ docker exec --env ******** --env ******** 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb ssh-agent -k [2024-03-08T18:42:14.269Z] unset SSH_AUTH_SOCK; [2024-03-08T18:42:14.269Z] unset SSH_AGENT_PID; [2024-03-08T18:42:14.269Z] echo Agent pid 39 killed; [2024-03-08T18:42:14.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-08T18:42:14.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-08T18:42:14.356Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-08T18:42:14.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-08T18:42:14.468Z] $ docker exec 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb ssh-agent [2024-03-08T18:42:14.588Z] SSH_AUTH_SOCK=/tmp/ssh-OfwXfQxp8xn1/agent.71 [2024-03-08T18:42:14.588Z] SSH_AGENT_PID=77 [2024-03-08T18:42:14.593Z] Running ssh-add (command line suppressed) [2024-03-08T18:42:14.676Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_17304119266786575007.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_17304119266786575007.key) [2024-03-08T18:42:14.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-08T18:42:15.008Z] + git semver init [2024-03-08T18:42:15.268Z] 2024-03-08 18:42:15,183 [run_init] DEBUG init version:0.0.0 force:False [2024-03-08T18:42:15.268Z] 2024-03-08 18:42:15,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-03-08T18:42:15.268Z] 2024-03-08 18:42:15,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-03-08T18:42:15.268Z] 2024-03-08 18:42:15,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,452 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,453 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,453 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,456 [execute] INFO git cat-file --batch-check [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,462 [execute] INFO git cat-file --batch [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-03-08T18:42:16.647Z] 2024-03-08 18:42:16,468 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-03-08T18:42:16.647Z] 0.0.0 [Pipeline] } [2024-03-08T18:42:16.652Z] $ docker exec --env ******** --env ******** 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb ssh-agent -k [2024-03-08T18:42:16.745Z] unset SSH_AUTH_SOCK; [2024-03-08T18:42:16.746Z] unset SSH_AGENT_PID; [2024-03-08T18:42:16.746Z] echo Agent pid 77 killed; [2024-03-08T18:42:16.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-08T18:42:17.141Z] + git semver [Pipeline] } [2024-03-08T18:42:17.411Z] $ docker stop --time=1 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb [2024-03-08T18:42:19.008Z] $ docker rm -f --volumes 0201ece3468125c3a18c3c01de7186498f03a6f1cb2fc80fcefd0a135f02c0bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T18:42:19.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-08T18:42:19.695Z] Stashed 1 file(s) [Pipeline] echo [2024-03-08T18:42:19.698Z] [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-03-08T18:42:20.076Z] provisioning config files... [2024-03-08T18:42:20.088Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config3842705927041502790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:42:20.409Z] ---> ****-login.sh [2024-03-08T18:42:20.409Z] nexus3.edgexfoundry.org:10001 [2024-03-08T18:42:20.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:42:20.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:42:20.409Z] Configure a credential helper to remove this warning. See [2024-03-08T18:42:20.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:42:20.409Z] [2024-03-08T18:42:20.409Z] Login Succeeded [2024-03-08T18:42:20.409Z] nexus3.edgexfoundry.org:10002 [2024-03-08T18:42:20.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:42:20.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:42:20.409Z] Configure a credential helper to remove this warning. See [2024-03-08T18:42:20.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:42:20.409Z] [2024-03-08T18:42:20.409Z] Login Succeeded [2024-03-08T18:42:20.409Z] nexus3.edgexfoundry.org:10003 [2024-03-08T18:42:20.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:42:20.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:42:20.669Z] Configure a credential helper to remove this warning. See [2024-03-08T18:42:20.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:42:20.669Z] [2024-03-08T18:42:20.669Z] Login Succeeded [2024-03-08T18:42:20.669Z] nexus3.edgexfoundry.org:10004 [2024-03-08T18:42:20.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:42:20.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:42:20.670Z] Configure a credential helper to remove this warning. See [2024-03-08T18:42:20.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:42:20.670Z] [2024-03-08T18:42:20.670Z] Login Succeeded [2024-03-08T18:42:20.670Z] ****.io [2024-03-08T18:42:20.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:42:20.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:42:20.929Z] Configure a credential helper to remove this warning. See [2024-03-08T18:42:20.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:42:20.929Z] [2024-03-08T18:42:20.929Z] Login Succeeded [2024-03-08T18:42:20.929Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T18:42:20.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-08T18:42:21.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T18:42:21.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T18:42:21.155Z] ========================================================= [2024-03-08T18:42:21.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-08T18:42:21.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:42:21.624Z] + 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-03-08T18:42:21.624Z] Sending build context to Docker daemon 21.97MB [2024-03-08T18:42:21.624Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T18:42:21.624Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-08T18:42:21.883Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-08T18:42:21.883Z] 7264a8db6415: Pulling fs layer [2024-03-08T18:42:21.883Z] c4d48a809fc2: Pulling fs layer [2024-03-08T18:42:21.883Z] 4f1c88b9dad5: Pulling fs layer [2024-03-08T18:42:21.883Z] ad3a456e5733: Pulling fs layer [2024-03-08T18:42:21.883Z] 69c7f0334f64: Pulling fs layer [2024-03-08T18:42:21.883Z] 1f1c1a5573a3: Pulling fs layer [2024-03-08T18:42:21.883Z] ce7588e14bc9: Pulling fs layer [2024-03-08T18:42:21.883Z] 69c7f0334f64: Waiting [2024-03-08T18:42:21.883Z] 1f1c1a5573a3: Waiting [2024-03-08T18:42:21.883Z] ad3a456e5733: Waiting [2024-03-08T18:42:21.883Z] b5e4710f87ac: Pulling fs layer [2024-03-08T18:42:21.883Z] b5e4710f87ac: Waiting [2024-03-08T18:42:21.883Z] c4d48a809fc2: Download complete [2024-03-08T18:42:21.883Z] ad3a456e5733: Verifying Checksum [2024-03-08T18:42:21.883Z] ad3a456e5733: Download complete [2024-03-08T18:42:21.883Z] 69c7f0334f64: Verifying Checksum [2024-03-08T18:42:21.883Z] 69c7f0334f64: Download complete [2024-03-08T18:42:21.883Z] 7264a8db6415: Verifying Checksum [2024-03-08T18:42:21.883Z] 7264a8db6415: Download complete [2024-03-08T18:42:21.883Z] 1f1c1a5573a3: Verifying Checksum [2024-03-08T18:42:21.883Z] 1f1c1a5573a3: Download complete [2024-03-08T18:42:22.143Z] b5e4710f87ac: Verifying Checksum [2024-03-08T18:42:22.143Z] b5e4710f87ac: Download complete [2024-03-08T18:42:22.143Z] 7264a8db6415: Pull complete [2024-03-08T18:42:22.401Z] c4d48a809fc2: Pull complete [2024-03-08T18:42:22.401Z] 4f1c88b9dad5: Verifying Checksum [2024-03-08T18:42:22.401Z] 4f1c88b9dad5: Download complete [2024-03-08T18:42:22.660Z] ce7588e14bc9: Verifying Checksum [2024-03-08T18:42:22.660Z] ce7588e14bc9: Download complete [2024-03-08T18:42:25.958Z] 4f1c88b9dad5: Pull complete [2024-03-08T18:42:25.958Z] ad3a456e5733: Pull complete [2024-03-08T18:42:26.218Z] 69c7f0334f64: Pull complete [2024-03-08T18:42:26.478Z] 1f1c1a5573a3: Pull complete [2024-03-08T18:42:29.011Z] ce7588e14bc9: Pull complete [2024-03-08T18:42:29.579Z] b5e4710f87ac: Pull complete [2024-03-08T18:42:29.579Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-08T18:42:29.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-08T18:42:29.579Z] ---> 88b5674ff536 [2024-03-08T18:42:29.579Z] Step 3/10 : ARG MAKE=make build [2024-03-08T18:42:34.981Z] Still waiting to schedule task [2024-03-08T18:42:34.981Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-08T18:42:36.154Z] ---> Running in 1dfeb85992c6 [2024-03-08T18:42:36.154Z] Removing intermediate container 1dfeb85992c6 [2024-03-08T18:42:36.154Z] ---> 185a3a9482e3 [2024-03-08T18:42:36.154Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-08T18:42:36.154Z] ---> Running in 90fcfb29476a [2024-03-08T18:42:36.154Z] Removing intermediate container 90fcfb29476a [2024-03-08T18:42:36.154Z] ---> 880248ac01d5 [2024-03-08T18:42:36.154Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T18:42:36.154Z] ---> Running in 1fdf62cd7a65 [2024-03-08T18:42:36.154Z] Removing intermediate container 1fdf62cd7a65 [2024-03-08T18:42:36.154Z] ---> 6b9135b7fd5a [2024-03-08T18:42:36.154Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-08T18:42:36.154Z] ---> Running in 9893e4d3c127 [2024-03-08T18:42:36.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T18:42:36.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T18:42:36.413Z] OK: 264 MiB in 52 packages [2024-03-08T18:42:36.999Z] Removing intermediate container 9893e4d3c127 [2024-03-08T18:42:36.999Z] ---> 305fa9b7c33e [2024-03-08T18:42:36.999Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-08T18:42:37.259Z] ---> 3f0f32f66358 [2024-03-08T18:42:37.259Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T18:42:37.520Z] ---> Running in c48892fd4b84 [2024-03-08T18:43:16.278Z] Removing intermediate container c48892fd4b84 [2024-03-08T18:43:16.278Z] ---> 2e7e8abd4193 [2024-03-08T18:43:16.278Z] Step 9/10 : COPY . . [2024-03-08T18:43:16.278Z] ---> ee305f95e0eb [2024-03-08T18:43:16.278Z] Step 10/10 : RUN ${MAKE} [2024-03-08T18:43:16.278Z] ---> Running in e549162fad7c [2024-03-08T18:43:16.278Z] noop [2024-03-08T18:43:16.278Z] Removing intermediate container e549162fad7c [2024-03-08T18:43:16.278Z] ---> 78bea753e857 [2024-03-08T18:43:16.278Z] Successfully built 78bea753e857 [2024-03-08T18:43:16.278Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:43:16.658Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-08T18:43:16.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:43:16.789Z] prd-ubuntu20.04-docker-8c-8g-5269 does not seem to be running inside a container [2024-03-08T18:43:16.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-08T18:43:17.536Z] $ docker top 67a10a88acf61b89f8ee8f0e46caac3ad7142fd385cccdf157168716ddabb8b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T18:43:17.925Z] + go version [2024-03-08T18:43:17.925Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-08T18:43:17.931Z] $ docker stop --time=1 67a10a88acf61b89f8ee8f0e46caac3ad7142fd385cccdf157168716ddabb8b6 [2024-03-08T18:43:19.419Z] $ docker rm -f --volumes 67a10a88acf61b89f8ee8f0e46caac3ad7142fd385cccdf157168716ddabb8b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:43:20.071Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-08T18:43:20.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:43:20.189Z] prd-ubuntu20.04-docker-8c-8g-5269 does not seem to be running inside a container [2024-03-08T18:43:20.218Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-08T18:43:20.890Z] $ docker top a0850db7b404895c7f12d28f87d8507dba1bc30abb80509296c3ac49463c0102 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T18:43:21.294Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2024-03-08T18:43:21.610Z] + make test [2024-03-08T18:43:21.610Z] go test -race -coverprofile=coverage.out ./... [2024-03-08T18:43:29.735Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-08T18:43:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-08T18:43:42.515Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.046s coverage: 27.6% of statements [2024-03-08T18:43:42.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2024-03-08T18:43:42.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.059s coverage: 86.0% of statements [2024-03-08T18:43:42.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.066s coverage: 71.8% of statements [2024-03-08T18:43:43.032Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-08T18:43:43.032Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-08T18:43:43.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-08T18:43:46.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.061s coverage: 14.4% of statements [2024-03-08T18:43:46.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.955s coverage: 45.9% of statements [2024-03-08T18:43:46.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements [2024-03-08T18:43:46.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 89.2% of statements [2024-03-08T18:43:46.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.041s coverage: 5.5% of statements [2024-03-08T18:43:57.453Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5270 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2024-03-08T18:43:57.489Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2024-03-08T18:44:00.559Z] The recommended git tool is: git [2024-03-08T18:44:05.553Z] using credential edgex-jenkins-ssh [2024-03-08T18:44:05.579Z] Cloning the remote Git repository [2024-03-08T18:44:05.622Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-08T18:44:05.730Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2024-03-08T18:44:05.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-08T18:44:05.872Z] > git --version # timeout=10 [2024-03-08T18:44:05.893Z] > git --version # 'git version 2.25.1' [2024-03-08T18:44:05.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T18:44:06.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-08T18:44:08.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-08T18:44:08.359Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-08T18:44:09.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-08T18:44:09.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-08T18:44:09.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T18:44:09.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-08T18:44:09.960Z] Merging remotes/origin/main commit f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2024-03-08T18:44:10.334Z] Merge succeeded, producing 4c12de403e9af8da1f4c3acc8c9fc40b6c047593 [2024-03-08T18:44:10.335Z] Checking out Revision 4c12de403e9af8da1f4c3acc8c9fc40b6c047593 (PR-1540) [2024-03-08T18:44:09.972Z] > git config core.sparsecheckout # timeout=10 [2024-03-08T18:44:10.042Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2024-03-08T18:44:10.155Z] > git remote # timeout=10 [2024-03-08T18:44:10.175Z] > git config --get remote.origin.url # timeout=10 [2024-03-08T18:44:10.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T18:44:10.215Z] > git merge f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 [2024-03-08T18:44:10.307Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-08T18:44:10.334Z] > git config core.sparsecheckout # timeout=10 [2024-03-08T18:44:10.347Z] > git checkout -f 4c12de403e9af8da1f4c3acc8c9fc40b6c047593 # timeout=10 [2024-03-08T18:44:13.446Z] GO111MODULE=on go vet ./... [2024-03-08T18:44:13.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-08T18:44:13.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-08T18:44:13.446Z] ./bin/test-attribution-txt.sh [2024-03-08T18:44:13.446Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-08T18:44:13.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-08T18:44:13.566Z] $ docker stop --time=1 a0850db7b404895c7f12d28f87d8507dba1bc30abb80509296c3ac49463c0102 [2024-03-08T18:44:13.955Z] Commit message: "Merge commit 'f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2' into HEAD" [2024-03-08T18:44:13.981Z] First time build. Skipping changelog. [2024-03-08T18:44:13.956Z] > git rev-list --no-walk 28fff03a21efc2383ece406034a1638be118866e # timeout=10 [2024-03-08T18:44:17.659Z] $ docker rm -f --volumes a0850db7b404895c7f12d28f87d8507dba1bc30abb80509296c3ac49463c0102 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T18:44:18.245Z] + sudo chown -R jenkins:jenkins . [2024-03-08T18:44:18.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-08T18:44:18.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-08T18:44:18.742Z] Dload Upload Total Spent Left Speed [2024-03-08T18:44:18.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92287 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] stash [Pipeline] sh [2024-03-08T18:44:18.982Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-03-08T18:44:19.237Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh [2024-03-08T18:44:19.562Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-08T18:44:19.562Z] + sudo tee /etc/docker/daemon.new [2024-03-08T18:44:19.562Z] { [2024-03-08T18:44:19.562Z] "registry-mirrors": [ [2024-03-08T18:44:19.562Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-08T18:44:19.562Z] ], [2024-03-08T18:44:19.562Z] "bip": "10.250.0.254/24", [2024-03-08T18:44:19.562Z] "hosts": [ [2024-03-08T18:44:19.562Z] "tcp://0.0.0.0:5555", [2024-03-08T18:44:19.562Z] "unix:///var/run/docker.sock" [2024-03-08T18:44:19.562Z] ], [2024-03-08T18:44:19.562Z] "mtu": 1458, [2024-03-08T18:44:19.562Z] "selinux-enabled": true, [2024-03-08T18:44:19.562Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-08T18:44:19.562Z] } [Pipeline] sh [2024-03-08T18:44:19.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-08T18:44:19.914Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-08T18:44:20.103Z] + ls -al . [2024-03-08T18:44:20.103Z] total 308 [2024-03-08T18:44:20.103Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 18:43 . [2024-03-08T18:44:20.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:41 .. [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 18:41 .dockerignore [2024-03-08T18:44:20.103Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:43 .git [2024-03-08T18:44:20.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:41 .github [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 8 18:41 .gitignore [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 18:41 .golangci.yml [2024-03-08T18:44:20.103Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 18:42 .semver [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 8 18:41 CHANGELOG.md [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:41 GOVERNANCE.md [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 18:41 Jenkinsfile [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 18:41 LICENSE [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 8 18:41 Makefile [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 18:41 OWNERS.md [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 8 18:41 README.md [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 18:42 VERSION [2024-03-08T18:44:20.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:41 bin [2024-03-08T18:44:20.103Z] -rw-r--r-- 1 jenkins jenkins 122156 Mar 8 18:43 coverage.out [2024-03-08T18:44:20.103Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 18:41 example [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 8 18:41 go.mod [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 8 18:41 go.sum [2024-03-08T18:44:20.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 18:41 internal [2024-03-08T18:44:20.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:41 openapi [2024-03-08T18:44:20.103Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 18:41 pkg [2024-03-08T18:44:20.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:41 snap [2024-03-08T18:44:20.103Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:44:20.230Z] + sudo service docker restart [2024-03-08T18:44:20.544Z] + 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=bec460a3b3b75a283f70f76261ca2cf91e41fc17 --label arch=amd64 --label version=0.0.0 . [2024-03-08T18:44:20.544Z] Sending build context to Docker daemon 22.09MB [2024-03-08T18:44:20.544Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T18:44:20.544Z] Step 2/24 : FROM ${BASE} AS builder [2024-03-08T18:44:20.544Z] ---> 78bea753e857 [2024-03-08T18:44:20.544Z] Step 3/24 : ARG MAKE=make build [2024-03-08T18:44:21.484Z] ---> Running in 16c25c6f3b8b [2024-03-08T18:44:21.743Z] Removing intermediate container 16c25c6f3b8b [2024-03-08T18:44:21.743Z] ---> 9ff7baeecc94 [2024-03-08T18:44:21.743Z] Step 4/24 : WORKDIR /device-sdk-go [2024-03-08T18:44:22.003Z] ---> Running in dd8880066737 [2024-03-08T18:44:22.264Z] Removing intermediate container dd8880066737 [2024-03-08T18:44:22.264Z] ---> 186c1eb7b3ff [2024-03-08T18:44:22.264Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T18:44:22.524Z] ---> Running in 37449b6e6507 [2024-03-08T18:44:23.094Z] Removing intermediate container 37449b6e6507 [2024-03-08T18:44:23.094Z] ---> 4e9426bbc3c0 [2024-03-08T18:44:23.094Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-03-08T18:44:23.094Z] ---> Running in ef5151dc61a0 [2024-03-08T18:44:23.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T18:44:23.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T18:44:23.924Z] OK: 264 MiB in 52 packages [2024-03-08T18:44:24.862Z] Removing intermediate container ef5151dc61a0 [2024-03-08T18:44:24.862Z] ---> 9b5dae7bba2b [2024-03-08T18:44:24.862Z] Step 7/24 : COPY go.mod vendor* ./ [2024-03-08T18:44:24.862Z] ---> 86860dbd3841 [2024-03-08T18:44:24.862Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T18:44:25.121Z] ---> Running in 2afe49e46b3f [2024-03-08T18:44:26.502Z] Removing intermediate container 2afe49e46b3f [2024-03-08T18:44:26.502Z] ---> ab399dc024dc [2024-03-08T18:44:26.502Z] Step 9/24 : COPY . . [2024-03-08T18:44:27.440Z] ---> 4fb66f11f572 [2024-03-08T18:44:27.440Z] Step 10/24 : RUN ${MAKE} [2024-03-08T18:44:27.440Z] ---> Running in 0c5938075e75 [2024-03-08T18:44:28.010Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T18:44:38.513Z] provisioning config files... [2024-03-08T18:44:38.538Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config15184938471490395264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:44:38.986Z] ---> ****-login.sh [2024-03-08T18:44:38.986Z] nexus3.edgexfoundry.org:10001 [2024-03-08T18:44:39.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:44:39.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:44:39.575Z] Configure a credential helper to remove this warning. See [2024-03-08T18:44:39.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:44:39.575Z] [2024-03-08T18:44:39.575Z] Login Succeeded [2024-03-08T18:44:39.575Z] nexus3.edgexfoundry.org:10002 [2024-03-08T18:44:39.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:44:40.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:44:40.116Z] Configure a credential helper to remove this warning. See [2024-03-08T18:44:40.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:44:40.116Z] [2024-03-08T18:44:40.116Z] Login Succeeded [2024-03-08T18:44:40.116Z] nexus3.edgexfoundry.org:10003 [2024-03-08T18:44:40.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:44:40.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:44:40.386Z] Configure a credential helper to remove this warning. See [2024-03-08T18:44:40.386Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:44:40.386Z] [2024-03-08T18:44:40.386Z] Login Succeeded [2024-03-08T18:44:40.386Z] nexus3.edgexfoundry.org:10004 [2024-03-08T18:44:40.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:44:40.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:44:40.655Z] Configure a credential helper to remove this warning. See [2024-03-08T18:44:40.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:44:40.655Z] [2024-03-08T18:44:40.655Z] Login Succeeded [2024-03-08T18:44:40.655Z] ****.io [2024-03-08T18:44:40.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T18:44:41.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T18:44:41.192Z] Configure a credential helper to remove this warning. See [2024-03-08T18:44:41.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T18:44:41.192Z] [2024-03-08T18:44:41.192Z] Login Succeeded [2024-03-08T18:44:41.192Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T18:44:41.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-08T18:44:41.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T18:44:41.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T18:44:41.696Z] ========================================================= [2024-03-08T18:44:41.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-08T18:44:41.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:44:42.176Z] + 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-03-08T18:44:42.785Z] Sending build context to Docker daemon 11.39MB [2024-03-08T18:44:42.785Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T18:44:42.785Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-08T18:44:42.785Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-08T18:44:42.785Z] 9fda8d8052c6: Pulling fs layer [2024-03-08T18:44:42.785Z] 5d54e960e981: Pulling fs layer [2024-03-08T18:44:42.785Z] c4a7e357bf2a: Pulling fs layer [2024-03-08T18:44:42.785Z] f0e02332f6b5: Pulling fs layer [2024-03-08T18:44:42.785Z] 872ee5b61b7b: Pulling fs layer [2024-03-08T18:44:42.785Z] 0c6a40ed1a82: Pulling fs layer [2024-03-08T18:44:42.785Z] 94ae7d8d031c: Pulling fs layer [2024-03-08T18:44:42.785Z] f0e02332f6b5: Waiting [2024-03-08T18:44:42.785Z] 872ee5b61b7b: Waiting [2024-03-08T18:44:42.785Z] 0c6a40ed1a82: Waiting [2024-03-08T18:44:42.785Z] 94ae7d8d031c: Waiting [2024-03-08T18:44:42.785Z] 5d54e960e981: Verifying Checksum [2024-03-08T18:44:42.785Z] 5d54e960e981: Download complete [2024-03-08T18:44:43.055Z] f0e02332f6b5: Verifying Checksum [2024-03-08T18:44:43.055Z] f0e02332f6b5: Download complete [2024-03-08T18:44:43.055Z] 872ee5b61b7b: Verifying Checksum [2024-03-08T18:44:43.055Z] 872ee5b61b7b: Download complete [2024-03-08T18:44:43.055Z] 9fda8d8052c6: Download complete [2024-03-08T18:44:43.323Z] 94ae7d8d031c: Verifying Checksum [2024-03-08T18:44:43.323Z] 94ae7d8d031c: Download complete [2024-03-08T18:44:43.910Z] 9fda8d8052c6: Pull complete [2024-03-08T18:44:44.496Z] 5d54e960e981: Pull complete [2024-03-08T18:44:44.766Z] c4a7e357bf2a: Verifying Checksum [2024-03-08T18:44:44.766Z] c4a7e357bf2a: Download complete [2024-03-08T18:44:45.734Z] 0c6a40ed1a82: Verifying Checksum [2024-03-08T18:44:45.734Z] 0c6a40ed1a82: Download complete [2024-03-08T18:44:49.965Z] Removing intermediate container 0c5938075e75 [2024-03-08T18:44:49.965Z] ---> a9d709f8b0f2 [2024-03-08T18:44:49.965Z] Step 11/24 : FROM alpine:3.18 [2024-03-08T18:44:49.965Z] 3.18: Pulling from library/alpine [2024-03-08T18:44:49.965Z] 619be1103602: Pulling fs layer [2024-03-08T18:44:49.965Z] 619be1103602: Verifying Checksum [2024-03-08T18:44:49.965Z] 619be1103602: Download complete [2024-03-08T18:44:49.965Z] 619be1103602: Pull complete [2024-03-08T18:44:49.965Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-08T18:44:49.965Z] Status: Downloaded newer image for alpine:3.18 [2024-03-08T18:44:49.965Z] ---> d3782b16ccc9 [2024-03-08T18:44:49.965Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-08T18:44:49.965Z] ---> Running in 6f01a368ac14 [2024-03-08T18:44:49.965Z] Removing intermediate container 6f01a368ac14 [2024-03-08T18:44:49.965Z] ---> ae9c0be8d108 [2024-03-08T18:44:49.965Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-03-08T18:44:49.965Z] ---> Running in 7970e6b16da8 [2024-03-08T18:44:49.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T18:44:49.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T18:44:49.965Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-08T18:44:49.965Z] Executing busybox-1.36.1-r5.trigger [2024-03-08T18:44:49.965Z] OK: 7 MiB in 16 packages [2024-03-08T18:44:49.965Z] Removing intermediate container 7970e6b16da8 [2024-03-08T18:44:49.965Z] ---> 9f5dd4b24605 [2024-03-08T18:44:49.965Z] Step 14/24 : RUN apk --no-cache upgrade [2024-03-08T18:44:49.965Z] ---> Running in 91f032d11c7d [2024-03-08T18:44:49.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T18:44:49.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T18:44:50.225Z] OK: 7 MiB in 16 packages [2024-03-08T18:44:50.793Z] Removing intermediate container 91f032d11c7d [2024-03-08T18:44:50.793Z] ---> f912fda4bedf [2024-03-08T18:44:50.793Z] Step 15/24 : WORKDIR / [2024-03-08T18:44:51.052Z] ---> Running in d475029c70b1 [2024-03-08T18:44:51.052Z] Removing intermediate container d475029c70b1 [2024-03-08T18:44:51.052Z] ---> a0ed0de2b85f [2024-03-08T18:44:51.052Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-08T18:44:51.314Z] ---> cfe50e00e018 [2024-03-08T18:44:51.314Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-08T18:44:52.323Z] ---> d20e51413233 [2024-03-08T18:44:52.323Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-08T18:44:52.583Z] ---> de29a09876a9 [2024-03-08T18:44:52.583Z] Step 19/24 : EXPOSE 59999 [2024-03-08T18:44:52.583Z] ---> Running in 8fed9beb18f2 [2024-03-08T18:44:52.843Z] Removing intermediate container 8fed9beb18f2 [2024-03-08T18:44:52.843Z] ---> 5eff7f498d85 [2024-03-08T18:44:52.843Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-03-08T18:44:52.843Z] ---> Running in 04eb28c38542 [2024-03-08T18:44:52.843Z] Removing intermediate container 04eb28c38542 [2024-03-08T18:44:52.843Z] ---> fe5ff0e7eca1 [2024-03-08T18:44:52.843Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-08T18:44:53.102Z] ---> Running in 16af64a499f9 [2024-03-08T18:44:53.102Z] Removing intermediate container 16af64a499f9 [2024-03-08T18:44:53.102Z] ---> e71e5fe0bc83 [2024-03-08T18:44:53.102Z] Step 22/24 : LABEL arch=amd64 [2024-03-08T18:44:53.362Z] ---> Running in e574b643c665 [2024-03-08T18:44:53.362Z] Removing intermediate container e574b643c665 [2024-03-08T18:44:53.362Z] ---> f35f591e00c3 [2024-03-08T18:44:53.362Z] Step 23/24 : LABEL git_sha=bec460a3b3b75a283f70f76261ca2cf91e41fc17 [2024-03-08T18:44:53.621Z] ---> Running in 9c845b14048e [2024-03-08T18:44:53.880Z] Removing intermediate container 9c845b14048e [2024-03-08T18:44:53.880Z] ---> ab5010919355 [2024-03-08T18:44:53.880Z] Step 24/24 : LABEL version=0.0.0 [2024-03-08T18:44:53.880Z] ---> Running in fd38b380121b [2024-03-08T18:44:54.140Z] Removing intermediate container fd38b380121b [2024-03-08T18:44:54.140Z] ---> df8e6103f94d [2024-03-08T18:44:54.140Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-08T18:44:54.140Z] Successfully built df8e6103f94d [2024-03-08T18:44:54.140Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:44:54.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T18:44:54.947Z] [2024-03-08T18:44:54.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:44:55.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T18:44:55.284Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-08T18:44:55.284Z] 5eb5b503b376: Pulling fs layer [2024-03-08T18:44:55.284Z] 5c69ac0246d0: Pulling fs layer [2024-03-08T18:44:55.284Z] ec43610c2a17: Pulling fs layer [2024-03-08T18:44:55.284Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-08T18:44:55.284Z] 33b1e0a273af: Pulling fs layer [2024-03-08T18:44:55.284Z] 5d3b04190fa2: Pulling fs layer [2024-03-08T18:44:55.284Z] 2f39f015ded8: Pulling fs layer [2024-03-08T18:44:55.284Z] 3a2ae6a8a46f: Waiting [2024-03-08T18:44:55.284Z] 33b1e0a273af: Waiting [2024-03-08T18:44:55.284Z] 5d3b04190fa2: Waiting [2024-03-08T18:44:55.284Z] 2f39f015ded8: Waiting [2024-03-08T18:44:55.284Z] 5c69ac0246d0: Verifying Checksum [2024-03-08T18:44:55.284Z] 5c69ac0246d0: Download complete [2024-03-08T18:44:55.284Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-08T18:44:55.284Z] 3a2ae6a8a46f: Download complete [2024-03-08T18:44:55.284Z] 33b1e0a273af: Verifying Checksum [2024-03-08T18:44:55.284Z] 33b1e0a273af: Download complete [2024-03-08T18:44:55.543Z] 5d3b04190fa2: Verifying Checksum [2024-03-08T18:44:55.543Z] 5d3b04190fa2: Download complete [2024-03-08T18:44:55.543Z] ec43610c2a17: Download complete [2024-03-08T18:44:55.543Z] 5eb5b503b376: Verifying Checksum [2024-03-08T18:44:55.543Z] 5eb5b503b376: Download complete [2024-03-08T18:44:56.110Z] 2f39f015ded8: Download complete [2024-03-08T18:44:56.677Z] 5eb5b503b376: Pull complete [2024-03-08T18:44:56.935Z] 5c69ac0246d0: Pull complete [2024-03-08T18:44:57.502Z] ec43610c2a17: Pull complete [2024-03-08T18:44:57.502Z] 3a2ae6a8a46f: Pull complete [2024-03-08T18:44:57.762Z] 33b1e0a273af: Pull complete [2024-03-08T18:44:57.762Z] 5d3b04190fa2: Pull complete [2024-03-08T18:44:58.058Z] c4a7e357bf2a: Pull complete [2024-03-08T18:44:58.058Z] f0e02332f6b5: Pull complete [2024-03-08T18:44:58.058Z] 872ee5b61b7b: Pull complete [2024-03-08T18:45:01.945Z] 2f39f015ded8: Pull complete [2024-03-08T18:45:01.945Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-08T18:45:01.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T18:45:01.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:45:02.145Z] prd-ubuntu20.04-docker-8c-8g-5269 does not seem to be running inside a container [2024-03-08T18:45:02.173Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-08T18:45:06.270Z] 0c6a40ed1a82: Pull complete [2024-03-08T18:45:07.688Z] 94ae7d8d031c: Pull complete [2024-03-08T18:45:07.688Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-08T18:45:07.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-08T18:45:07.688Z] ---> 86de565de09d [2024-03-08T18:45:07.688Z] Step 3/10 : ARG MAKE=make build [2024-03-08T18:45:07.770Z] $ docker top fda0673cef9fe0dd5a620038b19f65e1f1935896f395f7368a33f1f3b1befed9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:45:08.227Z] ---> job-cost.sh [2024-03-08T18:45:08.227Z] lf-activate-venv: SKIPPING [2024-03-08T18:45:08.227Z] INFO: No Stack... [2024-03-08T18:45:08.485Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-08T18:45:08.745Z] INFO: Archiving Costs [Pipeline] sh [2024-03-08T18:45:09.035Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csvcut [2024-03-08T18:45:09.035Z] -d, -f6 [Pipeline] lock [2024-03-08T18:45:09.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] [2024-03-08T18:45:09.060Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] did not exist. Created. [2024-03-08T18:45:09.067Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-08T18:45:09.421Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-08T18:45:09.486Z] Stashed 1 file(s) [Pipeline] } [2024-03-08T18:45:09.494Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-08T18:45:09.568Z] $ docker stop --time=1 fda0673cef9fe0dd5a620038b19f65e1f1935896f395f7368a33f1f3b1befed9 [2024-03-08T18:45:09.622Z] ---> Running in 2e736fc5d27a [2024-03-08T18:45:09.971Z] Removing intermediate container 2e736fc5d27a [2024-03-08T18:45:09.971Z] ---> bc6ac5d1e546 [2024-03-08T18:45:09.971Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-08T18:45:09.971Z] ---> Running in 59cbbbb1ed63 [2024-03-08T18:45:10.237Z] Removing intermediate container 59cbbbb1ed63 [2024-03-08T18:45:10.237Z] ---> a4528b03b49f [2024-03-08T18:45:10.237Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T18:45:10.237Z] ---> Running in fd8b0090d66f [2024-03-08T18:45:10.504Z] Removing intermediate container fd8b0090d66f [2024-03-08T18:45:10.505Z] ---> 5f348624900e [2024-03-08T18:45:10.505Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-08T18:45:10.772Z] ---> Running in 8c58cf6d2902 [2024-03-08T18:45:10.806Z] $ docker rm -f --volumes fda0673cef9fe0dd5a620038b19f65e1f1935896f395f7368a33f1f3b1befed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-08T18:45:11.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T18:45:12.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T18:45:13.278Z] OK: 266 MiB in 52 packages [2024-03-08T18:45:13.862Z] Removing intermediate container 8c58cf6d2902 [2024-03-08T18:45:13.862Z] ---> fd3ed692b327 [2024-03-08T18:45:13.863Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-08T18:45:14.455Z] ---> bacea10bf735 [2024-03-08T18:45:14.455Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T18:45:14.455Z] ---> Running in a47401ddf8bf [2024-03-08T18:46:22.318Z] Removing intermediate container a47401ddf8bf [2024-03-08T18:46:22.319Z] ---> b033f976932a [2024-03-08T18:46:22.319Z] Step 9/10 : COPY . . [2024-03-08T18:46:22.319Z] ---> c82a8a3906cd [2024-03-08T18:46:22.319Z] Step 10/10 : RUN ${MAKE} [2024-03-08T18:46:22.319Z] ---> Running in 38cd99626045 [2024-03-08T18:46:22.319Z] noop [2024-03-08T18:46:22.319Z] Removing intermediate container 38cd99626045 [2024-03-08T18:46:22.319Z] ---> 65f8327a65df [2024-03-08T18:46:22.319Z] Successfully built 65f8327a65df [2024-03-08T18:46:22.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:46:22.793Z] + docker inspect -f . ci-base-image-arm64 [2024-03-08T18:46:22.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:46:23.064Z] prd-ubuntu20.04-docker-arm64-4c-16g-5270 does not seem to be running inside a container [2024-03-08T18:46:23.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-08T18:46:24.346Z] $ docker top 46715be7854b5f278d005b900bc84722591b99673815ea0932b16b0dc90b916a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T18:46:25.075Z] + go version [2024-03-08T18:46:25.075Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-08T18:46:25.087Z] $ docker stop --time=1 46715be7854b5f278d005b900bc84722591b99673815ea0932b16b0dc90b916a [2024-03-08T18:46:26.687Z] $ docker rm -f --volumes 46715be7854b5f278d005b900bc84722591b99673815ea0932b16b0dc90b916a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:46:27.501Z] + docker inspect -f . ci-base-image-arm64 [2024-03-08T18:46:27.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:46:27.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-5270 does not seem to be running inside a container [2024-03-08T18:46:27.791Z] $ 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/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-08T18:46:28.878Z] $ docker top d0cfa8f74eb4464796797042a2360120cb62c9cb8ba3f60b177c4903a22c656e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T18:46:29.766Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/12 [Pipeline] fileExists [Pipeline] sh [2024-03-08T18:46:30.457Z] + make test [2024-03-08T18:46:30.458Z] go test -race -coverprofile=coverage.out ./... [2024-03-08T18:47:02.734Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-08T18:48:39.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-08T18:48:39.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-08T18:48:39.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-08T18:48:39.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-08T18:48:39.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-08T18:48:39.395Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 27.6% of statements [2024-03-08T18:48:47.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.245s coverage: 81.5% of statements [2024-03-08T18:48:54.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-08T18:48:54.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-08T18:48:55.266Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.303s coverage: 86.0% of statements [2024-03-08T18:48:59.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-08T18:49:01.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.497s coverage: 71.8% of statements [2024-03-08T18:49:04.354Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-08T18:49:04.354Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-08T18:49:04.354Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.250s coverage: 14.4% of statements [2024-03-08T18:49:04.354Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.735s coverage: 45.9% of statements [2024-03-08T18:49:05.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.387s coverage: 68.5% of statements [2024-03-08T18:49:09.122Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-08T18:49:09.122Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.400s coverage: 89.2% of statements [2024-03-08T18:49:09.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.224s coverage: 5.5% of statements [2024-03-08T18:49:10.661Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-08T18:49:10.661Z] GO111MODULE=on go vet ./... [2024-03-08T18:51:02.343Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-08T18:51:02.343Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-08T18:51:02.343Z] ./bin/test-attribution-txt.sh [2024-03-08T18:51:02.343Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-08T18:51:02.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-08T18:51:02.406Z] $ docker stop --time=1 d0cfa8f74eb4464796797042a2360120cb62c9cb8ba3f60b177c4903a22c656e [2024-03-08T18:51:04.263Z] $ docker rm -f --volumes d0cfa8f74eb4464796797042a2360120cb62c9cb8ba3f60b177c4903a22c656e [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T18:51:05.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-08T18:51:05.928Z] Warning: overwriting stash ‘coverage-report’ [2024-03-08T18:51:06.416Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T18:51:07.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-08T18:51:07.344Z] + ls -al . [2024-03-08T18:51:07.344Z] total 304 [2024-03-08T18:51:07.344Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 18:46 . [2024-03-08T18:51:07.344Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:44 .. [2024-03-08T18:51:07.344Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 18:44 .dockerignore [2024-03-08T18:51:07.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:44 .git [2024-03-08T18:51:07.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:44 .github [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 8 18:44 .gitignore [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 18:44 .golangci.yml [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 8 18:44 CHANGELOG.md [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:44 GOVERNANCE.md [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 18:44 Jenkinsfile [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 18:44 LICENSE [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 8 18:44 Makefile [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 18:44 OWNERS.md [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 8 18:44 README.md [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 18:42 VERSION [2024-03-08T18:51:07.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:44 bin [2024-03-08T18:51:07.345Z] -rw-r--r-- 1 jenkins jenkins 122156 Mar 8 18:49 coverage.out [2024-03-08T18:51:07.345Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 18:44 example [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 8 18:44 go.mod [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 8 18:44 go.sum [2024-03-08T18:51:07.345Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 18:44 internal [2024-03-08T18:51:07.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:44 openapi [2024-03-08T18:51:07.345Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 18:44 pkg [2024-03-08T18:51:07.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:44 snap [2024-03-08T18:51:07.345Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:51:07.750Z] + 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=4c12de403e9af8da1f4c3acc8c9fc40b6c047593 --label arch=arm64 --label version=0.0.0 . [2024-03-08T18:51:08.334Z] Sending build context to Docker daemon 11.52MB [2024-03-08T18:51:08.334Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T18:51:08.334Z] Step 2/24 : FROM ${BASE} AS builder [2024-03-08T18:51:08.334Z] ---> 65f8327a65df [2024-03-08T18:51:08.334Z] Step 3/24 : ARG MAKE=make build [2024-03-08T18:51:08.604Z] ---> Running in 5f9d1f1b2075 [2024-03-08T18:51:08.872Z] Removing intermediate container 5f9d1f1b2075 [2024-03-08T18:51:08.872Z] ---> 8edadd3bf22e [2024-03-08T18:51:08.872Z] Step 4/24 : WORKDIR /device-sdk-go [2024-03-08T18:51:08.872Z] ---> Running in 6dd60eb120a0 [2024-03-08T18:51:09.140Z] Removing intermediate container 6dd60eb120a0 [2024-03-08T18:51:09.140Z] ---> d9d42bcfd56c [2024-03-08T18:51:09.140Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T18:51:09.140Z] ---> Running in bd37d6cb6692 [2024-03-08T18:51:09.407Z] Removing intermediate container bd37d6cb6692 [2024-03-08T18:51:09.407Z] ---> da685c1614f0 [2024-03-08T18:51:09.407Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-03-08T18:51:09.676Z] ---> Running in ca91cb337338 [2024-03-08T18:51:10.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T18:51:13.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T18:51:14.164Z] OK: 266 MiB in 52 packages [2024-03-08T18:51:15.127Z] Removing intermediate container ca91cb337338 [2024-03-08T18:51:15.127Z] ---> 17a38ea4d1ec [2024-03-08T18:51:15.127Z] Step 7/24 : COPY go.mod vendor* ./ [2024-03-08T18:51:15.402Z] ---> df4179eed912 [2024-03-08T18:51:15.402Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T18:51:15.671Z] ---> Running in 4519b4782f7d [2024-03-08T18:51:17.614Z] Removing intermediate container 4519b4782f7d [2024-03-08T18:51:17.614Z] ---> 17050aaccb44 [2024-03-08T18:51:17.614Z] Step 9/24 : COPY . . [2024-03-08T18:51:18.575Z] ---> f654087c9ca7 [2024-03-08T18:51:18.576Z] Step 10/24 : RUN ${MAKE} [2024-03-08T18:51:18.845Z] ---> Running in ec2dbc7153f8 [2024-03-08T18:51:19.806Z] 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-03-08T18:53:11.448Z] Removing intermediate container ec2dbc7153f8 [2024-03-08T18:53:11.448Z] ---> d06e80a798ff [2024-03-08T18:53:11.448Z] Step 11/24 : FROM alpine:3.18 [2024-03-08T18:53:11.448Z] 3.18: Pulling from library/alpine [2024-03-08T18:53:11.448Z] c6b39de5b339: Pulling fs layer [2024-03-08T18:53:11.448Z] c6b39de5b339: Verifying Checksum [2024-03-08T18:53:11.448Z] c6b39de5b339: Download complete [2024-03-08T18:53:11.448Z] c6b39de5b339: Pull complete [2024-03-08T18:53:11.448Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-08T18:53:11.448Z] Status: Downloaded newer image for alpine:3.18 [2024-03-08T18:53:11.448Z] ---> 33abbf032149 [2024-03-08T18:53:11.448Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-08T18:53:11.448Z] ---> Running in b3eb8c528cbc [2024-03-08T18:53:11.448Z] Removing intermediate container b3eb8c528cbc [2024-03-08T18:53:11.448Z] ---> 4c88d52155d0 [2024-03-08T18:53:11.448Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-03-08T18:53:11.448Z] ---> Running in 730ad4a292a2 [2024-03-08T18:53:11.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T18:53:11.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T18:53:11.448Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-08T18:53:11.448Z] Executing busybox-1.36.1-r5.trigger [2024-03-08T18:53:11.448Z] OK: 8 MiB in 16 packages [2024-03-08T18:53:11.448Z] Removing intermediate container 730ad4a292a2 [2024-03-08T18:53:11.448Z] ---> 165b0b03a63d [2024-03-08T18:53:11.448Z] Step 14/24 : RUN apk --no-cache upgrade [2024-03-08T18:53:11.448Z] ---> Running in 53e522619224 [2024-03-08T18:53:11.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T18:53:11.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T18:53:11.448Z] OK: 8 MiB in 16 packages [2024-03-08T18:53:11.448Z] Removing intermediate container 53e522619224 [2024-03-08T18:53:11.448Z] ---> cf7e705a90b9 [2024-03-08T18:53:11.448Z] Step 15/24 : WORKDIR / [2024-03-08T18:53:11.448Z] ---> Running in 3a3bef483b03 [2024-03-08T18:53:11.448Z] Removing intermediate container 3a3bef483b03 [2024-03-08T18:53:11.448Z] ---> e06d1d0789d2 [2024-03-08T18:53:11.448Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-08T18:53:11.448Z] ---> 721df5cf3110 [2024-03-08T18:53:11.448Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-08T18:53:11.448Z] ---> c74add0ce57a [2024-03-08T18:53:11.448Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-08T18:53:11.448Z] ---> dc8565711b64 [2024-03-08T18:53:11.448Z] Step 19/24 : EXPOSE 59999 [2024-03-08T18:53:11.448Z] ---> Running in 58b9c403fb5a [2024-03-08T18:53:11.448Z] Removing intermediate container 58b9c403fb5a [2024-03-08T18:53:11.448Z] ---> c678d18c9f6c [2024-03-08T18:53:11.448Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-03-08T18:53:11.448Z] ---> Running in 457dccc35345 [2024-03-08T18:53:11.448Z] Removing intermediate container 457dccc35345 [2024-03-08T18:53:11.448Z] ---> 98a22227aece [2024-03-08T18:53:11.448Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-08T18:53:11.448Z] ---> Running in 08614217adf0 [2024-03-08T18:53:11.448Z] Removing intermediate container 08614217adf0 [2024-03-08T18:53:11.448Z] ---> 84973796998b [2024-03-08T18:53:11.448Z] Step 22/24 : LABEL arch=arm64 [2024-03-08T18:53:11.448Z] ---> Running in f319ebf04c08 [2024-03-08T18:53:11.448Z] Removing intermediate container f319ebf04c08 [2024-03-08T18:53:11.448Z] ---> 63d96ac10aae [2024-03-08T18:53:11.448Z] Step 23/24 : LABEL git_sha=4c12de403e9af8da1f4c3acc8c9fc40b6c047593 [2024-03-08T18:53:11.448Z] ---> Running in e2f8f0f5a7a1 [2024-03-08T18:53:11.448Z] Removing intermediate container e2f8f0f5a7a1 [2024-03-08T18:53:11.448Z] ---> 0e735003c0aa [2024-03-08T18:53:11.448Z] Step 24/24 : LABEL version=0.0.0 [2024-03-08T18:53:11.793Z] ---> Running in ad5823a02b80 [2024-03-08T18:53:11.793Z] Removing intermediate container ad5823a02b80 [2024-03-08T18:53:11.793Z] ---> 7144bfeb4720 [2024-03-08T18:53:11.793Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-08T18:53:12.058Z] Successfully built 7144bfeb4720 [2024-03-08T18:53:12.058Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:53:12.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T18:53:12.863Z] [2024-03-08T18:53:12.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:53:13.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T18:53:13.230Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-08T18:53:13.230Z] 8998bd30e6a1: Pulling fs layer [2024-03-08T18:53:13.230Z] 04944245beec: Pulling fs layer [2024-03-08T18:53:13.230Z] 699f458cf7ca: Pulling fs layer [2024-03-08T18:53:13.230Z] 765212b225bb: Pulling fs layer [2024-03-08T18:53:13.230Z] f23df028b6ca: Pulling fs layer [2024-03-08T18:53:13.230Z] d65c8cfc05b1: Pulling fs layer [2024-03-08T18:53:13.230Z] 2437ff75d9bd: Pulling fs layer [2024-03-08T18:53:13.230Z] 765212b225bb: Waiting [2024-03-08T18:53:13.230Z] f23df028b6ca: Waiting [2024-03-08T18:53:13.230Z] d65c8cfc05b1: Waiting [2024-03-08T18:53:13.230Z] 2437ff75d9bd: Waiting [2024-03-08T18:53:13.496Z] 04944245beec: Verifying Checksum [2024-03-08T18:53:13.496Z] 04944245beec: Download complete [2024-03-08T18:53:13.496Z] 765212b225bb: Verifying Checksum [2024-03-08T18:53:13.496Z] 765212b225bb: Download complete [2024-03-08T18:53:13.496Z] f23df028b6ca: Verifying Checksum [2024-03-08T18:53:13.496Z] f23df028b6ca: Download complete [2024-03-08T18:53:13.496Z] d65c8cfc05b1: Verifying Checksum [2024-03-08T18:53:13.496Z] d65c8cfc05b1: Download complete [2024-03-08T18:53:13.496Z] 699f458cf7ca: Verifying Checksum [2024-03-08T18:53:13.496Z] 699f458cf7ca: Download complete [2024-03-08T18:53:14.079Z] 8998bd30e6a1: Verifying Checksum [2024-03-08T18:53:14.079Z] 8998bd30e6a1: Download complete [2024-03-08T18:53:16.661Z] 2437ff75d9bd: Verifying Checksum [2024-03-08T18:53:16.661Z] 2437ff75d9bd: Download complete [2024-03-08T18:53:18.605Z] 8998bd30e6a1: Pull complete [2024-03-08T18:53:18.874Z] 04944245beec: Pull complete [2024-03-08T18:53:20.814Z] 699f458cf7ca: Pull complete [2024-03-08T18:53:20.814Z] 765212b225bb: Pull complete [2024-03-08T18:53:21.768Z] f23df028b6ca: Pull complete [2024-03-08T18:53:21.768Z] d65c8cfc05b1: Pull complete [2024-03-08T18:53:39.954Z] 2437ff75d9bd: Pull complete [2024-03-08T18:53:39.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-08T18:53:39.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T18:53:39.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:53:40.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-5270 does not seem to be running inside a container [2024-03-08T18:53:40.340Z] $ 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/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-08T18:53:42.939Z] $ docker top 4c305a5bf9105fbefa7df3c5feae13f825320a97f3dafb85c6658fae398004c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:43.539Z] ---> job-cost.sh [2024-03-08T18:53:43.810Z] lf-activate-venv: SKIPPING [2024-03-08T18:53:43.810Z] INFO: No Stack... [2024-03-08T18:53:44.389Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-08T18:53:45.340Z] INFO: Archiving Costs [Pipeline] sh [2024-03-08T18:53:45.976Z] + cat /w/workspace/device-sdk-go/12/archives/cost.csv [2024-03-08T18:53:45.976Z] + cut -d, -f6 [Pipeline] lock [2024-03-08T18:53:46.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] [2024-03-08T18:53:46.037Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] did not exist. Created. [2024-03-08T18:53:46.042Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-08T18:53:46.453Z] /w/workspace/device-sdk-go/12@tmp/durable-1d2b2447/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-08T18:53:47.102Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-08T18:53:47.157Z] Warning: overwriting stash ‘stack-cost’ [2024-03-08T18:53:47.227Z] Stashed 1 file(s) [Pipeline] } [2024-03-08T18:53:47.239Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-12-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-08T18:53:47.325Z] $ docker stop --time=1 4c305a5bf9105fbefa7df3c5feae13f825320a97f3dafb85c6658fae398004c0 [2024-03-08T18:53:48.795Z] $ docker rm -f --volumes 4c305a5bf9105fbefa7df3c5feae13f825320a97f3dafb85c6658fae398004c0 [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-03-08T18:53:49.925Z] provisioning config files... [2024-03-08T18:53:49.937Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config13645887629526343480tmp [Pipeline] { [Pipeline] sh [2024-03-08T18:53:50.291Z] + set +x [2024-03-08T18:53:50.291Z] + bash -s -- [2024-03-08T18:53:50.291Z] + curl -s https://codecov.io/bash [2024-03-08T18:53:50.291Z] [2024-03-08T18:53:50.291Z] _____ _ [2024-03-08T18:53:50.291Z] / ____| | | [2024-03-08T18:53:50.291Z] | | ___ __| | ___ ___ _____ __ [2024-03-08T18:53:50.291Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-08T18:53:50.291Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-08T18:53:50.291Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-08T18:53:50.291Z] Bash-1.0.6 [2024-03-08T18:53:50.291Z] [2024-03-08T18:53:50.291Z] [2024-03-08T18:53:50.291Z] ==> git version 2.25.1 found [2024-03-08T18:53:50.292Z] ==> 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-03-08T18:53:50.292Z] Release-Date: 2020-01-08 [2024-03-08T18:53:50.292Z] 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-03-08T18:53:50.292Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-08T18:53:50.292Z] ==> Jenkins CI detected. [2024-03-08T18:53:50.292Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-03-08T18:53:50.292Z] project root: . [2024-03-08T18:53:50.292Z] --> token set from env [2024-03-08T18:53:50.292Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-08T18:53:50.551Z] ==> Running gcov in . (disable via -X gcov) [2024-03-08T18:53:50.551Z] ==> Python coveragepy not found [2024-03-08T18:53:50.551Z] ==> Searching for coverage reports in: [2024-03-08T18:53:50.551Z] + . [2024-03-08T18:53:50.551Z] -> Found 1 reports [2024-03-08T18:53:50.551Z] ==> Detecting git/mercurial file structure [2024-03-08T18:53:50.551Z] ==> Reading reports [2024-03-08T18:53:50.551Z] + ./coverage.out bytes=122156 [2024-03-08T18:53:50.551Z] ==> Appending adjustments [2024-03-08T18:53:50.551Z] https://docs.codecov.io/docs/fixing-reports [2024-03-08T18:53:50.811Z] + Found adjustments [2024-03-08T18:53:50.811Z] ==> Gzipping contents [2024-03-08T18:53:50.811Z] 20K /tmp/codecov.029fV1.gz [2024-03-08T18:53:50.811Z] ==> Uploading reports [2024-03-08T18:53:50.811Z] url: https://codecov.io [2024-03-08T18:53:50.811Z] query: branch=PR-1540&commit=bec460a3b3b75a283f70f76261ca2cf91e41fc17&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-03-08T18:53:50.811Z] -> Pinging Codecov [2024-03-08T18:53:50.811Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=bec460a3b3b75a283f70f76261ca2cf91e41fc17&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-03-08T18:53:51.072Z] -> Uploading to [2024-03-08T18:53:51.072Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-08/7E55EF52A471D76F132DFD9A03CDDE97/bec460a3b3b75a283f70f76261ca2cf91e41fc17/7bf13e77-961c-4284-87b7-0fc0d7ca6cd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240308T185350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=579d6add86631b903f30c902ac57c76f53674a4a666291acdf56361a2102f0af [2024-03-08T18:53:51.072Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-08T18:53:51.072Z] Dload Upload Total Spent Left Speed [2024-03-08T18:53:52.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16751 0 0 100 16751 0 54921 --:--:-- --:--:-- --:--:-- 54921 [2024-03-08T18:53:52.075Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bec460a3b3b75a283f70f76261ca2cf91e41fc17 [Pipeline] } [2024-03-08T18:53:52.084Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-03-08T18:53:54.045Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2024-03-08T18:53:54.045Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-03-08T18:53:54.045Z] total 16 [2024-03-08T18:53:54.045Z] drwxr-xr-x 3 root root 4096 Mar 8 18:45 . [2024-03-08T18:53:54.045Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 18:45 .. [2024-03-08T18:53:54.045Z] drwxr-xr-x 2 root root 4096 Mar 8 18:45 cost [2024-03-08T18:53:54.045Z] -rw-r--r-- 1 root root 87 Mar 8 18:45 cost.csv [2024-03-08T18:53:54.045Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-03-08T18:53:54.045Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-03-08T18:53:54.045Z] total 16 [2024-03-08T18:53:54.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 18:45 . [2024-03-08T18:53:54.045Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 18:45 .. [2024-03-08T18:53:54.045Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 18:45 cost [2024-03-08T18:53:54.045Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 8 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:54.337Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:55.197Z] ---> package-listing.sh [2024-03-08T18:53:55.197Z] ++ facter osfamily [2024-03-08T18:53:55.197Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-08T18:53:55.457Z] + OS_FAMILY=debian [2024-03-08T18:53:55.457Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-03-08T18:53:55.457Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-08T18:53:55.457Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-08T18:53:55.457Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-08T18:53:55.457Z] + PACKAGES=/tmp/packages_start.txt [2024-03-08T18:53:55.457Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-03-08T18:53:55.457Z] + PACKAGES=/tmp/packages_end.txt [2024-03-08T18:53:55.457Z] + case "${OS_FAMILY}" in [2024-03-08T18:53:55.457Z] + dpkg -l [2024-03-08T18:53:55.457Z] + grep '^ii' [2024-03-08T18:53:55.457Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-08T18:53:55.457Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-08T18:53:55.457Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-08T18:53:55.457Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-03-08T18:53:55.457Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2024-03-08T18:53:55.457Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2024-03-08T18:53:55.469Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-08T18:53:55.753Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T18:53:56.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T18:53:56.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T18:53:56.556Z] prd-ubuntu20.04-docker-8c-8g-5269 does not seem to be running inside a container [2024-03-08T18:53:56.576Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-08T18:53:56.767Z] $ docker top 73ab2262d3fd10952eaa0f08a192e193920d323b5ee1d97a4cd341dc05a5920d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T18:53:57.204Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-08T18:53:57.488Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-08T18:53:57.772Z] + ls /var/log/sa-host [2024-03-08T18:53:57.772Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T18:53:57.967Z] provisioning config files... [2024-03-08T18:53:57.976Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config474990124432046819tmp [Pipeline] { [Pipeline] echo [2024-03-08T18:53:58.059Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:58.345Z] ---> create-netrc.sh [Pipeline] } [2024-03-08T18:53:58.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:58.771Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-08T18:53:58.780Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:59.067Z] ---> sudo-logs.sh [2024-03-08T18:53:59.067Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-08T18:53:59.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:53:59.428Z] ---> job-cost.sh [2024-03-08T18:53:59.428Z] lf-activate-venv: SKIPPING [2024-03-08T18:53:59.428Z] DEBUG: total: 0.2199999988079071 [2024-03-08T18:53:59.428Z] INFO: Retrieving Stack Cost... [2024-03-08T18:53:59.687Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-08T18:54:00.255Z] INFO: Archiving Costs [Pipeline] echo [2024-03-08T18:54:00.267Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T18:54:00.550Z] ---> logs-deploy.sh [2024-03-08T18:54:00.550Z] lf-activate-venv: SKIPPING [2024-03-08T18:54:00.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/12 [2024-03-08T18:54:00.550Z] INFO: archiving workspace using pattern(s): [2024-03-08T18:54:01.487Z] Archives upload complete. [2024-03-08T18:54:01.487Z] INFO: archiving logs to Nexus