Pull request #1461 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6aa97f4be62e1d67ef839811e8c827dcb59f61b2+a7496c2eac89da67a3eb73648901a7f4e26950f7 (04e05cecccf558fa41be764968bc0472e5559690) 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-ssh7200428117401990878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4354881611345305831.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14569536541021671678.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1461/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5755802004047207930.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17005781226071528898.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1461/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1461/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh567253425202616748.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16337’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16339 in /w/workspace/gexfoundry_device-sdk-go_PR-1461 [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-1461 # 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/1461/head:refs/remotes/origin/PR-1461 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7496c2eac89da67a3eb73648901a7f4e26950f7 into PR head commit 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 Merge succeeded, producing 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 Checking out Revision 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 (PR-1461) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 # 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 a7496c2eac89da67a3eb73648901a7f4e26950f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 # timeout=10 [Pipeline] timeout [2023-05-22T18:15:51.638Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-22T18:15:51.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-22T18:15:51.927Z] ========================================================= [2023-05-22T18:15:51.927Z] EdgeX Global Pipelines Version Info [2023-05-22T18:15:51.927Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:15:52.665Z] ------------------- [2023-05-22T18:15:52.665Z] stable info: [2023-05-22T18:15:52.665Z] ------------------- [2023-05-22T18:15:52.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-22T18:15:52.665Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T18:15:52.665Z] Message: update stable to v1.0.249 [2023-05-22T18:15:53.236Z] ------------------- [2023-05-22T18:15:53.236Z] experimental info: [2023-05-22T18:15:53.236Z] ------------------- [2023-05-22T18:15:53.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-22T18:15:53.236Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T18:15:53.236Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-22T18:15:53.650Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-22T18:15:53.701Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-22T18:15:53.743Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-22T18:15:53.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-22T18:15:53.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-22T18:15:53.875Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-22T18:15:53.919Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-22T18:15:53.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-22T18:15:54.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-22T18:15:54.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-22T18:15:54.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-22T18:15:54.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-22T18:15:54.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-22T18:15:54.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-22T18:15:54.283Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T18:15:54.322Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T18:15:54.378Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T18:15:54.421Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T18:15:54.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-22T18:15:54.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-22T18:15:54.548Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-22T18:15:54.596Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-22T18:15:54.639Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-22T18:15:54.683Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-22T18:15:54.722Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-22T18:15:54.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-22T18:15:54.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-22T18:15:54.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1461 [Pipeline] echo [2023-05-22T18:15:54.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1461 [Pipeline] echo [2023-05-22T18:15:54.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1461 [Pipeline] echo [2023-05-22T18:15:54.999Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [Pipeline] echo [2023-05-22T18:15:55.049Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6aa97f4 [Pipeline] echo [2023-05-22T18:15:55.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T18:15:55.213Z] provisioning config files... [2023-05-22T18:15:55.247Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/config9409958900352877068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:15:55.591Z] ---> docker-login.sh [2023-05-22T18:15:55.591Z] nexus3.edgexfoundry.org:10001 [2023-05-22T18:15:55.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:15:55.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:15:55.850Z] Configure a credential helper to remove this warning. See [2023-05-22T18:15:55.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:15:55.850Z] [2023-05-22T18:15:55.850Z] Login Succeeded [2023-05-22T18:15:55.850Z] nexus3.edgexfoundry.org:10002 [2023-05-22T18:15:55.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:15:55.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:15:55.850Z] Configure a credential helper to remove this warning. See [2023-05-22T18:15:55.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:15:55.850Z] [2023-05-22T18:15:55.850Z] Login Succeeded [2023-05-22T18:15:55.850Z] nexus3.edgexfoundry.org:10003 [2023-05-22T18:15:56.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:15:56.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:15:56.111Z] Configure a credential helper to remove this warning. See [2023-05-22T18:15:56.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:15:56.111Z] [2023-05-22T18:15:56.111Z] Login Succeeded [2023-05-22T18:15:56.111Z] nexus3.edgexfoundry.org:10004 [2023-05-22T18:15:56.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:15:56.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:15:56.111Z] Configure a credential helper to remove this warning. See [2023-05-22T18:15:56.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:15:56.111Z] [2023-05-22T18:15:56.111Z] Login Succeeded [2023-05-22T18:15:56.111Z] docker.io [2023-05-22T18:15:56.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:15:56.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:15:56.371Z] Configure a credential helper to remove this warning. See [2023-05-22T18:15:56.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:15:56.371Z] [2023-05-22T18:15:56.371Z] Login Succeeded [2023-05-22T18:15:56.371Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T18:15:56.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-22T18:15:57.048Z] + git rev-list -1 --merges 6aa97f4be62e1d67ef839811e8c827dcb59f61b2~1..6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [Pipeline] echo [2023-05-22T18:15:57.111Z] -----------> git rev-list -1 --merges 6aa97f4be62e1d67ef839811e8c827dcb59f61b2~1..6aa97f4be62e1d67ef839811e8c827dcb59f61b2 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [false] [Pipeline] sh [2023-05-22T18:15:57.419Z] + git log --format=format:%s -1 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [Pipeline] echo [2023-05-22T18:15:57.458Z] ========================================================= [2023-05-22T18:15:57.458Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-22T18:15:57.458Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T18:15:57.900Z] + git log --format=format:%s -1 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [Pipeline] echo [2023-05-22T18:15:57.932Z] [semverPrep] GIT_COMMIT: 6aa97f4be62e1d67ef839811e8c827dcb59f61b2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-22T18:15:57.963Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-22T18:15:58.344Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-22T18:15:58.344Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-22T18:15:58.344Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-22T18:15:58.344Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-22T18:15:58.344Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-22T18:15:58.344Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-22T18:15:58.344Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:15:58.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T18:15:58.782Z] [2023-05-22T18:15:58.782Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:15:59.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T18:15:59.155Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-22T18:15:59.155Z] b85a868b505f: Pulling fs layer [2023-05-22T18:15:59.155Z] e2be974225ed: Pulling fs layer [2023-05-22T18:15:59.155Z] 339a4e72a1f5: Pulling fs layer [2023-05-22T18:15:59.155Z] 988bab9f4d93: Pulling fs layer [2023-05-22T18:15:59.155Z] 1469e6f7b9e6: Pulling fs layer [2023-05-22T18:15:59.155Z] eaf3925da568: Pulling fs layer [2023-05-22T18:15:59.155Z] bab4dde63d76: Pulling fs layer [2023-05-22T18:15:59.155Z] bde34c3a00c8: Pulling fs layer [2023-05-22T18:15:59.155Z] 988bab9f4d93: Waiting [2023-05-22T18:15:59.155Z] 1469e6f7b9e6: Waiting [2023-05-22T18:15:59.155Z] eaf3925da568: Waiting [2023-05-22T18:15:59.155Z] b352a97aabf1: Pulling fs layer [2023-05-22T18:15:59.155Z] bde34c3a00c8: Waiting [2023-05-22T18:15:59.155Z] 4872d77fe225: Pulling fs layer [2023-05-22T18:15:59.155Z] b352a97aabf1: Waiting [2023-05-22T18:15:59.155Z] 5851b861e8e6: Pulling fs layer [2023-05-22T18:15:59.155Z] 4872d77fe225: Waiting [2023-05-22T18:15:59.155Z] 5851b861e8e6: Waiting [2023-05-22T18:15:59.155Z] e2be974225ed: Download complete [2023-05-22T18:15:59.155Z] 988bab9f4d93: Download complete [2023-05-22T18:15:59.155Z] 1469e6f7b9e6: Verifying Checksum [2023-05-22T18:15:59.155Z] 1469e6f7b9e6: Download complete [2023-05-22T18:15:59.156Z] 339a4e72a1f5: Verifying Checksum [2023-05-22T18:15:59.156Z] 339a4e72a1f5: Download complete [2023-05-22T18:15:59.156Z] eaf3925da568: Verifying Checksum [2023-05-22T18:15:59.156Z] eaf3925da568: Download complete [2023-05-22T18:15:59.156Z] bde34c3a00c8: Download complete [2023-05-22T18:15:59.416Z] b352a97aabf1: Verifying Checksum [2023-05-22T18:15:59.416Z] b352a97aabf1: Download complete [2023-05-22T18:15:59.416Z] 4872d77fe225: Download complete [2023-05-22T18:15:59.416Z] 5851b861e8e6: Verifying Checksum [2023-05-22T18:15:59.416Z] 5851b861e8e6: Download complete [2023-05-22T18:15:59.416Z] b85a868b505f: Verifying Checksum [2023-05-22T18:15:59.416Z] b85a868b505f: Download complete [2023-05-22T18:15:59.674Z] bab4dde63d76: Verifying Checksum [2023-05-22T18:15:59.674Z] bab4dde63d76: Download complete [2023-05-22T18:16:00.619Z] b85a868b505f: Pull complete [2023-05-22T18:16:00.619Z] e2be974225ed: Pull complete [2023-05-22T18:16:01.187Z] 339a4e72a1f5: Pull complete [2023-05-22T18:16:01.187Z] 988bab9f4d93: Pull complete [2023-05-22T18:16:01.447Z] 1469e6f7b9e6: Pull complete [2023-05-22T18:16:01.447Z] eaf3925da568: Pull complete [2023-05-22T18:16:02.822Z] bab4dde63d76: Pull complete [2023-05-22T18:16:03.081Z] bde34c3a00c8: Pull complete [2023-05-22T18:16:03.081Z] b352a97aabf1: Pull complete [2023-05-22T18:16:03.340Z] 4872d77fe225: Pull complete [2023-05-22T18:16:03.340Z] 5851b861e8e6: Pull complete [2023-05-22T18:16:03.340Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-22T18:16:03.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T18:16:03.340Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:16:03.545Z] prd-ubuntu20.04-docker-8c-8g-16339 does not seem to be running inside a container [2023-05-22T18:16:03.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1461 -v /w/workspace/gexfoundry_device-sdk-go_PR-1461:/w/workspace/gexfoundry_device-sdk-go_PR-1461:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-22T18:16:06.095Z] $ docker top 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e -eo pid,comm [2023-05-22T18:16:06.142Z] 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-05-22T18:16:06.142Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-22T18:16:06.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T18:16:06.271Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T18:16:06.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T18:16:06.393Z] $ docker exec 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e ssh-agent [2023-05-22T18:16:06.493Z] SSH_AUTH_SOCK=/tmp/ssh-FKaPYCE45ahQ/agent.32 [2023-05-22T18:16:06.493Z] SSH_AGENT_PID=38 [2023-05-22T18:16:06.499Z] Running ssh-add (command line suppressed) [2023-05-22T18:16:06.600Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/private_key_13440095839390221196.key (/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/private_key_13440095839390221196.key) [2023-05-22T18:16:06.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T18:16:06.934Z] + git tag --points-at HEAD [Pipeline] } [2023-05-22T18:16:06.965Z] $ docker exec --env ******** --env ******** 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e ssh-agent -k [2023-05-22T18:16:07.058Z] unset SSH_AUTH_SOCK; [2023-05-22T18:16:07.059Z] unset SSH_AGENT_PID; [2023-05-22T18:16:07.059Z] echo Agent pid 38 killed; [2023-05-22T18:16:07.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-22T18:16:07.155Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T18:16:07.155Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T18:16:07.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T18:16:07.264Z] $ docker exec 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e ssh-agent [2023-05-22T18:16:07.359Z] SSH_AUTH_SOCK=/tmp/ssh-3adVWUzv37NK/agent.71 [2023-05-22T18:16:07.359Z] SSH_AGENT_PID=77 [2023-05-22T18:16:07.364Z] Running ssh-add (command line suppressed) [2023-05-22T18:16:07.474Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/private_key_1541535700403225790.key (/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/private_key_1541535700403225790.key) [2023-05-22T18:16:07.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T18:16:07.811Z] + git semver init [2023-05-22T18:16:08.072Z] 2023-05-22 18:16:07,966 [run_init] DEBUG init version:0.0.0 force:False [2023-05-22T18:16:08.072Z] 2023-05-22 18:16:07,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver [2023-05-22T18:16:08.072Z] 2023-05-22 18:16:07,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver [2023-05-22T18:16:08.072Z] 2023-05-22 18:16:07,968 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1461, universal_newlines=False, shell=None, istream=None) [2023-05-22T18:16:09.010Z] 2023-05-22 18:16:08,835 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1461/.git/info/exclude [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,836 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver/PR-1461 with force:False [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,836 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver/PR-1461 [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,840 [execute] INFO git cat-file --batch-check [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,846 [execute] INFO git cat-file --batch [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T18:16:09.011Z] 2023-05-22 18:16:08,851 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1461/.semver/PR-1461 [2023-05-22T18:16:09.011Z] 0.0.0 [Pipeline] } [2023-05-22T18:16:09.046Z] $ docker exec --env ******** --env ******** 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e ssh-agent -k [2023-05-22T18:16:09.136Z] unset SSH_AUTH_SOCK; [2023-05-22T18:16:09.137Z] unset SSH_AGENT_PID; [2023-05-22T18:16:09.137Z] echo Agent pid 77 killed; [2023-05-22T18:16:09.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-22T18:16:09.546Z] + git semver [Pipeline] } [2023-05-22T18:16:09.835Z] $ docker stop --time=1 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e [2023-05-22T18:16:11.104Z] $ docker rm -f --volumes 7e0e82c728b497a10ae87e2ad97d5ef246f1f4f028da95a8af72880bb44a528e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T18:16:11.504Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-22T18:16:11.769Z] Stashed 1 file(s) [Pipeline] echo [2023-05-22T18:16:11.787Z] [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-05-22T18:16:12.384Z] provisioning config files... [2023-05-22T18:16:12.394Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/config9571784736626339088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:16:12.755Z] ---> docker-login.sh [2023-05-22T18:16:12.756Z] nexus3.edgexfoundry.org:10001 [2023-05-22T18:16:12.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:16:12.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:16:12.756Z] Configure a credential helper to remove this warning. See [2023-05-22T18:16:12.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:16:12.756Z] [2023-05-22T18:16:12.756Z] Login Succeeded [2023-05-22T18:16:12.756Z] nexus3.edgexfoundry.org:10002 [2023-05-22T18:16:12.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:16:12.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:16:12.756Z] Configure a credential helper to remove this warning. See [2023-05-22T18:16:12.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:16:12.756Z] [2023-05-22T18:16:12.756Z] Login Succeeded [2023-05-22T18:16:12.756Z] nexus3.edgexfoundry.org:10003 [2023-05-22T18:16:13.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:16:13.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:16:13.015Z] Configure a credential helper to remove this warning. See [2023-05-22T18:16:13.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:16:13.015Z] [2023-05-22T18:16:13.015Z] Login Succeeded [2023-05-22T18:16:13.015Z] nexus3.edgexfoundry.org:10004 [2023-05-22T18:16:13.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:16:13.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:16:13.015Z] Configure a credential helper to remove this warning. See [2023-05-22T18:16:13.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:16:13.015Z] [2023-05-22T18:16:13.015Z] Login Succeeded [2023-05-22T18:16:13.015Z] docker.io [2023-05-22T18:16:13.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:16:13.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:16:13.274Z] Configure a credential helper to remove this warning. See [2023-05-22T18:16:13.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:16:13.274Z] [2023-05-22T18:16:13.274Z] Login Succeeded [2023-05-22T18:16:13.274Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T18:16:13.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T18:16:13.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T18:16:13.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T18:16:13.586Z] ========================================================= [2023-05-22T18:16:13.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-22T18:16:13.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:16:14.065Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-22T18:16:14.065Z] Sending build context to Docker daemon 11.18MB [2023-05-22T18:16:14.065Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T18:16:14.065Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-22T18:16:14.065Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-22T18:16:14.065Z] f56be85fc22e: Pulling fs layer [2023-05-22T18:16:14.065Z] 85791d961cd3: Pulling fs layer [2023-05-22T18:16:14.065Z] d694b5ae8c79: Pulling fs layer [2023-05-22T18:16:14.065Z] 9f32a84ed3da: Pulling fs layer [2023-05-22T18:16:14.065Z] 4d19c01a9841: Pulling fs layer [2023-05-22T18:16:14.065Z] 9325e15d5711: Pulling fs layer [2023-05-22T18:16:14.065Z] 556b6ee489ea: Pulling fs layer [2023-05-22T18:16:14.065Z] c5a4b2cf53e6: Pulling fs layer [2023-05-22T18:16:14.065Z] 9f32a84ed3da: Waiting [2023-05-22T18:16:14.065Z] 4d19c01a9841: Waiting [2023-05-22T18:16:14.065Z] 9325e15d5711: Waiting [2023-05-22T18:16:14.065Z] 556b6ee489ea: Waiting [2023-05-22T18:16:14.065Z] c5a4b2cf53e6: Waiting [2023-05-22T18:16:14.326Z] 85791d961cd3: Download complete [2023-05-22T18:16:14.326Z] 9f32a84ed3da: Verifying Checksum [2023-05-22T18:16:14.326Z] 9f32a84ed3da: Download complete [2023-05-22T18:16:14.326Z] 4d19c01a9841: Verifying Checksum [2023-05-22T18:16:14.326Z] 4d19c01a9841: Download complete [2023-05-22T18:16:14.326Z] f56be85fc22e: Verifying Checksum [2023-05-22T18:16:14.326Z] f56be85fc22e: Download complete [2023-05-22T18:16:14.326Z] 9325e15d5711: Verifying Checksum [2023-05-22T18:16:14.326Z] 9325e15d5711: Download complete [2023-05-22T18:16:14.326Z] f56be85fc22e: Pull complete [2023-05-22T18:16:14.587Z] 85791d961cd3: Pull complete [2023-05-22T18:16:14.847Z] d694b5ae8c79: Verifying Checksum [2023-05-22T18:16:14.847Z] d694b5ae8c79: Download complete [2023-05-22T18:16:14.847Z] c5a4b2cf53e6: Verifying Checksum [2023-05-22T18:16:14.847Z] c5a4b2cf53e6: Download complete [2023-05-22T18:16:15.105Z] 556b6ee489ea: Verifying Checksum [2023-05-22T18:16:15.105Z] 556b6ee489ea: Download complete [2023-05-22T18:16:18.390Z] d694b5ae8c79: Pull complete [2023-05-22T18:16:18.390Z] 9f32a84ed3da: Pull complete [2023-05-22T18:16:18.390Z] 4d19c01a9841: Pull complete [2023-05-22T18:16:18.390Z] 9325e15d5711: Pull complete [2023-05-22T18:16:20.920Z] 556b6ee489ea: Pull complete [2023-05-22T18:16:21.854Z] c5a4b2cf53e6: Pull complete [2023-05-22T18:16:21.854Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-22T18:16:21.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-22T18:16:21.854Z] ---> c4be618373d6 [2023-05-22T18:16:21.854Z] Step 3/10 : ARG MAKE=make build [2023-05-22T18:16:26.068Z] ---> Running in 161b15abf04d [2023-05-22T18:16:26.068Z] Removing intermediate container 161b15abf04d [2023-05-22T18:16:26.068Z] ---> 66be784a8f15 [2023-05-22T18:16:26.068Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-22T18:16:26.068Z] ---> Running in 977032b883b5 [2023-05-22T18:16:26.068Z] Removing intermediate container 977032b883b5 [2023-05-22T18:16:26.068Z] ---> 0f7ce9664f50 [2023-05-22T18:16:26.068Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-22T18:16:26.068Z] ---> Running in b02b2f49b692 [2023-05-22T18:16:26.068Z] Removing intermediate container b02b2f49b692 [2023-05-22T18:16:26.068Z] ---> 4ca33e183b71 [2023-05-22T18:16:26.068Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-22T18:16:26.068Z] ---> Running in 148e5e860f75 [2023-05-22T18:16:26.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T18:16:26.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T18:16:26.584Z] OK: 265 MiB in 53 packages [2023-05-22T18:16:27.154Z] Removing intermediate container 148e5e860f75 [2023-05-22T18:16:27.154Z] ---> 01eba702c7ce [2023-05-22T18:16:27.154Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-22T18:16:27.154Z] ---> 054e232a1340 [2023-05-22T18:16:27.154Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T18:16:27.155Z] ---> Running in f6c3248a3ed9 [2023-05-22T18:16:27.188Z] Still waiting to schedule task [2023-05-22T18:16:27.189Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16340’ [2023-05-22T18:17:13.851Z] Removing intermediate container f6c3248a3ed9 [2023-05-22T18:17:13.851Z] ---> 900c941814ec [2023-05-22T18:17:13.851Z] Step 9/10 : COPY . . [2023-05-22T18:17:13.851Z] ---> 19fee4aa3d77 [2023-05-22T18:17:13.851Z] Step 10/10 : RUN ${MAKE} [2023-05-22T18:17:13.851Z] ---> Running in 6914db659efc [2023-05-22T18:17:13.851Z] noop [2023-05-22T18:17:13.851Z] Removing intermediate container 6914db659efc [2023-05-22T18:17:13.851Z] ---> 64a535bc52cf [2023-05-22T18:17:13.851Z] Successfully built 64a535bc52cf [2023-05-22T18:17:13.851Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:17:14.304Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T18:17:14.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:17:14.459Z] prd-ubuntu20.04-docker-8c-8g-16339 does not seem to be running inside a container [2023-05-22T18:17:14.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1461 -v /w/workspace/gexfoundry_device-sdk-go_PR-1461:/w/workspace/gexfoundry_device-sdk-go_PR-1461:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-22T18:17:14.809Z] $ docker top c91acf95132e8d2853eac64690a0e42183bb56f172190434992cb7e72d86d73f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T18:17:15.204Z] + go version [2023-05-22T18:17:15.204Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-22T18:17:15.243Z] $ docker stop --time=1 c91acf95132e8d2853eac64690a0e42183bb56f172190434992cb7e72d86d73f [2023-05-22T18:17:16.510Z] $ docker rm -f --volumes c91acf95132e8d2853eac64690a0e42183bb56f172190434992cb7e72d86d73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:17:17.217Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T18:17:17.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:17:17.380Z] prd-ubuntu20.04-docker-8c-8g-16339 does not seem to be running inside a container [2023-05-22T18:17:17.414Z] $ 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-1461 -v /w/workspace/gexfoundry_device-sdk-go_PR-1461:/w/workspace/gexfoundry_device-sdk-go_PR-1461:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-22T18:17:17.996Z] $ docker top 5c1efaaa96212ad6f0bfe976d6371942ce13c2925567ac0c064d41ce1adc4960 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T18:17:18.398Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1461 [Pipeline] fileExists [Pipeline] sh [2023-05-22T18:17:18.757Z] + make test [2023-05-22T18:17:18.757Z] go test -race -coverprofile=coverage.out ./... [2023-05-22T18:17:25.322Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-22T18:17:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-22T18:17:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-22T18:17:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-22T18:17:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-22T18:17:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-22T18:17:37.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.042s coverage: 27.6% of statements [2023-05-22T18:17:37.772Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 80.2% of statements [2023-05-22T18:17:37.772Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-22T18:17:37.772Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-22T18:17:37.772Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-05-22T18:17:38.338Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-22T18:17:38.338Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.5% of statements [2023-05-22T18:17:38.597Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-22T18:17:38.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-22T18:17:38.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-22T18:17:39.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-22T18:17:41.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.3% of statements [2023-05-22T18:17:41.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 68.5% of statements [2023-05-22T18:17:41.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-05-22T18:17:41.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.7% of statements [2023-05-22T18:18:03.400Z] GO111MODULE=on go vet ./... [2023-05-22T18:18:03.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T18:18:03.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T18:18:03.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T18:18:03.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T18:18:03.474Z] $ docker stop --time=1 5c1efaaa96212ad6f0bfe976d6371942ce13c2925567ac0c064d41ce1adc4960 [2023-05-22T18:18:07.342Z] $ docker rm -f --volumes 5c1efaaa96212ad6f0bfe976d6371942ce13c2925567ac0c064d41ce1adc4960 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T18:18:07.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T18:18:07.985Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-22T18:18:08.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T18:18:08.959Z] + ls -al . [2023-05-22T18:18:08.959Z] total 272 [2023-05-22T18:18:08.959Z] drwxrwxr-x 11 jenkins jenkins 4096 May 22 18:17 . [2023-05-22T18:18:08.959Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:15 .. [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 140 May 22 18:15 .dockerignore [2023-05-22T18:18:08.959Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 18:16 .git [2023-05-22T18:18:08.959Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:15 .github [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 137 May 22 18:15 .gitignore [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 42 May 22 18:15 .golangci.yml [2023-05-22T18:18:08.959Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 18:16 .semver [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 22 18:15 CHANGELOG.md [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 677 May 22 18:15 GOVERNANCE.md [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 885 May 22 18:15 Jenkinsfile [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 22 18:15 LICENSE [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 22 18:15 Makefile [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 619 May 22 18:15 OWNERS.md [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 22 18:15 README.md [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 18:16 VERSION [2023-05-22T18:18:08.959Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:15 bin [2023-05-22T18:18:08.959Z] -rw-r--r-- 1 jenkins jenkins 106152 May 22 18:17 coverage.out [2023-05-22T18:18:08.959Z] drwxrwxr-x 5 jenkins jenkins 4096 May 22 18:15 example [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 22 18:15 go.mod [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 22 18:15 go.sum [2023-05-22T18:18:08.959Z] drwxrwxr-x 12 jenkins jenkins 4096 May 22 18:15 internal [2023-05-22T18:18:08.959Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 18:15 openapi [2023-05-22T18:18:08.959Z] drwxrwxr-x 6 jenkins jenkins 4096 May 22 18:15 pkg [2023-05-22T18:18:08.959Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:15 snap [2023-05-22T18:18:08.959Z] -rw-rw-r-- 1 jenkins jenkins 222 May 22 18:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:18:09.360Z] + 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=6aa97f4be62e1d67ef839811e8c827dcb59f61b2 --label arch=amd64 --label version=0.0.0 . [2023-05-22T18:18:09.360Z] Sending build context to Docker daemon 11.28MB [2023-05-22T18:18:09.360Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T18:18:09.360Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-22T18:18:09.360Z] ---> 64a535bc52cf [2023-05-22T18:18:09.360Z] Step 3/23 : ARG MAKE=make build [2023-05-22T18:18:09.620Z] ---> Running in 41dadad050db [2023-05-22T18:18:09.620Z] Removing intermediate container 41dadad050db [2023-05-22T18:18:09.620Z] ---> 8ed2600e564b [2023-05-22T18:18:09.620Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-22T18:18:09.620Z] ---> Running in 5032fde5e7ce [2023-05-22T18:18:09.879Z] Removing intermediate container 5032fde5e7ce [2023-05-22T18:18:09.879Z] ---> 581f9286304c [2023-05-22T18:18:09.879Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-22T18:18:09.879Z] ---> Running in 9c65a9a41c3e [2023-05-22T18:18:09.879Z] Removing intermediate container 9c65a9a41c3e [2023-05-22T18:18:09.879Z] ---> 7fa15100554b [2023-05-22T18:18:09.879Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-22T18:18:09.879Z] ---> Running in 7926cda99a5d [2023-05-22T18:18:10.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T18:18:10.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T18:18:10.658Z] OK: 265 MiB in 53 packages [2023-05-22T18:18:10.917Z] Removing intermediate container 7926cda99a5d [2023-05-22T18:18:10.917Z] ---> ef2243cbce13 [2023-05-22T18:18:10.917Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-22T18:18:10.917Z] ---> 87bdb32de93c [2023-05-22T18:18:10.917Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T18:18:10.917Z] ---> Running in edfa66820ccf [2023-05-22T18:18:11.852Z] Removing intermediate container edfa66820ccf [2023-05-22T18:18:11.852Z] ---> 6bf63e0c6082 [2023-05-22T18:18:11.852Z] Step 9/23 : COPY . . [2023-05-22T18:18:12.427Z] ---> c8c1c1419d1c [2023-05-22T18:18:12.427Z] Step 10/23 : RUN ${MAKE} [2023-05-22T18:18:12.427Z] ---> Running in cedf0507e446 [2023-05-22T18:18:12.686Z] 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-05-22T18:18:30.765Z] Removing intermediate container cedf0507e446 [2023-05-22T18:18:30.765Z] ---> d95a0897bfbb [2023-05-22T18:18:30.765Z] Step 11/23 : FROM alpine:3.17 [2023-05-22T18:18:30.765Z] 3.17: Pulling from library/alpine [2023-05-22T18:18:30.765Z] f56be85fc22e: Already exists [2023-05-22T18:18:30.765Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T18:18:30.765Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T18:18:30.765Z] ---> 9ed4aefc74f6 [2023-05-22T18:18:30.765Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-22T18:18:30.765Z] ---> Running in 94af92eb5c93 [2023-05-22T18:18:30.765Z] Removing intermediate container 94af92eb5c93 [2023-05-22T18:18:30.765Z] ---> 5987877752cc [2023-05-22T18:18:30.765Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-22T18:18:30.765Z] ---> Running in 60bc1bb8d8ba [2023-05-22T18:18:30.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T18:18:31.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T18:18:31.286Z] OK: 7 MiB in 15 packages [2023-05-22T18:18:31.545Z] Removing intermediate container 60bc1bb8d8ba [2023-05-22T18:18:31.545Z] ---> 7576b6791cd8 [2023-05-22T18:18:31.545Z] Step 14/23 : WORKDIR / [2023-05-22T18:18:31.545Z] ---> Running in b8827cd71f14 [2023-05-22T18:18:31.545Z] Removing intermediate container b8827cd71f14 [2023-05-22T18:18:31.545Z] ---> fd2d3955bbec [2023-05-22T18:18:31.545Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-22T18:18:31.803Z] ---> 25dfead7a78f [2023-05-22T18:18:31.803Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-22T18:18:32.750Z] ---> 605d7c14d806 [2023-05-22T18:18:32.750Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-22T18:18:32.750Z] ---> 02f916e4779f [2023-05-22T18:18:32.750Z] Step 18/23 : EXPOSE 59999 [2023-05-22T18:18:32.750Z] ---> Running in 716850dbccdc [2023-05-22T18:18:33.010Z] Removing intermediate container 716850dbccdc [2023-05-22T18:18:33.010Z] ---> 65f207646f86 [2023-05-22T18:18:33.010Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-22T18:18:33.010Z] ---> Running in 4924cf166631 [2023-05-22T18:18:33.010Z] Removing intermediate container 4924cf166631 [2023-05-22T18:18:33.010Z] ---> 38c173fc58ec [2023-05-22T18:18:33.010Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-22T18:18:33.010Z] ---> Running in e412cb68ccfa [2023-05-22T18:18:33.010Z] Removing intermediate container e412cb68ccfa [2023-05-22T18:18:33.010Z] ---> 69701b30718a [2023-05-22T18:18:33.010Z] Step 21/23 : LABEL arch=amd64 [2023-05-22T18:18:33.010Z] ---> Running in c611a1c2003b [2023-05-22T18:18:33.010Z] Removing intermediate container c611a1c2003b [2023-05-22T18:18:33.010Z] ---> f880fa67cc47 [2023-05-22T18:18:33.010Z] Step 22/23 : LABEL git_sha=6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [2023-05-22T18:18:33.010Z] ---> Running in b7ad9cd3010d [2023-05-22T18:18:33.268Z] Removing intermediate container b7ad9cd3010d [2023-05-22T18:18:33.269Z] ---> 31d1479e1a79 [2023-05-22T18:18:33.269Z] Step 23/23 : LABEL version=0.0.0 [2023-05-22T18:18:33.269Z] ---> Running in c988705d34fd [2023-05-22T18:18:33.269Z] Removing intermediate container c988705d34fd [2023-05-22T18:18:33.269Z] ---> 5da40b47db4f [2023-05-22T18:18:33.269Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T18:18:33.269Z] Successfully built 5da40b47db4f [2023-05-22T18:18:33.269Z] 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-05-22T18:18:34.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T18:18:34.237Z] [2023-05-22T18:18:34.237Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:18:34.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T18:18:34.614Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-22T18:18:34.614Z] 5eb5b503b376: Pulling fs layer [2023-05-22T18:18:34.614Z] 5c69ac0246d0: Pulling fs layer [2023-05-22T18:18:34.614Z] ec43610c2a17: Pulling fs layer [2023-05-22T18:18:34.614Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-22T18:18:34.614Z] 33b1e0a273af: Pulling fs layer [2023-05-22T18:18:34.614Z] 5d3b04190fa2: Pulling fs layer [2023-05-22T18:18:34.614Z] 2f39f015ded8: Pulling fs layer [2023-05-22T18:18:34.614Z] 3a2ae6a8a46f: Waiting [2023-05-22T18:18:34.614Z] 33b1e0a273af: Waiting [2023-05-22T18:18:34.614Z] 5d3b04190fa2: Waiting [2023-05-22T18:18:34.614Z] 2f39f015ded8: Waiting [2023-05-22T18:18:34.614Z] 5c69ac0246d0: Verifying Checksum [2023-05-22T18:18:34.614Z] 5c69ac0246d0: Download complete [2023-05-22T18:18:34.614Z] 3a2ae6a8a46f: Download complete [2023-05-22T18:18:34.614Z] 33b1e0a273af: Verifying Checksum [2023-05-22T18:18:34.614Z] 33b1e0a273af: Download complete [2023-05-22T18:18:34.614Z] ec43610c2a17: Verifying Checksum [2023-05-22T18:18:34.614Z] ec43610c2a17: Download complete [2023-05-22T18:18:34.614Z] 5d3b04190fa2: Verifying Checksum [2023-05-22T18:18:34.614Z] 5d3b04190fa2: Download complete [2023-05-22T18:18:34.872Z] 5eb5b503b376: Download complete [2023-05-22T18:18:35.437Z] 2f39f015ded8: Verifying Checksum [2023-05-22T18:18:35.437Z] 2f39f015ded8: Download complete [2023-05-22T18:18:36.004Z] 5eb5b503b376: Pull complete [2023-05-22T18:18:36.004Z] 5c69ac0246d0: Pull complete [2023-05-22T18:18:36.573Z] ec43610c2a17: Pull complete [2023-05-22T18:18:36.573Z] 3a2ae6a8a46f: Pull complete [2023-05-22T18:18:36.831Z] 33b1e0a273af: Pull complete [2023-05-22T18:18:36.831Z] 5d3b04190fa2: Pull complete [2023-05-22T18:18:41.009Z] 2f39f015ded8: Pull complete [2023-05-22T18:18:41.009Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-22T18:18:41.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T18:18:41.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:18:41.252Z] prd-ubuntu20.04-docker-8c-8g-16339 does not seem to be running inside a container [2023-05-22T18:18:41.280Z] $ 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-1461 -v /w/workspace/gexfoundry_device-sdk-go_PR-1461:/w/workspace/gexfoundry_device-sdk-go_PR-1461:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T18:18:45.469Z] $ docker top 525a2ced1c2b6b82976827dbc36ff7b54d5d3a7ad376aafd98ece5c052725cbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:18:45.910Z] ---> job-cost.sh [2023-05-22T18:18:45.911Z] lf-activate-venv: SKIPPING [2023-05-22T18:18:45.911Z] INFO: No Stack... [2023-05-22T18:18:46.480Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T18:18:46.740Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T18:18:47.053Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives/cost.csv [2023-05-22T18:18:47.053Z] + cut -d, -f6 [Pipeline] lock [2023-05-22T18:18:47.092Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] [2023-05-22T18:18:47.097Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] did not exist. Created. [2023-05-22T18:18:47.097Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T18:18:47.561Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-22T18:18:47.616Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T18:18:47.638Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T18:18:47.721Z] $ docker stop --time=1 525a2ced1c2b6b82976827dbc36ff7b54d5d3a7ad376aafd98ece5c052725cbb [2023-05-22T18:18:48.879Z] $ docker rm -f --volumes 525a2ced1c2b6b82976827dbc36ff7b54d5d3a7ad376aafd98ece5c052725cbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-22T18:19:00.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16342 in /w/workspace/gexfoundry_device-sdk-go_PR-1461 [Pipeline] { [Pipeline] ws [2023-05-22T18:19:00.373Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-22T18:19:00.474Z] The recommended git tool is: git [2023-05-22T18:19:06.619Z] using credential edgex-jenkins-ssh [2023-05-22T18:19:06.639Z] Cloning the remote Git repository [2023-05-22T18:19:06.707Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-22T18:19:06.842Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-22T18:19:07.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-22T18:19:07.059Z] > git --version # timeout=10 [2023-05-22T18:19:07.084Z] > git --version # 'git version 2.25.1' [2023-05-22T18:19:07.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T18:19:07.276Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T18:19:08.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-22T18:19:09.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T18:19:10.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-22T18:19:10.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-22T18:19:10.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T18:19:10.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1461/head:refs/remotes/origin/PR-1461 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-22T18:19:10.728Z] Merging remotes/origin/main commit a7496c2eac89da67a3eb73648901a7f4e26950f7 into PR head commit 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [2023-05-22T18:19:11.088Z] Merge succeeded, producing 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [2023-05-22T18:19:11.089Z] Checking out Revision 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 (PR-1461) [2023-05-22T18:19:11.726Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-22T18:19:11.789Z] > git --version # timeout=10 [2023-05-22T18:19:11.802Z] > git --version # 'git version 2.25.1' [2023-05-22T18:19:11.824Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T18:19:10.749Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T18:19:10.842Z] > git checkout -f 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 # timeout=10 [2023-05-22T18:19:10.962Z] > git remote # timeout=10 [2023-05-22T18:19:10.987Z] > git config --get remote.origin.url # timeout=10 [2023-05-22T18:19:11.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T18:19:11.037Z] > git merge a7496c2eac89da67a3eb73648901a7f4e26950f7 # timeout=10 [2023-05-22T18:19:11.068Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-22T18:19:11.094Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T18:19:11.112Z] > git checkout -f 6aa97f4be62e1d67ef839811e8c827dcb59f61b2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T18:19:12.949Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-22T18:19:12.950Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T18:19:12.950Z] Dload Upload Total Spent Left Speed [2023-05-22T18:19:12.950Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-05-22T18:19:13.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-22T18:19:13.964Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-22T18:19:13.964Z] + sudo tee /etc/docker/daemon.new [2023-05-22T18:19:13.964Z] { [2023-05-22T18:19:13.964Z] "registry-mirrors": [ [2023-05-22T18:19:13.964Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-22T18:19:13.964Z] ], [2023-05-22T18:19:13.964Z] "bip": "10.250.0.254/24", [2023-05-22T18:19:13.964Z] "hosts": [ [2023-05-22T18:19:13.964Z] "tcp://0.0.0.0:5555", [2023-05-22T18:19:13.964Z] "unix:///var/run/docker.sock" [2023-05-22T18:19:13.964Z] ], [2023-05-22T18:19:13.964Z] "mtu": 1458, [2023-05-22T18:19:13.964Z] "selinux-enabled": true, [2023-05-22T18:19:13.964Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-22T18:19:13.964Z] } [Pipeline] sh [2023-05-22T18:19:14.321Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-22T18:19:14.675Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T18:19:33.052Z] provisioning config files... [2023-05-22T18:19:33.083Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4913764586650818568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:19:33.495Z] ---> docker-login.sh [2023-05-22T18:19:33.495Z] nexus3.edgexfoundry.org:10001 [2023-05-22T18:19:34.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:19:34.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:19:34.359Z] Configure a credential helper to remove this warning. See [2023-05-22T18:19:34.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:19:34.359Z] [2023-05-22T18:19:34.359Z] Login Succeeded [2023-05-22T18:19:34.359Z] nexus3.edgexfoundry.org:10002 [2023-05-22T18:19:34.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:19:34.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:19:34.631Z] Configure a credential helper to remove this warning. See [2023-05-22T18:19:34.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:19:34.631Z] [2023-05-22T18:19:34.631Z] Login Succeeded [2023-05-22T18:19:34.631Z] nexus3.edgexfoundry.org:10003 [2023-05-22T18:19:34.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:19:34.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:19:34.904Z] Configure a credential helper to remove this warning. See [2023-05-22T18:19:34.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:19:34.904Z] [2023-05-22T18:19:34.904Z] Login Succeeded [2023-05-22T18:19:34.904Z] nexus3.edgexfoundry.org:10004 [2023-05-22T18:19:35.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:19:35.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:19:35.448Z] Configure a credential helper to remove this warning. See [2023-05-22T18:19:35.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:19:35.448Z] [2023-05-22T18:19:35.449Z] Login Succeeded [2023-05-22T18:19:35.449Z] docker.io [2023-05-22T18:19:35.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T18:19:35.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T18:19:35.722Z] Configure a credential helper to remove this warning. See [2023-05-22T18:19:35.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T18:19:35.722Z] [2023-05-22T18:19:35.722Z] Login Succeeded [2023-05-22T18:19:35.722Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T18:19:35.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T18:19:36.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T18:19:36.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T18:19:36.254Z] ========================================================= [2023-05-22T18:19:36.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-22T18:19:36.254Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:19:36.778Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-22T18:19:37.046Z] Sending build context to Docker daemon 6.008MB [2023-05-22T18:19:37.315Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T18:19:37.315Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-22T18:19:37.315Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-22T18:19:37.315Z] c41833b44d91: Pulling fs layer [2023-05-22T18:19:37.315Z] ed15518f5707: Pulling fs layer [2023-05-22T18:19:37.315Z] feae8fd75edb: Pulling fs layer [2023-05-22T18:19:37.315Z] 242c74f7c9fa: Pulling fs layer [2023-05-22T18:19:37.315Z] 3cdef696dda3: Pulling fs layer [2023-05-22T18:19:37.315Z] 2ced38df9373: Pulling fs layer [2023-05-22T18:19:37.315Z] 58f1dce35555: Pulling fs layer [2023-05-22T18:19:37.315Z] 3cdef696dda3: Waiting [2023-05-22T18:19:37.315Z] 242c74f7c9fa: Waiting [2023-05-22T18:19:37.315Z] 2ced38df9373: Waiting [2023-05-22T18:19:37.315Z] 58f1dce35555: Waiting [2023-05-22T18:19:37.315Z] ed15518f5707: Verifying Checksum [2023-05-22T18:19:37.315Z] ed15518f5707: Download complete [2023-05-22T18:19:37.315Z] 242c74f7c9fa: Verifying Checksum [2023-05-22T18:19:37.315Z] 242c74f7c9fa: Download complete [2023-05-22T18:19:37.586Z] 3cdef696dda3: Download complete [2023-05-22T18:19:37.587Z] c41833b44d91: Verifying Checksum [2023-05-22T18:19:37.587Z] c41833b44d91: Download complete [2023-05-22T18:19:38.577Z] c41833b44d91: Pull complete [2023-05-22T18:19:38.847Z] 58f1dce35555: Verifying Checksum [2023-05-22T18:19:38.847Z] 58f1dce35555: Download complete [2023-05-22T18:19:39.120Z] ed15518f5707: Pull complete [2023-05-22T18:19:39.711Z] feae8fd75edb: Download complete [2023-05-22T18:19:39.984Z] 2ced38df9373: Verifying Checksum [2023-05-22T18:19:39.984Z] 2ced38df9373: Download complete [2023-05-22T18:19:50.100Z] feae8fd75edb: Pull complete [2023-05-22T18:19:50.373Z] 242c74f7c9fa: Pull complete [2023-05-22T18:19:50.373Z] 3cdef696dda3: Pull complete [2023-05-22T18:19:58.735Z] 2ced38df9373: Pull complete [2023-05-22T18:20:00.700Z] 58f1dce35555: Pull complete [2023-05-22T18:20:00.700Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-22T18:20:00.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-22T18:20:00.700Z] ---> fadd8f120f05 [2023-05-22T18:20:00.700Z] Step 3/10 : ARG MAKE=make build [2023-05-22T18:20:02.666Z] ---> Running in 03d0bf3d94e1 [2023-05-22T18:20:02.937Z] Removing intermediate container 03d0bf3d94e1 [2023-05-22T18:20:02.937Z] ---> baddc696868b [2023-05-22T18:20:02.937Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-22T18:20:03.208Z] ---> Running in b847c0be98d5 [2023-05-22T18:20:03.477Z] Removing intermediate container b847c0be98d5 [2023-05-22T18:20:03.477Z] ---> b20419bd6219 [2023-05-22T18:20:03.477Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-22T18:20:03.744Z] ---> Running in c9ec7026a67c [2023-05-22T18:20:04.023Z] Removing intermediate container c9ec7026a67c [2023-05-22T18:20:04.023Z] ---> 2e7b5b940da7 [2023-05-22T18:20:04.023Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-22T18:20:04.023Z] ---> Running in 301a26556883 [2023-05-22T18:20:05.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T18:20:06.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T18:20:07.002Z] OK: 263 MiB in 53 packages [2023-05-22T18:20:09.599Z] Removing intermediate container 301a26556883 [2023-05-22T18:20:09.599Z] ---> d8b12025c29b [2023-05-22T18:20:09.599Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-22T18:20:09.868Z] ---> f57726362749 [2023-05-22T18:20:09.868Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T18:20:09.868Z] ---> Running in 0f93a9965bb7 [2023-05-22T18:21:17.795Z] Removing intermediate container 0f93a9965bb7 [2023-05-22T18:21:17.795Z] ---> 75e48e9bb8bb [2023-05-22T18:21:17.795Z] Step 9/10 : COPY . . [2023-05-22T18:21:17.795Z] ---> 0a2b41a4b25d [2023-05-22T18:21:17.795Z] Step 10/10 : RUN ${MAKE} [2023-05-22T18:21:17.795Z] ---> Running in b419303a4795 [2023-05-22T18:21:17.795Z] noop [2023-05-22T18:21:17.795Z] Removing intermediate container b419303a4795 [2023-05-22T18:21:17.795Z] ---> a0ab28b1787f [2023-05-22T18:21:17.795Z] Successfully built a0ab28b1787f [2023-05-22T18:21:17.795Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:21:18.284Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T18:21:18.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:21:18.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container [2023-05-22T18:21:18.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-22T18:21:20.394Z] $ docker top 5c6ebcf6224d78d7faebba467284a7f0c273482a5a4b5f2f4040550a6499a2be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T18:21:21.303Z] + go version [2023-05-22T18:21:21.304Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-22T18:21:21.342Z] $ docker stop --time=1 5c6ebcf6224d78d7faebba467284a7f0c273482a5a4b5f2f4040550a6499a2be [2023-05-22T18:21:22.966Z] $ docker rm -f --volumes 5c6ebcf6224d78d7faebba467284a7f0c273482a5a4b5f2f4040550a6499a2be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:21:23.831Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T18:21:23.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:21:24.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container [2023-05-22T18:21:24.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-22T18:21:25.342Z] $ docker top 326d15781da6421a977851ba28cf05bb992f27fd9aaf4357c6848a79140743d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T18:21:26.228Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-22T18:21:26.947Z] + make test [2023-05-22T18:21:26.948Z] go test -race -coverprofile=coverage.out ./... [2023-05-22T18:22:13.826Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-22T18:24:50.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-22T18:24:50.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-22T18:24:50.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-22T18:24:50.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-22T18:24:50.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-22T18:24:50.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements [2023-05-22T18:24:51.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.284s coverage: 80.2% of statements [2023-05-22T18:25:06.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-22T18:25:06.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-22T18:25:06.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.365s coverage: 86.0% of statements [2023-05-22T18:25:11.916Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-22T18:25:12.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.471s coverage: 77.5% of statements [2023-05-22T18:25:17.549Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-22T18:25:18.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-22T18:25:18.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-22T18:25:19.940Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.290s coverage: 14.3% of statements [2023-05-22T18:25:19.940Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.475s coverage: 68.5% of statements [2023-05-22T18:25:23.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.485s coverage: 89.2% of statements [2023-05-22T18:25:24.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-22T18:25:24.987Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.281s coverage: 5.7% of statements [2023-05-22T18:25:25.954Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-22T18:25:25.954Z] GO111MODULE=on go vet ./... [2023-05-22T18:28:02.739Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T18:28:02.739Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T18:28:02.739Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T18:28:03.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T18:28:03.397Z] $ docker stop --time=1 326d15781da6421a977851ba28cf05bb992f27fd9aaf4357c6848a79140743d3 [2023-05-22T18:28:05.359Z] $ docker rm -f --volumes 326d15781da6421a977851ba28cf05bb992f27fd9aaf4357c6848a79140743d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T18:28:07.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T18:28:07.097Z] Warning: overwriting stash ‘coverage-report’ [2023-05-22T18:28:07.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T18:28:08.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T18:28:08.695Z] + ls -al . [2023-05-22T18:28:08.695Z] total 268 [2023-05-22T18:28:08.695Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 18:21 . [2023-05-22T18:28:08.695Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:19 .. [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 140 May 22 18:19 .dockerignore [2023-05-22T18:28:08.695Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 18:19 .git [2023-05-22T18:28:08.695Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:19 .github [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 137 May 22 18:19 .gitignore [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 42 May 22 18:19 .golangci.yml [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 22 18:19 CHANGELOG.md [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 677 May 22 18:19 GOVERNANCE.md [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 885 May 22 18:19 Jenkinsfile [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 22 18:19 LICENSE [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 22 18:19 Makefile [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 619 May 22 18:19 OWNERS.md [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 22 18:19 README.md [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 18:16 VERSION [2023-05-22T18:28:08.695Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:19 bin [2023-05-22T18:28:08.695Z] -rw-r--r-- 1 jenkins jenkins 106150 May 22 18:25 coverage.out [2023-05-22T18:28:08.695Z] drwxrwxr-x 5 jenkins jenkins 4096 May 22 18:19 example [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 22 18:19 go.mod [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 22 18:19 go.sum [2023-05-22T18:28:08.695Z] drwxrwxr-x 12 jenkins jenkins 4096 May 22 18:19 internal [2023-05-22T18:28:08.695Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 18:19 openapi [2023-05-22T18:28:08.695Z] drwxrwxr-x 6 jenkins jenkins 4096 May 22 18:19 pkg [2023-05-22T18:28:08.695Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:19 snap [2023-05-22T18:28:08.695Z] -rw-rw-r-- 1 jenkins jenkins 222 May 22 18:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:28:09.126Z] + 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=6aa97f4be62e1d67ef839811e8c827dcb59f61b2 --label arch=arm64 --label version=0.0.0 . [2023-05-22T18:28:09.711Z] Sending build context to Docker daemon 6.115MB [2023-05-22T18:28:09.711Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T18:28:09.711Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-22T18:28:09.711Z] ---> a0ab28b1787f [2023-05-22T18:28:09.711Z] Step 3/23 : ARG MAKE=make build [2023-05-22T18:28:09.711Z] ---> Running in 3ee895c94dc9 [2023-05-22T18:28:09.979Z] Removing intermediate container 3ee895c94dc9 [2023-05-22T18:28:09.979Z] ---> f181b29187aa [2023-05-22T18:28:09.979Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-22T18:28:10.248Z] ---> Running in a3be2ff3464a [2023-05-22T18:28:10.516Z] Removing intermediate container a3be2ff3464a [2023-05-22T18:28:10.516Z] ---> bf04c117debb [2023-05-22T18:28:10.516Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-22T18:28:10.516Z] ---> Running in f36e281afd1a [2023-05-22T18:28:10.786Z] Removing intermediate container f36e281afd1a [2023-05-22T18:28:10.786Z] ---> a03ab58c2e61 [2023-05-22T18:28:10.786Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-22T18:28:10.786Z] ---> Running in 76251d4df68d [2023-05-22T18:28:11.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T18:28:12.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T18:28:13.675Z] OK: 263 MiB in 53 packages [2023-05-22T18:28:14.655Z] Removing intermediate container 76251d4df68d [2023-05-22T18:28:14.655Z] ---> a8592b503942 [2023-05-22T18:28:14.655Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-22T18:28:15.238Z] ---> 85dbb447fefc [2023-05-22T18:28:15.238Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T18:28:15.238Z] ---> Running in f917471da54e [2023-05-22T18:28:17.821Z] Removing intermediate container f917471da54e [2023-05-22T18:28:17.821Z] ---> 34b2181653da [2023-05-22T18:28:17.821Z] Step 9/23 : COPY . . [2023-05-22T18:28:23.172Z] ---> 78473a9eca27 [2023-05-22T18:28:23.172Z] Step 10/23 : RUN ${MAKE} [2023-05-22T18:28:23.172Z] ---> Running in aaf281aefc35 [2023-05-22T18:28:23.172Z] 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-05-22T18:30:45.002Z] Removing intermediate container aaf281aefc35 [2023-05-22T18:30:45.002Z] ---> 21665c419686 [2023-05-22T18:30:45.002Z] Step 11/23 : FROM alpine:3.17 [2023-05-22T18:30:45.002Z] 3.17: Pulling from library/alpine [2023-05-22T18:30:45.002Z] c41833b44d91: Already exists [2023-05-22T18:30:45.002Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T18:30:45.002Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T18:30:45.002Z] ---> 51e60588ff2c [2023-05-22T18:30:45.002Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-22T18:30:45.002Z] ---> Running in 541a51d05caf [2023-05-22T18:30:45.002Z] Removing intermediate container 541a51d05caf [2023-05-22T18:30:45.002Z] ---> 8b7bc9bf2e43 [2023-05-22T18:30:45.002Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-22T18:30:45.002Z] ---> Running in 46fdb0164341 [2023-05-22T18:30:45.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T18:30:45.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T18:30:45.002Z] OK: 7 MiB in 15 packages [2023-05-22T18:30:45.002Z] Removing intermediate container 46fdb0164341 [2023-05-22T18:30:45.002Z] ---> b0008fab4899 [2023-05-22T18:30:45.002Z] Step 14/23 : WORKDIR / [2023-05-22T18:30:45.002Z] ---> Running in 802077059e4e [2023-05-22T18:30:45.272Z] Removing intermediate container 802077059e4e [2023-05-22T18:30:45.272Z] ---> 92d0e45409dd [2023-05-22T18:30:45.272Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-22T18:30:45.869Z] ---> a83fba5fa9b5 [2023-05-22T18:30:45.869Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-22T18:30:47.318Z] ---> 40d7fdb88300 [2023-05-22T18:30:47.318Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-22T18:30:47.599Z] ---> 4b5a75885879 [2023-05-22T18:30:47.599Z] Step 18/23 : EXPOSE 59999 [2023-05-22T18:30:47.881Z] ---> Running in fd2cdc7efcc4 [2023-05-22T18:30:48.148Z] Removing intermediate container fd2cdc7efcc4 [2023-05-22T18:30:48.148Z] ---> 918f8cb24375 [2023-05-22T18:30:48.148Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-22T18:30:48.148Z] ---> Running in 5bdeb715b06d [2023-05-22T18:30:48.416Z] Removing intermediate container 5bdeb715b06d [2023-05-22T18:30:48.416Z] ---> 494e9a3d81b7 [2023-05-22T18:30:48.416Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-22T18:30:48.416Z] ---> Running in 7f3d2dad7fce [2023-05-22T18:30:48.683Z] Removing intermediate container 7f3d2dad7fce [2023-05-22T18:30:48.683Z] ---> 6dc37d918855 [2023-05-22T18:30:48.683Z] Step 21/23 : LABEL arch=arm64 [2023-05-22T18:30:48.952Z] ---> Running in 3d2a8483c391 [2023-05-22T18:30:49.220Z] Removing intermediate container 3d2a8483c391 [2023-05-22T18:30:49.220Z] ---> f42295b54fd4 [2023-05-22T18:30:49.220Z] Step 22/23 : LABEL git_sha=6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [2023-05-22T18:30:49.220Z] ---> Running in 5e44c092f54f [2023-05-22T18:30:49.488Z] Removing intermediate container 5e44c092f54f [2023-05-22T18:30:49.488Z] ---> 228a325eea78 [2023-05-22T18:30:49.488Z] Step 23/23 : LABEL version=0.0.0 [2023-05-22T18:30:49.488Z] ---> Running in af1fdbfc63a6 [2023-05-22T18:30:49.753Z] Removing intermediate container af1fdbfc63a6 [2023-05-22T18:30:49.753Z] ---> f6d13d486f86 [2023-05-22T18:30:49.754Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T18:30:50.018Z] Successfully built f6d13d486f86 [2023-05-22T18:30:50.018Z] 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-05-22T18:30:50.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T18:30:50.819Z] [2023-05-22T18:30:50.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:30:51.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T18:30:51.497Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-22T18:30:51.497Z] 8998bd30e6a1: Pulling fs layer [2023-05-22T18:30:51.497Z] 04944245beec: Pulling fs layer [2023-05-22T18:30:51.497Z] 699f458cf7ca: Pulling fs layer [2023-05-22T18:30:51.497Z] 765212b225bb: Pulling fs layer [2023-05-22T18:30:51.497Z] f23df028b6ca: Pulling fs layer [2023-05-22T18:30:51.497Z] d65c8cfc05b1: Pulling fs layer [2023-05-22T18:30:51.497Z] 2437ff75d9bd: Pulling fs layer [2023-05-22T18:30:51.497Z] 765212b225bb: Waiting [2023-05-22T18:30:51.497Z] f23df028b6ca: Waiting [2023-05-22T18:30:51.497Z] d65c8cfc05b1: Waiting [2023-05-22T18:30:51.497Z] 04944245beec: Verifying Checksum [2023-05-22T18:30:51.497Z] 04944245beec: Download complete [2023-05-22T18:30:51.497Z] 765212b225bb: Verifying Checksum [2023-05-22T18:30:51.497Z] 765212b225bb: Download complete [2023-05-22T18:30:51.497Z] f23df028b6ca: Verifying Checksum [2023-05-22T18:30:51.497Z] f23df028b6ca: Download complete [2023-05-22T18:30:51.497Z] d65c8cfc05b1: Verifying Checksum [2023-05-22T18:30:51.497Z] d65c8cfc05b1: Download complete [2023-05-22T18:30:51.777Z] 699f458cf7ca: Verifying Checksum [2023-05-22T18:30:51.777Z] 699f458cf7ca: Download complete [2023-05-22T18:30:52.048Z] 8998bd30e6a1: Verifying Checksum [2023-05-22T18:30:52.048Z] 8998bd30e6a1: Download complete [2023-05-22T18:30:54.637Z] 2437ff75d9bd: Download complete [2023-05-22T18:30:56.047Z] 8998bd30e6a1: Pull complete [2023-05-22T18:30:56.630Z] 04944245beec: Pull complete [2023-05-22T18:30:58.040Z] 699f458cf7ca: Pull complete [2023-05-22T18:30:58.040Z] 765212b225bb: Pull complete [2023-05-22T18:30:58.623Z] f23df028b6ca: Pull complete [2023-05-22T18:30:58.889Z] d65c8cfc05b1: Pull complete [2023-05-22T18:31:11.195Z] 2437ff75d9bd: Pull complete [2023-05-22T18:31:11.195Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-22T18:31:11.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T18:31:11.195Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:31:11.796Z] prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container [2023-05-22T18:31:11.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-22T18:31:15.094Z] $ docker top 2ef8b91b36f40b329eb37b7abd0b30006cde415e7a3bfe310d7ff32868cf8996 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:16.018Z] ---> job-cost.sh [2023-05-22T18:31:16.018Z] lf-activate-venv: SKIPPING [2023-05-22T18:31:16.018Z] INFO: No Stack... [2023-05-22T18:31:16.284Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-22T18:31:17.245Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T18:31:17.910Z] + cut+ -d, -f6 [2023-05-22T18:31:17.910Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-05-22T18:31:17.996Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] [2023-05-22T18:31:18.001Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] did not exist. Created. [2023-05-22T18:31:18.001Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T18:31:18.766Z] /w/workspace/device-sdk-go/1@tmp/durable-ba88fb56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-22T18:31:19.554Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-22T18:31:19.589Z] Warning: overwriting stash ‘stack-cost’ [2023-05-22T18:31:19.659Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T18:31:19.675Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1461-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T18:31:19.752Z] $ docker stop --time=1 2ef8b91b36f40b329eb37b7abd0b30006cde415e7a3bfe310d7ff32868cf8996 [2023-05-22T18:31:21.570Z] $ docker rm -f --volumes 2ef8b91b36f40b329eb37b7abd0b30006cde415e7a3bfe310d7ff32868cf8996 [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-05-22T18:31:22.574Z] provisioning config files... [2023-05-22T18:31:22.581Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/config1901084661370742761tmp [Pipeline] { [Pipeline] sh [2023-05-22T18:31:22.919Z] + set +x [2023-05-22T18:31:22.919Z] + curl -s https://codecov.io/bash [2023-05-22T18:31:22.919Z] + bash -s -- [2023-05-22T18:31:22.919Z] [2023-05-22T18:31:22.919Z] _____ _ [2023-05-22T18:31:22.919Z] / ____| | | [2023-05-22T18:31:22.919Z] | | ___ __| | ___ ___ _____ __ [2023-05-22T18:31:22.919Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-22T18:31:22.919Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-22T18:31:22.919Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-22T18:31:22.919Z] Bash-1.0.6 [2023-05-22T18:31:22.919Z] [2023-05-22T18:31:22.919Z] [2023-05-22T18:31:22.919Z] ==> git version 2.25.1 found [2023-05-22T18:31:22.919Z] ==> 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-05-22T18:31:22.919Z] Release-Date: 2020-01-08 [2023-05-22T18:31:22.919Z] 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-05-22T18:31:22.919Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-22T18:31:22.919Z] ==> Jenkins CI detected. [2023-05-22T18:31:22.919Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1461 [2023-05-22T18:31:22.919Z] project root: . [2023-05-22T18:31:22.919Z] --> token set from env [2023-05-22T18:31:22.919Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-22T18:31:22.919Z] ==> Running gcov in . (disable via -X gcov) [2023-05-22T18:31:22.919Z] ==> Python coveragepy not found [2023-05-22T18:31:22.919Z] ==> Searching for coverage reports in: [2023-05-22T18:31:22.919Z] + . [2023-05-22T18:31:22.919Z] -> Found 1 reports [2023-05-22T18:31:22.919Z] ==> Detecting git/mercurial file structure [2023-05-22T18:31:22.919Z] ==> Reading reports [2023-05-22T18:31:22.919Z] + ./coverage.out bytes=106150 [2023-05-22T18:31:22.919Z] ==> Appending adjustments [2023-05-22T18:31:22.919Z] https://docs.codecov.io/docs/fixing-reports [2023-05-22T18:31:23.177Z] + Found adjustments [2023-05-22T18:31:23.177Z] ==> Gzipping contents [2023-05-22T18:31:23.177Z] 16K /tmp/codecov.wVnnOe.gz [2023-05-22T18:31:23.177Z] ==> Uploading reports [2023-05-22T18:31:23.177Z] url: https://codecov.io [2023-05-22T18:31:23.177Z] query: branch=PR-1461&commit=6aa97f4be62e1d67ef839811e8c827dcb59f61b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1461&job=&cmd_args= [2023-05-22T18:31:23.177Z] -> Pinging Codecov [2023-05-22T18:31:23.177Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1461&commit=6aa97f4be62e1d67ef839811e8c827dcb59f61b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1461%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1461&job=&cmd_args= [2023-05-22T18:31:23.436Z] -> Uploading to [2023-05-22T18:31:23.436Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-22/7E55EF52A471D76F132DFD9A03CDDE97/6aa97f4be62e1d67ef839811e8c827dcb59f61b2/b594c531-d578-4366-860c-ca171617d19b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T183123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=214d3fd241125b91b07de24b26444ee91a69d323ace1d7575c4b908ac05e40e4 [2023-05-22T18:31:23.436Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T18:31:23.436Z] Dload Upload Total Spent Left Speed [2023-05-22T18:31:23.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15153 0 0 100 15153 0 75765 --:--:-- --:--:-- --:--:-- 75765 [2023-05-22T18:31:23.695Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6aa97f4be62e1d67ef839811e8c827dcb59f61b2 [Pipeline] } [2023-05-22T18:31:23.728Z] 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-05-22T18:31:25.520Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives ] [2023-05-22T18:31:25.520Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives [2023-05-22T18:31:25.520Z] total 16 [2023-05-22T18:31:25.520Z] drwxr-xr-x 3 root root 4096 May 22 18:18 . [2023-05-22T18:31:25.520Z] drwxrwxr-x 12 jenkins jenkins 4096 May 22 18:18 .. [2023-05-22T18:31:25.520Z] drwxr-xr-x 2 root root 4096 May 22 18:18 cost [2023-05-22T18:31:25.520Z] -rw-r--r-- 1 root root 86 May 22 18:18 cost.csv [2023-05-22T18:31:25.520Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives [2023-05-22T18:31:25.520Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives [2023-05-22T18:31:25.520Z] total 16 [2023-05-22T18:31:25.520Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 18:18 . [2023-05-22T18:31:25.520Z] drwxrwxr-x 12 jenkins jenkins 4096 May 22 18:18 .. [2023-05-22T18:31:25.520Z] drwxr-xr-x 2 jenkins jenkins 4096 May 22 18:18 cost [2023-05-22T18:31:25.520Z] -rw-r--r-- 1 jenkins jenkins 86 May 22 18:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:25.842Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:26.733Z] ---> package-listing.sh [2023-05-22T18:31:26.733Z] ++ facter osfamily [2023-05-22T18:31:26.733Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-22T18:31:26.992Z] + OS_FAMILY=debian [2023-05-22T18:31:26.992Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1461 [2023-05-22T18:31:26.992Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-22T18:31:26.992Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-22T18:31:26.992Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-22T18:31:26.992Z] + PACKAGES=/tmp/packages_start.txt [2023-05-22T18:31:26.992Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1461 ']' [2023-05-22T18:31:26.992Z] + PACKAGES=/tmp/packages_end.txt [2023-05-22T18:31:26.992Z] + case "${OS_FAMILY}" in [2023-05-22T18:31:26.992Z] + dpkg -l [2023-05-22T18:31:26.992Z] + grep '^ii' [2023-05-22T18:31:26.992Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-22T18:31:26.992Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-22T18:31:26.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-22T18:31:26.992Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1461 ']' [2023-05-22T18:31:26.992Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives/ [2023-05-22T18:31:26.992Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1461/archives/ [Pipeline] echo [2023-05-22T18:31:27.020Z] 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-1461/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-22T18:31:27.317Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T18:31:27.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T18:31:27.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T18:31:27.824Z] prd-ubuntu20.04-docker-8c-8g-16339 does not seem to be running inside a container [2023-05-22T18:31:27.863Z] $ 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-1461/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-1461 -v /w/workspace/gexfoundry_device-sdk-go_PR-1461:/w/workspace/gexfoundry_device-sdk-go_PR-1461:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T18:31:28.033Z] $ docker top 81d13246d5753b3900b846ca32e2832b7961cd16c1d89d3974693752a4a473c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T18:31:28.421Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-22T18:31:28.732Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-22T18:31:29.035Z] + ls /var/log/sa-host [2023-05-22T18:31:29.035Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T18:31:29.189Z] provisioning config files... [2023-05-22T18:31:29.197Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1461@tmp/config3798751177144067449tmp [Pipeline] { [Pipeline] echo [2023-05-22T18:31:29.250Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:29.608Z] ---> create-netrc.sh [Pipeline] } [2023-05-22T18:31:29.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:30.099Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-22T18:31:30.133Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:30.442Z] ---> sudo-logs.sh [2023-05-22T18:31:30.442Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-22T18:31:30.530Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:30.846Z] ---> job-cost.sh [2023-05-22T18:31:30.846Z] lf-activate-venv: SKIPPING [2023-05-22T18:31:30.846Z] DEBUG: total: 0.2199999988079071 [2023-05-22T18:31:30.846Z] INFO: Retrieving Stack Cost... [2023-05-22T18:31:31.105Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T18:31:31.673Z] INFO: Archiving Costs [Pipeline] echo [2023-05-22T18:31:31.709Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T18:31:32.022Z] ---> logs-deploy.sh [2023-05-22T18:31:32.022Z] lf-activate-venv: SKIPPING [2023-05-22T18:31:32.022Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1461/1 [2023-05-22T18:31:32.022Z] INFO: archiving workspace using pattern(s): [2023-05-22T18:31:32.958Z] Archives upload complete. [2023-05-22T18:31:32.958Z] INFO: archiving logs to Nexus