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+05a857ba723bc3223dfc65f2e1529220030d9145 (08f075668a91fb35570f972b296aeff7f373c11a) 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-ssh15992918328713601789.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-ssh1195177870169090433.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-ssh12107780849136164077.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-ssh12307566503132838058.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-ssh11501633335712111136.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-1089 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 Merging remotes/origin/main commit 05a857ba723bc3223dfc65f2e1529220030d9145 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 52f56b1ef88eebce9af1f11113227bea175f7202 Checking out Revision 52f56b1ef88eebce9af1f11113227bea175f7202 (PR-1540) > 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 > 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 05a857ba723bc3223dfc65f2e1529220030d9145 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52f56b1ef88eebce9af1f11113227bea175f7202 # timeout=10 Commit message: "Merge commit '05a857ba723bc3223dfc65f2e1529220030d9145' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-16T18:41:35.422Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-16T18:41:35.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-16T18:41:35.550Z] ========================================================= [2024-02-16T18:41:35.550Z] EdgeX Global Pipelines Version Info [2024-02-16T18:41:35.550Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3fb07837ef7ab509c9018b92bace93e1b9b37ebe # timeout=10 [2024-02-16T18:41:36.272Z] ------------------- [2024-02-16T18:41:36.272Z] stable info: [2024-02-16T18:41:36.272Z] ------------------- [2024-02-16T18:41:36.272Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-16T18:41:36.272Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-16T18:41:36.272Z] Message: update stable to v1.0.258 [2024-02-16T18:41:36.843Z] ------------------- [2024-02-16T18:41:36.843Z] experimental info: [2024-02-16T18:41:36.843Z] ------------------- [2024-02-16T18:41:36.844Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-16T18:41:36.844Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-16T18:41:36.844Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-16T18:41:36.937Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-02-16T18:41:36.963Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-02-16T18:41:36.989Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-16T18:41:37.014Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-16T18:41:37.040Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-16T18:41:37.064Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-16T18:41:37.092Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-16T18:41:37.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-02-16T18:41:37.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-16T18:41:37.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-16T18:41:37.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-16T18:41:37.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-02-16T18:41:37.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-16T18:41:37.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-16T18:41:37.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-16T18:41:37.394Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T18:41:37.430Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T18:41:37.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T18:41:37.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-16T18:41:37.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-16T18:41:37.579Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-02-16T18:41:37.614Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-02-16T18:41:37.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-16T18:41:37.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-16T18:41:37.742Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-16T18:41:37.783Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-16T18:41:37.820Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-16T18:41:37.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2024-02-16T18:41:37.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2024-02-16T18:41:37.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2024-02-16T18:41:37.991Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52f56b1ef88eebce9af1f11113227bea175f7202 [Pipeline] echo [2024-02-16T18:41:38.046Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52f56b1 [Pipeline] echo [2024-02-16T18:41:38.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T18:41:38.187Z] provisioning config files... [2024-02-16T18:41:38.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config8067039498747290816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:41:38.554Z] ---> ****-login.sh [2024-02-16T18:41:38.554Z] nexus3.edgexfoundry.org:10001 [2024-02-16T18:41:38.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:39.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:39.073Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:39.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:39.073Z] [2024-02-16T18:41:39.073Z] Login Succeeded [2024-02-16T18:41:39.073Z] nexus3.edgexfoundry.org:10002 [2024-02-16T18:41:39.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:39.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:39.073Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:39.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:39.073Z] [2024-02-16T18:41:39.073Z] Login Succeeded [2024-02-16T18:41:39.073Z] nexus3.edgexfoundry.org:10003 [2024-02-16T18:41:39.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:39.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:39.335Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:39.335Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:39.335Z] [2024-02-16T18:41:39.335Z] Login Succeeded [2024-02-16T18:41:39.335Z] nexus3.edgexfoundry.org:10004 [2024-02-16T18:41:39.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:39.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:39.335Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:39.335Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:39.335Z] [2024-02-16T18:41:39.335Z] Login Succeeded [2024-02-16T18:41:39.335Z] ****.io [2024-02-16T18:41:39.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:39.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:39.607Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:39.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:39.607Z] [2024-02-16T18:41:39.607Z] Login Succeeded [2024-02-16T18:41:39.607Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T18:41:39.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-16T18:41:40.139Z] + git rev-list -1 --merges 52f56b1ef88eebce9af1f11113227bea175f7202~1..52f56b1ef88eebce9af1f11113227bea175f7202 [Pipeline] echo [2024-02-16T18:41:40.162Z] -----------> git rev-list -1 --merges 52f56b1ef88eebce9af1f11113227bea175f7202~1..52f56b1ef88eebce9af1f11113227bea175f7202 52f56b1ef88eebce9af1f11113227bea175f7202 [2024-02-16T18:41:40.162Z] 52f56b1ef88eebce9af1f11113227bea175f7202 [false] [Pipeline] sh [2024-02-16T18:41:40.464Z] + git log --format=format:%s -1 52f56b1ef88eebce9af1f11113227bea175f7202 [Pipeline] echo [2024-02-16T18:41:40.479Z] ========================================================= [2024-02-16T18:41:40.479Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-16T18:41:40.479Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T18:41:40.861Z] + git log --format=format:%s -1 52f56b1ef88eebce9af1f11113227bea175f7202 [Pipeline] echo [2024-02-16T18:41:40.872Z] [semverPrep] GIT_COMMIT: 52f56b1ef88eebce9af1f11113227bea175f7202, Commit Message: Merge commit '05a857ba723bc3223dfc65f2e1529220030d9145' into HEAD [Pipeline] echo [2024-02-16T18:41:40.900Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-16T18:41:41.301Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-16T18:41:41.301Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-16T18:41:41.301Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-16T18:41:41.301Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-16T18:41:41.301Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-16T18:41:41.301Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-16T18:41:41.301Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:41:41.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T18:41:41.745Z] [2024-02-16T18:41:41.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:41:42.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T18:41:42.067Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-16T18:41:42.067Z] b85a868b505f: Pulling fs layer [2024-02-16T18:41:42.067Z] e2be974225ed: Pulling fs layer [2024-02-16T18:41:42.067Z] 339a4e72a1f5: Pulling fs layer [2024-02-16T18:41:42.067Z] 988bab9f4d93: Pulling fs layer [2024-02-16T18:41:42.067Z] 1469e6f7b9e6: Pulling fs layer [2024-02-16T18:41:42.067Z] eaf3925da568: Pulling fs layer [2024-02-16T18:41:42.067Z] bab4dde63d76: Pulling fs layer [2024-02-16T18:41:42.067Z] bde34c3a00c8: Pulling fs layer [2024-02-16T18:41:42.067Z] b352a97aabf1: Pulling fs layer [2024-02-16T18:41:42.067Z] 4872d77fe225: Pulling fs layer [2024-02-16T18:41:42.067Z] 5851b861e8e6: Pulling fs layer [2024-02-16T18:41:42.067Z] 988bab9f4d93: Waiting [2024-02-16T18:41:42.067Z] 4872d77fe225: Waiting [2024-02-16T18:41:42.067Z] bab4dde63d76: Waiting [2024-02-16T18:41:42.067Z] 1469e6f7b9e6: Waiting [2024-02-16T18:41:42.067Z] 5851b861e8e6: Waiting [2024-02-16T18:41:42.067Z] bde34c3a00c8: Waiting [2024-02-16T18:41:42.067Z] b352a97aabf1: Waiting [2024-02-16T18:41:42.067Z] eaf3925da568: Waiting [2024-02-16T18:41:42.067Z] e2be974225ed: Download complete [2024-02-16T18:41:42.067Z] 988bab9f4d93: Verifying Checksum [2024-02-16T18:41:42.067Z] 988bab9f4d93: Download complete [2024-02-16T18:41:42.326Z] 1469e6f7b9e6: Verifying Checksum [2024-02-16T18:41:42.326Z] 1469e6f7b9e6: Download complete [2024-02-16T18:41:42.326Z] eaf3925da568: Verifying Checksum [2024-02-16T18:41:42.326Z] eaf3925da568: Download complete [2024-02-16T18:41:42.326Z] 339a4e72a1f5: Verifying Checksum [2024-02-16T18:41:42.326Z] 339a4e72a1f5: Download complete [2024-02-16T18:41:42.326Z] bde34c3a00c8: Download complete [2024-02-16T18:41:42.326Z] b352a97aabf1: Verifying Checksum [2024-02-16T18:41:42.326Z] b352a97aabf1: Download complete [2024-02-16T18:41:42.326Z] 4872d77fe225: Verifying Checksum [2024-02-16T18:41:42.326Z] 4872d77fe225: Download complete [2024-02-16T18:41:42.326Z] 5851b861e8e6: Verifying Checksum [2024-02-16T18:41:42.326Z] 5851b861e8e6: Download complete [2024-02-16T18:41:42.326Z] b85a868b505f: Verifying Checksum [2024-02-16T18:41:42.326Z] b85a868b505f: Download complete [2024-02-16T18:41:42.585Z] bab4dde63d76: Verifying Checksum [2024-02-16T18:41:42.585Z] bab4dde63d76: Download complete [2024-02-16T18:41:43.522Z] b85a868b505f: Pull complete [2024-02-16T18:41:43.805Z] e2be974225ed: Pull complete [2024-02-16T18:41:44.064Z] 339a4e72a1f5: Pull complete [2024-02-16T18:41:44.322Z] 988bab9f4d93: Pull complete [2024-02-16T18:41:44.581Z] 1469e6f7b9e6: Pull complete [2024-02-16T18:41:44.581Z] eaf3925da568: Pull complete [2024-02-16T18:41:46.487Z] bab4dde63d76: Pull complete [2024-02-16T18:41:46.487Z] bde34c3a00c8: Pull complete [2024-02-16T18:41:46.487Z] b352a97aabf1: Pull complete [2024-02-16T18:41:46.747Z] 4872d77fe225: Pull complete [2024-02-16T18:41:46.747Z] 5851b861e8e6: Pull complete [2024-02-16T18:41:46.747Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-16T18:41:46.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T18:41:46.747Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:41:46.944Z] prd-ubuntu20.04-docker-8c-8g-1089 does not seem to be running inside a container [2024-02-16T18:41:46.977Z] $ 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-02-16T18:41:51.785Z] $ docker top 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 -eo pid,comm [2024-02-16T18:41:51.835Z] 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-02-16T18:41:51.835Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-16T18:41:51.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-16T18:41:51.937Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-16T18:41:52.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-16T18:41:52.063Z] $ docker exec 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 ssh-agent [2024-02-16T18:41:52.165Z] SSH_AUTH_SOCK=/tmp/ssh-dlELEl5IAS1l/agent.32 [2024-02-16T18:41:52.165Z] SSH_AGENT_PID=38 [2024-02-16T18:41:52.173Z] Running ssh-add (command line suppressed) [2024-02-16T18:41:52.282Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_4060459025231116519.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_4060459025231116519.key) [2024-02-16T18:41:52.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-16T18:41:52.598Z] + git tag --points-at HEAD [Pipeline] } [2024-02-16T18:41:52.613Z] $ docker exec --env ******** --env ******** 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 ssh-agent -k [2024-02-16T18:41:52.703Z] unset SSH_AUTH_SOCK; [2024-02-16T18:41:52.703Z] unset SSH_AGENT_PID; [2024-02-16T18:41:52.703Z] echo Agent pid 38 killed; [2024-02-16T18:41:52.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-16T18:41:52.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-16T18:41:52.776Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-16T18:41:52.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-16T18:41:52.899Z] $ docker exec 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 ssh-agent [2024-02-16T18:41:53.000Z] SSH_AUTH_SOCK=/tmp/ssh-z8fuzmdQiVr7/agent.70 [2024-02-16T18:41:53.000Z] SSH_AGENT_PID=76 [2024-02-16T18:41:53.004Z] Running ssh-add (command line suppressed) [2024-02-16T18:41:53.108Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_5471657863410418915.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_5471657863410418915.key) [2024-02-16T18:41:53.114Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-16T18:41:53.419Z] + git semver init [2024-02-16T18:41:53.679Z] 2024-02-16 18:41:53,623 [run_init] DEBUG init version:0.0.0 force:False [2024-02-16T18:41:53.679Z] 2024-02-16 18:41:53,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-02-16T18:41:53.679Z] 2024-02-16 18:41:53,624 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-02-16T18:41:53.679Z] 2024-02-16 18:41:53,624 [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-02-16T18:41:55.055Z] 2024-02-16 18:41:54,844 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2024-02-16T18:41:55.055Z] 2024-02-16 18:41:54,845 [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-02-16T18:41:55.055Z] 2024-02-16 18:41:54,845 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-02-16T18:41:55.055Z] 2024-02-16 18:41:54,850 [execute] INFO git cat-file --batch-check [2024-02-16T18:41:55.055Z] 2024-02-16 18:41:54,850 [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-02-16T18:41:55.055Z] 2024-02-16 18:41:54,858 [execute] INFO git cat-file --batch [2024-02-16T18:41:55.055Z] 2024-02-16 18:41:54,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-02-16T18:41:55.055Z] 2024-02-16 18:41:54,863 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-02-16T18:41:55.055Z] 0.0.0 [Pipeline] } [2024-02-16T18:41:55.067Z] $ docker exec --env ******** --env ******** 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 ssh-agent -k [2024-02-16T18:41:55.160Z] unset SSH_AUTH_SOCK; [2024-02-16T18:41:55.160Z] unset SSH_AGENT_PID; [2024-02-16T18:41:55.160Z] echo Agent pid 76 killed; [2024-02-16T18:41:55.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-16T18:41:55.541Z] + git semver [Pipeline] } [2024-02-16T18:41:55.818Z] $ docker stop --time=1 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 [2024-02-16T18:41:57.122Z] $ docker rm -f --volumes 9a1ce793fc42d71095362769896cbbdd8f1ac4f6d488021d388c0ef907744a20 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T18:41:57.485Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-16T18:41:57.721Z] Stashed 1 file(s) [Pipeline] echo [2024-02-16T18:41:57.725Z] [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-02-16T18:41:58.090Z] provisioning config files... [2024-02-16T18:41:58.098Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config651922194019468772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:41:58.416Z] ---> ****-login.sh [2024-02-16T18:41:58.416Z] nexus3.edgexfoundry.org:10001 [2024-02-16T18:41:58.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:58.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:58.417Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:58.417Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:58.417Z] [2024-02-16T18:41:58.417Z] Login Succeeded [2024-02-16T18:41:58.417Z] nexus3.edgexfoundry.org:10002 [2024-02-16T18:41:58.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:58.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:58.417Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:58.417Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:58.417Z] [2024-02-16T18:41:58.417Z] Login Succeeded [2024-02-16T18:41:58.417Z] nexus3.edgexfoundry.org:10003 [2024-02-16T18:41:58.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:58.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:58.676Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:58.676Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:58.676Z] [2024-02-16T18:41:58.676Z] Login Succeeded [2024-02-16T18:41:58.676Z] nexus3.edgexfoundry.org:10004 [2024-02-16T18:41:58.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:58.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:58.676Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:58.677Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:58.677Z] [2024-02-16T18:41:58.677Z] Login Succeeded [2024-02-16T18:41:58.677Z] ****.io [2024-02-16T18:41:58.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:41:58.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:41:58.937Z] Configure a credential helper to remove this warning. See [2024-02-16T18:41:58.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:41:58.937Z] [2024-02-16T18:41:58.937Z] Login Succeeded [2024-02-16T18:41:58.937Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T18:41:58.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-16T18:41:59.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T18:41:59.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T18:41:59.183Z] ========================================================= [2024-02-16T18:41:59.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-16T18:41:59.183Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:41:59.597Z] + 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-02-16T18:41:59.597Z] Sending build context to Docker daemon 21.95MB [2024-02-16T18:41:59.597Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T18:41:59.597Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-16T18:41:59.856Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-16T18:41:59.856Z] 7264a8db6415: Pulling fs layer [2024-02-16T18:41:59.856Z] c4d48a809fc2: Pulling fs layer [2024-02-16T18:41:59.856Z] 4f1c88b9dad5: Pulling fs layer [2024-02-16T18:41:59.856Z] ad3a456e5733: Pulling fs layer [2024-02-16T18:41:59.856Z] 69c7f0334f64: Pulling fs layer [2024-02-16T18:41:59.856Z] 1f1c1a5573a3: Pulling fs layer [2024-02-16T18:41:59.856Z] ce7588e14bc9: Pulling fs layer [2024-02-16T18:41:59.856Z] b5e4710f87ac: Pulling fs layer [2024-02-16T18:41:59.856Z] ad3a456e5733: Waiting [2024-02-16T18:41:59.856Z] 1f1c1a5573a3: Waiting [2024-02-16T18:41:59.856Z] ce7588e14bc9: Waiting [2024-02-16T18:41:59.856Z] b5e4710f87ac: Waiting [2024-02-16T18:41:59.856Z] 69c7f0334f64: Waiting [2024-02-16T18:41:59.856Z] c4d48a809fc2: Download complete [2024-02-16T18:41:59.856Z] ad3a456e5733: Verifying Checksum [2024-02-16T18:41:59.856Z] ad3a456e5733: Download complete [2024-02-16T18:41:59.856Z] 69c7f0334f64: Verifying Checksum [2024-02-16T18:41:59.856Z] 69c7f0334f64: Download complete [2024-02-16T18:41:59.856Z] 7264a8db6415: Download complete [2024-02-16T18:41:59.856Z] 1f1c1a5573a3: Verifying Checksum [2024-02-16T18:41:59.856Z] 1f1c1a5573a3: Download complete [2024-02-16T18:41:59.856Z] 7264a8db6415: Pull complete [2024-02-16T18:42:00.115Z] b5e4710f87ac: Verifying Checksum [2024-02-16T18:42:00.115Z] b5e4710f87ac: Download complete [2024-02-16T18:42:00.115Z] c4d48a809fc2: Pull complete [2024-02-16T18:42:00.373Z] 4f1c88b9dad5: Verifying Checksum [2024-02-16T18:42:00.373Z] 4f1c88b9dad5: Download complete [2024-02-16T18:42:00.630Z] ce7588e14bc9: Verifying Checksum [2024-02-16T18:42:00.630Z] ce7588e14bc9: Download complete [2024-02-16T18:42:03.154Z] 4f1c88b9dad5: Pull complete [2024-02-16T18:42:03.154Z] ad3a456e5733: Pull complete [2024-02-16T18:42:03.154Z] 69c7f0334f64: Pull complete [2024-02-16T18:42:03.412Z] 1f1c1a5573a3: Pull complete [2024-02-16T18:42:05.940Z] ce7588e14bc9: Pull complete [2024-02-16T18:42:05.940Z] b5e4710f87ac: Pull complete [2024-02-16T18:42:05.940Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-16T18:42:05.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-16T18:42:05.940Z] ---> 88b5674ff536 [2024-02-16T18:42:05.940Z] Step 3/10 : ARG MAKE=make build [2024-02-16T18:42:12.986Z] Still waiting to schedule task [2024-02-16T18:42:12.986Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-16T18:42:14.134Z] ---> Running in 135ade0f5195 [2024-02-16T18:42:14.134Z] Removing intermediate container 135ade0f5195 [2024-02-16T18:42:14.134Z] ---> 4fa63aff8dba [2024-02-16T18:42:14.134Z] Step 4/10 : WORKDIR /device-sdk-go [2024-02-16T18:42:14.134Z] ---> Running in 1b242e8accfb [2024-02-16T18:42:14.134Z] Removing intermediate container 1b242e8accfb [2024-02-16T18:42:14.134Z] ---> 5da8c637dad6 [2024-02-16T18:42:14.134Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-16T18:42:14.391Z] ---> Running in 8da429ab4ba8 [2024-02-16T18:42:14.391Z] Removing intermediate container 8da429ab4ba8 [2024-02-16T18:42:14.391Z] ---> 2cd47f641562 [2024-02-16T18:42:14.391Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-02-16T18:42:14.391Z] ---> Running in f83a4f4bf782 [2024-02-16T18:42:14.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T18:42:14.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T18:42:15.170Z] OK: 264 MiB in 52 packages [2024-02-16T18:42:15.738Z] Removing intermediate container f83a4f4bf782 [2024-02-16T18:42:15.738Z] ---> 06ba9e775141 [2024-02-16T18:42:15.738Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-16T18:42:15.738Z] ---> 0bd1ed059843 [2024-02-16T18:42:15.738Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T18:42:15.738Z] ---> Running in 1c7a6774a19e [2024-02-16T18:42:47.840Z] Removing intermediate container 1c7a6774a19e [2024-02-16T18:42:47.840Z] ---> d4179bb42b45 [2024-02-16T18:42:47.840Z] Step 9/10 : COPY . . [2024-02-16T18:42:47.840Z] ---> 2b3b8fcb723d [2024-02-16T18:42:47.840Z] Step 10/10 : RUN ${MAKE} [2024-02-16T18:42:47.840Z] ---> Running in 8e6f43677219 [2024-02-16T18:42:47.840Z] noop [2024-02-16T18:42:47.840Z] Removing intermediate container 8e6f43677219 [2024-02-16T18:42:47.840Z] ---> 04b4f9c770cd [2024-02-16T18:42:47.840Z] Successfully built 04b4f9c770cd [2024-02-16T18:42:47.840Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:42:48.225Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-16T18:42:48.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:42:48.337Z] prd-ubuntu20.04-docker-8c-8g-1089 does not seem to be running inside a container [2024-02-16T18:42:48.374Z] $ 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-02-16T18:42:48.734Z] $ docker top 66aa865de728873a48dfe0b5a1f6caf487ee700e8e37280cdf23dba4f2c1b5c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T18:42:49.107Z] + go version [2024-02-16T18:42:49.107Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-16T18:42:49.126Z] $ docker stop --time=1 66aa865de728873a48dfe0b5a1f6caf487ee700e8e37280cdf23dba4f2c1b5c7 [2024-02-16T18:42:50.429Z] $ docker rm -f --volumes 66aa865de728873a48dfe0b5a1f6caf487ee700e8e37280cdf23dba4f2c1b5c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:42:51.047Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-16T18:42:51.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:42:51.170Z] prd-ubuntu20.04-docker-8c-8g-1089 does not seem to be running inside a container [2024-02-16T18:42:51.221Z] $ 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-02-16T18:42:51.610Z] $ docker top 41d0d54905f3719f8972a72d9d43eaaf4c8c1b2af1a9778cc3915134931cf94e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T18:42:51.993Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2024-02-16T18:42:52.320Z] + make test [2024-02-16T18:42:52.320Z] go test -race -coverprofile=coverage.out ./... [2024-02-16T18:42:58.883Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-02-16T18:43:11.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-02-16T18:43:11.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements [2024-02-16T18:43:11.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.047s coverage: 81.5% of statements [2024-02-16T18:43:11.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.069s coverage: 86.0% of statements [2024-02-16T18:43:11.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.073s coverage: 71.8% of statements [2024-02-16T18:43:11.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-02-16T18:43:11.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-02-16T18:43:12.485Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-02-16T18:43:15.776Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements [2024-02-16T18:43:16.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.074s coverage: 45.9% of statements [2024-02-16T18:43:16.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2024-02-16T18:43:16.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements [2024-02-16T18:43:16.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.5% of statements [2024-02-16T18:43:34.424Z] GO111MODULE=on go vet ./... [2024-02-16T18:43:36.953Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-16T18:43:36.953Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-16T18:43:36.953Z] ./bin/test-attribution-txt.sh [2024-02-16T18:43:36.953Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-16T18:43:36.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-16T18:43:37.007Z] $ docker stop --time=1 41d0d54905f3719f8972a72d9d43eaaf4c8c1b2af1a9778cc3915134931cf94e [2024-02-16T18:43:38.853Z] $ docker rm -f --volumes 41d0d54905f3719f8972a72d9d43eaaf4c8c1b2af1a9778cc3915134931cf94e [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T18:43:39.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-16T18:43:39.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-16T18:43:40.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-16T18:43:40.757Z] + ls -al . [2024-02-16T18:43:40.757Z] total 308 [2024-02-16T18:43:40.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 18:42 . [2024-02-16T18:43:40.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:41 .. [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 18:41 .dockerignore [2024-02-16T18:43:40.757Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 18:43 .git [2024-02-16T18:43:40.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:41 .github [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 137 Feb 16 18:41 .gitignore [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 18:41 .golangci.yml [2024-02-16T18:43:40.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 18:41 .semver [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 48109 Feb 16 18:41 CHANGELOG.md [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 18:41 GOVERNANCE.md [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 18:41 Jenkinsfile [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 18:41 LICENSE [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 1842 Feb 16 18:41 Makefile [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 18:41 OWNERS.md [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 4933 Feb 16 18:41 README.md [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 18:41 VERSION [2024-02-16T18:43:40.757Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:41 bin [2024-02-16T18:43:40.757Z] -rw-r--r-- 1 jenkins jenkins 122154 Feb 16 18:43 coverage.out [2024-02-16T18:43:40.757Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 18:41 example [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 3768 Feb 16 18:41 go.mod [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 33786 Feb 16 18:41 go.sum [2024-02-16T18:43:40.757Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:41 internal [2024-02-16T18:43:40.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:41 openapi [2024-02-16T18:43:40.757Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 18:41 pkg [2024-02-16T18:43:40.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:41 snap [2024-02-16T18:43:40.757Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:43:41.114Z] + 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=52f56b1ef88eebce9af1f11113227bea175f7202 --label arch=amd64 --label version=0.0.0 . [2024-02-16T18:43:41.114Z] Sending build context to Docker daemon 22.07MB [2024-02-16T18:43:41.114Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T18:43:41.114Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-16T18:43:41.114Z] ---> 04b4f9c770cd [2024-02-16T18:43:41.114Z] Step 3/24 : ARG MAKE=make build [2024-02-16T18:43:41.373Z] ---> Running in 166c16c54dca [2024-02-16T18:43:41.373Z] Removing intermediate container 166c16c54dca [2024-02-16T18:43:41.373Z] ---> e9922ef495a4 [2024-02-16T18:43:41.373Z] Step 4/24 : WORKDIR /device-sdk-go [2024-02-16T18:43:41.373Z] ---> Running in 2627c15f0b92 [2024-02-16T18:43:41.373Z] Removing intermediate container 2627c15f0b92 [2024-02-16T18:43:41.373Z] ---> 7d8794388a72 [2024-02-16T18:43:41.373Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-16T18:43:41.373Z] ---> Running in 2e071164eb72 [2024-02-16T18:43:41.632Z] Removing intermediate container 2e071164eb72 [2024-02-16T18:43:41.632Z] ---> a4866cf3b953 [2024-02-16T18:43:41.632Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-02-16T18:43:41.632Z] ---> Running in d8a6babb0c87 [2024-02-16T18:43:41.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T18:43:41.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T18:43:42.150Z] OK: 264 MiB in 52 packages [2024-02-16T18:43:42.718Z] Removing intermediate container d8a6babb0c87 [2024-02-16T18:43:42.718Z] ---> 0f7073d595d5 [2024-02-16T18:43:42.718Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-16T18:43:42.718Z] ---> b03a13635c70 [2024-02-16T18:43:42.718Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T18:43:42.718Z] ---> Running in 04f6a6a49c61 [2024-02-16T18:43:43.283Z] Removing intermediate container 04f6a6a49c61 [2024-02-16T18:43:43.283Z] ---> 3609a0313c95 [2024-02-16T18:43:43.283Z] Step 9/24 : COPY . . [2024-02-16T18:43:43.542Z] ---> e707be68c794 [2024-02-16T18:43:43.542Z] Step 10/24 : RUN ${MAKE} [2024-02-16T18:43:43.542Z] ---> Running in 92186ae47864 [2024-02-16T18:43:43.801Z] 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-02-16T18:43:59.663Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1090 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2024-02-16T18:43:59.701Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2024-02-16T18:44:01.880Z] Removing intermediate container 92186ae47864 [2024-02-16T18:44:01.881Z] ---> a173edca39ef [2024-02-16T18:44:01.881Z] Step 11/24 : FROM alpine:3.18 [2024-02-16T18:44:01.881Z] 3.18: Pulling from library/alpine [2024-02-16T18:44:01.881Z] 619be1103602: Pulling fs layer [2024-02-16T18:44:01.881Z] 619be1103602: Verifying Checksum [2024-02-16T18:44:01.881Z] 619be1103602: Download complete [2024-02-16T18:44:01.881Z] 619be1103602: Pull complete [2024-02-16T18:44:01.881Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-16T18:44:01.881Z] Status: Downloaded newer image for alpine:3.18 [2024-02-16T18:44:01.881Z] ---> d3782b16ccc9 [2024-02-16T18:44:01.881Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-02-16T18:44:01.881Z] ---> Running in 0698ae2af15f [2024-02-16T18:44:01.881Z] Removing intermediate container 0698ae2af15f [2024-02-16T18:44:01.881Z] ---> a5ae5af8af3d [2024-02-16T18:44:01.881Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-16T18:44:01.881Z] ---> Running in b2e447093e72 [2024-02-16T18:44:01.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T18:44:01.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T18:44:01.881Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-16T18:44:01.881Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T18:44:01.881Z] OK: 7 MiB in 16 packages [2024-02-16T18:44:01.881Z] Removing intermediate container b2e447093e72 [2024-02-16T18:44:01.881Z] ---> 37850b71c343 [2024-02-16T18:44:01.881Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-16T18:44:01.881Z] ---> Running in d417bf0e889a [2024-02-16T18:44:01.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T18:44:01.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T18:44:01.881Z] OK: 7 MiB in 16 packages [2024-02-16T18:44:02.140Z] Removing intermediate container d417bf0e889a [2024-02-16T18:44:02.140Z] ---> eacb31cec900 [2024-02-16T18:44:02.140Z] Step 15/24 : WORKDIR / [2024-02-16T18:44:02.140Z] ---> Running in 67ec925f6818 [2024-02-16T18:44:02.140Z] Removing intermediate container 67ec925f6818 [2024-02-16T18:44:02.140Z] ---> 733b64b45f56 [2024-02-16T18:44:02.140Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-02-16T18:44:02.400Z] ---> 9606786cfae6 [2024-02-16T18:44:02.400Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-02-16T18:44:02.969Z] ---> 44602fe3a28f [2024-02-16T18:44:02.969Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-02-16T18:44:02.969Z] ---> ae8365bd03fa [2024-02-16T18:44:02.969Z] Step 19/24 : EXPOSE 59999 [2024-02-16T18:44:02.969Z] ---> Running in 092f43698cb8 [2024-02-16T18:44:02.969Z] Removing intermediate container 092f43698cb8 [2024-02-16T18:44:02.969Z] ---> b92801277649 [2024-02-16T18:44:02.969Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-02-16T18:44:03.228Z] ---> Running in b3db70626b91 [2024-02-16T18:44:03.228Z] Removing intermediate container b3db70626b91 [2024-02-16T18:44:03.228Z] ---> e159778be180 [2024-02-16T18:44:03.228Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-16T18:44:03.228Z] ---> Running in 7c10846a5c20 [2024-02-16T18:44:03.228Z] Removing intermediate container 7c10846a5c20 [2024-02-16T18:44:03.228Z] ---> 70f4ed5dcc71 [2024-02-16T18:44:03.228Z] Step 22/24 : LABEL arch=amd64 [2024-02-16T18:44:03.228Z] ---> Running in 87502be0a387 [2024-02-16T18:44:03.228Z] Removing intermediate container 87502be0a387 [2024-02-16T18:44:03.228Z] ---> f8cc9cf6247e [2024-02-16T18:44:03.228Z] Step 23/24 : LABEL git_sha=52f56b1ef88eebce9af1f11113227bea175f7202 [2024-02-16T18:44:03.487Z] ---> Running in 70e9c2404011 [2024-02-16T18:44:03.487Z] Removing intermediate container 70e9c2404011 [2024-02-16T18:44:03.487Z] ---> 3c69c5c3e2b4 [2024-02-16T18:44:03.487Z] Step 24/24 : LABEL version=0.0.0 [2024-02-16T18:44:03.487Z] ---> Running in 04bf7d6f6d4e [2024-02-16T18:44:03.487Z] Removing intermediate container 04bf7d6f6d4e [2024-02-16T18:44:03.487Z] ---> 02b11e210b34 [2024-02-16T18:44:03.487Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-16T18:44:03.487Z] Successfully built 02b11e210b34 [2024-02-16T18:44:03.487Z] 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-02-16T18:44:03.963Z] The recommended git tool is: git [2024-02-16T18:44:04.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T18:44:04.233Z] [2024-02-16T18:44:04.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:44:04.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T18:44:04.568Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-16T18:44:04.568Z] 5eb5b503b376: Pulling fs layer [2024-02-16T18:44:04.568Z] 5c69ac0246d0: Pulling fs layer [2024-02-16T18:44:04.568Z] ec43610c2a17: Pulling fs layer [2024-02-16T18:44:04.568Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-16T18:44:04.568Z] 33b1e0a273af: Pulling fs layer [2024-02-16T18:44:04.568Z] 5d3b04190fa2: Pulling fs layer [2024-02-16T18:44:04.568Z] 3a2ae6a8a46f: Waiting [2024-02-16T18:44:04.568Z] 2f39f015ded8: Pulling fs layer [2024-02-16T18:44:04.568Z] 2f39f015ded8: Waiting [2024-02-16T18:44:04.568Z] 5c69ac0246d0: Verifying Checksum [2024-02-16T18:44:04.568Z] 5c69ac0246d0: Download complete [2024-02-16T18:44:04.568Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-16T18:44:04.568Z] 3a2ae6a8a46f: Download complete [2024-02-16T18:44:04.568Z] 33b1e0a273af: Verifying Checksum [2024-02-16T18:44:04.568Z] 33b1e0a273af: Download complete [2024-02-16T18:44:04.568Z] 5d3b04190fa2: Verifying Checksum [2024-02-16T18:44:04.568Z] 5d3b04190fa2: Download complete [2024-02-16T18:44:04.568Z] ec43610c2a17: Verifying Checksum [2024-02-16T18:44:04.568Z] ec43610c2a17: Download complete [2024-02-16T18:44:04.826Z] 5eb5b503b376: Verifying Checksum [2024-02-16T18:44:04.826Z] 5eb5b503b376: Download complete [2024-02-16T18:44:05.391Z] 2f39f015ded8: Download complete [2024-02-16T18:44:05.957Z] 5eb5b503b376: Pull complete [2024-02-16T18:44:05.957Z] 5c69ac0246d0: Pull complete [2024-02-16T18:44:06.526Z] ec43610c2a17: Pull complete [2024-02-16T18:44:06.526Z] 3a2ae6a8a46f: Pull complete [2024-02-16T18:44:06.784Z] 33b1e0a273af: Pull complete [2024-02-16T18:44:06.784Z] 5d3b04190fa2: Pull complete [2024-02-16T18:44:10.596Z] using credential edgex-jenkins-ssh [2024-02-16T18:44:10.617Z] Cloning the remote Git repository [2024-02-16T18:44:10.973Z] 2f39f015ded8: Pull complete [2024-02-16T18:44:10.973Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-16T18:44:10.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T18:44:10.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:44:11.256Z] prd-ubuntu20.04-docker-8c-8g-1089 does not seem to be running inside a container [2024-02-16T18:44:11.290Z] $ 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-02-16T18:44:10.677Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-02-16T18:44:10.812Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2024-02-16T18:44:11.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-02-16T18:44:11.158Z] > git --version # timeout=10 [2024-02-16T18:44:11.187Z] > git --version # 'git version 2.25.1' [2024-02-16T18:44:11.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T18:44:11.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-16T18:44:13.994Z] $ docker top 34ff7165b759aae64093def1483cd9bb3c4d0c1c9c7566ae3b9842a2b6ed209d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:44:13.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-02-16T18:44:13.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-16T18:44:14.453Z] ---> job-cost.sh [2024-02-16T18:44:14.453Z] lf-activate-venv: SKIPPING [2024-02-16T18:44:14.453Z] INFO: No Stack... [2024-02-16T18:44:14.712Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-16T18:44:15.282Z] INFO: Archiving Costs [Pipeline] sh [2024-02-16T18:44:15.576Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2024-02-16T18:44:15.576Z] + cut -d, -f6 [Pipeline] lock [2024-02-16T18:44:15.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] [2024-02-16T18:44:15.600Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] did not exist. Created. [2024-02-16T18:44:15.605Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-16T18:44:15.958Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-16T18:44:15.988Z] Stashed 1 file(s) [Pipeline] } [2024-02-16T18:44:16.017Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-16T18:44:16.097Z] $ docker stop --time=1 34ff7165b759aae64093def1483cd9bb3c4d0c1c9c7566ae3b9842a2b6ed209d [2024-02-16T18:44:17.243Z] $ docker rm -f --volumes 34ff7165b759aae64093def1483cd9bb3c4d0c1c9c7566ae3b9842a2b6ed209d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-16T18:44:18.885Z] Merging remotes/origin/main commit 05a857ba723bc3223dfc65f2e1529220030d9145 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2024-02-16T18:44:19.325Z] Merge succeeded, producing f1041a4865133dfe36c2b308d8b8779530cb4640 [2024-02-16T18:44:19.325Z] Checking out Revision f1041a4865133dfe36c2b308d8b8779530cb4640 (PR-1540) [2024-02-16T18:44:18.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-02-16T18:44:18.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-02-16T18:44:18.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T18:44:18.209Z] > 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-02-16T18:44:18.906Z] > git config core.sparsecheckout # timeout=10 [2024-02-16T18:44:18.994Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2024-02-16T18:44:19.107Z] > git remote # timeout=10 [2024-02-16T18:44:19.129Z] > git config --get remote.origin.url # timeout=10 [2024-02-16T18:44:19.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T18:44:19.204Z] > git merge 05a857ba723bc3223dfc65f2e1529220030d9145 # timeout=10 [2024-02-16T18:44:19.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-16T18:44:19.337Z] > git config core.sparsecheckout # timeout=10 [2024-02-16T18:44:19.353Z] > git checkout -f f1041a4865133dfe36c2b308d8b8779530cb4640 # timeout=10 [2024-02-16T18:44:23.255Z] Commit message: "Merge commit '05a857ba723bc3223dfc65f2e1529220030d9145' into HEAD" [2024-02-16T18:44:23.348Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T18:44:23.287Z] > git rev-list --no-walk 3fb07837ef7ab509c9018b92bace93e1b9b37ebe # timeout=10 [2024-02-16T18:44:25.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-16T18:44:25.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-16T18:44:25.172Z] Dload Upload Total Spent Left Speed [2024-02-16T18:44:25.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 42336 0 --:--:-- --:--:-- --:--:-- 42336 [Pipeline] sh [2024-02-16T18:44:26.115Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-16T18:44:26.448Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-16T18:44:26.448Z] + sudo tee /etc/docker/daemon.new [2024-02-16T18:44:26.716Z] { [2024-02-16T18:44:26.716Z] "registry-mirrors": [ [2024-02-16T18:44:26.716Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-16T18:44:26.716Z] ], [2024-02-16T18:44:26.716Z] "bip": "10.250.0.254/24", [2024-02-16T18:44:26.716Z] "hosts": [ [2024-02-16T18:44:26.716Z] "tcp://0.0.0.0:5555", [2024-02-16T18:44:26.716Z] "unix:///var/run/docker.sock" [2024-02-16T18:44:26.716Z] ], [2024-02-16T18:44:26.716Z] "mtu": 1458, [2024-02-16T18:44:26.716Z] "selinux-enabled": true, [2024-02-16T18:44:26.716Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-16T18:44:26.716Z] } [Pipeline] sh [2024-02-16T18:44:27.104Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-16T18:44:27.447Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T18:44:45.732Z] provisioning config files... [2024-02-16T18:44:45.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config17013170376194849603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:44:46.192Z] ---> ****-login.sh [2024-02-16T18:44:46.192Z] nexus3.edgexfoundry.org:10001 [2024-02-16T18:44:46.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:44:46.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:44:46.780Z] Configure a credential helper to remove this warning. See [2024-02-16T18:44:46.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:44:46.780Z] [2024-02-16T18:44:46.780Z] Login Succeeded [2024-02-16T18:44:46.780Z] nexus3.edgexfoundry.org:10002 [2024-02-16T18:44:47.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:44:47.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:44:47.318Z] Configure a credential helper to remove this warning. See [2024-02-16T18:44:47.318Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:44:47.318Z] [2024-02-16T18:44:47.318Z] Login Succeeded [2024-02-16T18:44:47.318Z] nexus3.edgexfoundry.org:10003 [2024-02-16T18:44:47.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:44:47.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:44:47.590Z] Configure a credential helper to remove this warning. See [2024-02-16T18:44:47.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:44:47.590Z] [2024-02-16T18:44:47.590Z] Login Succeeded [2024-02-16T18:44:47.590Z] nexus3.edgexfoundry.org:10004 [2024-02-16T18:44:47.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:44:47.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:44:47.862Z] Configure a credential helper to remove this warning. See [2024-02-16T18:44:47.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:44:47.862Z] [2024-02-16T18:44:47.862Z] Login Succeeded [2024-02-16T18:44:47.862Z] ****.io [2024-02-16T18:44:48.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T18:44:48.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T18:44:48.410Z] Configure a credential helper to remove this warning. See [2024-02-16T18:44:48.410Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T18:44:48.410Z] [2024-02-16T18:44:48.410Z] Login Succeeded [2024-02-16T18:44:48.410Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T18:44:48.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-16T18:44:48.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T18:44:48.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T18:44:48.966Z] ========================================================= [2024-02-16T18:44:48.966Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-16T18:44:48.966Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:44:49.444Z] + 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-02-16T18:44:50.031Z] Sending build context to Docker daemon 11.38MB [2024-02-16T18:44:50.031Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T18:44:50.031Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-16T18:44:50.031Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-16T18:44:50.031Z] 9fda8d8052c6: Pulling fs layer [2024-02-16T18:44:50.031Z] 5d54e960e981: Pulling fs layer [2024-02-16T18:44:50.031Z] c4a7e357bf2a: Pulling fs layer [2024-02-16T18:44:50.031Z] f0e02332f6b5: Pulling fs layer [2024-02-16T18:44:50.031Z] 872ee5b61b7b: Pulling fs layer [2024-02-16T18:44:50.031Z] 0c6a40ed1a82: Pulling fs layer [2024-02-16T18:44:50.031Z] 94ae7d8d031c: Pulling fs layer [2024-02-16T18:44:50.031Z] f0e02332f6b5: Waiting [2024-02-16T18:44:50.031Z] 0c6a40ed1a82: Waiting [2024-02-16T18:44:50.031Z] 94ae7d8d031c: Waiting [2024-02-16T18:44:50.031Z] 5d54e960e981: Verifying Checksum [2024-02-16T18:44:50.031Z] 5d54e960e981: Download complete [2024-02-16T18:44:50.305Z] f0e02332f6b5: Verifying Checksum [2024-02-16T18:44:50.305Z] f0e02332f6b5: Download complete [2024-02-16T18:44:50.305Z] 872ee5b61b7b: Verifying Checksum [2024-02-16T18:44:50.305Z] 872ee5b61b7b: Download complete [2024-02-16T18:44:50.305Z] 9fda8d8052c6: Verifying Checksum [2024-02-16T18:44:50.305Z] 9fda8d8052c6: Download complete [2024-02-16T18:44:50.587Z] 94ae7d8d031c: Verifying Checksum [2024-02-16T18:44:50.587Z] 94ae7d8d031c: Download complete [2024-02-16T18:44:51.171Z] 9fda8d8052c6: Pull complete [2024-02-16T18:44:51.759Z] 5d54e960e981: Pull complete [2024-02-16T18:44:52.026Z] c4a7e357bf2a: Verifying Checksum [2024-02-16T18:44:52.026Z] c4a7e357bf2a: Download complete [2024-02-16T18:44:52.988Z] 0c6a40ed1a82: Verifying Checksum [2024-02-16T18:44:52.988Z] 0c6a40ed1a82: Download complete [2024-02-16T18:45:05.304Z] c4a7e357bf2a: Pull complete [2024-02-16T18:45:05.304Z] f0e02332f6b5: Pull complete [2024-02-16T18:45:05.304Z] 872ee5b61b7b: Pull complete [2024-02-16T18:45:13.507Z] 0c6a40ed1a82: Pull complete [2024-02-16T18:45:18.839Z] 94ae7d8d031c: Pull complete [2024-02-16T18:45:18.839Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-16T18:45:18.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-16T18:45:18.839Z] ---> 86de565de09d [2024-02-16T18:45:18.839Z] Step 3/10 : ARG MAKE=make build [2024-02-16T18:45:19.794Z] ---> Running in 24d157e268b1 [2024-02-16T18:45:20.062Z] Removing intermediate container 24d157e268b1 [2024-02-16T18:45:20.062Z] ---> 977a914138d7 [2024-02-16T18:45:20.062Z] Step 4/10 : WORKDIR /device-sdk-go [2024-02-16T18:45:20.330Z] ---> Running in 0b68298654dc [2024-02-16T18:45:20.598Z] Removing intermediate container 0b68298654dc [2024-02-16T18:45:20.598Z] ---> e35b30c143f4 [2024-02-16T18:45:20.598Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-16T18:45:20.598Z] ---> Running in 70e896fe6924 [2024-02-16T18:45:20.870Z] Removing intermediate container 70e896fe6924 [2024-02-16T18:45:20.870Z] ---> 1f5e9b475567 [2024-02-16T18:45:20.870Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-02-16T18:45:20.870Z] ---> Running in b39f6ebb3d83 [2024-02-16T18:45:22.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T18:45:22.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T18:45:23.525Z] OK: 266 MiB in 52 packages [2024-02-16T18:45:24.490Z] Removing intermediate container b39f6ebb3d83 [2024-02-16T18:45:24.490Z] ---> 3c45e4d1e2ba [2024-02-16T18:45:24.490Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-16T18:45:24.762Z] ---> 5fbbc05f7f2e [2024-02-16T18:45:24.762Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T18:45:25.046Z] ---> Running in 454fa5836868 [2024-02-16T18:46:32.992Z] Removing intermediate container 454fa5836868 [2024-02-16T18:46:32.992Z] ---> eef5649c0198 [2024-02-16T18:46:32.992Z] Step 9/10 : COPY . . [2024-02-16T18:46:32.992Z] ---> cca2d315e161 [2024-02-16T18:46:32.992Z] Step 10/10 : RUN ${MAKE} [2024-02-16T18:46:32.992Z] ---> Running in 7824904a676f [2024-02-16T18:46:32.992Z] noop [2024-02-16T18:46:32.992Z] Removing intermediate container 7824904a676f [2024-02-16T18:46:32.992Z] ---> a33412f7cd4c [2024-02-16T18:46:32.992Z] Successfully built a33412f7cd4c [2024-02-16T18:46:32.992Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:46:33.433Z] + docker inspect -f . ci-base-image-arm64 [2024-02-16T18:46:33.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:46:33.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-1090 does not seem to be running inside a container [2024-02-16T18:46:33.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-02-16T18:46:34.972Z] $ docker top aa3cc8f680a9c729b161f2c7ddd00a53968bced935a5e7f62556455023283571 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T18:46:35.852Z] + go version [2024-02-16T18:46:35.852Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-16T18:46:35.869Z] $ docker stop --time=1 aa3cc8f680a9c729b161f2c7ddd00a53968bced935a5e7f62556455023283571 [2024-02-16T18:46:37.482Z] $ docker rm -f --volumes aa3cc8f680a9c729b161f2c7ddd00a53968bced935a5e7f62556455023283571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:46:38.352Z] + docker inspect -f . ci-base-image-arm64 [2024-02-16T18:46:38.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:46:38.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-1090 does not seem to be running inside a container [2024-02-16T18:46:38.654Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-02-16T18:46:39.857Z] $ docker top 7fa3b7f6577e6cdd8de08774ddc74be8187bc7ee96ea4925fa02610d23826b55 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T18:46:40.429Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/10 [Pipeline] fileExists [Pipeline] sh [2024-02-16T18:46:41.375Z] + make test [2024-02-16T18:46:41.375Z] go test -race -coverprofile=coverage.out ./... [2024-02-16T18:47:20.255Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-02-16T18:48:57.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-02-16T18:48:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-02-16T18:48:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-02-16T18:48:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-02-16T18:48:57.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-02-16T18:48:57.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.196s coverage: 27.6% of statements [2024-02-16T18:49:01.279Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.252s coverage: 81.5% of statements [2024-02-16T18:49:09.468Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-02-16T18:49:09.468Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-02-16T18:49:10.168Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.322s coverage: 86.0% of statements [2024-02-16T18:49:14.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-02-16T18:49:15.883Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.406s coverage: 71.8% of statements [2024-02-16T18:49:19.218Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.307s coverage: 14.4% of statements [2024-02-16T18:49:19.218Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-02-16T18:49:19.218Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-02-16T18:49:20.633Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.795s coverage: 45.9% of statements [2024-02-16T18:49:20.633Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.387s coverage: 68.5% of statements [2024-02-16T18:49:23.969Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.409s coverage: 89.2% of statements [2024-02-16T18:49:23.969Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-02-16T18:49:24.924Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.220s coverage: 5.5% of statements [2024-02-16T18:49:25.505Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-16T18:49:25.505Z] GO111MODULE=on go vet ./... [2024-02-16T18:51:17.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-16T18:51:17.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-16T18:51:17.139Z] ./bin/test-attribution-txt.sh [2024-02-16T18:51:17.139Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-16T18:51:17.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-16T18:51:17.213Z] $ docker stop --time=1 7fa3b7f6577e6cdd8de08774ddc74be8187bc7ee96ea4925fa02610d23826b55 [2024-02-16T18:51:22.718Z] $ docker rm -f --volumes 7fa3b7f6577e6cdd8de08774ddc74be8187bc7ee96ea4925fa02610d23826b55 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T18:51:24.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-16T18:51:24.475Z] Warning: overwriting stash ‘coverage-report’ [2024-02-16T18:51:25.011Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T18:51:25.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-16T18:51:25.924Z] + ls -al . [2024-02-16T18:51:25.924Z] total 304 [2024-02-16T18:51:25.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 18:46 . [2024-02-16T18:51:25.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:44 .. [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 18:44 .dockerignore [2024-02-16T18:51:25.924Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 18:44 .git [2024-02-16T18:51:25.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:44 .github [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 137 Feb 16 18:44 .gitignore [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 18:44 .golangci.yml [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 48109 Feb 16 18:44 CHANGELOG.md [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 18:44 GOVERNANCE.md [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 18:44 Jenkinsfile [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 18:44 LICENSE [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 1842 Feb 16 18:44 Makefile [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 18:44 OWNERS.md [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 4933 Feb 16 18:44 README.md [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 18:41 VERSION [2024-02-16T18:51:25.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:44 bin [2024-02-16T18:51:25.924Z] -rw-r--r-- 1 jenkins jenkins 122153 Feb 16 18:49 coverage.out [2024-02-16T18:51:25.924Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 18:44 example [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 3768 Feb 16 18:44 go.mod [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 33786 Feb 16 18:44 go.sum [2024-02-16T18:51:25.924Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:44 internal [2024-02-16T18:51:25.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:44 openapi [2024-02-16T18:51:25.924Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 18:44 pkg [2024-02-16T18:51:25.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:44 snap [2024-02-16T18:51:25.924Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:51:26.330Z] + 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=f1041a4865133dfe36c2b308d8b8779530cb4640 --label arch=arm64 --label version=0.0.0 . [2024-02-16T18:51:26.925Z] Sending build context to Docker daemon 11.51MB [2024-02-16T18:51:26.925Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T18:51:26.925Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-16T18:51:26.925Z] ---> a33412f7cd4c [2024-02-16T18:51:26.925Z] Step 3/24 : ARG MAKE=make build [2024-02-16T18:51:26.925Z] ---> Running in 2f45f6987b37 [2024-02-16T18:51:27.192Z] Removing intermediate container 2f45f6987b37 [2024-02-16T18:51:27.192Z] ---> 5921538086bf [2024-02-16T18:51:27.192Z] Step 4/24 : WORKDIR /device-sdk-go [2024-02-16T18:51:27.459Z] ---> Running in c9572dca3ed1 [2024-02-16T18:51:27.724Z] Removing intermediate container c9572dca3ed1 [2024-02-16T18:51:27.724Z] ---> 3865575a8e0b [2024-02-16T18:51:27.724Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-16T18:51:27.724Z] ---> Running in 0ac207144ed9 [2024-02-16T18:51:27.989Z] Removing intermediate container 0ac207144ed9 [2024-02-16T18:51:27.989Z] ---> b65dc4ddaa78 [2024-02-16T18:51:27.989Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-02-16T18:51:28.254Z] ---> Running in 9b026c456ed9 [2024-02-16T18:51:29.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T18:51:29.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T18:51:30.873Z] OK: 266 MiB in 52 packages [2024-02-16T18:51:31.457Z] Removing intermediate container 9b026c456ed9 [2024-02-16T18:51:31.457Z] ---> b8fd029b12b7 [2024-02-16T18:51:31.457Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-16T18:51:32.041Z] ---> fabf8508f408 [2024-02-16T18:51:32.041Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T18:51:32.041Z] ---> Running in fd93ebf86f3c [2024-02-16T18:51:38.687Z] Removing intermediate container fd93ebf86f3c [2024-02-16T18:51:38.687Z] ---> 78072d767d18 [2024-02-16T18:51:38.687Z] Step 9/24 : COPY . . [2024-02-16T18:51:39.271Z] ---> 997c6a4f3fe0 [2024-02-16T18:51:39.271Z] Step 10/24 : RUN ${MAKE} [2024-02-16T18:51:39.539Z] ---> Running in 136ed228d62b [2024-02-16T18:51:40.494Z] 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-02-16T18:53:32.110Z] Removing intermediate container 136ed228d62b [2024-02-16T18:53:32.110Z] ---> 2fd98d2d1b6b [2024-02-16T18:53:32.110Z] Step 11/24 : FROM alpine:3.18 [2024-02-16T18:53:32.110Z] 3.18: Pulling from library/alpine [2024-02-16T18:53:32.110Z] c6b39de5b339: Pulling fs layer [2024-02-16T18:53:32.110Z] c6b39de5b339: Verifying Checksum [2024-02-16T18:53:32.110Z] c6b39de5b339: Download complete [2024-02-16T18:53:32.110Z] c6b39de5b339: Pull complete [2024-02-16T18:53:32.110Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-16T18:53:32.110Z] Status: Downloaded newer image for alpine:3.18 [2024-02-16T18:53:32.110Z] ---> 33abbf032149 [2024-02-16T18:53:32.110Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-02-16T18:53:32.110Z] ---> Running in f3feee1795ba [2024-02-16T18:53:32.110Z] Removing intermediate container f3feee1795ba [2024-02-16T18:53:32.110Z] ---> 80afd5356450 [2024-02-16T18:53:32.110Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-16T18:53:32.110Z] ---> Running in 73a915f7e5f2 [2024-02-16T18:53:32.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T18:53:32.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T18:53:32.110Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-16T18:53:32.110Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T18:53:32.110Z] OK: 8 MiB in 16 packages [2024-02-16T18:53:32.110Z] Removing intermediate container 73a915f7e5f2 [2024-02-16T18:53:32.110Z] ---> b0292e48fee5 [2024-02-16T18:53:32.110Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-16T18:53:32.110Z] ---> Running in 76f85394585c [2024-02-16T18:53:32.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T18:53:32.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T18:53:32.110Z] OK: 8 MiB in 16 packages [2024-02-16T18:53:32.110Z] Removing intermediate container 76f85394585c [2024-02-16T18:53:32.110Z] ---> 371350240c5d [2024-02-16T18:53:32.110Z] Step 15/24 : WORKDIR / [2024-02-16T18:53:32.111Z] ---> Running in d602b15cfc06 [2024-02-16T18:53:32.111Z] Removing intermediate container d602b15cfc06 [2024-02-16T18:53:32.111Z] ---> 19e7ff9ddc6a [2024-02-16T18:53:32.111Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-02-16T18:53:32.111Z] ---> 3c6d2c5352ac [2024-02-16T18:53:32.111Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-02-16T18:53:33.070Z] ---> 3ffe3887e984 [2024-02-16T18:53:33.070Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-02-16T18:53:33.658Z] ---> 14b4e42c6ef3 [2024-02-16T18:53:33.658Z] Step 19/24 : EXPOSE 59999 [2024-02-16T18:53:33.658Z] ---> Running in 03ebc68ca76d [2024-02-16T18:53:33.923Z] Removing intermediate container 03ebc68ca76d [2024-02-16T18:53:33.923Z] ---> 4720d6dfd3a5 [2024-02-16T18:53:33.923Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-02-16T18:53:33.923Z] ---> Running in a7549b55c4ea [2024-02-16T18:53:34.192Z] Removing intermediate container a7549b55c4ea [2024-02-16T18:53:34.192Z] ---> afb52983eb34 [2024-02-16T18:53:34.192Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-16T18:53:34.456Z] ---> Running in 10d189491ccd [2024-02-16T18:53:34.746Z] Removing intermediate container 10d189491ccd [2024-02-16T18:53:34.746Z] ---> 1be4f828cbdd [2024-02-16T18:53:34.746Z] Step 22/24 : LABEL arch=arm64 [2024-02-16T18:53:34.746Z] ---> Running in 85b645ecc52d [2024-02-16T18:53:35.010Z] Removing intermediate container 85b645ecc52d [2024-02-16T18:53:35.010Z] ---> d4e53fee412f [2024-02-16T18:53:35.010Z] Step 23/24 : LABEL git_sha=f1041a4865133dfe36c2b308d8b8779530cb4640 [2024-02-16T18:53:35.010Z] ---> Running in 11f5ca0745ee [2024-02-16T18:53:35.275Z] Removing intermediate container 11f5ca0745ee [2024-02-16T18:53:35.275Z] ---> c701ea191a34 [2024-02-16T18:53:35.275Z] Step 24/24 : LABEL version=0.0.0 [2024-02-16T18:53:35.275Z] ---> Running in c1a45bdd4d97 [2024-02-16T18:53:35.539Z] Removing intermediate container c1a45bdd4d97 [2024-02-16T18:53:35.539Z] ---> 7d561c9654fe [2024-02-16T18:53:35.539Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-16T18:53:35.805Z] Successfully built 7d561c9654fe [2024-02-16T18:53:35.805Z] 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-02-16T18:53:36.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T18:53:36.609Z] [2024-02-16T18:53:36.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:53:36.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T18:53:36.961Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-16T18:53:36.961Z] 8998bd30e6a1: Pulling fs layer [2024-02-16T18:53:36.961Z] 04944245beec: Pulling fs layer [2024-02-16T18:53:36.961Z] 699f458cf7ca: Pulling fs layer [2024-02-16T18:53:36.961Z] 765212b225bb: Pulling fs layer [2024-02-16T18:53:36.961Z] f23df028b6ca: Pulling fs layer [2024-02-16T18:53:36.961Z] d65c8cfc05b1: Pulling fs layer [2024-02-16T18:53:36.961Z] 2437ff75d9bd: Pulling fs layer [2024-02-16T18:53:36.961Z] f23df028b6ca: Waiting [2024-02-16T18:53:36.961Z] d65c8cfc05b1: Waiting [2024-02-16T18:53:36.961Z] 2437ff75d9bd: Waiting [2024-02-16T18:53:36.961Z] 765212b225bb: Waiting [2024-02-16T18:53:37.225Z] 04944245beec: Verifying Checksum [2024-02-16T18:53:37.225Z] 04944245beec: Download complete [2024-02-16T18:53:37.225Z] 765212b225bb: Verifying Checksum [2024-02-16T18:53:37.225Z] 765212b225bb: Download complete [2024-02-16T18:53:37.225Z] f23df028b6ca: Verifying Checksum [2024-02-16T18:53:37.225Z] f23df028b6ca: Download complete [2024-02-16T18:53:37.225Z] d65c8cfc05b1: Verifying Checksum [2024-02-16T18:53:37.225Z] d65c8cfc05b1: Download complete [2024-02-16T18:53:37.225Z] 699f458cf7ca: Verifying Checksum [2024-02-16T18:53:37.225Z] 699f458cf7ca: Download complete [2024-02-16T18:53:37.804Z] 8998bd30e6a1: Verifying Checksum [2024-02-16T18:53:37.804Z] 8998bd30e6a1: Download complete [2024-02-16T18:53:40.380Z] 2437ff75d9bd: Verifying Checksum [2024-02-16T18:53:40.380Z] 2437ff75d9bd: Download complete [2024-02-16T18:53:42.312Z] 8998bd30e6a1: Pull complete [2024-02-16T18:53:42.576Z] 04944245beec: Pull complete [2024-02-16T18:53:43.976Z] 699f458cf7ca: Pull complete [2024-02-16T18:53:44.241Z] 765212b225bb: Pull complete [2024-02-16T18:53:45.195Z] f23df028b6ca: Pull complete [2024-02-16T18:53:48.516Z] d65c8cfc05b1: Pull complete [2024-02-16T18:54:06.701Z] 2437ff75d9bd: Pull complete [2024-02-16T18:54:06.701Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-16T18:54:06.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T18:54:06.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:54:07.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-1090 does not seem to be running inside a container [2024-02-16T18:54:07.080Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-02-16T18:54:09.612Z] $ docker top b1e23b5abb971f227be08712859b963be7e6a283d428c81a1b7c1555a66b854a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:10.527Z] ---> job-cost.sh [2024-02-16T18:54:10.527Z] lf-activate-venv: SKIPPING [2024-02-16T18:54:10.527Z] INFO: No Stack... [2024-02-16T18:54:11.109Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-16T18:54:11.684Z] INFO: Archiving Costs [Pipeline] sh [2024-02-16T18:54:11.999Z] + cut -d, -f6 [2024-02-16T18:54:11.999Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock [2024-02-16T18:54:12.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] [2024-02-16T18:54:12.323Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] did not exist. Created. [2024-02-16T18:54:12.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-16T18:54:12.731Z] /w/workspace/device-sdk-go/10@tmp/durable-e94545ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-16T18:54:13.311Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-16T18:54:13.370Z] Warning: overwriting stash ‘stack-cost’ [2024-02-16T18:54:13.452Z] Stashed 1 file(s) [Pipeline] } [2024-02-16T18:54:13.459Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-10-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-16T18:54:13.560Z] $ docker stop --time=1 b1e23b5abb971f227be08712859b963be7e6a283d428c81a1b7c1555a66b854a [2024-02-16T18:54:17.562Z] $ docker rm -f --volumes b1e23b5abb971f227be08712859b963be7e6a283d428c81a1b7c1555a66b854a [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-02-16T18:54:18.953Z] provisioning config files... [2024-02-16T18:54:18.962Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config17961336057122822101tmp [Pipeline] { [Pipeline] sh [2024-02-16T18:54:19.329Z] + set +x [2024-02-16T18:54:19.329Z] + bash -s -- [2024-02-16T18:54:19.329Z] + curl -s https://codecov.io/bash [2024-02-16T18:54:19.329Z] [2024-02-16T18:54:19.329Z] _____ _ [2024-02-16T18:54:19.329Z] / ____| | | [2024-02-16T18:54:19.329Z] | | ___ __| | ___ ___ _____ __ [2024-02-16T18:54:19.329Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-16T18:54:19.329Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-16T18:54:19.329Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-16T18:54:19.329Z] Bash-1.0.6 [2024-02-16T18:54:19.329Z] [2024-02-16T18:54:19.329Z] [2024-02-16T18:54:19.329Z] ==> git version 2.25.1 found [2024-02-16T18:54:19.329Z] ==> 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-02-16T18:54:19.329Z] Release-Date: 2020-01-08 [2024-02-16T18:54:19.329Z] 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-02-16T18:54:19.329Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-16T18:54:19.329Z] ==> Jenkins CI detected. [2024-02-16T18:54:19.329Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-02-16T18:54:19.329Z] project root: . [2024-02-16T18:54:19.329Z] --> token set from env [2024-02-16T18:54:19.329Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-16T18:54:19.329Z] ==> Running gcov in . (disable via -X gcov) [2024-02-16T18:54:19.329Z] ==> Python coveragepy not found [2024-02-16T18:54:19.329Z] ==> Searching for coverage reports in: [2024-02-16T18:54:19.329Z] + . [2024-02-16T18:54:19.329Z] -> Found 1 reports [2024-02-16T18:54:19.329Z] ==> Detecting git/mercurial file structure [2024-02-16T18:54:19.589Z] ==> Reading reports [2024-02-16T18:54:19.589Z] + ./coverage.out bytes=122153 [2024-02-16T18:54:19.589Z] ==> Appending adjustments [2024-02-16T18:54:19.589Z] https://docs.codecov.io/docs/fixing-reports [2024-02-16T18:54:19.848Z] + Found adjustments [2024-02-16T18:54:19.848Z] ==> Gzipping contents [2024-02-16T18:54:19.848Z] 20K /tmp/codecov.jQPBRb.gz [2024-02-16T18:54:19.848Z] ==> Uploading reports [2024-02-16T18:54:19.848Z] url: https://codecov.io [2024-02-16T18:54:19.848Z] query: branch=PR-1540&commit=52f56b1ef88eebce9af1f11113227bea175f7202&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-02-16T18:54:19.848Z] -> Pinging Codecov [2024-02-16T18:54:19.849Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=52f56b1ef88eebce9af1f11113227bea175f7202&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-02-16T18:54:19.849Z] -> Uploading to [2024-02-16T18:54:19.849Z] https://storage.googleapis.com/codecov/v4/raw/2024-02-16/7E55EF52A471D76F132DFD9A03CDDE97/52f56b1ef88eebce9af1f11113227bea175f7202/98099a3c-7fc9-4e30-ad10-d008d9fddc95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240216T185419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2706fc81a0227f111dd5cb01a0cd7c3e46ac49424c1203e618a53ddc91a81eac [2024-02-16T18:54:20.108Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-16T18:54:20.108Z] Dload Upload Total Spent Left Speed [2024-02-16T18:54:20.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16720 0 0 100 16720 0 62857 --:--:-- --:--:-- --:--:-- 62857 [2024-02-16T18:54:20.368Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/52f56b1ef88eebce9af1f11113227bea175f7202 [Pipeline] } [2024-02-16T18:54:20.376Z] 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-02-16T18:54:22.865Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2024-02-16T18:54:22.865Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-02-16T18:54:22.865Z] total 16 [2024-02-16T18:54:22.865Z] drwxr-xr-x 3 root root 4096 Feb 16 18:44 . [2024-02-16T18:54:22.865Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:44 .. [2024-02-16T18:54:22.865Z] drwxr-xr-x 2 root root 4096 Feb 16 18:44 cost [2024-02-16T18:54:22.865Z] -rw-r--r-- 1 root root 87 Feb 16 18:44 cost.csv [2024-02-16T18:54:22.865Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-02-16T18:54:22.865Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-02-16T18:54:22.865Z] total 16 [2024-02-16T18:54:22.865Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 18:44 . [2024-02-16T18:54:22.865Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:44 .. [2024-02-16T18:54:22.865Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 18:44 cost [2024-02-16T18:54:22.865Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 16 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:23.153Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:24.012Z] ---> package-listing.sh [2024-02-16T18:54:24.012Z] ++ facter osfamily [2024-02-16T18:54:24.012Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-16T18:54:24.271Z] + OS_FAMILY=debian [2024-02-16T18:54:24.271Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-02-16T18:54:24.271Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-16T18:54:24.271Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-16T18:54:24.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-16T18:54:24.271Z] + PACKAGES=/tmp/packages_start.txt [2024-02-16T18:54:24.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-02-16T18:54:24.271Z] + PACKAGES=/tmp/packages_end.txt [2024-02-16T18:54:24.271Z] + case "${OS_FAMILY}" in [2024-02-16T18:54:24.271Z] + dpkg -l [2024-02-16T18:54:24.271Z] + grep '^ii' [2024-02-16T18:54:24.271Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-16T18:54:24.271Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-16T18:54:24.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-16T18:54:24.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-02-16T18:54:24.271Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2024-02-16T18:54:24.271Z] + 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-02-16T18:54:24.283Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-16T18:54:24.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T18:54:25.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T18:54:25.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T18:54:25.330Z] prd-ubuntu20.04-docker-8c-8g-1089 does not seem to be running inside a container [2024-02-16T18:54:25.361Z] $ 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-02-16T18:54:25.543Z] $ docker top 87e92c5f7bb4a9072be6c63a221d0be07e3de7c44d6be34394652a87665e6483 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T18:54:25.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-16T18:54:26.243Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-16T18:54:26.530Z] + ls /var/log/sa-host [2024-02-16T18:54:26.530Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T18:54:26.715Z] provisioning config files... [2024-02-16T18:54:26.725Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config8858650918818554160tmp [Pipeline] { [Pipeline] echo [2024-02-16T18:54:26.815Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:27.098Z] ---> create-netrc.sh [Pipeline] } [2024-02-16T18:54:27.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:27.524Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-16T18:54:27.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:27.816Z] ---> sudo-logs.sh [2024-02-16T18:54:27.816Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-16T18:54:27.877Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:28.221Z] ---> job-cost.sh [2024-02-16T18:54:28.221Z] lf-activate-venv: SKIPPING [2024-02-16T18:54:28.221Z] DEBUG: total: 0.2199999988079071 [2024-02-16T18:54:28.221Z] INFO: Retrieving Stack Cost... [2024-02-16T18:54:28.490Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-16T18:54:28.761Z] INFO: Archiving Costs [Pipeline] echo [2024-02-16T18:54:28.773Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T18:54:29.071Z] ---> logs-deploy.sh [2024-02-16T18:54:29.071Z] lf-activate-venv: SKIPPING [2024-02-16T18:54:29.071Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/10 [2024-02-16T18:54:29.071Z] INFO: archiving workspace using pattern(s): [2024-02-16T18:54:30.037Z] Archives upload complete. [2024-02-16T18:54:30.037Z] INFO: archiving logs to Nexus