Pull request #1417 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d655b849d53b45afc9704737130f725e61250280+5b5907fa8314056950bcd679d495ce1473a19c65 (a838719fefcb0f2223fa1878442e822b5b7ca948) 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-ssh8824144810713903967.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-ssh7432785047446567189.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-1417/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-1417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14268275612693521088.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-1417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7499611582641300819.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-ssh7483172180653165711.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-1417/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-1417/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16771928429662815984.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7078 in /w/workspace/gexfoundry_device-sdk-go_PR-1417 [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-1417 # 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/1417/head:refs/remotes/origin/PR-1417 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5b5907fa8314056950bcd679d495ce1473a19c65 into PR head commit d655b849d53b45afc9704737130f725e61250280 Merge succeeded, producing d655b849d53b45afc9704737130f725e61250280 Checking out Revision d655b849d53b45afc9704737130f725e61250280 (PR-1417) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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-04-07T04:59:02.600Z] 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 d655b849d53b45afc9704737130f725e61250280 # 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 5b5907fa8314056950bcd679d495ce1473a19c65 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d655b849d53b45afc9704737130f725e61250280 # timeout=10 [Pipeline] withCredentials [2023-04-07T04:59:02.782Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-07T04:59:02.885Z] ========================================================= [2023-04-07T04:59:02.885Z] EdgeX Global Pipelines Version Info [2023-04-07T04:59:02.885Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-07T04:59:03.605Z] ------------------- [2023-04-07T04:59:03.605Z] stable info: [2023-04-07T04:59:03.605Z] ------------------- [2023-04-07T04:59:03.605Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-07T04:59:03.605Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T04:59:03.605Z] Message: update stable to v1.0.245 [2023-04-07T04:59:04.173Z] ------------------- [2023-04-07T04:59:04.173Z] experimental info: [2023-04-07T04:59:04.173Z] ------------------- [2023-04-07T04:59:04.173Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-07T04:59:04.173Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-07T04:59:04.173Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-07T04:59:04.478Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-07T04:59:04.525Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-07T04:59:04.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-07T04:59:04.610Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-07T04:59:04.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-07T04:59:04.710Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-07T04:59:04.757Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-07T04:59:04.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-07T04:59:04.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-07T04:59:04.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-07T04:59:04.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-07T04:59:04.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-07T04:59:05.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-07T04:59:05.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-07T04:59:05.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T04:59:05.151Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T04:59:05.197Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T04:59:05.242Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T04:59:05.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-07T04:59:05.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-07T04:59:05.370Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-07T04:59:05.410Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-07T04:59:05.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-07T04:59:05.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-07T04:59:05.534Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-07T04:59:05.575Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-07T04:59:05.618Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-07T04:59:05.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1417 [Pipeline] echo [2023-04-07T04:59:05.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1417 [Pipeline] echo [2023-04-07T04:59:05.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1417 [Pipeline] echo [2023-04-07T04:59:05.781Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d655b849d53b45afc9704737130f725e61250280 [Pipeline] echo [2023-04-07T04:59:05.823Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d655b84 [Pipeline] echo [2023-04-07T04:59:05.862Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T04:59:05.978Z] provisioning config files... [2023-04-07T04:59:05.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/config17417535863025720165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T04:59:06.352Z] ---> docker-login.sh [2023-04-07T04:59:06.352Z] nexus3.edgexfoundry.org:10001 [2023-04-07T04:59:06.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:06.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:06.873Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:06.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:06.873Z] [2023-04-07T04:59:06.873Z] Login Succeeded [2023-04-07T04:59:06.873Z] nexus3.edgexfoundry.org:10002 [2023-04-07T04:59:06.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:06.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:06.873Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:06.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:06.873Z] [2023-04-07T04:59:06.873Z] Login Succeeded [2023-04-07T04:59:06.873Z] nexus3.edgexfoundry.org:10003 [2023-04-07T04:59:07.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:07.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:07.134Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:07.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:07.134Z] [2023-04-07T04:59:07.134Z] Login Succeeded [2023-04-07T04:59:07.134Z] nexus3.edgexfoundry.org:10004 [2023-04-07T04:59:07.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:07.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:07.134Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:07.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:07.134Z] [2023-04-07T04:59:07.134Z] Login Succeeded [2023-04-07T04:59:07.134Z] docker.io [2023-04-07T04:59:07.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:07.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:07.656Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:07.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:07.656Z] [2023-04-07T04:59:07.656Z] Login Succeeded [2023-04-07T04:59:07.656Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T04:59:07.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-07T04:59:08.327Z] + git rev-list -1 --merges d655b849d53b45afc9704737130f725e61250280~1..d655b849d53b45afc9704737130f725e61250280 [Pipeline] echo [2023-04-07T04:59:08.388Z] -----------> git rev-list -1 --merges d655b849d53b45afc9704737130f725e61250280~1..d655b849d53b45afc9704737130f725e61250280 d655b849d53b45afc9704737130f725e61250280 [false] [Pipeline] sh [2023-04-07T04:59:08.692Z] + git log --format=format:%s -1 d655b849d53b45afc9704737130f725e61250280 [Pipeline] echo [2023-04-07T04:59:08.731Z] ========================================================= [2023-04-07T04:59:08.731Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-07T04:59:08.731Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T04:59:09.163Z] + git log --format=format:%s -1 d655b849d53b45afc9704737130f725e61250280 [Pipeline] echo [2023-04-07T04:59:09.194Z] [semverPrep] GIT_COMMIT: d655b849d53b45afc9704737130f725e61250280, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-07T04:59:09.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-07T04:59:09.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-07T04:59:09.609Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-07T04:59:09.609Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-07T04:59:09.609Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-07T04:59:09.609Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-07T04:59:09.609Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-07T04:59:09.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T04:59:10.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T04:59:10.104Z] [2023-04-07T04:59:10.104Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T04:59:10.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T04:59:10.472Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-07T04:59:10.472Z] b85a868b505f: Pulling fs layer [2023-04-07T04:59:10.472Z] e2be974225ed: Pulling fs layer [2023-04-07T04:59:10.472Z] 339a4e72a1f5: Pulling fs layer [2023-04-07T04:59:10.472Z] 988bab9f4d93: Pulling fs layer [2023-04-07T04:59:10.472Z] 1469e6f7b9e6: Pulling fs layer [2023-04-07T04:59:10.472Z] eaf3925da568: Pulling fs layer [2023-04-07T04:59:10.472Z] bab4dde63d76: Pulling fs layer [2023-04-07T04:59:10.472Z] bde34c3a00c8: Pulling fs layer [2023-04-07T04:59:10.472Z] b352a97aabf1: Pulling fs layer [2023-04-07T04:59:10.472Z] 4872d77fe225: Pulling fs layer [2023-04-07T04:59:10.472Z] 5851b861e8e6: Pulling fs layer [2023-04-07T04:59:10.472Z] eaf3925da568: Waiting [2023-04-07T04:59:10.472Z] bab4dde63d76: Waiting [2023-04-07T04:59:10.472Z] bde34c3a00c8: Waiting [2023-04-07T04:59:10.472Z] b352a97aabf1: Waiting [2023-04-07T04:59:10.472Z] 4872d77fe225: Waiting [2023-04-07T04:59:10.472Z] 5851b861e8e6: Waiting [2023-04-07T04:59:10.472Z] 1469e6f7b9e6: Waiting [2023-04-07T04:59:10.472Z] e2be974225ed: Verifying Checksum [2023-04-07T04:59:10.472Z] e2be974225ed: Download complete [2023-04-07T04:59:10.472Z] 988bab9f4d93: Verifying Checksum [2023-04-07T04:59:10.472Z] 988bab9f4d93: Download complete [2023-04-07T04:59:10.472Z] 339a4e72a1f5: Verifying Checksum [2023-04-07T04:59:10.472Z] 339a4e72a1f5: Download complete [2023-04-07T04:59:10.731Z] 1469e6f7b9e6: Verifying Checksum [2023-04-07T04:59:10.731Z] 1469e6f7b9e6: Download complete [2023-04-07T04:59:10.731Z] eaf3925da568: Verifying Checksum [2023-04-07T04:59:10.731Z] eaf3925da568: Download complete [2023-04-07T04:59:10.731Z] bde34c3a00c8: Verifying Checksum [2023-04-07T04:59:10.731Z] bde34c3a00c8: Download complete [2023-04-07T04:59:10.731Z] b352a97aabf1: Download complete [2023-04-07T04:59:10.731Z] 4872d77fe225: Verifying Checksum [2023-04-07T04:59:10.731Z] 4872d77fe225: Download complete [2023-04-07T04:59:10.731Z] 5851b861e8e6: Verifying Checksum [2023-04-07T04:59:10.731Z] 5851b861e8e6: Download complete [2023-04-07T04:59:10.731Z] b85a868b505f: Verifying Checksum [2023-04-07T04:59:10.731Z] b85a868b505f: Download complete [2023-04-07T04:59:10.989Z] bab4dde63d76: Verifying Checksum [2023-04-07T04:59:10.989Z] bab4dde63d76: Download complete [2023-04-07T04:59:11.927Z] b85a868b505f: Pull complete [2023-04-07T04:59:12.221Z] e2be974225ed: Pull complete [2023-04-07T04:59:12.792Z] 339a4e72a1f5: Pull complete [2023-04-07T04:59:12.792Z] 988bab9f4d93: Pull complete [2023-04-07T04:59:13.051Z] 1469e6f7b9e6: Pull complete [2023-04-07T04:59:13.051Z] eaf3925da568: Pull complete [2023-04-07T04:59:14.952Z] bab4dde63d76: Pull complete [2023-04-07T04:59:14.952Z] bde34c3a00c8: Pull complete [2023-04-07T04:59:15.212Z] b352a97aabf1: Pull complete [2023-04-07T04:59:15.212Z] 4872d77fe225: Pull complete [2023-04-07T04:59:15.470Z] 5851b861e8e6: Pull complete [2023-04-07T04:59:15.470Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-07T04:59:15.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T04:59:15.470Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T04:59:15.693Z] prd-ubuntu20.04-docker-8c-8g-7078 does not seem to be running inside a container [2023-04-07T04:59:15.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1417 -v /w/workspace/gexfoundry_device-sdk-go_PR-1417:/w/workspace/gexfoundry_device-sdk-go_PR-1417:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1417@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-04-07T04:59:17.951Z] $ docker top 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 -eo pid,comm [2023-04-07T04:59:18.006Z] 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-04-07T04:59:18.006Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-07T04:59:18.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T04:59:18.134Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T04:59:18.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T04:59:18.246Z] $ docker exec 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 ssh-agent [2023-04-07T04:59:18.351Z] SSH_AUTH_SOCK=/tmp/ssh-Cm1svnzk5qEw/agent.33 [2023-04-07T04:59:18.351Z] SSH_AGENT_PID=39 [2023-04-07T04:59:18.358Z] Running ssh-add (command line suppressed) [2023-04-07T04:59:18.464Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/private_key_7219033102103891985.key (/w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/private_key_7219033102103891985.key) [2023-04-07T04:59:18.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T04:59:18.819Z] + git tag --points-at HEAD [Pipeline] } [2023-04-07T04:59:18.844Z] $ docker exec --env ******** --env ******** 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 ssh-agent -k [2023-04-07T04:59:18.942Z] unset SSH_AUTH_SOCK; [2023-04-07T04:59:18.943Z] unset SSH_AGENT_PID; [2023-04-07T04:59:18.943Z] echo Agent pid 39 killed; [2023-04-07T04:59:18.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-07T04:59:19.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T04:59:19.048Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T04:59:19.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T04:59:19.171Z] $ docker exec 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 ssh-agent [2023-04-07T04:59:19.286Z] SSH_AUTH_SOCK=/tmp/ssh-oRX5x9yIiRf3/agent.71 [2023-04-07T04:59:19.286Z] SSH_AGENT_PID=77 [2023-04-07T04:59:19.290Z] Running ssh-add (command line suppressed) [2023-04-07T04:59:19.405Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/private_key_9372724657661561308.key (/w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/private_key_9372724657661561308.key) [2023-04-07T04:59:19.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T04:59:19.751Z] + git semver init [2023-04-07T04:59:20.011Z] 2023-04-07 04:59:19,925 [run_init] DEBUG init version:0.0.0 force:False [2023-04-07T04:59:20.011Z] 2023-04-07 04:59:19,926 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver [2023-04-07T04:59:20.011Z] 2023-04-07 04:59:19,927 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver [2023-04-07T04:59:20.011Z] 2023-04-07 04:59:19,927 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1417, universal_newlines=False, shell=None, istream=None) [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,814 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1417/.git/info/exclude [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,815 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver/PR-1417 with force:False [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,815 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver/PR-1417 [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,819 [execute] INFO git cat-file --batch-check [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,827 [execute] INFO git cat-file --batch [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T04:59:20.953Z] 2023-04-07 04:59:20,832 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1417/.semver/PR-1417 [2023-04-07T04:59:20.953Z] 0.0.0 [Pipeline] } [2023-04-07T04:59:20.983Z] $ docker exec --env ******** --env ******** 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 ssh-agent -k [2023-04-07T04:59:21.081Z] unset SSH_AUTH_SOCK; [2023-04-07T04:59:21.081Z] unset SSH_AGENT_PID; [2023-04-07T04:59:21.082Z] echo Agent pid 77 killed; [2023-04-07T04:59:21.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-07T04:59:21.511Z] + git semver [Pipeline] } [2023-04-07T04:59:21.796Z] $ docker stop --time=1 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 [2023-04-07T04:59:23.086Z] $ docker rm -f --volumes 96264151b8eb7326f25747efdb1ae2e8370caa0cfb7b9fb4a1fea3335518e4c3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T04:59:23.473Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-07T04:59:23.730Z] Stashed 1 file(s) [Pipeline] echo [2023-04-07T04:59:23.746Z] [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-04-07T04:59:24.343Z] provisioning config files... [2023-04-07T04:59:24.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/config3601283242849804069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T04:59:24.698Z] ---> docker-login.sh [2023-04-07T04:59:24.699Z] nexus3.edgexfoundry.org:10001 [2023-04-07T04:59:24.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:24.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:24.699Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:24.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:24.699Z] [2023-04-07T04:59:24.699Z] Login Succeeded [2023-04-07T04:59:24.699Z] nexus3.edgexfoundry.org:10002 [2023-04-07T04:59:24.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:24.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:24.699Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:24.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:24.699Z] [2023-04-07T04:59:24.699Z] Login Succeeded [2023-04-07T04:59:24.699Z] nexus3.edgexfoundry.org:10003 [2023-04-07T04:59:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:24.958Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:24.958Z] [2023-04-07T04:59:24.958Z] Login Succeeded [2023-04-07T04:59:24.958Z] nexus3.edgexfoundry.org:10004 [2023-04-07T04:59:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:24.958Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:24.958Z] [2023-04-07T04:59:24.958Z] Login Succeeded [2023-04-07T04:59:24.958Z] docker.io [2023-04-07T04:59:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T04:59:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T04:59:25.217Z] Configure a credential helper to remove this warning. See [2023-04-07T04:59:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T04:59:25.217Z] [2023-04-07T04:59:25.217Z] Login Succeeded [2023-04-07T04:59:25.217Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T04:59:25.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T04:59:25.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T04:59:25.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T04:59:25.509Z] ========================================================= [2023-04-07T04:59:25.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-07T04:59:25.509Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T04:59:25.976Z] + 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-04-07T04:59:25.976Z] Sending build context to Docker daemon 10.92MB [2023-04-07T04:59:25.976Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T04:59:25.976Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-07T04:59:25.976Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-07T04:59:25.976Z] 63b65145d645: Pulling fs layer [2023-04-07T04:59:25.976Z] a2d21d5440eb: Pulling fs layer [2023-04-07T04:59:25.976Z] 935e6c44a52c: Pulling fs layer [2023-04-07T04:59:25.976Z] 94cc34f8dd06: Pulling fs layer [2023-04-07T04:59:25.976Z] 30dea6a524f1: Pulling fs layer [2023-04-07T04:59:25.976Z] a2aff8979fd8: Pulling fs layer [2023-04-07T04:59:25.976Z] 30dea6a524f1: Waiting [2023-04-07T04:59:25.976Z] 94cc34f8dd06: Waiting [2023-04-07T04:59:25.976Z] 6808be2612f2: Pulling fs layer [2023-04-07T04:59:25.976Z] f25807f1079a: Pulling fs layer [2023-04-07T04:59:25.976Z] 6808be2612f2: Waiting [2023-04-07T04:59:25.976Z] f25807f1079a: Waiting [2023-04-07T04:59:26.235Z] a2d21d5440eb: Verifying Checksum [2023-04-07T04:59:26.235Z] a2d21d5440eb: Download complete [2023-04-07T04:59:26.235Z] 94cc34f8dd06: Verifying Checksum [2023-04-07T04:59:26.235Z] 94cc34f8dd06: Download complete [2023-04-07T04:59:26.235Z] 30dea6a524f1: Download complete [2023-04-07T04:59:26.235Z] 63b65145d645: Verifying Checksum [2023-04-07T04:59:26.235Z] 63b65145d645: Download complete [2023-04-07T04:59:26.235Z] a2aff8979fd8: Verifying Checksum [2023-04-07T04:59:26.235Z] a2aff8979fd8: Download complete [2023-04-07T04:59:26.235Z] 63b65145d645: Pull complete [2023-04-07T04:59:26.496Z] a2d21d5440eb: Pull complete [2023-04-07T04:59:26.496Z] f25807f1079a: Verifying Checksum [2023-04-07T04:59:26.496Z] f25807f1079a: Download complete [2023-04-07T04:59:26.756Z] 935e6c44a52c: Verifying Checksum [2023-04-07T04:59:26.756Z] 935e6c44a52c: Download complete [2023-04-07T04:59:27.014Z] 6808be2612f2: Verifying Checksum [2023-04-07T04:59:27.014Z] 6808be2612f2: Download complete [2023-04-07T04:59:30.295Z] 935e6c44a52c: Pull complete [2023-04-07T04:59:30.295Z] 94cc34f8dd06: Pull complete [2023-04-07T04:59:30.295Z] 30dea6a524f1: Pull complete [2023-04-07T04:59:30.554Z] a2aff8979fd8: Pull complete [2023-04-07T04:59:33.085Z] 6808be2612f2: Pull complete [2023-04-07T04:59:33.654Z] f25807f1079a: Pull complete [2023-04-07T04:59:33.654Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-07T04:59:33.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-07T04:59:33.654Z] ---> 3b553350e43f [2023-04-07T04:59:33.654Z] Step 3/10 : ARG MAKE=make build [2023-04-07T04:59:37.012Z] ---> Running in bac901f6b230 [2023-04-07T04:59:37.012Z] Removing intermediate container bac901f6b230 [2023-04-07T04:59:37.012Z] ---> 0ac868a3c9b9 [2023-04-07T04:59:37.012Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-07T04:59:37.271Z] ---> Running in 5891b1cc596f [2023-04-07T04:59:37.271Z] Removing intermediate container 5891b1cc596f [2023-04-07T04:59:37.271Z] ---> be1b513a5241 [2023-04-07T04:59:37.271Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T04:59:37.271Z] ---> Running in 311bf77ba112 [2023-04-07T04:59:37.271Z] Removing intermediate container 311bf77ba112 [2023-04-07T04:59:37.271Z] ---> d67d9f2d647b [2023-04-07T04:59:37.271Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-07T04:59:37.531Z] ---> Running in 0a5ce0b80662 [2023-04-07T04:59:37.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T04:59:37.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T04:59:38.049Z] OK: 265 MiB in 53 packages [2023-04-07T04:59:38.308Z] Removing intermediate container 0a5ce0b80662 [2023-04-07T04:59:38.308Z] ---> faa811d8068c [2023-04-07T04:59:38.308Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-07T04:59:38.567Z] ---> 20a4be0049b0 [2023-04-07T04:59:38.567Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T04:59:38.567Z] ---> Running in 6e366f62c2da [2023-04-07T04:59:39.163Z] Still waiting to schedule task [2023-04-07T04:59:39.163Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-07T05:00:05.373Z] Removing intermediate container 6e366f62c2da [2023-04-07T05:00:05.373Z] ---> 57976cd8aa55 [2023-04-07T05:00:05.373Z] Step 9/10 : COPY . . [2023-04-07T05:00:05.373Z] ---> f318bb95baa9 [2023-04-07T05:00:05.373Z] Step 10/10 : RUN ${MAKE} [2023-04-07T05:00:05.373Z] ---> Running in 54fe384f7dfb [2023-04-07T05:00:05.373Z] noop [2023-04-07T05:00:05.373Z] Removing intermediate container 54fe384f7dfb [2023-04-07T05:00:05.373Z] ---> c61dae6dcf04 [2023-04-07T05:00:05.373Z] Successfully built c61dae6dcf04 [2023-04-07T05:00:05.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:00:05.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T05:00:05.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:00:05.983Z] prd-ubuntu20.04-docker-8c-8g-7078 does not seem to be running inside a container [2023-04-07T05:00:06.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1417 -v /w/workspace/gexfoundry_device-sdk-go_PR-1417:/w/workspace/gexfoundry_device-sdk-go_PR-1417:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1417@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-04-07T05:00:06.424Z] $ docker top d58e90bbdf007b1db06c2661a00ae91479a5e88baaaa0eca29ef8be14e5870f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T05:00:06.814Z] + go version [2023-04-07T05:00:06.814Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-07T05:00:06.842Z] $ docker stop --time=1 d58e90bbdf007b1db06c2661a00ae91479a5e88baaaa0eca29ef8be14e5870f8 [2023-04-07T05:00:08.106Z] $ docker rm -f --volumes d58e90bbdf007b1db06c2661a00ae91479a5e88baaaa0eca29ef8be14e5870f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:00:08.804Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T05:00:08.804Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:00:08.949Z] prd-ubuntu20.04-docker-8c-8g-7078 does not seem to be running inside a container [2023-04-07T05:00:08.980Z] $ 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-1417 -v /w/workspace/gexfoundry_device-sdk-go_PR-1417:/w/workspace/gexfoundry_device-sdk-go_PR-1417:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1417@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-04-07T05:00:09.308Z] $ docker top 6194accefadb34f8e92ad29f03fbf57a1a1872c87fac1ae1a57bcc43d6ce4e28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T05:00:09.703Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1417 [Pipeline] fileExists [Pipeline] sh [2023-04-07T05:00:10.061Z] + make test [2023-04-07T05:00:10.061Z] go test -race -coverprofile=coverage.out ./... [2023-04-07T05:00:18.178Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-07T05:00:33.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-07T05:00:33.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 79.9% of statements [2023-04-07T05:00:33.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-07T05:00:33.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 75.7% of statements [2023-04-07T05:00:33.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-07T05:00:33.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-07T05:00:33.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-07T05:00:34.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-07T05:00:36.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 14.9% of statements [2023-04-07T05:00:36.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 68.5% of statements [2023-04-07T05:00:36.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements [2023-04-07T05:00:36.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-04-07T05:00:58.512Z] GO111MODULE=on go vet ./... [2023-04-07T05:01:01.795Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T05:01:01.795Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T05:01:01.795Z] ./bin/test-attribution-txt.sh [2023-04-07T05:01:01.795Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T05:01:01.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T05:01:01.869Z] $ docker stop --time=1 6194accefadb34f8e92ad29f03fbf57a1a1872c87fac1ae1a57bcc43d6ce4e28 [2023-04-07T05:01:05.775Z] $ docker rm -f --volumes 6194accefadb34f8e92ad29f03fbf57a1a1872c87fac1ae1a57bcc43d6ce4e28 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T05:01:06.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T05:01:06.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-07T05:01:07.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T05:01:07.509Z] + ls -al . [2023-04-07T05:01:07.509Z] total 276 [2023-04-07T05:01:07.509Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 05:00 . [2023-04-07T05:01:07.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:59 .. [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 04:59 .dockerignore [2023-04-07T05:01:07.509Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 04:59 .git [2023-04-07T05:01:07.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:59 .github [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 7 04:59 .gitignore [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 04:59 .golangci.yml [2023-04-07T05:01:07.509Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 04:59 .semver [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 7 04:59 CHANGELOG.md [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 04:59 GOVERNANCE.md [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 7 04:59 Jenkinsfile [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 04:59 LICENSE [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 7 04:59 Makefile [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 7 04:59 OWNERS.md [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 7 04:59 README.md [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 04:59 VERSION [2023-04-07T05:01:07.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:59 bin [2023-04-07T05:01:07.509Z] -rw-r--r-- 1 jenkins jenkins 106712 Apr 7 05:00 coverage.out [2023-04-07T05:01:07.509Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 04:59 example [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 7 04:59 go.mod [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 7 04:59 go.sum [2023-04-07T05:01:07.509Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 04:59 internal [2023-04-07T05:01:07.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:59 openapi [2023-04-07T05:01:07.509Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 04:59 pkg [2023-04-07T05:01:07.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:59 snap [2023-04-07T05:01:07.509Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:01:07.928Z] + 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=d655b849d53b45afc9704737130f725e61250280 --label arch=amd64 --label version=0.0.0 . [2023-04-07T05:01:07.928Z] Sending build context to Docker daemon 11.03MB [2023-04-07T05:01:07.928Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T05:01:07.928Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-07T05:01:07.928Z] ---> c61dae6dcf04 [2023-04-07T05:01:07.928Z] Step 3/23 : ARG MAKE=make build [2023-04-07T05:01:08.187Z] ---> Running in e7be743b4ffa [2023-04-07T05:01:08.187Z] Removing intermediate container e7be743b4ffa [2023-04-07T05:01:08.187Z] ---> 544dff776ddf [2023-04-07T05:01:08.187Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-07T05:01:08.187Z] ---> Running in d4cb81503419 [2023-04-07T05:01:08.451Z] Removing intermediate container d4cb81503419 [2023-04-07T05:01:08.451Z] ---> c1aea684d881 [2023-04-07T05:01:08.451Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T05:01:08.451Z] ---> Running in 7d6ca1524b51 [2023-04-07T05:01:08.451Z] Removing intermediate container 7d6ca1524b51 [2023-04-07T05:01:08.451Z] ---> 7b8683d7b9de [2023-04-07T05:01:08.451Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-07T05:01:08.451Z] ---> Running in 3a05144c62a0 [2023-04-07T05:01:08.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T05:01:08.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T05:01:09.231Z] OK: 265 MiB in 53 packages [2023-04-07T05:01:09.489Z] Removing intermediate container 3a05144c62a0 [2023-04-07T05:01:09.489Z] ---> 0dac3ef64fa1 [2023-04-07T05:01:09.489Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-07T05:01:09.748Z] ---> ba358cdb7fb3 [2023-04-07T05:01:09.748Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T05:01:09.748Z] ---> Running in 88662209fd98 [2023-04-07T05:01:10.684Z] Removing intermediate container 88662209fd98 [2023-04-07T05:01:10.684Z] ---> 72a287103bd8 [2023-04-07T05:01:10.684Z] Step 9/23 : COPY . . [2023-04-07T05:01:11.255Z] ---> 9c1b7250cb51 [2023-04-07T05:01:11.255Z] Step 10/23 : RUN ${MAKE} [2023-04-07T05:01:11.255Z] ---> Running in b76f26118517 [2023-04-07T05:01:11.255Z] 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-04-07T05:01:30.224Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7080 in /w/workspace/gexfoundry_device-sdk-go_PR-1417 [Pipeline] { [Pipeline] ws [2023-04-07T05:01:30.283Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-07T05:01:30.358Z] The recommended git tool is: git [2023-04-07T05:01:33.692Z] Removing intermediate container b76f26118517 [2023-04-07T05:01:33.692Z] ---> c34bd70a5a62 [2023-04-07T05:01:33.692Z] Step 11/23 : FROM alpine:3.17 [2023-04-07T05:01:33.692Z] 3.17: Pulling from library/alpine [2023-04-07T05:01:33.692Z] f56be85fc22e: Pulling fs layer [2023-04-07T05:01:33.692Z] f56be85fc22e: Download complete [2023-04-07T05:01:33.692Z] f56be85fc22e: Pull complete [2023-04-07T05:01:33.692Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T05:01:33.692Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T05:01:33.692Z] ---> 9ed4aefc74f6 [2023-04-07T05:01:33.692Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-07T05:01:33.692Z] ---> Running in 3943bfb4fff1 [2023-04-07T05:01:33.692Z] Removing intermediate container 3943bfb4fff1 [2023-04-07T05:01:33.692Z] ---> 3f938b7ae8bd [2023-04-07T05:01:33.692Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-07T05:01:33.692Z] ---> Running in c7cf0072636f [2023-04-07T05:01:33.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T05:01:33.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T05:01:33.692Z] OK: 7 MiB in 15 packages [2023-04-07T05:01:33.692Z] Removing intermediate container c7cf0072636f [2023-04-07T05:01:33.692Z] ---> 0a3f31b8b3b2 [2023-04-07T05:01:33.692Z] Step 14/23 : WORKDIR / [2023-04-07T05:01:33.692Z] ---> Running in 635cac4d149b [2023-04-07T05:01:33.692Z] Removing intermediate container 635cac4d149b [2023-04-07T05:01:33.692Z] ---> 8929f06a5260 [2023-04-07T05:01:33.692Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-07T05:01:33.692Z] ---> 83b4351cc132 [2023-04-07T05:01:33.692Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-07T05:01:33.955Z] ---> df67a20b606a [2023-04-07T05:01:33.955Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-07T05:01:34.220Z] ---> 915ff22e9aa7 [2023-04-07T05:01:34.220Z] Step 18/23 : EXPOSE 59999 [2023-04-07T05:01:34.220Z] ---> Running in 9d8610b9a9ea [2023-04-07T05:01:34.220Z] Removing intermediate container 9d8610b9a9ea [2023-04-07T05:01:34.220Z] ---> 1da1eabfde7c [2023-04-07T05:01:34.220Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-07T05:01:34.220Z] ---> Running in a5ecc3cf3473 [2023-04-07T05:01:34.478Z] Removing intermediate container a5ecc3cf3473 [2023-04-07T05:01:34.478Z] ---> 2124ba0fb259 [2023-04-07T05:01:34.478Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-07T05:01:34.478Z] ---> Running in 0b533e05c30e [2023-04-07T05:01:34.478Z] Removing intermediate container 0b533e05c30e [2023-04-07T05:01:34.478Z] ---> 67340c3c4e09 [2023-04-07T05:01:34.478Z] Step 21/23 : LABEL arch=amd64 [2023-04-07T05:01:34.478Z] ---> Running in 0b508d15d133 [2023-04-07T05:01:34.478Z] Removing intermediate container 0b508d15d133 [2023-04-07T05:01:34.478Z] ---> 03cc5417e036 [2023-04-07T05:01:34.478Z] Step 22/23 : LABEL git_sha=d655b849d53b45afc9704737130f725e61250280 [2023-04-07T05:01:34.478Z] ---> Running in 7b358bb9eb9d [2023-04-07T05:01:34.737Z] Removing intermediate container 7b358bb9eb9d [2023-04-07T05:01:34.737Z] ---> 1f880e79d776 [2023-04-07T05:01:34.737Z] Step 23/23 : LABEL version=0.0.0 [2023-04-07T05:01:34.737Z] ---> Running in cc2687e61689 [2023-04-07T05:01:34.737Z] Removing intermediate container cc2687e61689 [2023-04-07T05:01:34.737Z] ---> e4b7a0385a5b [2023-04-07T05:01:34.737Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T05:01:34.737Z] Successfully built e4b7a0385a5b [2023-04-07T05:01:34.737Z] 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-04-07T05:01:35.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T05:01:35.587Z] [2023-04-07T05:01:35.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:01:35.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T05:01:35.969Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-07T05:01:35.969Z] 5eb5b503b376: Pulling fs layer [2023-04-07T05:01:35.969Z] 5c69ac0246d0: Pulling fs layer [2023-04-07T05:01:35.969Z] ec43610c2a17: Pulling fs layer [2023-04-07T05:01:35.969Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-07T05:01:35.969Z] 33b1e0a273af: Pulling fs layer [2023-04-07T05:01:35.969Z] 5d3b04190fa2: Pulling fs layer [2023-04-07T05:01:35.969Z] 2f39f015ded8: Pulling fs layer [2023-04-07T05:01:35.969Z] 3a2ae6a8a46f: Waiting [2023-04-07T05:01:35.969Z] 33b1e0a273af: Waiting [2023-04-07T05:01:35.969Z] 5d3b04190fa2: Waiting [2023-04-07T05:01:35.969Z] 2f39f015ded8: Waiting [2023-04-07T05:01:35.969Z] 5c69ac0246d0: Verifying Checksum [2023-04-07T05:01:35.969Z] 5c69ac0246d0: Download complete [2023-04-07T05:01:35.969Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-07T05:01:35.969Z] 3a2ae6a8a46f: Download complete [2023-04-07T05:01:35.969Z] ec43610c2a17: Verifying Checksum [2023-04-07T05:01:35.969Z] ec43610c2a17: Download complete [2023-04-07T05:01:35.969Z] 5d3b04190fa2: Download complete [2023-04-07T05:01:36.226Z] 33b1e0a273af: Download complete [2023-04-07T05:01:36.226Z] 5eb5b503b376: Verifying Checksum [2023-04-07T05:01:36.226Z] 5eb5b503b376: Download complete [2023-04-07T05:01:36.789Z] 2f39f015ded8: Download complete [2023-04-07T05:01:37.354Z] 5eb5b503b376: Pull complete [2023-04-07T05:01:37.469Z] using credential edgex-jenkins-ssh [2023-04-07T05:01:37.493Z] Cloning the remote Git repository [2023-04-07T05:01:37.612Z] 5c69ac0246d0: Pull complete [2023-04-07T05:01:37.565Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-07T05:01:37.692Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-07T05:01:37.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-07T05:01:37.840Z] > git --version # timeout=10 [2023-04-07T05:01:37.862Z] > git --version # 'git version 2.25.1' [2023-04-07T05:01:37.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T05:01:38.180Z] ec43610c2a17: Pull complete [2023-04-07T05:01:38.180Z] 3a2ae6a8a46f: Pull complete [2023-04-07T05:01:38.180Z] 33b1e0a273af: Pull complete [2023-04-07T05:01:38.439Z] 5d3b04190fa2: Pull complete [2023-04-07T05:01:38.019Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T05:01:39.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-07T05:01:39.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T05:01:40.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-07T05:01:40.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-07T05:01:40.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T05:01:40.571Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1417/head:refs/remotes/origin/PR-1417 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-07T05:01:41.173Z] Merging remotes/origin/main commit 5b5907fa8314056950bcd679d495ce1473a19c65 into PR head commit d655b849d53b45afc9704737130f725e61250280 [2023-04-07T05:01:41.526Z] Merge succeeded, producing d655b849d53b45afc9704737130f725e61250280 [2023-04-07T05:01:41.527Z] Checking out Revision d655b849d53b45afc9704737130f725e61250280 (PR-1417) [2023-04-07T05:01:42.053Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-07T05:01:42.112Z] > git --version # timeout=10 [2023-04-07T05:01:42.122Z] > git --version # 'git version 2.25.1' [2023-04-07T05:01:42.149Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T05:01:41.195Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T05:01:41.274Z] > git checkout -f d655b849d53b45afc9704737130f725e61250280 # timeout=10 [2023-04-07T05:01:41.416Z] > git remote # timeout=10 [2023-04-07T05:01:41.437Z] > git config --get remote.origin.url # timeout=10 [2023-04-07T05:01:41.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T05:01:41.482Z] > git merge 5b5907fa8314056950bcd679d495ce1473a19c65 # timeout=10 [2023-04-07T05:01:41.507Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-07T05:01:41.537Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T05:01:41.551Z] > git checkout -f d655b849d53b45afc9704737130f725e61250280 # timeout=10 [2023-04-07T05:01:42.457Z] [2023-04-07T05:01:42.457Z] GitHub has been notified of this commit’s build result [2023-04-07T05:01:42.457Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-04-07T05:01:42.622Z] 2f39f015ded8: Pull complete [2023-04-07T05:01:42.622Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-07T05:01:42.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T05:01:42.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:01:42.804Z] prd-ubuntu20.04-docker-8c-8g-7078 does not seem to be running inside a container [2023-04-07T05:01:42.831Z] $ 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-1417 -v /w/workspace/gexfoundry_device-sdk-go_PR-1417:/w/workspace/gexfoundry_device-sdk-go_PR-1417:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1417@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-04-07T05:01:45.775Z] $ docker top 86cd6c4da87370be56db7c83ffdfd34afbe94e98b4c059b39789606a48ff9df8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T05:01:46.223Z] ---> job-cost.sh [2023-04-07T05:01:46.223Z] lf-activate-venv: SKIPPING [2023-04-07T05:01:46.223Z] INFO: No Stack... [2023-04-07T05:01:46.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T05:01:46.500Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-07T05:01:46.501Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T05:01:46.501Z] Dload Upload Total Spent Left Speed [2023-04-07T05:01:46.501Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-04-07T05:01:47.048Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T05:01:47.101Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-07T05:01:47.363Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives/cost.csv [2023-04-07T05:01:47.363Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T05:01:47.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] [2023-04-07T05:01:47.410Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] did not exist. Created. [2023-04-07T05:01:47.410Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-04-07T05:01:47.498Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-07T05:01:47.498Z] + sudo tee /etc/docker/daemon.new [2023-04-07T05:01:47.498Z] { [2023-04-07T05:01:47.498Z] "registry-mirrors": [ [2023-04-07T05:01:47.498Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-07T05:01:47.498Z] ], [2023-04-07T05:01:47.498Z] "bip": "10.250.0.254/24", [2023-04-07T05:01:47.498Z] "hosts": [ [2023-04-07T05:01:47.498Z] "tcp://0.0.0.0:5555", [2023-04-07T05:01:47.498Z] "unix:///var/run/docker.sock" [2023-04-07T05:01:47.498Z] ], [2023-04-07T05:01:47.498Z] "mtu": 1458, [2023-04-07T05:01:47.498Z] "selinux-enabled": true, [2023-04-07T05:01:47.498Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-07T05:01:47.498Z] } [Pipeline] sh [Pipeline] sh [2023-04-07T05:01:47.850Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-07T05:01:47.881Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-07T05:01:48.018Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T05:01:48.044Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T05:01:48.129Z] $ docker stop --time=1 86cd6c4da87370be56db7c83ffdfd34afbe94e98b4c059b39789606a48ff9df8 [2023-04-07T05:01:48.205Z] + sudo service docker restart [2023-04-07T05:01:49.293Z] $ docker rm -f --volumes 86cd6c4da87370be56db7c83ffdfd34afbe94e98b4c059b39789606a48ff9df8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T05:02:06.511Z] provisioning config files... [2023-04-07T05:02:06.547Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16961106701979503994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:02:06.951Z] ---> docker-login.sh [2023-04-07T05:02:06.951Z] nexus3.edgexfoundry.org:10001 [2023-04-07T05:02:07.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T05:02:07.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T05:02:07.499Z] Configure a credential helper to remove this warning. See [2023-04-07T05:02:07.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T05:02:07.499Z] [2023-04-07T05:02:07.499Z] Login Succeeded [2023-04-07T05:02:07.499Z] nexus3.edgexfoundry.org:10002 [2023-04-07T05:02:07.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T05:02:08.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T05:02:08.043Z] Configure a credential helper to remove this warning. See [2023-04-07T05:02:08.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T05:02:08.043Z] [2023-04-07T05:02:08.043Z] Login Succeeded [2023-04-07T05:02:08.043Z] nexus3.edgexfoundry.org:10003 [2023-04-07T05:02:08.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T05:02:08.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T05:02:08.320Z] Configure a credential helper to remove this warning. See [2023-04-07T05:02:08.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T05:02:08.320Z] [2023-04-07T05:02:08.320Z] Login Succeeded [2023-04-07T05:02:08.320Z] nexus3.edgexfoundry.org:10004 [2023-04-07T05:02:08.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T05:02:08.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T05:02:08.594Z] Configure a credential helper to remove this warning. See [2023-04-07T05:02:08.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T05:02:08.594Z] [2023-04-07T05:02:08.594Z] Login Succeeded [2023-04-07T05:02:08.594Z] docker.io [2023-04-07T05:02:08.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T05:02:09.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T05:02:09.134Z] Configure a credential helper to remove this warning. See [2023-04-07T05:02:09.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T05:02:09.134Z] [2023-04-07T05:02:09.134Z] Login Succeeded [2023-04-07T05:02:09.134Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T05:02:09.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T05:02:09.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T05:02:09.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T05:02:09.627Z] ========================================================= [2023-04-07T05:02:09.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-07T05:02:09.627Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:02:10.135Z] + 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-04-07T05:02:10.725Z] Sending build context to Docker daemon 5.864MB [2023-04-07T05:02:10.726Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T05:02:10.726Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-07T05:02:10.726Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-07T05:02:10.726Z] af6eaf76a39c: Pulling fs layer [2023-04-07T05:02:10.726Z] 55522c791124: Pulling fs layer [2023-04-07T05:02:10.726Z] ce5c4a1c91eb: Pulling fs layer [2023-04-07T05:02:10.726Z] 169dfbe0d373: Pulling fs layer [2023-04-07T05:02:10.726Z] e1ff8fa3b103: Pulling fs layer [2023-04-07T05:02:10.726Z] 52ebb69f0ebf: Pulling fs layer [2023-04-07T05:02:10.726Z] 5abe8eddf0d5: Pulling fs layer [2023-04-07T05:02:10.726Z] 169dfbe0d373: Waiting [2023-04-07T05:02:10.726Z] e1ff8fa3b103: Waiting [2023-04-07T05:02:10.726Z] 52ebb69f0ebf: Waiting [2023-04-07T05:02:10.726Z] 5abe8eddf0d5: Waiting [2023-04-07T05:02:10.726Z] 55522c791124: Verifying Checksum [2023-04-07T05:02:10.726Z] 55522c791124: Download complete [2023-04-07T05:02:11.007Z] 169dfbe0d373: Verifying Checksum [2023-04-07T05:02:11.007Z] 169dfbe0d373: Download complete [2023-04-07T05:02:11.007Z] e1ff8fa3b103: Verifying Checksum [2023-04-07T05:02:11.007Z] e1ff8fa3b103: Download complete [2023-04-07T05:02:11.007Z] af6eaf76a39c: Download complete [2023-04-07T05:02:11.989Z] af6eaf76a39c: Pull complete [2023-04-07T05:02:12.265Z] 5abe8eddf0d5: Verifying Checksum [2023-04-07T05:02:12.265Z] 5abe8eddf0d5: Download complete [2023-04-07T05:02:12.537Z] 55522c791124: Pull complete [2023-04-07T05:02:13.508Z] ce5c4a1c91eb: Verifying Checksum [2023-04-07T05:02:13.508Z] ce5c4a1c91eb: Download complete [2023-04-07T05:02:13.508Z] 52ebb69f0ebf: Verifying Checksum [2023-04-07T05:02:13.508Z] 52ebb69f0ebf: Download complete [2023-04-07T05:02:25.855Z] ce5c4a1c91eb: Pull complete [2023-04-07T05:02:25.855Z] 169dfbe0d373: Pull complete [2023-04-07T05:02:25.855Z] e1ff8fa3b103: Pull complete [2023-04-07T05:02:32.643Z] 52ebb69f0ebf: Pull complete [2023-04-07T05:02:34.601Z] 5abe8eddf0d5: Pull complete [2023-04-07T05:02:34.601Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-07T05:02:34.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-07T05:02:34.601Z] ---> 6cb57ee374ae [2023-04-07T05:02:34.601Z] Step 3/10 : ARG MAKE=make build [2023-04-07T05:02:36.549Z] ---> Running in f32025961907 [2023-04-07T05:02:36.549Z] Removing intermediate container f32025961907 [2023-04-07T05:02:36.549Z] ---> 80ddd8d84e4b [2023-04-07T05:02:36.549Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-07T05:02:36.549Z] ---> Running in b07136c8f304 [2023-04-07T05:02:36.819Z] Removing intermediate container b07136c8f304 [2023-04-07T05:02:36.819Z] ---> f00102eab17b [2023-04-07T05:02:36.819Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T05:02:36.819Z] ---> Running in 112561c9e68f [2023-04-07T05:02:37.097Z] Removing intermediate container 112561c9e68f [2023-04-07T05:02:37.097Z] ---> 9215b48885cc [2023-04-07T05:02:37.097Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-07T05:02:37.097Z] ---> Running in 30dec162b042 [2023-04-07T05:02:38.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T05:02:39.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T05:02:40.080Z] OK: 263 MiB in 53 packages [2023-04-07T05:02:41.054Z] Removing intermediate container 30dec162b042 [2023-04-07T05:02:41.054Z] ---> f4cc9c5ecb54 [2023-04-07T05:02:41.054Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-07T05:02:41.322Z] ---> aa2da924840b [2023-04-07T05:02:41.322Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T05:02:41.595Z] ---> Running in 59b5703482ee [2023-04-07T05:03:49.483Z] Removing intermediate container 59b5703482ee [2023-04-07T05:03:49.483Z] ---> 1a0433783b8b [2023-04-07T05:03:49.483Z] Step 9/10 : COPY . . [2023-04-07T05:03:49.483Z] ---> 8f30ad8450a1 [2023-04-07T05:03:49.483Z] Step 10/10 : RUN ${MAKE} [2023-04-07T05:03:49.483Z] ---> Running in d7dcd21b1e6f [2023-04-07T05:03:49.483Z] noop [2023-04-07T05:03:49.483Z] Removing intermediate container d7dcd21b1e6f [2023-04-07T05:03:49.483Z] ---> afda49c8b99f [2023-04-07T05:03:49.483Z] Successfully built afda49c8b99f [2023-04-07T05:03:49.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:03:49.972Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T05:03:49.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:03:50.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-7080 does not seem to be running inside a container [2023-04-07T05:03:50.319Z] $ 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-04-07T05:03:52.169Z] $ docker top 1cabadb5a3aff1f7280464ecaaf2d6bc569bd15efa275ae8d61d1679c9f70c2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T05:03:53.048Z] + go version [2023-04-07T05:03:53.048Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-07T05:03:53.086Z] $ docker stop --time=1 1cabadb5a3aff1f7280464ecaaf2d6bc569bd15efa275ae8d61d1679c9f70c2f [2023-04-07T05:03:54.720Z] $ docker rm -f --volumes 1cabadb5a3aff1f7280464ecaaf2d6bc569bd15efa275ae8d61d1679c9f70c2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:03:55.575Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T05:03:55.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:03:55.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-7080 does not seem to be running inside a container [2023-04-07T05:03:55.908Z] $ 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-04-07T05:03:57.089Z] $ docker top 80dd2d03a272d0b7cb008c429cabcb66e275c389ec5421728f8c34cce55c721e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T05:03:57.648Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-07T05:03:58.305Z] + make test [2023-04-07T05:03:58.577Z] go test -race -coverprofile=coverage.out ./... [2023-04-07T05:04:45.457Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-07T05:06:37.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-07T05:06:37.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-07T05:06:37.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-07T05:06:37.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-07T05:06:37.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-07T05:06:39.683Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements [2023-04-07T05:06:45.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.247s coverage: 79.9% of statements [2023-04-07T05:06:57.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-07T05:06:57.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-07T05:06:57.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.332s coverage: 86.0% of statements [2023-04-07T05:07:02.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-07T05:07:02.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.412s coverage: 75.7% of statements [2023-04-07T05:07:06.912Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-07T05:07:07.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-07T05:07:07.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-07T05:07:09.809Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.266s coverage: 14.9% of statements [2023-04-07T05:07:09.809Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.470s coverage: 68.5% of statements [2023-04-07T05:07:11.748Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.436s coverage: 89.2% of statements [2023-04-07T05:07:12.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-07T05:07:12.705Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.5% of statements [2023-04-07T05:07:13.666Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-07T05:07:13.666Z] GO111MODULE=on go vet ./... [2023-04-07T05:09:50.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T05:09:50.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T05:09:50.409Z] ./bin/test-attribution-txt.sh [2023-04-07T05:09:50.409Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T05:09:50.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T05:09:50.491Z] $ docker stop --time=1 80dd2d03a272d0b7cb008c429cabcb66e275c389ec5421728f8c34cce55c721e [2023-04-07T05:09:52.368Z] $ docker rm -f --volumes 80dd2d03a272d0b7cb008c429cabcb66e275c389ec5421728f8c34cce55c721e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T05:09:54.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T05:09:54.106Z] Warning: overwriting stash ‘coverage-report’ [2023-04-07T05:09:54.688Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T05:09:55.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T05:09:55.636Z] + ls -al . [2023-04-07T05:09:55.636Z] total 272 [2023-04-07T05:09:55.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 05:04 . [2023-04-07T05:09:55.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:01 .. [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 05:01 .dockerignore [2023-04-07T05:09:55.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 05:01 .git [2023-04-07T05:09:55.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 05:01 .github [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 7 05:01 .gitignore [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 05:01 .golangci.yml [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 7 05:01 CHANGELOG.md [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 05:01 GOVERNANCE.md [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 7 05:01 Jenkinsfile [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 05:01 LICENSE [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 7 05:01 Makefile [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 7 05:01 OWNERS.md [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 7 05:01 README.md [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 04:59 VERSION [2023-04-07T05:09:55.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 05:01 bin [2023-04-07T05:09:55.636Z] -rw-r--r-- 1 jenkins jenkins 106714 Apr 7 05:07 coverage.out [2023-04-07T05:09:55.636Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 05:01 example [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 7 05:01 go.mod [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 7 05:01 go.sum [2023-04-07T05:09:55.636Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 05:01 internal [2023-04-07T05:09:55.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 05:01 openapi [2023-04-07T05:09:55.636Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 05:01 pkg [2023-04-07T05:09:55.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:01 snap [2023-04-07T05:09:55.636Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:09:56.061Z] + 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=d655b849d53b45afc9704737130f725e61250280 --label arch=arm64 --label version=0.0.0 . [2023-04-07T05:09:56.330Z] Sending build context to Docker daemon 5.972MB [2023-04-07T05:09:56.600Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T05:09:56.600Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-07T05:09:56.600Z] ---> afda49c8b99f [2023-04-07T05:09:56.600Z] Step 3/23 : ARG MAKE=make build [2023-04-07T05:09:56.600Z] ---> Running in cb7c4ed615cf [2023-04-07T05:09:56.869Z] Removing intermediate container cb7c4ed615cf [2023-04-07T05:09:56.869Z] ---> dc914061c33c [2023-04-07T05:09:56.869Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-07T05:09:57.137Z] ---> Running in 3e6ddd1b81a6 [2023-04-07T05:09:57.406Z] Removing intermediate container 3e6ddd1b81a6 [2023-04-07T05:09:57.406Z] ---> 4ec5bd02cae8 [2023-04-07T05:09:57.406Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-07T05:09:57.406Z] ---> Running in c775a26ec0e6 [2023-04-07T05:09:57.677Z] Removing intermediate container c775a26ec0e6 [2023-04-07T05:09:57.677Z] ---> dfed0ddafbfd [2023-04-07T05:09:57.677Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-07T05:09:57.677Z] ---> Running in c76ad8be90c0 [2023-04-07T05:09:58.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T05:09:59.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T05:10:00.650Z] OK: 263 MiB in 53 packages [2023-04-07T05:10:01.236Z] Removing intermediate container c76ad8be90c0 [2023-04-07T05:10:01.237Z] ---> e49fdd3ad504 [2023-04-07T05:10:01.237Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-07T05:10:01.822Z] ---> a6e3842735e5 [2023-04-07T05:10:01.822Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T05:10:01.822Z] ---> Running in df5ca44a2c26 [2023-04-07T05:10:04.404Z] Removing intermediate container df5ca44a2c26 [2023-04-07T05:10:04.404Z] ---> 15a6d05fe540 [2023-04-07T05:10:04.404Z] Step 9/23 : COPY . . [2023-04-07T05:10:05.825Z] ---> 82dab84fec27 [2023-04-07T05:10:05.825Z] Step 10/23 : RUN ${MAKE} [2023-04-07T05:10:05.825Z] ---> Running in 830d3aa00806 [2023-04-07T05:10:06.784Z] 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-04-07T05:12:28.481Z] Removing intermediate container 830d3aa00806 [2023-04-07T05:12:28.481Z] ---> 5614831b6e98 [2023-04-07T05:12:28.481Z] Step 11/23 : FROM alpine:3.17 [2023-04-07T05:12:28.481Z] 3.17: Pulling from library/alpine [2023-04-07T05:12:28.481Z] c41833b44d91: Pulling fs layer [2023-04-07T05:12:28.481Z] c41833b44d91: Verifying Checksum [2023-04-07T05:12:28.481Z] c41833b44d91: Download complete [2023-04-07T05:12:28.481Z] c41833b44d91: Pull complete [2023-04-07T05:12:28.481Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T05:12:28.481Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T05:12:28.481Z] ---> 51e60588ff2c [2023-04-07T05:12:28.481Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-07T05:12:28.481Z] ---> Running in 9c8e8112887e [2023-04-07T05:12:28.481Z] Removing intermediate container 9c8e8112887e [2023-04-07T05:12:28.481Z] ---> bca513d31d63 [2023-04-07T05:12:28.481Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-07T05:12:28.481Z] ---> Running in d77de3806ba8 [2023-04-07T05:12:28.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T05:12:28.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T05:12:28.481Z] OK: 7 MiB in 15 packages [2023-04-07T05:12:28.481Z] Removing intermediate container d77de3806ba8 [2023-04-07T05:12:28.481Z] ---> 15f228e462ce [2023-04-07T05:12:28.481Z] Step 14/23 : WORKDIR / [2023-04-07T05:12:28.481Z] ---> Running in d044a52a44f9 [2023-04-07T05:12:28.481Z] Removing intermediate container d044a52a44f9 [2023-04-07T05:12:28.481Z] ---> cc0f91c8c4d9 [2023-04-07T05:12:28.481Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-07T05:12:28.481Z] ---> e07047992146 [2023-04-07T05:12:28.481Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-07T05:12:29.438Z] ---> e9fe3fc2fb9f [2023-04-07T05:12:29.438Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-07T05:12:29.704Z] ---> 3a206e1e44df [2023-04-07T05:12:29.704Z] Step 18/23 : EXPOSE 59999 [2023-04-07T05:12:29.704Z] ---> Running in d5b919c64e95 [2023-04-07T05:12:30.287Z] Removing intermediate container d5b919c64e95 [2023-04-07T05:12:30.287Z] ---> 00e6bebd0e3f [2023-04-07T05:12:30.287Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-07T05:12:30.287Z] ---> Running in 3dc3231c6633 [2023-04-07T05:12:30.553Z] Removing intermediate container 3dc3231c6633 [2023-04-07T05:12:30.553Z] ---> b2c9dad45b7c [2023-04-07T05:12:30.553Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-07T05:12:30.553Z] ---> Running in 0f8a7078d144 [2023-04-07T05:12:30.819Z] Removing intermediate container 0f8a7078d144 [2023-04-07T05:12:30.819Z] ---> 2adb1c844788 [2023-04-07T05:12:30.819Z] Step 21/23 : LABEL arch=arm64 [2023-04-07T05:12:30.819Z] ---> Running in 7b9414d475f9 [2023-04-07T05:12:31.085Z] Removing intermediate container 7b9414d475f9 [2023-04-07T05:12:31.085Z] ---> d001627c4109 [2023-04-07T05:12:31.085Z] Step 22/23 : LABEL git_sha=d655b849d53b45afc9704737130f725e61250280 [2023-04-07T05:12:31.085Z] ---> Running in 43e178e5a75c [2023-04-07T05:12:31.352Z] Removing intermediate container 43e178e5a75c [2023-04-07T05:12:31.352Z] ---> eb42e28c0a4b [2023-04-07T05:12:31.352Z] Step 23/23 : LABEL version=0.0.0 [2023-04-07T05:12:31.352Z] ---> Running in 04854f8a81c2 [2023-04-07T05:12:31.625Z] Removing intermediate container 04854f8a81c2 [2023-04-07T05:12:31.625Z] ---> fa874285d6ea [2023-04-07T05:12:31.625Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T05:12:31.891Z] Successfully built fa874285d6ea [2023-04-07T05:12:31.891Z] 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-04-07T05:12:32.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T05:12:32.708Z] [2023-04-07T05:12:32.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:12:33.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T05:12:33.107Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-07T05:12:33.107Z] 8998bd30e6a1: Pulling fs layer [2023-04-07T05:12:33.107Z] 04944245beec: Pulling fs layer [2023-04-07T05:12:33.107Z] 699f458cf7ca: Pulling fs layer [2023-04-07T05:12:33.107Z] 765212b225bb: Pulling fs layer [2023-04-07T05:12:33.107Z] f23df028b6ca: Pulling fs layer [2023-04-07T05:12:33.107Z] d65c8cfc05b1: Pulling fs layer [2023-04-07T05:12:33.107Z] 2437ff75d9bd: Pulling fs layer [2023-04-07T05:12:33.107Z] d65c8cfc05b1: Waiting [2023-04-07T05:12:33.107Z] 2437ff75d9bd: Waiting [2023-04-07T05:12:33.107Z] 765212b225bb: Waiting [2023-04-07T05:12:33.107Z] f23df028b6ca: Waiting [2023-04-07T05:12:33.376Z] 04944245beec: Verifying Checksum [2023-04-07T05:12:33.376Z] 04944245beec: Download complete [2023-04-07T05:12:33.376Z] 765212b225bb: Verifying Checksum [2023-04-07T05:12:33.376Z] 765212b225bb: Download complete [2023-04-07T05:12:33.376Z] f23df028b6ca: Verifying Checksum [2023-04-07T05:12:33.376Z] f23df028b6ca: Download complete [2023-04-07T05:12:33.376Z] d65c8cfc05b1: Verifying Checksum [2023-04-07T05:12:33.376Z] d65c8cfc05b1: Download complete [2023-04-07T05:12:33.376Z] 699f458cf7ca: Verifying Checksum [2023-04-07T05:12:33.376Z] 699f458cf7ca: Download complete [2023-04-07T05:12:33.959Z] 8998bd30e6a1: Download complete [2023-04-07T05:12:35.896Z] 2437ff75d9bd: Verifying Checksum [2023-04-07T05:12:35.896Z] 2437ff75d9bd: Download complete [2023-04-07T05:12:37.308Z] 8998bd30e6a1: Pull complete [2023-04-07T05:12:37.887Z] 04944245beec: Pull complete [2023-04-07T05:12:39.292Z] 699f458cf7ca: Pull complete [2023-04-07T05:12:39.292Z] 765212b225bb: Pull complete [2023-04-07T05:12:41.867Z] f23df028b6ca: Pull complete [2023-04-07T05:12:42.143Z] d65c8cfc05b1: Pull complete [2023-04-07T05:12:57.116Z] 2437ff75d9bd: Pull complete [2023-04-07T05:12:57.116Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-07T05:12:57.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T05:12:57.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:12:57.442Z] prd-ubuntu20.04-docker-arm64-4c-16g-7080 does not seem to be running inside a container [2023-04-07T05:12:57.511Z] $ 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-04-07T05:13:00.124Z] $ docker top 4cb75a91c80e8e884889bdaf5efdcce620c830cda20e91c0b8b70479ee4a7273 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:00.705Z] ---> job-cost.sh [2023-04-07T05:13:00.971Z] lf-activate-venv: SKIPPING [2023-04-07T05:13:00.971Z] INFO: No Stack... [2023-04-07T05:13:01.552Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-07T05:13:02.130Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T05:13:02.469Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-07T05:13:02.469Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T05:13:02.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] [2023-04-07T05:13:02.585Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] did not exist. Created. [2023-04-07T05:13:02.586Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T05:13:03.318Z] /w/workspace/device-sdk-go/1@tmp/durable-0a3d0016/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-07T05:13:03.673Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-07T05:13:03.712Z] Warning: overwriting stash ‘stack-cost’ [2023-04-07T05:13:03.778Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T05:13:03.794Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1417-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T05:13:03.877Z] $ docker stop --time=1 4cb75a91c80e8e884889bdaf5efdcce620c830cda20e91c0b8b70479ee4a7273 [2023-04-07T05:13:05.332Z] $ docker rm -f --volumes 4cb75a91c80e8e884889bdaf5efdcce620c830cda20e91c0b8b70479ee4a7273 [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-04-07T05:13:06.329Z] provisioning config files... [2023-04-07T05:13:06.336Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/config7728174681324642199tmp [Pipeline] { [Pipeline] sh [2023-04-07T05:13:06.676Z] + set +x [2023-04-07T05:13:06.676Z] + curl -s https://codecov.io/bash [2023-04-07T05:13:06.676Z] + bash -s -- [2023-04-07T05:13:06.676Z] [2023-04-07T05:13:06.676Z] _____ _ [2023-04-07T05:13:06.676Z] / ____| | | [2023-04-07T05:13:06.676Z] | | ___ __| | ___ ___ _____ __ [2023-04-07T05:13:06.676Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-07T05:13:06.676Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-07T05:13:06.676Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-07T05:13:06.676Z] Bash-1.0.6 [2023-04-07T05:13:06.676Z] [2023-04-07T05:13:06.676Z] [2023-04-07T05:13:06.676Z] ==> git version 2.25.1 found [2023-04-07T05:13:06.676Z] ==> 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-04-07T05:13:06.676Z] Release-Date: 2020-01-08 [2023-04-07T05:13:06.676Z] 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-04-07T05:13:06.676Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-07T05:13:06.676Z] ==> Jenkins CI detected. [2023-04-07T05:13:06.676Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1417 [2023-04-07T05:13:06.676Z] project root: . [2023-04-07T05:13:06.676Z] --> token set from env [2023-04-07T05:13:06.676Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-07T05:13:06.676Z] ==> Running gcov in . (disable via -X gcov) [2023-04-07T05:13:06.676Z] ==> Python coveragepy not found [2023-04-07T05:13:06.676Z] ==> Searching for coverage reports in: [2023-04-07T05:13:06.676Z] + . [2023-04-07T05:13:06.676Z] -> Found 1 reports [2023-04-07T05:13:06.676Z] ==> Detecting git/mercurial file structure [2023-04-07T05:13:06.676Z] ==> Reading reports [2023-04-07T05:13:06.937Z] + ./coverage.out bytes=106714 [2023-04-07T05:13:06.937Z] ==> Appending adjustments [2023-04-07T05:13:06.937Z] https://docs.codecov.io/docs/fixing-reports [2023-04-07T05:13:07.198Z] + Found adjustments [2023-04-07T05:13:07.198Z] ==> Gzipping contents [2023-04-07T05:13:07.198Z] 16K /tmp/codecov.fRiWuB.gz [2023-04-07T05:13:07.198Z] ==> Uploading reports [2023-04-07T05:13:07.198Z] url: https://codecov.io [2023-04-07T05:13:07.198Z] query: branch=PR-1417&commit=d655b849d53b45afc9704737130f725e61250280&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1417&job=&cmd_args= [2023-04-07T05:13:07.198Z] -> Pinging Codecov [2023-04-07T05:13:07.198Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1417&commit=d655b849d53b45afc9704737130f725e61250280&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1417&job=&cmd_args= [2023-04-07T05:13:07.198Z] -> Uploading to [2023-04-07T05:13:07.198Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7E55EF52A471D76F132DFD9A03CDDE97/d655b849d53b45afc9704737130f725e61250280/63c19930-0036-4033-ad0f-2e67e8fb9199.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T051307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13bd2b5fb1d32d311b34809a1065784431cd9432608e1d22c5ca5796e5363337 [2023-04-07T05:13:07.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T05:13:07.198Z] Dload Upload Total Spent Left Speed [2023-04-07T05:13:07.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15124 0 0 100 15124 0 56014 --:--:-- --:--:-- --:--:-- 55808 [2023-04-07T05:13:07.716Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d655b849d53b45afc9704737130f725e61250280 [Pipeline] } [2023-04-07T05:13:07.743Z] 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-04-07T05:13:09.461Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives ] [2023-04-07T05:13:09.461Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives [2023-04-07T05:13:09.461Z] total 16 [2023-04-07T05:13:09.461Z] drwxr-xr-x 3 root root 4096 Apr 7 05:01 . [2023-04-07T05:13:09.461Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 05:01 .. [2023-04-07T05:13:09.461Z] drwxr-xr-x 2 root root 4096 Apr 7 05:01 cost [2023-04-07T05:13:09.461Z] -rw-r--r-- 1 root root 86 Apr 7 05:01 cost.csv [2023-04-07T05:13:09.461Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives [2023-04-07T05:13:09.461Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives [2023-04-07T05:13:09.461Z] total 16 [2023-04-07T05:13:09.461Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 05:01 . [2023-04-07T05:13:09.461Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 7 05:01 .. [2023-04-07T05:13:09.461Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 05:01 cost [2023-04-07T05:13:09.461Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 7 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:09.788Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:10.680Z] ---> package-listing.sh [2023-04-07T05:13:10.680Z] ++ facter osfamily [2023-04-07T05:13:10.680Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-07T05:13:10.941Z] + OS_FAMILY=debian [2023-04-07T05:13:10.942Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1417 [2023-04-07T05:13:10.942Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-07T05:13:10.942Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-07T05:13:10.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-07T05:13:10.942Z] + PACKAGES=/tmp/packages_start.txt [2023-04-07T05:13:10.942Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1417 ']' [2023-04-07T05:13:10.942Z] + PACKAGES=/tmp/packages_end.txt [2023-04-07T05:13:10.942Z] + case "${OS_FAMILY}" in [2023-04-07T05:13:10.942Z] + dpkg -l [2023-04-07T05:13:10.942Z] + grep '^ii' [2023-04-07T05:13:10.942Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-07T05:13:10.942Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-07T05:13:10.942Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-07T05:13:10.942Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1417 ']' [2023-04-07T05:13:10.942Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives/ [2023-04-07T05:13:10.942Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1417/archives/ [Pipeline] echo [2023-04-07T05:13:10.977Z] 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-1417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-07T05:13:11.268Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T05:13:11.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T05:13:11.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T05:13:12.037Z] prd-ubuntu20.04-docker-8c-8g-7078 does not seem to be running inside a container [2023-04-07T05:13:12.067Z] $ 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-1417/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-1417 -v /w/workspace/gexfoundry_device-sdk-go_PR-1417:/w/workspace/gexfoundry_device-sdk-go_PR-1417:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1417@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-04-07T05:13:12.284Z] $ docker top c7c945d34e16b2b905088ff74f77c35d22327b838099f362d22af62a91039d8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T05:13:12.673Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-07T05:13:12.981Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-07T05:13:13.376Z] + ls /var/log/sa-host [2023-04-07T05:13:13.376Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T05:13:13.592Z] provisioning config files... [2023-04-07T05:13:13.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1417@tmp/config6436146469867606080tmp [Pipeline] { [Pipeline] echo [2023-04-07T05:13:13.656Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:13.966Z] ---> create-netrc.sh [Pipeline] } [2023-04-07T05:13:13.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:14.401Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-07T05:13:14.442Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:14.746Z] ---> sudo-logs.sh [2023-04-07T05:13:14.746Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-07T05:13:14.826Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:15.141Z] ---> job-cost.sh [2023-04-07T05:13:15.141Z] lf-activate-venv: SKIPPING [2023-04-07T05:13:15.141Z] DEBUG: total: 0.2199999988079071 [2023-04-07T05:13:15.141Z] INFO: Retrieving Stack Cost... [2023-04-07T05:13:15.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T05:13:15.968Z] INFO: Archiving Costs [Pipeline] echo [2023-04-07T05:13:16.003Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T05:13:16.314Z] ---> logs-deploy.sh [2023-04-07T05:13:16.314Z] lf-activate-venv: SKIPPING [2023-04-07T05:13:16.314Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1417/1 [2023-04-07T05:13:16.314Z] INFO: archiving workspace using pattern(s): [2023-04-07T05:13:17.249Z] Archives upload complete. [2023-04-07T05:13:17.249Z] INFO: archiving logs to Nexus