Pull request #1431 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af5e94ead3dee03c7d96351189323cca839e75a2+cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 (d6efefd47b3b8eaf8ddc59794bfa629ef26bdeff) 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-ssh16694555414909466249.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16421939162874623583.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1431/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-1431/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14059034492227671122.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-1431/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18286645786590189517.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17395773432616942852.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-1431/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-1431/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18156190470662716753.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-9473 in /w/workspace/gexfoundry_device-sdk-go_PR-1431 [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-1431 # 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 Merging remotes/origin/main commit cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 into PR head commit af5e94ead3dee03c7d96351189323cca839e75a2 Merge succeeded, producing af5e94ead3dee03c7d96351189323cca839e75a2 Checking out Revision af5e94ead3dee03c7d96351189323cca839e75a2 (PR-1431) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1431/head:refs/remotes/origin/PR-1431 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af5e94ead3dee03c7d96351189323cca839e75a2 # 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 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af5e94ead3dee03c7d96351189323cca839e75a2 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T04:59:32.734Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T04:59:32.930Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T04:59:33.032Z] ========================================================= [2023-04-24T04:59:33.032Z] EdgeX Global Pipelines Version Info [2023-04-24T04:59:33.032Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T04:59:33.778Z] ------------------- [2023-04-24T04:59:33.778Z] stable info: [2023-04-24T04:59:33.778Z] ------------------- [2023-04-24T04:59:33.778Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T04:59:33.778Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T04:59:33.778Z] Message: update stable to v1.0.248 [2023-04-24T04:59:34.350Z] ------------------- [2023-04-24T04:59:34.350Z] experimental info: [2023-04-24T04:59:34.350Z] ------------------- [2023-04-24T04:59:34.350Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T04:59:34.350Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T04:59:34.350Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T04:59:34.635Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-24T04:59:34.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-24T04:59:34.712Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T04:59:34.748Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T04:59:34.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T04:59:34.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T04:59:34.869Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T04:59:34.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-24T04:59:34.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T04:59:34.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T04:59:35.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T04:59:35.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-24T04:59:35.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T04:59:35.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T04:59:35.198Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T04:59:35.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T04:59:35.286Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T04:59:35.338Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T04:59:35.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T04:59:35.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T04:59:35.470Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-24T04:59:35.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-24T04:59:35.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T04:59:35.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T04:59:35.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T04:59:35.674Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T04:59:35.712Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T04:59:35.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1431 [Pipeline] echo [2023-04-24T04:59:35.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1431 [Pipeline] echo [2023-04-24T04:59:35.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1431 [Pipeline] echo [2023-04-24T04:59:35.879Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af5e94ead3dee03c7d96351189323cca839e75a2 [Pipeline] echo [2023-04-24T04:59:35.922Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af5e94e [Pipeline] echo [2023-04-24T04:59:35.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T04:59:36.080Z] provisioning config files... [2023-04-24T04:59:36.095Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/config11310134161386127363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T04:59:36.447Z] ---> docker-login.sh [2023-04-24T04:59:36.447Z] nexus3.edgexfoundry.org:10001 [2023-04-24T04:59:36.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:36.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:36.970Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:36.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:36.970Z] [2023-04-24T04:59:36.970Z] Login Succeeded [2023-04-24T04:59:36.970Z] nexus3.edgexfoundry.org:10002 [2023-04-24T04:59:36.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:36.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:36.970Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:36.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:36.971Z] [2023-04-24T04:59:36.971Z] Login Succeeded [2023-04-24T04:59:36.971Z] nexus3.edgexfoundry.org:10003 [2023-04-24T04:59:36.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:37.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:37.232Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:37.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:37.232Z] [2023-04-24T04:59:37.232Z] Login Succeeded [2023-04-24T04:59:37.232Z] nexus3.edgexfoundry.org:10004 [2023-04-24T04:59:37.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:37.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:37.232Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:37.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:37.232Z] [2023-04-24T04:59:37.232Z] Login Succeeded [2023-04-24T04:59:37.232Z] docker.io [2023-04-24T04:59:37.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:37.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:37.494Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:37.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:37.494Z] [2023-04-24T04:59:37.494Z] Login Succeeded [2023-04-24T04:59:37.494Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T04:59:37.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T04:59:38.178Z] + git rev-list -1 --merges af5e94ead3dee03c7d96351189323cca839e75a2~1..af5e94ead3dee03c7d96351189323cca839e75a2 [Pipeline] echo [2023-04-24T04:59:38.239Z] -----------> git rev-list -1 --merges af5e94ead3dee03c7d96351189323cca839e75a2~1..af5e94ead3dee03c7d96351189323cca839e75a2 af5e94ead3dee03c7d96351189323cca839e75a2 [false] [Pipeline] sh [2023-04-24T04:59:38.548Z] + git log --format=format:%s -1 af5e94ead3dee03c7d96351189323cca839e75a2 [Pipeline] echo [2023-04-24T04:59:38.586Z] ========================================================= [2023-04-24T04:59:38.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T04:59:38.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T04:59:39.021Z] + git log --format=format:%s -1 af5e94ead3dee03c7d96351189323cca839e75a2 [Pipeline] echo [2023-04-24T04:59:39.053Z] [semverPrep] GIT_COMMIT: af5e94ead3dee03c7d96351189323cca839e75a2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-24T04:59:39.082Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T04:59:39.582Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T04:59:39.582Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T04:59:39.582Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T04:59:39.582Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T04:59:39.582Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-04-24T04:59:39.582Z] -a /etc/ssh/ssh_known_hosts [2023-04-24T04:59:39.582Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T04:59:40.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T04:59:40.119Z] [2023-04-24T04:59:40.119Z] 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-24T04:59:40.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T04:59:40.536Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T04:59:40.536Z] b85a868b505f: Pulling fs layer [2023-04-24T04:59:40.536Z] e2be974225ed: Pulling fs layer [2023-04-24T04:59:40.536Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T04:59:40.536Z] 988bab9f4d93: Pulling fs layer [2023-04-24T04:59:40.536Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T04:59:40.536Z] eaf3925da568: Pulling fs layer [2023-04-24T04:59:40.536Z] bab4dde63d76: Pulling fs layer [2023-04-24T04:59:40.536Z] bde34c3a00c8: Pulling fs layer [2023-04-24T04:59:40.536Z] b352a97aabf1: Pulling fs layer [2023-04-24T04:59:40.536Z] 4872d77fe225: Pulling fs layer [2023-04-24T04:59:40.536Z] 5851b861e8e6: Pulling fs layer [2023-04-24T04:59:40.536Z] b352a97aabf1: Waiting [2023-04-24T04:59:40.536Z] bab4dde63d76: Waiting [2023-04-24T04:59:40.536Z] bde34c3a00c8: Waiting [2023-04-24T04:59:40.536Z] 4872d77fe225: Waiting [2023-04-24T04:59:40.536Z] 1469e6f7b9e6: Waiting [2023-04-24T04:59:40.536Z] 5851b861e8e6: Waiting [2023-04-24T04:59:40.536Z] eaf3925da568: Waiting [2023-04-24T04:59:40.536Z] 988bab9f4d93: Waiting [2023-04-24T04:59:40.536Z] e2be974225ed: Verifying Checksum [2023-04-24T04:59:40.536Z] e2be974225ed: Download complete [2023-04-24T04:59:40.536Z] 988bab9f4d93: Verifying Checksum [2023-04-24T04:59:40.536Z] 988bab9f4d93: Download complete [2023-04-24T04:59:40.536Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T04:59:40.536Z] 1469e6f7b9e6: Download complete [2023-04-24T04:59:40.809Z] eaf3925da568: Verifying Checksum [2023-04-24T04:59:40.809Z] eaf3925da568: Download complete [2023-04-24T04:59:40.809Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T04:59:40.809Z] 339a4e72a1f5: Download complete [2023-04-24T04:59:40.809Z] bde34c3a00c8: Verifying Checksum [2023-04-24T04:59:40.809Z] bde34c3a00c8: Download complete [2023-04-24T04:59:40.809Z] b352a97aabf1: Download complete [2023-04-24T04:59:40.809Z] 4872d77fe225: Verifying Checksum [2023-04-24T04:59:40.809Z] 4872d77fe225: Download complete [2023-04-24T04:59:40.809Z] 5851b861e8e6: Verifying Checksum [2023-04-24T04:59:40.809Z] 5851b861e8e6: Download complete [2023-04-24T04:59:40.809Z] b85a868b505f: Verifying Checksum [2023-04-24T04:59:40.809Z] b85a868b505f: Download complete [2023-04-24T04:59:41.071Z] bab4dde63d76: Verifying Checksum [2023-04-24T04:59:41.071Z] bab4dde63d76: Download complete [2023-04-24T04:59:42.008Z] b85a868b505f: Pull complete [2023-04-24T04:59:42.268Z] e2be974225ed: Pull complete [2023-04-24T04:59:42.837Z] 339a4e72a1f5: Pull complete [2023-04-24T04:59:42.837Z] 988bab9f4d93: Pull complete [2023-04-24T04:59:43.096Z] 1469e6f7b9e6: Pull complete [2023-04-24T04:59:43.096Z] eaf3925da568: Pull complete [2023-04-24T04:59:45.001Z] bab4dde63d76: Pull complete [2023-04-24T04:59:45.001Z] bde34c3a00c8: Pull complete [2023-04-24T04:59:45.265Z] b352a97aabf1: Pull complete [2023-04-24T04:59:45.265Z] 4872d77fe225: Pull complete [2023-04-24T04:59:45.265Z] 5851b861e8e6: Pull complete [2023-04-24T04:59:45.528Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T04:59:45.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T04:59:45.528Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T04:59:45.754Z] prd-ubuntu20.04-docker-8c-8g-9473 does not seem to be running inside a container [2023-04-24T04:59:45.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1431 -v /w/workspace/gexfoundry_device-sdk-go_PR-1431:/w/workspace/gexfoundry_device-sdk-go_PR-1431:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1431@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T04:59:48.806Z] $ docker top c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 -eo pid,comm [2023-04-24T04:59:48.862Z] 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-24T04:59:48.862Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T04:59:48.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T04:59:48.982Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T04:59:49.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T04:59:49.122Z] $ docker exec c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 ssh-agent [2023-04-24T04:59:49.226Z] SSH_AUTH_SOCK=/tmp/ssh-1GVlWKRCoDWA/agent.32 [2023-04-24T04:59:49.226Z] SSH_AGENT_PID=38 [2023-04-24T04:59:49.233Z] Running ssh-add (command line suppressed) [2023-04-24T04:59:49.338Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/private_key_17143394995987963512.key (/w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/private_key_17143394995987963512.key) [2023-04-24T04:59:49.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T04:59:49.683Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T04:59:49.711Z] $ docker exec --env ******** --env ******** c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 ssh-agent -k [2023-04-24T04:59:49.802Z] unset SSH_AUTH_SOCK; [2023-04-24T04:59:49.802Z] unset SSH_AGENT_PID; [2023-04-24T04:59:49.802Z] echo Agent pid 38 killed; [2023-04-24T04:59:49.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T04:59:49.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T04:59:49.899Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T04:59:50.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T04:59:50.028Z] $ docker exec c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 ssh-agent [2023-04-24T04:59:50.133Z] SSH_AUTH_SOCK=/tmp/ssh-PTqDwoUzJtB4/agent.70 [2023-04-24T04:59:50.133Z] SSH_AGENT_PID=76 [2023-04-24T04:59:50.138Z] Running ssh-add (command line suppressed) [2023-04-24T04:59:50.252Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/private_key_10102975024788938867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/private_key_10102975024788938867.key) [2023-04-24T04:59:50.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T04:59:50.591Z] + git semver init [2023-04-24T04:59:50.851Z] 2023-04-24 04:59:50,780 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T04:59:50.851Z] 2023-04-24 04:59:50,781 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver [2023-04-24T04:59:50.851Z] 2023-04-24 04:59:50,782 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver [2023-04-24T04:59:50.851Z] 2023-04-24 04:59:50,782 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1431, universal_newlines=False, shell=None, istream=None) [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,691 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1431/.git/info/exclude [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver/PR-1431 with force:False [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,692 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver/PR-1431 [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,696 [execute] INFO git cat-file --batch-check [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,704 [execute] INFO git cat-file --batch [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T04:59:51.790Z] 2023-04-24 04:59:51,710 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1431/.semver/PR-1431 [2023-04-24T04:59:51.790Z] 0.0.0 [Pipeline] } [2023-04-24T04:59:51.822Z] $ docker exec --env ******** --env ******** c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 ssh-agent -k [2023-04-24T04:59:51.937Z] unset SSH_AUTH_SOCK; [2023-04-24T04:59:51.937Z] unset SSH_AGENT_PID; [2023-04-24T04:59:51.937Z] echo Agent pid 76 killed; [2023-04-24T04:59:51.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T04:59:52.369Z] + git semver [Pipeline] } [2023-04-24T04:59:52.660Z] $ docker stop --time=1 c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 [2023-04-24T04:59:53.985Z] $ docker rm -f --volumes c3ce8290fe188f6937825513fbaa51e7ee37089450dd7374d4dc2edb29427a12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T04:59:54.382Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T04:59:54.651Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T04:59:54.669Z] [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-24T04:59:55.294Z] provisioning config files... [2023-04-24T04:59:55.305Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/config16975777149917333768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T04:59:55.653Z] ---> docker-login.sh [2023-04-24T04:59:55.653Z] nexus3.edgexfoundry.org:10001 [2023-04-24T04:59:55.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:55.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:55.653Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:55.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:55.653Z] [2023-04-24T04:59:55.653Z] Login Succeeded [2023-04-24T04:59:55.653Z] nexus3.edgexfoundry.org:10002 [2023-04-24T04:59:55.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:55.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:55.653Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:55.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:55.653Z] [2023-04-24T04:59:55.653Z] Login Succeeded [2023-04-24T04:59:55.653Z] nexus3.edgexfoundry.org:10003 [2023-04-24T04:59:55.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:55.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:55.913Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:55.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:55.913Z] [2023-04-24T04:59:55.913Z] Login Succeeded [2023-04-24T04:59:55.913Z] nexus3.edgexfoundry.org:10004 [2023-04-24T04:59:55.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:55.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:55.913Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:55.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:55.913Z] [2023-04-24T04:59:55.913Z] Login Succeeded [2023-04-24T04:59:55.913Z] docker.io [2023-04-24T04:59:56.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T04:59:56.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T04:59:56.173Z] Configure a credential helper to remove this warning. See [2023-04-24T04:59:56.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T04:59:56.173Z] [2023-04-24T04:59:56.173Z] Login Succeeded [2023-04-24T04:59:56.173Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T04:59:56.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T04:59:56.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T04:59:56.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T04:59:56.477Z] ========================================================= [2023-04-24T04:59:56.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T04:59:56.477Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T04:59:56.940Z] + 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-24T04:59:56.940Z] Sending build context to Docker daemon 11.01MB [2023-04-24T04:59:56.940Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T04:59:56.940Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T04:59:56.940Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T04:59:56.940Z] 63b65145d645: Pulling fs layer [2023-04-24T04:59:56.940Z] a2d21d5440eb: Pulling fs layer [2023-04-24T04:59:56.940Z] 935e6c44a52c: Pulling fs layer [2023-04-24T04:59:56.940Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T04:59:56.940Z] 30dea6a524f1: Pulling fs layer [2023-04-24T04:59:56.940Z] 94cc34f8dd06: Waiting [2023-04-24T04:59:56.940Z] a2aff8979fd8: Pulling fs layer [2023-04-24T04:59:56.940Z] 6808be2612f2: Pulling fs layer [2023-04-24T04:59:56.940Z] f25807f1079a: Pulling fs layer [2023-04-24T04:59:56.940Z] 30dea6a524f1: Waiting [2023-04-24T04:59:56.940Z] 6808be2612f2: Waiting [2023-04-24T04:59:56.940Z] f25807f1079a: Waiting [2023-04-24T04:59:57.199Z] a2d21d5440eb: Verifying Checksum [2023-04-24T04:59:57.199Z] a2d21d5440eb: Download complete [2023-04-24T04:59:57.199Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T04:59:57.199Z] 94cc34f8dd06: Download complete [2023-04-24T04:59:57.199Z] 30dea6a524f1: Download complete [2023-04-24T04:59:57.199Z] 63b65145d645: Verifying Checksum [2023-04-24T04:59:57.199Z] 63b65145d645: Download complete [2023-04-24T04:59:57.199Z] a2aff8979fd8: Verifying Checksum [2023-04-24T04:59:57.199Z] a2aff8979fd8: Download complete [2023-04-24T04:59:57.199Z] 63b65145d645: Pull complete [2023-04-24T04:59:57.470Z] a2d21d5440eb: Pull complete [2023-04-24T04:59:57.729Z] f25807f1079a: Verifying Checksum [2023-04-24T04:59:57.729Z] f25807f1079a: Download complete [2023-04-24T04:59:57.988Z] 935e6c44a52c: Verifying Checksum [2023-04-24T04:59:57.988Z] 935e6c44a52c: Download complete [2023-04-24T04:59:57.988Z] 6808be2612f2: Verifying Checksum [2023-04-24T04:59:57.988Z] 6808be2612f2: Download complete [2023-04-24T05:00:01.276Z] 935e6c44a52c: Pull complete [2023-04-24T05:00:01.276Z] 94cc34f8dd06: Pull complete [2023-04-24T05:00:01.276Z] 30dea6a524f1: Pull complete [2023-04-24T05:00:01.276Z] a2aff8979fd8: Pull complete [2023-04-24T05:00:04.440Z] 6808be2612f2: Pull complete [2023-04-24T05:00:06.304Z] f25807f1079a: Pull complete [2023-04-24T05:00:06.304Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T05:00:06.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T05:00:06.304Z] ---> 3b553350e43f [2023-04-24T05:00:06.304Z] Step 3/10 : ARG MAKE=make build [2023-04-24T05:00:10.106Z] Still waiting to schedule task [2023-04-24T05:00:10.106Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-24T05:00:10.495Z] ---> Running in 3b71e57e5975 [2023-04-24T05:00:10.495Z] Removing intermediate container 3b71e57e5975 [2023-04-24T05:00:10.495Z] ---> ab7ba32a52a0 [2023-04-24T05:00:10.495Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-24T05:00:10.495Z] ---> Running in 47e46b10497c [2023-04-24T05:00:10.495Z] Removing intermediate container 47e46b10497c [2023-04-24T05:00:10.495Z] ---> d500eeb2b2e9 [2023-04-24T05:00:10.495Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-24T05:00:10.495Z] ---> Running in 1292e6191cb3 [2023-04-24T05:00:10.495Z] Removing intermediate container 1292e6191cb3 [2023-04-24T05:00:10.495Z] ---> 8bc855308422 [2023-04-24T05:00:10.495Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-24T05:00:10.495Z] ---> Running in 19cca412a24d [2023-04-24T05:00:10.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T05:00:11.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T05:00:11.283Z] OK: 265 MiB in 53 packages [2023-04-24T05:00:11.904Z] Removing intermediate container 19cca412a24d [2023-04-24T05:00:11.904Z] ---> c0441b88d6a7 [2023-04-24T05:00:11.904Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T05:00:11.904Z] ---> 7ca6dfebb7f4 [2023-04-24T05:00:11.904Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T05:00:11.904Z] ---> Running in 46924a994b5f [2023-04-24T05:00:44.046Z] Removing intermediate container 46924a994b5f [2023-04-24T05:00:44.046Z] ---> 86c2d5b0f019 [2023-04-24T05:00:44.046Z] Step 9/10 : COPY . . [2023-04-24T05:00:44.046Z] ---> 7fcdb606db94 [2023-04-24T05:00:44.046Z] Step 10/10 : RUN ${MAKE} [2023-04-24T05:00:44.046Z] ---> Running in afd06ded631f [2023-04-24T05:00:44.046Z] noop [2023-04-24T05:00:44.046Z] Removing intermediate container afd06ded631f [2023-04-24T05:00:44.046Z] ---> f87274f8a468 [2023-04-24T05:00:44.046Z] Successfully built f87274f8a468 [2023-04-24T05:00:44.046Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:00:44.503Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T05:00:44.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:00:44.672Z] prd-ubuntu20.04-docker-8c-8g-9473 does not seem to be running inside a container [2023-04-24T05:00:44.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1431 -v /w/workspace/gexfoundry_device-sdk-go_PR-1431:/w/workspace/gexfoundry_device-sdk-go_PR-1431:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1431@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-x86_64 cat [2023-04-24T05:00:45.074Z] $ docker top 9f642263f5eed6b4eca88905c0583e3c30b7b1704017f78cf79a894027e7708a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T05:00:45.470Z] + go version [2023-04-24T05:00:45.470Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T05:00:45.508Z] $ docker stop --time=1 9f642263f5eed6b4eca88905c0583e3c30b7b1704017f78cf79a894027e7708a [2023-04-24T05:00:46.792Z] $ docker rm -f --volumes 9f642263f5eed6b4eca88905c0583e3c30b7b1704017f78cf79a894027e7708a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:00:47.503Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T05:00:47.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:00:47.732Z] prd-ubuntu20.04-docker-8c-8g-9473 does not seem to be running inside a container [2023-04-24T05:00:47.770Z] $ 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-1431 -v /w/workspace/gexfoundry_device-sdk-go_PR-1431:/w/workspace/gexfoundry_device-sdk-go_PR-1431:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1431@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-x86_64 cat [2023-04-24T05:00:48.103Z] $ docker top b148bfdf294bf8f53f8a2464b5ee49a4d09007eede969a9f64b2fb14e1b07f22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T05:00:48.499Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1431 [Pipeline] fileExists [Pipeline] sh [2023-04-24T05:00:48.860Z] + make test [2023-04-24T05:00:48.860Z] go test -race -coverprofile=coverage.out ./... [2023-04-24T05:00:55.424Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-24T05:01:07.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-24T05:01:07.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-24T05:01:07.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-24T05:01:07.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-24T05:01:07.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-24T05:01:08.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-04-24T05:01:08.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-24T05:01:08.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-24T05:01:08.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements [2023-04-24T05:01:08.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-04-24T05:01:09.198Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-24T05:01:09.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.5% of statements [2023-04-24T05:01:09.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-24T05:01:09.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-24T05:01:09.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-24T05:01:10.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-24T05:01:12.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.6% of statements [2023-04-24T05:01:12.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements [2023-04-24T05:01:12.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements [2023-04-24T05:01:12.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-04-24T05:01:34.760Z] GO111MODULE=on go vet ./... [2023-04-24T05:01:35.693Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T05:01:35.693Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T05:01:35.693Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T05:01:36.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T05:01:36.057Z] $ docker stop --time=1 b148bfdf294bf8f53f8a2464b5ee49a4d09007eede969a9f64b2fb14e1b07f22 [2023-04-24T05:01:39.554Z] $ docker rm -f --volumes b148bfdf294bf8f53f8a2464b5ee49a4d09007eede969a9f64b2fb14e1b07f22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T05:01:40.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T05:01:40.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T05:01:40.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T05:01:41.286Z] + ls -al . [2023-04-24T05:01:41.286Z] total 272 [2023-04-24T05:01:41.286Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 05:00 . [2023-04-24T05:01:41.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 04:59 .. [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 04:59 .dockerignore [2023-04-24T05:01:41.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 04:59 .git [2023-04-24T05:01:41.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 04:59 .github [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 24 04:59 .gitignore [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 04:59 .golangci.yml [2023-04-24T05:01:41.286Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 04:59 .semver [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 24 04:59 CHANGELOG.md [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 04:59 GOVERNANCE.md [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 24 04:59 Jenkinsfile [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 04:59 LICENSE [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 24 04:59 Makefile [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 24 04:59 OWNERS.md [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 24 04:59 README.md [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 04:59 VERSION [2023-04-24T05:01:41.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 04:59 bin [2023-04-24T05:01:41.286Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 24 05:01 coverage.out [2023-04-24T05:01:41.286Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 04:59 example [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 24 04:59 go.mod [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 24 04:59 go.sum [2023-04-24T05:01:41.286Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 04:59 internal [2023-04-24T05:01:41.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 04:59 openapi [2023-04-24T05:01:41.286Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 04:59 pkg [2023-04-24T05:01:41.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 04:59 snap [2023-04-24T05:01:41.286Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:01:41.685Z] + 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=af5e94ead3dee03c7d96351189323cca839e75a2 --label arch=amd64 --label version=0.0.0 . [2023-04-24T05:01:41.686Z] Sending build context to Docker daemon 11.12MB [2023-04-24T05:01:41.686Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T05:01:41.686Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-24T05:01:41.686Z] ---> f87274f8a468 [2023-04-24T05:01:41.686Z] Step 3/23 : ARG MAKE=make build [2023-04-24T05:01:41.945Z] ---> Running in 8da8d09e46e5 [2023-04-24T05:01:41.945Z] Removing intermediate container 8da8d09e46e5 [2023-04-24T05:01:41.945Z] ---> 3dec0e0309d9 [2023-04-24T05:01:41.945Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-24T05:01:41.945Z] ---> Running in e16389a93805 [2023-04-24T05:01:42.205Z] Removing intermediate container e16389a93805 [2023-04-24T05:01:42.205Z] ---> 9a71dadef580 [2023-04-24T05:01:42.205Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-24T05:01:42.205Z] ---> Running in bbe44574e4c5 [2023-04-24T05:01:42.205Z] Removing intermediate container bbe44574e4c5 [2023-04-24T05:01:42.205Z] ---> 6d7db19fa846 [2023-04-24T05:01:42.205Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-24T05:01:42.205Z] ---> Running in b183599a7e69 [2023-04-24T05:01:42.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T05:01:42.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T05:01:42.722Z] OK: 265 MiB in 53 packages [2023-04-24T05:01:43.291Z] Removing intermediate container b183599a7e69 [2023-04-24T05:01:43.291Z] ---> 338f5efea176 [2023-04-24T05:01:43.291Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-24T05:01:43.291Z] ---> 44d37bc6a312 [2023-04-24T05:01:43.291Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T05:01:43.291Z] ---> Running in c44d4642bc99 [2023-04-24T05:01:44.247Z] Removing intermediate container c44d4642bc99 [2023-04-24T05:01:44.247Z] ---> 797c371a665f [2023-04-24T05:01:44.247Z] Step 9/23 : COPY . . [2023-04-24T05:01:44.838Z] ---> 3b75210f6482 [2023-04-24T05:01:44.838Z] Step 10/23 : RUN ${MAKE} [2023-04-24T05:01:44.838Z] ---> Running in f5ace49694af [2023-04-24T05:01:45.096Z] 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-24T05:01:49.093Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9477 in /w/workspace/gexfoundry_device-sdk-go_PR-1431 [Pipeline] { [Pipeline] ws [2023-04-24T05:01:49.156Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-24T05:01:49.231Z] The recommended git tool is: git [2023-04-24T05:01:56.680Z] using credential edgex-jenkins-ssh [2023-04-24T05:01:56.702Z] Cloning the remote Git repository [2023-04-24T05:01:56.773Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-24T05:01:56.888Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-24T05:01:57.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-24T05:01:57.051Z] > git --version # timeout=10 [2023-04-24T05:01:57.074Z] > git --version # 'git version 2.25.1' [2023-04-24T05:01:57.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T05:01:57.240Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T05:01:58.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-24T05:01:58.876Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T05:02:00.349Z] Merging remotes/origin/main commit cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 into PR head commit af5e94ead3dee03c7d96351189323cca839e75a2 [2023-04-24T05:02:00.650Z] Merge succeeded, producing af5e94ead3dee03c7d96351189323cca839e75a2 [2023-04-24T05:02:00.651Z] Checking out Revision af5e94ead3dee03c7d96351189323cca839e75a2 (PR-1431) [2023-04-24T05:01:59.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-24T05:01:59.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-24T05:01:59.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T05:01:59.792Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1431/head:refs/remotes/origin/PR-1431 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T05:02:00.372Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T05:02:00.443Z] > git checkout -f af5e94ead3dee03c7d96351189323cca839e75a2 # timeout=10 [2023-04-24T05:02:00.556Z] > git remote # timeout=10 [2023-04-24T05:02:00.577Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T05:02:00.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T05:02:00.612Z] > git merge cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 # timeout=10 [2023-04-24T05:02:00.638Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T05:02:00.659Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T05:02:00.675Z] > git checkout -f af5e94ead3dee03c7d96351189323cca839e75a2 # timeout=10 [2023-04-24T05:02:01.258Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-24T05:02:01.328Z] > git --version # timeout=10 [2023-04-24T05:02:01.343Z] > git --version # 'git version 2.25.1' [2023-04-24T05:02:01.360Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T05:02:02.581Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T05:02:02.582Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T05:02:02.582Z] Dload Upload Total Spent Left Speed [2023-04-24T05:02:02.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 75 12751 75 9637 0 0 54140 0 --:--:-- --:--:-- --:--:-- 53837 100 12751 100 12751 0 0 70838 0 --:--:-- --:--:-- --:--:-- 70447 [Pipeline] sh [2023-04-24T05:02:03.237Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T05:02:03.593Z] + sudo tee /etc/docker/daemon.new [2023-04-24T05:02:03.593Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T05:02:03.593Z] { [2023-04-24T05:02:03.593Z] "registry-mirrors": [ [2023-04-24T05:02:03.593Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T05:02:03.593Z] ], [2023-04-24T05:02:03.593Z] "bip": "10.250.0.254/24", [2023-04-24T05:02:03.593Z] "hosts": [ [2023-04-24T05:02:03.593Z] "tcp://0.0.0.0:5555", [2023-04-24T05:02:03.593Z] "unix:///var/run/docker.sock" [2023-04-24T05:02:03.593Z] ], [2023-04-24T05:02:03.593Z] "mtu": 1458, [2023-04-24T05:02:03.593Z] "selinux-enabled": true, [2023-04-24T05:02:03.593Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T05:02:03.593Z] } [Pipeline] sh [2023-04-24T05:02:03.953Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T05:02:04.310Z] + sudo service docker restart [2023-04-24T05:02:07.041Z] Removing intermediate container f5ace49694af [2023-04-24T05:02:07.041Z] ---> 188229a1a146 [2023-04-24T05:02:07.041Z] Step 11/23 : FROM alpine:3.17 [2023-04-24T05:02:07.041Z] 3.17: Pulling from library/alpine [2023-04-24T05:02:07.041Z] f56be85fc22e: Pulling fs layer [2023-04-24T05:02:07.041Z] f56be85fc22e: Download complete [2023-04-24T05:02:07.041Z] f56be85fc22e: Pull complete [2023-04-24T05:02:07.041Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T05:02:07.041Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T05:02:07.041Z] ---> 9ed4aefc74f6 [2023-04-24T05:02:07.042Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-24T05:02:07.042Z] ---> Running in 277bad70b5e9 [2023-04-24T05:02:07.042Z] Removing intermediate container 277bad70b5e9 [2023-04-24T05:02:07.042Z] ---> 705c579fa61a [2023-04-24T05:02:07.042Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-24T05:02:07.042Z] ---> Running in 8fb66e3e0fb9 [2023-04-24T05:02:07.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T05:02:07.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T05:02:07.042Z] OK: 7 MiB in 15 packages [2023-04-24T05:02:07.042Z] Removing intermediate container 8fb66e3e0fb9 [2023-04-24T05:02:07.042Z] ---> 3b3551b77830 [2023-04-24T05:02:07.042Z] Step 14/23 : WORKDIR / [2023-04-24T05:02:07.042Z] ---> Running in 28126696bb57 [2023-04-24T05:02:07.042Z] Removing intermediate container 28126696bb57 [2023-04-24T05:02:07.042Z] ---> a90b5b972dfb [2023-04-24T05:02:07.042Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-24T05:02:07.042Z] ---> 90c5d72066c4 [2023-04-24T05:02:07.042Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-24T05:02:07.042Z] ---> b9189bd2811e [2023-04-24T05:02:07.042Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-24T05:02:07.042Z] ---> b5d60f8a42bd [2023-04-24T05:02:07.042Z] Step 18/23 : EXPOSE 59999 [2023-04-24T05:02:07.042Z] ---> Running in 095045cf1de7 [2023-04-24T05:02:07.042Z] Removing intermediate container 095045cf1de7 [2023-04-24T05:02:07.042Z] ---> 7e8a54869412 [2023-04-24T05:02:07.042Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-24T05:02:07.042Z] ---> Running in 0f68e24987bf [2023-04-24T05:02:07.042Z] Removing intermediate container 0f68e24987bf [2023-04-24T05:02:07.042Z] ---> e4de873a8875 [2023-04-24T05:02:07.042Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T05:02:07.042Z] ---> Running in 4545358962b8 [2023-04-24T05:02:07.042Z] Removing intermediate container 4545358962b8 [2023-04-24T05:02:07.042Z] ---> 024dd47ae1e1 [2023-04-24T05:02:07.042Z] Step 21/23 : LABEL arch=amd64 [2023-04-24T05:02:07.042Z] ---> Running in e103ec14f9d8 [2023-04-24T05:02:07.042Z] Removing intermediate container e103ec14f9d8 [2023-04-24T05:02:07.042Z] ---> d58083f28991 [2023-04-24T05:02:07.042Z] Step 22/23 : LABEL git_sha=af5e94ead3dee03c7d96351189323cca839e75a2 [2023-04-24T05:02:07.042Z] ---> Running in 102bea157852 [2023-04-24T05:02:07.042Z] Removing intermediate container 102bea157852 [2023-04-24T05:02:07.042Z] ---> 5ddbacc67d30 [2023-04-24T05:02:07.042Z] Step 23/23 : LABEL version=0.0.0 [2023-04-24T05:02:07.042Z] ---> Running in 25e59897f616 [2023-04-24T05:02:07.042Z] Removing intermediate container 25e59897f616 [2023-04-24T05:02:07.042Z] ---> 5edc894846ea [2023-04-24T05:02:07.042Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T05:02:07.042Z] Successfully built 5edc894846ea [2023-04-24T05:02:07.042Z] 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-24T05:02:07.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T05:02:07.923Z] [2023-04-24T05:02:07.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:02:08.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T05:02:08.311Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T05:02:08.311Z] 5eb5b503b376: Pulling fs layer [2023-04-24T05:02:08.311Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T05:02:08.311Z] ec43610c2a17: Pulling fs layer [2023-04-24T05:02:08.311Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T05:02:08.311Z] 33b1e0a273af: Pulling fs layer [2023-04-24T05:02:08.311Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T05:02:08.311Z] 2f39f015ded8: Pulling fs layer [2023-04-24T05:02:08.311Z] 33b1e0a273af: Waiting [2023-04-24T05:02:08.311Z] 5d3b04190fa2: Waiting [2023-04-24T05:02:08.311Z] 3a2ae6a8a46f: Waiting [2023-04-24T05:02:08.311Z] 5c69ac0246d0: Download complete [2023-04-24T05:02:08.311Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T05:02:08.311Z] 3a2ae6a8a46f: Download complete [2023-04-24T05:02:08.311Z] 33b1e0a273af: Verifying Checksum [2023-04-24T05:02:08.311Z] 33b1e0a273af: Download complete [2023-04-24T05:02:08.311Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T05:02:08.311Z] 5d3b04190fa2: Download complete [2023-04-24T05:02:08.582Z] ec43610c2a17: Verifying Checksum [2023-04-24T05:02:08.582Z] ec43610c2a17: Download complete [2023-04-24T05:02:08.582Z] 5eb5b503b376: Verifying Checksum [2023-04-24T05:02:08.582Z] 5eb5b503b376: Download complete [2023-04-24T05:02:09.148Z] 2f39f015ded8: Verifying Checksum [2023-04-24T05:02:09.148Z] 2f39f015ded8: Download complete [2023-04-24T05:02:09.714Z] 5eb5b503b376: Pull complete [2023-04-24T05:02:09.972Z] 5c69ac0246d0: Pull complete [2023-04-24T05:02:10.539Z] ec43610c2a17: Pull complete [2023-04-24T05:02:10.539Z] 3a2ae6a8a46f: Pull complete [2023-04-24T05:02:10.797Z] 33b1e0a273af: Pull complete [2023-04-24T05:02:10.797Z] 5d3b04190fa2: Pull complete [2023-04-24T05:02:14.979Z] 2f39f015ded8: Pull complete [2023-04-24T05:02:14.979Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T05:02:14.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T05:02:14.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:02:15.201Z] prd-ubuntu20.04-docker-8c-8g-9473 does not seem to be running inside a container [2023-04-24T05:02:15.232Z] $ 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-1431 -v /w/workspace/gexfoundry_device-sdk-go_PR-1431:/w/workspace/gexfoundry_device-sdk-go_PR-1431:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1431@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:latest cat [2023-04-24T05:02:19.999Z] $ docker top 0af58711fbcfac4f0786aaa3dcc088fce04b6d465f3fbda4c7d4fd76f0c55823 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:02:20.470Z] ---> job-cost.sh [2023-04-24T05:02:20.470Z] lf-activate-venv: SKIPPING [2023-04-24T05:02:20.470Z] INFO: No Stack... [2023-04-24T05:02:20.730Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T05:02:21.300Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T05:02:21.613Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives/cost.csv [2023-04-24T05:02:21.613Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T05:02:21.660Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] [2023-04-24T05:02:21.666Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] did not exist. Created. [2023-04-24T05:02:21.666Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T05:02:22.079Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T05:02:22.136Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T05:02:22.168Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T05:02:22.255Z] $ docker stop --time=1 0af58711fbcfac4f0786aaa3dcc088fce04b6d465f3fbda4c7d4fd76f0c55823 [2023-04-24T05:02:23.416Z] $ docker rm -f --volumes 0af58711fbcfac4f0786aaa3dcc088fce04b6d465f3fbda4c7d4fd76f0c55823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2023-04-24T05:02:23.679Z] provisioning config files... [Pipeline] } [2023-04-24T05:02:23.707Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15714218115387028728tmp [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] } [2023-04-24T05:02:24.158Z] ---> docker-login.sh [2023-04-24T05:02:24.158Z] nexus3.edgexfoundry.org:10001 [2023-04-24T05:02:24.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:02:24.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:02:24.752Z] Configure a credential helper to remove this warning. See [2023-04-24T05:02:24.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:02:24.752Z] [2023-04-24T05:02:24.752Z] Login Succeeded [2023-04-24T05:02:24.752Z] nexus3.edgexfoundry.org:10002 [2023-04-24T05:02:25.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:02:25.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:02:25.295Z] Configure a credential helper to remove this warning. See [2023-04-24T05:02:25.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:02:25.295Z] [2023-04-24T05:02:25.295Z] Login Succeeded [2023-04-24T05:02:25.295Z] nexus3.edgexfoundry.org:10003 [2023-04-24T05:02:25.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:02:25.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:02:25.569Z] Configure a credential helper to remove this warning. See [2023-04-24T05:02:25.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:02:25.569Z] [2023-04-24T05:02:25.569Z] Login Succeeded [2023-04-24T05:02:25.569Z] nexus3.edgexfoundry.org:10004 [2023-04-24T05:02:25.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:02:26.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:02:26.120Z] Configure a credential helper to remove this warning. See [2023-04-24T05:02:26.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:02:26.120Z] [2023-04-24T05:02:26.120Z] Login Succeeded [2023-04-24T05:02:26.120Z] docker.io [2023-04-24T05:02:26.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T05:02:26.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T05:02:26.659Z] Configure a credential helper to remove this warning. See [2023-04-24T05:02:26.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T05:02:26.659Z] [2023-04-24T05:02:26.659Z] Login Succeeded [2023-04-24T05:02:26.659Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T05:02:26.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T05:02:27.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T05:02:27.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T05:02:27.205Z] ========================================================= [2023-04-24T05:02:27.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T05:02:27.205Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:02:27.715Z] + 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-24T05:02:27.985Z] Sending build context to Docker daemon 5.907MB [2023-04-24T05:02:28.259Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T05:02:28.259Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T05:02:28.259Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T05:02:28.259Z] af6eaf76a39c: Pulling fs layer [2023-04-24T05:02:28.259Z] 55522c791124: Pulling fs layer [2023-04-24T05:02:28.259Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T05:02:28.259Z] 169dfbe0d373: Pulling fs layer [2023-04-24T05:02:28.259Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T05:02:28.259Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T05:02:28.259Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T05:02:28.259Z] 169dfbe0d373: Waiting [2023-04-24T05:02:28.259Z] e1ff8fa3b103: Waiting [2023-04-24T05:02:28.259Z] 52ebb69f0ebf: Waiting [2023-04-24T05:02:28.259Z] 5abe8eddf0d5: Waiting [2023-04-24T05:02:28.259Z] 55522c791124: Download complete [2023-04-24T05:02:28.538Z] 169dfbe0d373: Download complete [2023-04-24T05:02:28.538Z] e1ff8fa3b103: Download complete [2023-04-24T05:02:28.538Z] af6eaf76a39c: Verifying Checksum [2023-04-24T05:02:29.515Z] af6eaf76a39c: Pull complete [2023-04-24T05:02:29.789Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T05:02:29.789Z] 5abe8eddf0d5: Download complete [2023-04-24T05:02:30.062Z] 55522c791124: Pull complete [2023-04-24T05:02:31.033Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T05:02:31.033Z] 52ebb69f0ebf: Download complete [2023-04-24T05:02:31.033Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T05:02:31.033Z] ce5c4a1c91eb: Download complete [2023-04-24T05:02:43.388Z] ce5c4a1c91eb: Pull complete [2023-04-24T05:02:43.388Z] 169dfbe0d373: Pull complete [2023-04-24T05:02:43.388Z] e1ff8fa3b103: Pull complete [2023-04-24T05:02:50.185Z] 52ebb69f0ebf: Pull complete [2023-04-24T05:02:52.155Z] 5abe8eddf0d5: Pull complete [2023-04-24T05:02:52.155Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T05:02:52.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T05:02:52.155Z] ---> 6cb57ee374ae [2023-04-24T05:02:52.155Z] Step 3/10 : ARG MAKE=make build [2023-04-24T05:02:54.108Z] ---> Running in 4a64fc0d66ca [2023-04-24T05:02:54.378Z] Removing intermediate container 4a64fc0d66ca [2023-04-24T05:02:54.378Z] ---> 4d464792a272 [2023-04-24T05:02:54.378Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-24T05:02:54.378Z] ---> Running in 3ce68ae938fe [2023-04-24T05:02:54.646Z] Removing intermediate container 3ce68ae938fe [2023-04-24T05:02:54.646Z] ---> e5cf44466a57 [2023-04-24T05:02:54.646Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-24T05:02:54.646Z] ---> Running in cee4e0c33b54 [2023-04-24T05:02:55.230Z] Removing intermediate container cee4e0c33b54 [2023-04-24T05:02:55.230Z] ---> d80c23e7ae51 [2023-04-24T05:02:55.230Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-24T05:02:55.230Z] ---> Running in 3211d2f9bc4e [2023-04-24T05:02:56.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T05:02:57.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T05:02:58.134Z] OK: 263 MiB in 53 packages [2023-04-24T05:02:59.100Z] Removing intermediate container 3211d2f9bc4e [2023-04-24T05:02:59.100Z] ---> 027b84a336b8 [2023-04-24T05:02:59.100Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T05:02:59.377Z] ---> 307e28499c1e [2023-04-24T05:02:59.377Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T05:02:59.377Z] ---> Running in d19b1dbdb893 [2023-04-24T05:04:07.271Z] Removing intermediate container d19b1dbdb893 [2023-04-24T05:04:07.271Z] ---> d11425b1af2f [2023-04-24T05:04:07.271Z] Step 9/10 : COPY . . [2023-04-24T05:04:07.271Z] ---> 34ee473c989d [2023-04-24T05:04:07.271Z] Step 10/10 : RUN ${MAKE} [2023-04-24T05:04:07.271Z] ---> Running in 0179f04642a4 [2023-04-24T05:04:07.271Z] noop [2023-04-24T05:04:07.271Z] Removing intermediate container 0179f04642a4 [2023-04-24T05:04:07.271Z] ---> db0c909a9be0 [2023-04-24T05:04:07.271Z] Successfully built db0c909a9be0 [2023-04-24T05:04:07.271Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:04:07.746Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T05:04:07.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:04:08.023Z] prd-ubuntu20.04-docker-arm64-4c-16g-9477 does not seem to be running inside a container [2023-04-24T05:04:08.098Z] $ 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-24T05:04:09.344Z] $ docker top e668a0be0b55a6be354a7aec48f8e5271afd5133a1180b8e3dde2828d67c90b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T05:04:10.234Z] + go version [2023-04-24T05:04:10.234Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T05:04:10.272Z] $ docker stop --time=1 e668a0be0b55a6be354a7aec48f8e5271afd5133a1180b8e3dde2828d67c90b1 [2023-04-24T05:04:11.933Z] $ docker rm -f --volumes e668a0be0b55a6be354a7aec48f8e5271afd5133a1180b8e3dde2828d67c90b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:04:12.787Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T05:04:12.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:04:13.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-9477 does not seem to be running inside a container [2023-04-24T05:04:13.112Z] $ 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-24T05:04:14.302Z] $ docker top 9c8dca9b87da4fde1167ccaf2196f9cba7bb188e5f128ce9007cd38c6003b4c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T05:04:15.040Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T05:04:15.442Z] + make test [2023-04-24T05:04:15.442Z] go test -race -coverprofile=coverage.out ./... [2023-04-24T05:05:02.340Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-24T05:07:24.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-24T05:07:24.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-24T05:07:24.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-24T05:07:24.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-24T05:07:24.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-24T05:07:30.713Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.237s coverage: 27.6% of statements [2023-04-24T05:07:31.672Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 80.2% of statements [2023-04-24T05:07:46.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-24T05:07:46.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-24T05:07:46.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements [2023-04-24T05:07:52.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-24T05:07:52.597Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.474s coverage: 77.5% of statements [2023-04-24T05:07:56.864Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-24T05:07:58.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-24T05:07:58.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-24T05:08:00.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.281s coverage: 14.6% of statements [2023-04-24T05:08:00.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.461s coverage: 68.5% of statements [2023-04-24T05:08:02.813Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.447s coverage: 89.2% of statements [2023-04-24T05:08:04.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-24T05:08:04.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.269s coverage: 5.5% of statements [2023-04-24T05:08:05.349Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T05:08:05.349Z] GO111MODULE=on go vet ./... [2023-04-24T05:10:42.100Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T05:10:42.100Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T05:10:42.100Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T05:10:42.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T05:10:42.176Z] $ docker stop --time=1 9c8dca9b87da4fde1167ccaf2196f9cba7bb188e5f128ce9007cd38c6003b4c1 [2023-04-24T05:10:45.959Z] $ docker rm -f --volumes 9c8dca9b87da4fde1167ccaf2196f9cba7bb188e5f128ce9007cd38c6003b4c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T05:10:47.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T05:10:47.778Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T05:10:48.391Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T05:10:48.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T05:10:49.328Z] + ls -al . [2023-04-24T05:10:49.329Z] total 268 [2023-04-24T05:10:49.329Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 05:04 . [2023-04-24T05:10:49.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:01 .. [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:02 .dockerignore [2023-04-24T05:10:49.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 05:02 .git [2023-04-24T05:10:49.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:02 .github [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 24 05:02 .gitignore [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 05:02 .golangci.yml [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 24 05:02 CHANGELOG.md [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 05:02 GOVERNANCE.md [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 24 05:02 Jenkinsfile [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 05:02 LICENSE [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 24 05:02 Makefile [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 24 05:02 OWNERS.md [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 24 05:02 README.md [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 04:59 VERSION [2023-04-24T05:10:49.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:02 bin [2023-04-24T05:10:49.329Z] -rw-r--r-- 1 jenkins jenkins 106122 Apr 24 05:08 coverage.out [2023-04-24T05:10:49.329Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 05:02 example [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 24 05:02 go.mod [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 24 05:02 go.sum [2023-04-24T05:10:49.329Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:02 internal [2023-04-24T05:10:49.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:02 openapi [2023-04-24T05:10:49.329Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 05:02 pkg [2023-04-24T05:10:49.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:02 snap [2023-04-24T05:10:49.329Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:10:49.760Z] + 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=af5e94ead3dee03c7d96351189323cca839e75a2 --label arch=arm64 --label version=0.0.0 . [2023-04-24T05:10:50.346Z] Sending build context to Docker daemon 6.014MB [2023-04-24T05:10:50.346Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T05:10:50.346Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-24T05:10:50.346Z] ---> db0c909a9be0 [2023-04-24T05:10:50.346Z] Step 3/23 : ARG MAKE=make build [2023-04-24T05:10:50.346Z] ---> Running in 30d8348c5fcf [2023-04-24T05:10:50.619Z] Removing intermediate container 30d8348c5fcf [2023-04-24T05:10:50.619Z] ---> 09354ef0ba1d [2023-04-24T05:10:50.619Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-24T05:10:50.619Z] ---> Running in 398a21e8ee7d [2023-04-24T05:10:51.211Z] Removing intermediate container 398a21e8ee7d [2023-04-24T05:10:51.211Z] ---> da4148db5836 [2023-04-24T05:10:51.211Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-24T05:10:51.211Z] ---> Running in e17fc6bb0412 [2023-04-24T05:10:51.478Z] Removing intermediate container e17fc6bb0412 [2023-04-24T05:10:51.478Z] ---> 939594b1b15e [2023-04-24T05:10:51.479Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-24T05:10:51.479Z] ---> Running in 2588c6ece0ba [2023-04-24T05:10:52.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T05:10:53.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T05:10:54.550Z] OK: 263 MiB in 53 packages [2023-04-24T05:10:55.168Z] Removing intermediate container 2588c6ece0ba [2023-04-24T05:10:55.168Z] ---> bb20f2d08306 [2023-04-24T05:10:55.168Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-24T05:10:58.555Z] ---> da56b4d6cf6a [2023-04-24T05:10:58.555Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T05:10:58.555Z] ---> Running in 3285598f9d3d [2023-04-24T05:11:01.147Z] Removing intermediate container 3285598f9d3d [2023-04-24T05:11:01.147Z] ---> bef619fd24b9 [2023-04-24T05:11:01.147Z] Step 9/23 : COPY . . [2023-04-24T05:11:02.560Z] ---> fd0cebf8cc99 [2023-04-24T05:11:02.560Z] Step 10/23 : RUN ${MAKE} [2023-04-24T05:11:02.560Z] ---> Running in 20c6f83dfb6a [2023-04-24T05:11:03.520Z] 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-24T05:13:40.265Z] Removing intermediate container 20c6f83dfb6a [2023-04-24T05:13:40.265Z] ---> 5763770084d5 [2023-04-24T05:13:40.265Z] Step 11/23 : FROM alpine:3.17 [2023-04-24T05:13:40.265Z] 3.17: Pulling from library/alpine [2023-04-24T05:13:40.265Z] c41833b44d91: Pulling fs layer [2023-04-24T05:13:40.265Z] c41833b44d91: Verifying Checksum [2023-04-24T05:13:40.265Z] c41833b44d91: Download complete [2023-04-24T05:13:40.265Z] c41833b44d91: Pull complete [2023-04-24T05:13:40.265Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T05:13:40.265Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T05:13:40.265Z] ---> 51e60588ff2c [2023-04-24T05:13:40.265Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-24T05:13:40.265Z] ---> Running in a25eca705c19 [2023-04-24T05:13:40.265Z] Removing intermediate container a25eca705c19 [2023-04-24T05:13:40.265Z] ---> 0507bc09bcbf [2023-04-24T05:13:40.265Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-24T05:13:40.265Z] ---> Running in 5f99042a71bd [2023-04-24T05:13:40.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T05:13:40.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T05:13:40.265Z] OK: 7 MiB in 15 packages [2023-04-24T05:13:40.265Z] Removing intermediate container 5f99042a71bd [2023-04-24T05:13:40.265Z] ---> 5e6be4cc7676 [2023-04-24T05:13:40.265Z] Step 14/23 : WORKDIR / [2023-04-24T05:13:40.265Z] ---> Running in ea893dfd377a [2023-04-24T05:13:40.265Z] Removing intermediate container ea893dfd377a [2023-04-24T05:13:40.265Z] ---> 50b2cbffed85 [2023-04-24T05:13:40.265Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-24T05:13:40.265Z] ---> b85b86f37823 [2023-04-24T05:13:40.265Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-24T05:13:40.265Z] ---> 60bec31aecb1 [2023-04-24T05:13:40.265Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-24T05:13:40.265Z] ---> 6818f1d2afab [2023-04-24T05:13:40.265Z] Step 18/23 : EXPOSE 59999 [2023-04-24T05:13:40.265Z] ---> Running in 0dc72f4a334f [2023-04-24T05:13:40.265Z] Removing intermediate container 0dc72f4a334f [2023-04-24T05:13:40.265Z] ---> e1211db9d8ea [2023-04-24T05:13:40.265Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-24T05:13:40.265Z] ---> Running in bfb7b5983846 [2023-04-24T05:13:40.265Z] Removing intermediate container bfb7b5983846 [2023-04-24T05:13:40.265Z] ---> f4ae8610f629 [2023-04-24T05:13:40.265Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T05:13:40.265Z] ---> Running in 4ad18ba4e37b [2023-04-24T05:13:40.265Z] Removing intermediate container 4ad18ba4e37b [2023-04-24T05:13:40.265Z] ---> 89b9a198527b [2023-04-24T05:13:40.265Z] Step 21/23 : LABEL arch=arm64 [2023-04-24T05:13:40.265Z] ---> Running in 924b21b0ea53 [2023-04-24T05:13:40.265Z] Removing intermediate container 924b21b0ea53 [2023-04-24T05:13:40.265Z] ---> b4083e23f4c3 [2023-04-24T05:13:40.265Z] Step 22/23 : LABEL git_sha=af5e94ead3dee03c7d96351189323cca839e75a2 [2023-04-24T05:13:40.265Z] ---> Running in 5929ad61fe37 [2023-04-24T05:13:40.265Z] Removing intermediate container 5929ad61fe37 [2023-04-24T05:13:40.265Z] ---> 19e62dd9cabe [2023-04-24T05:13:40.265Z] Step 23/23 : LABEL version=0.0.0 [2023-04-24T05:13:40.265Z] ---> Running in 584e36927bd2 [2023-04-24T05:13:40.540Z] Removing intermediate container 584e36927bd2 [2023-04-24T05:13:40.540Z] ---> 6582e6e79842 [2023-04-24T05:13:40.540Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T05:13:40.811Z] Successfully built 6582e6e79842 [2023-04-24T05:13:40.811Z] 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-24T05:13:41.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T05:13:41.638Z] [2023-04-24T05:13:41.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:13:42.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T05:13:42.324Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T05:13:42.324Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T05:13:42.324Z] 04944245beec: Pulling fs layer [2023-04-24T05:13:42.324Z] 699f458cf7ca: Pulling fs layer [2023-04-24T05:13:42.324Z] 765212b225bb: Pulling fs layer [2023-04-24T05:13:42.324Z] f23df028b6ca: Pulling fs layer [2023-04-24T05:13:42.324Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T05:13:42.324Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T05:13:42.324Z] f23df028b6ca: Waiting [2023-04-24T05:13:42.324Z] d65c8cfc05b1: Waiting [2023-04-24T05:13:42.324Z] 2437ff75d9bd: Waiting [2023-04-24T05:13:42.324Z] 765212b225bb: Waiting [2023-04-24T05:13:42.324Z] 04944245beec: Verifying Checksum [2023-04-24T05:13:42.324Z] 04944245beec: Download complete [2023-04-24T05:13:42.324Z] 765212b225bb: Verifying Checksum [2023-04-24T05:13:42.324Z] 765212b225bb: Download complete [2023-04-24T05:13:42.595Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T05:13:42.595Z] d65c8cfc05b1: Download complete [2023-04-24T05:13:42.595Z] 699f458cf7ca: Verifying Checksum [2023-04-24T05:13:42.595Z] 699f458cf7ca: Download complete [2023-04-24T05:13:42.866Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T05:13:42.866Z] 8998bd30e6a1: Download complete [2023-04-24T05:13:45.458Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T05:13:45.458Z] 2437ff75d9bd: Download complete [2023-04-24T05:13:47.413Z] 8998bd30e6a1: Pull complete [2023-04-24T05:13:47.683Z] 04944245beec: Pull complete [2023-04-24T05:13:49.097Z] 699f458cf7ca: Pull complete [2023-04-24T05:13:49.366Z] 765212b225bb: Pull complete [2023-04-24T05:13:49.951Z] f23df028b6ca: Pull complete [2023-04-24T05:13:50.221Z] d65c8cfc05b1: Pull complete [2023-04-24T05:14:05.240Z] 2437ff75d9bd: Pull complete [2023-04-24T05:14:05.240Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T05:14:05.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T05:14:05.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:14:05.576Z] prd-ubuntu20.04-docker-arm64-4c-16g-9477 does not seem to be running inside a container [2023-04-24T05:14:05.653Z] $ 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-24T05:14:08.469Z] $ docker top 6a40c0ed48ca5e524451676455af3bc98619aaf8e1df8c08291234d93e3531ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:09.382Z] ---> job-cost.sh [2023-04-24T05:14:09.382Z] lf-activate-venv: SKIPPING [2023-04-24T05:14:09.382Z] INFO: No Stack... [2023-04-24T05:14:09.967Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T05:14:10.930Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T05:14:11.604Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-24T05:14:11.604Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T05:14:11.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] [2023-04-24T05:14:11.713Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] did not exist. Created. [2023-04-24T05:14:11.713Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T05:14:12.453Z] /w/workspace/device-sdk-go/1@tmp/durable-dcc6bd8e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T05:14:12.817Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T05:14:13.119Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T05:14:13.183Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T05:14:13.199Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1431-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T05:14:13.292Z] $ docker stop --time=1 6a40c0ed48ca5e524451676455af3bc98619aaf8e1df8c08291234d93e3531ee [2023-04-24T05:14:14.848Z] $ docker rm -f --volumes 6a40c0ed48ca5e524451676455af3bc98619aaf8e1df8c08291234d93e3531ee [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-24T05:14:15.921Z] provisioning config files... [2023-04-24T05:14:15.928Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/config6483436446716778778tmp [Pipeline] { [Pipeline] sh [2023-04-24T05:14:16.263Z] + set +x [2023-04-24T05:14:16.263Z] + curl -s https://codecov.io/bash [2023-04-24T05:14:16.263Z] + bash -s -- [2023-04-24T05:14:16.263Z] [2023-04-24T05:14:16.263Z] _____ _ [2023-04-24T05:14:16.263Z] / ____| | | [2023-04-24T05:14:16.263Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T05:14:16.263Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T05:14:16.263Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T05:14:16.263Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T05:14:16.263Z] Bash-1.0.6 [2023-04-24T05:14:16.263Z] [2023-04-24T05:14:16.263Z] [2023-04-24T05:14:16.263Z] ==> git version 2.25.1 found [2023-04-24T05:14:16.263Z] ==> 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-24T05:14:16.263Z] Release-Date: 2020-01-08 [2023-04-24T05:14:16.263Z] 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-24T05:14:16.263Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T05:14:16.263Z] ==> Jenkins CI detected. [2023-04-24T05:14:16.263Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1431 [2023-04-24T05:14:16.263Z] project root: . [2023-04-24T05:14:16.263Z] --> token set from env [2023-04-24T05:14:16.263Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T05:14:16.263Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T05:14:16.263Z] ==> Python coveragepy not found [2023-04-24T05:14:16.263Z] ==> Searching for coverage reports in: [2023-04-24T05:14:16.263Z] + . [2023-04-24T05:14:16.263Z] -> Found 1 reports [2023-04-24T05:14:16.263Z] ==> Detecting git/mercurial file structure [2023-04-24T05:14:16.263Z] ==> Reading reports [2023-04-24T05:14:16.263Z] + ./coverage.out bytes=106122 [2023-04-24T05:14:16.263Z] ==> Appending adjustments [2023-04-24T05:14:16.523Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T05:14:16.782Z] + Found adjustments [2023-04-24T05:14:16.782Z] ==> Gzipping contents [2023-04-24T05:14:16.782Z] 16K /tmp/codecov.R7FXaX.gz [2023-04-24T05:14:16.782Z] ==> Uploading reports [2023-04-24T05:14:16.782Z] url: https://codecov.io [2023-04-24T05:14:16.782Z] query: branch=PR-1431&commit=af5e94ead3dee03c7d96351189323cca839e75a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1431%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1431&job=&cmd_args= [2023-04-24T05:14:16.782Z] -> Pinging Codecov [2023-04-24T05:14:16.782Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1431&commit=af5e94ead3dee03c7d96351189323cca839e75a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1431%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1431&job=&cmd_args= [2023-04-24T05:14:16.782Z] -> Uploading to [2023-04-24T05:14:16.782Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7E55EF52A471D76F132DFD9A03CDDE97/af5e94ead3dee03c7d96351189323cca839e75a2/aebf42b5-78cc-435c-9c2a-70a11b558cde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T051416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=941d41f6c6a9ef2ee0d8a0ace8764afc34099c39fcc2d789b4a9cbae8caaee4f [2023-04-24T05:14:16.782Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T05:14:16.782Z] Dload Upload Total Spent Left Speed [2023-04-24T05:14:17.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15029 0 0 100 15029 0 63147 --:--:-- --:--:-- --:--:-- 63147 [2023-04-24T05:14:17.042Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/af5e94ead3dee03c7d96351189323cca839e75a2 [Pipeline] } [2023-04-24T05:14:17.067Z] 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-24T05:14:18.860Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives ] [2023-04-24T05:14:18.860Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives [2023-04-24T05:14:18.860Z] total 16 [2023-04-24T05:14:18.860Z] drwxr-xr-x 3 root root 4096 Apr 24 05:02 . [2023-04-24T05:14:18.860Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:02 .. [2023-04-24T05:14:18.860Z] drwxr-xr-x 2 root root 4096 Apr 24 05:02 cost [2023-04-24T05:14:18.860Z] -rw-r--r-- 1 root root 86 Apr 24 05:02 cost.csv [2023-04-24T05:14:18.860Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives [2023-04-24T05:14:18.860Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives [2023-04-24T05:14:18.860Z] total 16 [2023-04-24T05:14:18.861Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 05:02 . [2023-04-24T05:14:18.861Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:02 .. [2023-04-24T05:14:18.861Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 05:02 cost [2023-04-24T05:14:18.861Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 24 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:19.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:20.116Z] ---> package-listing.sh [2023-04-24T05:14:20.116Z] ++ facter osfamily [2023-04-24T05:14:20.116Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T05:14:20.377Z] + OS_FAMILY=debian [2023-04-24T05:14:20.377Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1431 [2023-04-24T05:14:20.377Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T05:14:20.377Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T05:14:20.377Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T05:14:20.377Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T05:14:20.377Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1431 ']' [2023-04-24T05:14:20.377Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T05:14:20.377Z] + case "${OS_FAMILY}" in [2023-04-24T05:14:20.377Z] + dpkg -l [2023-04-24T05:14:20.377Z] + grep '^ii' [2023-04-24T05:14:20.377Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T05:14:20.377Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T05:14:20.377Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T05:14:20.377Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1431 ']' [2023-04-24T05:14:20.377Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives/ [2023-04-24T05:14:20.377Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1431/archives/ [Pipeline] echo [2023-04-24T05:14:20.414Z] 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-1431/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T05:14:20.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T05:14:21.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T05:14:21.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T05:14:21.493Z] prd-ubuntu20.04-docker-8c-8g-9473 does not seem to be running inside a container [2023-04-24T05:14:21.526Z] $ 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-1431/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-1431 -v /w/workspace/gexfoundry_device-sdk-go_PR-1431:/w/workspace/gexfoundry_device-sdk-go_PR-1431:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1431@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-24T05:14:21.699Z] $ docker top 7d14685f78329123a36b47ee8473b18d76c76285eb655610f7685beac3f9383b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T05:14:22.080Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T05:14:22.393Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T05:14:22.704Z] + ls /var/log/sa-host [2023-04-24T05:14:22.704Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T05:14:22.939Z] provisioning config files... [2023-04-24T05:14:22.948Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1431@tmp/config11395622847081668138tmp [Pipeline] { [Pipeline] echo [2023-04-24T05:14:23.005Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:23.324Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T05:14:23.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:23.754Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T05:14:23.786Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:24.095Z] ---> sudo-logs.sh [2023-04-24T05:14:24.095Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T05:14:24.178Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:24.490Z] ---> job-cost.sh [2023-04-24T05:14:24.490Z] lf-activate-venv: SKIPPING [2023-04-24T05:14:24.490Z] DEBUG: total: 0.2199999988079071 [2023-04-24T05:14:24.490Z] INFO: Retrieving Stack Cost... [2023-04-24T05:14:25.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T05:14:25.317Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T05:14:25.349Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T05:14:25.656Z] ---> logs-deploy.sh [2023-04-24T05:14:25.656Z] lf-activate-venv: SKIPPING [2023-04-24T05:14:25.657Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1431/1 [2023-04-24T05:14:25.657Z] INFO: archiving workspace using pattern(s): [2023-04-24T05:14:26.591Z] Archives upload complete. [2023-04-24T05:14:26.591Z] INFO: archiving logs to Nexus