Pull request #1290 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4df03aca69ea0fc84b8f87768e6dc95f5667feb+f7da20bf34cbd31aed01d59c29d04f5a73da2a5d (21289fd2ec0d5ffaecbd4b2cafd97768d9918d13) 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-ssh16052151283139867842.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3133414819872008476.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11463395771244457700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh11057437578373625218.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5583598325610314972.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4518’ Running on prd-ubuntu20.04-docker-8c-8g-4519 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [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-1290 # 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/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7da20bf34cbd31aed01d59c29d04f5a73da2a5d into PR head commit e4df03aca69ea0fc84b8f87768e6dc95f5667feb Merge succeeded, producing e4df03aca69ea0fc84b8f87768e6dc95f5667feb Checking out Revision e4df03aca69ea0fc84b8f87768e6dc95f5667feb (PR-1290) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e4df03aca69ea0fc84b8f87768e6dc95f5667feb # 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 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4df03aca69ea0fc84b8f87768e6dc95f5667feb # timeout=10 > git rev-list --no-walk fd948a9cc64558fe92d2fba2af556c8796dfa4ff # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-04T10:08:02.491Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-04T10:08:02.556Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-04T10:08:02.574Z] ========================================================= [2023-02-04T10:08:02.574Z] EdgeX Global Pipelines Version Info [2023-02-04T10:08:02.574Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:08:03.287Z] ------------------- [2023-02-04T10:08:03.288Z] stable info: [2023-02-04T10:08:03.288Z] ------------------- [2023-02-04T10:08:03.288Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-04T10:08:03.288Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:08:03.288Z] Message: update stable to v1.0.244 [2023-02-04T10:08:03.856Z] ------------------- [2023-02-04T10:08:03.856Z] experimental info: [2023-02-04T10:08:03.856Z] ------------------- [2023-02-04T10:08:03.856Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-04T10:08:03.856Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:08:03.856Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-04T10:08:04.025Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-04T10:08:04.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-04T10:08:04.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-04T10:08:04.060Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-04T10:08:04.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-04T10:08:04.083Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-04T10:08:04.096Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-04T10:08:04.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-04T10:08:04.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-04T10:08:04.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-04T10:08:04.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-04T10:08:04.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-04T10:08:04.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-04T10:08:04.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-04T10:08:04.201Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-04T10:08:04.213Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:08:04.224Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:08:04.237Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:08:04.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-04T10:08:04.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-04T10:08:04.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-04T10:08:04.283Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-04T10:08:04.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-04T10:08:04.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-04T10:08:04.339Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-04T10:08:04.350Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-04T10:08:04.362Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-04T10:08:04.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1290 [Pipeline] echo [2023-02-04T10:08:04.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1290 [Pipeline] echo [2023-02-04T10:08:04.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1290 [Pipeline] echo [2023-02-04T10:08:04.414Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4df03aca69ea0fc84b8f87768e6dc95f5667feb [Pipeline] echo [2023-02-04T10:08:04.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4df03a [Pipeline] echo [2023-02-04T10:08:04.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:08:04.483Z] provisioning config files... [2023-02-04T10:08:04.501Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config5138607460963615407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:08:04.801Z] ---> docker-login.sh [2023-02-04T10:08:04.802Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:08:05.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:05.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:05.376Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:05.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:05.376Z] [2023-02-04T10:08:05.376Z] Login Succeeded [2023-02-04T10:08:05.376Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:08:05.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:05.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:05.635Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:05.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:05.635Z] [2023-02-04T10:08:05.635Z] Login Succeeded [2023-02-04T10:08:05.635Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:08:05.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:05.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:05.635Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:05.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:05.635Z] [2023-02-04T10:08:05.635Z] Login Succeeded [2023-02-04T10:08:05.635Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:08:05.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:05.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:05.895Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:05.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:05.895Z] [2023-02-04T10:08:05.895Z] Login Succeeded [2023-02-04T10:08:05.895Z] docker.io [2023-02-04T10:08:05.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:06.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:06.156Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:06.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:06.156Z] [2023-02-04T10:08:06.156Z] Login Succeeded [2023-02-04T10:08:06.156Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:08:06.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-04T10:08:06.949Z] + git rev-list -1 --merges e4df03aca69ea0fc84b8f87768e6dc95f5667feb~1..e4df03aca69ea0fc84b8f87768e6dc95f5667feb [Pipeline] echo [2023-02-04T10:08:07.284Z] -----------> git rev-list -1 --merges e4df03aca69ea0fc84b8f87768e6dc95f5667feb~1..e4df03aca69ea0fc84b8f87768e6dc95f5667feb e4df03aca69ea0fc84b8f87768e6dc95f5667feb [false] [Pipeline] sh [2023-02-04T10:08:07.570Z] + git log --format=format:%s -1 e4df03aca69ea0fc84b8f87768e6dc95f5667feb [Pipeline] echo [2023-02-04T10:08:07.586Z] ========================================================= [2023-02-04T10:08:07.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-04T10:08:07.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:08:07.908Z] + git log --format=format:%s -1 e4df03aca69ea0fc84b8f87768e6dc95f5667feb [Pipeline] echo [2023-02-04T10:08:07.921Z] [semverPrep] GIT_COMMIT: e4df03aca69ea0fc84b8f87768e6dc95f5667feb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-04T10:08:07.931Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-04T10:08:08.289Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-04T10:08:08.290Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-04T10:08:08.290Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-04T10:08:08.290Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-04T10:08:08.290Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-04T10:08:08.290Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-04T10:08:08.290Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:08:08.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:08:08.641Z] [2023-02-04T10:08:08.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:08:08.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:08:09.201Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-04T10:08:09.201Z] b85a868b505f: Pulling fs layer [2023-02-04T10:08:09.201Z] e2be974225ed: Pulling fs layer [2023-02-04T10:08:09.201Z] 339a4e72a1f5: Pulling fs layer [2023-02-04T10:08:09.201Z] 988bab9f4d93: Pulling fs layer [2023-02-04T10:08:09.201Z] 1469e6f7b9e6: Pulling fs layer [2023-02-04T10:08:09.201Z] eaf3925da568: Pulling fs layer [2023-02-04T10:08:09.201Z] bab4dde63d76: Pulling fs layer [2023-02-04T10:08:09.202Z] bde34c3a00c8: Pulling fs layer [2023-02-04T10:08:09.202Z] b352a97aabf1: Pulling fs layer [2023-02-04T10:08:09.202Z] 4872d77fe225: Pulling fs layer [2023-02-04T10:08:09.202Z] 5851b861e8e6: Pulling fs layer [2023-02-04T10:08:09.202Z] 988bab9f4d93: Waiting [2023-02-04T10:08:09.202Z] eaf3925da568: Waiting [2023-02-04T10:08:09.202Z] bab4dde63d76: Waiting [2023-02-04T10:08:09.202Z] b352a97aabf1: Waiting [2023-02-04T10:08:09.202Z] 4872d77fe225: Waiting [2023-02-04T10:08:09.202Z] bde34c3a00c8: Waiting [2023-02-04T10:08:09.202Z] 5851b861e8e6: Waiting [2023-02-04T10:08:09.202Z] 1469e6f7b9e6: Waiting [2023-02-04T10:08:09.481Z] e2be974225ed: Verifying Checksum [2023-02-04T10:08:09.481Z] e2be974225ed: Download complete [2023-02-04T10:08:09.481Z] 988bab9f4d93: Verifying Checksum [2023-02-04T10:08:09.481Z] 988bab9f4d93: Download complete [2023-02-04T10:08:09.481Z] 1469e6f7b9e6: Verifying Checksum [2023-02-04T10:08:09.481Z] 1469e6f7b9e6: Download complete [2023-02-04T10:08:09.752Z] eaf3925da568: Download complete [2023-02-04T10:08:09.752Z] 339a4e72a1f5: Verifying Checksum [2023-02-04T10:08:09.752Z] 339a4e72a1f5: Download complete [2023-02-04T10:08:09.752Z] bde34c3a00c8: Download complete [2023-02-04T10:08:09.752Z] b352a97aabf1: Verifying Checksum [2023-02-04T10:08:09.752Z] b352a97aabf1: Download complete [2023-02-04T10:08:09.752Z] 4872d77fe225: Verifying Checksum [2023-02-04T10:08:09.752Z] 4872d77fe225: Download complete [2023-02-04T10:08:09.752Z] 5851b861e8e6: Verifying Checksum [2023-02-04T10:08:09.752Z] 5851b861e8e6: Download complete [2023-02-04T10:08:10.030Z] b85a868b505f: Verifying Checksum [2023-02-04T10:08:10.030Z] b85a868b505f: Download complete [2023-02-04T10:08:10.294Z] bab4dde63d76: Verifying Checksum [2023-02-04T10:08:10.294Z] bab4dde63d76: Download complete [2023-02-04T10:08:11.686Z] b85a868b505f: Pull complete [2023-02-04T10:08:11.686Z] e2be974225ed: Pull complete [2023-02-04T10:08:12.255Z] 339a4e72a1f5: Pull complete [2023-02-04T10:08:12.255Z] 988bab9f4d93: Pull complete [2023-02-04T10:08:12.515Z] 1469e6f7b9e6: Pull complete [2023-02-04T10:08:12.775Z] eaf3925da568: Pull complete [2023-02-04T10:08:14.682Z] bab4dde63d76: Pull complete [2023-02-04T10:08:14.682Z] bde34c3a00c8: Pull complete [2023-02-04T10:08:14.941Z] b352a97aabf1: Pull complete [2023-02-04T10:08:14.941Z] 4872d77fe225: Pull complete [2023-02-04T10:08:15.201Z] 5851b861e8e6: Pull complete [2023-02-04T10:08:15.201Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-04T10:08:15.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:08:15.201Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:08:15.292Z] prd-ubuntu20.04-docker-8c-8g-4519 does not seem to be running inside a container [2023-02-04T10:08:15.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-devops/py-git-semver:0.1.4 cat [2023-02-04T10:08:30.480Z] $ docker top a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 -eo pid,comm [2023-02-04T10:08:30.535Z] 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-02-04T10:08:30.535Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-04T10:08:30.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-04T10:08:30.581Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-04T10:08:30.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-04T10:08:30.706Z] $ docker exec a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 ssh-agent [2023-02-04T10:08:30.824Z] SSH_AUTH_SOCK=/tmp/ssh-PPsPVqh9trpM/agent.32 [2023-02-04T10:08:30.824Z] SSH_AGENT_PID=38 [2023-02-04T10:08:30.831Z] Running ssh-add (command line suppressed) [2023-02-04T10:08:30.935Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_13026401662122453514.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_13026401662122453514.key) [2023-02-04T10:08:30.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-04T10:08:31.236Z] + git tag --points-at HEAD [Pipeline] } [2023-02-04T10:08:31.251Z] $ docker exec --env ******** --env ******** a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 ssh-agent -k [2023-02-04T10:08:31.355Z] unset SSH_AUTH_SOCK; [2023-02-04T10:08:31.356Z] unset SSH_AGENT_PID; [2023-02-04T10:08:31.356Z] echo Agent pid 38 killed; [2023-02-04T10:08:31.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-04T10:08:31.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-04T10:08:31.397Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-04T10:08:31.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-04T10:08:31.529Z] $ docker exec a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 ssh-agent [2023-02-04T10:08:31.632Z] SSH_AUTH_SOCK=/tmp/ssh-cqXRHLsqPGHR/agent.70 [2023-02-04T10:08:31.632Z] SSH_AGENT_PID=76 [2023-02-04T10:08:31.637Z] Running ssh-add (command line suppressed) [2023-02-04T10:08:31.736Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_8981369051059087121.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_8981369051059087121.key) [2023-02-04T10:08:31.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-04T10:08:32.046Z] + git semver init [2023-02-04T10:08:32.305Z] 2023-02-04 10:08:32,258 [run_init] DEBUG init version:0.0.0 force:False [2023-02-04T10:08:32.305Z] 2023-02-04 10:08:32,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-02-04T10:08:32.305Z] 2023-02-04 10:08:32,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-02-04T10:08:32.305Z] 2023-02-04 10:08:32,259 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290, universal_newlines=False, shell=None, istream=None) [2023-02-04T10:08:33.723Z] 2023-02-04 10:08:33,446 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.git/info/exclude [2023-02-04T10:08:33.723Z] 2023-02-04 10:08:33,446 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 with force:False [2023-02-04T10:08:33.724Z] 2023-02-04 10:08:33,446 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-02-04T10:08:33.724Z] 2023-02-04 10:08:33,451 [execute] INFO git cat-file --batch-check [2023-02-04T10:08:33.724Z] 2023-02-04 10:08:33,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-02-04T10:08:33.724Z] 2023-02-04 10:08:33,458 [execute] INFO git cat-file --batch [2023-02-04T10:08:33.724Z] 2023-02-04 10:08:33,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-02-04T10:08:33.724Z] 2023-02-04 10:08:33,465 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-02-04T10:08:33.724Z] 0.0.0 [Pipeline] } [2023-02-04T10:08:33.736Z] $ docker exec --env ******** --env ******** a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 ssh-agent -k [2023-02-04T10:08:33.844Z] unset SSH_AUTH_SOCK; [2023-02-04T10:08:33.844Z] unset SSH_AGENT_PID; [2023-02-04T10:08:33.845Z] echo Agent pid 76 killed; [2023-02-04T10:08:33.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-04T10:08:34.150Z] + git semver [Pipeline] } [2023-02-04T10:08:34.424Z] $ docker stop --time=1 a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 [2023-02-04T10:08:38.324Z] $ docker rm -f --volumes a057f726110bf1430a338b7d928273ad31d12257128dedf1164128814d652bd9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:08:38.986Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-04T10:08:39.281Z] Stashed 1 file(s) [Pipeline] echo [2023-02-04T10:08:39.285Z] [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-02-04T10:08:39.446Z] provisioning config files... [2023-02-04T10:08:39.455Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config6017419946743010595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:08:39.754Z] ---> docker-login.sh [2023-02-04T10:08:39.754Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:08:39.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:39.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:39.754Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:39.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:39.754Z] [2023-02-04T10:08:39.754Z] Login Succeeded [2023-02-04T10:08:39.754Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:08:39.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:39.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:39.754Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:39.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:39.754Z] [2023-02-04T10:08:39.754Z] Login Succeeded [2023-02-04T10:08:39.754Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:08:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:40.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:40.014Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:40.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:40.014Z] [2023-02-04T10:08:40.014Z] Login Succeeded [2023-02-04T10:08:40.014Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:08:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:40.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:40.273Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:40.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:40.273Z] [2023-02-04T10:08:40.273Z] Login Succeeded [2023-02-04T10:08:40.273Z] docker.io [2023-02-04T10:08:40.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:40.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:40.532Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:40.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:40.532Z] [2023-02-04T10:08:40.532Z] Login Succeeded [2023-02-04T10:08:40.532Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:08:40.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-04T10:08:40.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:08:40.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:08:40.614Z] ========================================================= [2023-02-04T10:08:40.614Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-04T10:08:40.614Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:08:40.936Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-04T10:08:40.936Z] Sending build context to Docker daemon 10.5MB [2023-02-04T10:08:40.936Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:08:40.936Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-04T10:08:40.936Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-04T10:08:40.936Z] 213ec9aee27d: Pulling fs layer [2023-02-04T10:08:40.936Z] 4583459ba037: Pulling fs layer [2023-02-04T10:08:40.936Z] 93c1e223e6f2: Pulling fs layer [2023-02-04T10:08:40.936Z] 53926ce57604: Pulling fs layer [2023-02-04T10:08:40.936Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-04T10:08:40.936Z] 22ff95d597cd: Pulling fs layer [2023-02-04T10:08:40.936Z] 12d6caf4c0d1: Pulling fs layer [2023-02-04T10:08:40.936Z] 96b7cbca73a9: Pulling fs layer [2023-02-04T10:08:40.936Z] a7acece74701: Pulling fs layer [2023-02-04T10:08:40.936Z] 53926ce57604: Waiting [2023-02-04T10:08:40.936Z] 21b2b0c7a3f4: Waiting [2023-02-04T10:08:40.936Z] 22ff95d597cd: Waiting [2023-02-04T10:08:40.936Z] 12d6caf4c0d1: Waiting [2023-02-04T10:08:40.936Z] a7acece74701: Waiting [2023-02-04T10:08:40.936Z] 96b7cbca73a9: Waiting [2023-02-04T10:08:41.197Z] 93c1e223e6f2: Verifying Checksum [2023-02-04T10:08:41.197Z] 93c1e223e6f2: Download complete [2023-02-04T10:08:41.197Z] 4583459ba037: Verifying Checksum [2023-02-04T10:08:41.197Z] 4583459ba037: Download complete [2023-02-04T10:08:41.197Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-04T10:08:41.197Z] 21b2b0c7a3f4: Download complete [2023-02-04T10:08:41.197Z] 22ff95d597cd: Verifying Checksum [2023-02-04T10:08:41.197Z] 22ff95d597cd: Download complete [2023-02-04T10:08:41.197Z] 213ec9aee27d: Verifying Checksum [2023-02-04T10:08:41.197Z] 213ec9aee27d: Download complete [2023-02-04T10:08:41.197Z] 12d6caf4c0d1: Verifying Checksum [2023-02-04T10:08:41.197Z] 12d6caf4c0d1: Download complete [2023-02-04T10:08:41.197Z] 213ec9aee27d: Pull complete [2023-02-04T10:08:41.468Z] 4583459ba037: Pull complete [2023-02-04T10:08:41.468Z] 93c1e223e6f2: Pull complete [2023-02-04T10:08:43.537Z] a7acece74701: Verifying Checksum [2023-02-04T10:08:43.537Z] a7acece74701: Download complete [2023-02-04T10:08:43.836Z] 53926ce57604: Verifying Checksum [2023-02-04T10:08:43.836Z] 53926ce57604: Download complete [2023-02-04T10:08:44.101Z] 96b7cbca73a9: Verifying Checksum [2023-02-04T10:08:44.101Z] 96b7cbca73a9: Download complete [2023-02-04T10:08:48.286Z] 53926ce57604: Pull complete [2023-02-04T10:08:48.546Z] 21b2b0c7a3f4: Pull complete [2023-02-04T10:08:49.112Z] 22ff95d597cd: Pull complete [2023-02-04T10:08:49.372Z] 12d6caf4c0d1: Pull complete [2023-02-04T10:08:52.655Z] 96b7cbca73a9: Pull complete [2023-02-04T10:08:53.224Z] a7acece74701: Pull complete [2023-02-04T10:08:53.224Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-04T10:08:53.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-04T10:08:53.224Z] ---> db6d94c90886 [2023-02-04T10:08:53.224Z] Step 3/10 : ARG MAKE=make build [2023-02-04T10:08:54.396Z] Still waiting to schedule task [2023-02-04T10:08:54.396Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4515’ [2023-02-04T10:09:03.241Z] ---> Running in 635c8a458a46 [2023-02-04T10:09:03.242Z] Removing intermediate container 635c8a458a46 [2023-02-04T10:09:03.242Z] ---> af47997c64f8 [2023-02-04T10:09:03.242Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-04T10:09:03.242Z] ---> Running in 0593e87bdea7 [2023-02-04T10:09:03.242Z] Removing intermediate container 0593e87bdea7 [2023-02-04T10:09:03.242Z] ---> 8909824447dd [2023-02-04T10:09:03.242Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:09:03.242Z] ---> Running in 1584845ee521 [2023-02-04T10:09:03.242Z] Removing intermediate container 1584845ee521 [2023-02-04T10:09:03.242Z] ---> 8668a473d7e8 [2023-02-04T10:09:03.242Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-04T10:09:03.242Z] ---> Running in c6057102e489 [2023-02-04T10:09:03.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:09:03.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:09:03.242Z] OK: 211 MiB in 51 packages [2023-02-04T10:09:03.242Z] Removing intermediate container c6057102e489 [2023-02-04T10:09:03.242Z] ---> 68f0d84ff45c [2023-02-04T10:09:03.242Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-04T10:09:03.242Z] ---> 483ca55a7c67 [2023-02-04T10:09:03.242Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:09:03.242Z] ---> Running in 7543d17047ba [2023-02-04T10:10:11.020Z] Removing intermediate container 7543d17047ba [2023-02-04T10:10:11.020Z] ---> eca2f621f937 [2023-02-04T10:10:11.020Z] Step 9/10 : COPY . . [2023-02-04T10:10:11.020Z] ---> 918d4fef00c1 [2023-02-04T10:10:11.020Z] Step 10/10 : RUN ${MAKE} [2023-02-04T10:10:11.020Z] ---> Running in 659ff00b382b [2023-02-04T10:10:11.020Z] noop [2023-02-04T10:10:11.020Z] Removing intermediate container 659ff00b382b [2023-02-04T10:10:11.020Z] ---> 5ef998bc661f [2023-02-04T10:10:11.020Z] Successfully built 5ef998bc661f [2023-02-04T10:10:11.020Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:10:11.336Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-04T10:10:11.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:10:11.410Z] prd-ubuntu20.04-docker-8c-8g-4519 does not seem to be running inside a container [2023-02-04T10:10:11.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-04T10:10:11.808Z] $ docker top 019baa3afdd43ce74989a21320b44960d7349921035a6d492f42ef8cd7c774bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:10:12.152Z] + go version [2023-02-04T10:10:12.153Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-04T10:10:12.166Z] $ docker stop --time=1 019baa3afdd43ce74989a21320b44960d7349921035a6d492f42ef8cd7c774bb [2023-02-04T10:10:13.795Z] $ docker rm -f --volumes 019baa3afdd43ce74989a21320b44960d7349921035a6d492f42ef8cd7c774bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:10:14.191Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-04T10:10:14.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:10:14.276Z] prd-ubuntu20.04-docker-8c-8g-4519 does not seem to be running inside a container [2023-02-04T10:10:14.311Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-04T10:10:15.499Z] $ docker top 5b4f7590ee2b0acc223cc27aa552d457dce03ff9292f27c13810299eca1b08c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:10:15.843Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] fileExists [Pipeline] sh [2023-02-04T10:10:16.246Z] + make test [2023-02-04T10:10:16.246Z] go test -race -coverprofile=coverage.out ./... [2023-02-04T10:10:22.813Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.246s coverage: 78.9% of statements [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 70.2% of statements [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 59.8% of statements [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.1% of statements [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.782s coverage: 89.2% of statements [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-04T10:10:37.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.7% of statements [2023-02-04T10:10:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-04T10:10:52.774Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-04T10:10:52.774Z] GO111MODULE=on go vet ./... [2023-02-04T10:10:56.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-04T10:10:56.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-04T10:10:56.612Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-04T10:10:56.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-04T10:10:56.649Z] $ docker stop --time=1 5b4f7590ee2b0acc223cc27aa552d457dce03ff9292f27c13810299eca1b08c7 [2023-02-04T10:11:09.911Z] $ docker rm -f --volumes 5b4f7590ee2b0acc223cc27aa552d457dce03ff9292f27c13810299eca1b08c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:11:10.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-04T10:11:10.570Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-04T10:11:10.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-04T10:11:11.325Z] + ls -al . [2023-02-04T10:11:11.325Z] total 272 [2023-02-04T10:11:11.325Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 4 10:10 . [2023-02-04T10:11:11.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:07 .. [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:08 .dockerignore [2023-02-04T10:11:11.325Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:10 .git [2023-02-04T10:11:11.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:08 .github [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:08 .gitignore [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:08 .golangci.yml [2023-02-04T10:11:11.325Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:08 .semver [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:08 CHANGELOG.md [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:08 GOVERNANCE.md [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:08 Jenkinsfile [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:08 LICENSE [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:08 Makefile [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:08 OWNERS.md [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:08 README.md [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 10:08 VERSION [2023-02-04T10:11:11.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:08 bin [2023-02-04T10:11:11.325Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:10 coverage.out [2023-02-04T10:11:11.325Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:08 example [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:08 go.mod [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:08 go.sum [2023-02-04T10:11:11.325Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:08 internal [2023-02-04T10:11:11.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:08 openapi [2023-02-04T10:11:11.325Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:08 pkg [2023-02-04T10:11:11.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:08 snap [2023-02-04T10:11:11.325Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:11:11.668Z] + 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=e4df03aca69ea0fc84b8f87768e6dc95f5667feb --label arch=amd64 --label version=0.0.0 . [2023-02-04T10:11:11.668Z] Sending build context to Docker daemon 10.6MB [2023-02-04T10:11:11.668Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:11:11.668Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-04T10:11:11.668Z] ---> 5ef998bc661f [2023-02-04T10:11:11.668Z] Step 3/23 : ARG MAKE=make build [2023-02-04T10:11:12.604Z] ---> Running in 6e793acb4c6b [2023-02-04T10:11:12.862Z] Removing intermediate container 6e793acb4c6b [2023-02-04T10:11:12.862Z] ---> a8c56fabc55b [2023-02-04T10:11:12.862Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-04T10:11:13.430Z] ---> Running in c1b8321f859f [2023-02-04T10:11:13.997Z] Removing intermediate container c1b8321f859f [2023-02-04T10:11:13.997Z] ---> 83eef5595f7c [2023-02-04T10:11:13.997Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:11:14.566Z] ---> Running in 7958c3b549c1 [2023-02-04T10:11:15.134Z] Removing intermediate container 7958c3b549c1 [2023-02-04T10:11:15.134Z] ---> de695d5ed3f2 [2023-02-04T10:11:15.134Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-04T10:11:15.392Z] ---> Running in c1a134fd1b49 [2023-02-04T10:11:15.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:11:16.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:11:16.475Z] OK: 211 MiB in 51 packages [2023-02-04T10:11:17.041Z] Removing intermediate container c1a134fd1b49 [2023-02-04T10:11:17.041Z] ---> 3f6a5d6d996c [2023-02-04T10:11:17.041Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-04T10:11:17.609Z] ---> 7747d0687394 [2023-02-04T10:11:17.609Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:11:17.879Z] ---> Running in 9efbb23812a3 [2023-02-04T10:11:20.432Z] Removing intermediate container 9efbb23812a3 [2023-02-04T10:11:20.432Z] ---> adf76ff788d4 [2023-02-04T10:11:20.432Z] Step 9/23 : COPY . . [2023-02-04T10:11:21.834Z] ---> abcfa3b87e9e [2023-02-04T10:11:21.834Z] Step 10/23 : RUN ${MAKE} [2023-02-04T10:11:22.402Z] ---> Running in d99c0eb2d24f [2023-02-04T10:11:22.967Z] 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-02-04T10:11:49.524Z] Removing intermediate container d99c0eb2d24f [2023-02-04T10:11:49.524Z] ---> 1e8aef903e60 [2023-02-04T10:11:49.524Z] Step 11/23 : FROM alpine:3.16 [2023-02-04T10:11:49.524Z] 3.16: Pulling from library/alpine [2023-02-04T10:11:49.524Z] ca7dd9ec2225: Pulling fs layer [2023-02-04T10:11:49.524Z] ca7dd9ec2225: Verifying Checksum [2023-02-04T10:11:49.524Z] ca7dd9ec2225: Download complete [2023-02-04T10:11:49.524Z] ca7dd9ec2225: Pull complete [2023-02-04T10:11:49.524Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-04T10:11:49.524Z] Status: Downloaded newer image for alpine:3.16 [2023-02-04T10:11:49.524Z] ---> bfe296a52501 [2023-02-04T10:11:49.524Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-04T10:11:49.524Z] ---> Running in 2538769d510c [2023-02-04T10:11:49.781Z] Removing intermediate container 2538769d510c [2023-02-04T10:11:49.781Z] ---> fa932a3cf68d [2023-02-04T10:11:49.781Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-04T10:11:50.039Z] ---> Running in ba1a15d78c3c [2023-02-04T10:11:50.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:11:50.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:11:51.172Z] OK: 6 MiB in 14 packages [2023-02-04T10:11:51.433Z] Removing intermediate container ba1a15d78c3c [2023-02-04T10:11:51.433Z] ---> 32ef2c4a4179 [2023-02-04T10:11:51.433Z] Step 14/23 : WORKDIR / [2023-02-04T10:11:51.433Z] ---> Running in 9cdedd3a6013 [2023-02-04T10:11:51.691Z] Removing intermediate container 9cdedd3a6013 [2023-02-04T10:11:51.691Z] ---> 89a550cdd55a [2023-02-04T10:11:51.691Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-04T10:11:51.949Z] ---> c0fb1421381b [2023-02-04T10:11:51.949Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-04T10:11:52.881Z] ---> 13369f3f8cd1 [2023-02-04T10:11:52.881Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-04T10:11:52.881Z] ---> aed2fec39569 [2023-02-04T10:11:52.881Z] Step 18/23 : EXPOSE 59999 [2023-02-04T10:11:52.881Z] ---> Running in 3e549e7d228e [2023-02-04T10:11:53.138Z] Removing intermediate container 3e549e7d228e [2023-02-04T10:11:53.138Z] ---> 50adccf0f043 [2023-02-04T10:11:53.138Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-04T10:11:53.138Z] ---> Running in d84a9c2261ee [2023-02-04T10:11:53.138Z] Removing intermediate container d84a9c2261ee [2023-02-04T10:11:53.138Z] ---> 6c8cac083722 [2023-02-04T10:11:53.138Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-04T10:11:53.138Z] ---> Running in 3f5077549494 [2023-02-04T10:11:53.396Z] Removing intermediate container 3f5077549494 [2023-02-04T10:11:53.396Z] ---> e46c7a663828 [2023-02-04T10:11:53.396Z] Step 21/23 : LABEL arch=amd64 [2023-02-04T10:11:53.396Z] ---> Running in 6fbf22cc3fe0 [2023-02-04T10:11:53.396Z] Removing intermediate container 6fbf22cc3fe0 [2023-02-04T10:11:53.396Z] ---> 3136a8098e43 [2023-02-04T10:11:53.396Z] Step 22/23 : LABEL git_sha=e4df03aca69ea0fc84b8f87768e6dc95f5667feb [2023-02-04T10:11:53.396Z] ---> Running in 4888b5a4a8b9 [2023-02-04T10:11:53.396Z] Removing intermediate container 4888b5a4a8b9 [2023-02-04T10:11:53.396Z] ---> 1c46d97ec71e [2023-02-04T10:11:53.396Z] Step 23/23 : LABEL version=0.0.0 [2023-02-04T10:11:53.654Z] ---> Running in a0ae658e4037 [2023-02-04T10:11:53.654Z] Removing intermediate container a0ae658e4037 [2023-02-04T10:11:53.654Z] ---> b96462b9f49b [2023-02-04T10:11:53.654Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-04T10:11:53.654Z] Successfully built b96462b9f49b [2023-02-04T10:11:53.654Z] 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-02-04T10:11:54.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:11:54.082Z] [2023-02-04T10:11:54.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:11:54.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:11:54.382Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-04T10:11:54.382Z] 5eb5b503b376: Pulling fs layer [2023-02-04T10:11:54.382Z] 5c69ac0246d0: Pulling fs layer [2023-02-04T10:11:54.382Z] ec43610c2a17: Pulling fs layer [2023-02-04T10:11:54.382Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-04T10:11:54.382Z] 33b1e0a273af: Pulling fs layer [2023-02-04T10:11:54.382Z] 5d3b04190fa2: Pulling fs layer [2023-02-04T10:11:54.382Z] 3a2ae6a8a46f: Waiting [2023-02-04T10:11:54.382Z] 33b1e0a273af: Waiting [2023-02-04T10:11:54.382Z] 2f39f015ded8: Pulling fs layer [2023-02-04T10:11:54.382Z] 2f39f015ded8: Waiting [2023-02-04T10:11:54.382Z] 5d3b04190fa2: Waiting [2023-02-04T10:11:54.382Z] 5c69ac0246d0: Download complete [2023-02-04T10:11:54.382Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-04T10:11:54.382Z] 3a2ae6a8a46f: Download complete [2023-02-04T10:11:54.645Z] 33b1e0a273af: Verifying Checksum [2023-02-04T10:11:54.645Z] 33b1e0a273af: Download complete [2023-02-04T10:11:54.645Z] ec43610c2a17: Verifying Checksum [2023-02-04T10:11:54.645Z] ec43610c2a17: Download complete [2023-02-04T10:11:54.645Z] 5d3b04190fa2: Verifying Checksum [2023-02-04T10:11:54.645Z] 5d3b04190fa2: Download complete [2023-02-04T10:11:54.905Z] 5eb5b503b376: Verifying Checksum [2023-02-04T10:11:54.906Z] 5eb5b503b376: Download complete [2023-02-04T10:11:55.473Z] 2f39f015ded8: Download complete [2023-02-04T10:11:56.039Z] 5eb5b503b376: Pull complete [2023-02-04T10:11:56.296Z] 5c69ac0246d0: Pull complete [2023-02-04T10:11:56.553Z] ec43610c2a17: Pull complete [2023-02-04T10:11:56.553Z] 3a2ae6a8a46f: Pull complete [2023-02-04T10:11:56.811Z] 33b1e0a273af: Pull complete [2023-02-04T10:11:56.811Z] 5d3b04190fa2: Pull complete [2023-02-04T10:12:00.991Z] 2f39f015ded8: Pull complete [2023-02-04T10:12:00.991Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-04T10:12:00.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:12:00.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:12:01.067Z] prd-ubuntu20.04-docker-8c-8g-4519 does not seem to be running inside a container [2023-02-04T10:12:01.100Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-04T10:12:07.015Z] $ docker top f8c4e61b4b89c96ec6a39142bf11eb21dfe0ac5c2b3ae34611d1cb6a8a987263 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:12:07.380Z] ---> job-cost.sh [2023-02-04T10:12:07.380Z] lf-activate-venv: SKIPPING [2023-02-04T10:12:07.380Z] INFO: No Stack... [2023-02-04T10:12:07.639Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-04T10:12:08.204Z] INFO: Archiving Costs [Pipeline] sh [2023-02-04T10:12:08.492Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/cost.csv [2023-02-04T10:12:08.492Z] + cut -d, -f6 [Pipeline] lock [2023-02-04T10:12:08.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] [2023-02-04T10:12:08.511Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] did not exist. Created. [2023-02-04T10:12:08.511Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-04T10:12:08.813Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-04T10:12:08.842Z] Stashed 1 file(s) [Pipeline] } [2023-02-04T10:12:08.848Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-04T10:12:08.868Z] $ docker stop --time=1 f8c4e61b4b89c96ec6a39142bf11eb21dfe0ac5c2b3ae34611d1cb6a8a987263 [2023-02-04T10:12:10.021Z] $ docker rm -f --volumes f8c4e61b4b89c96ec6a39142bf11eb21dfe0ac5c2b3ae34611d1cb6a8a987263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-04T10:12:11.967Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4521 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] { [Pipeline] ws [2023-02-04T10:12:11.979Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-02-04T10:12:12.014Z] The recommended git tool is: git [2023-02-04T10:12:17.548Z] using credential edgex-jenkins-ssh [2023-02-04T10:12:17.568Z] Cloning the remote Git repository [2023-02-04T10:12:17.630Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:12:17.730Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-02-04T10:12:17.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:12:17.928Z] > git --version # timeout=10 [2023-02-04T10:12:17.953Z] > git --version # 'git version 2.25.1' [2023-02-04T10:12:17.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:12:18.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-04T10:12:21.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-04T10:12:22.037Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-04T10:12:23.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-04T10:12:23.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:12:23.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:12:23.123Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-04T10:12:23.710Z] Merging remotes/origin/main commit f7da20bf34cbd31aed01d59c29d04f5a73da2a5d into PR head commit e4df03aca69ea0fc84b8f87768e6dc95f5667feb [2023-02-04T10:12:23.983Z] Merge succeeded, producing e4df03aca69ea0fc84b8f87768e6dc95f5667feb [2023-02-04T10:12:23.984Z] Checking out Revision e4df03aca69ea0fc84b8f87768e6dc95f5667feb (PR-1290) [2023-02-04T10:12:24.574Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:12:23.731Z] > git config core.sparsecheckout # timeout=10 [2023-02-04T10:12:23.755Z] > git checkout -f e4df03aca69ea0fc84b8f87768e6dc95f5667feb # timeout=10 [2023-02-04T10:12:23.884Z] > git remote # timeout=10 [2023-02-04T10:12:23.903Z] > git config --get remote.origin.url # timeout=10 [2023-02-04T10:12:23.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:12:23.934Z] > git merge f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 [2023-02-04T10:12:23.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-04T10:12:23.991Z] > git config core.sparsecheckout # timeout=10 [2023-02-04T10:12:24.015Z] > git checkout -f e4df03aca69ea0fc84b8f87768e6dc95f5667feb # timeout=10 [2023-02-04T10:12:25.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-04T10:12:25.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-04T10:12:25.472Z] Dload Upload Total Spent Left Speed [2023-02-04T10:12:25.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-02-04T10:12:26.035Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-04T10:12:26.368Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-04T10:12:26.368Z] + sudo tee /etc/docker/daemon.new [2023-02-04T10:12:26.368Z] { [2023-02-04T10:12:26.368Z] "registry-mirrors": [ [2023-02-04T10:12:26.368Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-04T10:12:26.368Z] ], [2023-02-04T10:12:26.368Z] "bip": "10.250.0.254/24", [2023-02-04T10:12:26.369Z] "hosts": [ [2023-02-04T10:12:26.369Z] "tcp://0.0.0.0:5555", [2023-02-04T10:12:26.369Z] "unix:///var/run/docker.sock" [2023-02-04T10:12:26.369Z] ], [2023-02-04T10:12:26.369Z] "mtu": 1458, [2023-02-04T10:12:26.369Z] "selinux-enabled": true, [2023-02-04T10:12:26.369Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-04T10:12:26.369Z] } [Pipeline] sh [2023-02-04T10:12:26.706Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-04T10:12:27.044Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:12:45.329Z] provisioning config files... [2023-02-04T10:12:45.354Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1259444926734240349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:12:45.704Z] ---> docker-login.sh [2023-02-04T10:12:45.704Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:12:45.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:12:46.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:12:46.243Z] Configure a credential helper to remove this warning. See [2023-02-04T10:12:46.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:12:46.243Z] [2023-02-04T10:12:46.243Z] Login Succeeded [2023-02-04T10:12:46.243Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:12:46.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:12:46.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:12:46.782Z] Configure a credential helper to remove this warning. See [2023-02-04T10:12:46.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:12:46.782Z] [2023-02-04T10:12:46.782Z] Login Succeeded [2023-02-04T10:12:46.782Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:12:47.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:12:47.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:12:47.052Z] Configure a credential helper to remove this warning. See [2023-02-04T10:12:47.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:12:47.052Z] [2023-02-04T10:12:47.052Z] Login Succeeded [2023-02-04T10:12:47.052Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:12:47.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:12:47.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:12:47.322Z] Configure a credential helper to remove this warning. See [2023-02-04T10:12:47.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:12:47.322Z] [2023-02-04T10:12:47.322Z] Login Succeeded [2023-02-04T10:12:47.322Z] docker.io [2023-02-04T10:12:47.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:12:47.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:12:47.861Z] Configure a credential helper to remove this warning. See [2023-02-04T10:12:47.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:12:47.861Z] [2023-02-04T10:12:47.861Z] Login Succeeded [2023-02-04T10:12:47.861Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:12:47.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-04T10:12:48.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:12:48.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:12:48.150Z] ========================================================= [2023-02-04T10:12:48.150Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-04T10:12:48.150Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:12:48.494Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-04T10:12:48.762Z] Sending build context to Docker daemon 5.635MB [2023-02-04T10:12:48.762Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:12:48.762Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-04T10:12:49.031Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-04T10:12:49.031Z] 9b18e9b68314: Pulling fs layer [2023-02-04T10:12:49.031Z] 35d82f9e3411: Pulling fs layer [2023-02-04T10:12:49.031Z] e16973657156: Pulling fs layer [2023-02-04T10:12:49.031Z] fc693d55d65f: Pulling fs layer [2023-02-04T10:12:49.031Z] 7e9fc2657dce: Pulling fs layer [2023-02-04T10:12:49.031Z] dda99020689f: Pulling fs layer [2023-02-04T10:12:49.031Z] db1c61fa0a46: Pulling fs layer [2023-02-04T10:12:49.031Z] 891c053d2c06: Pulling fs layer [2023-02-04T10:12:49.031Z] dda99020689f: Waiting [2023-02-04T10:12:49.031Z] fc693d55d65f: Waiting [2023-02-04T10:12:49.031Z] 7e9fc2657dce: Waiting [2023-02-04T10:12:49.031Z] db1c61fa0a46: Waiting [2023-02-04T10:12:49.031Z] 891c053d2c06: Waiting [2023-02-04T10:12:49.031Z] e16973657156: Verifying Checksum [2023-02-04T10:12:49.031Z] e16973657156: Download complete [2023-02-04T10:12:49.031Z] 35d82f9e3411: Download complete [2023-02-04T10:12:49.031Z] 7e9fc2657dce: Download complete [2023-02-04T10:12:49.031Z] dda99020689f: Verifying Checksum [2023-02-04T10:12:49.031Z] dda99020689f: Download complete [2023-02-04T10:12:49.031Z] 9b18e9b68314: Download complete [2023-02-04T10:12:50.007Z] 9b18e9b68314: Pull complete [2023-02-04T10:12:50.285Z] 891c053d2c06: Verifying Checksum [2023-02-04T10:12:50.285Z] 891c053d2c06: Download complete [2023-02-04T10:12:50.566Z] 35d82f9e3411: Pull complete [2023-02-04T10:12:50.835Z] e16973657156: Pull complete [2023-02-04T10:12:51.426Z] db1c61fa0a46: Verifying Checksum [2023-02-04T10:12:51.426Z] db1c61fa0a46: Download complete [2023-02-04T10:12:52.012Z] fc693d55d65f: Verifying Checksum [2023-02-04T10:12:52.012Z] fc693d55d65f: Download complete [2023-02-04T10:13:04.326Z] fc693d55d65f: Pull complete [2023-02-04T10:13:04.326Z] 7e9fc2657dce: Pull complete [2023-02-04T10:13:04.326Z] dda99020689f: Pull complete [2023-02-04T10:13:08.595Z] db1c61fa0a46: Pull complete [2023-02-04T10:13:10.547Z] 891c053d2c06: Pull complete [2023-02-04T10:13:10.547Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-04T10:13:10.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-04T10:13:10.547Z] ---> f96f9c87975a [2023-02-04T10:13:10.547Z] Step 3/10 : ARG MAKE=make build [2023-02-04T10:13:12.566Z] ---> Running in 8b9c99581a2b [2023-02-04T10:13:12.851Z] Removing intermediate container 8b9c99581a2b [2023-02-04T10:13:12.851Z] ---> 172234521332 [2023-02-04T10:13:12.851Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-04T10:13:12.851Z] ---> Running in 985a5d794dcc [2023-02-04T10:13:13.136Z] Removing intermediate container 985a5d794dcc [2023-02-04T10:13:13.136Z] ---> 4d3951ade559 [2023-02-04T10:13:13.136Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:13:13.408Z] ---> Running in 357a87346a6a [2023-02-04T10:13:13.679Z] Removing intermediate container 357a87346a6a [2023-02-04T10:13:13.679Z] ---> 08ab0006c1cf [2023-02-04T10:13:13.679Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-04T10:13:13.679Z] ---> Running in 8e19bec7ec90 [2023-02-04T10:13:15.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:13:15.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:13:16.047Z] OK: 221 MiB in 51 packages [2023-02-04T10:13:16.644Z] Removing intermediate container 8e19bec7ec90 [2023-02-04T10:13:16.644Z] ---> ed6f37398482 [2023-02-04T10:13:16.644Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-04T10:13:17.236Z] ---> 75f715872491 [2023-02-04T10:13:17.236Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:13:17.236Z] ---> Running in 1f3a661c181b [2023-02-04T10:14:25.118Z] Removing intermediate container 1f3a661c181b [2023-02-04T10:14:25.118Z] ---> 8a276ffc30e3 [2023-02-04T10:14:25.118Z] Step 9/10 : COPY . . [2023-02-04T10:14:25.118Z] ---> 585528585179 [2023-02-04T10:14:25.118Z] Step 10/10 : RUN ${MAKE} [2023-02-04T10:14:25.118Z] ---> Running in b9006dec7b10 [2023-02-04T10:14:25.118Z] noop [2023-02-04T10:14:25.118Z] Removing intermediate container b9006dec7b10 [2023-02-04T10:14:25.118Z] ---> dc4df6f2d3c9 [2023-02-04T10:14:25.118Z] Successfully built dc4df6f2d3c9 [2023-02-04T10:14:25.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:14:25.475Z] + docker inspect -f . ci-base-image-arm64 [2023-02-04T10:14:25.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:14:25.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-4521 does not seem to be running inside a container [2023-02-04T10:14:25.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-04T10:14:27.031Z] $ docker top 51fccc64c76f0802e3d512284c4a3040f418bb1a5765830b78f7270a9ac8b6ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:14:27.887Z] + go version [2023-02-04T10:14:27.888Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-04T10:14:27.913Z] $ docker stop --time=1 51fccc64c76f0802e3d512284c4a3040f418bb1a5765830b78f7270a9ac8b6ee [2023-02-04T10:14:29.590Z] $ docker rm -f --volumes 51fccc64c76f0802e3d512284c4a3040f418bb1a5765830b78f7270a9ac8b6ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:14:30.160Z] + docker inspect -f . ci-base-image-arm64 [2023-02-04T10:14:30.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:14:30.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-4521 does not seem to be running inside a container [2023-02-04T10:14:30.423Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-04T10:14:33.234Z] $ docker top 51d911622e8ca4d9a8107f27832242212043acfd41064d3ee1ab87a828f66351 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:14:34.075Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-02-04T10:14:34.736Z] + make test [2023-02-04T10:14:34.736Z] go test -race -coverprofile=coverage.out ./... [2023-02-04T10:15:13.619Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-04T10:17:20.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-04T10:17:20.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-04T10:17:20.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-04T10:17:20.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-04T10:17:20.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-04T10:17:20.916Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.374s coverage: 27.6% of statements [2023-02-04T10:17:22.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.395s coverage: 78.9% of statements [2023-02-04T10:17:22.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-04T10:17:23.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.597s coverage: 70.2% of statements [2023-02-04T10:17:23.451Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-04T10:17:23.451Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-04T10:17:38.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.530s coverage: 59.8% of statements [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-04T10:17:38.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.469s coverage: 65.1% of statements [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-04T10:17:38.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.310s coverage: 89.2% of statements [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-04T10:17:38.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.380s coverage: 4.7% of statements [2023-02-04T10:17:38.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-04T10:17:38.473Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-04T10:17:38.473Z] GO111MODULE=on go vet ./... [2023-02-04T10:19:15.187Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-04T10:19:15.187Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-04T10:19:15.187Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-04T10:19:15.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-04T10:19:15.222Z] $ docker stop --time=1 51d911622e8ca4d9a8107f27832242212043acfd41064d3ee1ab87a828f66351 [2023-02-04T10:19:17.050Z] $ docker rm -f --volumes 51d911622e8ca4d9a8107f27832242212043acfd41064d3ee1ab87a828f66351 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:19:18.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-04T10:19:18.392Z] Warning: overwriting stash ‘coverage-report’ [2023-02-04T10:19:18.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:19:19.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-04T10:19:19.698Z] + ls -al . [2023-02-04T10:19:19.699Z] total 268 [2023-02-04T10:19:19.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 4 10:14 . [2023-02-04T10:19:19.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:12 .. [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:12 .dockerignore [2023-02-04T10:19:19.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:12 .git [2023-02-04T10:19:19.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:12 .github [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:12 .gitignore [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:12 .golangci.yml [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:12 CHANGELOG.md [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:12 GOVERNANCE.md [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:12 Jenkinsfile [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:12 LICENSE [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:12 Makefile [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:12 OWNERS.md [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:12 README.md [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 10:08 VERSION [2023-02-04T10:19:19.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:12 bin [2023-02-04T10:19:19.699Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:17 coverage.out [2023-02-04T10:19:19.699Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:12 example [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:12 go.mod [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:12 go.sum [2023-02-04T10:19:19.699Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:12 internal [2023-02-04T10:19:19.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:12 openapi [2023-02-04T10:19:19.699Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:12 pkg [2023-02-04T10:19:19.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:12 snap [2023-02-04T10:19:19.699Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:19:20.044Z] + 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=e4df03aca69ea0fc84b8f87768e6dc95f5667feb --label arch=arm64 --label version=0.0.0 . [2023-02-04T10:19:20.314Z] Sending build context to Docker daemon 5.735MB [2023-02-04T10:19:20.583Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:19:20.583Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-04T10:19:20.583Z] ---> dc4df6f2d3c9 [2023-02-04T10:19:20.583Z] Step 3/23 : ARG MAKE=make build [2023-02-04T10:19:20.583Z] ---> Running in 13f7d37a86fa [2023-02-04T10:19:20.852Z] Removing intermediate container 13f7d37a86fa [2023-02-04T10:19:20.853Z] ---> 33fb10c4680b [2023-02-04T10:19:20.853Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-04T10:19:21.120Z] ---> Running in 7829ab18ee46 [2023-02-04T10:19:21.390Z] Removing intermediate container 7829ab18ee46 [2023-02-04T10:19:21.390Z] ---> e30b0d9f5ed9 [2023-02-04T10:19:21.390Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:19:21.390Z] ---> Running in 799e49ddd23e [2023-02-04T10:19:21.666Z] Removing intermediate container 799e49ddd23e [2023-02-04T10:19:21.666Z] ---> 79adc7e9228d [2023-02-04T10:19:21.666Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-04T10:19:21.937Z] ---> Running in 7ad6871ebfb2 [2023-02-04T10:19:22.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:19:23.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:19:24.131Z] OK: 221 MiB in 51 packages [2023-02-04T10:19:26.720Z] Removing intermediate container 7ad6871ebfb2 [2023-02-04T10:19:26.720Z] ---> d7ac28c7b44d [2023-02-04T10:19:26.720Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-04T10:19:27.309Z] ---> 83dbe74f8509 [2023-02-04T10:19:27.309Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:19:27.309Z] ---> Running in 3541f9f9b5b9 [2023-02-04T10:19:29.901Z] Removing intermediate container 3541f9f9b5b9 [2023-02-04T10:19:29.901Z] ---> 5567e874952f [2023-02-04T10:19:29.901Z] Step 9/23 : COPY . . [2023-02-04T10:19:31.313Z] ---> fe002369e540 [2023-02-04T10:19:31.313Z] Step 10/23 : RUN ${MAKE} [2023-02-04T10:19:31.313Z] ---> Running in 760c93138f51 [2023-02-04T10:19:32.277Z] 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-02-04T10:21:40.566Z] Removing intermediate container 760c93138f51 [2023-02-04T10:21:40.566Z] ---> 61a4ef71ccc5 [2023-02-04T10:21:40.566Z] Step 11/23 : FROM alpine:3.16 [2023-02-04T10:21:40.566Z] 3.16: Pulling from library/alpine [2023-02-04T10:21:40.566Z] 6875df1f5354: Pulling fs layer [2023-02-04T10:21:40.566Z] 6875df1f5354: Verifying Checksum [2023-02-04T10:21:40.566Z] 6875df1f5354: Download complete [2023-02-04T10:21:40.566Z] 6875df1f5354: Pull complete [2023-02-04T10:21:40.566Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-04T10:21:40.566Z] Status: Downloaded newer image for alpine:3.16 [2023-02-04T10:21:40.566Z] ---> 2b4661558fb8 [2023-02-04T10:21:40.566Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-04T10:21:40.566Z] ---> Running in b9f14d1560f7 [2023-02-04T10:21:40.566Z] Removing intermediate container b9f14d1560f7 [2023-02-04T10:21:40.566Z] ---> 32290ebc4462 [2023-02-04T10:21:40.566Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-04T10:21:40.566Z] ---> Running in ca8c88a49ebd [2023-02-04T10:21:40.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:21:40.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:21:40.566Z] OK: 5 MiB in 14 packages [2023-02-04T10:21:40.566Z] Removing intermediate container ca8c88a49ebd [2023-02-04T10:21:40.566Z] ---> eda457b3aea1 [2023-02-04T10:21:40.566Z] Step 14/23 : WORKDIR / [2023-02-04T10:21:40.566Z] ---> Running in 0ffe7783e387 [2023-02-04T10:21:40.566Z] Removing intermediate container 0ffe7783e387 [2023-02-04T10:21:40.566Z] ---> d4f5af19db1c [2023-02-04T10:21:40.566Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-04T10:21:40.566Z] ---> bbaf07f30e2e [2023-02-04T10:21:40.566Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-04T10:21:40.566Z] ---> b93528c484e2 [2023-02-04T10:21:40.566Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-04T10:21:40.566Z] ---> e86842f37df3 [2023-02-04T10:21:40.566Z] Step 18/23 : EXPOSE 59999 [2023-02-04T10:21:40.566Z] ---> Running in 816c4bf6df2c [2023-02-04T10:21:40.566Z] Removing intermediate container 816c4bf6df2c [2023-02-04T10:21:40.566Z] ---> 6ae736c4ff6b [2023-02-04T10:21:40.566Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-04T10:21:40.566Z] ---> Running in d0f6c1903df9 [2023-02-04T10:21:40.566Z] Removing intermediate container d0f6c1903df9 [2023-02-04T10:21:40.566Z] ---> 6cdcd846da26 [2023-02-04T10:21:40.566Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-04T10:21:40.832Z] ---> Running in 26234bd8fb39 [2023-02-04T10:21:41.099Z] Removing intermediate container 26234bd8fb39 [2023-02-04T10:21:41.099Z] ---> e5ddde04b389 [2023-02-04T10:21:41.099Z] Step 21/23 : LABEL arch=arm64 [2023-02-04T10:21:41.099Z] ---> Running in f7cc7076a94f [2023-02-04T10:21:41.365Z] Removing intermediate container f7cc7076a94f [2023-02-04T10:21:41.365Z] ---> 446ea0f3aaee [2023-02-04T10:21:41.365Z] Step 22/23 : LABEL git_sha=e4df03aca69ea0fc84b8f87768e6dc95f5667feb [2023-02-04T10:21:41.365Z] ---> Running in 7f9954d76549 [2023-02-04T10:21:41.633Z] Removing intermediate container 7f9954d76549 [2023-02-04T10:21:41.633Z] ---> 7f285ed8c4d0 [2023-02-04T10:21:41.633Z] Step 23/23 : LABEL version=0.0.0 [2023-02-04T10:21:41.898Z] ---> Running in 9c6e1d88c320 [2023-02-04T10:21:42.164Z] Removing intermediate container 9c6e1d88c320 [2023-02-04T10:21:42.164Z] ---> e0f34f367c43 [2023-02-04T10:21:42.164Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-04T10:21:42.164Z] Successfully built e0f34f367c43 [2023-02-04T10:21:42.164Z] 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-02-04T10:21:42.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:21:42.589Z] [2023-02-04T10:21:42.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:21:42.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:21:42.921Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-04T10:21:42.921Z] 8998bd30e6a1: Pulling fs layer [2023-02-04T10:21:42.921Z] 04944245beec: Pulling fs layer [2023-02-04T10:21:42.921Z] 699f458cf7ca: Pulling fs layer [2023-02-04T10:21:42.921Z] 765212b225bb: Pulling fs layer [2023-02-04T10:21:42.921Z] f23df028b6ca: Pulling fs layer [2023-02-04T10:21:42.921Z] d65c8cfc05b1: Pulling fs layer [2023-02-04T10:21:42.921Z] 2437ff75d9bd: Pulling fs layer [2023-02-04T10:21:42.921Z] 765212b225bb: Waiting [2023-02-04T10:21:42.921Z] 2437ff75d9bd: Waiting [2023-02-04T10:21:42.921Z] f23df028b6ca: Waiting [2023-02-04T10:21:42.921Z] d65c8cfc05b1: Waiting [2023-02-04T10:21:43.347Z] 04944245beec: Verifying Checksum [2023-02-04T10:21:43.347Z] 04944245beec: Download complete [2023-02-04T10:21:43.347Z] 765212b225bb: Verifying Checksum [2023-02-04T10:21:43.347Z] 765212b225bb: Download complete [2023-02-04T10:21:43.347Z] f23df028b6ca: Verifying Checksum [2023-02-04T10:21:43.347Z] f23df028b6ca: Download complete [2023-02-04T10:21:43.347Z] d65c8cfc05b1: Verifying Checksum [2023-02-04T10:21:43.347Z] d65c8cfc05b1: Download complete [2023-02-04T10:21:43.347Z] 699f458cf7ca: Verifying Checksum [2023-02-04T10:21:43.347Z] 699f458cf7ca: Download complete [2023-02-04T10:21:43.983Z] 8998bd30e6a1: Verifying Checksum [2023-02-04T10:21:43.983Z] 8998bd30e6a1: Download complete [2023-02-04T10:21:45.980Z] 2437ff75d9bd: Download complete [2023-02-04T10:21:47.961Z] 8998bd30e6a1: Pull complete [2023-02-04T10:21:48.227Z] 04944245beec: Pull complete [2023-02-04T10:21:49.633Z] 699f458cf7ca: Pull complete [2023-02-04T10:21:49.633Z] 765212b225bb: Pull complete [2023-02-04T10:21:50.214Z] f23df028b6ca: Pull complete [2023-02-04T10:21:50.478Z] d65c8cfc05b1: Pull complete [2023-02-04T10:22:02.777Z] 2437ff75d9bd: Pull complete [2023-02-04T10:22:02.777Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-04T10:22:02.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:22:02.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:22:02.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-4521 does not seem to be running inside a container [2023-02-04T10:22:03.023Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-04T10:22:05.756Z] $ docker top 97436ccf2f7e6c565b064bcef6fe0392edc92469c03cb2741c6f0fb94e8e3254 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:06.583Z] ---> job-cost.sh [2023-02-04T10:22:06.583Z] lf-activate-venv: SKIPPING [2023-02-04T10:22:06.583Z] INFO: No Stack... [2023-02-04T10:22:07.165Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-04T10:22:07.749Z] INFO: Archiving Costs [Pipeline] sh [2023-02-04T10:22:08.064Z] + + cut -d, -f6 [2023-02-04T10:22:08.064Z] cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2023-02-04T10:22:08.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] [2023-02-04T10:22:08.127Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] did not exist. Created. [2023-02-04T10:22:08.127Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-04T10:22:08.461Z] /w/workspace/device-sdk-go/5@tmp/durable-a5fefe6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-04T10:22:09.056Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-04T10:22:09.077Z] Warning: overwriting stash ‘stack-cost’ [2023-02-04T10:22:09.137Z] Stashed 1 file(s) [Pipeline] } [2023-02-04T10:22:09.147Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-04T10:22:09.164Z] $ docker stop --time=1 97436ccf2f7e6c565b064bcef6fe0392edc92469c03cb2741c6f0fb94e8e3254 [2023-02-04T10:22:10.630Z] $ docker rm -f --volumes 97436ccf2f7e6c565b064bcef6fe0392edc92469c03cb2741c6f0fb94e8e3254 [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-02-04T10:22:11.032Z] provisioning config files... [2023-02-04T10:22:11.040Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config10914319874616882760tmp [Pipeline] { [Pipeline] sh [2023-02-04T10:22:11.336Z] + set +x [2023-02-04T10:22:11.336Z] + + curl -s https://codecov.io/bash [2023-02-04T10:22:11.336Z] bash -s -- [2023-02-04T10:22:11.336Z] [2023-02-04T10:22:11.336Z] _____ _ [2023-02-04T10:22:11.336Z] / ____| | | [2023-02-04T10:22:11.336Z] | | ___ __| | ___ ___ _____ __ [2023-02-04T10:22:11.336Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-04T10:22:11.336Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-04T10:22:11.336Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-04T10:22:11.336Z] Bash-1.0.6 [2023-02-04T10:22:11.336Z] [2023-02-04T10:22:11.336Z] [2023-02-04T10:22:11.336Z] ==> git version 2.25.1 found [2023-02-04T10:22:11.336Z] ==> 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-02-04T10:22:11.336Z] Release-Date: 2020-01-08 [2023-02-04T10:22:11.336Z] 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-02-04T10:22:11.336Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-04T10:22:11.336Z] ==> Jenkins CI detected. [2023-02-04T10:22:11.336Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-02-04T10:22:11.336Z] project root: . [2023-02-04T10:22:11.336Z] --> token set from env [2023-02-04T10:22:11.336Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-04T10:22:11.336Z] ==> Running gcov in . (disable via -X gcov) [2023-02-04T10:22:11.336Z] ==> Python coveragepy not found [2023-02-04T10:22:11.336Z] ==> Searching for coverage reports in: [2023-02-04T10:22:11.336Z] + . [2023-02-04T10:22:11.336Z] -> Found 1 reports [2023-02-04T10:22:11.336Z] ==> Detecting git/mercurial file structure [2023-02-04T10:22:11.336Z] ==> Reading reports [2023-02-04T10:22:11.336Z] + ./coverage.out bytes=99762 [2023-02-04T10:22:11.336Z] ==> Appending adjustments [2023-02-04T10:22:11.336Z] https://docs.codecov.io/docs/fixing-reports [2023-02-04T10:22:11.596Z] + Found adjustments [2023-02-04T10:22:11.596Z] ==> Gzipping contents [2023-02-04T10:22:11.857Z] 16K /tmp/codecov.ubwOGV.gz [2023-02-04T10:22:11.857Z] ==> Uploading reports [2023-02-04T10:22:11.857Z] url: https://codecov.io [2023-02-04T10:22:11.857Z] query: branch=PR-1290&commit=e4df03aca69ea0fc84b8f87768e6dc95f5667feb&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-02-04T10:22:11.857Z] -> Pinging Codecov [2023-02-04T10:22:11.857Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1290&commit=e4df03aca69ea0fc84b8f87768e6dc95f5667feb&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-02-04T10:22:12.115Z] -> Uploading to [2023-02-04T10:22:12.115Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-04/7E55EF52A471D76F132DFD9A03CDDE97/e4df03aca69ea0fc84b8f87768e6dc95f5667feb/64873561-32e0-4f3b-b629-9b2a613b9dac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230204T102211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54ef2497f7b1a3aaeb2af6274bba11f20c8e51c9eaef1ee1140c824be2ec8ddb [2023-02-04T10:22:12.116Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-04T10:22:12.116Z] Dload Upload Total Spent Left Speed [2023-02-04T10:22:12.375Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14447 0 0 100 14447 0 65371 --:--:-- --:--:-- --:--:-- 65076 100 14447 0 0 100 14447 0 52155 --:--:-- --:--:-- --:--:-- 51967 [2023-02-04T10:22:12.375Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e4df03aca69ea0fc84b8f87768e6dc95f5667feb [Pipeline] } [2023-02-04T10:22:12.382Z] 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-02-04T10:22:13.048Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives ] [2023-02-04T10:22:13.048Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-04T10:22:13.048Z] total 16 [2023-02-04T10:22:13.048Z] drwxr-xr-x 3 root root 4096 Feb 4 10:12 . [2023-02-04T10:22:13.048Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:12 .. [2023-02-04T10:22:13.048Z] drwxr-xr-x 2 root root 4096 Feb 4 10:12 cost [2023-02-04T10:22:13.048Z] -rw-r--r-- 1 root root 86 Feb 4 10:12 cost.csv [2023-02-04T10:22:13.048Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-04T10:22:13.048Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-04T10:22:13.048Z] total 16 [2023-02-04T10:22:13.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:12 . [2023-02-04T10:22:13.048Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:12 .. [2023-02-04T10:22:13.048Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 4 10:12 cost [2023-02-04T10:22:13.048Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 4 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:13.338Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:14.196Z] ---> package-listing.sh [2023-02-04T10:22:14.196Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-04T10:22:14.196Z] ++ facter osfamily [2023-02-04T10:22:14.455Z] + OS_FAMILY=debian [2023-02-04T10:22:14.455Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-02-04T10:22:14.455Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-04T10:22:14.455Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-04T10:22:14.455Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-04T10:22:14.455Z] + PACKAGES=/tmp/packages_start.txt [2023-02-04T10:22:14.455Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-02-04T10:22:14.455Z] + PACKAGES=/tmp/packages_end.txt [2023-02-04T10:22:14.455Z] + case "${OS_FAMILY}" in [2023-02-04T10:22:14.455Z] + grep '^ii' [2023-02-04T10:22:14.455Z] + dpkg -l [2023-02-04T10:22:14.455Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-04T10:22:14.455Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-04T10:22:14.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-04T10:22:14.455Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-02-04T10:22:14.455Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [2023-02-04T10:22:14.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [Pipeline] echo [2023-02-04T10:22:14.464Z] 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-1290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-04T10:22:14.742Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:22:15.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:22:15.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:22:15.365Z] prd-ubuntu20.04-docker-8c-8g-4519 does not seem to be running inside a container [2023-02-04T10:22:15.389Z] $ 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-1290/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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-04T10:22:16.005Z] $ docker top cd9110fdd4c18e60a9bfe68061608458e780fe4ff2f439cf51bf2810e4d71c47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:22:16.579Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-04T10:22:16.865Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-04T10:22:17.149Z] + ls /var/log/sa-host [2023-02-04T10:22:17.149Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:22:17.218Z] provisioning config files... [2023-02-04T10:22:17.226Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config4072904280759257404tmp [Pipeline] { [Pipeline] echo [2023-02-04T10:22:17.241Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:17.523Z] ---> create-netrc.sh [Pipeline] } [2023-02-04T10:22:17.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:17.848Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-04T10:22:17.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:18.147Z] ---> sudo-logs.sh [2023-02-04T10:22:18.147Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-04T10:22:18.174Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:18.457Z] ---> job-cost.sh [2023-02-04T10:22:18.457Z] lf-activate-venv: SKIPPING [2023-02-04T10:22:18.457Z] DEBUG: total: 0.2199999988079071 [2023-02-04T10:22:18.457Z] INFO: Retrieving Stack Cost... [2023-02-04T10:22:19.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-04T10:22:19.965Z] INFO: Archiving Costs [Pipeline] echo [2023-02-04T10:22:19.977Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:20.263Z] ---> logs-deploy.sh [2023-02-04T10:22:20.263Z] lf-activate-venv: SKIPPING [2023-02-04T10:22:20.263Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1290/5 [2023-02-04T10:22:20.263Z] INFO: archiving workspace using pattern(s): [2023-02-04T10:22:21.201Z] Archives upload complete. [2023-02-04T10:22:21.201Z] INFO: archiving logs to Nexus