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+4f47f79f53f1840767b32d78ce83479da4d392c8 (ac536ce3a0e3a7629a3acd9342d40b43121d1af9) 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-ssh10478715723468431257.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-ssh7175558562114965277.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-ssh15378472076704467400.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-ssh3014628844941516761.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-ssh5128314528475801294.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 ‘prd-ubuntu20.04-docker-8c-8g-1267’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1269 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 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 5b61c8961a6f1f93814cecaa339b717b14418953 Checking out Revision 5b61c8961a6f1f93814cecaa339b717b14418953 (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 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b61c8961a6f1f93814cecaa339b717b14418953 # timeout=10 Commit message: "Merge commit '4f47f79f53f1840767b32d78ce83479da4d392c8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-19T18:41:32.766Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-19T18:41:32.852Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-19T18:41:32.876Z] ========================================================= [2024-02-19T18:41:32.876Z] EdgeX Global Pipelines Version Info [2024-02-19T18:41:32.876Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f1041a4865133dfe36c2b308d8b8779530cb4640 # timeout=10 [2024-02-19T18:41:33.615Z] ------------------- [2024-02-19T18:41:33.616Z] stable info: [2024-02-19T18:41:33.616Z] ------------------- [2024-02-19T18:41:33.616Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-19T18:41:33.616Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-19T18:41:33.616Z] Message: update stable to v1.0.258 [2024-02-19T18:41:34.187Z] ------------------- [2024-02-19T18:41:34.187Z] experimental info: [2024-02-19T18:41:34.187Z] ------------------- [2024-02-19T18:41:34.187Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-19T18:41:34.187Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-19T18:41:34.187Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-19T18:41:34.289Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-02-19T18:41:34.319Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-02-19T18:41:34.425Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-19T18:41:34.459Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-19T18:41:34.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-19T18:41:34.525Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-19T18:41:34.554Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-19T18:41:34.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-02-19T18:41:34.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-19T18:41:34.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-19T18:41:34.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-19T18:41:34.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-02-19T18:41:34.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-19T18:41:34.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-19T18:41:34.791Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-19T18:41:34.818Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-02-19T18:41:34.850Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-19T18:41:34.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-19T18:41:34.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-19T18:41:34.958Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-19T18:41:34.993Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-02-19T18:41:35.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-02-19T18:41:35.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-19T18:41:35.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-19T18:41:35.150Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-19T18:41:35.195Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-19T18:41:35.237Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-19T18:41:35.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2024-02-19T18:41:35.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2024-02-19T18:41:35.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2024-02-19T18:41:35.441Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b61c8961a6f1f93814cecaa339b717b14418953 [Pipeline] echo [2024-02-19T18:41:35.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b61c89 [Pipeline] echo [2024-02-19T18:41:35.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T18:41:35.656Z] provisioning config files... [2024-02-19T18:41:35.675Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config13442016825729138027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:41:36.031Z] ---> ****-login.sh [2024-02-19T18:41:36.031Z] nexus3.edgexfoundry.org:10001 [2024-02-19T18:41:36.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:36.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:36.554Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:36.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:36.554Z] [2024-02-19T18:41:36.554Z] Login Succeeded [2024-02-19T18:41:36.554Z] nexus3.edgexfoundry.org:10002 [2024-02-19T18:41:36.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:36.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:36.554Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:36.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:36.554Z] [2024-02-19T18:41:36.554Z] Login Succeeded [2024-02-19T18:41:36.554Z] nexus3.edgexfoundry.org:10003 [2024-02-19T18:41:36.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:36.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:36.816Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:36.816Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:36.816Z] [2024-02-19T18:41:36.816Z] Login Succeeded [2024-02-19T18:41:36.816Z] nexus3.edgexfoundry.org:10004 [2024-02-19T18:41:36.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:36.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:36.816Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:36.816Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:36.816Z] [2024-02-19T18:41:36.816Z] Login Succeeded [2024-02-19T18:41:36.816Z] ****.io [2024-02-19T18:41:37.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:37.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:37.076Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:37.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:37.076Z] [2024-02-19T18:41:37.076Z] Login Succeeded [2024-02-19T18:41:37.076Z] ---> ****-login.sh ends [Pipeline] } [2024-02-19T18:41:37.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-19T18:41:37.646Z] + git rev-list -1 --merges 5b61c8961a6f1f93814cecaa339b717b14418953~1..5b61c8961a6f1f93814cecaa339b717b14418953 [Pipeline] echo [2024-02-19T18:41:37.669Z] -----------> git rev-list -1 --merges 5b61c8961a6f1f93814cecaa339b717b14418953~1..5b61c8961a6f1f93814cecaa339b717b14418953 5b61c8961a6f1f93814cecaa339b717b14418953 [2024-02-19T18:41:37.669Z] 5b61c8961a6f1f93814cecaa339b717b14418953 [false] [Pipeline] sh [2024-02-19T18:41:37.976Z] + git log --format=format:%s -1 5b61c8961a6f1f93814cecaa339b717b14418953 [Pipeline] echo [2024-02-19T18:41:37.989Z] ========================================================= [2024-02-19T18:41:37.989Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-19T18:41:37.989Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-19T18:41:38.384Z] + git log --format=format:%s -1 5b61c8961a6f1f93814cecaa339b717b14418953 [Pipeline] echo [2024-02-19T18:41:38.394Z] [semverPrep] GIT_COMMIT: 5b61c8961a6f1f93814cecaa339b717b14418953, Commit Message: Merge commit '4f47f79f53f1840767b32d78ce83479da4d392c8' into HEAD [Pipeline] echo [2024-02-19T18:41:38.428Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-19T18:41:38.854Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-19T18:41:38.854Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-19T18:41:38.854Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-19T18:41:38.854Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-19T18:41:38.854Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-19T18:41:38.854Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-19T18:41:38.854Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:41:39.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-19T18:41:39.329Z] [2024-02-19T18:41:39.329Z] 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-19T18:41:39.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-19T18:41:39.648Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-19T18:41:39.648Z] b85a868b505f: Pulling fs layer [2024-02-19T18:41:39.648Z] e2be974225ed: Pulling fs layer [2024-02-19T18:41:39.648Z] 339a4e72a1f5: Pulling fs layer [2024-02-19T18:41:39.648Z] 988bab9f4d93: Pulling fs layer [2024-02-19T18:41:39.648Z] 1469e6f7b9e6: Pulling fs layer [2024-02-19T18:41:39.648Z] eaf3925da568: Pulling fs layer [2024-02-19T18:41:39.648Z] bab4dde63d76: Pulling fs layer [2024-02-19T18:41:39.648Z] bde34c3a00c8: Pulling fs layer [2024-02-19T18:41:39.648Z] b352a97aabf1: Pulling fs layer [2024-02-19T18:41:39.648Z] 4872d77fe225: Pulling fs layer [2024-02-19T18:41:39.648Z] 5851b861e8e6: Pulling fs layer [2024-02-19T18:41:39.648Z] bde34c3a00c8: Waiting [2024-02-19T18:41:39.648Z] 1469e6f7b9e6: Waiting [2024-02-19T18:41:39.648Z] b352a97aabf1: Waiting [2024-02-19T18:41:39.648Z] eaf3925da568: Waiting [2024-02-19T18:41:39.648Z] 4872d77fe225: Waiting [2024-02-19T18:41:39.648Z] bab4dde63d76: Waiting [2024-02-19T18:41:39.648Z] 5851b861e8e6: Waiting [2024-02-19T18:41:39.648Z] 988bab9f4d93: Waiting [2024-02-19T18:41:39.909Z] e2be974225ed: Download complete [2024-02-19T18:41:39.909Z] 988bab9f4d93: Verifying Checksum [2024-02-19T18:41:39.909Z] 988bab9f4d93: Download complete [2024-02-19T18:41:39.909Z] 1469e6f7b9e6: Download complete [2024-02-19T18:41:39.909Z] eaf3925da568: Verifying Checksum [2024-02-19T18:41:39.909Z] eaf3925da568: Download complete [2024-02-19T18:41:39.909Z] 339a4e72a1f5: Verifying Checksum [2024-02-19T18:41:39.909Z] 339a4e72a1f5: Download complete [2024-02-19T18:41:39.909Z] bde34c3a00c8: Verifying Checksum [2024-02-19T18:41:39.909Z] bde34c3a00c8: Download complete [2024-02-19T18:41:39.909Z] b352a97aabf1: Download complete [2024-02-19T18:41:39.909Z] 4872d77fe225: Download complete [2024-02-19T18:41:39.909Z] 5851b861e8e6: Verifying Checksum [2024-02-19T18:41:39.909Z] 5851b861e8e6: Download complete [2024-02-19T18:41:40.174Z] b85a868b505f: Verifying Checksum [2024-02-19T18:41:40.175Z] b85a868b505f: Download complete [2024-02-19T18:41:40.433Z] bab4dde63d76: Verifying Checksum [2024-02-19T18:41:41.370Z] b85a868b505f: Pull complete [2024-02-19T18:41:41.370Z] e2be974225ed: Pull complete [2024-02-19T18:41:41.938Z] 339a4e72a1f5: Pull complete [2024-02-19T18:41:41.938Z] 988bab9f4d93: Pull complete [2024-02-19T18:41:42.198Z] 1469e6f7b9e6: Pull complete [2024-02-19T18:41:42.463Z] eaf3925da568: Pull complete [2024-02-19T18:41:44.373Z] bab4dde63d76: Pull complete [2024-02-19T18:41:44.374Z] bde34c3a00c8: Pull complete [2024-02-19T18:41:44.374Z] b352a97aabf1: Pull complete [2024-02-19T18:41:44.634Z] 4872d77fe225: Pull complete [2024-02-19T18:41:44.634Z] 5851b861e8e6: Pull complete [2024-02-19T18:41:44.634Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-19T18:41:44.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-19T18:41:44.634Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:41:44.819Z] prd-ubuntu20.04-docker-8c-8g-1269 does not seem to be running inside a container [2024-02-19T18:41:44.848Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-19T18:41:47.955Z] $ docker top 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 -eo pid,comm [2024-02-19T18:41:48.010Z] 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-19T18:41:48.010Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-19T18:41:48.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-19T18:41:48.115Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-19T18:41:48.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-19T18:41:48.236Z] $ docker exec 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 ssh-agent [2024-02-19T18:41:48.339Z] SSH_AUTH_SOCK=/tmp/ssh-1QrLhg1ryzQN/agent.32 [2024-02-19T18:41:48.339Z] SSH_AGENT_PID=38 [2024-02-19T18:41:48.345Z] Running ssh-add (command line suppressed) [2024-02-19T18:41:48.467Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_1797330625926575733.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_1797330625926575733.key) [2024-02-19T18:41:48.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-19T18:41:48.788Z] + git tag --points-at HEAD [Pipeline] } [2024-02-19T18:41:48.800Z] $ docker exec --env ******** --env ******** 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 ssh-agent -k [2024-02-19T18:41:48.905Z] unset SSH_AUTH_SOCK; [2024-02-19T18:41:48.905Z] unset SSH_AGENT_PID; [2024-02-19T18:41:48.906Z] echo Agent pid 38 killed; [2024-02-19T18:41:48.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-19T18:41:48.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-19T18:41:48.982Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-19T18:41:49.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-19T18:41:49.096Z] $ docker exec 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 ssh-agent [2024-02-19T18:41:49.215Z] SSH_AUTH_SOCK=/tmp/ssh-2En91HaX2NP5/agent.70 [2024-02-19T18:41:49.215Z] SSH_AGENT_PID=77 [2024-02-19T18:41:49.219Z] Running ssh-add (command line suppressed) [2024-02-19T18:41:49.336Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_9225683928426896549.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_9225683928426896549.key) [2024-02-19T18:41:49.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-19T18:41:49.658Z] + git semver init [2024-02-19T18:41:49.918Z] 2024-02-19 18:41:49,825 [run_init] DEBUG init version:0.0.0 force:False [2024-02-19T18:41:49.918Z] 2024-02-19 18:41:49,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-02-19T18:41:49.918Z] 2024-02-19 18:41:49,826 [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-19T18:41:49.918Z] 2024-02-19 18:41:49,827 [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-19T18:41:51.300Z] 2024-02-19 18:41:51,090 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2024-02-19T18:41:51.300Z] 2024-02-19 18:41:51,090 [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-19T18:41:51.300Z] 2024-02-19 18:41:51,091 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-02-19T18:41:51.300Z] 2024-02-19 18:41:51,095 [execute] INFO git cat-file --batch-check [2024-02-19T18:41:51.300Z] 2024-02-19 18:41:51,095 [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-19T18:41:51.300Z] 2024-02-19 18:41:51,101 [execute] INFO git cat-file --batch [2024-02-19T18:41:51.300Z] 2024-02-19 18:41:51,102 [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-19T18:41:51.300Z] 2024-02-19 18:41:51,107 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-02-19T18:41:51.300Z] 0.0.0 [Pipeline] } [2024-02-19T18:41:51.310Z] $ docker exec --env ******** --env ******** 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 ssh-agent -k [2024-02-19T18:41:51.422Z] unset SSH_AUTH_SOCK; [2024-02-19T18:41:51.422Z] unset SSH_AGENT_PID; [2024-02-19T18:41:51.423Z] echo Agent pid 77 killed; [2024-02-19T18:41:51.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-19T18:41:51.819Z] + git semver [Pipeline] } [2024-02-19T18:41:52.094Z] $ docker stop --time=1 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 [2024-02-19T18:41:53.372Z] $ docker rm -f --volumes 5ccd2bffc32e9f2d5de621d3cf7f791845a38f05c0e83d99841ea16ac12db4f0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-19T18:41:53.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-19T18:41:53.990Z] Stashed 1 file(s) [Pipeline] echo [2024-02-19T18:41:53.994Z] [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-19T18:41:54.434Z] provisioning config files... [2024-02-19T18:41:54.446Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config1244152903331997044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:41:54.768Z] ---> ****-login.sh [2024-02-19T18:41:54.768Z] nexus3.edgexfoundry.org:10001 [2024-02-19T18:41:54.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:54.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:54.769Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:54.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:54.769Z] [2024-02-19T18:41:54.769Z] Login Succeeded [2024-02-19T18:41:54.769Z] nexus3.edgexfoundry.org:10002 [2024-02-19T18:41:54.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:54.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:54.769Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:54.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:54.769Z] [2024-02-19T18:41:54.769Z] Login Succeeded [2024-02-19T18:41:54.769Z] nexus3.edgexfoundry.org:10003 [2024-02-19T18:41:55.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:55.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:55.033Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:55.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:55.033Z] [2024-02-19T18:41:55.033Z] Login Succeeded [2024-02-19T18:41:55.034Z] nexus3.edgexfoundry.org:10004 [2024-02-19T18:41:55.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:55.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:55.034Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:55.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:55.034Z] [2024-02-19T18:41:55.034Z] Login Succeeded [2024-02-19T18:41:55.034Z] ****.io [2024-02-19T18:41:55.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:41:55.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:41:55.296Z] Configure a credential helper to remove this warning. See [2024-02-19T18:41:55.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:41:55.296Z] [2024-02-19T18:41:55.296Z] Login Succeeded [2024-02-19T18:41:55.296Z] ---> ****-login.sh ends [Pipeline] } [2024-02-19T18:41:55.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-19T18:41:55.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T18:41:55.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T18:41:55.538Z] ========================================================= [2024-02-19T18:41:55.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-19T18:41:55.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:41:55.931Z] + 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-19T18:41:55.931Z] Sending build context to Docker daemon 21.96MB [2024-02-19T18:41:55.931Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T18:41:55.931Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-19T18:41:56.191Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-19T18:41:56.191Z] 7264a8db6415: Pulling fs layer [2024-02-19T18:41:56.191Z] c4d48a809fc2: Pulling fs layer [2024-02-19T18:41:56.191Z] 4f1c88b9dad5: Pulling fs layer [2024-02-19T18:41:56.191Z] ad3a456e5733: Pulling fs layer [2024-02-19T18:41:56.191Z] 69c7f0334f64: Pulling fs layer [2024-02-19T18:41:56.191Z] 1f1c1a5573a3: Pulling fs layer [2024-02-19T18:41:56.191Z] ce7588e14bc9: Pulling fs layer [2024-02-19T18:41:56.191Z] b5e4710f87ac: Pulling fs layer [2024-02-19T18:41:56.191Z] 69c7f0334f64: Waiting [2024-02-19T18:41:56.191Z] 1f1c1a5573a3: Waiting [2024-02-19T18:41:56.191Z] ce7588e14bc9: Waiting [2024-02-19T18:41:56.191Z] b5e4710f87ac: Waiting [2024-02-19T18:41:56.191Z] ad3a456e5733: Waiting [2024-02-19T18:41:56.191Z] c4d48a809fc2: Verifying Checksum [2024-02-19T18:41:56.191Z] c4d48a809fc2: Download complete [2024-02-19T18:41:56.191Z] ad3a456e5733: Verifying Checksum [2024-02-19T18:41:56.191Z] ad3a456e5733: Download complete [2024-02-19T18:41:56.191Z] 69c7f0334f64: Download complete [2024-02-19T18:41:56.191Z] 7264a8db6415: Verifying Checksum [2024-02-19T18:41:56.191Z] 7264a8db6415: Download complete [2024-02-19T18:41:56.191Z] 1f1c1a5573a3: Verifying Checksum [2024-02-19T18:41:56.191Z] 1f1c1a5573a3: Download complete [2024-02-19T18:41:56.191Z] 7264a8db6415: Pull complete [2024-02-19T18:41:56.449Z] b5e4710f87ac: Verifying Checksum [2024-02-19T18:41:56.449Z] b5e4710f87ac: Download complete [2024-02-19T18:41:56.449Z] c4d48a809fc2: Pull complete [2024-02-19T18:41:56.709Z] 4f1c88b9dad5: Verifying Checksum [2024-02-19T18:41:56.709Z] 4f1c88b9dad5: Download complete [2024-02-19T18:41:56.968Z] ce7588e14bc9: Verifying Checksum [2024-02-19T18:41:56.968Z] ce7588e14bc9: Download complete [2024-02-19T18:42:00.257Z] 4f1c88b9dad5: Pull complete [2024-02-19T18:42:00.257Z] ad3a456e5733: Pull complete [2024-02-19T18:42:00.257Z] 69c7f0334f64: Pull complete [2024-02-19T18:42:00.257Z] 1f1c1a5573a3: Pull complete [2024-02-19T18:42:02.162Z] ce7588e14bc9: Pull complete [2024-02-19T18:42:02.730Z] b5e4710f87ac: Pull complete [2024-02-19T18:42:02.730Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-19T18:42:02.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-19T18:42:02.730Z] ---> 88b5674ff536 [2024-02-19T18:42:02.730Z] Step 3/10 : ARG MAKE=make build [2024-02-19T18:42:08.088Z] ---> Running in 3b73805a38e9 [2024-02-19T18:42:08.088Z] Removing intermediate container 3b73805a38e9 [2024-02-19T18:42:08.088Z] ---> 4ab8c8b01671 [2024-02-19T18:42:08.088Z] Step 4/10 : WORKDIR /device-sdk-go [2024-02-19T18:42:08.088Z] ---> Running in 664ec876e371 [2024-02-19T18:42:08.088Z] Removing intermediate container 664ec876e371 [2024-02-19T18:42:08.088Z] ---> 532e3e9ba1b5 [2024-02-19T18:42:08.088Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-19T18:42:08.088Z] ---> Running in fdf032aa488d [2024-02-19T18:42:08.088Z] Removing intermediate container fdf032aa488d [2024-02-19T18:42:08.088Z] ---> 421a960a5883 [2024-02-19T18:42:08.088Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-02-19T18:42:08.088Z] ---> Running in 23b74f0c551d [2024-02-19T18:42:08.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T18:42:08.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T18:42:08.350Z] OK: 264 MiB in 52 packages [2024-02-19T18:42:08.609Z] Removing intermediate container 23b74f0c551d [2024-02-19T18:42:08.609Z] ---> 88320745019e [2024-02-19T18:42:08.609Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-19T18:42:08.870Z] ---> ffbdb5c8e63d [2024-02-19T18:42:08.870Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T18:42:08.870Z] ---> Running in 2d1996f5f371 [2024-02-19T18:42:09.341Z] Still waiting to schedule task [2024-02-19T18:42:09.342Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-19T18:42:35.450Z] Removing intermediate container 2d1996f5f371 [2024-02-19T18:42:35.450Z] ---> d746bebe16e0 [2024-02-19T18:42:35.450Z] Step 9/10 : COPY . . [2024-02-19T18:42:36.387Z] ---> 48cecd96f9c0 [2024-02-19T18:42:36.387Z] Step 10/10 : RUN ${MAKE} [2024-02-19T18:42:36.387Z] ---> Running in eee0ba945c5a [2024-02-19T18:42:36.647Z] noop [2024-02-19T18:42:36.906Z] Removing intermediate container eee0ba945c5a [2024-02-19T18:42:36.906Z] ---> 499a72bbce1c [2024-02-19T18:42:36.906Z] Successfully built 499a72bbce1c [2024-02-19T18:42:36.906Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:42:37.293Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-19T18:42:37.293Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:42:37.421Z] prd-ubuntu20.04-docker-8c-8g-1269 does not seem to be running inside a container [2024-02-19T18:42:37.453Z] $ 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 ******** ci-base-image-x86_64 cat [2024-02-19T18:42:37.794Z] $ docker top 5909e03affd2ffc574af18ace42d9ad470a24c774d9e0f3e75760fcb5308b5f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T18:42:38.189Z] + go version [2024-02-19T18:42:38.189Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-19T18:42:38.200Z] $ docker stop --time=1 5909e03affd2ffc574af18ace42d9ad470a24c774d9e0f3e75760fcb5308b5f1 [2024-02-19T18:42:39.456Z] $ docker rm -f --volumes 5909e03affd2ffc574af18ace42d9ad470a24c774d9e0f3e75760fcb5308b5f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:42:40.068Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-19T18:42:40.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:42:40.181Z] prd-ubuntu20.04-docker-8c-8g-1269 does not seem to be running inside a container [2024-02-19T18:42:40.207Z] $ 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 ******** ci-base-image-x86_64 cat [2024-02-19T18:42:40.543Z] $ docker top 971632cf0e9e5a0d0c03f22b8d811e62ace545284fcc51c0ffba4bb67dd7284a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T18:42:40.938Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2024-02-19T18:42:41.259Z] + make test [2024-02-19T18:42:41.259Z] go test -race -coverprofile=coverage.out ./... [2024-02-19T18:42:47.834Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-02-19T18:43:00.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-02-19T18:43:00.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-02-19T18:43:00.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-02-19T18:43:00.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-02-19T18:43:00.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-02-19T18:43:00.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-02-19T18:43:00.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-02-19T18:43:00.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-02-19T18:43:01.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.043s coverage: 27.6% of statements [2024-02-19T18:43:01.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements [2024-02-19T18:43:01.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.073s coverage: 86.0% of statements [2024-02-19T18:43:02.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements [2024-02-19T18:43:02.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-02-19T18:43:02.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-02-19T18:43:03.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-02-19T18:43:06.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2024-02-19T18:43:06.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.800s coverage: 45.9% of statements [2024-02-19T18:43:06.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.071s coverage: 68.5% of statements [2024-02-19T18:43:06.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.107s coverage: 89.2% of statements [2024-02-19T18:43:06.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2024-02-19T18:43:28.333Z] GO111MODULE=on go vet ./... [2024-02-19T18:43:28.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-19T18:43:28.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-19T18:43:28.902Z] ./bin/test-attribution-txt.sh [2024-02-19T18:43:28.902Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-19T18:43:28.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-19T18:43:28.950Z] $ docker stop --time=1 971632cf0e9e5a0d0c03f22b8d811e62ace545284fcc51c0ffba4bb67dd7284a [2024-02-19T18:43:32.904Z] $ docker rm -f --volumes 971632cf0e9e5a0d0c03f22b8d811e62ace545284fcc51c0ffba4bb67dd7284a [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-19T18:43:33.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-19T18:43:33.581Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-19T18:43:34.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-19T18:43:34.531Z] + ls -al . [2024-02-19T18:43:34.531Z] total 308 [2024-02-19T18:43:34.531Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 19 18:42 . [2024-02-19T18:43:34.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 18:41 .. [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 19 18:41 .dockerignore [2024-02-19T18:43:34.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 18:43 .git [2024-02-19T18:43:34.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 18:41 .github [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 137 Feb 19 18:41 .gitignore [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 19 18:41 .golangci.yml [2024-02-19T18:43:34.531Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 19 18:41 .semver [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 48109 Feb 19 18:41 CHANGELOG.md [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 19 18:41 GOVERNANCE.md [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 19 18:41 Jenkinsfile [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 19 18:41 LICENSE [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 1842 Feb 19 18:41 Makefile [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 19 18:41 OWNERS.md [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 4933 Feb 19 18:41 README.md [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 19 18:41 VERSION [2024-02-19T18:43:34.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 18:41 bin [2024-02-19T18:43:34.531Z] -rw-r--r-- 1 jenkins jenkins 122154 Feb 19 18:43 coverage.out [2024-02-19T18:43:34.531Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 19 18:41 example [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 3768 Feb 19 18:41 go.mod [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 33786 Feb 19 18:41 go.sum [2024-02-19T18:43:34.531Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 19 18:41 internal [2024-02-19T18:43:34.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 18:41 openapi [2024-02-19T18:43:34.531Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 19 18:41 pkg [2024-02-19T18:43:34.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 18:41 snap [2024-02-19T18:43:34.531Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 19 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:43:34.890Z] + 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=5b61c8961a6f1f93814cecaa339b717b14418953 --label arch=amd64 --label version=0.0.0 . [2024-02-19T18:43:34.890Z] Sending build context to Docker daemon 22.08MB [2024-02-19T18:43:34.890Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T18:43:34.890Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-19T18:43:34.890Z] ---> 499a72bbce1c [2024-02-19T18:43:34.890Z] Step 3/24 : ARG MAKE=make build [2024-02-19T18:43:35.461Z] ---> Running in 6f36e2597ac2 [2024-02-19T18:43:35.461Z] Removing intermediate container 6f36e2597ac2 [2024-02-19T18:43:35.461Z] ---> d1e3da9ef0ee [2024-02-19T18:43:35.461Z] Step 4/24 : WORKDIR /device-sdk-go [2024-02-19T18:43:35.461Z] ---> Running in e7631ee95972 [2024-02-19T18:43:35.461Z] Removing intermediate container e7631ee95972 [2024-02-19T18:43:35.461Z] ---> d3fe735488cf [2024-02-19T18:43:35.461Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-19T18:43:35.461Z] ---> Running in 07f4bb77d9c3 [2024-02-19T18:43:35.721Z] Removing intermediate container 07f4bb77d9c3 [2024-02-19T18:43:35.721Z] ---> fca655f25a10 [2024-02-19T18:43:35.721Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-02-19T18:43:35.721Z] ---> Running in a91c36101afe [2024-02-19T18:43:35.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T18:43:35.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T18:43:36.239Z] OK: 264 MiB in 52 packages [2024-02-19T18:43:36.808Z] Removing intermediate container a91c36101afe [2024-02-19T18:43:36.808Z] ---> 7457d0100f45 [2024-02-19T18:43:36.808Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-19T18:43:36.808Z] ---> aab5e1290a11 [2024-02-19T18:43:36.808Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T18:43:36.808Z] ---> Running in 1711e9e4911d [2024-02-19T18:43:37.376Z] Removing intermediate container 1711e9e4911d [2024-02-19T18:43:37.376Z] ---> edb995b19cf1 [2024-02-19T18:43:37.376Z] Step 9/24 : COPY . . [2024-02-19T18:43:37.944Z] ---> 60a597b644e2 [2024-02-19T18:43:37.944Z] Step 10/24 : RUN ${MAKE} [2024-02-19T18:43:37.944Z] ---> Running in 766d8df13f00 [2024-02-19T18:43:38.204Z] 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-19T18:43:49.991Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1270 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2024-02-19T18:43:50.031Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2024-02-19T18:43:53.113Z] The recommended git tool is: git [2024-02-19T18:43:56.286Z] Removing intermediate container 766d8df13f00 [2024-02-19T18:43:56.286Z] ---> d33bfc609448 [2024-02-19T18:43:56.286Z] Step 11/24 : FROM alpine:3.18 [2024-02-19T18:43:56.286Z] 3.18: Pulling from library/alpine [2024-02-19T18:43:56.286Z] 619be1103602: Pulling fs layer [2024-02-19T18:43:56.605Z] 619be1103602: Verifying Checksum [2024-02-19T18:43:56.605Z] 619be1103602: Download complete [2024-02-19T18:43:56.605Z] 619be1103602: Pull complete [2024-02-19T18:43:56.605Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-19T18:43:56.605Z] Status: Downloaded newer image for alpine:3.18 [2024-02-19T18:43:56.605Z] ---> d3782b16ccc9 [2024-02-19T18:43:56.605Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-02-19T18:43:56.864Z] ---> Running in f49c7a52e9bc [2024-02-19T18:43:56.864Z] Removing intermediate container f49c7a52e9bc [2024-02-19T18:43:56.864Z] ---> dd8cb597d7c1 [2024-02-19T18:43:56.864Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-19T18:43:56.864Z] ---> Running in 287372c4aec2 [2024-02-19T18:43:57.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T18:43:57.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T18:43:57.641Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-19T18:43:57.641Z] Executing busybox-1.36.1-r5.trigger [2024-02-19T18:43:57.641Z] OK: 7 MiB in 16 packages [2024-02-19T18:43:57.868Z] using credential edgex-jenkins-ssh [2024-02-19T18:43:57.888Z] Cloning the remote Git repository [2024-02-19T18:43:57.901Z] Removing intermediate container 287372c4aec2 [2024-02-19T18:43:57.901Z] ---> a2b78ba14ba1 [2024-02-19T18:43:57.901Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-19T18:43:57.901Z] ---> Running in bea4416ec9fe [2024-02-19T18:43:57.934Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-02-19T18:43:58.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T18:43:58.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T18:43:58.418Z] OK: 7 MiB in 16 packages [2024-02-19T18:43:58.676Z] Removing intermediate container bea4416ec9fe [2024-02-19T18:43:58.676Z] ---> 32c39e559de9 [2024-02-19T18:43:58.676Z] Step 15/24 : WORKDIR / [2024-02-19T18:43:58.676Z] ---> Running in 75238d792c87 [2024-02-19T18:43:58.934Z] Removing intermediate container 75238d792c87 [2024-02-19T18:43:58.934Z] ---> dadd04ad1a94 [2024-02-19T18:43:58.934Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-02-19T18:43:58.934Z] ---> 4442f19be0fb [2024-02-19T18:43:58.934Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-02-19T18:43:58.027Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2024-02-19T18:43:58.165Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-02-19T18:43:58.166Z] > git --version # timeout=10 [2024-02-19T18:43:58.186Z] > git --version # 'git version 2.25.1' [2024-02-19T18:43:58.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-19T18:43:58.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-19T18:43:59.873Z] ---> 1d54eebee58d [2024-02-19T18:43:59.873Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-02-19T18:43:59.873Z] ---> 353713bf2b06 [2024-02-19T18:43:59.873Z] Step 19/24 : EXPOSE 59999 [2024-02-19T18:43:59.873Z] ---> Running in 055316e7151b [2024-02-19T18:43:59.873Z] Removing intermediate container 055316e7151b [2024-02-19T18:43:59.873Z] ---> b2f81a67c17e [2024-02-19T18:43:59.873Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-02-19T18:44:00.133Z] ---> Running in aeca4cfd8aad [2024-02-19T18:44:00.133Z] Removing intermediate container aeca4cfd8aad [2024-02-19T18:44:00.133Z] ---> d4d2b6e2cb2d [2024-02-19T18:44:00.133Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-19T18:44:00.133Z] ---> Running in cecfa24d8413 [2024-02-19T18:44:00.133Z] Removing intermediate container cecfa24d8413 [2024-02-19T18:44:00.133Z] ---> 1f708dac6405 [2024-02-19T18:44:00.133Z] Step 22/24 : LABEL arch=amd64 [2024-02-19T18:44:00.133Z] ---> Running in ed51346c1916 [2024-02-19T18:44:00.392Z] Removing intermediate container ed51346c1916 [2024-02-19T18:44:00.392Z] ---> d5854a9b6cde [2024-02-19T18:44:00.392Z] Step 23/24 : LABEL git_sha=5b61c8961a6f1f93814cecaa339b717b14418953 [2024-02-19T18:44:00.392Z] ---> Running in e2bb7f886b90 [2024-02-19T18:44:00.392Z] Removing intermediate container e2bb7f886b90 [2024-02-19T18:44:00.392Z] ---> a92ab573f400 [2024-02-19T18:44:00.392Z] Step 24/24 : LABEL version=0.0.0 [2024-02-19T18:44:00.392Z] ---> Running in 820a14ace49a [2024-02-19T18:44:00.392Z] Removing intermediate container 820a14ace49a [2024-02-19T18:44:00.392Z] ---> 4529c1bc447b [2024-02-19T18:44:00.392Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-19T18:44:00.392Z] Successfully built 4529c1bc447b [2024-02-19T18:44:00.392Z] 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-19T18:44:01.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T18:44:01.150Z] [2024-02-19T18:44:01.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:44:01.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T18:44:01.475Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-19T18:44:01.475Z] 5eb5b503b376: Pulling fs layer [2024-02-19T18:44:01.475Z] 5c69ac0246d0: Pulling fs layer [2024-02-19T18:44:01.475Z] ec43610c2a17: Pulling fs layer [2024-02-19T18:44:01.475Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-19T18:44:01.475Z] 33b1e0a273af: Pulling fs layer [2024-02-19T18:44:01.475Z] 5d3b04190fa2: Pulling fs layer [2024-02-19T18:44:01.475Z] 2f39f015ded8: Pulling fs layer [2024-02-19T18:44:01.475Z] 33b1e0a273af: Waiting [2024-02-19T18:44:01.475Z] 5d3b04190fa2: Waiting [2024-02-19T18:44:01.475Z] 2f39f015ded8: Waiting [2024-02-19T18:44:01.475Z] 5c69ac0246d0: Download complete [2024-02-19T18:44:01.475Z] 3a2ae6a8a46f: Download complete [2024-02-19T18:44:01.475Z] 33b1e0a273af: Verifying Checksum [2024-02-19T18:44:01.475Z] 33b1e0a273af: Download complete [2024-02-19T18:44:01.475Z] 5d3b04190fa2: Verifying Checksum [2024-02-19T18:44:01.475Z] 5d3b04190fa2: Download complete [2024-02-19T18:44:01.475Z] ec43610c2a17: Verifying Checksum [2024-02-19T18:44:01.475Z] ec43610c2a17: Download complete [2024-02-19T18:44:01.733Z] 5eb5b503b376: Verifying Checksum [2024-02-19T18:44:01.733Z] 5eb5b503b376: Download complete [2024-02-19T18:44:02.298Z] 2f39f015ded8: Download complete [2024-02-19T18:44:02.557Z] 5eb5b503b376: Pull complete [2024-02-19T18:44:02.816Z] 5c69ac0246d0: Pull complete [2024-02-19T18:44:03.076Z] ec43610c2a17: Pull complete [2024-02-19T18:44:03.335Z] 3a2ae6a8a46f: Pull complete [2024-02-19T18:44:03.594Z] 33b1e0a273af: Pull complete [2024-02-19T18:44:03.594Z] 5d3b04190fa2: Pull complete [2024-02-19T18:44:03.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-02-19T18:44:03.948Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-19T18:44:05.525Z] Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2024-02-19T18:44:05.896Z] Merge succeeded, producing 28fff03a21efc2383ece406034a1638be118866e [2024-02-19T18:44:05.897Z] Checking out Revision 28fff03a21efc2383ece406034a1638be118866e (PR-1540) [2024-02-19T18:44:04.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-02-19T18:44:04.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-02-19T18:44:04.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-19T18:44:04.880Z] > 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-19T18:44:05.556Z] > git config core.sparsecheckout # timeout=10 [2024-02-19T18:44:05.635Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2024-02-19T18:44:05.739Z] > git remote # timeout=10 [2024-02-19T18:44:05.760Z] > git config --get remote.origin.url # timeout=10 [2024-02-19T18:44:05.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-19T18:44:05.790Z] > git merge 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 [2024-02-19T18:44:05.882Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-19T18:44:05.904Z] > git config core.sparsecheckout # timeout=10 [2024-02-19T18:44:05.922Z] > git checkout -f 28fff03a21efc2383ece406034a1638be118866e # timeout=10 [2024-02-19T18:44:07.800Z] 2f39f015ded8: Pull complete [2024-02-19T18:44:07.800Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-19T18:44:07.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T18:44:07.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:44:07.993Z] prd-ubuntu20.04-docker-8c-8g-1269 does not seem to be running inside a container [2024-02-19T18:44:08.016Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-19T18:44:09.472Z] Commit message: "Merge commit '4f47f79f53f1840767b32d78ce83479da4d392c8' into HEAD" [2024-02-19T18:44:09.496Z] First time build. Skipping changelog. [2024-02-19T18:44:09.483Z] > git rev-list --no-walk f1041a4865133dfe36c2b308d8b8779530cb4640 # timeout=10 [2024-02-19T18:44:09.901Z] [2024-02-19T18:44:09.901Z] GitHub has been notified of this commit’s build result [2024-02-19T18:44:09.901Z] [2024-02-19T18:44:12.416Z] $ docker top 708ce4501f9a06ff8441d9ee4b05194592f67c240e97e43e805d80ef4ea51627 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-19T18:44:12.869Z] ---> job-cost.sh [2024-02-19T18:44:12.869Z] lf-activate-venv: SKIPPING [2024-02-19T18:44:12.869Z] INFO: No Stack... [2024-02-19T18:44:13.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-19T18:44:13.440Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-19T18:44:13.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-19T18:44:13.440Z] Dload Upload Total Spent Left Speed [2024-02-19T18:44:13.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh [2024-02-19T18:44:13.699Z] INFO: Archiving Costs [Pipeline] sh [2024-02-19T18:44:13.912Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-19T18:44:13.995Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2024-02-19T18:44:13.995Z] + cut -d, -f6 [Pipeline] lock [2024-02-19T18:44:14.059Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] [2024-02-19T18:44:14.077Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] did not exist. Created. [2024-02-19T18:44:14.082Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-19T18:44:14.237Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-19T18:44:14.237Z] + sudo tee /etc/docker/daemon.new [2024-02-19T18:44:14.237Z] { [2024-02-19T18:44:14.237Z] "registry-mirrors": [ [2024-02-19T18:44:14.237Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-19T18:44:14.237Z] ], [2024-02-19T18:44:14.237Z] "bip": "10.250.0.254/24", [2024-02-19T18:44:14.237Z] "hosts": [ [2024-02-19T18:44:14.237Z] "tcp://0.0.0.0:5555", [2024-02-19T18:44:14.237Z] "unix:///var/run/docker.sock" [2024-02-19T18:44:14.237Z] ], [2024-02-19T18:44:14.237Z] "mtu": 1458, [2024-02-19T18:44:14.237Z] "selinux-enabled": true, [2024-02-19T18:44:14.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-19T18:44:14.237Z] } [Pipeline] sh [2024-02-19T18:44:14.451Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-19T18:44:14.474Z] Stashed 1 file(s) [Pipeline] } [2024-02-19T18:44:14.522Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] [2024-02-19T18:44:14.560Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2024-02-19T18:44:14.597Z] $ docker stop --time=1 708ce4501f9a06ff8441d9ee4b05194592f67c240e97e43e805d80ef4ea51627 [2024-02-19T18:44:15.733Z] $ docker rm -f --volumes 708ce4501f9a06ff8441d9ee4b05194592f67c240e97e43e805d80ef4ea51627 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2024-02-19T18:44:16.120Z] + sudo service docker restart [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T18:44:34.393Z] provisioning config files... [2024-02-19T18:44:34.416Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config15040387015817865928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:44:34.859Z] ---> ****-login.sh [2024-02-19T18:44:34.860Z] nexus3.edgexfoundry.org:10001 [2024-02-19T18:44:35.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:44:35.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:44:35.398Z] Configure a credential helper to remove this warning. See [2024-02-19T18:44:35.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:44:35.398Z] [2024-02-19T18:44:35.398Z] Login Succeeded [2024-02-19T18:44:35.398Z] nexus3.edgexfoundry.org:10002 [2024-02-19T18:44:35.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:44:35.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:44:35.669Z] Configure a credential helper to remove this warning. See [2024-02-19T18:44:35.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:44:35.669Z] [2024-02-19T18:44:35.669Z] Login Succeeded [2024-02-19T18:44:35.669Z] nexus3.edgexfoundry.org:10003 [2024-02-19T18:44:35.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:44:36.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:44:36.204Z] Configure a credential helper to remove this warning. See [2024-02-19T18:44:36.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:44:36.204Z] [2024-02-19T18:44:36.204Z] Login Succeeded [2024-02-19T18:44:36.204Z] nexus3.edgexfoundry.org:10004 [2024-02-19T18:44:36.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:44:36.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:44:36.475Z] Configure a credential helper to remove this warning. See [2024-02-19T18:44:36.475Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:44:36.475Z] [2024-02-19T18:44:36.475Z] Login Succeeded [2024-02-19T18:44:36.475Z] ****.io [2024-02-19T18:44:36.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T18:44:37.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T18:44:37.325Z] Configure a credential helper to remove this warning. See [2024-02-19T18:44:37.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T18:44:37.325Z] [2024-02-19T18:44:37.325Z] Login Succeeded [2024-02-19T18:44:37.325Z] ---> ****-login.sh ends [Pipeline] } [2024-02-19T18:44:37.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-19T18:44:37.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T18:44:37.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T18:44:37.826Z] ========================================================= [2024-02-19T18:44:37.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-19T18:44:37.826Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:44:38.301Z] + 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-19T18:44:38.892Z] Sending build context to Docker daemon 11.39MB [2024-02-19T18:44:38.892Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T18:44:38.892Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-19T18:44:38.892Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-19T18:44:38.892Z] 9fda8d8052c6: Pulling fs layer [2024-02-19T18:44:38.892Z] 5d54e960e981: Pulling fs layer [2024-02-19T18:44:38.892Z] c4a7e357bf2a: Pulling fs layer [2024-02-19T18:44:38.892Z] f0e02332f6b5: Pulling fs layer [2024-02-19T18:44:38.892Z] 872ee5b61b7b: Pulling fs layer [2024-02-19T18:44:38.892Z] f0e02332f6b5: Waiting [2024-02-19T18:44:38.892Z] 872ee5b61b7b: Waiting [2024-02-19T18:44:38.892Z] 0c6a40ed1a82: Pulling fs layer [2024-02-19T18:44:38.892Z] 0c6a40ed1a82: Waiting [2024-02-19T18:44:38.892Z] 94ae7d8d031c: Pulling fs layer [2024-02-19T18:44:38.892Z] 5d54e960e981: Verifying Checksum [2024-02-19T18:44:38.892Z] 5d54e960e981: Download complete [2024-02-19T18:44:38.892Z] f0e02332f6b5: Verifying Checksum [2024-02-19T18:44:38.892Z] f0e02332f6b5: Download complete [2024-02-19T18:44:39.162Z] 872ee5b61b7b: Verifying Checksum [2024-02-19T18:44:39.163Z] 872ee5b61b7b: Download complete [2024-02-19T18:44:39.163Z] 9fda8d8052c6: Verifying Checksum [2024-02-19T18:44:39.163Z] 9fda8d8052c6: Download complete [2024-02-19T18:44:39.432Z] 94ae7d8d031c: Verifying Checksum [2024-02-19T18:44:39.432Z] 94ae7d8d031c: Download complete [2024-02-19T18:44:40.019Z] 9fda8d8052c6: Pull complete [2024-02-19T18:44:40.606Z] 5d54e960e981: Pull complete [2024-02-19T18:44:40.606Z] c4a7e357bf2a: Download complete [2024-02-19T18:44:42.018Z] 0c6a40ed1a82: Verifying Checksum [2024-02-19T18:44:42.018Z] 0c6a40ed1a82: Download complete [2024-02-19T18:44:54.356Z] c4a7e357bf2a: Pull complete [2024-02-19T18:44:54.356Z] f0e02332f6b5: Pull complete [2024-02-19T18:44:54.356Z] 872ee5b61b7b: Pull complete [2024-02-19T18:45:02.584Z] 0c6a40ed1a82: Pull complete [2024-02-19T18:45:04.540Z] 94ae7d8d031c: Pull complete [2024-02-19T18:45:04.540Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-19T18:45:04.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-19T18:45:04.540Z] ---> 86de565de09d [2024-02-19T18:45:04.540Z] Step 3/10 : ARG MAKE=make build [2024-02-19T18:45:06.481Z] ---> Running in a2071ab40880 [2024-02-19T18:45:06.481Z] Removing intermediate container a2071ab40880 [2024-02-19T18:45:06.481Z] ---> 3fa658109c86 [2024-02-19T18:45:06.481Z] Step 4/10 : WORKDIR /device-sdk-go [2024-02-19T18:45:06.481Z] ---> Running in b6ef9d5115ef [2024-02-19T18:45:06.758Z] Removing intermediate container b6ef9d5115ef [2024-02-19T18:45:06.758Z] ---> 92d71a044333 [2024-02-19T18:45:06.758Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-19T18:45:07.041Z] ---> Running in 02287c20231b [2024-02-19T18:45:07.310Z] Removing intermediate container 02287c20231b [2024-02-19T18:45:07.310Z] ---> 90b2f7db25d5 [2024-02-19T18:45:07.310Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-02-19T18:45:07.310Z] ---> Running in e6976d656318 [2024-02-19T18:45:08.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T18:45:08.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T18:45:09.810Z] OK: 266 MiB in 52 packages [2024-02-19T18:45:10.768Z] Removing intermediate container e6976d656318 [2024-02-19T18:45:10.768Z] ---> 6cc6410aabd0 [2024-02-19T18:45:10.768Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-19T18:45:11.038Z] ---> 0eb1ca4850d7 [2024-02-19T18:45:11.038Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T18:45:11.305Z] ---> Running in 93a2745e325c [2024-02-19T18:46:07.704Z] Removing intermediate container 93a2745e325c [2024-02-19T18:46:07.704Z] ---> c1917bc0d3aa [2024-02-19T18:46:07.704Z] Step 9/10 : COPY . . [2024-02-19T18:46:08.285Z] ---> d57aa6e33a26 [2024-02-19T18:46:08.285Z] Step 10/10 : RUN ${MAKE} [2024-02-19T18:46:08.285Z] ---> Running in dafd0c5c5683 [2024-02-19T18:46:09.245Z] noop [2024-02-19T18:46:09.825Z] Removing intermediate container dafd0c5c5683 [2024-02-19T18:46:09.825Z] ---> 45cd13458ef7 [2024-02-19T18:46:09.825Z] Successfully built 45cd13458ef7 [2024-02-19T18:46:09.825Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:46:10.267Z] + docker inspect -f . ci-base-image-arm64 [2024-02-19T18:46:10.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:46:10.527Z] prd-ubuntu20.04-docker-arm64-4c-16g-1270 does not seem to be running inside a container [2024-02-19T18:46:10.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-19T18:46:11.815Z] $ docker top 5e9a9d555458d52824851b9ef77528d42808ea58544352aafe14347125151346 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T18:46:12.713Z] + go version [2024-02-19T18:46:12.713Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-19T18:46:12.733Z] $ docker stop --time=1 5e9a9d555458d52824851b9ef77528d42808ea58544352aafe14347125151346 [2024-02-19T18:46:16.566Z] $ docker rm -f --volumes 5e9a9d555458d52824851b9ef77528d42808ea58544352aafe14347125151346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:46:17.429Z] + docker inspect -f . ci-base-image-arm64 [2024-02-19T18:46:17.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:46:17.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-1270 does not seem to be running inside a container [2024-02-19T18:46:17.751Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-19T18:46:18.930Z] $ docker top d4b68e5dd38b547bb65afeafd61f598f6bfd73a00650b60b91d0ddcbdbe3ffa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T18:46:19.511Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/11 [Pipeline] fileExists [Pipeline] sh [2024-02-19T18:46:19.869Z] + make test [2024-02-19T18:46:19.869Z] go test -race -coverprofile=coverage.out ./... [2024-02-19T18:46:52.207Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-02-19T18:48:28.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-02-19T18:48:28.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-02-19T18:48:28.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-02-19T18:48:28.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-02-19T18:48:28.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-02-19T18:48:33.133Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.341s coverage: 27.6% of statements [2024-02-19T18:48:41.337Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.244s coverage: 81.5% of statements [2024-02-19T18:48:49.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-02-19T18:48:49.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-02-19T18:48:50.510Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.421s coverage: 86.0% of statements [2024-02-19T18:48:57.188Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-02-19T18:48:57.770Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.418s coverage: 71.8% of statements [2024-02-19T18:49:01.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.297s coverage: 14.4% of statements [2024-02-19T18:49:01.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.882s coverage: 45.9% of statements [2024-02-19T18:49:01.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-02-19T18:49:01.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-02-19T18:49:02.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.440s coverage: 68.5% of statements [2024-02-19T18:49:06.134Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.422s coverage: 89.2% of statements [2024-02-19T18:49:06.403Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-02-19T18:49:07.806Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.231s coverage: 5.5% of statements [2024-02-19T18:49:08.404Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-19T18:49:08.404Z] GO111MODULE=on go vet ./... [2024-02-19T18:51:15.106Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-19T18:51:15.106Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-19T18:51:15.106Z] ./bin/test-attribution-txt.sh [2024-02-19T18:51:15.106Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-19T18:51:15.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-19T18:51:15.171Z] $ docker stop --time=1 d4b68e5dd38b547bb65afeafd61f598f6bfd73a00650b60b91d0ddcbdbe3ffa2 [2024-02-19T18:51:17.068Z] $ docker rm -f --volumes d4b68e5dd38b547bb65afeafd61f598f6bfd73a00650b60b91d0ddcbdbe3ffa2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-19T18:51:18.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-19T18:51:18.894Z] Warning: overwriting stash ‘coverage-report’ [2024-02-19T18:51:19.489Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-19T18:51:20.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-19T18:51:20.399Z] + ls -al . [2024-02-19T18:51:20.399Z] total 304 [2024-02-19T18:51:20.399Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 19 18:46 . [2024-02-19T18:51:20.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 18:43 .. [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 19 18:44 .dockerignore [2024-02-19T18:51:20.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 18:44 .git [2024-02-19T18:51:20.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 18:44 .github [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 137 Feb 19 18:44 .gitignore [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 19 18:44 .golangci.yml [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 48109 Feb 19 18:44 CHANGELOG.md [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 19 18:44 GOVERNANCE.md [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 19 18:44 Jenkinsfile [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 19 18:44 LICENSE [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 1842 Feb 19 18:44 Makefile [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 19 18:44 OWNERS.md [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 4933 Feb 19 18:44 README.md [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 19 18:41 VERSION [2024-02-19T18:51:20.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 18:44 bin [2024-02-19T18:51:20.399Z] -rw-r--r-- 1 jenkins jenkins 122155 Feb 19 18:49 coverage.out [2024-02-19T18:51:20.399Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 19 18:44 example [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 3768 Feb 19 18:44 go.mod [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 33786 Feb 19 18:44 go.sum [2024-02-19T18:51:20.399Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 19 18:44 internal [2024-02-19T18:51:20.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 18:44 openapi [2024-02-19T18:51:20.399Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 19 18:44 pkg [2024-02-19T18:51:20.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 18:44 snap [2024-02-19T18:51:20.399Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 19 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:51:20.811Z] + 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=28fff03a21efc2383ece406034a1638be118866e --label arch=arm64 --label version=0.0.0 . [2024-02-19T18:51:21.396Z] Sending build context to Docker daemon 11.51MB [2024-02-19T18:51:21.396Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T18:51:21.396Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-19T18:51:21.396Z] ---> 45cd13458ef7 [2024-02-19T18:51:21.396Z] Step 3/24 : ARG MAKE=make build [2024-02-19T18:51:21.662Z] ---> Running in 8f068f0c4ec8 [2024-02-19T18:51:21.927Z] Removing intermediate container 8f068f0c4ec8 [2024-02-19T18:51:21.927Z] ---> c5432266bf89 [2024-02-19T18:51:21.927Z] Step 4/24 : WORKDIR /device-sdk-go [2024-02-19T18:51:21.927Z] ---> Running in 126700c0e507 [2024-02-19T18:51:22.194Z] Removing intermediate container 126700c0e507 [2024-02-19T18:51:22.194Z] ---> 37a47701a0b9 [2024-02-19T18:51:22.194Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-19T18:51:22.194Z] ---> Running in f4813990ede2 [2024-02-19T18:51:22.460Z] Removing intermediate container f4813990ede2 [2024-02-19T18:51:22.460Z] ---> 339710aac743 [2024-02-19T18:51:22.460Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-02-19T18:51:22.730Z] ---> Running in 9a908e62b844 [2024-02-19T18:51:23.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T18:51:23.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T18:51:24.909Z] OK: 266 MiB in 52 packages [2024-02-19T18:51:25.870Z] Removing intermediate container 9a908e62b844 [2024-02-19T18:51:25.870Z] ---> 81572f2f65e8 [2024-02-19T18:51:25.870Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-19T18:51:26.450Z] ---> 3d8edbd8e79e [2024-02-19T18:51:26.450Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T18:51:26.450Z] ---> Running in 0edc146670b1 [2024-02-19T18:51:28.389Z] Removing intermediate container 0edc146670b1 [2024-02-19T18:51:28.389Z] ---> 98c6609ea238 [2024-02-19T18:51:28.389Z] Step 9/24 : COPY . . [2024-02-19T18:51:29.796Z] ---> 820bc9c54a3c [2024-02-19T18:51:29.796Z] Step 10/24 : RUN ${MAKE} [2024-02-19T18:51:29.796Z] ---> Running in 80aecb1a4b87 [2024-02-19T18:51:30.769Z] 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-19T18:53:22.394Z] Removing intermediate container 80aecb1a4b87 [2024-02-19T18:53:22.394Z] ---> 16b382036729 [2024-02-19T18:53:22.394Z] Step 11/24 : FROM alpine:3.18 [2024-02-19T18:53:22.394Z] 3.18: Pulling from library/alpine [2024-02-19T18:53:22.394Z] c6b39de5b339: Pulling fs layer [2024-02-19T18:53:22.394Z] c6b39de5b339: Download complete [2024-02-19T18:53:22.394Z] c6b39de5b339: Pull complete [2024-02-19T18:53:22.394Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-19T18:53:22.394Z] Status: Downloaded newer image for alpine:3.18 [2024-02-19T18:53:22.394Z] ---> 33abbf032149 [2024-02-19T18:53:22.394Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-02-19T18:53:22.394Z] ---> Running in 3915d6bee244 [2024-02-19T18:53:22.394Z] Removing intermediate container 3915d6bee244 [2024-02-19T18:53:22.394Z] ---> 6742e21d04e1 [2024-02-19T18:53:22.394Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-19T18:53:22.394Z] ---> Running in 15592100bf96 [2024-02-19T18:53:22.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T18:53:22.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T18:53:22.394Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-19T18:53:22.394Z] Executing busybox-1.36.1-r5.trigger [2024-02-19T18:53:22.394Z] OK: 8 MiB in 16 packages [2024-02-19T18:53:22.394Z] Removing intermediate container 15592100bf96 [2024-02-19T18:53:22.394Z] ---> 304a97c7e11e [2024-02-19T18:53:22.394Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-19T18:53:22.394Z] ---> Running in 2a2a0b7b2906 [2024-02-19T18:53:22.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T18:53:22.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T18:53:23.353Z] OK: 8 MiB in 16 packages [2024-02-19T18:53:23.935Z] Removing intermediate container 2a2a0b7b2906 [2024-02-19T18:53:23.935Z] ---> 1c24fac234e8 [2024-02-19T18:53:23.935Z] Step 15/24 : WORKDIR / [2024-02-19T18:53:23.935Z] ---> Running in 74e38867f41c [2024-02-19T18:53:24.200Z] Removing intermediate container 74e38867f41c [2024-02-19T18:53:24.200Z] ---> 8f348790a197 [2024-02-19T18:53:24.200Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-02-19T18:53:24.780Z] ---> dbba8d6730cf [2024-02-19T18:53:24.780Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-02-19T18:53:26.180Z] ---> 434c4114cd7d [2024-02-19T18:53:26.180Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-02-19T18:53:26.759Z] ---> d2f2f7ad5264 [2024-02-19T18:53:26.759Z] Step 19/24 : EXPOSE 59999 [2024-02-19T18:53:26.759Z] ---> Running in adebc386dbad [2024-02-19T18:53:27.025Z] Removing intermediate container adebc386dbad [2024-02-19T18:53:27.025Z] ---> 70b8f14f1f8d [2024-02-19T18:53:27.025Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-02-19T18:53:27.025Z] ---> Running in aadde38eb194 [2024-02-19T18:53:27.291Z] Removing intermediate container aadde38eb194 [2024-02-19T18:53:27.291Z] ---> 9886ae1b7414 [2024-02-19T18:53:27.291Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-19T18:53:27.291Z] ---> Running in 8e51520c0ec8 [2024-02-19T18:53:27.562Z] Removing intermediate container 8e51520c0ec8 [2024-02-19T18:53:27.562Z] ---> e6692887fe48 [2024-02-19T18:53:27.562Z] Step 22/24 : LABEL arch=arm64 [2024-02-19T18:53:27.829Z] ---> Running in 8b6e6d116329 [2024-02-19T18:53:28.094Z] Removing intermediate container 8b6e6d116329 [2024-02-19T18:53:28.094Z] ---> d7a21c1be0c6 [2024-02-19T18:53:28.094Z] Step 23/24 : LABEL git_sha=28fff03a21efc2383ece406034a1638be118866e [2024-02-19T18:53:28.094Z] ---> Running in 7aa42e1da532 [2024-02-19T18:53:28.359Z] Removing intermediate container 7aa42e1da532 [2024-02-19T18:53:28.359Z] ---> 8444755744de [2024-02-19T18:53:28.359Z] Step 24/24 : LABEL version=0.0.0 [2024-02-19T18:53:28.359Z] ---> Running in a6af73ca5d76 [2024-02-19T18:53:28.629Z] Removing intermediate container a6af73ca5d76 [2024-02-19T18:53:28.630Z] ---> f4fa8769b5d4 [2024-02-19T18:53:28.630Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-19T18:53:28.902Z] Successfully built f4fa8769b5d4 [2024-02-19T18:53:28.902Z] 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-19T18:53:29.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-19T18:53:29.790Z] [2024-02-19T18:53:29.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:53:30.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-19T18:53:31.562Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-19T18:53:31.562Z] 8998bd30e6a1: Pulling fs layer [2024-02-19T18:53:31.563Z] 04944245beec: Pulling fs layer [2024-02-19T18:53:31.563Z] 699f458cf7ca: Pulling fs layer [2024-02-19T18:53:31.563Z] 765212b225bb: Pulling fs layer [2024-02-19T18:53:31.563Z] f23df028b6ca: Pulling fs layer [2024-02-19T18:53:31.563Z] d65c8cfc05b1: Pulling fs layer [2024-02-19T18:53:31.563Z] 2437ff75d9bd: Pulling fs layer [2024-02-19T18:53:31.563Z] 765212b225bb: Waiting [2024-02-19T18:53:31.563Z] f23df028b6ca: Waiting [2024-02-19T18:53:31.563Z] d65c8cfc05b1: Waiting [2024-02-19T18:53:31.563Z] 2437ff75d9bd: Waiting [2024-02-19T18:53:31.563Z] 04944245beec: Verifying Checksum [2024-02-19T18:53:31.563Z] 04944245beec: Download complete [2024-02-19T18:53:31.563Z] 765212b225bb: Verifying Checksum [2024-02-19T18:53:31.563Z] 765212b225bb: Download complete [2024-02-19T18:53:31.563Z] f23df028b6ca: Verifying Checksum [2024-02-19T18:53:31.563Z] f23df028b6ca: Download complete [2024-02-19T18:53:31.830Z] d65c8cfc05b1: Verifying Checksum [2024-02-19T18:53:31.830Z] d65c8cfc05b1: Download complete [2024-02-19T18:53:31.830Z] 699f458cf7ca: Verifying Checksum [2024-02-19T18:53:31.830Z] 699f458cf7ca: Download complete [2024-02-19T18:53:32.097Z] 8998bd30e6a1: Verifying Checksum [2024-02-19T18:53:34.693Z] 2437ff75d9bd: Verifying Checksum [2024-02-19T18:53:34.693Z] 2437ff75d9bd: Download complete [2024-02-19T18:53:36.640Z] 8998bd30e6a1: Pull complete [2024-02-19T18:53:37.219Z] 04944245beec: Pull complete [2024-02-19T18:53:38.623Z] 699f458cf7ca: Pull complete [2024-02-19T18:53:38.891Z] 765212b225bb: Pull complete [2024-02-19T18:53:39.468Z] f23df028b6ca: Pull complete [2024-02-19T18:53:39.733Z] d65c8cfc05b1: Pull complete [2024-02-19T18:53:57.905Z] 2437ff75d9bd: Pull complete [2024-02-19T18:53:57.905Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-19T18:53:57.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-19T18:53:57.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:53:58.232Z] prd-ubuntu20.04-docker-arm64-4c-16g-1270 does not seem to be running inside a container [2024-02-19T18:53:58.295Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-19T18:54:00.777Z] $ docker top 6386666e1f2efb1bd6145824056c184d3bdf885360efc179cb09d0bc320ce1df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:01.406Z] ---> job-cost.sh [2024-02-19T18:54:01.715Z] lf-activate-venv: SKIPPING [2024-02-19T18:54:01.715Z] INFO: No Stack... [2024-02-19T18:54:01.995Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-19T18:54:02.985Z] INFO: Archiving Costs [Pipeline] sh [2024-02-19T18:54:03.633Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [2024-02-19T18:54:03.633Z] + cut -d, -f6 [Pipeline] lock [2024-02-19T18:54:03.685Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] [2024-02-19T18:54:03.693Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] did not exist. Created. [2024-02-19T18:54:03.698Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-19T18:54:04.413Z] /w/workspace/device-sdk-go/11@tmp/durable-c78feb91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-19T18:54:05.045Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-19T18:54:05.060Z] Warning: overwriting stash ‘stack-cost’ [2024-02-19T18:54:05.137Z] Stashed 1 file(s) [Pipeline] } [2024-02-19T18:54:05.143Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-11-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-19T18:54:05.242Z] $ docker stop --time=1 6386666e1f2efb1bd6145824056c184d3bdf885360efc179cb09d0bc320ce1df [2024-02-19T18:54:06.746Z] $ docker rm -f --volumes 6386666e1f2efb1bd6145824056c184d3bdf885360efc179cb09d0bc320ce1df [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-19T18:54:08.058Z] provisioning config files... [2024-02-19T18:54:08.063Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config8393046380263203197tmp [Pipeline] { [Pipeline] sh [2024-02-19T18:54:08.431Z] + set +x [2024-02-19T18:54:08.432Z] + curl -s https://codecov.io/bash [2024-02-19T18:54:08.432Z] + bash -s -- [2024-02-19T18:54:08.432Z] [2024-02-19T18:54:08.432Z] _____ _ [2024-02-19T18:54:08.432Z] / ____| | | [2024-02-19T18:54:08.432Z] | | ___ __| | ___ ___ _____ __ [2024-02-19T18:54:08.432Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-19T18:54:08.432Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-19T18:54:08.432Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-19T18:54:08.432Z] Bash-1.0.6 [2024-02-19T18:54:08.432Z] [2024-02-19T18:54:08.432Z] [2024-02-19T18:54:08.432Z] ==> git version 2.25.1 found [2024-02-19T18:54:08.432Z] ==> 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-19T18:54:08.432Z] Release-Date: 2020-01-08 [2024-02-19T18:54:08.432Z] 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-19T18:54:08.432Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-19T18:54:08.432Z] ==> Jenkins CI detected. [2024-02-19T18:54:08.432Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-02-19T18:54:08.432Z] project root: . [2024-02-19T18:54:08.432Z] --> token set from env [2024-02-19T18:54:08.432Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-19T18:54:08.432Z] ==> Running gcov in . (disable via -X gcov) [2024-02-19T18:54:08.432Z] ==> Python coveragepy not found [2024-02-19T18:54:08.432Z] ==> Searching for coverage reports in: [2024-02-19T18:54:08.432Z] + . [2024-02-19T18:54:08.691Z] -> Found 1 reports [2024-02-19T18:54:08.691Z] ==> Detecting git/mercurial file structure [2024-02-19T18:54:08.691Z] ==> Reading reports [2024-02-19T18:54:08.691Z] + ./coverage.out bytes=122155 [2024-02-19T18:54:08.691Z] ==> Appending adjustments [2024-02-19T18:54:08.691Z] https://docs.codecov.io/docs/fixing-reports [2024-02-19T18:54:08.951Z] + Found adjustments [2024-02-19T18:54:08.951Z] ==> Gzipping contents [2024-02-19T18:54:08.951Z] 20K /tmp/codecov.jHkZFE.gz [2024-02-19T18:54:08.951Z] ==> Uploading reports [2024-02-19T18:54:08.951Z] url: https://codecov.io [2024-02-19T18:54:08.951Z] query: branch=PR-1540&commit=5b61c8961a6f1f93814cecaa339b717b14418953&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-02-19T18:54:08.951Z] -> Pinging Codecov [2024-02-19T18:54:08.951Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=5b61c8961a6f1f93814cecaa339b717b14418953&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-02-19T18:54:09.210Z] -> Uploading to [2024-02-19T18:54:09.210Z] https://storage.googleapis.com/codecov/v4/raw/2024-02-19/7E55EF52A471D76F132DFD9A03CDDE97/5b61c8961a6f1f93814cecaa339b717b14418953/008145c2-432b-4514-a9b3-5464dd868b2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240219T185408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7b2e1913154a10ad7758f49f1a4f67320a25d2789bbaf2b7204c29150f3bceb [2024-02-19T18:54:09.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-19T18:54:09.210Z] Dload Upload Total Spent Left Speed [2024-02-19T18:54:09.469Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 55088 --:--:-- --:--:-- --:--:-- 54908 100 16747 0 0 100 16747 0 55088 --:--:-- --:--:-- --:--:-- 54908 [2024-02-19T18:54:09.469Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5b61c8961a6f1f93814cecaa339b717b14418953 [Pipeline] } [2024-02-19T18:54:09.477Z] 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-19T18:54:11.420Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2024-02-19T18:54:11.420Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-02-19T18:54:11.420Z] total 16 [2024-02-19T18:54:11.420Z] drwxr-xr-x 3 root root 4096 Feb 19 18:44 . [2024-02-19T18:54:11.420Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 19 18:44 .. [2024-02-19T18:54:11.420Z] drwxr-xr-x 2 root root 4096 Feb 19 18:44 cost [2024-02-19T18:54:11.420Z] -rw-r--r-- 1 root root 87 Feb 19 18:44 cost.csv [2024-02-19T18:54:11.420Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-02-19T18:54:11.420Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-02-19T18:54:11.420Z] total 16 [2024-02-19T18:54:11.420Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 19 18:44 . [2024-02-19T18:54:11.420Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 19 18:44 .. [2024-02-19T18:54:11.420Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 19 18:44 cost [2024-02-19T18:54:11.420Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 19 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:11.709Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:12.567Z] ---> package-listing.sh [2024-02-19T18:54:12.567Z] ++ facter osfamily [2024-02-19T18:54:12.567Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-19T18:54:12.825Z] + OS_FAMILY=debian [2024-02-19T18:54:12.825Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-02-19T18:54:12.825Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-19T18:54:12.825Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-19T18:54:12.825Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-19T18:54:12.825Z] + PACKAGES=/tmp/packages_start.txt [2024-02-19T18:54:12.825Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-02-19T18:54:12.825Z] + PACKAGES=/tmp/packages_end.txt [2024-02-19T18:54:12.825Z] + case "${OS_FAMILY}" in [2024-02-19T18:54:12.825Z] + dpkg -l [2024-02-19T18:54:12.825Z] + grep '^ii' [2024-02-19T18:54:12.825Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-19T18:54:12.825Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-19T18:54:12.825Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-19T18:54:12.825Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-02-19T18:54:12.825Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2024-02-19T18:54:12.825Z] + 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-19T18:54:12.837Z] 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-19T18:54:13.114Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T18:54:13.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T18:54:13.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T18:54:13.859Z] prd-ubuntu20.04-docker-8c-8g-1269 does not seem to be running inside a container [2024-02-19T18:54:13.881Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-19T18:54:14.045Z] $ docker top 154b0e67ba5f41313a5325d89dc14711e17b2c522b510a2d3da9176d0d6b89ae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T18:54:14.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-19T18:54:14.753Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-19T18:54:15.047Z] + ls /var/log/sa-host [2024-02-19T18:54:15.047Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T18:54:15.241Z] provisioning config files... [2024-02-19T18:54:15.249Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config12381246841037244588tmp [Pipeline] { [Pipeline] echo [2024-02-19T18:54:15.334Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:15.617Z] ---> create-netrc.sh [Pipeline] } [2024-02-19T18:54:15.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:16.031Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-19T18:54:16.040Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:16.325Z] ---> sudo-logs.sh [2024-02-19T18:54:16.325Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-19T18:54:16.388Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:16.672Z] ---> job-cost.sh [2024-02-19T18:54:16.672Z] lf-activate-venv: SKIPPING [2024-02-19T18:54:16.672Z] DEBUG: total: 0.2199999988079071 [2024-02-19T18:54:16.672Z] INFO: Retrieving Stack Cost... [2024-02-19T18:54:16.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-19T18:54:17.501Z] INFO: Archiving Costs [Pipeline] echo [2024-02-19T18:54:17.512Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T18:54:17.795Z] ---> logs-deploy.sh [2024-02-19T18:54:17.795Z] lf-activate-venv: SKIPPING [2024-02-19T18:54:17.795Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/11 [2024-02-19T18:54:17.795Z] INFO: archiving workspace using pattern(s): [2024-02-19T18:54:18.733Z] Archives upload complete. [2024-02-19T18:54:18.733Z] INFO: archiving logs to Nexus