Pull request #1413 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2+8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 (c69188c9b875c095806ac55f3e80bf68fc91d0e3) 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-ssh5569280545217154182.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6791563751836442690.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1413/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-1413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3675247086199947824.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-1413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14846620839200093696.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8723013554552238326.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-1413/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-1413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8171109351523980464.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6266’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6268’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6269 in /w/workspace/gexfoundry_device-sdk-go_PR-1413 [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-1413 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1413/head:refs/remotes/origin/PR-1413 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 into PR head commit 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 Merge succeeded, producing 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 Checking out Revision 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 (PR-1413) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T22:19:23.261Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T22:19:23.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T22:19:23.534Z] ========================================================= [2023-03-29T22:19:23.534Z] EdgeX Global Pipelines Version Info [2023-03-29T22:19:23.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:19:24.273Z] ------------------- [2023-03-29T22:19:24.273Z] stable info: [2023-03-29T22:19:24.273Z] ------------------- [2023-03-29T22:19:24.273Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T22:19:24.273Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T22:19:24.273Z] Message: update stable to v1.0.245 [2023-03-29T22:19:24.844Z] ------------------- [2023-03-29T22:19:24.844Z] experimental info: [2023-03-29T22:19:24.844Z] ------------------- [2023-03-29T22:19:24.844Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T22:19:24.844Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T22:19:24.844Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T22:19:25.141Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-29T22:19:25.184Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-29T22:19:25.220Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T22:19:25.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T22:19:25.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T22:19:25.328Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T22:19:25.365Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T22:19:25.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-29T22:19:25.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T22:19:25.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T22:19:25.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T22:19:25.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-29T22:19:25.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T22:19:25.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T22:19:25.662Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T22:19:25.702Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:19:25.743Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:19:25.784Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T22:19:25.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T22:19:25.865Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T22:19:25.913Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-29T22:19:25.955Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-29T22:19:25.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T22:19:26.033Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T22:19:26.072Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T22:19:26.121Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T22:19:26.161Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T22:19:26.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1413 [Pipeline] echo [2023-03-29T22:19:26.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1413 [Pipeline] echo [2023-03-29T22:19:26.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1413 [Pipeline] echo [2023-03-29T22:19:26.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [Pipeline] echo [2023-03-29T22:19:26.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c6b00c [Pipeline] echo [2023-03-29T22:19:26.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:19:26.517Z] provisioning config files... [2023-03-29T22:19:26.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/config18352994244618248421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:19:26.874Z] ---> docker-login.sh [2023-03-29T22:19:26.874Z] nexus3.edgexfoundry.org:10001 [2023-03-29T22:19:27.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:27.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:27.135Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:27.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:27.135Z] [2023-03-29T22:19:27.135Z] Login Succeeded [2023-03-29T22:19:27.135Z] nexus3.edgexfoundry.org:10002 [2023-03-29T22:19:27.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:27.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:27.397Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:27.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:27.397Z] [2023-03-29T22:19:27.397Z] Login Succeeded [2023-03-29T22:19:27.397Z] nexus3.edgexfoundry.org:10003 [2023-03-29T22:19:27.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:27.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:27.397Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:27.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:27.397Z] [2023-03-29T22:19:27.397Z] Login Succeeded [2023-03-29T22:19:27.397Z] nexus3.edgexfoundry.org:10004 [2023-03-29T22:19:27.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:27.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:27.656Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:27.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:27.656Z] [2023-03-29T22:19:27.656Z] Login Succeeded [2023-03-29T22:19:27.656Z] docker.io [2023-03-29T22:19:27.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:27.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:27.916Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:27.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:27.916Z] [2023-03-29T22:19:27.916Z] Login Succeeded [2023-03-29T22:19:27.916Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T22:19:27.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T22:19:28.525Z] + git rev-list -1 --merges 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2~1..1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [Pipeline] echo [2023-03-29T22:19:28.589Z] -----------> git rev-list -1 --merges 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2~1..1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [false] [Pipeline] sh [2023-03-29T22:19:28.895Z] + git log --format=format:%s -1 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [Pipeline] echo [2023-03-29T22:19:28.926Z] ========================================================= [2023-03-29T22:19:28.926Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T22:19:28.926Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T22:19:29.356Z] + git log --format=format:%s -1 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [Pipeline] echo [2023-03-29T22:19:29.386Z] [semverPrep] GIT_COMMIT: 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-29T22:19:29.417Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T22:19:29.794Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T22:19:29.794Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T22:19:29.794Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T22:19:29.794Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T22:19:29.794Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T22:19:29.794Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T22:19:29.794Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:19:30.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:19:30.223Z] [2023-03-29T22:19:30.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:19:30.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:19:30.591Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T22:19:30.591Z] b85a868b505f: Pulling fs layer [2023-03-29T22:19:30.591Z] e2be974225ed: Pulling fs layer [2023-03-29T22:19:30.591Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T22:19:30.591Z] 988bab9f4d93: Pulling fs layer [2023-03-29T22:19:30.591Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T22:19:30.591Z] eaf3925da568: Pulling fs layer [2023-03-29T22:19:30.591Z] bab4dde63d76: Pulling fs layer [2023-03-29T22:19:30.591Z] bde34c3a00c8: Pulling fs layer [2023-03-29T22:19:30.591Z] b352a97aabf1: Pulling fs layer [2023-03-29T22:19:30.591Z] 4872d77fe225: Pulling fs layer [2023-03-29T22:19:30.591Z] 5851b861e8e6: Pulling fs layer [2023-03-29T22:19:30.591Z] 988bab9f4d93: Waiting [2023-03-29T22:19:30.591Z] bde34c3a00c8: Waiting [2023-03-29T22:19:30.591Z] 1469e6f7b9e6: Waiting [2023-03-29T22:19:30.591Z] bab4dde63d76: Waiting [2023-03-29T22:19:30.591Z] 4872d77fe225: Waiting [2023-03-29T22:19:30.591Z] 5851b861e8e6: Waiting [2023-03-29T22:19:30.591Z] b352a97aabf1: Waiting [2023-03-29T22:19:30.591Z] e2be974225ed: Download complete [2023-03-29T22:19:30.591Z] 988bab9f4d93: Verifying Checksum [2023-03-29T22:19:30.591Z] 988bab9f4d93: Download complete [2023-03-29T22:19:30.591Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T22:19:30.591Z] 1469e6f7b9e6: Download complete [2023-03-29T22:19:30.591Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T22:19:30.591Z] 339a4e72a1f5: Download complete [2023-03-29T22:19:30.591Z] eaf3925da568: Verifying Checksum [2023-03-29T22:19:30.591Z] eaf3925da568: Download complete [2023-03-29T22:19:30.850Z] bde34c3a00c8: Verifying Checksum [2023-03-29T22:19:30.850Z] bde34c3a00c8: Download complete [2023-03-29T22:19:30.850Z] b352a97aabf1: Verifying Checksum [2023-03-29T22:19:30.850Z] b352a97aabf1: Download complete [2023-03-29T22:19:30.850Z] 4872d77fe225: Verifying Checksum [2023-03-29T22:19:30.850Z] 4872d77fe225: Download complete [2023-03-29T22:19:30.850Z] 5851b861e8e6: Verifying Checksum [2023-03-29T22:19:30.850Z] 5851b861e8e6: Download complete [2023-03-29T22:19:30.850Z] b85a868b505f: Verifying Checksum [2023-03-29T22:19:30.850Z] b85a868b505f: Download complete [2023-03-29T22:19:31.110Z] bab4dde63d76: Verifying Checksum [2023-03-29T22:19:31.110Z] bab4dde63d76: Download complete [2023-03-29T22:19:32.055Z] b85a868b505f: Pull complete [2023-03-29T22:19:32.313Z] e2be974225ed: Pull complete [2023-03-29T22:19:32.884Z] 339a4e72a1f5: Pull complete [2023-03-29T22:19:32.884Z] 988bab9f4d93: Pull complete [2023-03-29T22:19:33.142Z] 1469e6f7b9e6: Pull complete [2023-03-29T22:19:33.142Z] eaf3925da568: Pull complete [2023-03-29T22:19:35.043Z] bab4dde63d76: Pull complete [2023-03-29T22:19:35.043Z] bde34c3a00c8: Pull complete [2023-03-29T22:19:35.043Z] b352a97aabf1: Pull complete [2023-03-29T22:19:35.303Z] 4872d77fe225: Pull complete [2023-03-29T22:19:35.303Z] 5851b861e8e6: Pull complete [2023-03-29T22:19:35.303Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T22:19:35.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T22:19:35.303Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:19:35.533Z] prd-ubuntu20.04-docker-8c-8g-6269 does not seem to be running inside a container [2023-03-29T22:19:35.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1413 -v /w/workspace/gexfoundry_device-sdk-go_PR-1413:/w/workspace/gexfoundry_device-sdk-go_PR-1413:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T22:19:37.783Z] $ docker top 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 -eo pid,comm [2023-03-29T22:19:37.839Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-29T22:19:37.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T22:19:37.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:19:37.979Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:19:38.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:19:38.093Z] $ docker exec 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 ssh-agent [2023-03-29T22:19:38.196Z] SSH_AUTH_SOCK=/tmp/ssh-kFV4Hk4A4qLe/agent.32 [2023-03-29T22:19:38.196Z] SSH_AGENT_PID=38 [2023-03-29T22:19:38.202Z] Running ssh-add (command line suppressed) [2023-03-29T22:19:38.305Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/private_key_13311444982427603035.key (/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/private_key_13311444982427603035.key) [2023-03-29T22:19:38.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:19:38.652Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T22:19:38.675Z] $ docker exec --env ******** --env ******** 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 ssh-agent -k [2023-03-29T22:19:38.762Z] unset SSH_AUTH_SOCK; [2023-03-29T22:19:38.763Z] unset SSH_AGENT_PID; [2023-03-29T22:19:38.763Z] echo Agent pid 38 killed; [2023-03-29T22:19:38.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T22:19:38.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T22:19:38.872Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T22:19:38.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T22:19:38.985Z] $ docker exec 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 ssh-agent [2023-03-29T22:19:39.091Z] SSH_AUTH_SOCK=/tmp/ssh-onmTsBnUtcBY/agent.70 [2023-03-29T22:19:39.091Z] SSH_AGENT_PID=76 [2023-03-29T22:19:39.096Z] Running ssh-add (command line suppressed) [2023-03-29T22:19:39.187Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/private_key_8899577199066841552.key (/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/private_key_8899577199066841552.key) [2023-03-29T22:19:39.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T22:19:39.530Z] + git semver init [2023-03-29T22:19:39.790Z] 2023-03-29 22:19:39,713 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T22:19:39.790Z] 2023-03-29 22:19:39,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver [2023-03-29T22:19:39.790Z] 2023-03-29 22:19:39,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver [2023-03-29T22:19:39.790Z] 2023-03-29 22:19:39,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1413, universal_newlines=False, shell=None, istream=None) [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,682 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1413/.git/info/exclude [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver/PR-1413 with force:False [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,683 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver/PR-1413 [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,687 [execute] INFO git cat-file --batch-check [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,694 [execute] INFO git cat-file --batch [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T22:19:40.725Z] 2023-03-29 22:19:40,699 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1413/.semver/PR-1413 [2023-03-29T22:19:40.725Z] 0.0.0 [Pipeline] } [2023-03-29T22:19:40.752Z] $ docker exec --env ******** --env ******** 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 ssh-agent -k [2023-03-29T22:19:40.854Z] unset SSH_AUTH_SOCK; [2023-03-29T22:19:40.855Z] unset SSH_AGENT_PID; [2023-03-29T22:19:40.855Z] echo Agent pid 76 killed; [2023-03-29T22:19:40.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T22:19:41.297Z] + git semver [Pipeline] } [2023-03-29T22:19:41.578Z] $ docker stop --time=1 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 [2023-03-29T22:19:42.878Z] $ docker rm -f --volumes 2bd2c2b12aad2310690217c70e4966b474be5f841f53d0c94df5f9fedb97f436 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:19:43.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T22:19:43.550Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T22:19:43.566Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:19:44.121Z] provisioning config files... [2023-03-29T22:19:44.131Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/config11415055582646404892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:19:44.477Z] ---> docker-login.sh [2023-03-29T22:19:44.477Z] nexus3.edgexfoundry.org:10001 [2023-03-29T22:19:44.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:44.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:44.477Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:44.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:44.477Z] [2023-03-29T22:19:44.477Z] Login Succeeded [2023-03-29T22:19:44.477Z] nexus3.edgexfoundry.org:10002 [2023-03-29T22:19:44.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:44.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:44.477Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:44.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:44.477Z] [2023-03-29T22:19:44.477Z] Login Succeeded [2023-03-29T22:19:44.477Z] nexus3.edgexfoundry.org:10003 [2023-03-29T22:19:44.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:44.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:44.736Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:44.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:44.736Z] [2023-03-29T22:19:44.736Z] Login Succeeded [2023-03-29T22:19:44.736Z] nexus3.edgexfoundry.org:10004 [2023-03-29T22:19:44.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:44.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:44.736Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:44.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:44.736Z] [2023-03-29T22:19:44.736Z] Login Succeeded [2023-03-29T22:19:44.736Z] docker.io [2023-03-29T22:19:44.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:19:44.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:19:44.995Z] Configure a credential helper to remove this warning. See [2023-03-29T22:19:44.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:19:44.995Z] [2023-03-29T22:19:44.995Z] Login Succeeded [2023-03-29T22:19:44.995Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T22:19:45.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T22:19:45.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:19:45.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:19:45.279Z] ========================================================= [2023-03-29T22:19:45.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T22:19:45.279Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:19:45.727Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T22:19:45.727Z] Sending build context to Docker daemon 10.91MB [2023-03-29T22:19:45.727Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T22:19:45.727Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-29T22:19:45.727Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T22:19:45.727Z] 63b65145d645: Pulling fs layer [2023-03-29T22:19:45.727Z] a2d21d5440eb: Pulling fs layer [2023-03-29T22:19:45.727Z] 935e6c44a52c: Pulling fs layer [2023-03-29T22:19:45.727Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T22:19:45.727Z] 30dea6a524f1: Pulling fs layer [2023-03-29T22:19:45.727Z] a2aff8979fd8: Pulling fs layer [2023-03-29T22:19:45.727Z] 6808be2612f2: Pulling fs layer [2023-03-29T22:19:45.727Z] f25807f1079a: Pulling fs layer [2023-03-29T22:19:45.727Z] a2aff8979fd8: Waiting [2023-03-29T22:19:45.727Z] 6808be2612f2: Waiting [2023-03-29T22:19:45.727Z] 94cc34f8dd06: Waiting [2023-03-29T22:19:45.727Z] f25807f1079a: Waiting [2023-03-29T22:19:45.727Z] 30dea6a524f1: Waiting [2023-03-29T22:19:45.727Z] a2d21d5440eb: Download complete [2023-03-29T22:19:45.987Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T22:19:45.987Z] 94cc34f8dd06: Download complete [2023-03-29T22:19:45.987Z] 30dea6a524f1: Verifying Checksum [2023-03-29T22:19:45.987Z] 30dea6a524f1: Download complete [2023-03-29T22:19:45.987Z] 63b65145d645: Download complete [2023-03-29T22:19:45.987Z] a2aff8979fd8: Verifying Checksum [2023-03-29T22:19:45.987Z] a2aff8979fd8: Download complete [2023-03-29T22:19:45.987Z] 63b65145d645: Pull complete [2023-03-29T22:19:46.248Z] a2d21d5440eb: Pull complete [2023-03-29T22:19:46.248Z] f25807f1079a: Verifying Checksum [2023-03-29T22:19:46.248Z] f25807f1079a: Download complete [2023-03-29T22:19:46.508Z] 935e6c44a52c: Verifying Checksum [2023-03-29T22:19:46.508Z] 935e6c44a52c: Download complete [2023-03-29T22:19:46.766Z] 6808be2612f2: Verifying Checksum [2023-03-29T22:19:46.766Z] 6808be2612f2: Download complete [2023-03-29T22:19:50.049Z] 935e6c44a52c: Pull complete [2023-03-29T22:19:50.049Z] 94cc34f8dd06: Pull complete [2023-03-29T22:19:50.049Z] 30dea6a524f1: Pull complete [2023-03-29T22:19:50.049Z] a2aff8979fd8: Pull complete [2023-03-29T22:19:52.582Z] 6808be2612f2: Pull complete [2023-03-29T22:19:53.145Z] f25807f1079a: Pull complete [2023-03-29T22:19:53.145Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T22:19:53.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T22:19:53.145Z] ---> 3b553350e43f [2023-03-29T22:19:53.145Z] Step 3/10 : ARG MAKE=make build [2023-03-29T22:19:58.413Z] ---> Running in dbe62deb352a [2023-03-29T22:19:58.413Z] Removing intermediate container dbe62deb352a [2023-03-29T22:19:58.413Z] ---> c4fbba4d7112 [2023-03-29T22:19:58.413Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-29T22:19:58.413Z] ---> Running in 4d2a9d4eed81 [2023-03-29T22:19:58.413Z] Removing intermediate container 4d2a9d4eed81 [2023-03-29T22:19:58.413Z] ---> d144797e39ec [2023-03-29T22:19:58.413Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-29T22:19:58.413Z] ---> Running in a41f9214f802 [2023-03-29T22:19:58.413Z] Removing intermediate container a41f9214f802 [2023-03-29T22:19:58.413Z] ---> 1b560b78c804 [2023-03-29T22:19:58.413Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-29T22:19:58.413Z] ---> Running in 606a79202c9a [2023-03-29T22:19:58.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T22:19:58.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T22:19:58.674Z] OK: 265 MiB in 53 packages [2023-03-29T22:19:58.934Z] Removing intermediate container 606a79202c9a [2023-03-29T22:19:58.934Z] ---> eab825fdcc1e [2023-03-29T22:19:58.934Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-29T22:19:58.954Z] Still waiting to schedule task [2023-03-29T22:19:58.954Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6267’ [2023-03-29T22:19:59.192Z] ---> bfca0d509666 [2023-03-29T22:19:59.192Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T22:19:59.192Z] ---> Running in 543601eefb6c [2023-03-29T22:20:25.748Z] Removing intermediate container 543601eefb6c [2023-03-29T22:20:25.748Z] ---> 092bc31052a5 [2023-03-29T22:20:25.748Z] Step 9/10 : COPY . . [2023-03-29T22:20:26.314Z] ---> 341ca9176280 [2023-03-29T22:20:26.314Z] Step 10/10 : RUN ${MAKE} [2023-03-29T22:20:26.314Z] ---> Running in 62f50214786e [2023-03-29T22:20:26.573Z] noop [2023-03-29T22:20:27.142Z] Removing intermediate container 62f50214786e [2023-03-29T22:20:27.142Z] ---> 40909ff60419 [2023-03-29T22:20:27.142Z] Successfully built 40909ff60419 [2023-03-29T22:20:27.142Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:20:27.580Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T22:20:27.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:20:27.734Z] prd-ubuntu20.04-docker-8c-8g-6269 does not seem to be running inside a container [2023-03-29T22:20:27.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1413 -v /w/workspace/gexfoundry_device-sdk-go_PR-1413:/w/workspace/gexfoundry_device-sdk-go_PR-1413:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T22:20:28.096Z] $ docker top 0f0f297c94bbac9a062b7560c98a82f7cb63469e23e9168e08afe94c673e9125 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:20:28.478Z] + go version [2023-03-29T22:20:28.478Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T22:20:28.515Z] $ docker stop --time=1 0f0f297c94bbac9a062b7560c98a82f7cb63469e23e9168e08afe94c673e9125 [2023-03-29T22:20:30.007Z] $ docker rm -f --volumes 0f0f297c94bbac9a062b7560c98a82f7cb63469e23e9168e08afe94c673e9125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:20:30.714Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T22:20:30.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:20:30.865Z] prd-ubuntu20.04-docker-8c-8g-6269 does not seem to be running inside a container [2023-03-29T22:20:30.894Z] $ 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-1413 -v /w/workspace/gexfoundry_device-sdk-go_PR-1413:/w/workspace/gexfoundry_device-sdk-go_PR-1413:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T22:20:31.218Z] $ docker top fe04cfe1496fd080390423cd678172da6cd3191a3c40a9f1161120437257e116 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:20:31.608Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1413 [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:20:31.964Z] + make test [2023-03-29T22:20:31.964Z] go test -race -coverprofile=coverage.out ./... [2023-03-29T22:20:38.526Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-29T22:20:53.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.043s coverage: 27.6% of statements [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-29T22:20:53.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-29T22:20:53.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 79.9% of statements [2023-03-29T22:20:53.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements [2023-03-29T22:20:54.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-29T22:20:54.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-29T22:20:54.319Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 75.7% of statements [2023-03-29T22:20:54.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-29T22:20:54.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-29T22:20:55.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-29T22:20:57.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.9% of statements [2023-03-29T22:20:57.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements [2023-03-29T22:20:57.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements [2023-03-29T22:20:57.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-03-29T22:21:19.121Z] GO111MODULE=on go vet ./... [2023-03-29T22:21:21.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:21:21.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T22:21:21.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T22:21:21.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T22:21:21.477Z] $ docker stop --time=1 fe04cfe1496fd080390423cd678172da6cd3191a3c40a9f1161120437257e116 [2023-03-29T22:21:24.690Z] $ docker rm -f --volumes fe04cfe1496fd080390423cd678172da6cd3191a3c40a9f1161120437257e116 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:21:25.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T22:21:25.411Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-29T22:21:26.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T22:21:26.360Z] + ls -al . [2023-03-29T22:21:26.360Z] total 276 [2023-03-29T22:21:26.360Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 22:20 . [2023-03-29T22:21:26.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:19 .. [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 22:19 .dockerignore [2023-03-29T22:21:26.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:19 .git [2023-03-29T22:21:26.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:19 .github [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 29 22:19 .gitignore [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 22:19 .golangci.yml [2023-03-29T22:21:26.360Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 22:19 .semver [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 29 22:19 CHANGELOG.md [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 22:19 GOVERNANCE.md [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 29 22:19 Jenkinsfile [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 22:19 LICENSE [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 29 22:19 Makefile [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 29 22:19 OWNERS.md [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 29 22:19 README.md [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 22:19 VERSION [2023-03-29T22:21:26.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:19 bin [2023-03-29T22:21:26.360Z] -rw-r--r-- 1 jenkins jenkins 106714 Mar 29 22:20 coverage.out [2023-03-29T22:21:26.360Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 22:19 example [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 29 22:19 go.mod [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 29 22:19 go.sum [2023-03-29T22:21:26.360Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 29 22:19 internal [2023-03-29T22:21:26.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:19 openapi [2023-03-29T22:21:26.360Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 22:19 pkg [2023-03-29T22:21:26.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:19 snap [2023-03-29T22:21:26.360Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:21:26.750Z] + 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=1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 --label arch=amd64 --label version=0.0.0 . [2023-03-29T22:21:26.751Z] Sending build context to Docker daemon 11.02MB [2023-03-29T22:21:26.751Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T22:21:26.751Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-29T22:21:26.751Z] ---> 40909ff60419 [2023-03-29T22:21:26.751Z] Step 3/23 : ARG MAKE=make build [2023-03-29T22:21:27.009Z] ---> Running in de5cef55afd8 [2023-03-29T22:21:27.009Z] Removing intermediate container de5cef55afd8 [2023-03-29T22:21:27.009Z] ---> 0b3a46f9a4bb [2023-03-29T22:21:27.009Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-29T22:21:27.009Z] ---> Running in a65590d94db6 [2023-03-29T22:21:27.010Z] Removing intermediate container a65590d94db6 [2023-03-29T22:21:27.010Z] ---> d74bfab0a26e [2023-03-29T22:21:27.010Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-29T22:21:27.010Z] ---> Running in ca18f5d1c460 [2023-03-29T22:21:27.268Z] Removing intermediate container ca18f5d1c460 [2023-03-29T22:21:27.268Z] ---> 807fc1a7a863 [2023-03-29T22:21:27.268Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-29T22:21:27.268Z] ---> Running in c8b2769e2cb6 [2023-03-29T22:21:27.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T22:21:27.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T22:21:27.785Z] OK: 265 MiB in 53 packages [2023-03-29T22:21:28.046Z] Removing intermediate container c8b2769e2cb6 [2023-03-29T22:21:28.046Z] ---> 8458e9892f8a [2023-03-29T22:21:28.046Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-29T22:21:28.046Z] ---> a1c21095356e [2023-03-29T22:21:28.046Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T22:21:28.306Z] ---> Running in ecc3dee55abc [2023-03-29T22:21:28.874Z] Removing intermediate container ecc3dee55abc [2023-03-29T22:21:28.874Z] ---> 273501ec4ef2 [2023-03-29T22:21:28.874Z] Step 9/23 : COPY . . [2023-03-29T22:21:29.441Z] ---> 6d679113cbaf [2023-03-29T22:21:29.441Z] Step 10/23 : RUN ${MAKE} [2023-03-29T22:21:29.441Z] ---> Running in efccdbc1a3ec [2023-03-29T22:21:29.699Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-29T22:21:47.778Z] Removing intermediate container efccdbc1a3ec [2023-03-29T22:21:47.778Z] ---> 3b5193a7100e [2023-03-29T22:21:47.778Z] Step 11/23 : FROM alpine:3.17 [2023-03-29T22:21:48.037Z] 3.17: Pulling from library/alpine [2023-03-29T22:21:48.037Z] f56be85fc22e: Pulling fs layer [2023-03-29T22:21:48.294Z] f56be85fc22e: Download complete [2023-03-29T22:21:48.552Z] f56be85fc22e: Pull complete [2023-03-29T22:21:48.552Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T22:21:48.552Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T22:21:48.552Z] ---> 9ed4aefc74f6 [2023-03-29T22:21:48.552Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-29T22:21:48.552Z] ---> Running in be1641e5233a [2023-03-29T22:21:48.552Z] Removing intermediate container be1641e5233a [2023-03-29T22:21:48.552Z] ---> be2afff7182a [2023-03-29T22:21:48.552Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-29T22:21:48.552Z] ---> Running in 17b521c723b7 [2023-03-29T22:21:49.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T22:21:49.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T22:21:49.377Z] OK: 7 MiB in 15 packages [2023-03-29T22:21:49.638Z] Removing intermediate container 17b521c723b7 [2023-03-29T22:21:49.638Z] ---> 255359b254b1 [2023-03-29T22:21:49.638Z] Step 14/23 : WORKDIR / [2023-03-29T22:21:49.638Z] ---> Running in 0b1b27b7f9d1 [2023-03-29T22:21:49.638Z] Removing intermediate container 0b1b27b7f9d1 [2023-03-29T22:21:49.638Z] ---> 8f071cbe4680 [2023-03-29T22:21:49.638Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-29T22:21:49.897Z] ---> 60573a6f3c1e [2023-03-29T22:21:49.897Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-29T22:21:50.470Z] ---> 30b4c875e1fc [2023-03-29T22:21:50.470Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-29T22:21:50.470Z] ---> a124965bb666 [2023-03-29T22:21:50.470Z] Step 18/23 : EXPOSE 59999 [2023-03-29T22:21:50.470Z] ---> Running in 7819f30546bb [2023-03-29T22:21:50.728Z] Removing intermediate container 7819f30546bb [2023-03-29T22:21:50.728Z] ---> 93387e28ee1c [2023-03-29T22:21:50.728Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-29T22:21:50.728Z] ---> Running in e24a59b7a3d3 [2023-03-29T22:21:50.728Z] Removing intermediate container e24a59b7a3d3 [2023-03-29T22:21:50.728Z] ---> dc6e29064158 [2023-03-29T22:21:50.728Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T22:21:50.728Z] ---> Running in 0250cb7cb284 [2023-03-29T22:21:50.728Z] Removing intermediate container 0250cb7cb284 [2023-03-29T22:21:50.728Z] ---> ba165a3a0845 [2023-03-29T22:21:50.728Z] Step 21/23 : LABEL arch=amd64 [2023-03-29T22:21:50.728Z] ---> Running in e646ff65e253 [2023-03-29T22:21:50.987Z] Removing intermediate container e646ff65e253 [2023-03-29T22:21:50.987Z] ---> 1b299a43c511 [2023-03-29T22:21:50.987Z] Step 22/23 : LABEL git_sha=1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [2023-03-29T22:21:50.987Z] ---> Running in 9f747dbd5c1c [2023-03-29T22:21:50.987Z] Removing intermediate container 9f747dbd5c1c [2023-03-29T22:21:50.987Z] ---> cdb4334e0a32 [2023-03-29T22:21:50.987Z] Step 23/23 : LABEL version=0.0.0 [2023-03-29T22:21:50.987Z] ---> Running in d89ac27e0cf1 [2023-03-29T22:21:50.987Z] Removing intermediate container d89ac27e0cf1 [2023-03-29T22:21:50.987Z] ---> bb36b5546a8a [2023-03-29T22:21:50.987Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T22:21:50.987Z] Successfully built bb36b5546a8a [2023-03-29T22:21:50.987Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:21:51.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:21:51.829Z] [2023-03-29T22:21:51.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:21:52.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:21:52.214Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T22:21:52.214Z] 5eb5b503b376: Pulling fs layer [2023-03-29T22:21:52.214Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T22:21:52.214Z] ec43610c2a17: Pulling fs layer [2023-03-29T22:21:52.214Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T22:21:52.214Z] 33b1e0a273af: Pulling fs layer [2023-03-29T22:21:52.214Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T22:21:52.214Z] 2f39f015ded8: Pulling fs layer [2023-03-29T22:21:52.214Z] 3a2ae6a8a46f: Waiting [2023-03-29T22:21:52.214Z] 33b1e0a273af: Waiting [2023-03-29T22:21:52.214Z] 5d3b04190fa2: Waiting [2023-03-29T22:21:52.214Z] 2f39f015ded8: Waiting [2023-03-29T22:21:52.214Z] 5c69ac0246d0: Download complete [2023-03-29T22:21:52.214Z] 3a2ae6a8a46f: Download complete [2023-03-29T22:21:52.214Z] 33b1e0a273af: Verifying Checksum [2023-03-29T22:21:52.214Z] 33b1e0a273af: Download complete [2023-03-29T22:21:52.214Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T22:21:52.214Z] 5d3b04190fa2: Download complete [2023-03-29T22:21:52.214Z] ec43610c2a17: Verifying Checksum [2023-03-29T22:21:52.214Z] ec43610c2a17: Download complete [2023-03-29T22:21:52.478Z] 5eb5b503b376: Download complete [2023-03-29T22:21:53.045Z] 2f39f015ded8: Download complete [2023-03-29T22:21:53.612Z] 5eb5b503b376: Pull complete [2023-03-29T22:21:53.869Z] 5c69ac0246d0: Pull complete [2023-03-29T22:21:54.435Z] ec43610c2a17: Pull complete [2023-03-29T22:21:54.435Z] 3a2ae6a8a46f: Pull complete [2023-03-29T22:21:54.435Z] 33b1e0a273af: Pull complete [2023-03-29T22:21:54.693Z] 5d3b04190fa2: Pull complete [2023-03-29T22:21:58.879Z] 2f39f015ded8: Pull complete [2023-03-29T22:21:58.879Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T22:21:58.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:21:58.879Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:21:59.101Z] prd-ubuntu20.04-docker-8c-8g-6269 does not seem to be running inside a container [2023-03-29T22:21:59.136Z] $ 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-1413 -v /w/workspace/gexfoundry_device-sdk-go_PR-1413:/w/workspace/gexfoundry_device-sdk-go_PR-1413:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T22:22:03.126Z] $ docker top 95c6f74b74382d7cedab25a167ae8139ab42b6215bc248558478a6c8693890de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:22:03.560Z] ---> job-cost.sh [2023-03-29T22:22:03.560Z] lf-activate-venv: SKIPPING [2023-03-29T22:22:03.560Z] INFO: No Stack... [2023-03-29T22:22:04.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T22:22:04.384Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T22:22:04.697Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives/cost.csv [2023-03-29T22:22:04.697Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T22:22:04.733Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] [2023-03-29T22:22:04.738Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] did not exist. Created. [2023-03-29T22:22:04.738Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T22:22:05.125Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T22:22:05.177Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T22:22:05.206Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T22:22:05.284Z] $ docker stop --time=1 95c6f74b74382d7cedab25a167ae8139ab42b6215bc248558478a6c8693890de [2023-03-29T22:22:06.544Z] $ docker rm -f --volumes 95c6f74b74382d7cedab25a167ae8139ab42b6215bc248558478a6c8693890de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T22:22:49.398Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6271 in /w/workspace/gexfoundry_device-sdk-go_PR-1413 [Pipeline] { [Pipeline] ws [2023-03-29T22:22:49.451Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-29T22:22:49.533Z] The recommended git tool is: git [2023-03-29T22:22:56.102Z] using credential edgex-jenkins-ssh [2023-03-29T22:22:56.118Z] Cloning the remote Git repository [2023-03-29T22:22:56.166Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-29T22:22:56.283Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-29T22:22:56.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-29T22:22:56.452Z] > git --version # timeout=10 [2023-03-29T22:22:56.474Z] > git --version # 'git version 2.25.1' [2023-03-29T22:22:56.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T22:22:56.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T22:22:58.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-29T22:22:58.416Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T22:22:59.435Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-29T22:22:59.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-29T22:22:59.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T22:22:59.504Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1413/head:refs/remotes/origin/PR-1413 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T22:23:00.080Z] Merging remotes/origin/main commit 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 into PR head commit 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [2023-03-29T22:23:00.423Z] Merge succeeded, producing 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [2023-03-29T22:23:00.424Z] Checking out Revision 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 (PR-1413) [2023-03-29T22:23:01.035Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-29T22:23:01.097Z] > git --version # timeout=10 [2023-03-29T22:23:01.111Z] > git --version # 'git version 2.25.1' [2023-03-29T22:23:01.125Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T22:23:00.097Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T22:23:00.191Z] > git checkout -f 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 # timeout=10 [2023-03-29T22:23:00.315Z] > git remote # timeout=10 [2023-03-29T22:23:00.338Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T22:23:00.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T22:23:00.374Z] > git merge 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 # timeout=10 [2023-03-29T22:23:00.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T22:23:00.428Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T22:23:00.444Z] > git checkout -f 1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T22:23:02.346Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T22:23:02.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T22:23:02.346Z] Dload Upload Total Spent Left Speed [2023-03-29T22:23:02.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-29T22:23:02.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T22:23:03.322Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T22:23:03.322Z] + sudo tee /etc/docker/daemon.new [2023-03-29T22:23:03.322Z] { [2023-03-29T22:23:03.322Z] "registry-mirrors": [ [2023-03-29T22:23:03.322Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T22:23:03.322Z] ], [2023-03-29T22:23:03.322Z] "bip": "10.250.0.254/24", [2023-03-29T22:23:03.322Z] "hosts": [ [2023-03-29T22:23:03.322Z] "tcp://0.0.0.0:5555", [2023-03-29T22:23:03.322Z] "unix:///var/run/docker.sock" [2023-03-29T22:23:03.322Z] ], [2023-03-29T22:23:03.322Z] "mtu": 1458, [2023-03-29T22:23:03.322Z] "selinux-enabled": true, [2023-03-29T22:23:03.322Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T22:23:03.322Z] } [Pipeline] sh [2023-03-29T22:23:03.688Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T22:23:04.068Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:23:22.431Z] provisioning config files... [2023-03-29T22:23:22.463Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2012235296585267387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:23:22.866Z] ---> docker-login.sh [2023-03-29T22:23:22.866Z] nexus3.edgexfoundry.org:10001 [2023-03-29T22:23:23.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:23:23.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:23:23.729Z] Configure a credential helper to remove this warning. See [2023-03-29T22:23:23.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:23:23.729Z] [2023-03-29T22:23:23.729Z] Login Succeeded [2023-03-29T22:23:23.729Z] nexus3.edgexfoundry.org:10002 [2023-03-29T22:23:23.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:23:23.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:23:23.999Z] Configure a credential helper to remove this warning. See [2023-03-29T22:23:23.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:23:23.999Z] [2023-03-29T22:23:23.999Z] Login Succeeded [2023-03-29T22:23:23.999Z] nexus3.edgexfoundry.org:10003 [2023-03-29T22:23:24.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:23:24.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:23:24.271Z] Configure a credential helper to remove this warning. See [2023-03-29T22:23:24.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:23:24.271Z] [2023-03-29T22:23:24.271Z] Login Succeeded [2023-03-29T22:23:24.271Z] nexus3.edgexfoundry.org:10004 [2023-03-29T22:23:24.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:23:24.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:23:24.820Z] Configure a credential helper to remove this warning. See [2023-03-29T22:23:24.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:23:24.820Z] [2023-03-29T22:23:24.820Z] Login Succeeded [2023-03-29T22:23:24.820Z] docker.io [2023-03-29T22:23:25.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T22:23:25.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T22:23:25.361Z] Configure a credential helper to remove this warning. See [2023-03-29T22:23:25.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T22:23:25.361Z] [2023-03-29T22:23:25.361Z] Login Succeeded [2023-03-29T22:23:25.361Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T22:23:25.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T22:23:25.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:23:25.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T22:23:25.851Z] ========================================================= [2023-03-29T22:23:25.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T22:23:25.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:23:26.361Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T22:23:26.960Z] Sending build context to Docker daemon 5.863MB [2023-03-29T22:23:26.960Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T22:23:26.960Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-29T22:23:26.960Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T22:23:26.960Z] af6eaf76a39c: Pulling fs layer [2023-03-29T22:23:26.960Z] 55522c791124: Pulling fs layer [2023-03-29T22:23:26.960Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T22:23:26.960Z] 169dfbe0d373: Pulling fs layer [2023-03-29T22:23:26.960Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T22:23:26.960Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T22:23:26.960Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T22:23:26.960Z] 169dfbe0d373: Waiting [2023-03-29T22:23:26.960Z] e1ff8fa3b103: Waiting [2023-03-29T22:23:26.960Z] 52ebb69f0ebf: Waiting [2023-03-29T22:23:26.960Z] 5abe8eddf0d5: Waiting [2023-03-29T22:23:26.960Z] 55522c791124: Verifying Checksum [2023-03-29T22:23:26.960Z] 55522c791124: Download complete [2023-03-29T22:23:26.960Z] 169dfbe0d373: Verifying Checksum [2023-03-29T22:23:26.960Z] 169dfbe0d373: Download complete [2023-03-29T22:23:26.960Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T22:23:26.960Z] e1ff8fa3b103: Download complete [2023-03-29T22:23:27.231Z] af6eaf76a39c: Verifying Checksum [2023-03-29T22:23:27.231Z] af6eaf76a39c: Download complete [2023-03-29T22:23:28.212Z] af6eaf76a39c: Pull complete [2023-03-29T22:23:28.486Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T22:23:28.486Z] 5abe8eddf0d5: Download complete [2023-03-29T22:23:28.763Z] 55522c791124: Pull complete [2023-03-29T22:23:29.750Z] ce5c4a1c91eb: Verifying Checksum [2023-03-29T22:23:29.750Z] ce5c4a1c91eb: Download complete [2023-03-29T22:23:29.750Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T22:23:29.750Z] 52ebb69f0ebf: Download complete [2023-03-29T22:23:42.233Z] ce5c4a1c91eb: Pull complete [2023-03-29T22:23:42.233Z] 169dfbe0d373: Pull complete [2023-03-29T22:23:42.233Z] e1ff8fa3b103: Pull complete [2023-03-29T22:23:49.010Z] 52ebb69f0ebf: Pull complete [2023-03-29T22:23:50.441Z] 5abe8eddf0d5: Pull complete [2023-03-29T22:23:50.442Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T22:23:50.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T22:23:50.442Z] ---> 6cb57ee374ae [2023-03-29T22:23:50.442Z] Step 3/10 : ARG MAKE=make build [2023-03-29T22:23:52.403Z] ---> Running in 7d6f573a4d77 [2023-03-29T22:23:52.672Z] Removing intermediate container 7d6f573a4d77 [2023-03-29T22:23:52.672Z] ---> 1f9a537eeecc [2023-03-29T22:23:52.672Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-29T22:23:52.672Z] ---> Running in 900c0119d078 [2023-03-29T22:23:53.258Z] Removing intermediate container 900c0119d078 [2023-03-29T22:23:53.258Z] ---> a5a39be89400 [2023-03-29T22:23:53.258Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-29T22:23:53.258Z] ---> Running in 8175beb0f993 [2023-03-29T22:23:53.526Z] Removing intermediate container 8175beb0f993 [2023-03-29T22:23:53.526Z] ---> ccd95c6620a6 [2023-03-29T22:23:53.526Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-29T22:23:53.794Z] ---> Running in f4bb5bd53c3b [2023-03-29T22:23:54.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T22:23:55.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T22:23:56.771Z] OK: 263 MiB in 53 packages [2023-03-29T22:23:57.762Z] Removing intermediate container f4bb5bd53c3b [2023-03-29T22:23:57.762Z] ---> 2dbbf8a34d5d [2023-03-29T22:23:57.762Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-29T22:23:58.036Z] ---> 8abc49feab84 [2023-03-29T22:23:58.036Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T22:23:58.320Z] ---> Running in 44986426c041 [2023-03-29T22:25:06.258Z] Removing intermediate container 44986426c041 [2023-03-29T22:25:06.258Z] ---> b5bf1c7bd24e [2023-03-29T22:25:06.258Z] Step 9/10 : COPY . . [2023-03-29T22:25:06.258Z] ---> 771366c48b35 [2023-03-29T22:25:06.258Z] Step 10/10 : RUN ${MAKE} [2023-03-29T22:25:06.258Z] ---> Running in e750d83d8556 [2023-03-29T22:25:06.258Z] noop [2023-03-29T22:25:06.258Z] Removing intermediate container e750d83d8556 [2023-03-29T22:25:06.258Z] ---> 58a3edc1094b [2023-03-29T22:25:06.258Z] Successfully built 58a3edc1094b [2023-03-29T22:25:06.258Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:25:06.873Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T22:25:06.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:25:07.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-6271 does not seem to be running inside a container [2023-03-29T22:25:07.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T22:25:08.571Z] $ docker top 334ea11201277544db6818b1002465a652676b5a893c3a7ed89c52ec1c767675 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:25:09.483Z] + go version [2023-03-29T22:25:09.484Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T22:25:09.518Z] $ docker stop --time=1 334ea11201277544db6818b1002465a652676b5a893c3a7ed89c52ec1c767675 [2023-03-29T22:25:11.175Z] $ docker rm -f --volumes 334ea11201277544db6818b1002465a652676b5a893c3a7ed89c52ec1c767675 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:25:12.052Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T22:25:12.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:25:12.320Z] prd-ubuntu20.04-docker-arm64-4c-16g-6271 does not seem to be running inside a container [2023-03-29T22:25:12.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T22:25:13.638Z] $ docker top 1454708c575e72a4618b469c57300083ec0b8f44ea65a6d65e4b21dd498eacc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:25:14.540Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-29T22:25:15.243Z] + make test [2023-03-29T22:25:15.243Z] go test -race -coverprofile=coverage.out ./... [2023-03-29T22:26:02.136Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-29T22:28:23.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-29T22:28:23.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-29T22:28:23.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-29T22:28:23.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-29T22:28:23.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-29T22:28:33.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.291s coverage: 27.6% of statements [2023-03-29T22:28:34.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.286s coverage: 79.9% of statements [2023-03-29T22:28:49.962Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-29T22:28:49.962Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-29T22:28:49.962Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.386s coverage: 86.0% of statements [2023-03-29T22:28:55.310Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-29T22:28:55.579Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.438s coverage: 75.7% of statements [2023-03-29T22:28:59.860Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-29T22:29:01.814Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-29T22:29:01.814Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-29T22:29:02.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.275s coverage: 14.9% of statements [2023-03-29T22:29:02.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.440s coverage: 68.5% of statements [2023-03-29T22:29:06.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.472s coverage: 89.2% of statements [2023-03-29T22:29:07.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-29T22:29:07.390Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.272s coverage: 5.5% of statements [2023-03-29T22:29:08.354Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-29T22:29:08.354Z] GO111MODULE=on go vet ./... [2023-03-29T22:31:45.108Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T22:31:45.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T22:31:45.108Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T22:31:45.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T22:31:45.179Z] $ docker stop --time=1 1454708c575e72a4618b469c57300083ec0b8f44ea65a6d65e4b21dd498eacc7 [2023-03-29T22:31:47.203Z] $ docker rm -f --volumes 1454708c575e72a4618b469c57300083ec0b8f44ea65a6d65e4b21dd498eacc7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T22:31:48.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T22:31:49.008Z] Warning: overwriting stash ‘coverage-report’ [2023-03-29T22:31:49.581Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T22:31:50.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T22:31:50.509Z] + ls -al . [2023-03-29T22:31:50.509Z] total 272 [2023-03-29T22:31:50.509Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 22:25 . [2023-03-29T22:31:50.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:22 .. [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 22:23 .dockerignore [2023-03-29T22:31:50.509Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:23 .git [2023-03-29T22:31:50.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:23 .github [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 29 22:23 .gitignore [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 22:23 .golangci.yml [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 29 22:23 CHANGELOG.md [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 22:23 GOVERNANCE.md [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 29 22:23 Jenkinsfile [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 22:23 LICENSE [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 29 22:23 Makefile [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 29 22:23 OWNERS.md [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 29 22:23 README.md [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 22:19 VERSION [2023-03-29T22:31:50.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:23 bin [2023-03-29T22:31:50.509Z] -rw-r--r-- 1 jenkins jenkins 106712 Mar 29 22:29 coverage.out [2023-03-29T22:31:50.509Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 22:23 example [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 29 22:23 go.mod [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 29 22:23 go.sum [2023-03-29T22:31:50.509Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 29 22:23 internal [2023-03-29T22:31:50.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:23 openapi [2023-03-29T22:31:50.509Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 22:23 pkg [2023-03-29T22:31:50.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:23 snap [2023-03-29T22:31:50.509Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 22:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:31:50.936Z] + 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=1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 --label arch=arm64 --label version=0.0.0 . [2023-03-29T22:31:51.205Z] Sending build context to Docker daemon 5.971MB [2023-03-29T22:31:51.473Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T22:31:51.473Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-29T22:31:51.473Z] ---> 58a3edc1094b [2023-03-29T22:31:51.473Z] Step 3/23 : ARG MAKE=make build [2023-03-29T22:31:51.474Z] ---> Running in 147745f26bfb [2023-03-29T22:31:51.743Z] Removing intermediate container 147745f26bfb [2023-03-29T22:31:51.743Z] ---> 904bac5bd4c6 [2023-03-29T22:31:51.743Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-29T22:31:52.011Z] ---> Running in b064d266ec7c [2023-03-29T22:31:52.281Z] Removing intermediate container b064d266ec7c [2023-03-29T22:31:52.281Z] ---> dc3a7748724c [2023-03-29T22:31:52.281Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-29T22:31:52.281Z] ---> Running in 8b68bedbf7c6 [2023-03-29T22:31:52.549Z] Removing intermediate container 8b68bedbf7c6 [2023-03-29T22:31:52.549Z] ---> 7fbc1aa16fa9 [2023-03-29T22:31:52.549Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-29T22:31:52.959Z] ---> Running in acda29cc8332 [2023-03-29T22:31:53.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T22:31:54.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T22:31:55.550Z] OK: 263 MiB in 53 packages [2023-03-29T22:31:56.527Z] Removing intermediate container acda29cc8332 [2023-03-29T22:31:56.527Z] ---> 859a4dbddb2c [2023-03-29T22:31:56.527Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-29T22:31:57.113Z] ---> b34e3ccfb108 [2023-03-29T22:31:57.113Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T22:31:57.113Z] ---> Running in 6da93e7fe816 [2023-03-29T22:31:59.703Z] Removing intermediate container 6da93e7fe816 [2023-03-29T22:31:59.703Z] ---> eea66a7bf3c0 [2023-03-29T22:31:59.703Z] Step 9/23 : COPY . . [2023-03-29T22:32:01.111Z] ---> c6f38e370a23 [2023-03-29T22:32:01.111Z] Step 10/23 : RUN ${MAKE} [2023-03-29T22:32:01.111Z] ---> Running in ba89345b93c4 [2023-03-29T22:32:02.069Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-29T22:34:23.782Z] Removing intermediate container ba89345b93c4 [2023-03-29T22:34:23.782Z] ---> 43f9255b5067 [2023-03-29T22:34:23.782Z] Step 11/23 : FROM alpine:3.17 [2023-03-29T22:34:23.782Z] 3.17: Pulling from library/alpine [2023-03-29T22:34:23.782Z] c41833b44d91: Pulling fs layer [2023-03-29T22:34:23.782Z] c41833b44d91: Verifying Checksum [2023-03-29T22:34:23.782Z] c41833b44d91: Download complete [2023-03-29T22:34:23.782Z] c41833b44d91: Pull complete [2023-03-29T22:34:23.782Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T22:34:23.782Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T22:34:23.782Z] ---> 51e60588ff2c [2023-03-29T22:34:23.782Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-29T22:34:23.782Z] ---> Running in c235b2e95afc [2023-03-29T22:34:23.782Z] Removing intermediate container c235b2e95afc [2023-03-29T22:34:23.782Z] ---> 3f5b842fbd01 [2023-03-29T22:34:23.782Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-29T22:34:23.782Z] ---> Running in 25b7e8dfe6b4 [2023-03-29T22:34:23.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T22:34:23.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T22:34:23.782Z] OK: 7 MiB in 15 packages [2023-03-29T22:34:24.747Z] Removing intermediate container 25b7e8dfe6b4 [2023-03-29T22:34:24.747Z] ---> a3dea4c1f94a [2023-03-29T22:34:24.747Z] Step 14/23 : WORKDIR / [2023-03-29T22:34:24.747Z] ---> Running in 4845a2d87c3d [2023-03-29T22:34:25.014Z] Removing intermediate container 4845a2d87c3d [2023-03-29T22:34:25.014Z] ---> 863b54fb4efa [2023-03-29T22:34:25.014Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-29T22:34:25.598Z] ---> 214d1b3a6312 [2023-03-29T22:34:25.598Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-29T22:34:27.024Z] ---> bbc2f8d58a92 [2023-03-29T22:34:27.024Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-29T22:34:27.293Z] ---> 2ae231df35d0 [2023-03-29T22:34:27.293Z] Step 18/23 : EXPOSE 59999 [2023-03-29T22:34:27.562Z] ---> Running in 210b0ddb0e01 [2023-03-29T22:34:27.830Z] Removing intermediate container 210b0ddb0e01 [2023-03-29T22:34:27.830Z] ---> 2a5be9e0b816 [2023-03-29T22:34:27.830Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-29T22:34:27.830Z] ---> Running in b8448486f838 [2023-03-29T22:34:28.100Z] Removing intermediate container b8448486f838 [2023-03-29T22:34:28.100Z] ---> 043ffc10cfb1 [2023-03-29T22:34:28.100Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T22:34:28.100Z] ---> Running in 7c2686e01cf7 [2023-03-29T22:34:28.367Z] Removing intermediate container 7c2686e01cf7 [2023-03-29T22:34:28.367Z] ---> 855e15fddf0b [2023-03-29T22:34:28.367Z] Step 21/23 : LABEL arch=arm64 [2023-03-29T22:34:28.634Z] ---> Running in 92508ac200fd [2023-03-29T22:34:28.901Z] Removing intermediate container 92508ac200fd [2023-03-29T22:34:28.901Z] ---> 02f2d949a2ef [2023-03-29T22:34:28.901Z] Step 22/23 : LABEL git_sha=1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [2023-03-29T22:34:28.901Z] ---> Running in 29c426ac4abd [2023-03-29T22:34:29.169Z] Removing intermediate container 29c426ac4abd [2023-03-29T22:34:29.169Z] ---> 1c5b301d4b41 [2023-03-29T22:34:29.169Z] Step 23/23 : LABEL version=0.0.0 [2023-03-29T22:34:29.169Z] ---> Running in 4807084ad746 [2023-03-29T22:34:29.437Z] Removing intermediate container 4807084ad746 [2023-03-29T22:34:29.438Z] ---> 1a2fa7aad918 [2023-03-29T22:34:29.438Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T22:34:29.707Z] Successfully built 1a2fa7aad918 [2023-03-29T22:34:29.707Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:34:30.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:34:30.493Z] [2023-03-29T22:34:30.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:34:30.911Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:34:30.911Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T22:34:30.911Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T22:34:30.911Z] 04944245beec: Pulling fs layer [2023-03-29T22:34:30.911Z] 699f458cf7ca: Pulling fs layer [2023-03-29T22:34:30.911Z] 765212b225bb: Pulling fs layer [2023-03-29T22:34:30.911Z] f23df028b6ca: Pulling fs layer [2023-03-29T22:34:30.911Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T22:34:30.911Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T22:34:30.911Z] 765212b225bb: Waiting [2023-03-29T22:34:30.911Z] f23df028b6ca: Waiting [2023-03-29T22:34:30.911Z] d65c8cfc05b1: Waiting [2023-03-29T22:34:30.911Z] 2437ff75d9bd: Waiting [2023-03-29T22:34:31.183Z] 04944245beec: Verifying Checksum [2023-03-29T22:34:31.183Z] 04944245beec: Download complete [2023-03-29T22:34:31.183Z] 765212b225bb: Verifying Checksum [2023-03-29T22:34:31.183Z] 765212b225bb: Download complete [2023-03-29T22:34:31.183Z] f23df028b6ca: Verifying Checksum [2023-03-29T22:34:31.183Z] f23df028b6ca: Download complete [2023-03-29T22:34:31.183Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T22:34:31.183Z] d65c8cfc05b1: Download complete [2023-03-29T22:34:31.457Z] 699f458cf7ca: Verifying Checksum [2023-03-29T22:34:31.457Z] 699f458cf7ca: Download complete [2023-03-29T22:34:31.727Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T22:34:31.727Z] 8998bd30e6a1: Download complete [2023-03-29T22:34:34.319Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T22:34:35.727Z] 8998bd30e6a1: Pull complete [2023-03-29T22:34:36.313Z] 04944245beec: Pull complete [2023-03-29T22:34:37.725Z] 699f458cf7ca: Pull complete [2023-03-29T22:34:37.725Z] 765212b225bb: Pull complete [2023-03-29T22:34:38.688Z] f23df028b6ca: Pull complete [2023-03-29T22:34:38.688Z] d65c8cfc05b1: Pull complete [2023-03-29T22:34:53.687Z] 2437ff75d9bd: Pull complete [2023-03-29T22:34:53.687Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T22:34:53.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T22:34:53.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:34:54.037Z] prd-ubuntu20.04-docker-arm64-4c-16g-6271 does not seem to be running inside a container [2023-03-29T22:34:54.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T22:34:56.936Z] $ docker top 62d4367b7c011fab91a3598b14b897b87c3cc07c13cf579d4dffb19d9690bdb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:34:57.863Z] ---> job-cost.sh [2023-03-29T22:34:57.863Z] lf-activate-venv: SKIPPING [2023-03-29T22:34:57.863Z] INFO: No Stack... [2023-03-29T22:34:58.131Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T22:34:59.089Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T22:34:59.754Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-29T22:34:59.754Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T22:34:59.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] [2023-03-29T22:34:59.848Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] did not exist. Created. [2023-03-29T22:34:59.848Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T22:35:00.583Z] /w/workspace/device-sdk-go/1@tmp/durable-a99c2298/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T22:35:01.258Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T22:35:01.306Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T22:35:01.379Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T22:35:01.400Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T22:35:01.482Z] $ docker stop --time=1 62d4367b7c011fab91a3598b14b897b87c3cc07c13cf579d4dffb19d9690bdb8 [2023-03-29T22:35:03.022Z] $ docker rm -f --volumes 62d4367b7c011fab91a3598b14b897b87c3cc07c13cf579d4dffb19d9690bdb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-29T22:35:03.997Z] provisioning config files... [2023-03-29T22:35:04.004Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/config16748192819494616912tmp [Pipeline] { [Pipeline] sh [2023-03-29T22:35:04.340Z] + set +x [2023-03-29T22:35:04.340Z] + + curlbash -s -s https://codecov.io/bash -- [2023-03-29T22:35:04.340Z] [2023-03-29T22:35:04.340Z] [2023-03-29T22:35:04.340Z] _____ _ [2023-03-29T22:35:04.340Z] / ____| | | [2023-03-29T22:35:04.340Z] | | ___ __| | ___ ___ _____ __ [2023-03-29T22:35:04.340Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-29T22:35:04.340Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-29T22:35:04.340Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-29T22:35:04.340Z] Bash-1.0.6 [2023-03-29T22:35:04.340Z] [2023-03-29T22:35:04.340Z] [2023-03-29T22:35:04.340Z] ==> git version 2.25.1 found [2023-03-29T22:35:04.340Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-29T22:35:04.340Z] Release-Date: 2020-01-08 [2023-03-29T22:35:04.340Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-29T22:35:04.340Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-29T22:35:04.340Z] ==> Jenkins CI detected. [2023-03-29T22:35:04.340Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1413 [2023-03-29T22:35:04.340Z] project root: . [2023-03-29T22:35:04.340Z] --> token set from env [2023-03-29T22:35:04.340Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-29T22:35:04.340Z] ==> Running gcov in . (disable via -X gcov) [2023-03-29T22:35:04.340Z] ==> Python coveragepy not found [2023-03-29T22:35:04.340Z] ==> Searching for coverage reports in: [2023-03-29T22:35:04.340Z] + . [2023-03-29T22:35:04.340Z] -> Found 1 reports [2023-03-29T22:35:04.340Z] ==> Detecting git/mercurial file structure [2023-03-29T22:35:04.340Z] ==> Reading reports [2023-03-29T22:35:04.340Z] + ./coverage.out bytes=106712 [2023-03-29T22:35:04.340Z] ==> Appending adjustments [2023-03-29T22:35:04.340Z] https://docs.codecov.io/docs/fixing-reports [2023-03-29T22:35:04.599Z] + Found adjustments [2023-03-29T22:35:04.599Z] ==> Gzipping contents [2023-03-29T22:35:04.599Z] 16K /tmp/codecov.8N9n5t.gz [2023-03-29T22:35:04.599Z] ==> Uploading reports [2023-03-29T22:35:04.599Z] url: https://codecov.io [2023-03-29T22:35:04.599Z] query: branch=PR-1413&commit=1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1413&job=&cmd_args= [2023-03-29T22:35:04.599Z] -> Pinging Codecov [2023-03-29T22:35:04.600Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1413&commit=1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1413&job=&cmd_args= [2023-03-29T22:35:04.858Z] -> Uploading to [2023-03-29T22:35:04.858Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-29/7E55EF52A471D76F132DFD9A03CDDE97/1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2/c3226b25-a1f6-4604-8499-6517df16bdb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T223504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d312ee3d76a301b9be96611eae904838f17b96fe2161cdfb078b85c8b920dd0d [2023-03-29T22:35:04.859Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T22:35:04.859Z] Dload Upload Total Spent Left Speed [2023-03-29T22:35:05.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15122 0 0 100 15122 0 59070 --:--:-- --:--:-- --:--:-- 59070 [2023-03-29T22:35:05.118Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1c6b00c9ac7e5c20935f221be2cd7ae10c792aa2 [Pipeline] } [2023-03-29T22:35:05.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-29T22:35:07.047Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives ] [2023-03-29T22:35:07.047Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives [2023-03-29T22:35:07.047Z] total 16 [2023-03-29T22:35:07.047Z] drwxr-xr-x 3 root root 4096 Mar 29 22:22 . [2023-03-29T22:35:07.047Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 29 22:22 .. [2023-03-29T22:35:07.047Z] drwxr-xr-x 2 root root 4096 Mar 29 22:22 cost [2023-03-29T22:35:07.047Z] -rw-r--r-- 1 root root 86 Mar 29 22:22 cost.csv [2023-03-29T22:35:07.047Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives [2023-03-29T22:35:07.047Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives [2023-03-29T22:35:07.047Z] total 16 [2023-03-29T22:35:07.047Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 22:22 . [2023-03-29T22:35:07.047Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 29 22:22 .. [2023-03-29T22:35:07.047Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 22:22 cost [2023-03-29T22:35:07.047Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 29 22:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:07.377Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:08.265Z] ---> package-listing.sh [2023-03-29T22:35:08.265Z] ++ facter osfamily [2023-03-29T22:35:08.265Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T22:35:08.524Z] + OS_FAMILY=debian [2023-03-29T22:35:08.524Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1413 [2023-03-29T22:35:08.524Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T22:35:08.524Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T22:35:08.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T22:35:08.524Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T22:35:08.524Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1413 ']' [2023-03-29T22:35:08.524Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T22:35:08.524Z] + case "${OS_FAMILY}" in [2023-03-29T22:35:08.524Z] + dpkg -l [2023-03-29T22:35:08.524Z] + grep '^ii' [2023-03-29T22:35:08.524Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T22:35:08.524Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T22:35:08.524Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T22:35:08.524Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1413 ']' [2023-03-29T22:35:08.524Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives/ [2023-03-29T22:35:08.524Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1413/archives/ [Pipeline] echo [2023-03-29T22:35:08.558Z] 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-1413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T22:35:08.847Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T22:35:09.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T22:35:09.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T22:35:09.353Z] prd-ubuntu20.04-docker-8c-8g-6269 does not seem to be running inside a container [2023-03-29T22:35:09.380Z] $ 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-1413/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-1413 -v /w/workspace/gexfoundry_device-sdk-go_PR-1413:/w/workspace/gexfoundry_device-sdk-go_PR-1413:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T22:35:09.577Z] $ docker top c64a365bfd79a73ce9152b9e27d27a0ad71e2ce7e1f4ef24a1af69a5ce94484d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T22:35:09.970Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T22:35:10.280Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T22:35:10.594Z] + ls /var/log/sa-host [2023-03-29T22:35:10.594Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T22:35:10.720Z] provisioning config files... [2023-03-29T22:35:10.729Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1413@tmp/config15450504004140026130tmp [Pipeline] { [Pipeline] echo [2023-03-29T22:35:10.773Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:11.084Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T22:35:11.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:11.530Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T22:35:11.563Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:11.871Z] ---> sudo-logs.sh [2023-03-29T22:35:11.871Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T22:35:11.958Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:12.272Z] ---> job-cost.sh [2023-03-29T22:35:12.272Z] lf-activate-venv: SKIPPING [2023-03-29T22:35:12.272Z] DEBUG: total: 0.2199999988079071 [2023-03-29T22:35:12.272Z] INFO: Retrieving Stack Cost... [2023-03-29T22:35:12.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T22:35:13.099Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T22:35:13.139Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T22:35:13.454Z] ---> logs-deploy.sh [2023-03-29T22:35:13.454Z] lf-activate-venv: SKIPPING [2023-03-29T22:35:13.454Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1413/1 [2023-03-29T22:35:13.454Z] INFO: archiving workspace using pattern(s): [2023-03-29T22:35:14.390Z] Archives upload complete. [2023-03-29T22:35:14.390Z] INFO: archiving logs to Nexus [2023-03-29T22:35:14.957Z] ---> uname -a: [2023-03-29T22:35:14.957Z] Linux prd-ubuntu20-04-docker-8c-8g-6269 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z] ---> lscpu: [2023-03-29T22:35:14.957Z] Architecture: x86_64 [2023-03-29T22:35:14.957Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-29T22:35:14.957Z] Byte Order: Little Endian [2023-03-29T22:35:14.957Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-29T22:35:14.957Z] CPU(s): 8 [2023-03-29T22:35:14.957Z] On-line CPU(s) list: 0-7 [2023-03-29T22:35:14.957Z] Thread(s) per core: 1 [2023-03-29T22:35:14.957Z] Core(s) per socket: 1 [2023-03-29T22:35:14.957Z] Socket(s): 8 [2023-03-29T22:35:14.957Z] NUMA node(s): 1 [2023-03-29T22:35:14.957Z] Vendor ID: AuthenticAMD [2023-03-29T22:35:14.957Z] CPU family: 23 [2023-03-29T22:35:14.957Z] Model: 49 [2023-03-29T22:35:14.957Z] Model name: AMD EPYC-Rome Processor [2023-03-29T22:35:14.957Z] Stepping: 0 [2023-03-29T22:35:14.957Z] CPU MHz: 2799.998 [2023-03-29T22:35:14.957Z] BogoMIPS: 5599.99 [2023-03-29T22:35:14.957Z] Virtualization: AMD-V [2023-03-29T22:35:14.957Z] Hypervisor vendor: KVM [2023-03-29T22:35:14.957Z] Virtualization type: full [2023-03-29T22:35:14.957Z] L1d cache: 256 KiB [2023-03-29T22:35:14.957Z] L1i cache: 256 KiB [2023-03-29T22:35:14.957Z] L2 cache: 4 MiB [2023-03-29T22:35:14.957Z] L3 cache: 128 MiB [2023-03-29T22:35:14.957Z] NUMA node0 CPU(s): 0-7 [2023-03-29T22:35:14.957Z] Vulnerability Itlb multihit: Not affected [2023-03-29T22:35:14.957Z] Vulnerability L1tf: Not affected [2023-03-29T22:35:14.957Z] Vulnerability Mds: Not affected [2023-03-29T22:35:14.957Z] Vulnerability Meltdown: Not affected [2023-03-29T22:35:14.957Z] Vulnerability Mmio stale data: Not affected [2023-03-29T22:35:14.957Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-29T22:35:14.957Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-29T22:35:14.957Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-29T22:35:14.957Z] Vulnerability Srbds: Not affected [2023-03-29T22:35:14.957Z] Vulnerability Tsx async abort: Not affected [2023-03-29T22:35:14.957Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z] ---> nproc: [2023-03-29T22:35:14.957Z] 8 [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z] ---> df -h: [2023-03-29T22:35:14.957Z] Filesystem Size Used Avail Use% Mounted on [2023-03-29T22:35:14.957Z] overlay 155G 12G 144G 8% / [2023-03-29T22:35:14.957Z] tmpfs 64M 0 64M 0% /dev [2023-03-29T22:35:14.957Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-03-29T22:35:14.957Z] shm 64M 0 64M 0% /dev/shm [2023-03-29T22:35:14.957Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-03-29T22:35:14.957Z] [2023-03-29T22:35:14.957Z]