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+4eb5e29dea1939910f88077e170bd5bcfca266de (5d549c24c6b016af81f3ed7ce969ab4d907fd211) 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-ssh15062237035399949968.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-ssh7324934519660058296.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-ssh12412301146084872360.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-ssh16376668600524022180.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-ssh9437044129765646619.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-25060’ Running on prd-ubuntu20.04-docker-8c-8g-25062 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 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing dd9d156fd463340a1e84e8e9984b6830b33a5aa1 Checking out Revision dd9d156fd463340a1e84e8e9984b6830b33a5aa1 (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 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd9d156fd463340a1e84e8e9984b6830b33a5aa1 # timeout=10 Commit message: "Merge commit '4eb5e29dea1939910f88077e170bd5bcfca266de' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-14T18:43:51.236Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-14T18:43:51.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-14T18:43:51.338Z] ========================================================= [2023-12-14T18:43:51.338Z] EdgeX Global Pipelines Version Info [2023-12-14T18:43:51.338Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8864da9c68b17d0de2eb03c145a50fcb91212c30 # timeout=10 [2023-12-14T18:43:52.051Z] ------------------- [2023-12-14T18:43:52.051Z] stable info: [2023-12-14T18:43:52.051Z] ------------------- [2023-12-14T18:43:52.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-14T18:43:52.051Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-14T18:43:52.051Z] Message: update stable to v1.0.258 [2023-12-14T18:43:52.620Z] ------------------- [2023-12-14T18:43:52.620Z] experimental info: [2023-12-14T18:43:52.620Z] ------------------- [2023-12-14T18:43:52.620Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-14T18:43:52.620Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-14T18:43:52.620Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-14T18:43:52.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-12-14T18:43:52.734Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-12-14T18:43:52.763Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-14T18:43:52.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-14T18:43:52.824Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-14T18:43:52.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-14T18:43:52.879Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-14T18:43:52.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-12-14T18:43:52.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-14T18:43:52.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-14T18:43:52.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-14T18:43:53.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-12-14T18:43:53.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-14T18:43:53.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-14T18:43:53.113Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-14T18:43:53.151Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-12-14T18:43:53.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-14T18:43:53.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-14T18:43:53.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-14T18:43:53.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-14T18:43:53.318Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-12-14T18:43:53.348Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-12-14T18:43:53.378Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-14T18:43:53.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-14T18:43:53.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-14T18:43:53.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-14T18:43:53.528Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-14T18:43:53.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2023-12-14T18:43:53.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2023-12-14T18:43:53.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2023-12-14T18:43:53.677Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [Pipeline] echo [2023-12-14T18:43:53.714Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd9d156 [Pipeline] echo [2023-12-14T18:43:53.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-14T18:43:53.833Z] provisioning config files... [2023-12-14T18:43:53.848Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config16482756054618547414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:43:54.196Z] ---> ****-login.sh [2023-12-14T18:43:54.196Z] nexus3.edgexfoundry.org:10001 [2023-12-14T18:43:54.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:43:54.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:43:54.456Z] Configure a credential helper to remove this warning. See [2023-12-14T18:43:54.456Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:43:54.456Z] [2023-12-14T18:43:54.456Z] Login Succeeded [2023-12-14T18:43:54.456Z] nexus3.edgexfoundry.org:10002 [2023-12-14T18:43:54.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:43:54.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:43:54.456Z] Configure a credential helper to remove this warning. See [2023-12-14T18:43:54.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:43:54.457Z] [2023-12-14T18:43:54.457Z] Login Succeeded [2023-12-14T18:43:54.457Z] nexus3.edgexfoundry.org:10003 [2023-12-14T18:43:54.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:43:54.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:43:54.716Z] Configure a credential helper to remove this warning. See [2023-12-14T18:43:54.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:43:54.716Z] [2023-12-14T18:43:54.716Z] Login Succeeded [2023-12-14T18:43:54.716Z] nexus3.edgexfoundry.org:10004 [2023-12-14T18:43:54.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:43:54.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:43:54.716Z] Configure a credential helper to remove this warning. See [2023-12-14T18:43:54.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:43:54.716Z] [2023-12-14T18:43:54.716Z] Login Succeeded [2023-12-14T18:43:54.716Z] ****.io [2023-12-14T18:43:54.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:43:54.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:43:54.978Z] Configure a credential helper to remove this warning. See [2023-12-14T18:43:54.978Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:43:54.978Z] [2023-12-14T18:43:54.978Z] Login Succeeded [2023-12-14T18:43:54.978Z] ---> ****-login.sh ends [Pipeline] } [2023-12-14T18:43:54.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-14T18:43:55.496Z] + git rev-list -1 --merges dd9d156fd463340a1e84e8e9984b6830b33a5aa1~1..dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [Pipeline] echo [2023-12-14T18:43:55.527Z] -----------> git rev-list -1 --merges dd9d156fd463340a1e84e8e9984b6830b33a5aa1~1..dd9d156fd463340a1e84e8e9984b6830b33a5aa1 dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [2023-12-14T18:43:55.527Z] dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [false] [Pipeline] sh [2023-12-14T18:43:55.827Z] + git log --format=format:%s -1 dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [Pipeline] echo [2023-12-14T18:43:55.843Z] ========================================================= [2023-12-14T18:43:55.843Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-14T18:43:55.843Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-14T18:43:56.218Z] + git log --format=format:%s -1 dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [Pipeline] echo [2023-12-14T18:43:56.228Z] [semverPrep] GIT_COMMIT: dd9d156fd463340a1e84e8e9984b6830b33a5aa1, Commit Message: Merge commit '4eb5e29dea1939910f88077e170bd5bcfca266de' into HEAD [Pipeline] echo [2023-12-14T18:43:56.253Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-14T18:43:56.630Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-14T18:43:56.630Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-14T18:43:56.630Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-14T18:43:56.630Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-14T18:43:56.630Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-14T18:43:56.630Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-14T18:43:56.630Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:43:56.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-14T18:43:56.983Z] [2023-12-14T18:43:56.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:43:57.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-14T18:43:57.303Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-14T18:43:57.303Z] b85a868b505f: Pulling fs layer [2023-12-14T18:43:57.303Z] e2be974225ed: Pulling fs layer [2023-12-14T18:43:57.303Z] 339a4e72a1f5: Pulling fs layer [2023-12-14T18:43:57.303Z] 988bab9f4d93: Pulling fs layer [2023-12-14T18:43:57.303Z] 1469e6f7b9e6: Pulling fs layer [2023-12-14T18:43:57.303Z] eaf3925da568: Pulling fs layer [2023-12-14T18:43:57.303Z] bab4dde63d76: Pulling fs layer [2023-12-14T18:43:57.303Z] bde34c3a00c8: Pulling fs layer [2023-12-14T18:43:57.303Z] b352a97aabf1: Pulling fs layer [2023-12-14T18:43:57.303Z] 4872d77fe225: Pulling fs layer [2023-12-14T18:43:57.303Z] 5851b861e8e6: Pulling fs layer [2023-12-14T18:43:57.303Z] 988bab9f4d93: Waiting [2023-12-14T18:43:57.303Z] b352a97aabf1: Waiting [2023-12-14T18:43:57.303Z] 5851b861e8e6: Waiting [2023-12-14T18:43:57.303Z] 1469e6f7b9e6: Waiting [2023-12-14T18:43:57.303Z] bde34c3a00c8: Waiting [2023-12-14T18:43:57.303Z] 4872d77fe225: Waiting [2023-12-14T18:43:57.303Z] bab4dde63d76: Waiting [2023-12-14T18:43:57.303Z] eaf3925da568: Waiting [2023-12-14T18:43:57.303Z] e2be974225ed: Verifying Checksum [2023-12-14T18:43:57.303Z] e2be974225ed: Download complete [2023-12-14T18:43:57.303Z] 988bab9f4d93: Verifying Checksum [2023-12-14T18:43:57.303Z] 988bab9f4d93: Download complete [2023-12-14T18:43:57.303Z] 1469e6f7b9e6: Verifying Checksum [2023-12-14T18:43:57.303Z] 1469e6f7b9e6: Download complete [2023-12-14T18:43:57.562Z] eaf3925da568: Download complete [2023-12-14T18:43:57.562Z] 339a4e72a1f5: Verifying Checksum [2023-12-14T18:43:57.562Z] 339a4e72a1f5: Download complete [2023-12-14T18:43:57.562Z] bde34c3a00c8: Download complete [2023-12-14T18:43:57.562Z] b352a97aabf1: Verifying Checksum [2023-12-14T18:43:57.562Z] b352a97aabf1: Download complete [2023-12-14T18:43:57.562Z] 4872d77fe225: Download complete [2023-12-14T18:43:57.562Z] 5851b861e8e6: Verifying Checksum [2023-12-14T18:43:57.562Z] 5851b861e8e6: Download complete [2023-12-14T18:43:57.562Z] b85a868b505f: Download complete [2023-12-14T18:43:57.820Z] bab4dde63d76: Verifying Checksum [2023-12-14T18:43:57.820Z] bab4dde63d76: Download complete [2023-12-14T18:43:58.756Z] b85a868b505f: Pull complete [2023-12-14T18:43:59.014Z] e2be974225ed: Pull complete [2023-12-14T18:43:59.598Z] 339a4e72a1f5: Pull complete [2023-12-14T18:43:59.598Z] 988bab9f4d93: Pull complete [2023-12-14T18:43:59.857Z] 1469e6f7b9e6: Pull complete [2023-12-14T18:43:59.857Z] eaf3925da568: Pull complete [2023-12-14T18:44:01.761Z] bab4dde63d76: Pull complete [2023-12-14T18:44:01.761Z] bde34c3a00c8: Pull complete [2023-12-14T18:44:01.761Z] b352a97aabf1: Pull complete [2023-12-14T18:44:01.761Z] 4872d77fe225: Pull complete [2023-12-14T18:44:01.761Z] 5851b861e8e6: Pull complete [2023-12-14T18:44:01.761Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-14T18:44:01.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-14T18:44:01.761Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:44:01.957Z] prd-ubuntu20.04-docker-8c-8g-25062 does not seem to be running inside a container [2023-12-14T18:44:01.985Z] $ 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 [2023-12-14T18:44:05.540Z] $ docker top 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 -eo pid,comm [2023-12-14T18:44:05.597Z] 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). [2023-12-14T18:44:05.597Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-14T18:44:05.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-14T18:44:05.698Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-14T18:44:05.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-14T18:44:05.819Z] $ docker exec 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 ssh-agent [2023-12-14T18:44:05.912Z] SSH_AUTH_SOCK=/tmp/ssh-LNbLHgHwHFld/agent.32 [2023-12-14T18:44:05.912Z] SSH_AGENT_PID=38 [2023-12-14T18:44:05.918Z] Running ssh-add (command line suppressed) [2023-12-14T18:44:06.017Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_107168893566360492.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_107168893566360492.key) [2023-12-14T18:44:06.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-14T18:44:06.340Z] + git tag --points-at HEAD [Pipeline] } [2023-12-14T18:44:06.354Z] $ docker exec --env ******** --env ******** 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 ssh-agent -k [2023-12-14T18:44:06.451Z] unset SSH_AUTH_SOCK; [2023-12-14T18:44:06.451Z] unset SSH_AGENT_PID; [2023-12-14T18:44:06.451Z] echo Agent pid 38 killed; [2023-12-14T18:44:06.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-14T18:44:06.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-14T18:44:06.523Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-14T18:44:06.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-14T18:44:06.635Z] $ docker exec 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 ssh-agent [2023-12-14T18:44:06.750Z] SSH_AUTH_SOCK=/tmp/ssh-UapGjFlzrwgq/agent.70 [2023-12-14T18:44:06.750Z] SSH_AGENT_PID=76 [2023-12-14T18:44:06.755Z] Running ssh-add (command line suppressed) [2023-12-14T18:44:06.862Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_14630120670406125501.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_14630120670406125501.key) [2023-12-14T18:44:06.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-14T18:44:07.183Z] + git semver init [2023-12-14T18:44:07.441Z] 2023-12-14 18:44:07,365 [run_init] DEBUG init version:0.0.0 force:False [2023-12-14T18:44:07.441Z] 2023-12-14 18:44:07,366 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-12-14T18:44:07.441Z] 2023-12-14 18:44:07,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-12-14T18:44:07.441Z] 2023-12-14 18:44:07,367 [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) [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,778 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,778 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,784 [execute] INFO git cat-file --batch-check [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,791 [execute] INFO git cat-file --batch [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-12-14T18:44:08.820Z] 2023-12-14 18:44:08,796 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-12-14T18:44:08.820Z] 0.0.0 [Pipeline] } [2023-12-14T18:44:08.830Z] $ docker exec --env ******** --env ******** 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 ssh-agent -k [2023-12-14T18:44:08.922Z] unset SSH_AUTH_SOCK; [2023-12-14T18:44:08.923Z] unset SSH_AGENT_PID; [2023-12-14T18:44:08.924Z] echo Agent pid 76 killed; [2023-12-14T18:44:08.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-14T18:44:09.304Z] + git semver [Pipeline] } [2023-12-14T18:44:09.576Z] $ docker stop --time=1 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 [2023-12-14T18:44:10.889Z] $ docker rm -f --volumes 0b14b8f6757725425259b851da6a4dbc4125c63df39bd9fa69e76f9a5879c016 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-14T18:44:11.272Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-14T18:44:11.533Z] Stashed 1 file(s) [Pipeline] echo [2023-12-14T18:44:11.536Z] [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 [2023-12-14T18:44:11.940Z] provisioning config files... [2023-12-14T18:44:11.954Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config1133872632640901412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:44:12.275Z] ---> ****-login.sh [2023-12-14T18:44:12.275Z] nexus3.edgexfoundry.org:10001 [2023-12-14T18:44:12.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:44:12.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:44:12.275Z] Configure a credential helper to remove this warning. See [2023-12-14T18:44:12.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:44:12.275Z] [2023-12-14T18:44:12.275Z] Login Succeeded [2023-12-14T18:44:12.275Z] nexus3.edgexfoundry.org:10002 [2023-12-14T18:44:12.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:44:12.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:44:12.275Z] Configure a credential helper to remove this warning. See [2023-12-14T18:44:12.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:44:12.275Z] [2023-12-14T18:44:12.275Z] Login Succeeded [2023-12-14T18:44:12.275Z] nexus3.edgexfoundry.org:10003 [2023-12-14T18:44:12.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:44:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:44:12.535Z] Configure a credential helper to remove this warning. See [2023-12-14T18:44:12.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:44:12.535Z] [2023-12-14T18:44:12.535Z] Login Succeeded [2023-12-14T18:44:12.535Z] nexus3.edgexfoundry.org:10004 [2023-12-14T18:44:12.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:44:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:44:12.535Z] Configure a credential helper to remove this warning. See [2023-12-14T18:44:12.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:44:12.535Z] [2023-12-14T18:44:12.535Z] Login Succeeded [2023-12-14T18:44:12.535Z] ****.io [2023-12-14T18:44:12.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:44:12.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:44:12.795Z] Configure a credential helper to remove this warning. See [2023-12-14T18:44:12.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:44:12.795Z] [2023-12-14T18:44:12.795Z] Login Succeeded [2023-12-14T18:44:12.795Z] ---> ****-login.sh ends [Pipeline] } [2023-12-14T18:44:12.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-14T18:44:12.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T18:44:13.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T18:44:13.054Z] ========================================================= [2023-12-14T18:44:13.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-14T18:44:13.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:44:13.469Z] + 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 . [2023-12-14T18:44:13.469Z] Sending build context to Docker daemon 21.91MB [2023-12-14T18:44:13.469Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-12-14T18:44:13.469Z] Step 2/10 : FROM ${BASE} AS builder [2023-12-14T18:44:13.727Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-14T18:44:13.727Z] 7264a8db6415: Pulling fs layer [2023-12-14T18:44:13.727Z] c4d48a809fc2: Pulling fs layer [2023-12-14T18:44:13.727Z] 4f1c88b9dad5: Pulling fs layer [2023-12-14T18:44:13.727Z] ad3a456e5733: Pulling fs layer [2023-12-14T18:44:13.727Z] 69c7f0334f64: Pulling fs layer [2023-12-14T18:44:13.727Z] 1f1c1a5573a3: Pulling fs layer [2023-12-14T18:44:13.727Z] ce7588e14bc9: Pulling fs layer [2023-12-14T18:44:13.727Z] b5e4710f87ac: Pulling fs layer [2023-12-14T18:44:13.727Z] ce7588e14bc9: Waiting [2023-12-14T18:44:13.727Z] 1f1c1a5573a3: Waiting [2023-12-14T18:44:13.727Z] b5e4710f87ac: Waiting [2023-12-14T18:44:13.727Z] ad3a456e5733: Waiting [2023-12-14T18:44:13.727Z] 69c7f0334f64: Waiting [2023-12-14T18:44:13.727Z] c4d48a809fc2: Download complete [2023-12-14T18:44:13.727Z] ad3a456e5733: Verifying Checksum [2023-12-14T18:44:13.727Z] ad3a456e5733: Download complete [2023-12-14T18:44:13.727Z] 69c7f0334f64: Verifying Checksum [2023-12-14T18:44:13.727Z] 69c7f0334f64: Download complete [2023-12-14T18:44:13.727Z] 7264a8db6415: Download complete [2023-12-14T18:44:13.727Z] 1f1c1a5573a3: Verifying Checksum [2023-12-14T18:44:13.727Z] 1f1c1a5573a3: Download complete [2023-12-14T18:44:13.985Z] 7264a8db6415: Pull complete [2023-12-14T18:44:13.985Z] b5e4710f87ac: Verifying Checksum [2023-12-14T18:44:13.985Z] c4d48a809fc2: Pull complete [2023-12-14T18:44:14.243Z] 4f1c88b9dad5: Verifying Checksum [2023-12-14T18:44:14.243Z] 4f1c88b9dad5: Download complete [2023-12-14T18:44:14.501Z] ce7588e14bc9: Verifying Checksum [2023-12-14T18:44:14.501Z] ce7588e14bc9: Download complete [2023-12-14T18:44:17.783Z] 4f1c88b9dad5: Pull complete [2023-12-14T18:44:17.783Z] ad3a456e5733: Pull complete [2023-12-14T18:44:17.783Z] 69c7f0334f64: Pull complete [2023-12-14T18:44:17.783Z] 1f1c1a5573a3: Pull complete [2023-12-14T18:44:19.682Z] ce7588e14bc9: Pull complete [2023-12-14T18:44:20.249Z] b5e4710f87ac: Pull complete [2023-12-14T18:44:20.249Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-14T18:44:20.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-14T18:44:20.249Z] ---> 88b5674ff536 [2023-12-14T18:44:20.249Z] Step 3/10 : ARG MAKE=make build [2023-12-14T18:44:25.528Z] ---> Running in 985cf288d770 [2023-12-14T18:44:25.528Z] Removing intermediate container 985cf288d770 [2023-12-14T18:44:25.528Z] ---> 56cd5adf738c [2023-12-14T18:44:25.528Z] Step 4/10 : WORKDIR /device-sdk-go [2023-12-14T18:44:25.528Z] ---> Running in e73b7af81147 [2023-12-14T18:44:25.787Z] Removing intermediate container e73b7af81147 [2023-12-14T18:44:25.787Z] ---> b6c20b81de20 [2023-12-14T18:44:25.787Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-14T18:44:25.787Z] ---> Running in 4570d4a9ba8f [2023-12-14T18:44:25.787Z] Removing intermediate container 4570d4a9ba8f [2023-12-14T18:44:25.787Z] ---> e0123b139d97 [2023-12-14T18:44:25.787Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-12-14T18:44:25.787Z] ---> Running in a80207db8c96 [2023-12-14T18:44:26.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T18:44:26.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T18:44:26.564Z] OK: 264 MiB in 52 packages [2023-12-14T18:44:26.821Z] Still waiting to schedule task [2023-12-14T18:44:26.821Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-25061’ is offline [2023-12-14T18:44:26.824Z] Removing intermediate container a80207db8c96 [2023-12-14T18:44:26.824Z] ---> 97d51713b9ea [2023-12-14T18:44:26.824Z] Step 7/10 : COPY go.mod vendor* ./ [2023-12-14T18:44:27.082Z] ---> f23ed42e27c6 [2023-12-14T18:44:27.082Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T18:44:27.082Z] ---> Running in ea4b7dd66a85 [2023-12-14T18:45:05.813Z] Removing intermediate container ea4b7dd66a85 [2023-12-14T18:45:05.813Z] ---> 6a823cc9f143 [2023-12-14T18:45:05.813Z] Step 9/10 : COPY . . [2023-12-14T18:45:05.813Z] ---> 2e8804ef8fcb [2023-12-14T18:45:05.813Z] Step 10/10 : RUN ${MAKE} [2023-12-14T18:45:05.813Z] ---> Running in 45c8f8720356 [2023-12-14T18:45:05.813Z] noop [2023-12-14T18:45:05.813Z] Removing intermediate container 45c8f8720356 [2023-12-14T18:45:05.813Z] ---> 4278e3f80149 [2023-12-14T18:45:05.813Z] Successfully built 4278e3f80149 [2023-12-14T18:45:05.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:45:06.182Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-14T18:45:06.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:45:06.304Z] prd-ubuntu20.04-docker-8c-8g-25062 does not seem to be running inside a container [2023-12-14T18:45:06.337Z] $ 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 [2023-12-14T18:45:06.671Z] $ docker top 0dc82246e7c37c1a3d746f157fd9cb56d576a2a28a58ea3d942ebc3c2b0bd05d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T18:45:07.050Z] + go version [2023-12-14T18:45:07.050Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-14T18:45:07.062Z] $ docker stop --time=1 0dc82246e7c37c1a3d746f157fd9cb56d576a2a28a58ea3d942ebc3c2b0bd05d [2023-12-14T18:45:08.315Z] $ docker rm -f --volumes 0dc82246e7c37c1a3d746f157fd9cb56d576a2a28a58ea3d942ebc3c2b0bd05d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:45:08.920Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-14T18:45:08.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:45:09.035Z] prd-ubuntu20.04-docker-8c-8g-25062 does not seem to be running inside a container [2023-12-14T18:45:09.065Z] $ 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 [2023-12-14T18:45:09.391Z] $ docker top 997d8207eb3c275c8f2f1240d89174b4ddf7bdf208eb462d20298add22ab423b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T18:45:09.784Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2023-12-14T18:45:10.110Z] + make test [2023-12-14T18:45:10.110Z] go test -race -coverprofile=coverage.out ./... [2023-12-14T18:45:16.665Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-14T18:45:28.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-14T18:45:28.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-14T18:45:28.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-14T18:45:28.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-14T18:45:28.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-14T18:45:29.787Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-14T18:45:29.787Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-14T18:45:30.356Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.036s coverage: 27.6% of statements [2023-12-14T18:45:30.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-14T18:45:30.613Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.049s coverage: 81.5% of statements [2023-12-14T18:45:30.613Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-12-14T18:45:31.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-14T18:45:31.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-14T18:45:31.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.063s coverage: 71.8% of statements [2023-12-14T18:45:31.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-14T18:45:35.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.042s coverage: 14.4% of statements [2023-12-14T18:45:35.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.132s coverage: 45.9% of statements [2023-12-14T18:45:35.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.058s coverage: 68.5% of statements [2023-12-14T18:45:35.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements [2023-12-14T18:45:35.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-12-14T18:45:53.195Z] GO111MODULE=on go vet ./... [2023-12-14T18:45:56.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-14T18:45:56.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-14T18:45:56.731Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-14T18:45:56.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-14T18:45:56.781Z] $ docker stop --time=1 997d8207eb3c275c8f2f1240d89174b4ddf7bdf208eb462d20298add22ab423b [2023-12-14T18:46:01.087Z] $ docker rm -f --volumes 997d8207eb3c275c8f2f1240d89174b4ddf7bdf208eb462d20298add22ab423b [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-14T18:46:01.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-14T18:46:01.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-14T18:46:02.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-14T18:46:02.559Z] + ls -al . [2023-12-14T18:46:02.559Z] total 308 [2023-12-14T18:46:02.559Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 18:45 . [2023-12-14T18:46:02.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 18:43 .. [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 18:43 .dockerignore [2023-12-14T18:46:02.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 18:45 .git [2023-12-14T18:46:02.559Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 18:43 .github [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 14 18:43 .gitignore [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 18:43 .golangci.yml [2023-12-14T18:46:02.559Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 18:44 .semver [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 14 18:43 CHANGELOG.md [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 18:43 GOVERNANCE.md [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 14 18:43 Jenkinsfile [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 18:43 LICENSE [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 14 18:43 Makefile [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 18:43 OWNERS.md [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 14 18:43 README.md [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 18:44 VERSION [2023-12-14T18:46:02.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 18:43 bin [2023-12-14T18:46:02.559Z] -rw-r--r-- 1 jenkins jenkins 122153 Dec 14 18:45 coverage.out [2023-12-14T18:46:02.559Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 18:43 example [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 14 18:43 go.mod [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 34269 Dec 14 18:43 go.sum [2023-12-14T18:46:02.559Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 18:43 internal [2023-12-14T18:46:02.559Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 18:43 openapi [2023-12-14T18:46:02.559Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 18:43 pkg [2023-12-14T18:46:02.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 18:43 snap [2023-12-14T18:46:02.559Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:46:02.921Z] + 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=dd9d156fd463340a1e84e8e9984b6830b33a5aa1 --label arch=amd64 --label version=0.0.0 . [2023-12-14T18:46:02.921Z] Sending build context to Docker daemon 22.04MB [2023-12-14T18:46:02.921Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-12-14T18:46:02.921Z] Step 2/24 : FROM ${BASE} AS builder [2023-12-14T18:46:02.921Z] ---> 4278e3f80149 [2023-12-14T18:46:02.921Z] Step 3/24 : ARG MAKE=make build [2023-12-14T18:46:03.487Z] ---> Running in 01b1df209d5a [2023-12-14T18:46:03.487Z] Removing intermediate container 01b1df209d5a [2023-12-14T18:46:03.487Z] ---> c06af024b499 [2023-12-14T18:46:03.487Z] Step 4/24 : WORKDIR /device-sdk-go [2023-12-14T18:46:03.487Z] ---> Running in 14bfc89d7012 [2023-12-14T18:46:03.487Z] Removing intermediate container 14bfc89d7012 [2023-12-14T18:46:03.487Z] ---> a91cbd1e8e08 [2023-12-14T18:46:03.487Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-14T18:46:03.626Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25064 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2023-12-14T18:46:03.665Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-12-14T18:46:03.745Z] ---> Running in 31b3eb8fd9ef [2023-12-14T18:46:03.745Z] Removing intermediate container 31b3eb8fd9ef [2023-12-14T18:46:03.745Z] ---> d0ce80e3f7c0 [2023-12-14T18:46:03.745Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-12-14T18:46:03.745Z] ---> Running in 8b2eaa795943 [2023-12-14T18:46:04.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T18:46:04.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T18:46:04.522Z] OK: 264 MiB in 52 packages [2023-12-14T18:46:04.781Z] Removing intermediate container 8b2eaa795943 [2023-12-14T18:46:04.781Z] ---> 37eb6d1be8fb [2023-12-14T18:46:04.781Z] Step 7/24 : COPY go.mod vendor* ./ [2023-12-14T18:46:04.781Z] ---> 1f9a34a08a59 [2023-12-14T18:46:04.781Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T18:46:04.781Z] ---> Running in 8681baa835de [2023-12-14T18:46:05.715Z] Removing intermediate container 8681baa835de [2023-12-14T18:46:05.715Z] ---> 2f7d476f0033 [2023-12-14T18:46:05.715Z] Step 9/24 : COPY . . [2023-12-14T18:46:06.282Z] ---> ec6352c373ca [2023-12-14T18:46:06.282Z] Step 10/24 : RUN ${MAKE} [2023-12-14T18:46:06.540Z] ---> Running in 81dbae55ddb5 [2023-12-14T18:46:06.540Z] 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 [2023-12-14T18:46:06.736Z] The recommended git tool is: git [2023-12-14T18:46:13.496Z] using credential edgex-jenkins-ssh [2023-12-14T18:46:13.517Z] Cloning the remote Git repository [2023-12-14T18:46:13.569Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-12-14T18:46:13.669Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-12-14T18:46:13.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-14T18:46:13.849Z] > git --version # timeout=10 [2023-12-14T18:46:13.869Z] > git --version # 'git version 2.25.1' [2023-12-14T18:46:13.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-14T18:46:14.032Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-14T18:46:16.351Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-14T18:46:16.370Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-14T18:46:17.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-14T18:46:17.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-14T18:46:17.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-14T18:46:17.166Z] > 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 [2023-12-14T18:46:17.840Z] Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-12-14T18:46:18.160Z] Merge succeeded, producing 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe [2023-12-14T18:46:18.160Z] Checking out Revision 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe (PR-1540) [2023-12-14T18:46:17.855Z] > git config core.sparsecheckout # timeout=10 [2023-12-14T18:46:17.910Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-12-14T18:46:18.026Z] > git remote # timeout=10 [2023-12-14T18:46:18.045Z] > git config --get remote.origin.url # timeout=10 [2023-12-14T18:46:18.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-14T18:46:18.069Z] > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 [2023-12-14T18:46:18.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-14T18:46:18.166Z] > git config core.sparsecheckout # timeout=10 [2023-12-14T18:46:18.177Z] > git checkout -f 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe # timeout=10 [2023-12-14T18:46:21.645Z] Commit message: "Merge commit '4eb5e29dea1939910f88077e170bd5bcfca266de' into HEAD" [2023-12-14T18:46:21.666Z] First time build. Skipping changelog. [2023-12-14T18:46:21.652Z] > git rev-list --no-walk 8864da9c68b17d0de2eb03c145a50fcb91212c30 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-14T18:46:22.969Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-14T18:46:22.969Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-14T18:46:22.969Z] Dload Upload Total Spent Left Speed [2023-12-14T18:46:22.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 85689 0 --:--:-- --:--:-- --:--:-- 86272 [Pipeline] sh [2023-12-14T18:46:23.367Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-14T18:46:23.685Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-12-14T18:46:23.685Z] [2023-12-14T18:46:23.685Z] { [2023-12-14T18:46:23.685Z] "registry-mirrors": [ [2023-12-14T18:46:23.685Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-14T18:46:23.685Z] ], [2023-12-14T18:46:23.685Z] "bip": "10.250.0.254/24", [2023-12-14T18:46:23.685Z] "hosts": [ [2023-12-14T18:46:23.685Z] "tcp://0.0.0.0:5555", [2023-12-14T18:46:23.685Z] "unix:///var/run/docker.sock" [2023-12-14T18:46:23.685Z] ], [2023-12-14T18:46:23.685Z] "mtu": 1458, [2023-12-14T18:46:23.685Z] "selinux-enabled": true, [2023-12-14T18:46:23.685Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-14T18:46:23.685Z] } [Pipeline] sh [2023-12-14T18:46:24.001Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-14T18:46:24.322Z] + sudo service docker restart [2023-12-14T18:46:28.809Z] Removing intermediate container 81dbae55ddb5 [2023-12-14T18:46:28.809Z] ---> 2a4698b11f75 [2023-12-14T18:46:28.809Z] Step 11/24 : FROM alpine:3.18 [2023-12-14T18:46:28.809Z] 3.18: Pulling from library/alpine [2023-12-14T18:46:28.809Z] c926b61bad3b: Pulling fs layer [2023-12-14T18:46:28.809Z] c926b61bad3b: Verifying Checksum [2023-12-14T18:46:28.809Z] c926b61bad3b: Download complete [2023-12-14T18:46:28.809Z] c926b61bad3b: Pull complete [2023-12-14T18:46:28.809Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T18:46:28.809Z] Status: Downloaded newer image for alpine:3.18 [2023-12-14T18:46:28.809Z] ---> b541f2080109 [2023-12-14T18:46:28.809Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-12-14T18:46:28.809Z] ---> Running in ec1f1abfa87d [2023-12-14T18:46:28.809Z] Removing intermediate container ec1f1abfa87d [2023-12-14T18:46:28.809Z] ---> 6de8468a924c [2023-12-14T18:46:28.809Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-12-14T18:46:28.809Z] ---> Running in ef26cbee6f89 [2023-12-14T18:46:28.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T18:46:28.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T18:46:28.809Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-14T18:46:28.809Z] Executing busybox-1.36.1-r5.trigger [2023-12-14T18:46:28.809Z] OK: 7 MiB in 16 packages [2023-12-14T18:46:28.809Z] Removing intermediate container ef26cbee6f89 [2023-12-14T18:46:28.809Z] ---> ad8bab6e5a37 [2023-12-14T18:46:28.809Z] Step 14/24 : RUN apk --no-cache upgrade [2023-12-14T18:46:28.809Z] ---> Running in b4a7b5a5e298 [2023-12-14T18:46:28.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T18:46:28.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T18:46:28.809Z] OK: 7 MiB in 16 packages [2023-12-14T18:46:28.809Z] Removing intermediate container b4a7b5a5e298 [2023-12-14T18:46:28.809Z] ---> 1243bbdc636e [2023-12-14T18:46:28.809Z] Step 15/24 : WORKDIR / [2023-12-14T18:46:28.809Z] ---> Running in f5187346ee5f [2023-12-14T18:46:28.809Z] Removing intermediate container f5187346ee5f [2023-12-14T18:46:28.809Z] ---> ad61dd84b24b [2023-12-14T18:46:28.809Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-14T18:46:28.809Z] ---> 229ae9805d15 [2023-12-14T18:46:28.809Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-14T18:46:29.885Z] ---> 78aa573f3862 [2023-12-14T18:46:29.885Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-14T18:46:29.885Z] ---> 58a6412a8f63 [2023-12-14T18:46:29.885Z] Step 19/24 : EXPOSE 59999 [2023-12-14T18:46:29.885Z] ---> Running in 42a07996c400 [2023-12-14T18:46:29.885Z] Removing intermediate container 42a07996c400 [2023-12-14T18:46:29.885Z] ---> f9d492d4ebc7 [2023-12-14T18:46:29.885Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-12-14T18:46:29.885Z] ---> Running in a1f10c964e39 [2023-12-14T18:46:30.143Z] Removing intermediate container a1f10c964e39 [2023-12-14T18:46:30.143Z] ---> b0a40a8c2b15 [2023-12-14T18:46:30.143Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-12-14T18:46:30.143Z] ---> Running in 17cd14ca76b0 [2023-12-14T18:46:30.143Z] Removing intermediate container 17cd14ca76b0 [2023-12-14T18:46:30.143Z] ---> d00fb1fd92f2 [2023-12-14T18:46:30.143Z] Step 22/24 : LABEL arch=amd64 [2023-12-14T18:46:30.143Z] ---> Running in 4406f32d5754 [2023-12-14T18:46:30.143Z] Removing intermediate container 4406f32d5754 [2023-12-14T18:46:30.143Z] ---> 8698f1dd31fe [2023-12-14T18:46:30.143Z] Step 23/24 : LABEL git_sha=dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [2023-12-14T18:46:30.143Z] ---> Running in da94a00dc627 [2023-12-14T18:46:30.401Z] Removing intermediate container da94a00dc627 [2023-12-14T18:46:30.401Z] ---> 712aedb7f341 [2023-12-14T18:46:30.401Z] Step 24/24 : LABEL version=0.0.0 [2023-12-14T18:46:30.401Z] ---> Running in 7cad8b2fee58 [2023-12-14T18:46:30.401Z] Removing intermediate container 7cad8b2fee58 [2023-12-14T18:46:30.401Z] ---> 150b403dc552 [2023-12-14T18:46:30.401Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-14T18:46:30.401Z] Successfully built 150b403dc552 [2023-12-14T18:46:30.401Z] 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 [2023-12-14T18:46:31.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T18:46:31.153Z] [2023-12-14T18:46:31.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:46:31.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T18:46:31.477Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-14T18:46:31.477Z] 5eb5b503b376: Pulling fs layer [2023-12-14T18:46:31.477Z] 5c69ac0246d0: Pulling fs layer [2023-12-14T18:46:31.477Z] ec43610c2a17: Pulling fs layer [2023-12-14T18:46:31.477Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-14T18:46:31.477Z] 33b1e0a273af: Pulling fs layer [2023-12-14T18:46:31.477Z] 5d3b04190fa2: Pulling fs layer [2023-12-14T18:46:31.477Z] 2f39f015ded8: Pulling fs layer [2023-12-14T18:46:31.477Z] 3a2ae6a8a46f: Waiting [2023-12-14T18:46:31.477Z] 33b1e0a273af: Waiting [2023-12-14T18:46:31.477Z] 5d3b04190fa2: Waiting [2023-12-14T18:46:31.477Z] 2f39f015ded8: Waiting [2023-12-14T18:46:31.477Z] 5c69ac0246d0: Download complete [2023-12-14T18:46:31.477Z] 3a2ae6a8a46f: Download complete [2023-12-14T18:46:31.477Z] 33b1e0a273af: Verifying Checksum [2023-12-14T18:46:31.477Z] 33b1e0a273af: Download complete [2023-12-14T18:46:31.477Z] 5d3b04190fa2: Download complete [2023-12-14T18:46:31.477Z] ec43610c2a17: Verifying Checksum [2023-12-14T18:46:31.477Z] ec43610c2a17: Download complete [2023-12-14T18:46:31.735Z] 5eb5b503b376: Verifying Checksum [2023-12-14T18:46:31.735Z] 5eb5b503b376: Download complete [2023-12-14T18:46:32.301Z] 2f39f015ded8: Download complete [2023-12-14T18:46:32.865Z] 5eb5b503b376: Pull complete [2023-12-14T18:46:33.123Z] 5c69ac0246d0: Pull complete [2023-12-14T18:46:33.688Z] ec43610c2a17: Pull complete [2023-12-14T18:46:33.688Z] 3a2ae6a8a46f: Pull complete [2023-12-14T18:46:33.945Z] 33b1e0a273af: Pull complete [2023-12-14T18:46:33.945Z] 5d3b04190fa2: Pull complete [2023-12-14T18:46:38.126Z] 2f39f015ded8: Pull complete [2023-12-14T18:46:38.126Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-14T18:46:38.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T18:46:38.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:46:38.325Z] prd-ubuntu20.04-docker-8c-8g-25062 does not seem to be running inside a container [2023-12-14T18:46:38.353Z] $ 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 [2023-12-14T18:46:43.274Z] $ docker top 33e682143b8c0bd0771dfb2b45fa93fa10377f25f70fa846f231750670b907f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-12-14T18:46:43.529Z] provisioning config files... [2023-12-14T18:46:43.551Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config7567005587728262495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:46:43.797Z] ---> job-cost.sh [2023-12-14T18:46:43.798Z] lf-activate-venv: SKIPPING [2023-12-14T18:46:43.798Z] INFO: No Stack... [2023-12-14T18:46:43.980Z] ---> ****-login.sh [2023-12-14T18:46:43.980Z] nexus3.edgexfoundry.org:10001 [2023-12-14T18:46:44.071Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-14T18:46:44.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:46:44.359Z] INFO: Archiving Costs [Pipeline] sh [2023-12-14T18:46:44.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:46:44.511Z] Configure a credential helper to remove this warning. See [2023-12-14T18:46:44.511Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:46:44.511Z] [2023-12-14T18:46:44.511Z] Login Succeeded [2023-12-14T18:46:44.511Z] nexus3.edgexfoundry.org:10002 [2023-12-14T18:46:44.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:46:44.656Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2023-12-14T18:46:44.656Z] + cut -d, -f6 [Pipeline] lock [2023-12-14T18:46:44.670Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] [2023-12-14T18:46:44.676Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] did not exist. Created. [2023-12-14T18:46:44.676Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-14T18:46:44.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:46:44.777Z] Configure a credential helper to remove this warning. See [2023-12-14T18:46:44.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:46:44.777Z] [2023-12-14T18:46:44.777Z] Login Succeeded [2023-12-14T18:46:44.777Z] nexus3.edgexfoundry.org:10003 [2023-12-14T18:46:44.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:46:45.038Z] + echo total: 0.2199999988079071 [2023-12-14T18:46:45.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:46:45.045Z] Configure a credential helper to remove this warning. See [2023-12-14T18:46:45.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:46:45.045Z] [2023-12-14T18:46:45.045Z] Login Succeeded [2023-12-14T18:46:45.045Z] nexus3.edgexfoundry.org:10004 [2023-12-14T18:46:45.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] stash [2023-12-14T18:46:45.105Z] Stashed 1 file(s) [Pipeline] } [2023-12-14T18:46:45.115Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-14T18:46:45.231Z] $ docker stop --time=1 33e682143b8c0bd0771dfb2b45fa93fa10377f25f70fa846f231750670b907f7 [2023-12-14T18:46:45.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:46:45.312Z] Configure a credential helper to remove this warning. See [2023-12-14T18:46:45.312Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:46:45.312Z] [2023-12-14T18:46:45.312Z] Login Succeeded [2023-12-14T18:46:45.312Z] ****.io [2023-12-14T18:46:45.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T18:46:45.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T18:46:45.579Z] Configure a credential helper to remove this warning. See [2023-12-14T18:46:45.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T18:46:45.579Z] [2023-12-14T18:46:45.579Z] Login Succeeded [2023-12-14T18:46:45.579Z] ---> ****-login.sh ends [2023-12-14T18:46:46.386Z] $ docker rm -f --volumes 33e682143b8c0bd0771dfb2b45fa93fa10377f25f70fa846f231750670b907f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-12-14T18:46:46.464Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-12-14T18:46:46.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T18:46:46.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T18:46:46.977Z] ========================================================= [2023-12-14T18:46:46.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-14T18:46:46.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:46:47.443Z] + 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 . [2023-12-14T18:46:51.691Z] #0 building with "default" instance using docker driver [2023-12-14T18:46:51.691Z] [2023-12-14T18:46:51.691Z] #1 [internal] load build definition from Dockerfile [2023-12-14T18:46:51.691Z] #1 transferring dockerfile: [2023-12-14T18:46:51.691Z] #1 transferring dockerfile: 1.66kB 0.0s done [2023-12-14T18:46:51.691Z] #1 DONE 0.1s [2023-12-14T18:46:51.691Z] [2023-12-14T18:46:51.691Z] #2 [internal] load .dockerignore [2023-12-14T18:46:51.691Z] #2 transferring context: 182B 0.0s done [2023-12-14T18:46:51.691Z] #2 DONE 0.1s [2023-12-14T18:46:51.691Z] [2023-12-14T18:46:51.691Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-14T18:46:51.959Z] #3 DONE 0.1s [2023-12-14T18:46:51.959Z] [2023-12-14T18:46:51.959Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-14T18:46:51.959Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-14T18:46:51.959Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s [2023-12-14T18:46:51.959Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-14T18:46:51.959Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-14T18:46:51.959Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.1s [2023-12-14T18:46:51.959Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-14T18:46:51.959Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-14T18:46:51.959Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-14T18:46:51.959Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-14T18:46:52.230Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s [2023-12-14T18:46:52.230Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-14T18:46:52.230Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s [2023-12-14T18:46:52.230Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-14T18:46:52.230Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s [2023-12-14T18:46:52.230Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.4s [2023-12-14T18:46:52.230Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.13MB / 11.40MB 0.4s [2023-12-14T18:46:52.503Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.70MB / 63.99MB 0.5s [2023-12-14T18:46:52.503Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s [2023-12-14T18:46:52.503Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s [2023-12-14T18:46:52.503Z] #4 ... [2023-12-14T18:46:52.503Z] [2023-12-14T18:46:52.503Z] #5 [internal] load build context [2023-12-14T18:46:52.503Z] #5 transferring context: 11.14MB 0.5s done [2023-12-14T18:46:52.503Z] #5 DONE 0.6s [2023-12-14T18:46:52.503Z] [2023-12-14T18:46:52.503Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-14T18:46:52.503Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s [2023-12-14T18:46:52.503Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-14T18:46:52.503Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s [2023-12-14T18:46:52.503Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.41MB / 63.99MB 0.8s [2023-12-14T18:46:52.503Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.8s [2023-12-14T18:46:52.503Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done [2023-12-14T18:46:52.769Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-14T18:46:52.769Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s [2023-12-14T18:46:52.769Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.0s [2023-12-14T18:46:53.035Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.1s [2023-12-14T18:46:53.035Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.95MB / 97.63MB 1.1s [2023-12-14T18:46:53.035Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-14T18:46:53.035Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.12MB / 63.99MB 1.2s [2023-12-14T18:46:53.303Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s [2023-12-14T18:46:53.303Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.69MB / 97.63MB 1.4s [2023-12-14T18:46:53.303Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done [2023-12-14T18:46:53.303Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.5s [2023-12-14T18:46:53.569Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 1.6s [2023-12-14T18:46:53.569Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s [2023-12-14T18:46:53.569Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.24MB / 97.63MB 1.8s [2023-12-14T18:46:53.835Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.83MB / 97.63MB 1.9s [2023-12-14T18:46:53.835Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 2.0s [2023-12-14T18:46:54.101Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s [2023-12-14T18:46:54.368Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done [2023-12-14T18:46:59.706Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.4s [2023-12-14T18:47:03.966Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s [2023-12-14T18:47:10.631Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.5s done [2023-12-14T18:47:11.586Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-14T18:47:11.586Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 [2023-12-14T18:47:11.586Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-14T18:47:11.586Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-14T18:47:16.922Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-14T18:47:19.498Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done [2023-12-14T18:47:20.454Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2023-12-14T18:47:21.859Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done [2023-12-14T18:47:22.124Z] #4 DONE 30.4s [2023-12-14T18:47:22.124Z] [2023-12-14T18:47:22.124Z] #6 [builder 2/7] WORKDIR /device-sdk-go [2023-12-14T18:47:24.062Z] #6 DONE 1.5s [2023-12-14T18:47:24.062Z] [2023-12-14T18:47:24.062Z] #7 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-14T18:47:24.328Z] #7 0.672 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T18:47:24.905Z] #7 1.051 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T18:47:25.865Z] #7 2.001 OK: 266 MiB in 52 packages [2023-12-14T18:47:25.865Z] #7 DONE 2.2s [2023-12-14T18:47:26.136Z] [2023-12-14T18:47:26.136Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-14T18:47:26.136Z] #8 DONE 0.1s [2023-12-14T18:47:26.136Z] [2023-12-14T18:47:26.136Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T18:47:48.185Z] #9 DONE 20.9s [2023-12-14T18:47:48.185Z] [2023-12-14T18:47:48.185Z] #10 [builder 6/7] COPY . . [2023-12-14T18:47:48.185Z] #10 DONE 0.4s [2023-12-14T18:47:48.185Z] [2023-12-14T18:47:48.185Z] #11 [builder 7/7] RUN echo noop [2023-12-14T18:47:48.185Z] #11 0.598 noop [2023-12-14T18:47:50.182Z] #11 DONE 2.8s [2023-12-14T18:47:50.182Z] [2023-12-14T18:47:50.182Z] #12 exporting to image [2023-12-14T18:47:50.182Z] #12 exporting layers [2023-12-14T18:48:12.264Z] #12 exporting layers 22.0s done [2023-12-14T18:48:12.264Z] #12 writing image sha256:97b75de0e331f16a5958000ea772e002f6b12fa912aad5282d9909538e98625c done [2023-12-14T18:48:12.264Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-14T18:48:12.264Z] #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:48:12.698Z] + docker inspect -f . ci-base-image-arm64 [2023-12-14T18:48:12.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:48:12.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-25064 does not seem to be running inside a container [2023-12-14T18:48:12.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 [2023-12-14T18:48:14.107Z] $ docker top 8b75a816d86592e1c3c8230c89186440d5323ec8225886726b3442770a009196 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T18:48:14.632Z] + go version [2023-12-14T18:48:14.897Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-14T18:48:14.915Z] $ docker stop --time=1 8b75a816d86592e1c3c8230c89186440d5323ec8225886726b3442770a009196 [2023-12-14T18:48:18.332Z] $ docker rm -f --volumes 8b75a816d86592e1c3c8230c89186440d5323ec8225886726b3442770a009196 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:48:19.104Z] + docker inspect -f . ci-base-image-arm64 [2023-12-14T18:48:19.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:48:19.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-25064 does not seem to be running inside a container [2023-12-14T18:48:19.358Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 [2023-12-14T18:48:20.194Z] $ docker top 806e4e3573723cb190cfbdf0de0344a9f5c54fa2ac778f18d24ab6f0c798d6b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T18:48:20.704Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-12-14T18:48:21.058Z] + make test [2023-12-14T18:48:21.058Z] go test -race -coverprofile=coverage.out ./... [2023-12-14T18:48:53.262Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-14T18:49:49.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-14T18:49:49.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-14T18:49:49.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-14T18:49:49.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-14T18:49:49.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-14T18:49:53.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-14T18:49:53.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-14T18:49:53.869Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.192s coverage: 27.6% of statements [2023-12-14T18:49:54.452Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.277s coverage: 81.5% of statements [2023-12-14T18:49:54.452Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.347s coverage: 86.0% of statements [2023-12-14T18:49:57.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-14T18:49:58.745Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.421s coverage: 71.8% of statements [2023-12-14T18:49:59.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-14T18:49:59.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-14T18:50:01.895Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-14T18:50:01.895Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.288s coverage: 14.4% of statements [2023-12-14T18:50:01.895Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.798s coverage: 45.6% of statements [2023-12-14T18:50:01.895Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.370s coverage: 68.5% of statements [2023-12-14T18:50:01.895Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.437s coverage: 89.2% of statements [2023-12-14T18:50:02.849Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.212s coverage: 5.5% of statements [2023-12-14T18:50:03.428Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-14T18:50:03.428Z] GO111MODULE=on go vet ./... [2023-12-14T18:51:11.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-14T18:51:11.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-14T18:51:11.269Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-14T18:51:11.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-14T18:51:11.338Z] $ docker stop --time=1 806e4e3573723cb190cfbdf0de0344a9f5c54fa2ac778f18d24ab6f0c798d6b9 [2023-12-14T18:51:13.547Z] $ docker rm -f --volumes 806e4e3573723cb190cfbdf0de0344a9f5c54fa2ac778f18d24ab6f0c798d6b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-14T18:51:15.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-14T18:51:15.172Z] Warning: overwriting stash ‘coverage-report’ [2023-12-14T18:51:15.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-14T18:51:16.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-14T18:51:16.561Z] + ls -al . [2023-12-14T18:51:16.561Z] total 304 [2023-12-14T18:51:16.561Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 18:48 . [2023-12-14T18:51:16.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 18:46 .. [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 18:46 .dockerignore [2023-12-14T18:51:16.561Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 18:46 .git [2023-12-14T18:51:16.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 18:46 .github [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 14 18:46 .gitignore [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 18:46 .golangci.yml [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 14 18:46 CHANGELOG.md [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 18:46 GOVERNANCE.md [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 14 18:46 Jenkinsfile [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 18:46 LICENSE [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 14 18:46 Makefile [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 18:46 OWNERS.md [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 14 18:46 README.md [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 18:44 VERSION [2023-12-14T18:51:16.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 18:46 bin [2023-12-14T18:51:16.561Z] -rw-r--r-- 1 jenkins jenkins 122153 Dec 14 18:50 coverage.out [2023-12-14T18:51:16.561Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 18:46 example [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 14 18:46 go.mod [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 34269 Dec 14 18:46 go.sum [2023-12-14T18:51:16.561Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 18:46 internal [2023-12-14T18:51:16.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 18:46 openapi [2023-12-14T18:51:16.561Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 18:46 pkg [2023-12-14T18:51:16.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 18:46 snap [2023-12-14T18:51:16.561Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:51:17.078Z] + 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=96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe --label arch=arm64 --label version=0.0.0 . [2023-12-14T18:51:17.666Z] #0 building with "default" instance using docker driver [2023-12-14T18:51:17.666Z] [2023-12-14T18:51:17.666Z] #1 [internal] load build definition from Dockerfile [2023-12-14T18:51:17.666Z] #1 transferring dockerfile: 1.66kB done [2023-12-14T18:51:17.934Z] #1 DONE 0.0s [2023-12-14T18:51:17.934Z] [2023-12-14T18:51:17.934Z] #2 [internal] load .dockerignore [2023-12-14T18:51:17.934Z] #2 transferring context: 182B 0.0s done [2023-12-14T18:51:17.934Z] #2 DONE 0.0s [2023-12-14T18:51:17.934Z] [2023-12-14T18:51:17.934Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-14T18:51:17.934Z] #3 DONE 0.0s [2023-12-14T18:51:17.934Z] [2023-12-14T18:51:17.934Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-14T18:51:17.934Z] #4 DONE 0.2s [2023-12-14T18:51:17.934Z] [2023-12-14T18:51:17.934Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T18:51:17.934Z] #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-14T18:51:18.202Z] #5 ... [2023-12-14T18:51:18.202Z] [2023-12-14T18:51:18.202Z] #6 [internal] load build context [2023-12-14T18:51:18.202Z] #6 transferring context: 137.20kB 0.1s done [2023-12-14T18:51:18.202Z] #6 DONE 0.1s [2023-12-14T18:51:18.202Z] [2023-12-14T18:51:18.202Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T18:51:18.202Z] #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-14T18:51:18.202Z] #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-14T18:51:18.202Z] #5 ... [2023-12-14T18:51:18.202Z] [2023-12-14T18:51:18.202Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-14T18:51:18.202Z] #7 DONE 0.2s [2023-12-14T18:51:18.202Z] [2023-12-14T18:51:18.202Z] #8 [builder 2/7] WORKDIR /device-sdk-go [2023-12-14T18:51:18.202Z] #8 DONE 0.1s [2023-12-14T18:51:18.202Z] [2023-12-14T18:51:18.202Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T18:51:18.202Z] #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-14T18:51:18.202Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-14T18:51:18.202Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-14T18:51:18.786Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-14T18:51:19.054Z] #5 DONE 0.9s [2023-12-14T18:51:19.054Z] [2023-12-14T18:51:19.054Z] #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2023-12-14T18:51:19.634Z] #9 0.615 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T18:51:19.901Z] #9 0.944 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T18:51:20.863Z] #9 ... [2023-12-14T18:51:20.863Z] [2023-12-14T18:51:20.863Z] #10 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-14T18:51:20.863Z] #10 0.738 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T18:51:20.863Z] #10 1.156 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T18:51:20.863Z] #10 2.244 OK: 266 MiB in 52 packages [2023-12-14T18:51:20.863Z] #10 DONE 2.5s [2023-12-14T18:51:20.863Z] [2023-12-14T18:51:20.863Z] #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2023-12-14T18:51:20.863Z] #9 1.924 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-14T18:51:20.863Z] #9 1.936 Executing busybox-1.36.1-r5.trigger [2023-12-14T18:51:20.863Z] #9 1.975 OK: 8 MiB in 16 packages [2023-12-14T18:51:20.863Z] #9 ... [2023-12-14T18:51:20.863Z] [2023-12-14T18:51:20.863Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-14T18:51:20.863Z] #11 DONE 0.2s [2023-12-14T18:51:21.129Z] [2023-12-14T18:51:21.129Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T18:51:21.396Z] #12 ... [2023-12-14T18:51:21.396Z] [2023-12-14T18:51:21.396Z] #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2023-12-14T18:51:21.396Z] #9 DONE 2.3s [2023-12-14T18:51:21.396Z] [2023-12-14T18:51:21.396Z] #13 [stage-1 3/7] RUN apk --no-cache upgrade [2023-12-14T18:51:21.980Z] #13 0.701 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T18:51:22.247Z] #13 ... [2023-12-14T18:51:22.247Z] [2023-12-14T18:51:22.247Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T18:51:22.247Z] #12 DONE 1.3s [2023-12-14T18:51:22.247Z] [2023-12-14T18:51:22.247Z] #13 [stage-1 3/7] RUN apk --no-cache upgrade [2023-12-14T18:51:22.247Z] #13 1.040 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T18:51:22.832Z] #13 ... [2023-12-14T18:51:22.832Z] [2023-12-14T18:51:22.832Z] #14 [builder 6/7] COPY . . [2023-12-14T18:51:22.832Z] #14 DONE 0.5s [2023-12-14T18:51:23.101Z] [2023-12-14T18:51:23.101Z] #15 [builder 7/7] RUN make build [2023-12-14T18:51:23.686Z] #15 0.646 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 [2023-12-14T18:51:23.686Z] #15 ... [2023-12-14T18:51:23.686Z] [2023-12-14T18:51:23.686Z] #13 [stage-1 3/7] RUN apk --no-cache upgrade [2023-12-14T18:51:23.686Z] #13 2.143 OK: 8 MiB in 16 packages [2023-12-14T18:51:23.686Z] #13 DONE 2.4s [2023-12-14T18:51:23.686Z] [2023-12-14T18:51:23.686Z] #15 [builder 7/7] RUN make build [2023-12-14T18:52:31.504Z] #15 DONE 62.3s [2023-12-14T18:52:31.504Z] [2023-12-14T18:52:31.504Z] #16 [stage-1 4/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-14T18:52:31.504Z] #16 DONE 0.1s [2023-12-14T18:52:31.504Z] [2023-12-14T18:52:31.504Z] #17 [stage-1 5/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-14T18:52:31.504Z] #17 DONE 0.3s [2023-12-14T18:52:31.504Z] [2023-12-14T18:52:31.504Z] #18 [stage-1 6/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-14T18:52:31.504Z] #18 DONE 0.1s [2023-12-14T18:52:31.504Z] [2023-12-14T18:52:31.504Z] #19 exporting to image [2023-12-14T18:52:31.504Z] #19 exporting layers [2023-12-14T18:52:31.504Z] #19 exporting layers 0.4s done [2023-12-14T18:52:31.504Z] #19 writing image sha256:e083839f99939b8c9e7c1c360982fbc11ad71dac68dd2d2d894d7207a817aa18 done [2023-12-14T18:52:31.504Z] #19 naming to docker.io/library/device-sdk-simple-arm64 done [2023-12-14T18:52:31.504Z] #19 DONE 0.4s [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 [2023-12-14T18:52:32.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-14T18:52:32.284Z] [2023-12-14T18:52:32.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:52:32.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-14T18:52:32.904Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-14T18:52:32.904Z] 8998bd30e6a1: Pulling fs layer [2023-12-14T18:52:32.904Z] 04944245beec: Pulling fs layer [2023-12-14T18:52:32.904Z] 699f458cf7ca: Pulling fs layer [2023-12-14T18:52:32.904Z] 765212b225bb: Pulling fs layer [2023-12-14T18:52:32.904Z] f23df028b6ca: Pulling fs layer [2023-12-14T18:52:32.904Z] d65c8cfc05b1: Pulling fs layer [2023-12-14T18:52:32.904Z] 2437ff75d9bd: Pulling fs layer [2023-12-14T18:52:32.904Z] 765212b225bb: Waiting [2023-12-14T18:52:32.904Z] f23df028b6ca: Waiting [2023-12-14T18:52:32.904Z] d65c8cfc05b1: Waiting [2023-12-14T18:52:32.904Z] 2437ff75d9bd: Waiting [2023-12-14T18:52:32.904Z] 04944245beec: Verifying Checksum [2023-12-14T18:52:32.905Z] 04944245beec: Download complete [2023-12-14T18:52:32.905Z] 765212b225bb: Verifying Checksum [2023-12-14T18:52:32.905Z] 765212b225bb: Download complete [2023-12-14T18:52:32.905Z] f23df028b6ca: Verifying Checksum [2023-12-14T18:52:32.905Z] f23df028b6ca: Download complete [2023-12-14T18:52:33.170Z] d65c8cfc05b1: Verifying Checksum [2023-12-14T18:52:33.170Z] d65c8cfc05b1: Download complete [2023-12-14T18:52:33.170Z] 699f458cf7ca: Verifying Checksum [2023-12-14T18:52:33.170Z] 699f458cf7ca: Download complete [2023-12-14T18:52:33.435Z] 8998bd30e6a1: Verifying Checksum [2023-12-14T18:52:33.435Z] 8998bd30e6a1: Download complete [2023-12-14T18:52:35.370Z] 2437ff75d9bd: Download complete [2023-12-14T18:52:39.763Z] 8998bd30e6a1: Pull complete [2023-12-14T18:52:39.763Z] 04944245beec: Pull complete [2023-12-14T18:52:41.703Z] 699f458cf7ca: Pull complete [2023-12-14T18:52:41.703Z] 765212b225bb: Pull complete [2023-12-14T18:52:42.280Z] f23df028b6ca: Pull complete [2023-12-14T18:52:42.280Z] d65c8cfc05b1: Pull complete [2023-12-14T18:53:04.307Z] 2437ff75d9bd: Pull complete [2023-12-14T18:53:04.307Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-14T18:53:04.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-14T18:53:04.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:53:04.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-25064 does not seem to be running inside a container [2023-12-14T18:53:04.656Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 [2023-12-14T18:53:09.846Z] $ docker top 74115b2c7ca2568410ad80470bdfa22dec579a816d9bc0f59a1403891e56934c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:10.370Z] ---> job-cost.sh [2023-12-14T18:53:10.635Z] lf-activate-venv: SKIPPING [2023-12-14T18:53:10.635Z] INFO: No Stack... [2023-12-14T18:53:10.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-14T18:53:11.850Z] INFO: Archiving Costs [Pipeline] sh [2023-12-14T18:53:12.161Z] + + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2023-12-14T18:53:12.161Z] cut -d, -f6 [Pipeline] lock [2023-12-14T18:53:12.209Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] [2023-12-14T18:53:12.220Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] did not exist. Created. [2023-12-14T18:53:12.220Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-14T18:53:12.615Z] /w/workspace/device-sdk-go/6@tmp/durable-b419612e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-14T18:53:12.931Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-14T18:53:12.945Z] Warning: overwriting stash ‘stack-cost’ [2023-12-14T18:53:13.017Z] Stashed 1 file(s) [Pipeline] } [2023-12-14T18:53:13.023Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-14T18:53:13.119Z] $ docker stop --time=1 74115b2c7ca2568410ad80470bdfa22dec579a816d9bc0f59a1403891e56934c [2023-12-14T18:53:14.468Z] $ docker rm -f --volumes 74115b2c7ca2568410ad80470bdfa22dec579a816d9bc0f59a1403891e56934c [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 [2023-12-14T18:53:15.544Z] provisioning config files... [2023-12-14T18:53:15.553Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config6278005859980583923tmp [Pipeline] { [Pipeline] sh [2023-12-14T18:53:15.904Z] + set +x [2023-12-14T18:53:15.904Z] + bash -s -- [2023-12-14T18:53:15.904Z] + curl -s https://codecov.io/bash [2023-12-14T18:53:15.904Z] [2023-12-14T18:53:15.904Z] _____ _ [2023-12-14T18:53:15.904Z] / ____| | | [2023-12-14T18:53:15.904Z] | | ___ __| | ___ ___ _____ __ [2023-12-14T18:53:15.904Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-14T18:53:15.904Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-14T18:53:15.904Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-14T18:53:15.904Z] Bash-1.0.6 [2023-12-14T18:53:15.904Z] [2023-12-14T18:53:15.904Z] [2023-12-14T18:53:15.904Z] ==> git version 2.25.1 found [2023-12-14T18:53:15.904Z] ==> 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 [2023-12-14T18:53:15.904Z] Release-Date: 2020-01-08 [2023-12-14T18:53:15.904Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-14T18:53:15.904Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-14T18:53:15.904Z] ==> Jenkins CI detected. [2023-12-14T18:53:15.904Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-12-14T18:53:15.904Z] project root: . [2023-12-14T18:53:15.904Z] --> token set from env [2023-12-14T18:53:15.904Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-14T18:53:15.904Z] ==> Running gcov in . (disable via -X gcov) [2023-12-14T18:53:15.904Z] ==> Python coveragepy not found [2023-12-14T18:53:15.904Z] ==> Searching for coverage reports in: [2023-12-14T18:53:15.904Z] + . [2023-12-14T18:53:15.904Z] -> Found 1 reports [2023-12-14T18:53:15.904Z] ==> Detecting git/mercurial file structure [2023-12-14T18:53:15.904Z] ==> Reading reports [2023-12-14T18:53:16.164Z] + ./coverage.out bytes=122153 [2023-12-14T18:53:16.164Z] ==> Appending adjustments [2023-12-14T18:53:16.164Z] https://docs.codecov.io/docs/fixing-reports [2023-12-14T18:53:16.423Z] + Found adjustments [2023-12-14T18:53:16.423Z] ==> Gzipping contents [2023-12-14T18:53:16.423Z] 20K /tmp/codecov.Qdi04W.gz [2023-12-14T18:53:16.423Z] ==> Uploading reports [2023-12-14T18:53:16.423Z] url: https://codecov.io [2023-12-14T18:53:16.423Z] query: branch=PR-1540&commit=dd9d156fd463340a1e84e8e9984b6830b33a5aa1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-12-14T18:53:16.423Z] -> Pinging Codecov [2023-12-14T18:53:16.423Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=dd9d156fd463340a1e84e8e9984b6830b33a5aa1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-12-14T18:53:16.423Z] -> Uploading to [2023-12-14T18:53:16.423Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-14/7E55EF52A471D76F132DFD9A03CDDE97/dd9d156fd463340a1e84e8e9984b6830b33a5aa1/c9d468ac-12d7-431e-8e08-7486b513ca9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231214T185316Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0759c9657c32f2af7c406455c64929a5b5b0b87948a6727e7ebb0b6f57671a2e [2023-12-14T18:53:16.423Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-14T18:53:16.423Z] Dload Upload Total Spent Left Speed [2023-12-14T18:53:16.682Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16780 0 0 100 16780 0 82254 --:--:-- --:--:-- --:--:-- 81853 100 16780 0 0 100 16780 0 64787 --:--:-- --:--:-- --:--:-- 64538 [2023-12-14T18:53:16.682Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/dd9d156fd463340a1e84e8e9984b6830b33a5aa1 [Pipeline] } [2023-12-14T18:53:16.690Z] 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 [2023-12-14T18:53:18.623Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2023-12-14T18:53:18.623Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-14T18:53:18.623Z] total 16 [2023-12-14T18:53:18.623Z] drwxr-xr-x 3 root root 4096 Dec 14 18:46 . [2023-12-14T18:53:18.623Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 18:46 .. [2023-12-14T18:53:18.623Z] drwxr-xr-x 2 root root 4096 Dec 14 18:46 cost [2023-12-14T18:53:18.623Z] -rw-r--r-- 1 root root 86 Dec 14 18:46 cost.csv [2023-12-14T18:53:18.623Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-14T18:53:18.623Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-14T18:53:18.623Z] total 16 [2023-12-14T18:53:18.623Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 18:46 . [2023-12-14T18:53:18.623Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 18:46 .. [2023-12-14T18:53:18.623Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 18:46 cost [2023-12-14T18:53:18.623Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 14 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:18.917Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:19.777Z] ---> package-listing.sh [2023-12-14T18:53:19.777Z] ++ facter osfamily [2023-12-14T18:53:19.777Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-14T18:53:20.037Z] + OS_FAMILY=debian [2023-12-14T18:53:20.037Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-12-14T18:53:20.037Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-14T18:53:20.037Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-14T18:53:20.037Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-14T18:53:20.037Z] + PACKAGES=/tmp/packages_start.txt [2023-12-14T18:53:20.037Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-12-14T18:53:20.037Z] + PACKAGES=/tmp/packages_end.txt [2023-12-14T18:53:20.037Z] + case "${OS_FAMILY}" in [2023-12-14T18:53:20.037Z] + dpkg -l [2023-12-14T18:53:20.037Z] + grep '^ii' [2023-12-14T18:53:20.037Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-14T18:53:20.037Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-14T18:53:20.037Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-14T18:53:20.037Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-12-14T18:53:20.037Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2023-12-14T18:53:20.037Z] + 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 [2023-12-14T18:53:20.049Z] 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 [2023-12-14T18:53:20.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T18:53:20.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T18:53:20.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T18:53:21.075Z] prd-ubuntu20.04-docker-8c-8g-25062 does not seem to be running inside a container [2023-12-14T18:53:21.109Z] $ 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 [2023-12-14T18:53:21.291Z] $ docker top a36f08a3dc2e9976518d1f4ad6858e205ee8bc779e1892aff2dd8bc689e50d03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T18:53:21.715Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-14T18:53:22.003Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-14T18:53:22.290Z] + ls /var/log/sa-host [2023-12-14T18:53:22.290Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-14T18:53:22.402Z] provisioning config files... [2023-12-14T18:53:22.411Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config3757764667760262333tmp [Pipeline] { [Pipeline] echo [2023-12-14T18:53:22.496Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:22.780Z] ---> create-netrc.sh [Pipeline] } [2023-12-14T18:53:22.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:23.191Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-14T18:53:23.200Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:23.484Z] ---> sudo-logs.sh [2023-12-14T18:53:23.484Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-14T18:53:23.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:23.841Z] ---> job-cost.sh [2023-12-14T18:53:23.841Z] lf-activate-venv: SKIPPING [2023-12-14T18:53:23.841Z] DEBUG: total: 0.2199999988079071 [2023-12-14T18:53:23.841Z] INFO: Retrieving Stack Cost... [2023-12-14T18:53:24.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-14T18:53:24.677Z] INFO: Archiving Costs [Pipeline] echo [2023-12-14T18:53:24.689Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T18:53:24.970Z] ---> logs-deploy.sh [2023-12-14T18:53:24.970Z] lf-activate-venv: SKIPPING [2023-12-14T18:53:24.970Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/6 [2023-12-14T18:53:24.970Z] INFO: archiving workspace using pattern(s): [2023-12-14T18:53:25.906Z] Archives upload complete. [2023-12-14T18:53:25.906Z] INFO: archiving logs to Nexus