Pull request #1387 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a4f76913a248c99d552c018fcd597cab97c0df4d+4a7b1eec00eb893451c7c72b5ce81c7f4041337f (ebeb1ce7aada2f944d29adff0b8652007de58702) 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-ssh11355910767370565343.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh925939604742861853.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4966681822715505743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh12502366950954543587.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4791648097592085655.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2590 in /w/workspace/gexfoundry_device-sdk-go_PR-1387 [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-1387 # 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/1387/head:refs/remotes/origin/PR-1387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a7b1eec00eb893451c7c72b5ce81c7f4041337f into PR head commit a4f76913a248c99d552c018fcd597cab97c0df4d Merge succeeded, producing a4f76913a248c99d552c018fcd597cab97c0df4d Checking out Revision a4f76913a248c99d552c018fcd597cab97c0df4d (PR-1387) > git config core.sparsecheckout # timeout=10 > git checkout -f a4f76913a248c99d552c018fcd597cab97c0df4d # 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 4a7b1eec00eb893451c7c72b5ce81c7f4041337f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4f76913a248c99d552c018fcd597cab97c0df4d # timeout=10 Commit message: "feat: support YAML format for ProvisionWatcher definition file" First time build. Skipping changelog. > git rev-list --no-walk 245f2de2247f6da8fb5fe016f065fa8fa3d7283c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T02:02:01.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T02:02:01.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T02:02:01.929Z] ========================================================= [2023-03-17T02:02:01.929Z] EdgeX Global Pipelines Version Info [2023-03-17T02:02:01.929Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:02:02.654Z] ------------------- [2023-03-17T02:02:02.654Z] stable info: [2023-03-17T02:02:02.654Z] ------------------- [2023-03-17T02:02:02.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T02:02:02.654Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T02:02:02.654Z] Message: update stable to v1.0.245 [2023-03-17T02:02:03.224Z] ------------------- [2023-03-17T02:02:03.224Z] experimental info: [2023-03-17T02:02:03.224Z] ------------------- [2023-03-17T02:02:03.224Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T02:02:03.224Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T02:02:03.224Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T02:02:03.372Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-17T02:02:03.382Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-17T02:02:03.390Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T02:02:03.410Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T02:02:03.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T02:02:03.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T02:02:03.454Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T02:02:03.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-17T02:02:03.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T02:02:03.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T02:02:03.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T02:02:03.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-17T02:02:03.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T02:02:03.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T02:02:03.550Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T02:02:03.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T02:02:03.575Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T02:02:03.586Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T02:02:03.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T02:02:03.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T02:02:03.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T02:02:03.641Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-17T02:02:03.655Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T02:02:03.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T02:02:03.677Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T02:02:03.689Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T02:02:03.697Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T02:02:03.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1387 [Pipeline] echo [2023-03-17T02:02:03.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1387 [Pipeline] echo [2023-03-17T02:02:03.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1387 [Pipeline] echo [2023-03-17T02:02:03.729Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4f76913a248c99d552c018fcd597cab97c0df4d [Pipeline] echo [2023-03-17T02:02:03.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4f7691 [Pipeline] echo [2023-03-17T02:02:03.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T02:02:03.774Z] provisioning config files... [2023-03-17T02:02:03.788Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config6526678512973378485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:02:04.086Z] ---> docker-login.sh [2023-03-17T02:02:04.086Z] nexus3.edgexfoundry.org:10001 [2023-03-17T02:02:04.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:04.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:04.346Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:04.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:04.346Z] [2023-03-17T02:02:04.346Z] Login Succeeded [2023-03-17T02:02:04.346Z] nexus3.edgexfoundry.org:10002 [2023-03-17T02:02:04.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:04.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:04.346Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:04.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:04.346Z] [2023-03-17T02:02:04.346Z] Login Succeeded [2023-03-17T02:02:04.346Z] nexus3.edgexfoundry.org:10003 [2023-03-17T02:02:04.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:04.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:04.606Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:04.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:04.606Z] [2023-03-17T02:02:04.606Z] Login Succeeded [2023-03-17T02:02:04.606Z] nexus3.edgexfoundry.org:10004 [2023-03-17T02:02:04.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:04.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:04.606Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:04.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:04.606Z] [2023-03-17T02:02:04.606Z] Login Succeeded [2023-03-17T02:02:04.606Z] docker.io [2023-03-17T02:02:04.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:04.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:04.867Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:04.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:04.867Z] [2023-03-17T02:02:04.867Z] Login Succeeded [2023-03-17T02:02:04.867Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T02:02:04.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T02:02:05.233Z] + git rev-list -1 --merges a4f76913a248c99d552c018fcd597cab97c0df4d~1..a4f76913a248c99d552c018fcd597cab97c0df4d [Pipeline] echo [2023-03-17T02:02:05.280Z] -----------> git rev-list -1 --merges a4f76913a248c99d552c018fcd597cab97c0df4d~1..a4f76913a248c99d552c018fcd597cab97c0df4d a4f76913a248c99d552c018fcd597cab97c0df4d [false] [Pipeline] sh [2023-03-17T02:02:05.612Z] + git log --format=format:%s -1 a4f76913a248c99d552c018fcd597cab97c0df4d [Pipeline] echo [2023-03-17T02:02:05.628Z] ========================================================= [2023-03-17T02:02:05.628Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T02:02:05.628Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T02:02:05.956Z] + git log --format=format:%s -1 a4f76913a248c99d552c018fcd597cab97c0df4d [Pipeline] echo [2023-03-17T02:02:05.966Z] [semverPrep] GIT_COMMIT: a4f76913a248c99d552c018fcd597cab97c0df4d, Commit Message: feat: support YAML format for ProvisionWatcher definition file [Pipeline] echo [2023-03-17T02:02:05.976Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T02:02:06.316Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T02:02:06.316Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T02:02:06.316Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T02:02:06.316Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T02:02:06.316Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T02:02:06.316Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T02:02:06.316Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:02:06.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T02:02:06.669Z] [2023-03-17T02:02:06.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:02:06.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T02:02:06.969Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T02:02:06.969Z] b85a868b505f: Pulling fs layer [2023-03-17T02:02:06.969Z] e2be974225ed: Pulling fs layer [2023-03-17T02:02:06.969Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T02:02:06.969Z] 988bab9f4d93: Pulling fs layer [2023-03-17T02:02:06.969Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T02:02:06.969Z] eaf3925da568: Pulling fs layer [2023-03-17T02:02:06.969Z] bab4dde63d76: Pulling fs layer [2023-03-17T02:02:06.969Z] bde34c3a00c8: Pulling fs layer [2023-03-17T02:02:06.969Z] b352a97aabf1: Pulling fs layer [2023-03-17T02:02:06.969Z] 1469e6f7b9e6: Waiting [2023-03-17T02:02:06.969Z] 988bab9f4d93: Waiting [2023-03-17T02:02:06.969Z] 4872d77fe225: Pulling fs layer [2023-03-17T02:02:06.969Z] eaf3925da568: Waiting [2023-03-17T02:02:06.969Z] 5851b861e8e6: Pulling fs layer [2023-03-17T02:02:06.969Z] bde34c3a00c8: Waiting [2023-03-17T02:02:06.969Z] bab4dde63d76: Waiting [2023-03-17T02:02:06.969Z] b352a97aabf1: Waiting [2023-03-17T02:02:06.969Z] 5851b861e8e6: Waiting [2023-03-17T02:02:06.969Z] 4872d77fe225: Waiting [2023-03-17T02:02:06.969Z] e2be974225ed: Verifying Checksum [2023-03-17T02:02:06.969Z] e2be974225ed: Download complete [2023-03-17T02:02:06.969Z] 988bab9f4d93: Verifying Checksum [2023-03-17T02:02:06.969Z] 988bab9f4d93: Download complete [2023-03-17T02:02:07.229Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T02:02:07.229Z] 1469e6f7b9e6: Download complete [2023-03-17T02:02:07.229Z] eaf3925da568: Verifying Checksum [2023-03-17T02:02:07.229Z] eaf3925da568: Download complete [2023-03-17T02:02:07.229Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T02:02:07.229Z] 339a4e72a1f5: Download complete [2023-03-17T02:02:07.229Z] bde34c3a00c8: Verifying Checksum [2023-03-17T02:02:07.229Z] bde34c3a00c8: Download complete [2023-03-17T02:02:07.229Z] b352a97aabf1: Download complete [2023-03-17T02:02:07.229Z] 5851b861e8e6: Verifying Checksum [2023-03-17T02:02:07.229Z] 5851b861e8e6: Download complete [2023-03-17T02:02:07.229Z] b85a868b505f: Verifying Checksum [2023-03-17T02:02:07.229Z] b85a868b505f: Download complete [2023-03-17T02:02:07.488Z] bab4dde63d76: Download complete [2023-03-17T02:02:08.425Z] b85a868b505f: Pull complete [2023-03-17T02:02:08.684Z] e2be974225ed: Pull complete [2023-03-17T02:02:09.250Z] 339a4e72a1f5: Pull complete [2023-03-17T02:02:09.250Z] 988bab9f4d93: Pull complete [2023-03-17T02:02:09.510Z] 1469e6f7b9e6: Pull complete [2023-03-17T02:02:09.510Z] eaf3925da568: Pull complete [2023-03-17T02:02:11.428Z] bab4dde63d76: Pull complete [2023-03-17T02:02:11.428Z] bde34c3a00c8: Pull complete [2023-03-17T02:02:11.689Z] b352a97aabf1: Pull complete [2023-03-17T02:02:11.689Z] 4872d77fe225: Pull complete [2023-03-17T02:02:11.689Z] 5851b861e8e6: Pull complete [2023-03-17T02:02:11.950Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T02:02:11.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T02:02:11.950Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:02:12.061Z] prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container [2023-03-17T02:02:12.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T02:02:14.228Z] $ docker top 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 -eo pid,comm [2023-03-17T02:02:14.276Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-17T02:02:14.276Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T02:02:14.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T02:02:14.312Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T02:02:14.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T02:02:14.433Z] $ docker exec 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 ssh-agent [2023-03-17T02:02:14.527Z] SSH_AUTH_SOCK=/tmp/ssh-WadttM2Jb14b/agent.32 [2023-03-17T02:02:14.527Z] SSH_AGENT_PID=38 [2023-03-17T02:02:14.533Z] Running ssh-add (command line suppressed) [2023-03-17T02:02:14.642Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_2574501366918545482.key (/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_2574501366918545482.key) [2023-03-17T02:02:14.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T02:02:14.937Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T02:02:14.953Z] $ docker exec --env ******** --env ******** 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 ssh-agent -k [2023-03-17T02:02:15.060Z] unset SSH_AUTH_SOCK; [2023-03-17T02:02:15.061Z] unset SSH_AGENT_PID; [2023-03-17T02:02:15.061Z] echo Agent pid 38 killed; [2023-03-17T02:02:15.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T02:02:15.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T02:02:15.095Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T02:02:15.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T02:02:15.216Z] $ docker exec 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 ssh-agent [2023-03-17T02:02:15.321Z] SSH_AUTH_SOCK=/tmp/ssh-x5PyMZmR1J0O/agent.70 [2023-03-17T02:02:15.321Z] SSH_AGENT_PID=76 [2023-03-17T02:02:15.326Z] Running ssh-add (command line suppressed) [2023-03-17T02:02:15.431Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_18414609381204746020.key (/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_18414609381204746020.key) [2023-03-17T02:02:15.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T02:02:15.724Z] + git semver init [2023-03-17T02:02:15.983Z] 2023-03-17 02:02:15,910 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T02:02:15.983Z] 2023-03-17 02:02:15,911 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver [2023-03-17T02:02:15.983Z] 2023-03-17 02:02:15,911 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver [2023-03-17T02:02:15.983Z] 2023-03-17 02:02:15,912 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1387, universal_newlines=False, shell=None, istream=None) [2023-03-17T02:02:16.920Z] 2023-03-17 02:02:16,842 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.git/info/exclude [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver/PR-1387 with force:False [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,843 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver/PR-1387 [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,847 [execute] INFO git cat-file --batch-check [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,855 [execute] INFO git cat-file --batch [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T02:02:16.921Z] 2023-03-17 02:02:16,860 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver/PR-1387 [2023-03-17T02:02:16.921Z] 0.0.0 [Pipeline] } [2023-03-17T02:02:16.935Z] $ docker exec --env ******** --env ******** 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 ssh-agent -k [2023-03-17T02:02:17.039Z] unset SSH_AUTH_SOCK; [2023-03-17T02:02:17.041Z] unset SSH_AGENT_PID; [2023-03-17T02:02:17.041Z] echo Agent pid 76 killed; [2023-03-17T02:02:17.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T02:02:17.341Z] + git semver [Pipeline] } [2023-03-17T02:02:17.616Z] $ docker stop --time=1 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 [2023-03-17T02:02:18.935Z] $ docker rm -f --volumes 473c71ead13eb284841431b84f685405c050dd4c9f5f85bd445539f3d1089db6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T02:02:19.266Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T02:02:19.477Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T02:02:19.480Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T02:02:19.605Z] provisioning config files... [2023-03-17T02:02:19.614Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config6841274814526584220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:02:19.912Z] ---> docker-login.sh [2023-03-17T02:02:19.912Z] nexus3.edgexfoundry.org:10001 [2023-03-17T02:02:19.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:19.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:19.912Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:19.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:19.912Z] [2023-03-17T02:02:19.912Z] Login Succeeded [2023-03-17T02:02:19.912Z] nexus3.edgexfoundry.org:10002 [2023-03-17T02:02:19.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:19.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:19.912Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:19.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:19.912Z] [2023-03-17T02:02:19.912Z] Login Succeeded [2023-03-17T02:02:19.912Z] nexus3.edgexfoundry.org:10003 [2023-03-17T02:02:20.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:20.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:20.172Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:20.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:20.172Z] [2023-03-17T02:02:20.172Z] Login Succeeded [2023-03-17T02:02:20.172Z] nexus3.edgexfoundry.org:10004 [2023-03-17T02:02:20.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:20.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:20.172Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:20.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:20.172Z] [2023-03-17T02:02:20.172Z] Login Succeeded [2023-03-17T02:02:20.172Z] docker.io [2023-03-17T02:02:20.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:02:20.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:02:20.431Z] Configure a credential helper to remove this warning. See [2023-03-17T02:02:20.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:02:20.431Z] [2023-03-17T02:02:20.431Z] Login Succeeded [2023-03-17T02:02:20.431Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T02:02:20.438Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T02:02:20.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T02:02:20.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T02:02:20.523Z] ========================================================= [2023-03-17T02:02:20.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T02:02:20.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:02:20.832Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T02:02:20.832Z] Sending build context to Docker daemon 10.88MB [2023-03-17T02:02:20.832Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T02:02:20.832Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T02:02:21.094Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T02:02:21.094Z] 63b65145d645: Pulling fs layer [2023-03-17T02:02:21.094Z] a2d21d5440eb: Pulling fs layer [2023-03-17T02:02:21.094Z] 935e6c44a52c: Pulling fs layer [2023-03-17T02:02:21.094Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T02:02:21.094Z] 30dea6a524f1: Pulling fs layer [2023-03-17T02:02:21.094Z] a2aff8979fd8: Pulling fs layer [2023-03-17T02:02:21.094Z] 6808be2612f2: Pulling fs layer [2023-03-17T02:02:21.094Z] f25807f1079a: Pulling fs layer [2023-03-17T02:02:21.094Z] 94cc34f8dd06: Waiting [2023-03-17T02:02:21.094Z] 30dea6a524f1: Waiting [2023-03-17T02:02:21.094Z] a2aff8979fd8: Waiting [2023-03-17T02:02:21.094Z] 6808be2612f2: Waiting [2023-03-17T02:02:21.094Z] f25807f1079a: Waiting [2023-03-17T02:02:21.094Z] a2d21d5440eb: Verifying Checksum [2023-03-17T02:02:21.094Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T02:02:21.094Z] 94cc34f8dd06: Download complete [2023-03-17T02:02:21.094Z] 30dea6a524f1: Download complete [2023-03-17T02:02:21.094Z] 63b65145d645: Verifying Checksum [2023-03-17T02:02:21.094Z] 63b65145d645: Download complete [2023-03-17T02:02:21.094Z] a2aff8979fd8: Verifying Checksum [2023-03-17T02:02:21.094Z] a2aff8979fd8: Download complete [2023-03-17T02:02:21.356Z] 63b65145d645: Pull complete [2023-03-17T02:02:21.356Z] a2d21d5440eb: Pull complete [2023-03-17T02:02:21.616Z] f25807f1079a: Verifying Checksum [2023-03-17T02:02:21.616Z] f25807f1079a: Download complete [2023-03-17T02:02:21.616Z] 935e6c44a52c: Verifying Checksum [2023-03-17T02:02:21.616Z] 935e6c44a52c: Download complete [2023-03-17T02:02:21.874Z] 6808be2612f2: Verifying Checksum [2023-03-17T02:02:21.874Z] 6808be2612f2: Download complete [2023-03-17T02:02:25.154Z] 935e6c44a52c: Pull complete [2023-03-17T02:02:25.154Z] 94cc34f8dd06: Pull complete [2023-03-17T02:02:25.413Z] 30dea6a524f1: Pull complete [2023-03-17T02:02:25.413Z] a2aff8979fd8: Pull complete [2023-03-17T02:02:27.946Z] 6808be2612f2: Pull complete [2023-03-17T02:02:28.927Z] f25807f1079a: Pull complete [2023-03-17T02:02:28.927Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T02:02:28.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T02:02:28.927Z] ---> 3b553350e43f [2023-03-17T02:02:28.927Z] Step 3/10 : ARG MAKE=make build [2023-03-17T02:02:31.588Z] ---> Running in f348e1c7d695 [2023-03-17T02:02:31.588Z] Removing intermediate container f348e1c7d695 [2023-03-17T02:02:31.588Z] ---> 510f9a469009 [2023-03-17T02:02:31.588Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T02:02:31.589Z] ---> Running in 62d3ff05284c [2023-03-17T02:02:31.589Z] Removing intermediate container 62d3ff05284c [2023-03-17T02:02:31.589Z] ---> 9f53eabae760 [2023-03-17T02:02:31.589Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T02:02:31.848Z] ---> Running in 7f99dbbe046c [2023-03-17T02:02:31.848Z] Removing intermediate container 7f99dbbe046c [2023-03-17T02:02:31.848Z] ---> 7954c98f18c4 [2023-03-17T02:02:31.848Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T02:02:31.848Z] ---> Running in dafa0cb12233 [2023-03-17T02:02:32.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T02:02:32.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T02:02:32.364Z] OK: 265 MiB in 53 packages [2023-03-17T02:02:32.932Z] Removing intermediate container dafa0cb12233 [2023-03-17T02:02:32.932Z] ---> 3bf0c17ae4d9 [2023-03-17T02:02:32.932Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T02:02:32.932Z] ---> 858eefd77315 [2023-03-17T02:02:32.932Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T02:02:32.932Z] ---> Running in 37553b8556c8 [2023-03-17T02:02:34.578Z] Still waiting to schedule task [2023-03-17T02:02:34.578Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2589’ is offline [2023-03-17T02:02:59.504Z] Removing intermediate container 37553b8556c8 [2023-03-17T02:02:59.504Z] ---> 0a791f352bd5 [2023-03-17T02:02:59.504Z] Step 9/10 : COPY . . [2023-03-17T02:02:59.504Z] ---> bd8d79540291 [2023-03-17T02:02:59.504Z] Step 10/10 : RUN ${MAKE} [2023-03-17T02:02:59.504Z] ---> Running in f7649533746a [2023-03-17T02:02:59.504Z] noop [2023-03-17T02:02:59.504Z] Removing intermediate container f7649533746a [2023-03-17T02:02:59.504Z] ---> 8546c46070c6 [2023-03-17T02:02:59.504Z] Successfully built 8546c46070c6 [2023-03-17T02:02:59.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:02:59.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T02:02:59.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:02:59.886Z] prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container [2023-03-17T02:02:59.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T02:03:00.253Z] $ docker top 109f36e8aaaaef0907a2e91c54f06e95d01d2259e801af9debeb06b68dc38e30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T02:03:00.590Z] + go version [2023-03-17T02:03:00.590Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T02:03:00.606Z] $ docker stop --time=1 109f36e8aaaaef0907a2e91c54f06e95d01d2259e801af9debeb06b68dc38e30 [2023-03-17T02:03:01.901Z] $ docker rm -f --volumes 109f36e8aaaaef0907a2e91c54f06e95d01d2259e801af9debeb06b68dc38e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:03:02.304Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T02:03:02.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:03:02.371Z] prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container [2023-03-17T02:03:02.404Z] $ 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-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T02:03:02.728Z] $ docker top c992c09c67f8e7225813fcb1537e45cfa1603c6cf3f200b8ff5db8caf41e47ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T02:03:03.057Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1387 [Pipeline] fileExists [Pipeline] sh [2023-03-17T02:03:03.345Z] + make test [2023-03-17T02:03:03.345Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T02:03:09.906Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T02:03:24.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T02:03:24.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T02:03:24.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T02:03:24.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T02:03:24.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T02:03:25.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-03-17T02:03:25.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T02:03:25.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T02:03:25.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-17T02:03:25.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements [2023-03-17T02:03:26.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T02:03:26.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T02:03:26.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.089s coverage: 75.9% of statements [2023-03-17T02:03:26.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T02:03:26.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T02:03:27.867Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T02:03:29.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 15.2% of statements [2023-03-17T02:03:29.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 65.7% of statements [2023-03-17T02:03:29.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-03-17T02:03:29.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-03-17T02:03:51.716Z] GO111MODULE=on go vet ./... [2023-03-17T02:03:53.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T02:03:53.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T02:03:53.612Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T02:03:53.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T02:03:53.900Z] $ docker stop --time=1 c992c09c67f8e7225813fcb1537e45cfa1603c6cf3f200b8ff5db8caf41e47ff [2023-03-17T02:03:56.723Z] $ docker rm -f --volumes c992c09c67f8e7225813fcb1537e45cfa1603c6cf3f200b8ff5db8caf41e47ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T02:03:57.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T02:03:57.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T02:03:57.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T02:03:58.032Z] + ls -al . [2023-03-17T02:03:58.032Z] total 276 [2023-03-17T02:03:58.032Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 02:03 . [2023-03-17T02:03:58.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:01 .. [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 02:01 .dockerignore [2023-03-17T02:03:58.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 02:02 .git [2023-03-17T02:03:58.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:01 .github [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 02:01 .gitignore [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 02:01 .golangci.yml [2023-03-17T02:03:58.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 02:02 .semver [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 02:01 CHANGELOG.md [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 02:01 GOVERNANCE.md [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 02:01 Jenkinsfile [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 02:01 LICENSE [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 02:01 Makefile [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 02:01 OWNERS.md [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 02:01 README.md [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 02:02 VERSION [2023-03-17T02:03:58.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:01 bin [2023-03-17T02:03:58.032Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 17 02:03 coverage.out [2023-03-17T02:03:58.032Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 02:01 example [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 17 02:01 go.mod [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 17 02:01 go.sum [2023-03-17T02:03:58.032Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 02:01 internal [2023-03-17T02:03:58.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 02:01 openapi [2023-03-17T02:03:58.032Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 02:01 pkg [2023-03-17T02:03:58.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:01 snap [2023-03-17T02:03:58.032Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:03:58.333Z] + 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=a4f76913a248c99d552c018fcd597cab97c0df4d --label arch=amd64 --label version=0.0.0 . [2023-03-17T02:03:58.333Z] Sending build context to Docker daemon 10.99MB [2023-03-17T02:03:58.333Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T02:03:58.333Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T02:03:58.333Z] ---> 8546c46070c6 [2023-03-17T02:03:58.333Z] Step 3/23 : ARG MAKE=make build [2023-03-17T02:03:58.592Z] ---> Running in d6a585b5d103 [2023-03-17T02:03:58.592Z] Removing intermediate container d6a585b5d103 [2023-03-17T02:03:58.592Z] ---> f4b47a298006 [2023-03-17T02:03:58.592Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T02:03:58.592Z] ---> Running in 52ee3712bf46 [2023-03-17T02:03:58.592Z] Removing intermediate container 52ee3712bf46 [2023-03-17T02:03:58.592Z] ---> 22c5a5034e1d [2023-03-17T02:03:58.592Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T02:03:58.592Z] ---> Running in ca194d92cf8d [2023-03-17T02:03:58.850Z] Removing intermediate container ca194d92cf8d [2023-03-17T02:03:58.850Z] ---> 17bef4adb3b3 [2023-03-17T02:03:58.850Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T02:03:58.850Z] ---> Running in 8b1b3f94c77e [2023-03-17T02:03:59.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T02:03:59.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T02:03:59.367Z] OK: 265 MiB in 53 packages [2023-03-17T02:03:59.625Z] Removing intermediate container 8b1b3f94c77e [2023-03-17T02:03:59.625Z] ---> 7cd7d7a04664 [2023-03-17T02:03:59.625Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T02:03:59.883Z] ---> 1c8306883e64 [2023-03-17T02:03:59.883Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T02:03:59.883Z] ---> Running in 118925d26115 [2023-03-17T02:04:00.864Z] Removing intermediate container 118925d26115 [2023-03-17T02:04:00.864Z] ---> 4182ca0058ba [2023-03-17T02:04:00.864Z] Step 9/23 : COPY . . [2023-03-17T02:04:01.123Z] ---> 62aee9cf55f1 [2023-03-17T02:04:01.123Z] Step 10/23 : RUN ${MAKE} [2023-03-17T02:04:01.123Z] ---> Running in fd872cad7226 [2023-03-17T02:04:01.381Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T02:04:19.458Z] Removing intermediate container fd872cad7226 [2023-03-17T02:04:19.458Z] ---> 79e464ecca63 [2023-03-17T02:04:19.458Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T02:04:19.458Z] 3.17: Pulling from library/alpine [2023-03-17T02:04:19.458Z] 63b65145d645: Already exists [2023-03-17T02:04:19.458Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T02:04:19.458Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T02:04:19.458Z] ---> b2aa39c304c2 [2023-03-17T02:04:19.458Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T02:04:19.458Z] ---> Running in 6238da0c7361 [2023-03-17T02:04:19.458Z] Removing intermediate container 6238da0c7361 [2023-03-17T02:04:19.458Z] ---> 71a29506e88e [2023-03-17T02:04:19.458Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T02:04:19.458Z] ---> Running in 45a75973d581 [2023-03-17T02:04:19.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T02:04:19.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T02:04:19.977Z] OK: 7 MiB in 15 packages [2023-03-17T02:04:20.234Z] Removing intermediate container 45a75973d581 [2023-03-17T02:04:20.234Z] ---> a96d430b3513 [2023-03-17T02:04:20.234Z] Step 14/23 : WORKDIR / [2023-03-17T02:04:20.234Z] ---> Running in 9c03e885ea21 [2023-03-17T02:04:20.234Z] Removing intermediate container 9c03e885ea21 [2023-03-17T02:04:20.234Z] ---> f9bc1c7382d2 [2023-03-17T02:04:20.234Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T02:04:20.492Z] ---> 7bd69734c18b [2023-03-17T02:04:20.492Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T02:04:21.074Z] ---> f07e1e502634 [2023-03-17T02:04:21.074Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T02:04:21.074Z] ---> aacb1a70e6a0 [2023-03-17T02:04:21.074Z] Step 18/23 : EXPOSE 59999 [2023-03-17T02:04:21.334Z] ---> Running in 619b0fa40184 [2023-03-17T02:04:21.334Z] Removing intermediate container 619b0fa40184 [2023-03-17T02:04:21.334Z] ---> c0899859946d [2023-03-17T02:04:21.334Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T02:04:21.334Z] ---> Running in 7246ac987afd [2023-03-17T02:04:21.334Z] Removing intermediate container 7246ac987afd [2023-03-17T02:04:21.334Z] ---> 7225cfb30607 [2023-03-17T02:04:21.334Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T02:04:21.334Z] ---> Running in 556bbd37d04e [2023-03-17T02:04:21.334Z] Removing intermediate container 556bbd37d04e [2023-03-17T02:04:21.334Z] ---> 06bc61922ea9 [2023-03-17T02:04:21.334Z] Step 21/23 : LABEL arch=amd64 [2023-03-17T02:04:21.334Z] ---> Running in 55427b2881f4 [2023-03-17T02:04:21.594Z] Removing intermediate container 55427b2881f4 [2023-03-17T02:04:21.594Z] ---> ab59d5fe2d18 [2023-03-17T02:04:21.594Z] Step 22/23 : LABEL git_sha=a4f76913a248c99d552c018fcd597cab97c0df4d [2023-03-17T02:04:21.594Z] ---> Running in 21df0f77f781 [2023-03-17T02:04:21.594Z] Removing intermediate container 21df0f77f781 [2023-03-17T02:04:21.594Z] ---> 66d453128c7d [2023-03-17T02:04:21.594Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T02:04:21.594Z] ---> Running in 4acc0de655fe [2023-03-17T02:04:21.594Z] Removing intermediate container 4acc0de655fe [2023-03-17T02:04:21.594Z] ---> 3c2839b58608 [2023-03-17T02:04:21.594Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T02:04:21.594Z] Successfully built 3c2839b58608 [2023-03-17T02:04:21.852Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:04:22.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T02:04:22.305Z] [2023-03-17T02:04:22.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:04:22.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T02:04:22.601Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T02:04:22.601Z] 5eb5b503b376: Pulling fs layer [2023-03-17T02:04:22.601Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T02:04:22.601Z] ec43610c2a17: Pulling fs layer [2023-03-17T02:04:22.601Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T02:04:22.601Z] 33b1e0a273af: Pulling fs layer [2023-03-17T02:04:22.601Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T02:04:22.601Z] 3a2ae6a8a46f: Waiting [2023-03-17T02:04:22.601Z] 33b1e0a273af: Waiting [2023-03-17T02:04:22.601Z] 2f39f015ded8: Pulling fs layer [2023-03-17T02:04:22.601Z] 5d3b04190fa2: Waiting [2023-03-17T02:04:22.601Z] 2f39f015ded8: Waiting [2023-03-17T02:04:22.601Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T02:04:22.601Z] 5c69ac0246d0: Download complete [2023-03-17T02:04:22.601Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T02:04:22.601Z] 3a2ae6a8a46f: Download complete [2023-03-17T02:04:22.860Z] 33b1e0a273af: Verifying Checksum [2023-03-17T02:04:22.860Z] 33b1e0a273af: Download complete [2023-03-17T02:04:22.860Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T02:04:22.860Z] 5d3b04190fa2: Download complete [2023-03-17T02:04:22.860Z] ec43610c2a17: Verifying Checksum [2023-03-17T02:04:22.860Z] ec43610c2a17: Download complete [2023-03-17T02:04:22.860Z] 5eb5b503b376: Verifying Checksum [2023-03-17T02:04:22.860Z] 5eb5b503b376: Download complete [2023-03-17T02:04:23.425Z] 2f39f015ded8: Download complete [2023-03-17T02:04:23.991Z] 5eb5b503b376: Pull complete [2023-03-17T02:04:24.249Z] 5c69ac0246d0: Pull complete [2023-03-17T02:04:24.513Z] ec43610c2a17: Pull complete [2023-03-17T02:04:24.772Z] 3a2ae6a8a46f: Pull complete [2023-03-17T02:04:24.772Z] 33b1e0a273af: Pull complete [2023-03-17T02:04:25.029Z] 5d3b04190fa2: Pull complete [2023-03-17T02:04:29.316Z] 2f39f015ded8: Pull complete [2023-03-17T02:04:29.316Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T02:04:29.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T02:04:29.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:04:29.394Z] prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container [2023-03-17T02:04:29.426Z] $ 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-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T02:04:31.258Z] $ docker top fb06c7941b4a10a603c2834292236d6b194fe590c325bb9438bb170cc97ffdf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:04:31.619Z] ---> job-cost.sh [2023-03-17T02:04:31.619Z] lf-activate-venv: SKIPPING [2023-03-17T02:04:31.619Z] INFO: No Stack... [2023-03-17T02:04:31.875Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T02:04:32.441Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T02:04:32.726Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives/cost.csv [2023-03-17T02:04:32.726Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T02:04:32.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] [2023-03-17T02:04:32.742Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] did not exist. Created. [2023-03-17T02:04:32.742Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T02:04:33.037Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T02:04:33.065Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T02:04:33.071Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T02:04:33.094Z] $ docker stop --time=1 fb06c7941b4a10a603c2834292236d6b194fe590c325bb9438bb170cc97ffdf9 [2023-03-17T02:04:34.250Z] $ docker rm -f --volumes fb06c7941b4a10a603c2834292236d6b194fe590c325bb9438bb170cc97ffdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T02:04:50.348Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2592 in /w/workspace/gexfoundry_device-sdk-go_PR-1387 [Pipeline] { [Pipeline] ws [2023-03-17T02:04:50.364Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-17T02:04:50.409Z] The recommended git tool is: git [2023-03-17T02:04:57.369Z] using credential edgex-jenkins-ssh [2023-03-17T02:04:57.390Z] Cloning the remote Git repository [2023-03-17T02:04:57.454Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T02:04:57.579Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-17T02:04:57.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T02:04:57.767Z] > git --version # timeout=10 [2023-03-17T02:04:57.794Z] > git --version # 'git version 2.25.1' [2023-03-17T02:04:57.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T02:04:57.983Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T02:04:59.933Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T02:04:59.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T02:05:01.910Z] Merging remotes/origin/main commit 4a7b1eec00eb893451c7c72b5ce81c7f4041337f into PR head commit a4f76913a248c99d552c018fcd597cab97c0df4d [2023-03-17T02:05:01.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T02:05:01.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T02:05:01.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T02:05:01.192Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1387/head:refs/remotes/origin/PR-1387 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T02:05:01.934Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T02:05:02.019Z] > git checkout -f a4f76913a248c99d552c018fcd597cab97c0df4d # timeout=10 [2023-03-17T02:05:02.146Z] > git remote # timeout=10 [2023-03-17T02:05:02.174Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T02:05:02.275Z] Merge succeeded, producing a4f76913a248c99d552c018fcd597cab97c0df4d [2023-03-17T02:05:02.276Z] Checking out Revision a4f76913a248c99d552c018fcd597cab97c0df4d (PR-1387) [2023-03-17T02:05:02.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T02:05:02.220Z] > git merge 4a7b1eec00eb893451c7c72b5ce81c7f4041337f # timeout=10 [2023-03-17T02:05:02.253Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T02:05:02.285Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T02:05:02.304Z] > git checkout -f a4f76913a248c99d552c018fcd597cab97c0df4d # timeout=10 [2023-03-17T02:05:05.970Z] Commit message: "feat: support YAML format for ProvisionWatcher definition file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T02:05:06.895Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T02:05:06.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T02:05:06.895Z] Dload Upload Total Spent Left Speed [2023-03-17T02:05:06.895Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-03-17T02:05:07.680Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T02:05:08.037Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T02:05:08.037Z] sudo tee /etc/docker/daemon.new [2023-03-17T02:05:08.037Z] { [2023-03-17T02:05:08.037Z] "registry-mirrors": [ [2023-03-17T02:05:08.037Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T02:05:08.037Z] ], [2023-03-17T02:05:08.037Z] "bip": "10.250.0.254/24", [2023-03-17T02:05:08.037Z] "hosts": [ [2023-03-17T02:05:08.037Z] "tcp://0.0.0.0:5555", [2023-03-17T02:05:08.037Z] "unix:///var/run/docker.sock" [2023-03-17T02:05:08.037Z] ], [2023-03-17T02:05:08.037Z] "mtu": 1458, [2023-03-17T02:05:08.037Z] "selinux-enabled": true, [2023-03-17T02:05:08.037Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T02:05:08.037Z] } [Pipeline] sh [2023-03-17T02:05:08.410Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T02:05:08.781Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T02:05:27.086Z] provisioning config files... [2023-03-17T02:05:27.116Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config481445169880718260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:05:27.482Z] ---> docker-login.sh [2023-03-17T02:05:27.482Z] nexus3.edgexfoundry.org:10001 [2023-03-17T02:05:28.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:05:28.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:05:28.087Z] Configure a credential helper to remove this warning. See [2023-03-17T02:05:28.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:05:28.087Z] [2023-03-17T02:05:28.087Z] Login Succeeded [2023-03-17T02:05:28.087Z] nexus3.edgexfoundry.org:10002 [2023-03-17T02:05:28.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:05:28.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:05:28.648Z] Configure a credential helper to remove this warning. See [2023-03-17T02:05:28.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:05:28.648Z] [2023-03-17T02:05:28.648Z] Login Succeeded [2023-03-17T02:05:28.648Z] nexus3.edgexfoundry.org:10003 [2023-03-17T02:05:28.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:05:28.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:05:28.919Z] Configure a credential helper to remove this warning. See [2023-03-17T02:05:28.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:05:28.919Z] [2023-03-17T02:05:28.919Z] Login Succeeded [2023-03-17T02:05:29.196Z] nexus3.edgexfoundry.org:10004 [2023-03-17T02:05:29.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:05:29.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:05:29.494Z] Configure a credential helper to remove this warning. See [2023-03-17T02:05:29.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:05:29.494Z] [2023-03-17T02:05:29.494Z] Login Succeeded [2023-03-17T02:05:29.494Z] docker.io [2023-03-17T02:05:29.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T02:05:30.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T02:05:30.036Z] Configure a credential helper to remove this warning. See [2023-03-17T02:05:30.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T02:05:30.036Z] [2023-03-17T02:05:30.036Z] Login Succeeded [2023-03-17T02:05:30.036Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T02:05:30.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T02:05:30.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T02:05:30.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T02:05:30.391Z] ========================================================= [2023-03-17T02:05:30.391Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T02:05:30.391Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:05:30.752Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T02:05:31.347Z] Sending build context to Docker daemon 5.856MB [2023-03-17T02:05:31.347Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T02:05:31.347Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T02:05:31.347Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T02:05:31.347Z] af6eaf76a39c: Pulling fs layer [2023-03-17T02:05:31.347Z] 55522c791124: Pulling fs layer [2023-03-17T02:05:31.347Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T02:05:31.347Z] 169dfbe0d373: Pulling fs layer [2023-03-17T02:05:31.347Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T02:05:31.347Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T02:05:31.347Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T02:05:31.347Z] e1ff8fa3b103: Waiting [2023-03-17T02:05:31.347Z] 52ebb69f0ebf: Waiting [2023-03-17T02:05:31.347Z] 5abe8eddf0d5: Waiting [2023-03-17T02:05:31.347Z] 169dfbe0d373: Waiting [2023-03-17T02:05:31.627Z] 55522c791124: Verifying Checksum [2023-03-17T02:05:31.627Z] 55522c791124: Download complete [2023-03-17T02:05:31.627Z] 169dfbe0d373: Verifying Checksum [2023-03-17T02:05:31.627Z] 169dfbe0d373: Download complete [2023-03-17T02:05:31.627Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T02:05:31.627Z] e1ff8fa3b103: Download complete [2023-03-17T02:05:31.627Z] af6eaf76a39c: Verifying Checksum [2023-03-17T02:05:31.627Z] af6eaf76a39c: Download complete [2023-03-17T02:05:32.228Z] af6eaf76a39c: Pull complete [2023-03-17T02:05:32.825Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T02:05:33.099Z] 55522c791124: Pull complete [2023-03-17T02:05:34.542Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T02:05:34.542Z] ce5c4a1c91eb: Download complete [2023-03-17T02:05:34.542Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T02:05:34.542Z] 52ebb69f0ebf: Download complete [2023-03-17T02:05:46.899Z] ce5c4a1c91eb: Pull complete [2023-03-17T02:05:46.899Z] 169dfbe0d373: Pull complete [2023-03-17T02:05:46.899Z] e1ff8fa3b103: Pull complete [2023-03-17T02:05:53.576Z] 52ebb69f0ebf: Pull complete [2023-03-17T02:05:55.003Z] 5abe8eddf0d5: Pull complete [2023-03-17T02:05:55.003Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T02:05:55.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T02:05:55.003Z] ---> 6cb57ee374ae [2023-03-17T02:05:55.003Z] Step 3/10 : ARG MAKE=make build [2023-03-17T02:05:56.982Z] ---> Running in 838d661caa76 [2023-03-17T02:05:57.253Z] Removing intermediate container 838d661caa76 [2023-03-17T02:05:57.253Z] ---> de7ead1d6f49 [2023-03-17T02:05:57.253Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T02:05:57.253Z] ---> Running in 9d27a0afe12f [2023-03-17T02:05:57.842Z] Removing intermediate container 9d27a0afe12f [2023-03-17T02:05:57.842Z] ---> dd39f45e619e [2023-03-17T02:05:57.842Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T02:05:57.842Z] ---> Running in 1034605beae9 [2023-03-17T02:05:58.112Z] Removing intermediate container 1034605beae9 [2023-03-17T02:05:58.112Z] ---> da19363f5a4f [2023-03-17T02:05:58.112Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T02:05:58.383Z] ---> Running in 863039eb52a4 [2023-03-17T02:05:59.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T02:06:00.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T02:06:01.370Z] OK: 263 MiB in 53 packages [2023-03-17T02:06:02.339Z] Removing intermediate container 863039eb52a4 [2023-03-17T02:06:02.339Z] ---> 4a680b64ef27 [2023-03-17T02:06:02.339Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T02:06:02.930Z] ---> 388a319ae629 [2023-03-17T02:06:02.930Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T02:06:03.203Z] ---> Running in 327b5c1b8c65 [2023-03-17T02:07:11.130Z] Removing intermediate container 327b5c1b8c65 [2023-03-17T02:07:11.130Z] ---> c7324179c3a7 [2023-03-17T02:07:11.130Z] Step 9/10 : COPY . . [2023-03-17T02:07:11.130Z] ---> 8f70c29e94d9 [2023-03-17T02:07:11.130Z] Step 10/10 : RUN ${MAKE} [2023-03-17T02:07:11.130Z] ---> Running in 8dbc591f0879 [2023-03-17T02:07:11.130Z] noop [2023-03-17T02:07:11.130Z] Removing intermediate container 8dbc591f0879 [2023-03-17T02:07:11.130Z] ---> 330ecfc13879 [2023-03-17T02:07:11.130Z] Successfully built 330ecfc13879 [2023-03-17T02:07:11.130Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:07:11.489Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T02:07:11.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:07:11.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-2592 does not seem to be running inside a container [2023-03-17T02:07:11.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T02:07:13.229Z] $ docker top 22fbafabacce7aa8ca583b5970db5c97a4044b6c9bd5f68c3a2e55ee7a1fef2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T02:07:14.126Z] + go version [2023-03-17T02:07:14.126Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T02:07:14.147Z] $ docker stop --time=1 22fbafabacce7aa8ca583b5970db5c97a4044b6c9bd5f68c3a2e55ee7a1fef2c [2023-03-17T02:07:15.844Z] $ docker rm -f --volumes 22fbafabacce7aa8ca583b5970db5c97a4044b6c9bd5f68c3a2e55ee7a1fef2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:07:16.407Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T02:07:16.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:07:16.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-2592 does not seem to be running inside a container [2023-03-17T02:07:16.711Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T02:07:17.953Z] $ docker top 65f0890989c0ee3324686a4723fcf7236e77a4d0aeedb5b54c6955119f9fa318 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T02:07:18.817Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-17T02:07:19.480Z] + make test [2023-03-17T02:07:19.480Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T02:08:15.972Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T02:10:52.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T02:10:52.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T02:10:52.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T02:10:52.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T02:10:52.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T02:10:54.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.221s coverage: 27.6% of statements [2023-03-17T02:10:56.753Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.276s coverage: 78.9% of statements [2023-03-17T02:11:06.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T02:11:06.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T02:11:06.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.426s coverage: 86.0% of statements [2023-03-17T02:11:12.202Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T02:11:12.202Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T02:11:12.787Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.512s coverage: 75.9% of statements [2023-03-17T02:11:16.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.281s coverage: 15.2% of statements [2023-03-17T02:11:18.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T02:11:18.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T02:11:18.736Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.480s coverage: 65.7% of statements [2023-03-17T02:11:20.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.472s coverage: 89.2% of statements [2023-03-17T02:11:24.399Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T02:11:24.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.259s coverage: 5.5% of statements [2023-03-17T02:11:25.008Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-17T02:11:25.008Z] GO111MODULE=on go vet ./... [2023-03-17T02:14:01.963Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T02:14:01.963Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T02:14:01.963Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T02:14:01.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T02:14:02.002Z] $ docker stop --time=1 65f0890989c0ee3324686a4723fcf7236e77a4d0aeedb5b54c6955119f9fa318 [2023-03-17T02:14:04.010Z] $ docker rm -f --volumes 65f0890989c0ee3324686a4723fcf7236e77a4d0aeedb5b54c6955119f9fa318 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T02:14:05.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T02:14:05.670Z] Warning: overwriting stash ‘coverage-report’ [2023-03-17T02:14:06.302Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T02:14:06.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T02:14:07.022Z] + ls -al . [2023-03-17T02:14:07.023Z] total 272 [2023-03-17T02:14:07.023Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 02:07 . [2023-03-17T02:14:07.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:04 .. [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 02:05 .dockerignore [2023-03-17T02:14:07.023Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 02:05 .git [2023-03-17T02:14:07.023Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:05 .github [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 02:05 .gitignore [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 02:05 .golangci.yml [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 02:05 CHANGELOG.md [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 02:05 GOVERNANCE.md [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 02:05 Jenkinsfile [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 02:05 LICENSE [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 02:05 Makefile [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 02:05 OWNERS.md [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 02:05 README.md [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 02:02 VERSION [2023-03-17T02:14:07.023Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:05 bin [2023-03-17T02:14:07.023Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 17 02:11 coverage.out [2023-03-17T02:14:07.023Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 02:05 example [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 17 02:05 go.mod [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 17 02:05 go.sum [2023-03-17T02:14:07.023Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 02:05 internal [2023-03-17T02:14:07.023Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 02:05 openapi [2023-03-17T02:14:07.023Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 02:05 pkg [2023-03-17T02:14:07.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:05 snap [2023-03-17T02:14:07.023Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:14:07.362Z] + 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=a4f76913a248c99d552c018fcd597cab97c0df4d --label arch=arm64 --label version=0.0.0 . [2023-03-17T02:14:07.946Z] Sending build context to Docker daemon 5.966MB [2023-03-17T02:14:07.946Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T02:14:07.946Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T02:14:07.946Z] ---> 330ecfc13879 [2023-03-17T02:14:07.946Z] Step 3/23 : ARG MAKE=make build [2023-03-17T02:14:07.946Z] ---> Running in 889f6f06993d [2023-03-17T02:14:08.214Z] Removing intermediate container 889f6f06993d [2023-03-17T02:14:08.214Z] ---> 6067e0d7fa88 [2023-03-17T02:14:08.214Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T02:14:08.484Z] ---> Running in a2bfb54ee3c2 [2023-03-17T02:14:08.752Z] Removing intermediate container a2bfb54ee3c2 [2023-03-17T02:14:08.752Z] ---> 947147ccdc29 [2023-03-17T02:14:08.752Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T02:14:08.752Z] ---> Running in acdcec3579cc [2023-03-17T02:14:09.021Z] Removing intermediate container acdcec3579cc [2023-03-17T02:14:09.021Z] ---> de85bc39ce65 [2023-03-17T02:14:09.021Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T02:14:09.021Z] ---> Running in f02649d95688 [2023-03-17T02:14:10.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T02:14:10.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T02:14:12.114Z] OK: 263 MiB in 53 packages [2023-03-17T02:14:12.701Z] Removing intermediate container f02649d95688 [2023-03-17T02:14:12.701Z] ---> 3a5a108f38f6 [2023-03-17T02:14:12.701Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T02:14:13.297Z] ---> 66554a2025a3 [2023-03-17T02:14:13.297Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T02:14:13.572Z] ---> Running in 30a4e509a4d4 [2023-03-17T02:14:16.162Z] Removing intermediate container 30a4e509a4d4 [2023-03-17T02:14:16.162Z] ---> bf72728c5cba [2023-03-17T02:14:16.162Z] Step 9/23 : COPY . . [2023-03-17T02:14:17.584Z] ---> f5470a44bc63 [2023-03-17T02:14:17.584Z] Step 10/23 : RUN ${MAKE} [2023-03-17T02:14:17.859Z] ---> Running in 8676c333100e [2023-03-17T02:14:18.828Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T02:16:55.565Z] Removing intermediate container 8676c333100e [2023-03-17T02:16:55.565Z] ---> 5c781d299ca0 [2023-03-17T02:16:55.565Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T02:16:55.565Z] 3.17: Pulling from library/alpine [2023-03-17T02:16:55.565Z] af6eaf76a39c: Already exists [2023-03-17T02:16:55.565Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T02:16:55.565Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T02:16:55.565Z] ---> d74e625d9115 [2023-03-17T02:16:55.565Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T02:16:55.565Z] ---> Running in 66567c790b2b [2023-03-17T02:16:55.565Z] Removing intermediate container 66567c790b2b [2023-03-17T02:16:55.565Z] ---> 9d3e1bd8af4c [2023-03-17T02:16:55.565Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T02:16:55.565Z] ---> Running in ea181af081a6 [2023-03-17T02:16:55.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T02:16:55.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T02:16:55.566Z] OK: 7 MiB in 15 packages [2023-03-17T02:16:55.566Z] Removing intermediate container ea181af081a6 [2023-03-17T02:16:55.566Z] ---> 352b043b283f [2023-03-17T02:16:55.566Z] Step 14/23 : WORKDIR / [2023-03-17T02:16:55.566Z] ---> Running in a07e8a2f6ddc [2023-03-17T02:16:55.566Z] Removing intermediate container a07e8a2f6ddc [2023-03-17T02:16:55.566Z] ---> ad625c149b4d [2023-03-17T02:16:55.566Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T02:16:55.566Z] ---> 1aa1e3c43047 [2023-03-17T02:16:55.566Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T02:16:55.566Z] ---> 246b8848ac66 [2023-03-17T02:16:55.566Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T02:16:55.566Z] ---> 8b44521e27a2 [2023-03-17T02:16:55.566Z] Step 18/23 : EXPOSE 59999 [2023-03-17T02:16:55.566Z] ---> Running in f62661425ebc [2023-03-17T02:16:55.566Z] Removing intermediate container f62661425ebc [2023-03-17T02:16:55.566Z] ---> 54eacc2feb09 [2023-03-17T02:16:55.566Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T02:16:55.566Z] ---> Running in 7b23cbd77a8a [2023-03-17T02:16:55.566Z] Removing intermediate container 7b23cbd77a8a [2023-03-17T02:16:55.566Z] ---> d81f05bf3a13 [2023-03-17T02:16:55.566Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T02:16:55.566Z] ---> Running in d23196c63822 [2023-03-17T02:16:55.566Z] Removing intermediate container d23196c63822 [2023-03-17T02:16:55.566Z] ---> dea9d9fbddd0 [2023-03-17T02:16:55.566Z] Step 21/23 : LABEL arch=arm64 [2023-03-17T02:16:55.566Z] ---> Running in 480b4c37699a [2023-03-17T02:16:55.566Z] Removing intermediate container 480b4c37699a [2023-03-17T02:16:55.566Z] ---> c599f379adc6 [2023-03-17T02:16:55.566Z] Step 22/23 : LABEL git_sha=a4f76913a248c99d552c018fcd597cab97c0df4d [2023-03-17T02:16:55.566Z] ---> Running in 20f4f2eaf1bd [2023-03-17T02:16:55.566Z] Removing intermediate container 20f4f2eaf1bd [2023-03-17T02:16:55.566Z] ---> 34be5af7c8c8 [2023-03-17T02:16:55.566Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T02:16:55.566Z] ---> Running in 6c38389ac965 [2023-03-17T02:16:55.566Z] Removing intermediate container 6c38389ac965 [2023-03-17T02:16:55.566Z] ---> 5dda9b996389 [2023-03-17T02:16:55.566Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T02:16:55.566Z] Successfully built 5dda9b996389 [2023-03-17T02:16:55.566Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:16:55.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T02:16:55.991Z] [2023-03-17T02:16:55.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:16:56.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T02:16:56.610Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T02:16:56.610Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T02:16:56.610Z] 04944245beec: Pulling fs layer [2023-03-17T02:16:56.610Z] 699f458cf7ca: Pulling fs layer [2023-03-17T02:16:56.610Z] 765212b225bb: Pulling fs layer [2023-03-17T02:16:56.610Z] f23df028b6ca: Pulling fs layer [2023-03-17T02:16:56.610Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T02:16:56.610Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T02:16:56.610Z] 765212b225bb: Waiting [2023-03-17T02:16:56.610Z] f23df028b6ca: Waiting [2023-03-17T02:16:56.610Z] d65c8cfc05b1: Waiting [2023-03-17T02:16:56.610Z] 2437ff75d9bd: Waiting [2023-03-17T02:16:56.610Z] 04944245beec: Verifying Checksum [2023-03-17T02:16:56.610Z] 04944245beec: Download complete [2023-03-17T02:16:56.610Z] 765212b225bb: Verifying Checksum [2023-03-17T02:16:56.610Z] 765212b225bb: Download complete [2023-03-17T02:16:56.610Z] f23df028b6ca: Verifying Checksum [2023-03-17T02:16:56.610Z] f23df028b6ca: Download complete [2023-03-17T02:16:56.883Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T02:16:56.883Z] d65c8cfc05b1: Download complete [2023-03-17T02:16:56.883Z] 699f458cf7ca: Verifying Checksum [2023-03-17T02:16:57.473Z] 8998bd30e6a1: Download complete [2023-03-17T02:16:59.438Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T02:16:59.438Z] 2437ff75d9bd: Download complete [2023-03-17T02:17:01.390Z] 8998bd30e6a1: Pull complete [2023-03-17T02:17:01.978Z] 04944245beec: Pull complete [2023-03-17T02:17:03.399Z] 699f458cf7ca: Pull complete [2023-03-17T02:17:03.670Z] 765212b225bb: Pull complete [2023-03-17T02:17:04.636Z] f23df028b6ca: Pull complete [2023-03-17T02:17:04.637Z] d65c8cfc05b1: Pull complete [2023-03-17T02:17:19.669Z] 2437ff75d9bd: Pull complete [2023-03-17T02:17:19.669Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T02:17:19.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T02:17:19.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:17:19.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-2592 does not seem to be running inside a container [2023-03-17T02:17:19.979Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T02:17:26.045Z] $ docker top de5fba05118855a0b7a454c12f801b2c1cb300fb32f9f90ee9a9000e4ff9aaa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:26.941Z] ---> job-cost.sh [2023-03-17T02:17:26.941Z] lf-activate-venv: SKIPPING [2023-03-17T02:17:26.941Z] INFO: No Stack... [2023-03-17T02:17:27.527Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T02:17:28.497Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T02:17:29.154Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-03-17T02:17:29.154Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T02:17:29.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] [2023-03-17T02:17:29.254Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] did not exist. Created. [2023-03-17T02:17:29.254Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T02:17:29.939Z] /w/workspace/device-sdk-go/3@tmp/durable-6ba39ebf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T02:17:30.619Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T02:17:30.648Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T02:17:30.734Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T02:17:30.741Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T02:17:30.755Z] $ docker stop --time=1 de5fba05118855a0b7a454c12f801b2c1cb300fb32f9f90ee9a9000e4ff9aaa9 [2023-03-17T02:17:32.374Z] $ docker rm -f --volumes de5fba05118855a0b7a454c12f801b2c1cb300fb32f9f90ee9a9000e4ff9aaa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-17T02:17:32.801Z] provisioning config files... [2023-03-17T02:17:32.807Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config11834398069033009173tmp [Pipeline] { [Pipeline] sh [2023-03-17T02:17:33.096Z] + set +x [2023-03-17T02:17:33.096Z] + curl -s https://codecov.io/bash [2023-03-17T02:17:33.096Z] + bash -s -- [2023-03-17T02:17:33.096Z] [2023-03-17T02:17:33.096Z] _____ _ [2023-03-17T02:17:33.096Z] / ____| | | [2023-03-17T02:17:33.096Z] | | ___ __| | ___ ___ _____ __ [2023-03-17T02:17:33.096Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-17T02:17:33.096Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-17T02:17:33.096Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-17T02:17:33.096Z] Bash-1.0.6 [2023-03-17T02:17:33.096Z] [2023-03-17T02:17:33.096Z] [2023-03-17T02:17:33.096Z] ==> git version 2.25.1 found [2023-03-17T02:17:33.096Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-17T02:17:33.096Z] Release-Date: 2020-01-08 [2023-03-17T02:17:33.096Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-17T02:17:33.096Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-17T02:17:33.096Z] ==> Jenkins CI detected. [2023-03-17T02:17:33.096Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1387 [2023-03-17T02:17:33.096Z] project root: . [2023-03-17T02:17:33.096Z] --> token set from env [2023-03-17T02:17:33.096Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-17T02:17:33.096Z] ==> Running gcov in . (disable via -X gcov) [2023-03-17T02:17:33.096Z] ==> Python coveragepy not found [2023-03-17T02:17:33.096Z] ==> Searching for coverage reports in: [2023-03-17T02:17:33.096Z] + . [2023-03-17T02:17:33.096Z] -> Found 1 reports [2023-03-17T02:17:33.096Z] ==> Detecting git/mercurial file structure [2023-03-17T02:17:33.096Z] ==> Reading reports [2023-03-17T02:17:33.096Z] + ./coverage.out bytes=109536 [2023-03-17T02:17:33.354Z] ==> Appending adjustments [2023-03-17T02:17:33.354Z] https://docs.codecov.io/docs/fixing-reports [2023-03-17T02:17:33.614Z] + Found adjustments [2023-03-17T02:17:33.614Z] ==> Gzipping contents [2023-03-17T02:17:33.614Z] 16K /tmp/codecov.nvIE1i.gz [2023-03-17T02:17:33.614Z] ==> Uploading reports [2023-03-17T02:17:33.614Z] url: https://codecov.io [2023-03-17T02:17:33.614Z] query: branch=PR-1387&commit=a4f76913a248c99d552c018fcd597cab97c0df4d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1387%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1387&job=&cmd_args= [2023-03-17T02:17:33.614Z] -> Pinging Codecov [2023-03-17T02:17:33.614Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1387&commit=a4f76913a248c99d552c018fcd597cab97c0df4d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1387%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1387&job=&cmd_args= [2023-03-17T02:17:33.614Z] -> Uploading to [2023-03-17T02:17:33.614Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7E55EF52A471D76F132DFD9A03CDDE97/a4f76913a248c99d552c018fcd597cab97c0df4d/515e9952-b65c-420d-a073-475d4982655f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T021733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3698150ae773a03f212decc470a5419d82080e2c9a5e8adcfbdca9f3f130e96c [2023-03-17T02:17:33.614Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T02:17:33.614Z] Dload Upload Total Spent Left Speed [2023-03-17T02:17:34.184Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15223 0 0 100 15223 0 55155 --:--:-- --:--:-- --:--:-- 55155 [2023-03-17T02:17:34.184Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a4f76913a248c99d552c018fcd597cab97c0df4d [Pipeline] } [2023-03-17T02:17:34.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-17T02:17:34.885Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives ] [2023-03-17T02:17:34.885Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives [2023-03-17T02:17:34.885Z] total 16 [2023-03-17T02:17:34.885Z] drwxr-xr-x 3 root root 4096 Mar 17 02:04 . [2023-03-17T02:17:34.885Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 02:04 .. [2023-03-17T02:17:34.885Z] drwxr-xr-x 2 root root 4096 Mar 17 02:04 cost [2023-03-17T02:17:34.885Z] -rw-r--r-- 1 root root 86 Mar 17 02:04 cost.csv [2023-03-17T02:17:34.885Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives [2023-03-17T02:17:34.885Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives [2023-03-17T02:17:34.885Z] total 16 [2023-03-17T02:17:34.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 02:04 . [2023-03-17T02:17:34.885Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 02:04 .. [2023-03-17T02:17:34.885Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 02:04 cost [2023-03-17T02:17:34.885Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 02:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:35.178Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:36.033Z] ---> package-listing.sh [2023-03-17T02:17:36.033Z] ++ facter osfamily [2023-03-17T02:17:36.033Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T02:17:36.291Z] + OS_FAMILY=debian [2023-03-17T02:17:36.291Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1387 [2023-03-17T02:17:36.291Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T02:17:36.291Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T02:17:36.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T02:17:36.291Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T02:17:36.291Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1387 ']' [2023-03-17T02:17:36.291Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T02:17:36.291Z] + case "${OS_FAMILY}" in [2023-03-17T02:17:36.291Z] + dpkg -l [2023-03-17T02:17:36.291Z] + grep '^ii' [2023-03-17T02:17:36.291Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T02:17:36.291Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T02:17:36.291Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T02:17:36.291Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1387 ']' [2023-03-17T02:17:36.291Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives/ [2023-03-17T02:17:36.291Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives/ [Pipeline] echo [2023-03-17T02:17:36.301Z] 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-1387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T02:17:36.578Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T02:17:37.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T02:17:37.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T02:17:37.214Z] prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container [2023-03-17T02:17:37.243Z] $ 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-1387/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-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T02:17:37.445Z] $ docker top 481bcdb17a76092ce0e2e6deb8f743db6c3b765bfe3fda22711001053b1f1d46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T02:17:37.792Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T02:17:38.072Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T02:17:38.358Z] + ls /var/log/sa-host [2023-03-17T02:17:38.358Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T02:17:38.432Z] provisioning config files... [2023-03-17T02:17:38.439Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config7567305173586929569tmp [Pipeline] { [Pipeline] echo [2023-03-17T02:17:38.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:38.740Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T02:17:38.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:39.070Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T02:17:39.078Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:39.358Z] ---> sudo-logs.sh [2023-03-17T02:17:39.358Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T02:17:39.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:39.660Z] ---> job-cost.sh [2023-03-17T02:17:39.660Z] lf-activate-venv: SKIPPING [2023-03-17T02:17:39.660Z] DEBUG: total: 0.2199999988079071 [2023-03-17T02:17:39.660Z] INFO: Retrieving Stack Cost... [2023-03-17T02:17:39.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T02:17:40.484Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T02:17:40.494Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T02:17:40.775Z] ---> logs-deploy.sh [2023-03-17T02:17:40.776Z] lf-activate-venv: SKIPPING [2023-03-17T02:17:40.776Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1387/3 [2023-03-17T02:17:40.776Z] INFO: archiving workspace using pattern(s): [2023-03-17T02:17:41.706Z] Archives upload complete. [2023-03-17T02:17:41.706Z] INFO: archiving logs to Nexus