Pull request #1408 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c21faf5717da52a6d682ddc928ddc395af60b66+8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 (6c944c33213466684e3c31c3647d611815ddc8c6) 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-ssh13819191077187521198.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11992439163088095181.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12040010383903311229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12446165120894328454.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5753826804831726063.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1408/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1408/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4432178168821567926.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5985’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5986 in /w/workspace/gexfoundry_device-sdk-go_PR-1408 [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-1408 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1408/head:refs/remotes/origin/PR-1408 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 into PR head commit 5c21faf5717da52a6d682ddc928ddc395af60b66 Merge succeeded, producing 5c21faf5717da52a6d682ddc928ddc395af60b66 Checking out Revision 5c21faf5717da52a6d682ddc928ddc395af60b66 (PR-1408) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-28T04:59:00.482Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5c21faf5717da52a6d682ddc928ddc395af60b66 # 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 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c21faf5717da52a6d682ddc928ddc395af60b66 # timeout=10 [Pipeline] withCredentials [2023-03-28T04:59:00.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-28T04:59:00.757Z] ========================================================= [2023-03-28T04:59:00.757Z] EdgeX Global Pipelines Version Info [2023-03-28T04:59:00.757Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-28T04:59:01.504Z] ------------------- [2023-03-28T04:59:01.504Z] stable info: [2023-03-28T04:59:01.504Z] ------------------- [2023-03-28T04:59:01.504Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-28T04:59:01.505Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T04:59:01.505Z] Message: update stable to v1.0.245 [2023-03-28T04:59:02.077Z] ------------------- [2023-03-28T04:59:02.077Z] experimental info: [2023-03-28T04:59:02.077Z] ------------------- [2023-03-28T04:59:02.077Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-28T04:59:02.077Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-28T04:59:02.077Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-28T04:59:02.430Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-28T04:59:02.471Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-28T04:59:02.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-28T04:59:02.564Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-28T04:59:02.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-28T04:59:02.662Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-28T04:59:02.711Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-28T04:59:02.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-28T04:59:02.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-28T04:59:02.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-28T04:59:02.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-28T04:59:02.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-28T04:59:02.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-28T04:59:03.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-28T04:59:03.063Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T04:59:03.105Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T04:59:03.156Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T04:59:03.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T04:59:03.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-28T04:59:03.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-28T04:59:03.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-28T04:59:03.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-28T04:59:03.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-28T04:59:03.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-28T04:59:03.488Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-28T04:59:03.535Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-28T04:59:03.576Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-28T04:59:03.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1408 [Pipeline] echo [2023-03-28T04:59:03.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1408 [Pipeline] echo [2023-03-28T04:59:03.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1408 [Pipeline] echo [2023-03-28T04:59:03.751Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c21faf5717da52a6d682ddc928ddc395af60b66 [Pipeline] echo [2023-03-28T04:59:03.798Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c21faf [Pipeline] echo [2023-03-28T04:59:03.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T04:59:03.938Z] provisioning config files... [2023-03-28T04:59:03.957Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/config12531872686549828047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T04:59:04.311Z] ---> docker-login.sh [2023-03-28T04:59:04.311Z] nexus3.edgexfoundry.org:10001 [2023-03-28T04:59:04.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:04.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:04.572Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:04.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:04.572Z] [2023-03-28T04:59:04.572Z] Login Succeeded [2023-03-28T04:59:04.572Z] nexus3.edgexfoundry.org:10002 [2023-03-28T04:59:04.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:04.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:04.572Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:04.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:04.572Z] [2023-03-28T04:59:04.572Z] Login Succeeded [2023-03-28T04:59:04.572Z] nexus3.edgexfoundry.org:10003 [2023-03-28T04:59:04.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:04.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:04.841Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:04.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:04.841Z] [2023-03-28T04:59:04.841Z] Login Succeeded [2023-03-28T04:59:04.841Z] nexus3.edgexfoundry.org:10004 [2023-03-28T04:59:04.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:04.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:04.841Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:04.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:04.841Z] [2023-03-28T04:59:04.841Z] Login Succeeded [2023-03-28T04:59:04.841Z] docker.io [2023-03-28T04:59:05.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:05.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:05.102Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:05.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:05.102Z] [2023-03-28T04:59:05.102Z] Login Succeeded [2023-03-28T04:59:05.102Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T04:59:05.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-28T04:59:05.782Z] + git rev-list -1 --merges 5c21faf5717da52a6d682ddc928ddc395af60b66~1..5c21faf5717da52a6d682ddc928ddc395af60b66 [Pipeline] echo [2023-03-28T04:59:05.852Z] -----------> git rev-list -1 --merges 5c21faf5717da52a6d682ddc928ddc395af60b66~1..5c21faf5717da52a6d682ddc928ddc395af60b66 5c21faf5717da52a6d682ddc928ddc395af60b66 [false] [Pipeline] sh [2023-03-28T04:59:06.161Z] + git log --format=format:%s -1 5c21faf5717da52a6d682ddc928ddc395af60b66 [Pipeline] echo [2023-03-28T04:59:06.200Z] ========================================================= [2023-03-28T04:59:06.200Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-28T04:59:06.200Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T04:59:06.647Z] + git log --format=format:%s -1 5c21faf5717da52a6d682ddc928ddc395af60b66 [Pipeline] echo [2023-03-28T04:59:06.681Z] [semverPrep] GIT_COMMIT: 5c21faf5717da52a6d682ddc928ddc395af60b66, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-28T04:59:06.714Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-28T04:59:07.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T04:59:07.099Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-28T04:59:07.099Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-28T04:59:07.099Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-28T04:59:07.099Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-28T04:59:07.099Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-28T04:59:07.099Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T04:59:07.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T04:59:07.535Z] [2023-03-28T04:59:07.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T04:59:07.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T04:59:07.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-28T04:59:07.926Z] b85a868b505f: Pulling fs layer [2023-03-28T04:59:07.926Z] e2be974225ed: Pulling fs layer [2023-03-28T04:59:07.926Z] 339a4e72a1f5: Pulling fs layer [2023-03-28T04:59:07.926Z] 988bab9f4d93: Pulling fs layer [2023-03-28T04:59:07.926Z] 1469e6f7b9e6: Pulling fs layer [2023-03-28T04:59:07.926Z] eaf3925da568: Pulling fs layer [2023-03-28T04:59:07.926Z] bab4dde63d76: Pulling fs layer [2023-03-28T04:59:07.926Z] bde34c3a00c8: Pulling fs layer [2023-03-28T04:59:07.926Z] b352a97aabf1: Pulling fs layer [2023-03-28T04:59:07.926Z] 4872d77fe225: Pulling fs layer [2023-03-28T04:59:07.926Z] 5851b861e8e6: Pulling fs layer [2023-03-28T04:59:07.926Z] 988bab9f4d93: Waiting [2023-03-28T04:59:07.926Z] 1469e6f7b9e6: Waiting [2023-03-28T04:59:07.926Z] eaf3925da568: Waiting [2023-03-28T04:59:07.926Z] bab4dde63d76: Waiting [2023-03-28T04:59:07.926Z] bde34c3a00c8: Waiting [2023-03-28T04:59:07.926Z] 5851b861e8e6: Waiting [2023-03-28T04:59:07.926Z] b352a97aabf1: Waiting [2023-03-28T04:59:07.926Z] e2be974225ed: Download complete [2023-03-28T04:59:07.926Z] 988bab9f4d93: Verifying Checksum [2023-03-28T04:59:07.926Z] 988bab9f4d93: Download complete [2023-03-28T04:59:07.926Z] 339a4e72a1f5: Verifying Checksum [2023-03-28T04:59:07.926Z] 339a4e72a1f5: Download complete [2023-03-28T04:59:08.184Z] 1469e6f7b9e6: Verifying Checksum [2023-03-28T04:59:08.184Z] 1469e6f7b9e6: Download complete [2023-03-28T04:59:08.184Z] eaf3925da568: Download complete [2023-03-28T04:59:08.184Z] bde34c3a00c8: Verifying Checksum [2023-03-28T04:59:08.184Z] bde34c3a00c8: Download complete [2023-03-28T04:59:08.185Z] b352a97aabf1: Download complete [2023-03-28T04:59:08.185Z] 4872d77fe225: Download complete [2023-03-28T04:59:08.185Z] 5851b861e8e6: Download complete [2023-03-28T04:59:08.185Z] b85a868b505f: Verifying Checksum [2023-03-28T04:59:08.185Z] b85a868b505f: Download complete [2023-03-28T04:59:08.445Z] bab4dde63d76: Verifying Checksum [2023-03-28T04:59:08.445Z] bab4dde63d76: Download complete [2023-03-28T04:59:09.383Z] b85a868b505f: Pull complete [2023-03-28T04:59:09.644Z] e2be974225ed: Pull complete [2023-03-28T04:59:10.212Z] 339a4e72a1f5: Pull complete [2023-03-28T04:59:10.212Z] 988bab9f4d93: Pull complete [2023-03-28T04:59:10.472Z] 1469e6f7b9e6: Pull complete [2023-03-28T04:59:10.472Z] eaf3925da568: Pull complete [2023-03-28T04:59:12.382Z] bab4dde63d76: Pull complete [2023-03-28T04:59:12.382Z] bde34c3a00c8: Pull complete [2023-03-28T04:59:12.643Z] b352a97aabf1: Pull complete [2023-03-28T04:59:12.643Z] 4872d77fe225: Pull complete [2023-03-28T04:59:12.643Z] 5851b861e8e6: Pull complete [2023-03-28T04:59:12.903Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-28T04:59:12.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T04:59:12.903Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T04:59:13.137Z] prd-ubuntu20.04-docker-8c-8g-5986 does not seem to be running inside a container [2023-03-28T04:59:13.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1408 -v /w/workspace/gexfoundry_device-sdk-go_PR-1408:/w/workspace/gexfoundry_device-sdk-go_PR-1408:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1408@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T04:59:14.377Z] $ docker top 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e -eo pid,comm [2023-03-28T04:59:14.441Z] 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-03-28T04:59:14.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T04:59:14.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T04:59:14.571Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T04:59:14.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T04:59:14.697Z] $ docker exec 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e ssh-agent [2023-03-28T04:59:14.807Z] SSH_AUTH_SOCK=/tmp/ssh-TYJEklovoJam/agent.33 [2023-03-28T04:59:14.807Z] SSH_AGENT_PID=39 [2023-03-28T04:59:14.815Z] Running ssh-add (command line suppressed) [2023-03-28T04:59:14.917Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/private_key_17094600611687056414.key (/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/private_key_17094600611687056414.key) [2023-03-28T04:59:14.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T04:59:15.268Z] + git tag --points-at HEAD [Pipeline] } [2023-03-28T04:59:15.355Z] $ docker exec --env ******** --env ******** 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e ssh-agent -k [2023-03-28T04:59:15.456Z] unset SSH_AUTH_SOCK; [2023-03-28T04:59:15.457Z] unset SSH_AGENT_PID; [2023-03-28T04:59:15.457Z] echo Agent pid 39 killed; [2023-03-28T04:59:15.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-28T04:59:15.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T04:59:15.553Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T04:59:15.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T04:59:15.689Z] $ docker exec 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e ssh-agent [2023-03-28T04:59:15.801Z] SSH_AUTH_SOCK=/tmp/ssh-3IUDD1OBGULq/agent.71 [2023-03-28T04:59:15.801Z] SSH_AGENT_PID=77 [2023-03-28T04:59:15.805Z] Running ssh-add (command line suppressed) [2023-03-28T04:59:15.907Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/private_key_11455173303876050645.key (/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/private_key_11455173303876050645.key) [2023-03-28T04:59:15.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T04:59:16.250Z] + git semver init [2023-03-28T04:59:16.511Z] 2023-03-28 04:59:16,435 [run_init] DEBUG init version:0.0.0 force:False [2023-03-28T04:59:16.511Z] 2023-03-28 04:59:16,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver [2023-03-28T04:59:16.511Z] 2023-03-28 04:59:16,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver [2023-03-28T04:59:16.511Z] 2023-03-28 04:59:16,437 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1408, universal_newlines=False, shell=None, istream=None) [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,302 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1408/.git/info/exclude [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,303 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver/PR-1408 with force:False [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,303 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver/PR-1408 [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,306 [execute] INFO git cat-file --batch-check [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,313 [execute] INFO git cat-file --batch [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T04:59:17.447Z] 2023-03-28 04:59:17,319 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1408/.semver/PR-1408 [2023-03-28T04:59:17.447Z] 0.0.0 [Pipeline] } [2023-03-28T04:59:17.475Z] $ docker exec --env ******** --env ******** 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e ssh-agent -k [2023-03-28T04:59:17.573Z] unset SSH_AUTH_SOCK; [2023-03-28T04:59:17.573Z] unset SSH_AGENT_PID; [2023-03-28T04:59:17.573Z] echo Agent pid 77 killed; [2023-03-28T04:59:17.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T04:59:18.025Z] + git semver [Pipeline] } [2023-03-28T04:59:18.307Z] $ docker stop --time=1 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e [2023-03-28T04:59:19.637Z] $ docker rm -f --volumes 7fcd7230a1313c91eca29b902f328ebcbe4c20b7ecaca56b394fc09ed3f2870e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T04:59:20.045Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-28T04:59:20.316Z] Stashed 1 file(s) [Pipeline] echo [2023-03-28T04:59:20.334Z] [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-03-28T04:59:20.952Z] provisioning config files... [2023-03-28T04:59:20.961Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/config3495384796467975500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T04:59:21.308Z] ---> docker-login.sh [2023-03-28T04:59:21.308Z] nexus3.edgexfoundry.org:10001 [2023-03-28T04:59:21.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:21.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:21.308Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:21.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:21.308Z] [2023-03-28T04:59:21.308Z] Login Succeeded [2023-03-28T04:59:21.308Z] nexus3.edgexfoundry.org:10002 [2023-03-28T04:59:21.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:21.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:21.308Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:21.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:21.308Z] [2023-03-28T04:59:21.308Z] Login Succeeded [2023-03-28T04:59:21.309Z] nexus3.edgexfoundry.org:10003 [2023-03-28T04:59:21.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:21.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:21.568Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:21.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:21.568Z] [2023-03-28T04:59:21.568Z] Login Succeeded [2023-03-28T04:59:21.568Z] nexus3.edgexfoundry.org:10004 [2023-03-28T04:59:21.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:21.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:21.568Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:21.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:21.568Z] [2023-03-28T04:59:21.568Z] Login Succeeded [2023-03-28T04:59:21.568Z] docker.io [2023-03-28T04:59:21.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T04:59:22.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T04:59:22.087Z] Configure a credential helper to remove this warning. See [2023-03-28T04:59:22.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T04:59:22.087Z] [2023-03-28T04:59:22.087Z] Login Succeeded [2023-03-28T04:59:22.087Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T04:59:22.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T04:59:22.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T04:59:22.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T04:59:22.361Z] ========================================================= [2023-03-28T04:59:22.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-28T04:59:22.361Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T04:59:22.833Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T04:59:22.833Z] Sending build context to Docker daemon 10.9MB [2023-03-28T04:59:22.833Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T04:59:22.833Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-28T04:59:22.833Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-28T04:59:22.833Z] 63b65145d645: Pulling fs layer [2023-03-28T04:59:22.833Z] a2d21d5440eb: Pulling fs layer [2023-03-28T04:59:22.833Z] 935e6c44a52c: Pulling fs layer [2023-03-28T04:59:22.833Z] 94cc34f8dd06: Pulling fs layer [2023-03-28T04:59:22.833Z] 30dea6a524f1: Pulling fs layer [2023-03-28T04:59:22.833Z] a2aff8979fd8: Pulling fs layer [2023-03-28T04:59:22.833Z] 6808be2612f2: Pulling fs layer [2023-03-28T04:59:22.833Z] f25807f1079a: Pulling fs layer [2023-03-28T04:59:22.833Z] 94cc34f8dd06: Waiting [2023-03-28T04:59:22.833Z] 30dea6a524f1: Waiting [2023-03-28T04:59:22.833Z] a2aff8979fd8: Waiting [2023-03-28T04:59:22.833Z] 6808be2612f2: Waiting [2023-03-28T04:59:22.833Z] f25807f1079a: Waiting [2023-03-28T04:59:23.092Z] a2d21d5440eb: Download complete [2023-03-28T04:59:23.092Z] 94cc34f8dd06: Verifying Checksum [2023-03-28T04:59:23.092Z] 94cc34f8dd06: Download complete [2023-03-28T04:59:23.092Z] 30dea6a524f1: Verifying Checksum [2023-03-28T04:59:23.092Z] 30dea6a524f1: Download complete [2023-03-28T04:59:23.092Z] 63b65145d645: Download complete [2023-03-28T04:59:23.092Z] a2aff8979fd8: Download complete [2023-03-28T04:59:23.092Z] 63b65145d645: Pull complete [2023-03-28T04:59:23.352Z] a2d21d5440eb: Pull complete [2023-03-28T04:59:23.352Z] f25807f1079a: Verifying Checksum [2023-03-28T04:59:23.612Z] 935e6c44a52c: Verifying Checksum [2023-03-28T04:59:23.612Z] 935e6c44a52c: Download complete [2023-03-28T04:59:23.871Z] 6808be2612f2: Verifying Checksum [2023-03-28T04:59:23.871Z] 6808be2612f2: Download complete [2023-03-28T04:59:27.154Z] 935e6c44a52c: Pull complete [2023-03-28T04:59:27.154Z] 94cc34f8dd06: Pull complete [2023-03-28T04:59:27.154Z] 30dea6a524f1: Pull complete [2023-03-28T04:59:27.417Z] a2aff8979fd8: Pull complete [2023-03-28T04:59:29.946Z] 6808be2612f2: Pull complete [2023-03-28T04:59:30.513Z] f25807f1079a: Pull complete [2023-03-28T04:59:30.513Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-28T04:59:30.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-28T04:59:30.513Z] ---> 3b553350e43f [2023-03-28T04:59:30.513Z] Step 3/10 : ARG MAKE=make build [2023-03-28T04:59:31.901Z] ---> Running in 5f348c05306d [2023-03-28T04:59:31.901Z] Removing intermediate container 5f348c05306d [2023-03-28T04:59:31.901Z] ---> 91d30f5ebbfd [2023-03-28T04:59:31.901Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-28T04:59:32.159Z] ---> Running in 9f1f9c457a98 [2023-03-28T04:59:32.159Z] Removing intermediate container 9f1f9c457a98 [2023-03-28T04:59:32.159Z] ---> ebfd5624a0d6 [2023-03-28T04:59:32.159Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T04:59:32.159Z] ---> Running in 44c9b12e3b6e [2023-03-28T04:59:32.159Z] Removing intermediate container 44c9b12e3b6e [2023-03-28T04:59:32.159Z] ---> 65626874213c [2023-03-28T04:59:32.159Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-28T04:59:32.421Z] ---> Running in cc26235d71cd [2023-03-28T04:59:32.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T04:59:32.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T04:59:32.936Z] OK: 265 MiB in 53 packages [2023-03-28T04:59:33.195Z] Removing intermediate container cc26235d71cd [2023-03-28T04:59:33.195Z] ---> 316ebff0a009 [2023-03-28T04:59:33.195Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-28T04:59:33.454Z] ---> 85cf4eb3df4f [2023-03-28T04:59:33.454Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T04:59:33.454Z] ---> Running in af271efc97ea [2023-03-28T04:59:35.761Z] Still waiting to schedule task [2023-03-28T04:59:35.762Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5987’ is offline [2023-03-28T04:59:51.545Z] Removing intermediate container af271efc97ea [2023-03-28T04:59:51.545Z] ---> 6bd51eefcc1a [2023-03-28T04:59:51.545Z] Step 9/10 : COPY . . [2023-03-28T04:59:51.545Z] ---> 2cb9a0d11f4e [2023-03-28T04:59:51.545Z] Step 10/10 : RUN ${MAKE} [2023-03-28T04:59:51.545Z] ---> Running in e65a039fa413 [2023-03-28T04:59:51.545Z] noop [2023-03-28T04:59:52.120Z] Removing intermediate container e65a039fa413 [2023-03-28T04:59:52.120Z] ---> f9aef96d16ee [2023-03-28T04:59:52.120Z] Successfully built f9aef96d16ee [2023-03-28T04:59:52.120Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T04:59:52.577Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T04:59:52.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T04:59:52.752Z] prd-ubuntu20.04-docker-8c-8g-5986 does not seem to be running inside a container [2023-03-28T04:59:52.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1408 -v /w/workspace/gexfoundry_device-sdk-go_PR-1408:/w/workspace/gexfoundry_device-sdk-go_PR-1408:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1408@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 ******** ci-base-image-x86_64 cat [2023-03-28T04:59:53.116Z] $ docker top 31838e76f78b237662b03c0e5e1bc33392dc1fcac5f7c2a13fef3ffd34c6ddf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T04:59:53.509Z] + go version [2023-03-28T04:59:53.509Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-28T04:59:53.542Z] $ docker stop --time=1 31838e76f78b237662b03c0e5e1bc33392dc1fcac5f7c2a13fef3ffd34c6ddf9 [2023-03-28T04:59:54.855Z] $ docker rm -f --volumes 31838e76f78b237662b03c0e5e1bc33392dc1fcac5f7c2a13fef3ffd34c6ddf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T04:59:55.586Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T04:59:55.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T04:59:55.732Z] prd-ubuntu20.04-docker-8c-8g-5986 does not seem to be running inside a container [2023-03-28T04:59:55.760Z] $ 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-1408 -v /w/workspace/gexfoundry_device-sdk-go_PR-1408:/w/workspace/gexfoundry_device-sdk-go_PR-1408:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1408@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 ******** ci-base-image-x86_64 cat [2023-03-28T04:59:56.114Z] $ docker top ec83a727bf226aea261f34a23d29f1b21c7f1bed651e72e544a3d822978d2bb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T04:59:56.502Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1408 [Pipeline] fileExists [Pipeline] sh [2023-03-28T04:59:56.893Z] + make test [2023-03-28T04:59:56.893Z] go test -race -coverprofile=coverage.out ./... [2023-03-28T05:00:03.529Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-28T05:00:15.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-28T05:00:15.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-28T05:00:15.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-28T05:00:15.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-28T05:00:15.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-28T05:00:16.289Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-03-28T05:00:16.549Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-28T05:00:16.549Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-28T05:00:16.549Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 79.9% of statements [2023-03-28T05:00:16.549Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-03-28T05:00:17.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-28T05:00:17.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 75.7% of statements [2023-03-28T05:00:17.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-28T05:00:17.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-28T05:00:17.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-28T05:00:18.202Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-28T05:00:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.9% of statements [2023-03-28T05:00:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements [2023-03-28T05:00:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements [2023-03-28T05:00:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 5.5% of statements [2023-03-28T05:00:38.826Z] GO111MODULE=on go vet ./... [2023-03-28T05:00:43.012Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T05:00:43.012Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T05:00:43.012Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T05:00:43.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T05:00:43.080Z] $ docker stop --time=1 ec83a727bf226aea261f34a23d29f1b21c7f1bed651e72e544a3d822978d2bb3 [2023-03-28T05:00:44.932Z] $ docker rm -f --volumes ec83a727bf226aea261f34a23d29f1b21c7f1bed651e72e544a3d822978d2bb3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T05:00:45.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T05:00:45.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-28T05:00:46.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T05:00:46.519Z] + ls -al . [2023-03-28T05:00:46.520Z] total 276 [2023-03-28T05:00:46.520Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 04:59 . [2023-03-28T05:00:46.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:58 .. [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:58 .dockerignore [2023-03-28T05:00:46.520Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:59 .git [2023-03-28T05:00:46.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:58 .github [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:58 .gitignore [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:58 .golangci.yml [2023-03-28T05:00:46.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 04:59 .semver [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 28 04:58 CHANGELOG.md [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:58 GOVERNANCE.md [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 28 04:58 Jenkinsfile [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:58 LICENSE [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 28 04:58 Makefile [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:58 OWNERS.md [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 28 04:58 README.md [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 04:59 VERSION [2023-03-28T05:00:46.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:58 bin [2023-03-28T05:00:46.520Z] -rw-r--r-- 1 jenkins jenkins 106714 Mar 28 05:00 coverage.out [2023-03-28T05:00:46.520Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:58 example [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 28 04:58 go.mod [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 28 04:58 go.sum [2023-03-28T05:00:46.520Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:58 internal [2023-03-28T05:00:46.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:58 openapi [2023-03-28T05:00:46.520Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 04:58 pkg [2023-03-28T05:00:46.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:58 snap [2023-03-28T05:00:46.520Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:00:46.903Z] + 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=5c21faf5717da52a6d682ddc928ddc395af60b66 --label arch=amd64 --label version=0.0.0 . [2023-03-28T05:00:46.903Z] Sending build context to Docker daemon 11.01MB [2023-03-28T05:00:46.903Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T05:00:46.903Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-28T05:00:46.903Z] ---> f9aef96d16ee [2023-03-28T05:00:46.903Z] Step 3/23 : ARG MAKE=make build [2023-03-28T05:00:46.903Z] ---> Running in 40e95b9dcaf9 [2023-03-28T05:00:47.162Z] Removing intermediate container 40e95b9dcaf9 [2023-03-28T05:00:47.162Z] ---> 52e38bbfc561 [2023-03-28T05:00:47.162Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-28T05:00:47.162Z] ---> Running in 91a8f0d01865 [2023-03-28T05:00:47.162Z] Removing intermediate container 91a8f0d01865 [2023-03-28T05:00:47.162Z] ---> 8b59a09aea8c [2023-03-28T05:00:47.162Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T05:00:47.162Z] ---> Running in 82e876255867 [2023-03-28T05:00:47.162Z] Removing intermediate container 82e876255867 [2023-03-28T05:00:47.162Z] ---> 6dd44842a8da [2023-03-28T05:00:47.162Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-28T05:00:47.421Z] ---> Running in 51ebfcfcbf3d [2023-03-28T05:00:47.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T05:00:47.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T05:00:47.942Z] OK: 265 MiB in 53 packages [2023-03-28T05:00:48.201Z] Removing intermediate container 51ebfcfcbf3d [2023-03-28T05:00:48.201Z] ---> 0cdc91413a23 [2023-03-28T05:00:48.201Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-28T05:00:48.460Z] ---> f1cacfc464b4 [2023-03-28T05:00:48.460Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T05:00:48.460Z] ---> Running in cad834f3b3ae [2023-03-28T05:00:49.399Z] Removing intermediate container cad834f3b3ae [2023-03-28T05:00:49.399Z] ---> 7eb45a4c203e [2023-03-28T05:00:49.399Z] Step 9/23 : COPY . . [2023-03-28T05:00:49.657Z] ---> 751f4123943d [2023-03-28T05:00:49.657Z] Step 10/23 : RUN ${MAKE} [2023-03-28T05:00:49.657Z] ---> Running in f779d3710a0d [2023-03-28T05:00:49.914Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-28T05:01:07.982Z] Removing intermediate container f779d3710a0d [2023-03-28T05:01:07.982Z] ---> 140b0d545ada [2023-03-28T05:01:07.982Z] Step 11/23 : FROM alpine:3.17 [2023-03-28T05:01:07.982Z] 3.17: Pulling from library/alpine [2023-03-28T05:01:07.982Z] 63b65145d645: Already exists [2023-03-28T05:01:07.982Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T05:01:07.982Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T05:01:07.982Z] ---> b2aa39c304c2 [2023-03-28T05:01:07.982Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T05:01:07.982Z] ---> Running in 76bdaffe8440 [2023-03-28T05:01:07.982Z] Removing intermediate container 76bdaffe8440 [2023-03-28T05:01:07.982Z] ---> 29f3611a77a1 [2023-03-28T05:01:07.982Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-28T05:01:07.982Z] ---> Running in b5505ed3d132 [2023-03-28T05:01:07.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T05:01:07.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T05:01:07.982Z] OK: 7 MiB in 15 packages [2023-03-28T05:01:07.982Z] Removing intermediate container b5505ed3d132 [2023-03-28T05:01:07.982Z] ---> eaa900adbf80 [2023-03-28T05:01:07.982Z] Step 14/23 : WORKDIR / [2023-03-28T05:01:07.982Z] ---> Running in 1c7fbde2ba18 [2023-03-28T05:01:07.982Z] Removing intermediate container 1c7fbde2ba18 [2023-03-28T05:01:07.982Z] ---> 2e47c7e50068 [2023-03-28T05:01:07.982Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-28T05:01:07.982Z] ---> a45391ed5976 [2023-03-28T05:01:07.982Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-28T05:01:07.982Z] ---> b8439eb44c2f [2023-03-28T05:01:07.982Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-28T05:01:07.982Z] ---> ef794d369fba [2023-03-28T05:01:07.982Z] Step 18/23 : EXPOSE 59999 [2023-03-28T05:01:07.982Z] ---> Running in b4d3f07755ce [2023-03-28T05:01:08.243Z] Removing intermediate container b4d3f07755ce [2023-03-28T05:01:08.243Z] ---> d9eeac6a9f22 [2023-03-28T05:01:08.243Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-28T05:01:08.243Z] ---> Running in 43361d599151 [2023-03-28T05:01:08.243Z] Removing intermediate container 43361d599151 [2023-03-28T05:01:08.243Z] ---> fa3edcd02e9d [2023-03-28T05:01:08.243Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-28T05:01:08.243Z] ---> Running in 4859060813c8 [2023-03-28T05:01:08.503Z] Removing intermediate container 4859060813c8 [2023-03-28T05:01:08.503Z] ---> 14a36492c705 [2023-03-28T05:01:08.503Z] Step 21/23 : LABEL arch=amd64 [2023-03-28T05:01:08.503Z] ---> Running in 68407ff19afd [2023-03-28T05:01:08.503Z] Removing intermediate container 68407ff19afd [2023-03-28T05:01:08.503Z] ---> d60d0277fa9e [2023-03-28T05:01:08.503Z] Step 22/23 : LABEL git_sha=5c21faf5717da52a6d682ddc928ddc395af60b66 [2023-03-28T05:01:08.503Z] ---> Running in dfab99e21f24 [2023-03-28T05:01:08.503Z] Removing intermediate container dfab99e21f24 [2023-03-28T05:01:08.503Z] ---> b3f158245fae [2023-03-28T05:01:08.503Z] Step 23/23 : LABEL version=0.0.0 [2023-03-28T05:01:08.763Z] ---> Running in d98ca8730e65 [2023-03-28T05:01:08.763Z] Removing intermediate container d98ca8730e65 [2023-03-28T05:01:08.763Z] ---> ec9cae2413f5 [2023-03-28T05:01:08.763Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T05:01:08.763Z] Successfully built ec9cae2413f5 [2023-03-28T05:01:08.763Z] 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-03-28T05:01:09.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T05:01:09.646Z] [2023-03-28T05:01:09.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:01:10.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T05:01:10.028Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-28T05:01:10.028Z] 5eb5b503b376: Pulling fs layer [2023-03-28T05:01:10.028Z] 5c69ac0246d0: Pulling fs layer [2023-03-28T05:01:10.028Z] ec43610c2a17: Pulling fs layer [2023-03-28T05:01:10.028Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-28T05:01:10.028Z] 33b1e0a273af: Pulling fs layer [2023-03-28T05:01:10.028Z] 5d3b04190fa2: Pulling fs layer [2023-03-28T05:01:10.028Z] 2f39f015ded8: Pulling fs layer [2023-03-28T05:01:10.028Z] 33b1e0a273af: Waiting [2023-03-28T05:01:10.028Z] 5d3b04190fa2: Waiting [2023-03-28T05:01:10.028Z] 2f39f015ded8: Waiting [2023-03-28T05:01:10.028Z] 3a2ae6a8a46f: Waiting [2023-03-28T05:01:10.028Z] 5c69ac0246d0: Verifying Checksum [2023-03-28T05:01:10.028Z] 5c69ac0246d0: Download complete [2023-03-28T05:01:10.028Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-28T05:01:10.028Z] 3a2ae6a8a46f: Download complete [2023-03-28T05:01:10.028Z] 33b1e0a273af: Verifying Checksum [2023-03-28T05:01:10.028Z] 33b1e0a273af: Download complete [2023-03-28T05:01:10.028Z] ec43610c2a17: Verifying Checksum [2023-03-28T05:01:10.028Z] ec43610c2a17: Download complete [2023-03-28T05:01:10.028Z] 5d3b04190fa2: Download complete [2023-03-28T05:01:10.287Z] 5eb5b503b376: Download complete [2023-03-28T05:01:10.853Z] 2f39f015ded8: Download complete [2023-03-28T05:01:11.420Z] 5eb5b503b376: Pull complete [2023-03-28T05:01:11.420Z] 5c69ac0246d0: Pull complete [2023-03-28T05:01:11.988Z] ec43610c2a17: Pull complete [2023-03-28T05:01:11.988Z] 3a2ae6a8a46f: Pull complete [2023-03-28T05:01:11.988Z] 33b1e0a273af: Pull complete [2023-03-28T05:01:12.246Z] 5d3b04190fa2: Pull complete [2023-03-28T05:01:16.425Z] 2f39f015ded8: Pull complete [2023-03-28T05:01:16.425Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-28T05:01:16.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T05:01:16.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T05:01:16.639Z] prd-ubuntu20.04-docker-8c-8g-5986 does not seem to be running inside a container [2023-03-28T05:01:16.664Z] $ 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-1408 -v /w/workspace/gexfoundry_device-sdk-go_PR-1408:/w/workspace/gexfoundry_device-sdk-go_PR-1408:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1408@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T05:01:18.050Z] $ docker top 7303ac207c90ed5912fd82bc3dacba23e475ad91e681b17fa0ff9de983cd77e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:01:18.488Z] ---> job-cost.sh [2023-03-28T05:01:18.488Z] lf-activate-venv: SKIPPING [2023-03-28T05:01:18.488Z] INFO: No Stack... [2023-03-28T05:01:18.747Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T05:01:19.322Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T05:01:19.638Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives/cost.csv [2023-03-28T05:01:19.638Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T05:01:19.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] [2023-03-28T05:01:19.683Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] did not exist. Created. [2023-03-28T05:01:19.683Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T05:01:20.080Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-28T05:01:20.139Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T05:01:20.163Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T05:01:20.247Z] $ docker stop --time=1 7303ac207c90ed5912fd82bc3dacba23e475ad91e681b17fa0ff9de983cd77e1 [2023-03-28T05:01:21.406Z] $ docker rm -f --volumes 7303ac207c90ed5912fd82bc3dacba23e475ad91e681b17fa0ff9de983cd77e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-28T05:02:11.539Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5993 in /w/workspace/gexfoundry_device-sdk-go_PR-1408 [Pipeline] { [Pipeline] ws [2023-03-28T05:02:11.594Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-28T05:02:11.702Z] The recommended git tool is: git [2023-03-28T05:02:21.629Z] using credential edgex-jenkins-ssh [2023-03-28T05:02:21.646Z] Cloning the remote Git repository [2023-03-28T05:02:21.731Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-28T05:02:21.878Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-28T05:02:22.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-28T05:02:22.133Z] > git --version # timeout=10 [2023-03-28T05:02:22.168Z] > git --version # 'git version 2.25.1' [2023-03-28T05:02:22.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T05:02:22.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T05:02:24.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-28T05:02:24.231Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T05:02:25.995Z] Merging remotes/origin/main commit 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 into PR head commit 5c21faf5717da52a6d682ddc928ddc395af60b66 [2023-03-28T05:02:26.303Z] Merge succeeded, producing 5c21faf5717da52a6d682ddc928ddc395af60b66 [2023-03-28T05:02:26.304Z] Checking out Revision 5c21faf5717da52a6d682ddc928ddc395af60b66 (PR-1408) [2023-03-28T05:02:26.787Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-28T05:02:26.851Z] > git --version # timeout=10 [2023-03-28T05:02:26.864Z] > git --version # 'git version 2.25.1' [2023-03-28T05:02:26.880Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T05:02:25.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-28T05:02:25.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-28T05:02:25.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T05:02:25.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1408/head:refs/remotes/origin/PR-1408 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-28T05:02:26.022Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T05:02:26.102Z] > git checkout -f 5c21faf5717da52a6d682ddc928ddc395af60b66 # timeout=10 [2023-03-28T05:02:26.213Z] > git remote # timeout=10 [2023-03-28T05:02:26.236Z] > git config --get remote.origin.url # timeout=10 [2023-03-28T05:02:26.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T05:02:26.268Z] > git merge 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 # timeout=10 [2023-03-28T05:02:26.296Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-28T05:02:26.319Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T05:02:26.332Z] > git checkout -f 5c21faf5717da52a6d682ddc928ddc395af60b66 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T05:02:27.946Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-28T05:02:27.946Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T05:02:27.946Z] Dload Upload Total Spent Left Speed [2023-03-28T05:02:27.946Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-03-28T05:02:28.616Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-28T05:02:29.003Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-28T05:02:29.003Z] + sudo tee /etc/docker/daemon.new [2023-03-28T05:02:29.003Z] { [2023-03-28T05:02:29.003Z] "registry-mirrors": [ [2023-03-28T05:02:29.003Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-28T05:02:29.003Z] ], [2023-03-28T05:02:29.003Z] "bip": "10.250.0.254/24", [2023-03-28T05:02:29.003Z] "hosts": [ [2023-03-28T05:02:29.003Z] "tcp://0.0.0.0:5555", [2023-03-28T05:02:29.003Z] "unix:///var/run/docker.sock" [2023-03-28T05:02:29.003Z] ], [2023-03-28T05:02:29.003Z] "mtu": 1458, [2023-03-28T05:02:29.003Z] "selinux-enabled": true, [2023-03-28T05:02:29.003Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-28T05:02:29.003Z] } [Pipeline] sh [2023-03-28T05:02:29.370Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-28T05:02:29.731Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T05:02:48.071Z] provisioning config files... [2023-03-28T05:02:48.099Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8845273734940768474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:02:48.503Z] ---> docker-login.sh [2023-03-28T05:02:48.503Z] nexus3.edgexfoundry.org:10001 [2023-03-28T05:02:49.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T05:02:49.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T05:02:49.362Z] Configure a credential helper to remove this warning. See [2023-03-28T05:02:49.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T05:02:49.362Z] [2023-03-28T05:02:49.362Z] Login Succeeded [2023-03-28T05:02:49.362Z] nexus3.edgexfoundry.org:10002 [2023-03-28T05:02:49.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T05:02:49.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T05:02:49.631Z] Configure a credential helper to remove this warning. See [2023-03-28T05:02:49.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T05:02:49.631Z] [2023-03-28T05:02:49.631Z] Login Succeeded [2023-03-28T05:02:49.631Z] nexus3.edgexfoundry.org:10003 [2023-03-28T05:02:49.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T05:02:49.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T05:02:49.902Z] Configure a credential helper to remove this warning. See [2023-03-28T05:02:49.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T05:02:49.902Z] [2023-03-28T05:02:49.902Z] Login Succeeded [2023-03-28T05:02:49.902Z] nexus3.edgexfoundry.org:10004 [2023-03-28T05:02:50.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T05:02:50.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T05:02:50.493Z] Configure a credential helper to remove this warning. See [2023-03-28T05:02:50.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T05:02:50.493Z] [2023-03-28T05:02:50.493Z] Login Succeeded [2023-03-28T05:02:50.493Z] docker.io [2023-03-28T05:02:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T05:02:51.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T05:02:51.040Z] Configure a credential helper to remove this warning. See [2023-03-28T05:02:51.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T05:02:51.040Z] [2023-03-28T05:02:51.040Z] Login Succeeded [2023-03-28T05:02:51.040Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T05:02:51.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T05:02:51.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T05:02:51.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T05:02:51.620Z] ========================================================= [2023-03-28T05:02:51.620Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-28T05:02:51.620Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:02:52.138Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T05:02:52.727Z] Sending build context to Docker daemon 5.862MB [2023-03-28T05:02:52.727Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T05:02:52.727Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-28T05:02:52.727Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-28T05:02:52.727Z] af6eaf76a39c: Pulling fs layer [2023-03-28T05:02:52.727Z] 55522c791124: Pulling fs layer [2023-03-28T05:02:52.727Z] ce5c4a1c91eb: Pulling fs layer [2023-03-28T05:02:52.727Z] 169dfbe0d373: Pulling fs layer [2023-03-28T05:02:52.727Z] e1ff8fa3b103: Pulling fs layer [2023-03-28T05:02:52.727Z] 52ebb69f0ebf: Pulling fs layer [2023-03-28T05:02:52.727Z] 5abe8eddf0d5: Pulling fs layer [2023-03-28T05:02:52.727Z] 169dfbe0d373: Waiting [2023-03-28T05:02:52.727Z] e1ff8fa3b103: Waiting [2023-03-28T05:02:52.727Z] 52ebb69f0ebf: Waiting [2023-03-28T05:02:52.727Z] 5abe8eddf0d5: Waiting [2023-03-28T05:02:52.727Z] 55522c791124: Verifying Checksum [2023-03-28T05:02:52.727Z] 55522c791124: Download complete [2023-03-28T05:02:53.001Z] 169dfbe0d373: Verifying Checksum [2023-03-28T05:02:53.001Z] 169dfbe0d373: Download complete [2023-03-28T05:02:53.001Z] e1ff8fa3b103: Verifying Checksum [2023-03-28T05:02:53.001Z] e1ff8fa3b103: Download complete [2023-03-28T05:02:53.001Z] af6eaf76a39c: Verifying Checksum [2023-03-28T05:02:53.982Z] af6eaf76a39c: Pull complete [2023-03-28T05:02:53.982Z] 5abe8eddf0d5: Verifying Checksum [2023-03-28T05:02:53.982Z] 5abe8eddf0d5: Download complete [2023-03-28T05:02:54.578Z] 55522c791124: Pull complete [2023-03-28T05:02:55.554Z] ce5c4a1c91eb: Verifying Checksum [2023-03-28T05:02:55.554Z] ce5c4a1c91eb: Download complete [2023-03-28T05:02:55.554Z] 52ebb69f0ebf: Verifying Checksum [2023-03-28T05:02:55.554Z] 52ebb69f0ebf: Download complete [2023-03-28T05:03:05.764Z] ce5c4a1c91eb: Pull complete [2023-03-28T05:03:05.764Z] 169dfbe0d373: Pull complete [2023-03-28T05:03:06.033Z] e1ff8fa3b103: Pull complete [2023-03-28T05:03:14.259Z] 52ebb69f0ebf: Pull complete [2023-03-28T05:03:15.221Z] 5abe8eddf0d5: Pull complete [2023-03-28T05:03:15.221Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-28T05:03:15.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-28T05:03:15.221Z] ---> 6cb57ee374ae [2023-03-28T05:03:15.221Z] Step 3/10 : ARG MAKE=make build [2023-03-28T05:03:17.176Z] ---> Running in 49547c1034f5 [2023-03-28T05:03:17.445Z] Removing intermediate container 49547c1034f5 [2023-03-28T05:03:17.445Z] ---> 59b4664cae73 [2023-03-28T05:03:17.445Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-28T05:03:17.720Z] ---> Running in dd96731080c5 [2023-03-28T05:03:17.988Z] Removing intermediate container dd96731080c5 [2023-03-28T05:03:17.988Z] ---> 71055eed9e08 [2023-03-28T05:03:17.988Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T05:03:17.988Z] ---> Running in 195eff489bdd [2023-03-28T05:03:18.258Z] Removing intermediate container 195eff489bdd [2023-03-28T05:03:18.258Z] ---> 57f43e413920 [2023-03-28T05:03:18.258Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-28T05:03:18.258Z] ---> Running in 7e5c56f3754c [2023-03-28T05:03:19.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T05:03:20.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T05:03:21.234Z] OK: 263 MiB in 53 packages [2023-03-28T05:03:22.199Z] Removing intermediate container 7e5c56f3754c [2023-03-28T05:03:22.199Z] ---> 033b45fc9636 [2023-03-28T05:03:22.199Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-28T05:03:22.469Z] ---> cdf47b8e21a5 [2023-03-28T05:03:22.469Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T05:03:22.469Z] ---> Running in 7c4bb5ea601b [2023-03-28T05:04:30.397Z] Removing intermediate container 7c4bb5ea601b [2023-03-28T05:04:30.397Z] ---> 1c1e800a8b4c [2023-03-28T05:04:30.397Z] Step 9/10 : COPY . . [2023-03-28T05:04:30.397Z] ---> 1fc92e04f4a1 [2023-03-28T05:04:30.397Z] Step 10/10 : RUN ${MAKE} [2023-03-28T05:04:30.397Z] ---> Running in 5077a04cfca3 [2023-03-28T05:04:30.397Z] noop [2023-03-28T05:04:30.397Z] Removing intermediate container 5077a04cfca3 [2023-03-28T05:04:30.397Z] ---> 108dbe049613 [2023-03-28T05:04:30.397Z] Successfully built 108dbe049613 [2023-03-28T05:04:30.397Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:04:30.898Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T05:04:30.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T05:04:31.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-5993 does not seem to be running inside a container [2023-03-28T05:04:31.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-03-28T05:04:33.616Z] $ docker top 494c6478216ebd85e4b7884609d040a5cbdc425a8ce5ae4f6f62e84242a5b0ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T05:04:34.494Z] + go version [2023-03-28T05:04:34.494Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-28T05:04:34.541Z] $ docker stop --time=1 494c6478216ebd85e4b7884609d040a5cbdc425a8ce5ae4f6f62e84242a5b0ff [2023-03-28T05:04:36.199Z] $ docker rm -f --volumes 494c6478216ebd85e4b7884609d040a5cbdc425a8ce5ae4f6f62e84242a5b0ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:04:36.985Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T05:04:36.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T05:04:37.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-5993 does not seem to be running inside a container [2023-03-28T05:04:37.321Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-03-28T05:04:38.492Z] $ docker top f1195b3ac69d5cda372e002f62dbbbaaa7e18d69b0b7a8b8f0cd572e55812fb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T05:04:39.037Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-28T05:04:39.430Z] + make test [2023-03-28T05:04:39.700Z] go test -race -coverprofile=coverage.out ./... [2023-03-28T05:05:36.119Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-28T05:07:42.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-28T05:07:42.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-28T05:07:42.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-28T05:07:42.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-28T05:07:42.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-28T05:07:45.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.287s coverage: 27.6% of statements [2023-03-28T05:07:46.017Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.298s coverage: 79.9% of statements [2023-03-28T05:08:01.059Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-28T05:08:01.059Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-28T05:08:01.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.401s coverage: 86.0% of statements [2023-03-28T05:08:09.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-28T05:08:09.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.489s coverage: 75.7% of statements [2023-03-28T05:08:14.971Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-28T05:08:16.402Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-28T05:08:16.402Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-28T05:08:17.370Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.327s coverage: 14.9% of statements [2023-03-28T05:08:17.370Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.510s coverage: 68.5% of statements [2023-03-28T05:08:21.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.517s coverage: 89.2% of statements [2023-03-28T05:08:22.633Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-28T05:08:22.633Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.296s coverage: 5.5% of statements [2023-03-28T05:08:23.602Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-28T05:08:23.602Z] GO111MODULE=on go vet ./... [2023-03-28T05:11:15.404Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T05:11:15.404Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T05:11:15.404Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T05:11:15.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T05:11:15.499Z] $ docker stop --time=1 f1195b3ac69d5cda372e002f62dbbbaaa7e18d69b0b7a8b8f0cd572e55812fb1 [2023-03-28T05:11:18.500Z] $ docker rm -f --volumes f1195b3ac69d5cda372e002f62dbbbaaa7e18d69b0b7a8b8f0cd572e55812fb1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T05:11:20.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T05:11:20.353Z] Warning: overwriting stash ‘coverage-report’ [2023-03-28T05:11:21.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T05:11:21.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T05:11:22.084Z] + ls -al . [2023-03-28T05:11:22.084Z] total 272 [2023-03-28T05:11:22.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 05:04 . [2023-03-28T05:11:22.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 05:02 .. [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 05:02 .dockerignore [2023-03-28T05:11:22.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 05:02 .git [2023-03-28T05:11:22.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 05:02 .github [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 05:02 .gitignore [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 05:02 .golangci.yml [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 28 05:02 CHANGELOG.md [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 05:02 GOVERNANCE.md [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 28 05:02 Jenkinsfile [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 05:02 LICENSE [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 28 05:02 Makefile [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 05:02 OWNERS.md [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 28 05:02 README.md [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 04:59 VERSION [2023-03-28T05:11:22.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 05:02 bin [2023-03-28T05:11:22.084Z] -rw-r--r-- 1 jenkins jenkins 106714 Mar 28 05:08 coverage.out [2023-03-28T05:11:22.084Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 05:02 example [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 28 05:02 go.mod [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 28 05:02 go.sum [2023-03-28T05:11:22.084Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 05:02 internal [2023-03-28T05:11:22.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 05:02 openapi [2023-03-28T05:11:22.084Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 05:02 pkg [2023-03-28T05:11:22.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 05:02 snap [2023-03-28T05:11:22.084Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:11:22.518Z] + 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=5c21faf5717da52a6d682ddc928ddc395af60b66 --label arch=arm64 --label version=0.0.0 . [2023-03-28T05:11:23.106Z] Sending build context to Docker daemon 5.969MB [2023-03-28T05:11:23.106Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T05:11:23.106Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-28T05:11:23.106Z] ---> 108dbe049613 [2023-03-28T05:11:23.106Z] Step 3/23 : ARG MAKE=make build [2023-03-28T05:11:23.106Z] ---> Running in bf3d276f7ee5 [2023-03-28T05:11:23.375Z] Removing intermediate container bf3d276f7ee5 [2023-03-28T05:11:23.375Z] ---> a9f9b764497d [2023-03-28T05:11:23.375Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-28T05:11:23.651Z] ---> Running in b6097df2b112 [2023-03-28T05:11:23.921Z] Removing intermediate container b6097df2b112 [2023-03-28T05:11:23.921Z] ---> b2d45f0bdbb4 [2023-03-28T05:11:23.921Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T05:11:23.921Z] ---> Running in 4d0bdf869e42 [2023-03-28T05:11:24.510Z] Removing intermediate container 4d0bdf869e42 [2023-03-28T05:11:24.510Z] ---> b64c55df30c4 [2023-03-28T05:11:24.510Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-28T05:11:24.510Z] ---> Running in 58119421d8b8 [2023-03-28T05:11:25.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T05:11:26.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T05:11:27.475Z] OK: 263 MiB in 53 packages [2023-03-28T05:11:28.435Z] Removing intermediate container 58119421d8b8 [2023-03-28T05:11:28.435Z] ---> 326426506c20 [2023-03-28T05:11:28.435Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-28T05:11:29.019Z] ---> 88474ec60374 [2023-03-28T05:11:29.019Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T05:11:29.019Z] ---> Running in 7e1720551bb0 [2023-03-28T05:11:31.607Z] Removing intermediate container 7e1720551bb0 [2023-03-28T05:11:31.607Z] ---> d336fecbe1eb [2023-03-28T05:11:31.607Z] Step 9/23 : COPY . . [2023-03-28T05:11:33.021Z] ---> 9cb0edf2127d [2023-03-28T05:11:33.021Z] Step 10/23 : RUN ${MAKE} [2023-03-28T05:11:33.296Z] ---> Running in 9fa49456bfa7 [2023-03-28T05:11:34.258Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-28T05:14:11.009Z] Removing intermediate container 9fa49456bfa7 [2023-03-28T05:14:11.009Z] ---> 342f19d698c7 [2023-03-28T05:14:11.009Z] Step 11/23 : FROM alpine:3.17 [2023-03-28T05:14:11.009Z] 3.17: Pulling from library/alpine [2023-03-28T05:14:11.009Z] af6eaf76a39c: Already exists [2023-03-28T05:14:11.009Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T05:14:11.009Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T05:14:11.009Z] ---> d74e625d9115 [2023-03-28T05:14:11.009Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T05:14:11.009Z] ---> Running in d7691719345c [2023-03-28T05:14:11.009Z] Removing intermediate container d7691719345c [2023-03-28T05:14:11.009Z] ---> 8e85ceeb31c4 [2023-03-28T05:14:11.009Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-28T05:14:11.009Z] ---> Running in e9dce1d48139 [2023-03-28T05:14:11.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T05:14:11.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T05:14:11.009Z] OK: 7 MiB in 15 packages [2023-03-28T05:14:12.965Z] Removing intermediate container e9dce1d48139 [2023-03-28T05:14:12.965Z] ---> 97584a036052 [2023-03-28T05:14:12.965Z] Step 14/23 : WORKDIR / [2023-03-28T05:14:12.965Z] ---> Running in 2ebe274e86a5 [2023-03-28T05:14:12.965Z] Removing intermediate container 2ebe274e86a5 [2023-03-28T05:14:12.965Z] ---> 660197b83fa0 [2023-03-28T05:14:12.965Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-28T05:14:13.550Z] ---> 15cc163d9f49 [2023-03-28T05:14:13.550Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-28T05:14:14.968Z] ---> 2ee1d7ce6608 [2023-03-28T05:14:14.968Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-28T05:14:15.559Z] ---> 6df472041368 [2023-03-28T05:14:15.559Z] Step 18/23 : EXPOSE 59999 [2023-03-28T05:14:15.829Z] ---> Running in e649b3f113fc [2023-03-28T05:14:16.097Z] Removing intermediate container e649b3f113fc [2023-03-28T05:14:16.097Z] ---> f7fc8c39a377 [2023-03-28T05:14:16.097Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-28T05:14:16.097Z] ---> Running in 010526a18296 [2023-03-28T05:14:16.387Z] Removing intermediate container 010526a18296 [2023-03-28T05:14:16.387Z] ---> 49d0c5434efc [2023-03-28T05:14:16.387Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-28T05:14:16.658Z] ---> Running in 79409687f6cb [2023-03-28T05:14:16.926Z] Removing intermediate container 79409687f6cb [2023-03-28T05:14:16.926Z] ---> b39259ac2214 [2023-03-28T05:14:16.926Z] Step 21/23 : LABEL arch=arm64 [2023-03-28T05:14:16.926Z] ---> Running in beb8840e04c4 [2023-03-28T05:14:17.194Z] Removing intermediate container beb8840e04c4 [2023-03-28T05:14:17.194Z] ---> 39b37723ffbc [2023-03-28T05:14:17.194Z] Step 22/23 : LABEL git_sha=5c21faf5717da52a6d682ddc928ddc395af60b66 [2023-03-28T05:14:17.462Z] ---> Running in 9ddd36309549 [2023-03-28T05:14:17.731Z] Removing intermediate container 9ddd36309549 [2023-03-28T05:14:17.731Z] ---> a74cbb4f301a [2023-03-28T05:14:17.731Z] Step 23/23 : LABEL version=0.0.0 [2023-03-28T05:14:17.731Z] ---> Running in e40de7eefcd5 [2023-03-28T05:14:18.001Z] Removing intermediate container e40de7eefcd5 [2023-03-28T05:14:18.001Z] ---> 92694f70d404 [2023-03-28T05:14:18.001Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T05:14:18.001Z] Successfully built 92694f70d404 [2023-03-28T05:14:18.001Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:14:18.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T05:14:18.847Z] [2023-03-28T05:14:18.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:14:19.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T05:14:19.265Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-28T05:14:19.265Z] 8998bd30e6a1: Pulling fs layer [2023-03-28T05:14:19.265Z] 04944245beec: Pulling fs layer [2023-03-28T05:14:19.265Z] 699f458cf7ca: Pulling fs layer [2023-03-28T05:14:19.265Z] 765212b225bb: Pulling fs layer [2023-03-28T05:14:19.265Z] f23df028b6ca: Pulling fs layer [2023-03-28T05:14:19.265Z] d65c8cfc05b1: Pulling fs layer [2023-03-28T05:14:19.265Z] 2437ff75d9bd: Pulling fs layer [2023-03-28T05:14:19.265Z] f23df028b6ca: Waiting [2023-03-28T05:14:19.265Z] d65c8cfc05b1: Waiting [2023-03-28T05:14:19.265Z] 2437ff75d9bd: Waiting [2023-03-28T05:14:19.265Z] 765212b225bb: Waiting [2023-03-28T05:14:19.537Z] 04944245beec: Verifying Checksum [2023-03-28T05:14:19.537Z] 04944245beec: Download complete [2023-03-28T05:14:19.537Z] 765212b225bb: Verifying Checksum [2023-03-28T05:14:19.537Z] 765212b225bb: Download complete [2023-03-28T05:14:19.537Z] f23df028b6ca: Verifying Checksum [2023-03-28T05:14:19.537Z] f23df028b6ca: Download complete [2023-03-28T05:14:19.537Z] d65c8cfc05b1: Verifying Checksum [2023-03-28T05:14:19.537Z] d65c8cfc05b1: Download complete [2023-03-28T05:14:19.811Z] 699f458cf7ca: Verifying Checksum [2023-03-28T05:14:19.811Z] 699f458cf7ca: Download complete [2023-03-28T05:14:20.085Z] 8998bd30e6a1: Download complete [2023-03-28T05:14:22.668Z] 2437ff75d9bd: Verifying Checksum [2023-03-28T05:14:22.668Z] 2437ff75d9bd: Download complete [2023-03-28T05:14:25.254Z] 8998bd30e6a1: Pull complete [2023-03-28T05:14:25.522Z] 04944245beec: Pull complete [2023-03-28T05:14:27.472Z] 699f458cf7ca: Pull complete [2023-03-28T05:14:27.472Z] 765212b225bb: Pull complete [2023-03-28T05:14:28.059Z] f23df028b6ca: Pull complete [2023-03-28T05:14:28.327Z] d65c8cfc05b1: Pull complete [2023-03-28T05:14:43.328Z] 2437ff75d9bd: Pull complete [2023-03-28T05:14:43.328Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-28T05:14:43.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T05:14:43.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T05:14:43.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-5993 does not seem to be running inside a container [2023-03-28T05:14:43.738Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-28T05:14:46.598Z] $ docker top 89d33ba7861728b180002d6e0920013b1b54ed4a3185be1d4181776ea4a2cabd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:14:47.514Z] ---> job-cost.sh [2023-03-28T05:14:47.514Z] lf-activate-venv: SKIPPING [2023-03-28T05:14:47.514Z] INFO: No Stack... [2023-03-28T05:14:48.099Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-28T05:14:48.685Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T05:14:49.362Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-28T05:14:49.363Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T05:14:49.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] [2023-03-28T05:14:49.429Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] did not exist. Created. [2023-03-28T05:14:49.429Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T05:14:50.168Z] /w/workspace/device-sdk-go/1@tmp/durable-44d7fd17/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-28T05:14:50.856Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-28T05:14:50.892Z] Warning: overwriting stash ‘stack-cost’ [2023-03-28T05:14:50.970Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T05:14:50.989Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T05:14:51.083Z] $ docker stop --time=1 89d33ba7861728b180002d6e0920013b1b54ed4a3185be1d4181776ea4a2cabd [2023-03-28T05:14:52.619Z] $ docker rm -f --volumes 89d33ba7861728b180002d6e0920013b1b54ed4a3185be1d4181776ea4a2cabd [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-03-28T05:14:53.541Z] provisioning config files... [2023-03-28T05:14:53.556Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/config14435878059497263020tmp [Pipeline] { [Pipeline] sh [2023-03-28T05:14:53.888Z] + set +x [2023-03-28T05:14:53.888Z] + curl -s https://codecov.io/bash [2023-03-28T05:14:53.888Z] + bash -s -- [2023-03-28T05:14:53.888Z] [2023-03-28T05:14:53.888Z] _____ _ [2023-03-28T05:14:53.888Z] / ____| | | [2023-03-28T05:14:53.888Z] | | ___ __| | ___ ___ _____ __ [2023-03-28T05:14:53.888Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-28T05:14:53.888Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-28T05:14:53.888Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-28T05:14:53.888Z] Bash-1.0.6 [2023-03-28T05:14:53.888Z] [2023-03-28T05:14:53.888Z] [2023-03-28T05:14:53.888Z] ==> git version 2.25.1 found [2023-03-28T05:14:53.888Z] ==> 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-03-28T05:14:53.888Z] Release-Date: 2020-01-08 [2023-03-28T05:14:53.888Z] 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-03-28T05:14:53.888Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-28T05:14:53.888Z] ==> Jenkins CI detected. [2023-03-28T05:14:53.888Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1408 [2023-03-28T05:14:53.888Z] project root: . [2023-03-28T05:14:53.888Z] --> token set from env [2023-03-28T05:14:53.888Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-28T05:14:53.888Z] ==> Running gcov in . (disable via -X gcov) [2023-03-28T05:14:53.888Z] ==> Python coveragepy not found [2023-03-28T05:14:53.888Z] ==> Searching for coverage reports in: [2023-03-28T05:14:53.888Z] + . [2023-03-28T05:14:53.888Z] -> Found 1 reports [2023-03-28T05:14:53.888Z] ==> Detecting git/mercurial file structure [2023-03-28T05:14:53.888Z] ==> Reading reports [2023-03-28T05:14:53.888Z] + ./coverage.out bytes=106714 [2023-03-28T05:14:53.888Z] ==> Appending adjustments [2023-03-28T05:14:53.888Z] https://docs.codecov.io/docs/fixing-reports [2023-03-28T05:14:54.149Z] + Found adjustments [2023-03-28T05:14:54.149Z] ==> Gzipping contents [2023-03-28T05:14:54.409Z] 16K /tmp/codecov.PwddOS.gz [2023-03-28T05:14:54.409Z] ==> Uploading reports [2023-03-28T05:14:54.409Z] url: https://codecov.io [2023-03-28T05:14:54.409Z] query: branch=PR-1408&commit=5c21faf5717da52a6d682ddc928ddc395af60b66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1408&job=&cmd_args= [2023-03-28T05:14:54.409Z] -> Pinging Codecov [2023-03-28T05:14:54.409Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1408&commit=5c21faf5717da52a6d682ddc928ddc395af60b66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1408&job=&cmd_args= [2023-03-28T05:14:54.409Z] -> Uploading to [2023-03-28T05:14:54.409Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-28/7E55EF52A471D76F132DFD9A03CDDE97/5c21faf5717da52a6d682ddc928ddc395af60b66/c8453e97-320d-4bdd-9f1c-dbed91d926e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T051454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9775fe986a80678a7c56a636b0baf2b156b6545c0d1d1d3e828e1bf5af4e203c [2023-03-28T05:14:54.409Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T05:14:54.409Z] Dload Upload Total Spent Left Speed [2023-03-28T05:14:54.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15124 0 0 100 15124 0 64357 --:--:-- --:--:-- --:--:-- 64357 [2023-03-28T05:14:54.671Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5c21faf5717da52a6d682ddc928ddc395af60b66 [Pipeline] } [2023-03-28T05:14:54.700Z] 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-03-28T05:14:56.493Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives ] [2023-03-28T05:14:56.493Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives [2023-03-28T05:14:56.493Z] total 16 [2023-03-28T05:14:56.493Z] drwxr-xr-x 3 root root 4096 Mar 28 05:01 . [2023-03-28T05:14:56.493Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 05:01 .. [2023-03-28T05:14:56.493Z] drwxr-xr-x 2 root root 4096 Mar 28 05:01 cost [2023-03-28T05:14:56.493Z] -rw-r--r-- 1 root root 86 Mar 28 05:01 cost.csv [2023-03-28T05:14:56.493Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives [2023-03-28T05:14:56.493Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives [2023-03-28T05:14:56.493Z] total 16 [2023-03-28T05:14:56.493Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 05:01 . [2023-03-28T05:14:56.493Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 05:01 .. [2023-03-28T05:14:56.493Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 05:01 cost [2023-03-28T05:14:56.493Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 28 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:14:56.822Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:14:57.714Z] ---> package-listing.sh [2023-03-28T05:14:57.714Z] ++ facter osfamily [2023-03-28T05:14:57.714Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-28T05:14:57.973Z] + OS_FAMILY=debian [2023-03-28T05:14:57.973Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1408 [2023-03-28T05:14:57.973Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-28T05:14:57.973Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-28T05:14:57.973Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-28T05:14:57.973Z] + PACKAGES=/tmp/packages_start.txt [2023-03-28T05:14:57.973Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1408 ']' [2023-03-28T05:14:57.973Z] + PACKAGES=/tmp/packages_end.txt [2023-03-28T05:14:57.973Z] + case "${OS_FAMILY}" in [2023-03-28T05:14:57.973Z] + dpkg -l [2023-03-28T05:14:57.973Z] + grep '^ii' [2023-03-28T05:14:57.973Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-28T05:14:57.973Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-28T05:14:57.973Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-28T05:14:57.973Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1408 ']' [2023-03-28T05:14:57.973Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives/ [2023-03-28T05:14:57.973Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1408/archives/ [Pipeline] echo [2023-03-28T05:14:58.006Z] 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-1408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-28T05:14:58.312Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T05:14:58.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T05:14:58.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T05:14:59.106Z] prd-ubuntu20.04-docker-8c-8g-5986 does not seem to be running inside a container [2023-03-28T05:14:59.132Z] $ 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-1408/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-1408 -v /w/workspace/gexfoundry_device-sdk-go_PR-1408:/w/workspace/gexfoundry_device-sdk-go_PR-1408:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T05:14:59.340Z] $ docker top 2ade1a01dc54b06ebb0181028fe1f5b3a84a487d89150249d105ffe94dae1256 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T05:14:59.745Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-28T05:15:00.057Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-28T05:15:00.373Z] + ls /var/log/sa-host [2023-03-28T05:15:00.373Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T05:15:00.531Z] provisioning config files... [2023-03-28T05:15:00.540Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1408@tmp/config1071441663255323507tmp [Pipeline] { [Pipeline] echo [2023-03-28T05:15:00.591Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:15:00.899Z] ---> create-netrc.sh [Pipeline] } [2023-03-28T05:15:00.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:15:01.338Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-28T05:15:01.381Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:15:01.692Z] ---> sudo-logs.sh [2023-03-28T05:15:01.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-28T05:15:01.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:15:02.078Z] ---> job-cost.sh [2023-03-28T05:15:02.078Z] lf-activate-venv: SKIPPING [2023-03-28T05:15:02.078Z] DEBUG: total: 0.2199999988079071 [2023-03-28T05:15:02.078Z] INFO: Retrieving Stack Cost... [2023-03-28T05:15:02.645Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T05:15:02.903Z] INFO: Archiving Costs [Pipeline] echo [2023-03-28T05:15:02.940Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T05:15:03.246Z] ---> logs-deploy.sh [2023-03-28T05:15:03.246Z] lf-activate-venv: SKIPPING [2023-03-28T05:15:03.246Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1408/1 [2023-03-28T05:15:03.246Z] INFO: archiving workspace using pattern(s): [2023-03-28T05:15:04.184Z] Archives upload complete. [2023-03-28T05:15:04.444Z] INFO: archiving logs to Nexus