Pull request #1430 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 68f2c3776b57ed1a5eef5a5e3525a947923e1899 rather than a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd Obtained Jenkinsfile from 68f2c3776b57ed1a5eef5a5e3525a947923e1899 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-ssh9735657590599443850.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-ssh10735464815701585093.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-1430/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-1430/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17855066512504431913.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-1430/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3973392706736790379.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-ssh12698565299857543124.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-1430/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-1430/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5451569728064557488.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-9261 in /w/workspace/gexfoundry_device-sdk-go_PR-1430 [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-1430 # 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 Merging remotes/origin/main commit 68f2c3776b57ed1a5eef5a5e3525a947923e1899 into PR head commit a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd Merge succeeded, producing a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd Checking out Revision a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd (PR-1430) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1430/head:refs/remotes/origin/PR-1430 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd # 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 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd # timeout=10 Commit message: "build(deps): bump go-mod-bootstrap from 3.0.0-dev.68 to 3.0.0-dev.70" 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] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-21T06:44:35.794Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-21T06:44:35.970Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-21T06:44:36.074Z] ========================================================= [2023-04-21T06:44:36.074Z] EdgeX Global Pipelines Version Info [2023-04-21T06:44:36.074Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:44:36.856Z] ------------------- [2023-04-21T06:44:36.856Z] stable info: [2023-04-21T06:44:36.856Z] ------------------- [2023-04-21T06:44:36.856Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-21T06:44:36.856Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T06:44:36.856Z] Message: update stable to v1.0.248 [2023-04-21T06:44:37.427Z] ------------------- [2023-04-21T06:44:37.427Z] experimental info: [2023-04-21T06:44:37.427Z] ------------------- [2023-04-21T06:44:37.427Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-21T06:44:37.427Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T06:44:37.427Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-21T06:44:37.735Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-21T06:44:37.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-21T06:44:37.822Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-21T06:44:37.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-21T06:44:37.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-21T06:44:37.968Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-21T06:44:38.015Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-21T06:44:38.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-21T06:44:38.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-21T06:44:38.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-21T06:44:38.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-21T06:44:38.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-21T06:44:38.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-21T06:44:38.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-21T06:44:38.381Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-21T06:44:38.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T06:44:38.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T06:44:38.518Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T06:44:38.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-21T06:44:38.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-21T06:44:38.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-21T06:44:38.689Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-21T06:44:38.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-21T06:44:38.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-21T06:44:38.851Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-21T06:44:38.899Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-21T06:44:38.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-21T06:44:38.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1430 [Pipeline] echo [2023-04-21T06:44:39.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1430 [Pipeline] echo [2023-04-21T06:44:39.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1430 [Pipeline] echo [2023-04-21T06:44:39.127Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [Pipeline] echo [2023-04-21T06:44:39.179Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a41aa99 [Pipeline] echo [2023-04-21T06:44:39.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T06:44:39.353Z] provisioning config files... [2023-04-21T06:44:39.370Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/config5907070816635749876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:44:39.716Z] ---> docker-login.sh [2023-04-21T06:44:39.717Z] nexus3.edgexfoundry.org:10001 [2023-04-21T06:44:39.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:39.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:39.978Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:39.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:39.978Z] [2023-04-21T06:44:39.978Z] Login Succeeded [2023-04-21T06:44:39.978Z] nexus3.edgexfoundry.org:10002 [2023-04-21T06:44:40.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:40.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:40.239Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:40.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:40.239Z] [2023-04-21T06:44:40.239Z] Login Succeeded [2023-04-21T06:44:40.239Z] nexus3.edgexfoundry.org:10003 [2023-04-21T06:44:40.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:40.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:40.239Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:40.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:40.239Z] [2023-04-21T06:44:40.239Z] Login Succeeded [2023-04-21T06:44:40.239Z] nexus3.edgexfoundry.org:10004 [2023-04-21T06:44:40.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:40.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:40.502Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:40.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:40.502Z] [2023-04-21T06:44:40.502Z] Login Succeeded [2023-04-21T06:44:40.502Z] docker.io [2023-04-21T06:44:40.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:40.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:40.764Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:40.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:40.764Z] [2023-04-21T06:44:40.764Z] Login Succeeded [2023-04-21T06:44:40.764Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T06:44:40.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-21T06:44:41.480Z] + git rev-list -1 --merges a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd~1..a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [Pipeline] echo [2023-04-21T06:44:41.549Z] -----------> git rev-list -1 --merges a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd~1..a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [false] [Pipeline] sh [2023-04-21T06:44:41.861Z] + git log --format=format:%s -1 a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [Pipeline] echo [2023-04-21T06:44:41.893Z] ========================================================= [2023-04-21T06:44:41.893Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-21T06:44:41.893Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T06:44:42.336Z] + git log --format=format:%s -1 a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [Pipeline] echo [2023-04-21T06:44:42.373Z] [semverPrep] GIT_COMMIT: a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd, Commit Message: build(deps): bump go-mod-bootstrap from 3.0.0-dev.68 to 3.0.0-dev.70 [Pipeline] echo [2023-04-21T06:44:42.401Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-21T06:44:42.799Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-21T06:44:42.799Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-21T06:44:42.799Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-21T06:44:42.799Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-21T06:44:42.799Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-21T06:44:42.799Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-21T06:44:42.799Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:44:43.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T06:44:43.307Z] [2023-04-21T06:44:43.307Z] 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-21T06:44:43.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T06:44:43.684Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-21T06:44:43.684Z] b85a868b505f: Pulling fs layer [2023-04-21T06:44:43.684Z] e2be974225ed: Pulling fs layer [2023-04-21T06:44:43.684Z] 339a4e72a1f5: Pulling fs layer [2023-04-21T06:44:43.684Z] 988bab9f4d93: Pulling fs layer [2023-04-21T06:44:43.684Z] 1469e6f7b9e6: Pulling fs layer [2023-04-21T06:44:43.684Z] eaf3925da568: Pulling fs layer [2023-04-21T06:44:43.684Z] bab4dde63d76: Pulling fs layer [2023-04-21T06:44:43.684Z] bde34c3a00c8: Pulling fs layer [2023-04-21T06:44:43.684Z] b352a97aabf1: Pulling fs layer [2023-04-21T06:44:43.684Z] 4872d77fe225: Pulling fs layer [2023-04-21T06:44:43.684Z] 5851b861e8e6: Pulling fs layer [2023-04-21T06:44:43.684Z] 4872d77fe225: Waiting [2023-04-21T06:44:43.684Z] bab4dde63d76: Waiting [2023-04-21T06:44:43.684Z] bde34c3a00c8: Waiting [2023-04-21T06:44:43.684Z] 5851b861e8e6: Waiting [2023-04-21T06:44:43.684Z] b352a97aabf1: Waiting [2023-04-21T06:44:43.684Z] 988bab9f4d93: Waiting [2023-04-21T06:44:43.684Z] 1469e6f7b9e6: Waiting [2023-04-21T06:44:43.684Z] eaf3925da568: Waiting [2023-04-21T06:44:43.684Z] e2be974225ed: Verifying Checksum [2023-04-21T06:44:43.684Z] e2be974225ed: Download complete [2023-04-21T06:44:43.684Z] 988bab9f4d93: Verifying Checksum [2023-04-21T06:44:43.684Z] 988bab9f4d93: Download complete [2023-04-21T06:44:43.953Z] 339a4e72a1f5: Verifying Checksum [2023-04-21T06:44:43.953Z] 339a4e72a1f5: Download complete [2023-04-21T06:44:43.953Z] eaf3925da568: Download complete [2023-04-21T06:44:43.953Z] 1469e6f7b9e6: Verifying Checksum [2023-04-21T06:44:43.953Z] 1469e6f7b9e6: Download complete [2023-04-21T06:44:43.953Z] bde34c3a00c8: Download complete [2023-04-21T06:44:43.953Z] b352a97aabf1: Download complete [2023-04-21T06:44:43.953Z] 4872d77fe225: Verifying Checksum [2023-04-21T06:44:43.953Z] 4872d77fe225: Download complete [2023-04-21T06:44:43.953Z] 5851b861e8e6: Download complete [2023-04-21T06:44:43.953Z] b85a868b505f: Verifying Checksum [2023-04-21T06:44:43.953Z] b85a868b505f: Download complete [2023-04-21T06:44:44.213Z] bab4dde63d76: Verifying Checksum [2023-04-21T06:44:44.213Z] bab4dde63d76: Download complete [2023-04-21T06:44:45.161Z] b85a868b505f: Pull complete [2023-04-21T06:44:45.421Z] e2be974225ed: Pull complete [2023-04-21T06:44:45.998Z] 339a4e72a1f5: Pull complete [2023-04-21T06:44:45.998Z] 988bab9f4d93: Pull complete [2023-04-21T06:44:46.258Z] 1469e6f7b9e6: Pull complete [2023-04-21T06:44:46.258Z] eaf3925da568: Pull complete [2023-04-21T06:44:48.166Z] bab4dde63d76: Pull complete [2023-04-21T06:44:48.166Z] bde34c3a00c8: Pull complete [2023-04-21T06:44:48.166Z] b352a97aabf1: Pull complete [2023-04-21T06:44:48.427Z] 4872d77fe225: Pull complete [2023-04-21T06:44:48.427Z] 5851b861e8e6: Pull complete [2023-04-21T06:44:48.427Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-21T06:44:48.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T06:44:48.427Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:44:48.685Z] prd-ubuntu20.04-docker-8c-8g-9261 does not seem to be running inside a container [2023-04-21T06:44:48.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1430 -v /w/workspace/gexfoundry_device-sdk-go_PR-1430:/w/workspace/gexfoundry_device-sdk-go_PR-1430:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1430@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-devops/py-git-semver:0.1.4 cat [2023-04-21T06:44:49.938Z] $ docker top 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 -eo pid,comm [2023-04-21T06:44:49.991Z] 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-21T06:44:49.991Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-21T06:44:50.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T06:44:50.128Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T06:44:50.232Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T06:44:50.238Z] $ docker exec 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 ssh-agent [2023-04-21T06:44:50.344Z] SSH_AUTH_SOCK=/tmp/ssh-heekyufyYLM7/agent.32 [2023-04-21T06:44:50.344Z] SSH_AGENT_PID=38 [2023-04-21T06:44:50.350Z] Running ssh-add (command line suppressed) [2023-04-21T06:44:50.450Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/private_key_5075404494193399083.key (/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/private_key_5075404494193399083.key) [2023-04-21T06:44:50.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T06:44:50.826Z] + git tag --points-at HEAD [Pipeline] } [2023-04-21T06:44:50.855Z] $ docker exec --env ******** --env ******** 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 ssh-agent -k [2023-04-21T06:44:50.954Z] unset SSH_AUTH_SOCK; [2023-04-21T06:44:50.955Z] unset SSH_AGENT_PID; [2023-04-21T06:44:50.955Z] echo Agent pid 38 killed; [2023-04-21T06:44:50.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-21T06:44:51.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T06:44:51.154Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T06:44:51.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T06:44:51.274Z] $ docker exec 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 ssh-agent [2023-04-21T06:44:51.388Z] SSH_AUTH_SOCK=/tmp/ssh-4M5ZAMKXsSuJ/agent.70 [2023-04-21T06:44:51.388Z] SSH_AGENT_PID=76 [2023-04-21T06:44:51.394Z] Running ssh-add (command line suppressed) [2023-04-21T06:44:51.493Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/private_key_16429782541106556639.key (/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/private_key_16429782541106556639.key) [2023-04-21T06:44:51.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T06:44:51.836Z] + git semver init [2023-04-21T06:44:52.097Z] 2023-04-21 06:44:52,012 [run_init] DEBUG init version:0.0.0 force:False [2023-04-21T06:44:52.097Z] 2023-04-21 06:44:52,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver [2023-04-21T06:44:52.097Z] 2023-04-21 06:44:52,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver [2023-04-21T06:44:52.097Z] 2023-04-21 06:44:52,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1430, universal_newlines=False, shell=None, istream=None) [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,911 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1430/.git/info/exclude [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,911 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver/PR-1430 with force:False [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,911 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver/PR-1430 [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,916 [execute] INFO git cat-file --batch-check [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,922 [execute] INFO git cat-file --batch [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T06:44:53.039Z] 2023-04-21 06:44:52,927 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1430/.semver/PR-1430 [2023-04-21T06:44:53.039Z] 0.0.0 [Pipeline] } [2023-04-21T06:44:53.068Z] $ docker exec --env ******** --env ******** 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 ssh-agent -k [2023-04-21T06:44:53.172Z] unset SSH_AUTH_SOCK; [2023-04-21T06:44:53.172Z] unset SSH_AGENT_PID; [2023-04-21T06:44:53.173Z] echo Agent pid 76 killed; [2023-04-21T06:44:53.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-21T06:44:53.617Z] + git semver [Pipeline] } [2023-04-21T06:44:53.906Z] $ docker stop --time=1 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 [2023-04-21T06:44:55.196Z] $ docker rm -f --volumes 5c33e88a25b7063156bd39240610ce3a4e7dc272176bb6a5cff65bb6c81bb479 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T06:44:55.625Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-21T06:44:55.905Z] Stashed 1 file(s) [Pipeline] echo [2023-04-21T06:44:55.923Z] [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-21T06:44:56.495Z] provisioning config files... [2023-04-21T06:44:56.505Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/config10139613559194211124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:44:56.853Z] ---> docker-login.sh [2023-04-21T06:44:56.853Z] nexus3.edgexfoundry.org:10001 [2023-04-21T06:44:56.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:56.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:56.853Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:56.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:56.853Z] [2023-04-21T06:44:56.853Z] Login Succeeded [2023-04-21T06:44:56.853Z] nexus3.edgexfoundry.org:10002 [2023-04-21T06:44:56.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:56.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:56.853Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:56.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:56.853Z] [2023-04-21T06:44:56.853Z] Login Succeeded [2023-04-21T06:44:56.853Z] nexus3.edgexfoundry.org:10003 [2023-04-21T06:44:57.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:57.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:57.116Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:57.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:57.116Z] [2023-04-21T06:44:57.116Z] Login Succeeded [2023-04-21T06:44:57.116Z] nexus3.edgexfoundry.org:10004 [2023-04-21T06:44:57.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:57.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:57.116Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:57.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:57.116Z] [2023-04-21T06:44:57.116Z] Login Succeeded [2023-04-21T06:44:57.116Z] docker.io [2023-04-21T06:44:57.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:44:57.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:44:57.377Z] Configure a credential helper to remove this warning. See [2023-04-21T06:44:57.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:44:57.377Z] [2023-04-21T06:44:57.377Z] Login Succeeded [2023-04-21T06:44:57.377Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T06:44:57.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T06:44:57.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T06:44:57.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T06:44:57.692Z] ========================================================= [2023-04-21T06:44:57.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-21T06:44:57.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:44:58.168Z] + 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-21T06:44:58.168Z] Sending build context to Docker daemon 11.01MB [2023-04-21T06:44:58.168Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T06:44:58.168Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-21T06:44:58.168Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-21T06:44:58.168Z] 63b65145d645: Pulling fs layer [2023-04-21T06:44:58.168Z] a2d21d5440eb: Pulling fs layer [2023-04-21T06:44:58.168Z] 935e6c44a52c: Pulling fs layer [2023-04-21T06:44:58.168Z] 94cc34f8dd06: Pulling fs layer [2023-04-21T06:44:58.168Z] 30dea6a524f1: Pulling fs layer [2023-04-21T06:44:58.168Z] a2aff8979fd8: Pulling fs layer [2023-04-21T06:44:58.168Z] 6808be2612f2: Pulling fs layer [2023-04-21T06:44:58.168Z] f25807f1079a: Pulling fs layer [2023-04-21T06:44:58.168Z] 30dea6a524f1: Waiting [2023-04-21T06:44:58.168Z] a2aff8979fd8: Waiting [2023-04-21T06:44:58.168Z] 6808be2612f2: Waiting [2023-04-21T06:44:58.168Z] f25807f1079a: Waiting [2023-04-21T06:44:58.168Z] 94cc34f8dd06: Waiting [2023-04-21T06:44:58.428Z] a2d21d5440eb: Download complete [2023-04-21T06:44:58.428Z] 94cc34f8dd06: Verifying Checksum [2023-04-21T06:44:58.428Z] 94cc34f8dd06: Download complete [2023-04-21T06:44:58.428Z] 30dea6a524f1: Verifying Checksum [2023-04-21T06:44:58.428Z] 30dea6a524f1: Download complete [2023-04-21T06:44:58.428Z] 63b65145d645: Verifying Checksum [2023-04-21T06:44:58.428Z] 63b65145d645: Download complete [2023-04-21T06:44:58.428Z] a2aff8979fd8: Verifying Checksum [2023-04-21T06:44:58.428Z] a2aff8979fd8: Download complete [2023-04-21T06:44:58.428Z] 63b65145d645: Pull complete [2023-04-21T06:44:58.687Z] a2d21d5440eb: Pull complete [2023-04-21T06:44:58.687Z] f25807f1079a: Verifying Checksum [2023-04-21T06:44:58.687Z] f25807f1079a: Download complete [2023-04-21T06:44:58.946Z] 935e6c44a52c: Verifying Checksum [2023-04-21T06:44:58.946Z] 935e6c44a52c: Download complete [2023-04-21T06:44:59.206Z] 6808be2612f2: Verifying Checksum [2023-04-21T06:44:59.206Z] 6808be2612f2: Download complete [2023-04-21T06:45:02.504Z] 935e6c44a52c: Pull complete [2023-04-21T06:45:02.504Z] 94cc34f8dd06: Pull complete [2023-04-21T06:45:02.504Z] 30dea6a524f1: Pull complete [2023-04-21T06:45:02.504Z] a2aff8979fd8: Pull complete [2023-04-21T06:45:05.041Z] 6808be2612f2: Pull complete [2023-04-21T06:45:05.607Z] f25807f1079a: Pull complete [2023-04-21T06:45:05.607Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-21T06:45:05.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-21T06:45:05.607Z] ---> 3b553350e43f [2023-04-21T06:45:05.607Z] Step 3/10 : ARG MAKE=make build [2023-04-21T06:45:06.984Z] ---> Running in 9e7952f2022d [2023-04-21T06:45:06.984Z] Removing intermediate container 9e7952f2022d [2023-04-21T06:45:06.984Z] ---> 08e3424a9014 [2023-04-21T06:45:06.984Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-21T06:45:06.984Z] ---> Running in 13d1a0ca978e [2023-04-21T06:45:06.984Z] Removing intermediate container 13d1a0ca978e [2023-04-21T06:45:06.984Z] ---> 1d58902617b8 [2023-04-21T06:45:06.984Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T06:45:06.984Z] ---> Running in dabf786cfe12 [2023-04-21T06:45:07.244Z] Removing intermediate container dabf786cfe12 [2023-04-21T06:45:07.244Z] ---> 400eb9bf400a [2023-04-21T06:45:07.244Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-21T06:45:07.244Z] ---> Running in 8efe7bea6c1a [2023-04-21T06:45:07.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T06:45:07.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T06:45:07.762Z] OK: 265 MiB in 53 packages [2023-04-21T06:45:08.021Z] Removing intermediate container 8efe7bea6c1a [2023-04-21T06:45:08.021Z] ---> 1c0b65ca0275 [2023-04-21T06:45:08.021Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-21T06:45:08.280Z] ---> 552a8967aa2f [2023-04-21T06:45:08.280Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T06:45:08.280Z] ---> Running in cd1ada8f65b9 [2023-04-21T06:45:11.322Z] Still waiting to schedule task [2023-04-21T06:45:11.323Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-21T06:45:40.370Z] Removing intermediate container cd1ada8f65b9 [2023-04-21T06:45:40.370Z] ---> d3449e4926c6 [2023-04-21T06:45:40.370Z] Step 9/10 : COPY . . [2023-04-21T06:45:40.370Z] ---> b512c3e486fd [2023-04-21T06:45:40.370Z] Step 10/10 : RUN ${MAKE} [2023-04-21T06:45:40.370Z] ---> Running in 88345bdd9060 [2023-04-21T06:45:40.370Z] noop [2023-04-21T06:45:40.370Z] Removing intermediate container 88345bdd9060 [2023-04-21T06:45:40.370Z] ---> c8f2d064ec70 [2023-04-21T06:45:40.370Z] Successfully built c8f2d064ec70 [2023-04-21T06:45:40.370Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:45:40.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T06:45:40.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:45:40.974Z] prd-ubuntu20.04-docker-8c-8g-9261 does not seem to be running inside a container [2023-04-21T06:45:41.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1430 -v /w/workspace/gexfoundry_device-sdk-go_PR-1430:/w/workspace/gexfoundry_device-sdk-go_PR-1430:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-21T06:45:41.372Z] $ docker top 3e80a5f6926f0c16b8925a77356d29f8137b04b0e9a2170dbf315048aeecfae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T06:45:41.759Z] + go version [2023-04-21T06:45:41.759Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-21T06:45:41.800Z] $ docker stop --time=1 3e80a5f6926f0c16b8925a77356d29f8137b04b0e9a2170dbf315048aeecfae0 [2023-04-21T06:45:43.056Z] $ docker rm -f --volumes 3e80a5f6926f0c16b8925a77356d29f8137b04b0e9a2170dbf315048aeecfae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:45:43.756Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T06:45:43.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:45:43.908Z] prd-ubuntu20.04-docker-8c-8g-9261 does not seem to be running inside a container [2023-04-21T06:45:43.944Z] $ 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-1430 -v /w/workspace/gexfoundry_device-sdk-go_PR-1430:/w/workspace/gexfoundry_device-sdk-go_PR-1430:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-21T06:45:44.264Z] $ docker top c7e045deba4a6ed209437832eeae1025fb70a679f70b45d38b544ed552c67256 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T06:45:44.663Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1430 [Pipeline] fileExists [Pipeline] sh [2023-04-21T06:45:45.020Z] + make test [2023-04-21T06:45:45.020Z] go test -race -coverprofile=coverage.out ./... [2023-04-21T06:45:51.587Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-21T06:46:06.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-04-21T06:46:06.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 80.2% of statements [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-21T06:46:06.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.072s coverage: 86.0% of statements [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-21T06:46:06.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.112s coverage: 77.5% of statements [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-21T06:46:06.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-21T06:46:07.392Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-21T06:46:09.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.6% of statements [2023-04-21T06:46:09.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 68.5% of statements [2023-04-21T06:46:09.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.109s coverage: 89.2% of statements [2023-04-21T06:46:09.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-04-21T06:46:27.376Z] GO111MODULE=on go vet ./... [2023-04-21T06:46:29.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-21T06:46:29.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-21T06:46:30.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-21T06:46:30.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-21T06:46:30.246Z] $ docker stop --time=1 c7e045deba4a6ed209437832eeae1025fb70a679f70b45d38b544ed552c67256 [2023-04-21T06:46:32.063Z] $ docker rm -f --volumes c7e045deba4a6ed209437832eeae1025fb70a679f70b45d38b544ed552c67256 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T06:46:32.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-21T06:46:32.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-21T06:46:33.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-21T06:46:33.765Z] + ls -al . [2023-04-21T06:46:33.765Z] total 272 [2023-04-21T06:46:33.765Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 06:45 . [2023-04-21T06:46:33.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:44 .. [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 06:44 .dockerignore [2023-04-21T06:46:33.765Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 06:44 .git [2023-04-21T06:46:33.765Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 06:44 .github [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 21 06:44 .gitignore [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 21 06:44 .golangci.yml [2023-04-21T06:46:33.765Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 06:44 .semver [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 21 06:44 CHANGELOG.md [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 06:44 GOVERNANCE.md [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 21 06:44 Jenkinsfile [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 06:44 LICENSE [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 21 06:44 Makefile [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 21 06:44 OWNERS.md [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 21 06:44 README.md [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 06:44 VERSION [2023-04-21T06:46:33.765Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 06:44 bin [2023-04-21T06:46:33.765Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 21 06:46 coverage.out [2023-04-21T06:46:33.765Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 06:44 example [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 21 06:44 go.mod [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 21 06:44 go.sum [2023-04-21T06:46:33.765Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 06:44 internal [2023-04-21T06:46:33.765Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 06:44 openapi [2023-04-21T06:46:33.765Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 21 06:44 pkg [2023-04-21T06:46:33.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:44 snap [2023-04-21T06:46:33.765Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 06:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:46:34.158Z] + 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=a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd --label arch=amd64 --label version=0.0.0 . [2023-04-21T06:46:34.158Z] Sending build context to Docker daemon 11.12MB [2023-04-21T06:46:34.158Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T06:46:34.158Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-21T06:46:34.158Z] ---> c8f2d064ec70 [2023-04-21T06:46:34.158Z] Step 3/23 : ARG MAKE=make build [2023-04-21T06:46:34.158Z] ---> Running in fae24d0b6e2c [2023-04-21T06:46:34.158Z] Removing intermediate container fae24d0b6e2c [2023-04-21T06:46:34.158Z] ---> cc8015928b82 [2023-04-21T06:46:34.158Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-21T06:46:34.417Z] ---> Running in 664e2fb86163 [2023-04-21T06:46:34.417Z] Removing intermediate container 664e2fb86163 [2023-04-21T06:46:34.417Z] ---> 7d26aae0e84e [2023-04-21T06:46:34.417Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T06:46:34.417Z] ---> Running in 199c490c702d [2023-04-21T06:46:34.417Z] Removing intermediate container 199c490c702d [2023-04-21T06:46:34.417Z] ---> edd46f6f2e97 [2023-04-21T06:46:34.417Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-21T06:46:34.417Z] ---> Running in f04b4b0f1c83 [2023-04-21T06:46:34.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T06:46:34.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T06:46:34.936Z] OK: 265 MiB in 53 packages [2023-04-21T06:46:35.195Z] Removing intermediate container f04b4b0f1c83 [2023-04-21T06:46:35.195Z] ---> 6614363ff257 [2023-04-21T06:46:35.195Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-21T06:46:35.454Z] ---> bb11fa52f8df [2023-04-21T06:46:35.454Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T06:46:35.454Z] ---> Running in 5aefb5dd9233 [2023-04-21T06:46:36.022Z] Removing intermediate container 5aefb5dd9233 [2023-04-21T06:46:36.022Z] ---> 10d03c13a473 [2023-04-21T06:46:36.022Z] Step 9/23 : COPY . . [2023-04-21T06:46:36.590Z] ---> cf2c1f5ac965 [2023-04-21T06:46:36.590Z] Step 10/23 : RUN ${MAKE} [2023-04-21T06:46:36.590Z] ---> Running in 6608cc56f7ac [2023-04-21T06:46:36.849Z] 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-21T06:46:54.929Z] Removing intermediate container 6608cc56f7ac [2023-04-21T06:46:54.929Z] ---> 96672d97b012 [2023-04-21T06:46:54.929Z] Step 11/23 : FROM alpine:3.17 [2023-04-21T06:46:54.929Z] 3.17: Pulling from library/alpine [2023-04-21T06:46:54.929Z] f56be85fc22e: Pulling fs layer [2023-04-21T06:46:54.929Z] f56be85fc22e: Verifying Checksum [2023-04-21T06:46:54.929Z] f56be85fc22e: Download complete [2023-04-21T06:46:54.929Z] f56be85fc22e: Pull complete [2023-04-21T06:46:54.929Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-21T06:46:54.929Z] Status: Downloaded newer image for alpine:3.17 [2023-04-21T06:46:54.929Z] ---> 9ed4aefc74f6 [2023-04-21T06:46:54.929Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-21T06:46:54.929Z] ---> Running in 62e80f9475d6 [2023-04-21T06:46:54.929Z] Removing intermediate container 62e80f9475d6 [2023-04-21T06:46:54.929Z] ---> a20f8d8f7afe [2023-04-21T06:46:54.929Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-21T06:46:54.929Z] ---> Running in 3f9b23b939b0 [2023-04-21T06:46:54.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T06:46:54.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T06:46:54.929Z] OK: 7 MiB in 15 packages [2023-04-21T06:46:54.929Z] Removing intermediate container 3f9b23b939b0 [2023-04-21T06:46:54.929Z] ---> 487111a122c0 [2023-04-21T06:46:54.929Z] Step 14/23 : WORKDIR / [2023-04-21T06:46:54.929Z] ---> Running in b4acb0a8fd2c [2023-04-21T06:46:54.929Z] Removing intermediate container b4acb0a8fd2c [2023-04-21T06:46:54.929Z] ---> 821dee471e8d [2023-04-21T06:46:54.929Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-21T06:46:54.929Z] ---> 73db820c713c [2023-04-21T06:46:54.929Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-21T06:46:54.929Z] ---> 818593e35277 [2023-04-21T06:46:54.929Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-21T06:46:54.929Z] ---> 66013df90a30 [2023-04-21T06:46:54.929Z] Step 18/23 : EXPOSE 59999 [2023-04-21T06:46:54.929Z] ---> Running in d9f59499efc1 [2023-04-21T06:46:54.930Z] Removing intermediate container d9f59499efc1 [2023-04-21T06:46:54.930Z] ---> f8b7f5951ceb [2023-04-21T06:46:54.930Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-21T06:46:54.930Z] ---> Running in 420f5b528f4e [2023-04-21T06:46:54.930Z] Removing intermediate container 420f5b528f4e [2023-04-21T06:46:54.930Z] ---> 014f33a99ea8 [2023-04-21T06:46:54.930Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-21T06:46:54.930Z] ---> Running in d72dc16db200 [2023-04-21T06:46:54.930Z] Removing intermediate container d72dc16db200 [2023-04-21T06:46:54.930Z] ---> d835daeb3b25 [2023-04-21T06:46:54.930Z] Step 21/23 : LABEL arch=amd64 [2023-04-21T06:46:54.930Z] ---> Running in 3143709868a3 [2023-04-21T06:46:54.930Z] Removing intermediate container 3143709868a3 [2023-04-21T06:46:54.930Z] ---> 25dff5912468 [2023-04-21T06:46:54.930Z] Step 22/23 : LABEL git_sha=a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [2023-04-21T06:46:54.930Z] ---> Running in b7f5515bf70a [2023-04-21T06:46:54.930Z] Removing intermediate container b7f5515bf70a [2023-04-21T06:46:54.930Z] ---> 995103385acc [2023-04-21T06:46:54.930Z] Step 23/23 : LABEL version=0.0.0 [2023-04-21T06:46:54.930Z] ---> Running in 63b16d6bf451 [2023-04-21T06:46:54.930Z] Removing intermediate container 63b16d6bf451 [2023-04-21T06:46:54.930Z] ---> f9a191fc67d7 [2023-04-21T06:46:54.930Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-21T06:46:54.930Z] Successfully built f9a191fc67d7 [2023-04-21T06:46:54.930Z] 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-21T06:46:55.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T06:46:55.846Z] [2023-04-21T06:46:55.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:46:56.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T06:46:56.227Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-21T06:46:56.227Z] 5eb5b503b376: Pulling fs layer [2023-04-21T06:46:56.227Z] 5c69ac0246d0: Pulling fs layer [2023-04-21T06:46:56.227Z] ec43610c2a17: Pulling fs layer [2023-04-21T06:46:56.227Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-21T06:46:56.227Z] 33b1e0a273af: Pulling fs layer [2023-04-21T06:46:56.227Z] 5d3b04190fa2: Pulling fs layer [2023-04-21T06:46:56.227Z] 2f39f015ded8: Pulling fs layer [2023-04-21T06:46:56.227Z] 33b1e0a273af: Waiting [2023-04-21T06:46:56.227Z] 5d3b04190fa2: Waiting [2023-04-21T06:46:56.227Z] 3a2ae6a8a46f: Waiting [2023-04-21T06:46:56.227Z] 2f39f015ded8: Waiting [2023-04-21T06:46:56.227Z] 5c69ac0246d0: Download complete [2023-04-21T06:46:56.227Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-21T06:46:56.227Z] 3a2ae6a8a46f: Download complete [2023-04-21T06:46:56.227Z] 33b1e0a273af: Verifying Checksum [2023-04-21T06:46:56.227Z] 33b1e0a273af: Download complete [2023-04-21T06:46:56.227Z] ec43610c2a17: Verifying Checksum [2023-04-21T06:46:56.227Z] ec43610c2a17: Download complete [2023-04-21T06:46:56.227Z] 5d3b04190fa2: Verifying Checksum [2023-04-21T06:46:56.227Z] 5d3b04190fa2: Download complete [2023-04-21T06:46:56.487Z] 5eb5b503b376: Download complete [2023-04-21T06:46:57.054Z] 2f39f015ded8: Verifying Checksum [2023-04-21T06:46:57.054Z] 2f39f015ded8: Download complete [2023-04-21T06:46:57.622Z] 5eb5b503b376: Pull complete [2023-04-21T06:46:57.622Z] 5c69ac0246d0: Pull complete [2023-04-21T06:46:57.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9262 in /w/workspace/gexfoundry_device-sdk-go_PR-1430 [Pipeline] { [Pipeline] ws [2023-04-21T06:46:57.816Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-21T06:46:57.882Z] ec43610c2a17: Pull complete [2023-04-21T06:46:57.892Z] The recommended git tool is: git [2023-04-21T06:46:58.141Z] 3a2ae6a8a46f: Pull complete [2023-04-21T06:46:58.141Z] 33b1e0a273af: Pull complete [2023-04-21T06:46:58.399Z] 5d3b04190fa2: Pull complete [2023-04-21T06:47:02.582Z] 2f39f015ded8: Pull complete [2023-04-21T06:47:02.582Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-21T06:47:02.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T06:47:02.582Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:47:02.813Z] prd-ubuntu20.04-docker-8c-8g-9261 does not seem to be running inside a container [2023-04-21T06:47:02.853Z] $ 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-1430 -v /w/workspace/gexfoundry_device-sdk-go_PR-1430:/w/workspace/gexfoundry_device-sdk-go_PR-1430:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-21T06:47:03.168Z] using credential edgex-jenkins-ssh [2023-04-21T06:47:03.189Z] Cloning the remote Git repository [2023-04-21T06:47:03.817Z] $ docker top 917438d65d16aed18083fea46717e802f418d4ff773f272b1f04a34cfbf38625 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:47:03.238Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T06:47:03.340Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-21T06:47:03.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T06:47:03.518Z] > git --version # timeout=10 [2023-04-21T06:47:03.541Z] > git --version # 'git version 2.25.1' [2023-04-21T06:47:03.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T06:47:03.700Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T06:47:04.273Z] ---> job-cost.sh [2023-04-21T06:47:04.273Z] lf-activate-venv: SKIPPING [2023-04-21T06:47:04.273Z] INFO: No Stack... [2023-04-21T06:47:04.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T06:47:04.793Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T06:47:05.107Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives/cost.csv [2023-04-21T06:47:05.107Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T06:47:05.148Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] [2023-04-21T06:47:05.153Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] did not exist. Created. [2023-04-21T06:47:05.153Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T06:47:05.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-21T06:47:05.331Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T06:47:05.575Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-21T06:47:05.625Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T06:47:05.644Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T06:47:05.717Z] $ docker stop --time=1 917438d65d16aed18083fea46717e802f418d4ff773f272b1f04a34cfbf38625 [2023-04-21T06:47:06.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-21T06:47:06.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T06:47:06.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T06:47:06.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1430/head:refs/remotes/origin/PR-1430 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-21T06:47:06.861Z] $ docker rm -f --volumes 917438d65d16aed18083fea46717e802f418d4ff773f272b1f04a34cfbf38625 [2023-04-21T06:47:06.931Z] Merging remotes/origin/main commit 68f2c3776b57ed1a5eef5a5e3525a947923e1899 into PR head commit a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-04-21T06:47:07.211Z] Merge succeeded, producing a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [2023-04-21T06:47:07.211Z] Checking out Revision a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd (PR-1430) [Pipeline] } [2023-04-21T06:47:06.952Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T06:47:07.018Z] > git checkout -f a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd # timeout=10 [2023-04-21T06:47:07.122Z] > git remote # timeout=10 [2023-04-21T06:47:07.140Z] > git config --get remote.origin.url # timeout=10 [2023-04-21T06:47:07.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T06:47:07.168Z] > git merge 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 [2023-04-21T06:47:07.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-21T06:47:07.219Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T06:47:07.231Z] > git checkout -f a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd # timeout=10 [2023-04-21T06:47:10.692Z] Commit message: "build(deps): bump go-mod-bootstrap from 3.0.0-dev.68 to 3.0.0-dev.70" [2023-04-21T06:47:10.742Z] > git --version # timeout=10 [2023-04-21T06:47:10.756Z] > git --version # 'git version 2.25.1' [2023-04-21T06:47:10.784Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T06:47:11.986Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-21T06:47:11.986Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-21T06:47:11.986Z] Dload Upload Total Spent Left Speed [2023-04-21T06:47:11.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62200 0 --:--:-- --:--:-- --:--:-- 62200 [Pipeline] sh [2023-04-21T06:47:12.688Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-21T06:47:13.037Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-21T06:47:13.037Z] + sudo tee /etc/docker/daemon.new [2023-04-21T06:47:13.037Z] { [2023-04-21T06:47:13.037Z] "registry-mirrors": [ [2023-04-21T06:47:13.037Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-21T06:47:13.037Z] ], [2023-04-21T06:47:13.037Z] "bip": "10.250.0.254/24", [2023-04-21T06:47:13.037Z] "hosts": [ [2023-04-21T06:47:13.037Z] "tcp://0.0.0.0:5555", [2023-04-21T06:47:13.037Z] "unix:///var/run/docker.sock" [2023-04-21T06:47:13.037Z] ], [2023-04-21T06:47:13.037Z] "mtu": 1458, [2023-04-21T06:47:13.037Z] "selinux-enabled": true, [2023-04-21T06:47:13.037Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-21T06:47:13.037Z] } [Pipeline] sh [2023-04-21T06:47:13.376Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-21T06:47:13.719Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T06:47:32.039Z] provisioning config files... [2023-04-21T06:47:32.067Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3747107637044888337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:47:32.454Z] ---> docker-login.sh [2023-04-21T06:47:32.454Z] nexus3.edgexfoundry.org:10001 [2023-04-21T06:47:32.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:47:32.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:47:32.996Z] Configure a credential helper to remove this warning. See [2023-04-21T06:47:32.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:47:32.996Z] [2023-04-21T06:47:32.996Z] Login Succeeded [2023-04-21T06:47:32.996Z] nexus3.edgexfoundry.org:10002 [2023-04-21T06:47:33.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:47:33.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:47:33.266Z] Configure a credential helper to remove this warning. See [2023-04-21T06:47:33.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:47:33.266Z] [2023-04-21T06:47:33.266Z] Login Succeeded [2023-04-21T06:47:33.266Z] nexus3.edgexfoundry.org:10003 [2023-04-21T06:47:33.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:47:33.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:47:33.811Z] Configure a credential helper to remove this warning. See [2023-04-21T06:47:33.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:47:33.811Z] [2023-04-21T06:47:33.811Z] Login Succeeded [2023-04-21T06:47:33.811Z] nexus3.edgexfoundry.org:10004 [2023-04-21T06:47:33.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:47:34.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:47:34.085Z] Configure a credential helper to remove this warning. See [2023-04-21T06:47:34.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:47:34.085Z] [2023-04-21T06:47:34.085Z] Login Succeeded [2023-04-21T06:47:34.085Z] docker.io [2023-04-21T06:47:34.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T06:47:34.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T06:47:34.626Z] Configure a credential helper to remove this warning. See [2023-04-21T06:47:34.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T06:47:34.626Z] [2023-04-21T06:47:34.626Z] Login Succeeded [2023-04-21T06:47:34.626Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T06:47:34.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T06:47:35.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T06:47:35.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T06:47:35.102Z] ========================================================= [2023-04-21T06:47:35.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-21T06:47:35.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:47:35.629Z] + 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-21T06:47:35.899Z] Sending build context to Docker daemon 5.914MB [2023-04-21T06:47:35.899Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T06:47:35.899Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-21T06:47:36.170Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-21T06:47:36.170Z] af6eaf76a39c: Pulling fs layer [2023-04-21T06:47:36.170Z] 55522c791124: Pulling fs layer [2023-04-21T06:47:36.170Z] ce5c4a1c91eb: Pulling fs layer [2023-04-21T06:47:36.170Z] 169dfbe0d373: Pulling fs layer [2023-04-21T06:47:36.170Z] e1ff8fa3b103: Pulling fs layer [2023-04-21T06:47:36.170Z] 52ebb69f0ebf: Pulling fs layer [2023-04-21T06:47:36.170Z] 5abe8eddf0d5: Pulling fs layer [2023-04-21T06:47:36.170Z] 169dfbe0d373: Waiting [2023-04-21T06:47:36.170Z] e1ff8fa3b103: Waiting [2023-04-21T06:47:36.170Z] 52ebb69f0ebf: Waiting [2023-04-21T06:47:36.170Z] 5abe8eddf0d5: Waiting [2023-04-21T06:47:36.170Z] 55522c791124: Verifying Checksum [2023-04-21T06:47:36.170Z] 55522c791124: Download complete [2023-04-21T06:47:36.170Z] 169dfbe0d373: Verifying Checksum [2023-04-21T06:47:36.170Z] 169dfbe0d373: Download complete [2023-04-21T06:47:36.170Z] e1ff8fa3b103: Verifying Checksum [2023-04-21T06:47:36.170Z] e1ff8fa3b103: Download complete [2023-04-21T06:47:36.170Z] af6eaf76a39c: Verifying Checksum [2023-04-21T06:47:36.170Z] af6eaf76a39c: Download complete [2023-04-21T06:47:37.151Z] 5abe8eddf0d5: Verifying Checksum [2023-04-21T06:47:37.151Z] 5abe8eddf0d5: Download complete [2023-04-21T06:47:38.576Z] 52ebb69f0ebf: Verifying Checksum [2023-04-21T06:47:38.576Z] 52ebb69f0ebf: Download complete [2023-04-21T06:47:39.164Z] af6eaf76a39c: Pull complete [2023-04-21T06:47:39.438Z] 55522c791124: Pull complete [2023-04-21T06:47:40.023Z] ce5c4a1c91eb: Verifying Checksum [2023-04-21T06:47:40.023Z] ce5c4a1c91eb: Download complete [2023-04-21T06:47:52.350Z] ce5c4a1c91eb: Pull complete [2023-04-21T06:47:52.350Z] 169dfbe0d373: Pull complete [2023-04-21T06:47:52.350Z] e1ff8fa3b103: Pull complete [2023-04-21T06:47:59.025Z] 52ebb69f0ebf: Pull complete [2023-04-21T06:48:00.978Z] 5abe8eddf0d5: Pull complete [2023-04-21T06:48:00.978Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-21T06:48:00.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-21T06:48:00.978Z] ---> 6cb57ee374ae [2023-04-21T06:48:00.978Z] Step 3/10 : ARG MAKE=make build [2023-04-21T06:48:02.394Z] ---> Running in cee7d3c7b927 [2023-04-21T06:48:02.663Z] Removing intermediate container cee7d3c7b927 [2023-04-21T06:48:02.663Z] ---> b35f34e2a1a7 [2023-04-21T06:48:02.663Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-21T06:48:02.663Z] ---> Running in 3d347ff6d10a [2023-04-21T06:48:02.935Z] Removing intermediate container 3d347ff6d10a [2023-04-21T06:48:02.935Z] ---> 2cdbf1cd7c31 [2023-04-21T06:48:02.935Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T06:48:03.205Z] ---> Running in a48edd331a27 [2023-04-21T06:48:03.477Z] Removing intermediate container a48edd331a27 [2023-04-21T06:48:03.477Z] ---> 85072c35e645 [2023-04-21T06:48:03.477Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-21T06:48:03.477Z] ---> Running in 32a1c62c4687 [2023-04-21T06:48:04.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T06:48:05.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T06:48:06.595Z] OK: 263 MiB in 53 packages [2023-04-21T06:48:07.184Z] Removing intermediate container 32a1c62c4687 [2023-04-21T06:48:07.184Z] ---> 2604bafed2f7 [2023-04-21T06:48:07.184Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-21T06:48:07.772Z] ---> d6cc8cb30a27 [2023-04-21T06:48:07.772Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T06:48:07.772Z] ---> Running in 350eba4b4803 [2023-04-21T06:49:29.427Z] Removing intermediate container 350eba4b4803 [2023-04-21T06:49:29.427Z] ---> 7b1d7fa5926b [2023-04-21T06:49:29.427Z] Step 9/10 : COPY . . [2023-04-21T06:49:29.427Z] ---> c789acf6fceb [2023-04-21T06:49:29.427Z] Step 10/10 : RUN ${MAKE} [2023-04-21T06:49:29.427Z] ---> Running in 63f261df412c [2023-04-21T06:49:29.427Z] noop [2023-04-21T06:49:29.427Z] Removing intermediate container 63f261df412c [2023-04-21T06:49:29.427Z] ---> fa6ae42411b8 [2023-04-21T06:49:29.427Z] Successfully built fa6ae42411b8 [2023-04-21T06:49:29.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:49:29.910Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T06:49:29.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:49:30.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-9262 does not seem to be running inside a container [2023-04-21T06:49:30.249Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-21T06:49:31.524Z] $ docker top eee7d9f8632048753d1bd971fcd32e34d28eb00a5bd3431112b114cb79953e7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T06:49:32.404Z] + go version [2023-04-21T06:49:32.404Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-21T06:49:32.437Z] $ docker stop --time=1 eee7d9f8632048753d1bd971fcd32e34d28eb00a5bd3431112b114cb79953e7c [2023-04-21T06:49:35.164Z] $ docker rm -f --volumes eee7d9f8632048753d1bd971fcd32e34d28eb00a5bd3431112b114cb79953e7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:49:36.054Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T06:49:36.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:49:36.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-9262 does not seem to be running inside a container [2023-04-21T06:49:36.371Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-21T06:49:37.522Z] $ docker top 6c9391b1dc3c9e6f611db48fe37fe1872a4954dc83b60fcaf54b0dd0d0943f79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T06:49:38.096Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-21T06:49:38.815Z] + make test [2023-04-21T06:49:38.815Z] go test -race -coverprofile=coverage.out ./... [2023-04-21T06:50:17.744Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-21T06:52:09.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-21T06:52:09.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-21T06:52:09.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-21T06:52:09.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-21T06:52:09.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-21T06:52:14.775Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.206s coverage: 27.6% of statements [2023-04-21T06:52:16.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.257s coverage: 80.2% of statements [2023-04-21T06:52:24.379Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-21T06:52:24.379Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-21T06:52:24.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.355s coverage: 86.0% of statements [2023-04-21T06:52:29.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-21T06:52:29.217Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-21T06:52:29.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.434s coverage: 77.5% of statements [2023-04-21T06:52:33.133Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.270s coverage: 14.6% of statements [2023-04-21T06:52:34.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-21T06:52:34.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-21T06:52:34.682Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 68.5% of statements [2023-04-21T06:52:36.622Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-04-21T06:52:39.203Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-21T06:52:39.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.234s coverage: 5.5% of statements [2023-04-21T06:52:39.786Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-21T06:52:39.786Z] GO111MODULE=on go vet ./... [2023-04-21T06:55:01.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-21T06:55:01.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-21T06:55:01.770Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-21T06:55:01.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-21T06:55:01.842Z] $ docker stop --time=1 6c9391b1dc3c9e6f611db48fe37fe1872a4954dc83b60fcaf54b0dd0d0943f79 [2023-04-21T06:55:03.678Z] $ docker rm -f --volumes 6c9391b1dc3c9e6f611db48fe37fe1872a4954dc83b60fcaf54b0dd0d0943f79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T06:55:05.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-21T06:55:05.309Z] Warning: overwriting stash ‘coverage-report’ [2023-04-21T06:55:05.895Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T06:55:06.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-21T06:55:06.830Z] + ls -al . [2023-04-21T06:55:06.830Z] total 268 [2023-04-21T06:55:06.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 06:49 . [2023-04-21T06:55:06.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:47 .. [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 06:47 .dockerignore [2023-04-21T06:55:06.830Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 06:47 .git [2023-04-21T06:55:06.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 06:47 .github [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 21 06:47 .gitignore [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 21 06:47 .golangci.yml [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 21 06:47 CHANGELOG.md [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 06:47 GOVERNANCE.md [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 21 06:47 Jenkinsfile [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 06:47 LICENSE [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 21 06:47 Makefile [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 21 06:47 OWNERS.md [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 21 06:47 README.md [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 06:44 VERSION [2023-04-21T06:55:06.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 06:47 bin [2023-04-21T06:55:06.830Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 21 06:52 coverage.out [2023-04-21T06:55:06.830Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 06:47 example [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 21 06:47 go.mod [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 21 06:47 go.sum [2023-04-21T06:55:06.830Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 06:47 internal [2023-04-21T06:55:06.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 06:47 openapi [2023-04-21T06:55:06.830Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 21 06:47 pkg [2023-04-21T06:55:06.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 06:47 snap [2023-04-21T06:55:06.830Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 06:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:55:07.249Z] + 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=a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd --label arch=arm64 --label version=0.0.0 . [2023-04-21T06:55:07.516Z] Sending build context to Docker daemon 6.021MB [2023-04-21T06:55:07.783Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T06:55:07.783Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-21T06:55:07.783Z] ---> fa6ae42411b8 [2023-04-21T06:55:07.783Z] Step 3/23 : ARG MAKE=make build [2023-04-21T06:55:07.783Z] ---> Running in 30843c6cab09 [2023-04-21T06:55:08.054Z] Removing intermediate container 30843c6cab09 [2023-04-21T06:55:08.054Z] ---> 09bdaaf9e26b [2023-04-21T06:55:08.054Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-21T06:55:08.054Z] ---> Running in a5084475c2ca [2023-04-21T06:55:08.331Z] Removing intermediate container a5084475c2ca [2023-04-21T06:55:08.331Z] ---> 21d37ef6d611 [2023-04-21T06:55:08.331Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T06:55:08.601Z] ---> Running in a6c1d68e2636 [2023-04-21T06:55:08.869Z] Removing intermediate container a6c1d68e2636 [2023-04-21T06:55:08.869Z] ---> 0ca4cdf45697 [2023-04-21T06:55:08.869Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-21T06:55:08.869Z] ---> Running in 118cfccf8674 [2023-04-21T06:55:09.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T06:55:10.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T06:55:11.392Z] OK: 263 MiB in 53 packages [2023-04-21T06:55:12.354Z] Removing intermediate container 118cfccf8674 [2023-04-21T06:55:12.354Z] ---> 9d9fad238619 [2023-04-21T06:55:12.354Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-21T06:55:12.941Z] ---> f9aa5694a941 [2023-04-21T06:55:12.941Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T06:55:12.941Z] ---> Running in d036787b3fa1 [2023-04-21T06:55:15.524Z] Removing intermediate container d036787b3fa1 [2023-04-21T06:55:15.524Z] ---> 0d6dd535c5e3 [2023-04-21T06:55:15.524Z] Step 9/23 : COPY . . [2023-04-21T06:55:16.489Z] ---> 12097b16e616 [2023-04-21T06:55:16.490Z] Step 10/23 : RUN ${MAKE} [2023-04-21T06:55:16.761Z] ---> Running in 35fd7a8a0406 [2023-04-21T06:55:17.728Z] 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-21T06:57:24.424Z] Removing intermediate container 35fd7a8a0406 [2023-04-21T06:57:24.424Z] ---> 5c21bfb2f6c4 [2023-04-21T06:57:24.424Z] Step 11/23 : FROM alpine:3.17 [2023-04-21T06:57:24.424Z] 3.17: Pulling from library/alpine [2023-04-21T06:57:24.424Z] c41833b44d91: Pulling fs layer [2023-04-21T06:57:24.424Z] c41833b44d91: Verifying Checksum [2023-04-21T06:57:24.424Z] c41833b44d91: Download complete [2023-04-21T06:57:24.424Z] c41833b44d91: Pull complete [2023-04-21T06:57:24.424Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-21T06:57:24.424Z] Status: Downloaded newer image for alpine:3.17 [2023-04-21T06:57:24.424Z] ---> 51e60588ff2c [2023-04-21T06:57:24.424Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-21T06:57:24.424Z] ---> Running in 99ed861569bc [2023-04-21T06:57:24.424Z] Removing intermediate container 99ed861569bc [2023-04-21T06:57:24.424Z] ---> c933c1016b8f [2023-04-21T06:57:24.424Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-21T06:57:24.424Z] ---> Running in 381de4b0d004 [2023-04-21T06:57:25.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T06:57:25.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T06:57:26.548Z] OK: 7 MiB in 15 packages [2023-04-21T06:57:27.507Z] Removing intermediate container 381de4b0d004 [2023-04-21T06:57:27.507Z] ---> a4518104c8c5 [2023-04-21T06:57:27.507Z] Step 14/23 : WORKDIR / [2023-04-21T06:57:27.507Z] ---> Running in 2ca9cc01da39 [2023-04-21T06:57:27.774Z] Removing intermediate container 2ca9cc01da39 [2023-04-21T06:57:27.774Z] ---> e7764c93fd57 [2023-04-21T06:57:27.774Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-21T06:57:28.359Z] ---> c90233ebcb26 [2023-04-21T06:57:28.359Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-21T06:57:29.321Z] ---> 80152e7e9ebe [2023-04-21T06:57:29.321Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-21T06:57:29.903Z] ---> d56341dfd5fd [2023-04-21T06:57:29.903Z] Step 18/23 : EXPOSE 59999 [2023-04-21T06:57:29.903Z] ---> Running in e178ddc3e3e9 [2023-04-21T06:57:30.169Z] Removing intermediate container e178ddc3e3e9 [2023-04-21T06:57:30.169Z] ---> f3a393395cee [2023-04-21T06:57:30.169Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-21T06:57:30.437Z] ---> Running in fc973c4cb38f [2023-04-21T06:57:30.705Z] Removing intermediate container fc973c4cb38f [2023-04-21T06:57:30.705Z] ---> cc04d3ff4b01 [2023-04-21T06:57:30.705Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-21T06:57:30.705Z] ---> Running in b3cf4beea684 [2023-04-21T06:57:30.973Z] Removing intermediate container b3cf4beea684 [2023-04-21T06:57:30.973Z] ---> 7495f330071c [2023-04-21T06:57:30.973Z] Step 21/23 : LABEL arch=arm64 [2023-04-21T06:57:30.973Z] ---> Running in f225f449420a [2023-04-21T06:57:31.240Z] Removing intermediate container f225f449420a [2023-04-21T06:57:31.240Z] ---> e595e36e26b0 [2023-04-21T06:57:31.240Z] Step 22/23 : LABEL git_sha=a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [2023-04-21T06:57:31.240Z] ---> Running in e65f55e0a0cf [2023-04-21T06:57:31.507Z] Removing intermediate container e65f55e0a0cf [2023-04-21T06:57:31.507Z] ---> 3e70bc98149b [2023-04-21T06:57:31.507Z] Step 23/23 : LABEL version=0.0.0 [2023-04-21T06:57:31.772Z] ---> Running in 1cfc7d913ac1 [2023-04-21T06:57:31.772Z] Removing intermediate container 1cfc7d913ac1 [2023-04-21T06:57:31.772Z] ---> 700165e6fcaf [2023-04-21T06:57:31.772Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-21T06:57:32.039Z] Successfully built 700165e6fcaf [2023-04-21T06:57:32.039Z] 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-21T06:57:32.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T06:57:32.878Z] [2023-04-21T06:57:32.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:57:33.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T06:57:33.287Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-21T06:57:33.287Z] 8998bd30e6a1: Pulling fs layer [2023-04-21T06:57:33.287Z] 04944245beec: Pulling fs layer [2023-04-21T06:57:33.287Z] 699f458cf7ca: Pulling fs layer [2023-04-21T06:57:33.287Z] 765212b225bb: Pulling fs layer [2023-04-21T06:57:33.287Z] f23df028b6ca: Pulling fs layer [2023-04-21T06:57:33.287Z] d65c8cfc05b1: Pulling fs layer [2023-04-21T06:57:33.287Z] 2437ff75d9bd: Pulling fs layer [2023-04-21T06:57:33.287Z] 765212b225bb: Waiting [2023-04-21T06:57:33.287Z] f23df028b6ca: Waiting [2023-04-21T06:57:33.287Z] d65c8cfc05b1: Waiting [2023-04-21T06:57:33.287Z] 2437ff75d9bd: Waiting [2023-04-21T06:57:33.558Z] 04944245beec: Verifying Checksum [2023-04-21T06:57:33.558Z] 04944245beec: Download complete [2023-04-21T06:57:33.558Z] 765212b225bb: Verifying Checksum [2023-04-21T06:57:33.558Z] 765212b225bb: Download complete [2023-04-21T06:57:33.558Z] f23df028b6ca: Verifying Checksum [2023-04-21T06:57:33.558Z] f23df028b6ca: Download complete [2023-04-21T06:57:33.558Z] d65c8cfc05b1: Verifying Checksum [2023-04-21T06:57:33.558Z] d65c8cfc05b1: Download complete [2023-04-21T06:57:33.558Z] 699f458cf7ca: Verifying Checksum [2023-04-21T06:57:33.558Z] 699f458cf7ca: Download complete [2023-04-21T06:57:34.142Z] 8998bd30e6a1: Download complete [2023-04-21T06:57:36.085Z] 2437ff75d9bd: Verifying Checksum [2023-04-21T06:57:36.085Z] 2437ff75d9bd: Download complete [2023-04-21T06:57:37.498Z] 8998bd30e6a1: Pull complete [2023-04-21T06:57:38.081Z] 04944245beec: Pull complete [2023-04-21T06:57:39.044Z] 699f458cf7ca: Pull complete [2023-04-21T06:57:39.311Z] 765212b225bb: Pull complete [2023-04-21T06:57:39.893Z] f23df028b6ca: Pull complete [2023-04-21T06:57:40.160Z] d65c8cfc05b1: Pull complete [2023-04-21T06:57:52.461Z] 2437ff75d9bd: Pull complete [2023-04-21T06:57:52.461Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-21T06:57:52.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T06:57:52.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:57:52.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-9262 does not seem to be running inside a container [2023-04-21T06:57:52.848Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-21T06:57:55.365Z] $ docker top a984c48affcc54dc150d29bec641ab432f4fd88ded1314ce70468c6221347ead -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:57:55.964Z] ---> job-cost.sh [2023-04-21T06:57:56.234Z] lf-activate-venv: SKIPPING [2023-04-21T06:57:56.234Z] INFO: No Stack... [2023-04-21T06:57:56.819Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-21T06:57:57.402Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T06:57:57.742Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-21T06:57:57.742Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T06:57:57.814Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] [2023-04-21T06:57:57.819Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] did not exist. Created. [2023-04-21T06:57:57.819Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T06:57:58.519Z] /w/workspace/device-sdk-go/1@tmp/durable-a944d627/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-21T06:57:58.927Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-21T06:57:58.963Z] Warning: overwriting stash ‘stack-cost’ [2023-04-21T06:57:59.024Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T06:57:59.070Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1430-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T06:57:59.156Z] $ docker stop --time=1 a984c48affcc54dc150d29bec641ab432f4fd88ded1314ce70468c6221347ead [2023-04-21T06:58:00.660Z] $ docker rm -f --volumes a984c48affcc54dc150d29bec641ab432f4fd88ded1314ce70468c6221347ead [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-21T06:58:01.728Z] provisioning config files... [2023-04-21T06:58:01.736Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/config18057860543410287376tmp [Pipeline] { [Pipeline] sh [2023-04-21T06:58:02.080Z] + set +x [2023-04-21T06:58:02.080Z] + curl -s https://codecov.io/bash [2023-04-21T06:58:02.080Z] + bash -s -- [2023-04-21T06:58:02.080Z] [2023-04-21T06:58:02.080Z] _____ _ [2023-04-21T06:58:02.080Z] / ____| | | [2023-04-21T06:58:02.080Z] | | ___ __| | ___ ___ _____ __ [2023-04-21T06:58:02.081Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-21T06:58:02.081Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-21T06:58:02.081Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-21T06:58:02.081Z] Bash-1.0.6 [2023-04-21T06:58:02.081Z] [2023-04-21T06:58:02.081Z] [2023-04-21T06:58:02.081Z] ==> git version 2.25.1 found [2023-04-21T06:58:02.081Z] ==> 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-21T06:58:02.081Z] Release-Date: 2020-01-08 [2023-04-21T06:58:02.081Z] 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-21T06:58:02.081Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-21T06:58:02.081Z] ==> Jenkins CI detected. [2023-04-21T06:58:02.081Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1430 [2023-04-21T06:58:02.081Z] project root: . [2023-04-21T06:58:02.081Z] --> token set from env [2023-04-21T06:58:02.081Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-21T06:58:02.342Z] ==> Running gcov in . (disable via -X gcov) [2023-04-21T06:58:02.342Z] ==> Python coveragepy not found [2023-04-21T06:58:02.342Z] ==> Searching for coverage reports in: [2023-04-21T06:58:02.342Z] + . [2023-04-21T06:58:02.342Z] -> Found 1 reports [2023-04-21T06:58:02.342Z] ==> Detecting git/mercurial file structure [2023-04-21T06:58:02.342Z] ==> Reading reports [2023-04-21T06:58:02.342Z] + ./coverage.out bytes=106119 [2023-04-21T06:58:02.342Z] ==> Appending adjustments [2023-04-21T06:58:02.342Z] https://docs.codecov.io/docs/fixing-reports [2023-04-21T06:58:02.603Z] + Found adjustments [2023-04-21T06:58:02.603Z] ==> Gzipping contents [2023-04-21T06:58:02.603Z] 16K /tmp/codecov.9D8jQe.gz [2023-04-21T06:58:02.603Z] ==> Uploading reports [2023-04-21T06:58:02.603Z] url: https://codecov.io [2023-04-21T06:58:02.603Z] query: branch=PR-1430&commit=a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1430%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1430&job=&cmd_args= [2023-04-21T06:58:02.603Z] -> Pinging Codecov [2023-04-21T06:58:02.603Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1430&commit=a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1430%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1430&job=&cmd_args= [2023-04-21T06:58:02.864Z] -> Uploading to [2023-04-21T06:58:02.864Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-21/7E55EF52A471D76F132DFD9A03CDDE97/a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd/efff0d4d-aaed-4dff-acd8-cbd5a7410b94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230421T065802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17aa7394721601b59044267bdd8129e7611b97406019c5e5ee1fd2878dab0672 [2023-04-21T06:58:02.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-21T06:58:02.864Z] Dload Upload Total Spent Left Speed [2023-04-21T06:58:03.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14998 0 0 100 14998 0 54144 --:--:-- --:--:-- --:--:-- 54144 [2023-04-21T06:58:03.125Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a41aa997a8ffdaeab3d0a1b02b05a6c1b30530fd [Pipeline] } [2023-04-21T06:58:03.152Z] 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-21T06:58:05.289Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives ] [2023-04-21T06:58:05.289Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives [2023-04-21T06:58:05.289Z] total 16 [2023-04-21T06:58:05.289Z] drwxr-xr-x 3 root root 4096 Apr 21 06:47 . [2023-04-21T06:58:05.289Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 06:47 .. [2023-04-21T06:58:05.289Z] drwxr-xr-x 2 root root 4096 Apr 21 06:47 cost [2023-04-21T06:58:05.289Z] -rw-r--r-- 1 root root 86 Apr 21 06:47 cost.csv [2023-04-21T06:58:05.289Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives [2023-04-21T06:58:05.289Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives [2023-04-21T06:58:05.289Z] total 16 [2023-04-21T06:58:05.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 06:47 . [2023-04-21T06:58:05.289Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 06:47 .. [2023-04-21T06:58:05.289Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 06:47 cost [2023-04-21T06:58:05.289Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 21 06:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:05.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:06.518Z] ---> package-listing.sh [2023-04-21T06:58:06.518Z] ++ facter osfamily [2023-04-21T06:58:06.518Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-21T06:58:06.777Z] + OS_FAMILY=debian [2023-04-21T06:58:06.777Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1430 [2023-04-21T06:58:06.777Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-21T06:58:06.777Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-21T06:58:06.777Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-21T06:58:06.777Z] + PACKAGES=/tmp/packages_start.txt [2023-04-21T06:58:06.777Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1430 ']' [2023-04-21T06:58:06.777Z] + PACKAGES=/tmp/packages_end.txt [2023-04-21T06:58:06.777Z] + case "${OS_FAMILY}" in [2023-04-21T06:58:06.777Z] + dpkg -l [2023-04-21T06:58:06.777Z] + grep '^ii' [2023-04-21T06:58:06.777Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-21T06:58:06.777Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-21T06:58:06.777Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-21T06:58:06.777Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1430 ']' [2023-04-21T06:58:06.777Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives/ [2023-04-21T06:58:06.777Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1430/archives/ [Pipeline] echo [2023-04-21T06:58:06.814Z] 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-1430/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-21T06:58:07.108Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T06:58:07.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T06:58:07.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T06:58:07.900Z] prd-ubuntu20.04-docker-8c-8g-9261 does not seem to be running inside a container [2023-04-21T06:58:07.938Z] $ 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-1430/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-1430 -v /w/workspace/gexfoundry_device-sdk-go_PR-1430:/w/workspace/gexfoundry_device-sdk-go_PR-1430:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-21T06:58:08.120Z] $ docker top af0c26299eaadd8d0c87abeea2ac934f1e56ed06a34946be6dace6f071c20246 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T06:58:08.510Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-21T06:58:08.826Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-21T06:58:09.141Z] + ls /var/log/sa-host [2023-04-21T06:58:09.141Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T06:58:09.361Z] provisioning config files... [2023-04-21T06:58:09.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1430@tmp/config12767539411473721830tmp [Pipeline] { [Pipeline] echo [2023-04-21T06:58:09.420Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:09.731Z] ---> create-netrc.sh [Pipeline] } [2023-04-21T06:58:09.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:10.194Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-21T06:58:10.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:10.533Z] ---> sudo-logs.sh [2023-04-21T06:58:10.533Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-21T06:58:10.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:10.931Z] ---> job-cost.sh [2023-04-21T06:58:10.932Z] lf-activate-venv: SKIPPING [2023-04-21T06:58:10.932Z] DEBUG: total: 0.2199999988079071 [2023-04-21T06:58:10.932Z] INFO: Retrieving Stack Cost... [2023-04-21T06:58:11.499Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T06:58:11.758Z] INFO: Archiving Costs [Pipeline] echo [2023-04-21T06:58:11.795Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T06:58:12.110Z] ---> logs-deploy.sh [2023-04-21T06:58:12.110Z] lf-activate-venv: SKIPPING [2023-04-21T06:58:12.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1430/1 [2023-04-21T06:58:12.110Z] INFO: archiving workspace using pattern(s): [2023-04-21T06:58:13.050Z] Archives upload complete. [2023-04-21T06:58:13.050Z] INFO: archiving logs to Nexus