Pull request #1307 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc0cae4dbee7797f1e968ad66538ca5df50e257d+d7de237c874a90e81091b377f7571cc3981ed0ab (08547f1cf4abaf010cdb5463f2e22914753e17e3) 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-ssh15718788999656329768.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8676142005379382047.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1307/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-1307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3113137227259590292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2361766401265481667.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-1307/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-1307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10062387487249477682.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4957’ Running on prd-ubuntu20.04-docker-8c-8g-4958 in /w/workspace/gexfoundry_device-sdk-go_PR-1307 [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-1307 # 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/1307/head:refs/remotes/origin/PR-1307 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit cc0cae4dbee7797f1e968ad66538ca5df50e257d Merge succeeded, producing cc0cae4dbee7797f1e968ad66538ca5df50e257d Checking out Revision cc0cae4dbee7797f1e968ad66538ca5df50e257d (PR-1307) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f cc0cae4dbee7797f1e968ad66538ca5df50e257d # 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 d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc0cae4dbee7797f1e968ad66538ca5df50e257d # timeout=10 > git rev-list --no-walk 79355e312bfe44d179a53fdb703147f62f46463b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T17:35:03.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T17:35:03.296Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T17:35:03.315Z] ========================================================= [2023-02-07T17:35:03.315Z] EdgeX Global Pipelines Version Info [2023-02-07T17:35:03.315Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:35:04.024Z] ------------------- [2023-02-07T17:35:04.024Z] stable info: [2023-02-07T17:35:04.024Z] ------------------- [2023-02-07T17:35:04.024Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T17:35:04.024Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T17:35:04.024Z] Message: update stable to v1.0.244 [2023-02-07T17:35:04.594Z] ------------------- [2023-02-07T17:35:04.594Z] experimental info: [2023-02-07T17:35:04.594Z] ------------------- [2023-02-07T17:35:04.594Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T17:35:04.595Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T17:35:04.595Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T17:35:04.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-07T17:35:04.757Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-07T17:35:04.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T17:35:04.791Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T17:35:04.800Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T17:35:04.808Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T17:35:04.819Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T17:35:04.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-07T17:35:04.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T17:35:04.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T17:35:04.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T17:35:04.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-07T17:35:04.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T17:35:04.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T17:35:04.914Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T17:35:04.985Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T17:35:04.998Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T17:35:05.008Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T17:35:05.017Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T17:35:05.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T17:35:05.034Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-07T17:35:05.042Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-07T17:35:05.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T17:35:05.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T17:35:05.075Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T17:35:05.088Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T17:35:05.096Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T17:35:05.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1307 [Pipeline] echo [2023-02-07T17:35:05.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1307 [Pipeline] echo [2023-02-07T17:35:05.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1307 [Pipeline] echo [2023-02-07T17:35:05.130Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc0cae4dbee7797f1e968ad66538ca5df50e257d [Pipeline] echo [2023-02-07T17:35:05.142Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc0cae4 [Pipeline] echo [2023-02-07T17:35:05.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T17:35:05.197Z] provisioning config files... [2023-02-07T17:35:05.212Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config14064545872088545032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:35:05.517Z] ---> docker-login.sh [2023-02-07T17:35:05.517Z] nexus3.edgexfoundry.org:10001 [2023-02-07T17:35:05.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:05.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:05.778Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:05.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:05.778Z] [2023-02-07T17:35:05.778Z] Login Succeeded [2023-02-07T17:35:05.778Z] nexus3.edgexfoundry.org:10002 [2023-02-07T17:35:06.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:06.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:06.039Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:06.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:06.039Z] [2023-02-07T17:35:06.039Z] Login Succeeded [2023-02-07T17:35:06.039Z] nexus3.edgexfoundry.org:10003 [2023-02-07T17:35:06.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:06.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:06.039Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:06.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:06.039Z] [2023-02-07T17:35:06.039Z] Login Succeeded [2023-02-07T17:35:06.039Z] nexus3.edgexfoundry.org:10004 [2023-02-07T17:35:06.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:06.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:06.300Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:06.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:06.300Z] [2023-02-07T17:35:06.300Z] Login Succeeded [2023-02-07T17:35:06.300Z] docker.io [2023-02-07T17:35:06.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:06.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:06.561Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:06.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:06.561Z] [2023-02-07T17:35:06.561Z] Login Succeeded [2023-02-07T17:35:06.561Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T17:35:06.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T17:35:06.933Z] + git rev-list -1 --merges cc0cae4dbee7797f1e968ad66538ca5df50e257d~1..cc0cae4dbee7797f1e968ad66538ca5df50e257d [Pipeline] echo [2023-02-07T17:35:06.987Z] -----------> git rev-list -1 --merges cc0cae4dbee7797f1e968ad66538ca5df50e257d~1..cc0cae4dbee7797f1e968ad66538ca5df50e257d cc0cae4dbee7797f1e968ad66538ca5df50e257d [false] [Pipeline] sh [2023-02-07T17:35:07.273Z] + git log --format=format:%s -1 cc0cae4dbee7797f1e968ad66538ca5df50e257d [Pipeline] echo [2023-02-07T17:35:07.289Z] ========================================================= [2023-02-07T17:35:07.289Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T17:35:07.289Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T17:35:07.625Z] + git log --format=format:%s -1 cc0cae4dbee7797f1e968ad66538ca5df50e257d [Pipeline] echo [2023-02-07T17:35:07.638Z] [semverPrep] GIT_COMMIT: cc0cae4dbee7797f1e968ad66538ca5df50e257d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-07T17:35:07.649Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T17:35:07.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T17:35:07.995Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T17:35:07.995Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T17:35:07.995Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T17:35:07.995Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T17:35:07.995Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T17:35:07.995Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:35:08.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T17:35:08.341Z] [2023-02-07T17:35:08.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:35:08.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T17:35:08.649Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T17:35:08.649Z] b85a868b505f: Pulling fs layer [2023-02-07T17:35:08.649Z] e2be974225ed: Pulling fs layer [2023-02-07T17:35:08.649Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T17:35:08.649Z] 988bab9f4d93: Pulling fs layer [2023-02-07T17:35:08.649Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T17:35:08.649Z] eaf3925da568: Pulling fs layer [2023-02-07T17:35:08.649Z] bab4dde63d76: Pulling fs layer [2023-02-07T17:35:08.649Z] bde34c3a00c8: Pulling fs layer [2023-02-07T17:35:08.649Z] b352a97aabf1: Pulling fs layer [2023-02-07T17:35:08.649Z] 4872d77fe225: Pulling fs layer [2023-02-07T17:35:08.649Z] 5851b861e8e6: Pulling fs layer [2023-02-07T17:35:08.649Z] 988bab9f4d93: Waiting [2023-02-07T17:35:08.649Z] 1469e6f7b9e6: Waiting [2023-02-07T17:35:08.649Z] eaf3925da568: Waiting [2023-02-07T17:35:08.649Z] bab4dde63d76: Waiting [2023-02-07T17:35:08.649Z] bde34c3a00c8: Waiting [2023-02-07T17:35:08.649Z] b352a97aabf1: Waiting [2023-02-07T17:35:08.649Z] 4872d77fe225: Waiting [2023-02-07T17:35:08.649Z] 5851b861e8e6: Waiting [2023-02-07T17:35:08.649Z] e2be974225ed: Download complete [2023-02-07T17:35:08.649Z] 988bab9f4d93: Verifying Checksum [2023-02-07T17:35:08.649Z] 988bab9f4d93: Download complete [2023-02-07T17:35:08.915Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T17:35:08.915Z] 1469e6f7b9e6: Download complete [2023-02-07T17:35:08.915Z] eaf3925da568: Verifying Checksum [2023-02-07T17:35:08.915Z] eaf3925da568: Download complete [2023-02-07T17:35:08.915Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T17:35:08.915Z] 339a4e72a1f5: Download complete [2023-02-07T17:35:08.915Z] bde34c3a00c8: Verifying Checksum [2023-02-07T17:35:08.915Z] bde34c3a00c8: Download complete [2023-02-07T17:35:08.915Z] b352a97aabf1: Verifying Checksum [2023-02-07T17:35:09.175Z] 4872d77fe225: Verifying Checksum [2023-02-07T17:35:09.175Z] 4872d77fe225: Download complete [2023-02-07T17:35:09.175Z] 5851b861e8e6: Verifying Checksum [2023-02-07T17:35:09.175Z] 5851b861e8e6: Download complete [2023-02-07T17:35:09.175Z] b85a868b505f: Download complete [2023-02-07T17:35:09.435Z] bab4dde63d76: Verifying Checksum [2023-02-07T17:35:09.435Z] bab4dde63d76: Download complete [2023-02-07T17:35:10.373Z] b85a868b505f: Pull complete [2023-02-07T17:35:10.633Z] e2be974225ed: Pull complete [2023-02-07T17:35:11.203Z] 339a4e72a1f5: Pull complete [2023-02-07T17:35:11.203Z] 988bab9f4d93: Pull complete [2023-02-07T17:35:11.462Z] 1469e6f7b9e6: Pull complete [2023-02-07T17:35:11.462Z] eaf3925da568: Pull complete [2023-02-07T17:35:13.367Z] bab4dde63d76: Pull complete [2023-02-07T17:35:13.367Z] bde34c3a00c8: Pull complete [2023-02-07T17:35:13.626Z] b352a97aabf1: Pull complete [2023-02-07T17:35:13.626Z] 4872d77fe225: Pull complete [2023-02-07T17:35:13.626Z] 5851b861e8e6: Pull complete [2023-02-07T17:35:13.626Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T17:35:13.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T17:35:13.627Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:35:13.714Z] prd-ubuntu20.04-docker-8c-8g-4958 does not seem to be running inside a container [2023-02-07T17:35:13.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T17:35:15.795Z] $ docker top 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b -eo pid,comm [2023-02-07T17:35:15.848Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-07T17:35:15.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T17:35:15.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T17:35:15.882Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T17:35:16.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T17:35:16.025Z] $ docker exec 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b ssh-agent [2023-02-07T17:35:16.131Z] SSH_AUTH_SOCK=/tmp/ssh-2yY8lMErMjtZ/agent.32 [2023-02-07T17:35:16.131Z] SSH_AGENT_PID=38 [2023-02-07T17:35:16.137Z] Running ssh-add (command line suppressed) [2023-02-07T17:35:16.240Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_2198575353359216305.key (/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_2198575353359216305.key) [2023-02-07T17:35:16.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T17:35:16.540Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T17:35:16.554Z] $ docker exec --env ******** --env ******** 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b ssh-agent -k [2023-02-07T17:35:16.649Z] unset SSH_AUTH_SOCK; [2023-02-07T17:35:16.650Z] unset SSH_AGENT_PID; [2023-02-07T17:35:16.650Z] echo Agent pid 38 killed; [2023-02-07T17:35:16.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T17:35:16.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T17:35:16.692Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T17:35:16.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T17:35:16.809Z] $ docker exec 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b ssh-agent [2023-02-07T17:35:16.922Z] SSH_AUTH_SOCK=/tmp/ssh-bYpv8UQiiojm/agent.70 [2023-02-07T17:35:16.922Z] SSH_AGENT_PID=76 [2023-02-07T17:35:16.928Z] Running ssh-add (command line suppressed) [2023-02-07T17:35:17.048Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_7975237521851735257.key (/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/private_key_7975237521851735257.key) [2023-02-07T17:35:17.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T17:35:17.354Z] + git semver init [2023-02-07T17:35:17.614Z] 2023-02-07 17:35:17,579 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T17:35:17.614Z] 2023-02-07 17:35:17,581 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver [2023-02-07T17:35:17.614Z] 2023-02-07 17:35:17,581 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver [2023-02-07T17:35:17.614Z] 2023-02-07 17:35:17,582 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1307, universal_newlines=False, shell=None, istream=None) [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,610 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.git/info/exclude [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,611 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver/PR-1307 with force:False [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,611 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver/PR-1307 [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,615 [execute] INFO git cat-file --batch-check [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,621 [execute] INFO git cat-file --batch [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T17:35:18.995Z] 2023-02-07 17:35:18,627 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1307/.semver/PR-1307 [2023-02-07T17:35:18.995Z] 0.0.0 [Pipeline] } [2023-02-07T17:35:19.006Z] $ docker exec --env ******** --env ******** 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b ssh-agent -k [2023-02-07T17:35:19.145Z] unset SSH_AUTH_SOCK; [2023-02-07T17:35:19.146Z] unset SSH_AGENT_PID; [2023-02-07T17:35:19.146Z] echo Agent pid 76 killed; [2023-02-07T17:35:19.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T17:35:19.463Z] + git semver [Pipeline] } [2023-02-07T17:35:20.052Z] $ docker stop --time=1 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b [2023-02-07T17:35:21.432Z] $ docker rm -f --volumes 7bbfcedb3c8ef4848103bb4d6c19a5a93fca28919a90163844bba4ffad48bd2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T17:35:21.770Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T17:35:21.995Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T17:35:21.999Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T17:35:22.158Z] provisioning config files... [2023-02-07T17:35:22.169Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config2419699372681485105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:35:22.470Z] ---> docker-login.sh [2023-02-07T17:35:22.470Z] nexus3.edgexfoundry.org:10001 [2023-02-07T17:35:22.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:22.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:22.470Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:22.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:22.470Z] [2023-02-07T17:35:22.470Z] Login Succeeded [2023-02-07T17:35:22.470Z] nexus3.edgexfoundry.org:10002 [2023-02-07T17:35:22.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:22.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:22.470Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:22.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:22.470Z] [2023-02-07T17:35:22.470Z] Login Succeeded [2023-02-07T17:35:22.470Z] nexus3.edgexfoundry.org:10003 [2023-02-07T17:35:22.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:22.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:22.729Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:22.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:22.729Z] [2023-02-07T17:35:22.729Z] Login Succeeded [2023-02-07T17:35:22.729Z] nexus3.edgexfoundry.org:10004 [2023-02-07T17:35:22.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:22.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:22.729Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:22.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:22.729Z] [2023-02-07T17:35:22.729Z] Login Succeeded [2023-02-07T17:35:22.729Z] docker.io [2023-02-07T17:35:22.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:35:22.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:35:22.989Z] Configure a credential helper to remove this warning. See [2023-02-07T17:35:22.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:35:22.989Z] [2023-02-07T17:35:22.989Z] Login Succeeded [2023-02-07T17:35:22.989Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T17:35:22.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T17:35:23.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T17:35:23.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T17:35:23.075Z] ========================================================= [2023-02-07T17:35:23.075Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T17:35:23.075Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:35:23.377Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-07T17:35:23.377Z] Sending build context to Docker daemon 10.53MB [2023-02-07T17:35:23.377Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T17:35:23.377Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T17:35:23.377Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T17:35:23.377Z] 213ec9aee27d: Pulling fs layer [2023-02-07T17:35:23.377Z] 4583459ba037: Pulling fs layer [2023-02-07T17:35:23.377Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T17:35:23.377Z] 53926ce57604: Pulling fs layer [2023-02-07T17:35:23.377Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T17:35:23.377Z] 22ff95d597cd: Pulling fs layer [2023-02-07T17:35:23.377Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T17:35:23.377Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T17:35:23.377Z] a7acece74701: Pulling fs layer [2023-02-07T17:35:23.377Z] 53926ce57604: Waiting [2023-02-07T17:35:23.377Z] 21b2b0c7a3f4: Waiting [2023-02-07T17:35:23.377Z] 22ff95d597cd: Waiting [2023-02-07T17:35:23.377Z] 12d6caf4c0d1: Waiting [2023-02-07T17:35:23.377Z] 96b7cbca73a9: Waiting [2023-02-07T17:35:23.377Z] a7acece74701: Waiting [2023-02-07T17:35:23.637Z] 93c1e223e6f2: Download complete [2023-02-07T17:35:23.637Z] 4583459ba037: Download complete [2023-02-07T17:35:23.637Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T17:35:23.637Z] 21b2b0c7a3f4: Download complete [2023-02-07T17:35:23.637Z] 213ec9aee27d: Verifying Checksum [2023-02-07T17:35:23.637Z] 213ec9aee27d: Download complete [2023-02-07T17:35:23.637Z] 12d6caf4c0d1: Download complete [2023-02-07T17:35:23.901Z] 213ec9aee27d: Pull complete [2023-02-07T17:35:23.901Z] 4583459ba037: Pull complete [2023-02-07T17:35:23.901Z] 93c1e223e6f2: Pull complete [2023-02-07T17:35:24.510Z] a7acece74701: Verifying Checksum [2023-02-07T17:35:24.510Z] a7acece74701: Download complete [2023-02-07T17:35:24.772Z] 53926ce57604: Verifying Checksum [2023-02-07T17:35:24.772Z] 53926ce57604: Download complete [2023-02-07T17:35:25.031Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T17:35:25.031Z] 96b7cbca73a9: Download complete [2023-02-07T17:35:29.232Z] 53926ce57604: Pull complete [2023-02-07T17:35:29.232Z] 21b2b0c7a3f4: Pull complete [2023-02-07T17:35:29.232Z] 22ff95d597cd: Pull complete [2023-02-07T17:35:29.232Z] 12d6caf4c0d1: Pull complete [2023-02-07T17:35:31.769Z] 96b7cbca73a9: Pull complete [2023-02-07T17:35:32.345Z] a7acece74701: Pull complete [2023-02-07T17:35:32.345Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T17:35:32.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T17:35:32.345Z] ---> db6d94c90886 [2023-02-07T17:35:32.345Z] Step 3/10 : ARG MAKE=make build [2023-02-07T17:35:34.889Z] ---> Running in 6332b018ad43 [2023-02-07T17:35:34.889Z] Removing intermediate container 6332b018ad43 [2023-02-07T17:35:34.889Z] ---> a952bc4e7f8f [2023-02-07T17:35:34.889Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-07T17:35:34.889Z] ---> Running in 041fa8f465cc [2023-02-07T17:35:34.889Z] Removing intermediate container 041fa8f465cc [2023-02-07T17:35:34.889Z] ---> 1713f4b0dd37 [2023-02-07T17:35:34.889Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T17:35:34.889Z] ---> Running in b10ebe43d2dd [2023-02-07T17:35:34.889Z] Removing intermediate container b10ebe43d2dd [2023-02-07T17:35:34.889Z] ---> c5168552431d [2023-02-07T17:35:34.889Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-07T17:35:35.149Z] ---> Running in 5e82d12d62e9 [2023-02-07T17:35:35.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T17:35:35.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T17:35:35.667Z] OK: 211 MiB in 51 packages [2023-02-07T17:35:36.237Z] Removing intermediate container 5e82d12d62e9 [2023-02-07T17:35:36.237Z] ---> 7efa41a674fd [2023-02-07T17:35:36.237Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T17:35:36.237Z] ---> e07bf9a54d67 [2023-02-07T17:35:36.237Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T17:35:36.237Z] ---> Running in 19fdfcadfec6 [2023-02-07T17:35:37.106Z] Still waiting to schedule task [2023-02-07T17:35:37.107Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4959’ is offline [2023-02-07T17:36:08.354Z] Removing intermediate container 19fdfcadfec6 [2023-02-07T17:36:08.354Z] ---> 4b0734be1057 [2023-02-07T17:36:08.354Z] Step 9/10 : COPY . . [2023-02-07T17:36:08.354Z] ---> 1d7037ea730b [2023-02-07T17:36:08.354Z] Step 10/10 : RUN ${MAKE} [2023-02-07T17:36:08.354Z] ---> Running in 92ac17bacbe2 [2023-02-07T17:36:08.354Z] noop [2023-02-07T17:36:08.613Z] Removing intermediate container 92ac17bacbe2 [2023-02-07T17:36:08.613Z] ---> 1fac8114d053 [2023-02-07T17:36:08.613Z] Successfully built 1fac8114d053 [2023-02-07T17:36:08.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:36:08.922Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T17:36:08.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:36:08.988Z] prd-ubuntu20.04-docker-8c-8g-4958 does not seem to be running inside a container [2023-02-07T17:36:09.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T17:36:09.436Z] $ docker top 50fb52ef3d02948ff71f794ec248a4ae0c04d49032ef0f1507a8d8a6fd72c829 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T17:36:09.786Z] + go version [2023-02-07T17:36:09.786Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T17:36:09.806Z] $ docker stop --time=1 50fb52ef3d02948ff71f794ec248a4ae0c04d49032ef0f1507a8d8a6fd72c829 [2023-02-07T17:36:11.136Z] $ docker rm -f --volumes 50fb52ef3d02948ff71f794ec248a4ae0c04d49032ef0f1507a8d8a6fd72c829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:36:11.510Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T17:36:11.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:36:11.577Z] prd-ubuntu20.04-docker-8c-8g-4958 does not seem to be running inside a container [2023-02-07T17:36:11.610Z] $ 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-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T17:36:11.972Z] $ docker top 3bc7740f032f862a3b527f0e08aeff8853b9b49a0c0ff21afa822c23c57743f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T17:36:12.321Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1307 [Pipeline] fileExists [Pipeline] sh [2023-02-07T17:36:12.619Z] + make test [2023-02-07T17:36:12.619Z] go test -race -coverprofile=coverage.out ./... [2023-02-07T17:36:19.181Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-07T17:36:34.056Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-02-07T17:36:34.056Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.078s coverage: 78.9% of statements [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-07T17:36:34.056Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.115s coverage: 77.8% of statements [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-07T17:36:34.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-07T17:36:34.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.125s coverage: 59.8% of statements [2023-02-07T17:36:34.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-07T17:36:34.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-07T17:36:34.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-07T17:36:34.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.2% of statements [2023-02-07T17:36:34.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-07T17:36:34.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-07T17:36:34.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.808s coverage: 89.2% of statements [2023-02-07T17:36:34.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-07T17:36:34.575Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements [2023-02-07T17:36:34.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-07T17:36:52.669Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-07T17:36:52.669Z] GO111MODULE=on go vet ./... [2023-02-07T17:36:55.200Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T17:36:55.200Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T17:36:55.200Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-07T17:36:55.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T17:36:55.230Z] $ docker stop --time=1 3bc7740f032f862a3b527f0e08aeff8853b9b49a0c0ff21afa822c23c57743f6 [2023-02-07T17:36:57.820Z] $ docker rm -f --volumes 3bc7740f032f862a3b527f0e08aeff8853b9b49a0c0ff21afa822c23c57743f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T17:36:58.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T17:36:58.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T17:36:58.881Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T17:36:59.172Z] + ls -al . [2023-02-07T17:36:59.172Z] total 272 [2023-02-07T17:36:59.172Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 17:36 . [2023-02-07T17:36:59.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:35 .. [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 17:35 .dockerignore [2023-02-07T17:36:59.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 17:36 .git [2023-02-07T17:36:59.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:35 .github [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 17:35 .gitignore [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 17:35 .golangci.yml [2023-02-07T17:36:59.172Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 17:35 .semver [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 17:35 CHANGELOG.md [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 17:35 GOVERNANCE.md [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 17:35 Jenkinsfile [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 17:35 LICENSE [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 17:35 Makefile [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 17:35 OWNERS.md [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 17:35 README.md [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 17:35 VERSION [2023-02-07T17:36:59.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:35 bin [2023-02-07T17:36:59.172Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 17:36 coverage.out [2023-02-07T17:36:59.172Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 17:35 example [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 17:35 go.mod [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 17:35 go.sum [2023-02-07T17:36:59.172Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 17:35 internal [2023-02-07T17:36:59.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 17:35 openapi [2023-02-07T17:36:59.172Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 17:35 pkg [2023-02-07T17:36:59.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:35 snap [2023-02-07T17:36:59.172Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:36:59.477Z] + 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=cc0cae4dbee7797f1e968ad66538ca5df50e257d --label arch=amd64 --label version=0.0.0 . [2023-02-07T17:36:59.477Z] Sending build context to Docker daemon 10.63MB [2023-02-07T17:36:59.477Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T17:36:59.477Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-07T17:36:59.477Z] ---> 1fac8114d053 [2023-02-07T17:36:59.477Z] Step 3/23 : ARG MAKE=make build [2023-02-07T17:36:59.736Z] ---> Running in 32ebcd5b0ecb [2023-02-07T17:36:59.736Z] Removing intermediate container 32ebcd5b0ecb [2023-02-07T17:36:59.736Z] ---> c1804b434245 [2023-02-07T17:36:59.736Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-07T17:36:59.736Z] ---> Running in ac67bbcb3d68 [2023-02-07T17:36:59.736Z] Removing intermediate container ac67bbcb3d68 [2023-02-07T17:36:59.736Z] ---> 657f43d1763c [2023-02-07T17:36:59.736Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T17:36:59.995Z] ---> Running in 774b242a522d [2023-02-07T17:36:59.995Z] Removing intermediate container 774b242a522d [2023-02-07T17:36:59.995Z] ---> ef9ad7a51fab [2023-02-07T17:36:59.995Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-07T17:36:59.995Z] ---> Running in 2d787cba02d2 [2023-02-07T17:37:00.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T17:37:00.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T17:37:00.772Z] OK: 211 MiB in 51 packages [2023-02-07T17:37:01.339Z] Removing intermediate container 2d787cba02d2 [2023-02-07T17:37:01.339Z] ---> e859d1e28a5d [2023-02-07T17:37:01.339Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-07T17:37:01.339Z] ---> 4f66d742b890 [2023-02-07T17:37:01.339Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T17:37:01.339Z] ---> Running in 240d8587778c [2023-02-07T17:37:02.277Z] Removing intermediate container 240d8587778c [2023-02-07T17:37:02.277Z] ---> 0d1c9ebda6ff [2023-02-07T17:37:02.277Z] Step 9/23 : COPY . . [2023-02-07T17:37:02.843Z] ---> 9589128db846 [2023-02-07T17:37:02.843Z] Step 10/23 : RUN ${MAKE} [2023-02-07T17:37:02.843Z] ---> Running in 87510dc1a006 [2023-02-07T17:37:03.101Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-07T17:37:25.045Z] Removing intermediate container 87510dc1a006 [2023-02-07T17:37:25.045Z] ---> c4ba478ec179 [2023-02-07T17:37:25.045Z] Step 11/23 : FROM alpine:3.16 [2023-02-07T17:37:25.045Z] 3.16: Pulling from library/alpine [2023-02-07T17:37:25.045Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T17:37:25.045Z] ca7dd9ec2225: Download complete [2023-02-07T17:37:25.045Z] ca7dd9ec2225: Pull complete [2023-02-07T17:37:25.045Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T17:37:25.045Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T17:37:25.045Z] ---> bfe296a52501 [2023-02-07T17:37:25.045Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T17:37:25.045Z] ---> Running in be991013f5d8 [2023-02-07T17:37:25.045Z] Removing intermediate container be991013f5d8 [2023-02-07T17:37:25.045Z] ---> 12bf18469d36 [2023-02-07T17:37:25.045Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-07T17:37:25.045Z] ---> Running in 4fd1a413d430 [2023-02-07T17:37:25.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T17:37:25.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T17:37:25.045Z] OK: 6 MiB in 14 packages [2023-02-07T17:37:25.045Z] Removing intermediate container 4fd1a413d430 [2023-02-07T17:37:25.045Z] ---> 9e5b9a06bc36 [2023-02-07T17:37:25.045Z] Step 14/23 : WORKDIR / [2023-02-07T17:37:25.045Z] ---> Running in 59b86f28aca7 [2023-02-07T17:37:25.045Z] Removing intermediate container 59b86f28aca7 [2023-02-07T17:37:25.045Z] ---> 5611df4fced6 [2023-02-07T17:37:25.045Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-07T17:37:25.045Z] ---> 8debea287dda [2023-02-07T17:37:25.045Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-07T17:37:25.306Z] ---> 99e73ef99fda [2023-02-07T17:37:25.306Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-07T17:37:25.565Z] ---> 931acc8395ee [2023-02-07T17:37:25.565Z] Step 18/23 : EXPOSE 59999 [2023-02-07T17:37:25.565Z] ---> Running in 789af93af902 [2023-02-07T17:37:25.565Z] Removing intermediate container 789af93af902 [2023-02-07T17:37:25.565Z] ---> d3ffae31f76a [2023-02-07T17:37:25.565Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-07T17:37:25.825Z] ---> Running in 680c4f0150e0 [2023-02-07T17:37:25.825Z] Removing intermediate container 680c4f0150e0 [2023-02-07T17:37:25.825Z] ---> 59ceef24dae0 [2023-02-07T17:37:25.825Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T17:37:25.825Z] ---> Running in 4135fae3246f [2023-02-07T17:37:25.825Z] Removing intermediate container 4135fae3246f [2023-02-07T17:37:25.825Z] ---> 72d8655fd1d5 [2023-02-07T17:37:25.825Z] Step 21/23 : LABEL arch=amd64 [2023-02-07T17:37:26.083Z] ---> Running in 71a292257fcb [2023-02-07T17:37:26.083Z] Removing intermediate container 71a292257fcb [2023-02-07T17:37:26.083Z] ---> d52191b02774 [2023-02-07T17:37:26.083Z] Step 22/23 : LABEL git_sha=cc0cae4dbee7797f1e968ad66538ca5df50e257d [2023-02-07T17:37:26.083Z] ---> Running in 7165e0a9fdb6 [2023-02-07T17:37:26.083Z] Removing intermediate container 7165e0a9fdb6 [2023-02-07T17:37:26.083Z] ---> a2761f297a5d [2023-02-07T17:37:26.083Z] Step 23/23 : LABEL version=0.0.0 [2023-02-07T17:37:26.083Z] ---> Running in e202d6c1f6de [2023-02-07T17:37:26.349Z] Removing intermediate container e202d6c1f6de [2023-02-07T17:37:26.349Z] ---> 7d5b81a2001b [2023-02-07T17:37:26.349Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T17:37:26.349Z] Successfully built 7d5b81a2001b [2023-02-07T17:37:26.349Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:37:26.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T17:37:26.789Z] [2023-02-07T17:37:26.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:37:27.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T17:37:27.091Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T17:37:27.091Z] 5eb5b503b376: Pulling fs layer [2023-02-07T17:37:27.091Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T17:37:27.091Z] ec43610c2a17: Pulling fs layer [2023-02-07T17:37:27.091Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T17:37:27.091Z] 33b1e0a273af: Pulling fs layer [2023-02-07T17:37:27.091Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T17:37:27.091Z] 2f39f015ded8: Pulling fs layer [2023-02-07T17:37:27.091Z] 3a2ae6a8a46f: Waiting [2023-02-07T17:37:27.091Z] 33b1e0a273af: Waiting [2023-02-07T17:37:27.091Z] 5d3b04190fa2: Waiting [2023-02-07T17:37:27.091Z] 2f39f015ded8: Waiting [2023-02-07T17:37:27.091Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T17:37:27.091Z] 5c69ac0246d0: Download complete [2023-02-07T17:37:27.091Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T17:37:27.091Z] 3a2ae6a8a46f: Download complete [2023-02-07T17:37:27.353Z] 33b1e0a273af: Verifying Checksum [2023-02-07T17:37:27.353Z] 33b1e0a273af: Download complete [2023-02-07T17:37:27.353Z] 5d3b04190fa2: Download complete [2023-02-07T17:37:27.353Z] ec43610c2a17: Download complete [2023-02-07T17:37:27.353Z] 5eb5b503b376: Download complete [2023-02-07T17:37:28.300Z] 2f39f015ded8: Download complete [2023-02-07T17:37:28.559Z] 5eb5b503b376: Pull complete [2023-02-07T17:37:28.559Z] 5c69ac0246d0: Pull complete [2023-02-07T17:37:29.123Z] ec43610c2a17: Pull complete [2023-02-07T17:37:29.123Z] 3a2ae6a8a46f: Pull complete [2023-02-07T17:37:29.381Z] 33b1e0a273af: Pull complete [2023-02-07T17:37:29.381Z] 5d3b04190fa2: Pull complete [2023-02-07T17:37:33.564Z] 2f39f015ded8: Pull complete [2023-02-07T17:37:33.564Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T17:37:33.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T17:37:33.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:37:33.642Z] prd-ubuntu20.04-docker-8c-8g-4958 does not seem to be running inside a container [2023-02-07T17:37:33.675Z] $ 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-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T17:37:35.289Z] $ docker top 7498171e411739b0191403c191497cb156f8776c0d051391049f463acd59d1c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:37:35.651Z] ---> job-cost.sh [2023-02-07T17:37:35.651Z] lf-activate-venv: SKIPPING [2023-02-07T17:37:35.651Z] INFO: No Stack... [2023-02-07T17:37:37.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T17:37:37.029Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T17:37:37.317Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives/cost.csv [2023-02-07T17:37:37.317Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T17:37:37.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] [2023-02-07T17:37:37.335Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] did not exist. Created. [2023-02-07T17:37:37.335Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T17:37:37.643Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T17:37:37.667Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T17:37:37.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T17:37:37.694Z] $ docker stop --time=1 7498171e411739b0191403c191497cb156f8776c0d051391049f463acd59d1c0 [2023-02-07T17:37:38.883Z] $ docker rm -f --volumes 7498171e411739b0191403c191497cb156f8776c0d051391049f463acd59d1c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T17:38:03.738Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4961 in /w/workspace/gexfoundry_device-sdk-go_PR-1307 [Pipeline] { [Pipeline] ws [2023-02-07T17:38:03.751Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-07T17:38:03.778Z] The recommended git tool is: git [2023-02-07T17:38:09.334Z] using credential edgex-jenkins-ssh [2023-02-07T17:38:09.348Z] Cloning the remote Git repository [2023-02-07T17:38:09.384Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T17:38:09.452Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-07T17:38:09.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T17:38:09.582Z] > git --version # timeout=10 [2023-02-07T17:38:09.605Z] > git --version # 'git version 2.25.1' [2023-02-07T17:38:09.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T17:38:09.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T17:38:11.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-07T17:38:11.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T17:38:12.025Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-07T17:38:12.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T17:38:12.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T17:38:12.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1307/head:refs/remotes/origin/PR-1307 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T17:38:12.661Z] Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit cc0cae4dbee7797f1e968ad66538ca5df50e257d [2023-02-07T17:38:12.912Z] Merge succeeded, producing cc0cae4dbee7797f1e968ad66538ca5df50e257d [2023-02-07T17:38:12.912Z] Checking out Revision cc0cae4dbee7797f1e968ad66538ca5df50e257d (PR-1307) [2023-02-07T17:38:13.425Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T17:38:12.676Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T17:38:12.699Z] > git checkout -f cc0cae4dbee7797f1e968ad66538ca5df50e257d # timeout=10 [2023-02-07T17:38:12.806Z] > git remote # timeout=10 [2023-02-07T17:38:12.826Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T17:38:12.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T17:38:12.864Z] > git merge d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 [2023-02-07T17:38:12.890Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T17:38:12.917Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T17:38:12.932Z] > git checkout -f cc0cae4dbee7797f1e968ad66538ca5df50e257d # timeout=10 [2023-02-07T17:38:14.291Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T17:38:14.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T17:38:14.291Z] Dload Upload Total Spent Left Speed [2023-02-07T17:38:14.291Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-02-07T17:38:14.878Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T17:38:15.226Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T17:38:15.226Z] + sudo tee /etc/docker/daemon.new [2023-02-07T17:38:15.226Z] { [2023-02-07T17:38:15.226Z] "registry-mirrors": [ [2023-02-07T17:38:15.226Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T17:38:15.226Z] ], [2023-02-07T17:38:15.226Z] "bip": "10.250.0.254/24", [2023-02-07T17:38:15.226Z] "hosts": [ [2023-02-07T17:38:15.226Z] "tcp://0.0.0.0:5555", [2023-02-07T17:38:15.226Z] "unix:///var/run/docker.sock" [2023-02-07T17:38:15.226Z] ], [2023-02-07T17:38:15.226Z] "mtu": 1458, [2023-02-07T17:38:15.226Z] "selinux-enabled": true, [2023-02-07T17:38:15.226Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T17:38:15.226Z] } [Pipeline] sh [2023-02-07T17:38:15.555Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T17:38:15.902Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T17:38:34.174Z] provisioning config files... [2023-02-07T17:38:34.200Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9674458573012273977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:38:34.548Z] ---> docker-login.sh [2023-02-07T17:38:34.548Z] nexus3.edgexfoundry.org:10001 [2023-02-07T17:38:35.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:38:35.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:38:35.400Z] Configure a credential helper to remove this warning. See [2023-02-07T17:38:35.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:38:35.400Z] [2023-02-07T17:38:35.400Z] Login Succeeded [2023-02-07T17:38:35.400Z] nexus3.edgexfoundry.org:10002 [2023-02-07T17:38:35.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:38:35.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:38:35.670Z] Configure a credential helper to remove this warning. See [2023-02-07T17:38:35.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:38:35.670Z] [2023-02-07T17:38:35.670Z] Login Succeeded [2023-02-07T17:38:35.670Z] nexus3.edgexfoundry.org:10003 [2023-02-07T17:38:35.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:38:36.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:38:36.210Z] Configure a credential helper to remove this warning. See [2023-02-07T17:38:36.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:38:36.210Z] [2023-02-07T17:38:36.210Z] Login Succeeded [2023-02-07T17:38:36.211Z] nexus3.edgexfoundry.org:10004 [2023-02-07T17:38:36.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:38:36.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:38:36.479Z] Configure a credential helper to remove this warning. See [2023-02-07T17:38:36.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:38:36.479Z] [2023-02-07T17:38:36.479Z] Login Succeeded [2023-02-07T17:38:36.479Z] docker.io [2023-02-07T17:38:36.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T17:38:37.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T17:38:37.017Z] Configure a credential helper to remove this warning. See [2023-02-07T17:38:37.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T17:38:37.017Z] [2023-02-07T17:38:37.017Z] Login Succeeded [2023-02-07T17:38:37.017Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T17:38:37.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T17:38:37.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T17:38:37.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T17:38:37.317Z] ========================================================= [2023-02-07T17:38:37.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T17:38:37.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:38:37.663Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-07T17:38:40.265Z] Sending build context to Docker daemon 5.659MB [2023-02-07T17:38:40.265Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T17:38:40.265Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T17:38:40.265Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T17:38:40.265Z] 9b18e9b68314: Pulling fs layer [2023-02-07T17:38:40.265Z] 35d82f9e3411: Pulling fs layer [2023-02-07T17:38:40.265Z] e16973657156: Pulling fs layer [2023-02-07T17:38:40.265Z] fc693d55d65f: Pulling fs layer [2023-02-07T17:38:40.265Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T17:38:40.265Z] dda99020689f: Pulling fs layer [2023-02-07T17:38:40.265Z] db1c61fa0a46: Pulling fs layer [2023-02-07T17:38:40.265Z] 891c053d2c06: Pulling fs layer [2023-02-07T17:38:40.265Z] fc693d55d65f: Waiting [2023-02-07T17:38:40.265Z] 7e9fc2657dce: Waiting [2023-02-07T17:38:40.265Z] dda99020689f: Waiting [2023-02-07T17:38:40.265Z] 891c053d2c06: Waiting [2023-02-07T17:38:40.265Z] db1c61fa0a46: Waiting [2023-02-07T17:38:40.265Z] e16973657156: Verifying Checksum [2023-02-07T17:38:40.265Z] e16973657156: Download complete [2023-02-07T17:38:40.265Z] 35d82f9e3411: Verifying Checksum [2023-02-07T17:38:40.265Z] 35d82f9e3411: Download complete [2023-02-07T17:38:40.265Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T17:38:40.265Z] 7e9fc2657dce: Download complete [2023-02-07T17:38:40.265Z] dda99020689f: Verifying Checksum [2023-02-07T17:38:40.265Z] dda99020689f: Download complete [2023-02-07T17:38:40.265Z] 9b18e9b68314: Verifying Checksum [2023-02-07T17:38:40.265Z] 9b18e9b68314: Download complete [2023-02-07T17:38:41.249Z] 9b18e9b68314: Pull complete [2023-02-07T17:38:41.521Z] 891c053d2c06: Verifying Checksum [2023-02-07T17:38:41.521Z] 891c053d2c06: Download complete [2023-02-07T17:38:41.792Z] 35d82f9e3411: Pull complete [2023-02-07T17:38:42.385Z] e16973657156: Pull complete [2023-02-07T17:38:42.655Z] db1c61fa0a46: Verifying Checksum [2023-02-07T17:38:42.655Z] db1c61fa0a46: Download complete [2023-02-07T17:38:43.245Z] fc693d55d65f: Verifying Checksum [2023-02-07T17:38:43.246Z] fc693d55d65f: Download complete [2023-02-07T17:38:55.609Z] fc693d55d65f: Pull complete [2023-02-07T17:38:55.609Z] 7e9fc2657dce: Pull complete [2023-02-07T17:38:55.609Z] dda99020689f: Pull complete [2023-02-07T17:39:02.316Z] db1c61fa0a46: Pull complete [2023-02-07T17:39:06.675Z] 891c053d2c06: Pull complete [2023-02-07T17:39:06.675Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T17:39:06.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T17:39:06.675Z] ---> f96f9c87975a [2023-02-07T17:39:06.675Z] Step 3/10 : ARG MAKE=make build [2023-02-07T17:39:08.143Z] ---> Running in 9250d66037a7 [2023-02-07T17:39:08.143Z] Removing intermediate container 9250d66037a7 [2023-02-07T17:39:08.143Z] ---> 5e481eb05a70 [2023-02-07T17:39:08.144Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-07T17:39:08.426Z] ---> Running in 5e7ff4af3f2a [2023-02-07T17:39:08.696Z] Removing intermediate container 5e7ff4af3f2a [2023-02-07T17:39:08.696Z] ---> f8d3908c1938 [2023-02-07T17:39:08.696Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T17:39:08.696Z] ---> Running in 69ef1f78a825 [2023-02-07T17:39:08.962Z] Removing intermediate container 69ef1f78a825 [2023-02-07T17:39:08.962Z] ---> 9d65f1abb88f [2023-02-07T17:39:08.962Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-07T17:39:09.233Z] ---> Running in 6374a750e9a4 [2023-02-07T17:39:10.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T17:39:10.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T17:39:11.624Z] OK: 221 MiB in 51 packages [2023-02-07T17:39:12.592Z] Removing intermediate container 6374a750e9a4 [2023-02-07T17:39:12.592Z] ---> 884f40e027aa [2023-02-07T17:39:12.592Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T17:39:13.189Z] ---> 028c878b69b3 [2023-02-07T17:39:13.189Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T17:39:13.189Z] ---> Running in 69ae3b0e8e77 [2023-02-07T17:40:34.847Z] Removing intermediate container 69ae3b0e8e77 [2023-02-07T17:40:34.847Z] ---> 81fe7480f779 [2023-02-07T17:40:34.847Z] Step 9/10 : COPY . . [2023-02-07T17:40:34.847Z] ---> 1210a1e6805c [2023-02-07T17:40:34.847Z] Step 10/10 : RUN ${MAKE} [2023-02-07T17:40:34.847Z] ---> Running in 3bec6d83c99b [2023-02-07T17:40:34.847Z] noop [2023-02-07T17:40:34.847Z] Removing intermediate container 3bec6d83c99b [2023-02-07T17:40:34.847Z] ---> ba418df38d37 [2023-02-07T17:40:34.847Z] Successfully built ba418df38d37 [2023-02-07T17:40:34.847Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:40:35.199Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T17:40:35.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:40:35.403Z] prd-ubuntu20.04-docker-arm64-4c-16g-4961 does not seem to be running inside a container [2023-02-07T17:40:35.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T17:40:36.835Z] $ docker top 18583d551a1c4d7a924e3534784ef71fb2631ec7ea9106ab3ded709032187ac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T17:40:37.707Z] + go version [2023-02-07T17:40:37.707Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T17:40:37.736Z] $ docker stop --time=1 18583d551a1c4d7a924e3534784ef71fb2631ec7ea9106ab3ded709032187ac9 [2023-02-07T17:40:39.455Z] $ docker rm -f --volumes 18583d551a1c4d7a924e3534784ef71fb2631ec7ea9106ab3ded709032187ac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:40:40.026Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T17:40:40.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:40:40.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-4961 does not seem to be running inside a container [2023-02-07T17:40:40.326Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T17:40:41.643Z] $ docker top 77bbdc356f1b9c49e95efb8984d9d798f6b257d72f907fa0ba6a5e3efed0f5bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T17:40:42.510Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-07T17:40:43.171Z] + make test [2023-02-07T17:40:43.172Z] go test -race -coverprofile=coverage.out ./... [2023-02-07T17:41:22.121Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-07T17:43:43.858Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-07T17:43:43.858Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-07T17:43:43.858Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-07T17:43:43.858Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-07T17:43:43.858Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-07T17:43:47.220Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.308s coverage: 27.6% of statements [2023-02-07T17:43:48.188Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.374s coverage: 78.9% of statements [2023-02-07T17:43:48.188Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-07T17:44:00.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.439s coverage: 77.8% of statements [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-07T17:44:00.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.543s coverage: 59.8% of statements [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-07T17:44:00.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.474s coverage: 65.2% of statements [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-07T17:44:00.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.293s coverage: 89.2% of statements [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-07T17:44:00.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.339s coverage: 4.7% of statements [2023-02-07T17:44:00.528Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-07T17:44:01.496Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T17:44:01.496Z] GO111MODULE=on go vet ./... [2023-02-07T17:45:38.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T17:45:38.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T17:45:38.162Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-07T17:45:38.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T17:45:38.201Z] $ docker stop --time=1 77bbdc356f1b9c49e95efb8984d9d798f6b257d72f907fa0ba6a5e3efed0f5bf [2023-02-07T17:45:40.085Z] $ docker rm -f --volumes 77bbdc356f1b9c49e95efb8984d9d798f6b257d72f907fa0ba6a5e3efed0f5bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T17:45:41.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T17:45:41.485Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T17:45:42.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T17:45:42.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T17:45:42.770Z] + ls -al . [2023-02-07T17:45:42.770Z] total 268 [2023-02-07T17:45:42.770Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 17:40 . [2023-02-07T17:45:42.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:38 .. [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 17:38 .dockerignore [2023-02-07T17:45:42.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 17:38 .git [2023-02-07T17:45:42.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:38 .github [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 17:38 .gitignore [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 17:38 .golangci.yml [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 17:38 CHANGELOG.md [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 17:38 GOVERNANCE.md [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 17:38 Jenkinsfile [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 17:38 LICENSE [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 17:38 Makefile [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 17:38 OWNERS.md [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 17:38 README.md [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 17:35 VERSION [2023-02-07T17:45:42.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:38 bin [2023-02-07T17:45:42.770Z] -rw-r--r-- 1 jenkins jenkins 100849 Feb 7 17:44 coverage.out [2023-02-07T17:45:42.770Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 17:38 example [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 17:38 go.mod [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 17:38 go.sum [2023-02-07T17:45:42.770Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 17:38 internal [2023-02-07T17:45:42.770Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 17:38 openapi [2023-02-07T17:45:42.770Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 17:38 pkg [2023-02-07T17:45:42.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:38 snap [2023-02-07T17:45:42.770Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:45:43.110Z] + 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=cc0cae4dbee7797f1e968ad66538ca5df50e257d --label arch=arm64 --label version=0.0.0 . [2023-02-07T17:45:43.697Z] Sending build context to Docker daemon 5.76MB [2023-02-07T17:45:43.697Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T17:45:43.697Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-07T17:45:43.697Z] ---> ba418df38d37 [2023-02-07T17:45:43.697Z] Step 3/23 : ARG MAKE=make build [2023-02-07T17:45:43.697Z] ---> Running in 15fd51848e7f [2023-02-07T17:45:43.969Z] Removing intermediate container 15fd51848e7f [2023-02-07T17:45:43.969Z] ---> ac470a694408 [2023-02-07T17:45:43.969Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-07T17:45:44.238Z] ---> Running in 8718f5638774 [2023-02-07T17:45:44.506Z] Removing intermediate container 8718f5638774 [2023-02-07T17:45:44.506Z] ---> 6d389aa64fd8 [2023-02-07T17:45:44.506Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T17:45:44.506Z] ---> Running in 9c00b1594fe5 [2023-02-07T17:45:44.788Z] Removing intermediate container 9c00b1594fe5 [2023-02-07T17:45:44.788Z] ---> a0af11cd6899 [2023-02-07T17:45:44.788Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-07T17:45:45.065Z] ---> Running in cce9fec4a430 [2023-02-07T17:45:46.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T17:45:46.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T17:45:47.717Z] OK: 221 MiB in 51 packages [2023-02-07T17:45:48.301Z] Removing intermediate container cce9fec4a430 [2023-02-07T17:45:48.301Z] ---> 52c05eb0c7a6 [2023-02-07T17:45:48.301Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-07T17:45:48.883Z] ---> e57c2c1522a7 [2023-02-07T17:45:48.883Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T17:45:48.883Z] ---> Running in ca54b4d61b46 [2023-02-07T17:45:51.468Z] Removing intermediate container ca54b4d61b46 [2023-02-07T17:45:51.468Z] ---> 00d3d767859c [2023-02-07T17:45:51.468Z] Step 9/23 : COPY . . [2023-02-07T17:45:52.876Z] ---> 7d2ad1f13509 [2023-02-07T17:45:52.876Z] Step 10/23 : RUN ${MAKE} [2023-02-07T17:45:52.876Z] ---> Running in 7ca2362486c7 [2023-02-07T17:45:53.839Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-07T17:48:00.509Z] Removing intermediate container 7ca2362486c7 [2023-02-07T17:48:00.509Z] ---> f57c3615becc [2023-02-07T17:48:00.509Z] Step 11/23 : FROM alpine:3.16 [2023-02-07T17:48:00.509Z] 3.16: Pulling from library/alpine [2023-02-07T17:48:00.509Z] 6875df1f5354: Pulling fs layer [2023-02-07T17:48:00.509Z] 6875df1f5354: Verifying Checksum [2023-02-07T17:48:00.509Z] 6875df1f5354: Download complete [2023-02-07T17:48:00.509Z] 6875df1f5354: Pull complete [2023-02-07T17:48:00.509Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T17:48:00.509Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T17:48:00.509Z] ---> 2b4661558fb8 [2023-02-07T17:48:00.509Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T17:48:00.509Z] ---> Running in 94ced82d68dd [2023-02-07T17:48:00.509Z] Removing intermediate container 94ced82d68dd [2023-02-07T17:48:00.509Z] ---> 1fe9c6703ae9 [2023-02-07T17:48:00.509Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-07T17:48:00.509Z] ---> Running in 6b8182a6cb94 [2023-02-07T17:48:01.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T17:48:01.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T17:48:02.744Z] OK: 5 MiB in 14 packages [2023-02-07T17:48:03.712Z] Removing intermediate container 6b8182a6cb94 [2023-02-07T17:48:03.712Z] ---> 5faa74a4a444 [2023-02-07T17:48:03.712Z] Step 14/23 : WORKDIR / [2023-02-07T17:48:03.984Z] ---> Running in 978c6f401b7a [2023-02-07T17:48:04.255Z] Removing intermediate container 978c6f401b7a [2023-02-07T17:48:04.255Z] ---> 17836036a87f [2023-02-07T17:48:04.255Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-07T17:48:06.340Z] ---> 785563418124 [2023-02-07T17:48:06.340Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-07T17:48:08.293Z] ---> 653fef2abe71 [2023-02-07T17:48:08.294Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-07T17:48:08.565Z] ---> f0c9386fe2c1 [2023-02-07T17:48:08.565Z] Step 18/23 : EXPOSE 59999 [2023-02-07T17:48:08.565Z] ---> Running in 86f822ed0fae [2023-02-07T17:48:08.834Z] Removing intermediate container 86f822ed0fae [2023-02-07T17:48:08.834Z] ---> 13e667dcb5ae [2023-02-07T17:48:08.834Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-07T17:48:08.834Z] ---> Running in a6a4b9a604fd [2023-02-07T17:48:09.108Z] Removing intermediate container a6a4b9a604fd [2023-02-07T17:48:09.108Z] ---> 5f0f792847b1 [2023-02-07T17:48:09.108Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T17:48:09.377Z] ---> Running in 51df77515c37 [2023-02-07T17:48:09.646Z] Removing intermediate container 51df77515c37 [2023-02-07T17:48:09.646Z] ---> f218fe31768c [2023-02-07T17:48:09.646Z] Step 21/23 : LABEL arch=arm64 [2023-02-07T17:48:09.646Z] ---> Running in 5eee9e5c0336 [2023-02-07T17:48:09.918Z] Removing intermediate container 5eee9e5c0336 [2023-02-07T17:48:09.918Z] ---> 4fa5362852f1 [2023-02-07T17:48:09.918Z] Step 22/23 : LABEL git_sha=cc0cae4dbee7797f1e968ad66538ca5df50e257d [2023-02-07T17:48:10.187Z] ---> Running in 4d723b8a4b21 [2023-02-07T17:48:10.461Z] Removing intermediate container 4d723b8a4b21 [2023-02-07T17:48:10.461Z] ---> 7a0d1dae11ea [2023-02-07T17:48:10.461Z] Step 23/23 : LABEL version=0.0.0 [2023-02-07T17:48:10.461Z] ---> Running in e281434705d7 [2023-02-07T17:48:10.731Z] Removing intermediate container e281434705d7 [2023-02-07T17:48:10.731Z] ---> 6928cb76373a [2023-02-07T17:48:10.731Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T17:48:10.731Z] Successfully built 6928cb76373a [2023-02-07T17:48:10.731Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:48:11.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T17:48:11.200Z] [2023-02-07T17:48:11.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:48:11.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T17:48:11.549Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T17:48:11.549Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T17:48:11.549Z] 04944245beec: Pulling fs layer [2023-02-07T17:48:11.549Z] 699f458cf7ca: Pulling fs layer [2023-02-07T17:48:11.549Z] 765212b225bb: Pulling fs layer [2023-02-07T17:48:11.549Z] f23df028b6ca: Pulling fs layer [2023-02-07T17:48:11.549Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T17:48:11.549Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T17:48:11.549Z] f23df028b6ca: Waiting [2023-02-07T17:48:11.549Z] d65c8cfc05b1: Waiting [2023-02-07T17:48:11.549Z] 2437ff75d9bd: Waiting [2023-02-07T17:48:11.818Z] 04944245beec: Verifying Checksum [2023-02-07T17:48:11.818Z] 04944245beec: Download complete [2023-02-07T17:48:11.818Z] 765212b225bb: Download complete [2023-02-07T17:48:11.818Z] f23df028b6ca: Download complete [2023-02-07T17:48:12.088Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T17:48:12.088Z] d65c8cfc05b1: Download complete [2023-02-07T17:48:12.088Z] 699f458cf7ca: Verifying Checksum [2023-02-07T17:48:12.088Z] 699f458cf7ca: Download complete [2023-02-07T17:48:12.359Z] 8998bd30e6a1: Download complete [2023-02-07T17:48:14.952Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T17:48:14.952Z] 2437ff75d9bd: Download complete [2023-02-07T17:48:16.896Z] 8998bd30e6a1: Pull complete [2023-02-07T17:48:17.164Z] 04944245beec: Pull complete [2023-02-07T17:48:18.576Z] 699f458cf7ca: Pull complete [2023-02-07T17:48:18.846Z] 765212b225bb: Pull complete [2023-02-07T17:48:19.443Z] f23df028b6ca: Pull complete [2023-02-07T17:48:19.712Z] d65c8cfc05b1: Pull complete [2023-02-07T17:48:34.711Z] 2437ff75d9bd: Pull complete [2023-02-07T17:48:34.711Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T17:48:34.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T17:48:34.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:48:34.908Z] prd-ubuntu20.04-docker-arm64-4c-16g-4961 does not seem to be running inside a container [2023-02-07T17:48:34.977Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T17:48:37.651Z] $ docker top 52ba93310ad730a7338c9328348882509c355137f6033dfcf653d7196416200e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:38.493Z] ---> job-cost.sh [2023-02-07T17:48:38.493Z] lf-activate-venv: SKIPPING [2023-02-07T17:48:38.493Z] INFO: No Stack... [2023-02-07T17:48:38.760Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T17:48:39.719Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T17:48:40.359Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-07T17:48:40.359Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T17:48:40.400Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] [2023-02-07T17:48:40.407Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] did not exist. Created. [2023-02-07T17:48:40.407Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T17:48:41.070Z] /w/workspace/device-sdk-go/2@tmp/durable-26a43727/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T17:48:41.724Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T17:48:41.740Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T17:48:41.809Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T17:48:41.818Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1307-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T17:48:41.849Z] $ docker stop --time=1 52ba93310ad730a7338c9328348882509c355137f6033dfcf653d7196416200e [2023-02-07T17:48:43.368Z] $ docker rm -f --volumes 52ba93310ad730a7338c9328348882509c355137f6033dfcf653d7196416200e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-07T17:48:43.757Z] provisioning config files... [2023-02-07T17:48:43.764Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config8803209896075579727tmp [Pipeline] { [Pipeline] sh [2023-02-07T17:48:44.064Z] + set +x [2023-02-07T17:48:44.064Z] + bash -s -- [2023-02-07T17:48:44.064Z] + curl -s https://codecov.io/bash [2023-02-07T17:48:44.064Z] [2023-02-07T17:48:44.064Z] _____ _ [2023-02-07T17:48:44.064Z] / ____| | | [2023-02-07T17:48:44.064Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T17:48:44.064Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T17:48:44.064Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T17:48:44.064Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T17:48:44.064Z] Bash-1.0.6 [2023-02-07T17:48:44.064Z] [2023-02-07T17:48:44.064Z] [2023-02-07T17:48:44.064Z] ==> git version 2.25.1 found [2023-02-07T17:48:44.064Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-07T17:48:44.064Z] Release-Date: 2020-01-08 [2023-02-07T17:48:44.064Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-07T17:48:44.064Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T17:48:44.064Z] ==> Jenkins CI detected. [2023-02-07T17:48:44.064Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1307 [2023-02-07T17:48:44.064Z] project root: . [2023-02-07T17:48:44.064Z] --> token set from env [2023-02-07T17:48:44.064Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T17:48:44.064Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T17:48:44.064Z] ==> Python coveragepy not found [2023-02-07T17:48:44.064Z] ==> Searching for coverage reports in: [2023-02-07T17:48:44.064Z] + . [2023-02-07T17:48:44.064Z] -> Found 1 reports [2023-02-07T17:48:44.064Z] ==> Detecting git/mercurial file structure [2023-02-07T17:48:44.064Z] ==> Reading reports [2023-02-07T17:48:44.064Z] + ./coverage.out bytes=100849 [2023-02-07T17:48:44.064Z] ==> Appending adjustments [2023-02-07T17:48:44.064Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T17:48:44.633Z] + Found adjustments [2023-02-07T17:48:44.633Z] ==> Gzipping contents [2023-02-07T17:48:44.633Z] 16K /tmp/codecov.YtUXNP.gz [2023-02-07T17:48:44.633Z] ==> Uploading reports [2023-02-07T17:48:44.633Z] url: https://codecov.io [2023-02-07T17:48:44.633Z] query: branch=PR-1307&commit=cc0cae4dbee7797f1e968ad66538ca5df50e257d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1307%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1307&job=&cmd_args= [2023-02-07T17:48:44.633Z] -> Pinging Codecov [2023-02-07T17:48:44.633Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1307&commit=cc0cae4dbee7797f1e968ad66538ca5df50e257d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1307%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1307&job=&cmd_args= [2023-02-07T17:48:44.893Z] -> Uploading to [2023-02-07T17:48:44.893Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/7E55EF52A471D76F132DFD9A03CDDE97/cc0cae4dbee7797f1e968ad66538ca5df50e257d/e37dc71f-1964-47f5-a29b-c7fc4b0940c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T174844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb0445e407f9bbdec022df033776b4b5a9f71e3ac076d7eba25365d068844732 [2023-02-07T17:48:44.893Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T17:48:44.893Z] Dload Upload Total Spent Left Speed [2023-02-07T17:48:45.152Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14557 0 0 100 14557 0 54725 --:--:-- --:--:-- --:--:-- 54725 [2023-02-07T17:48:45.153Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cc0cae4dbee7797f1e968ad66538ca5df50e257d [Pipeline] } [2023-02-07T17:48:45.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-07T17:48:45.881Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives ] [2023-02-07T17:48:45.881Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives [2023-02-07T17:48:45.881Z] total 16 [2023-02-07T17:48:45.881Z] drwxr-xr-x 3 root root 4096 Feb 7 17:37 . [2023-02-07T17:48:45.881Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 17:37 .. [2023-02-07T17:48:45.881Z] drwxr-xr-x 2 root root 4096 Feb 7 17:37 cost [2023-02-07T17:48:45.881Z] -rw-r--r-- 1 root root 86 Feb 7 17:37 cost.csv [2023-02-07T17:48:45.881Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives [2023-02-07T17:48:45.881Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives [2023-02-07T17:48:45.881Z] total 16 [2023-02-07T17:48:45.881Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 17:37 . [2023-02-07T17:48:45.881Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 17:37 .. [2023-02-07T17:48:45.881Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 17:37 cost [2023-02-07T17:48:45.881Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 7 17:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:46.175Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:47.038Z] ---> package-listing.sh [2023-02-07T17:48:47.039Z] ++ facter osfamily [2023-02-07T17:48:47.039Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T17:48:47.300Z] + OS_FAMILY=debian [2023-02-07T17:48:47.300Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1307 [2023-02-07T17:48:47.300Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T17:48:47.300Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T17:48:47.300Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T17:48:47.300Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T17:48:47.300Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1307 ']' [2023-02-07T17:48:47.300Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T17:48:47.300Z] + case "${OS_FAMILY}" in [2023-02-07T17:48:47.300Z] + dpkg -l [2023-02-07T17:48:47.300Z] + grep '^ii' [2023-02-07T17:48:47.300Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T17:48:47.300Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T17:48:47.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T17:48:47.300Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1307 ']' [2023-02-07T17:48:47.300Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives/ [2023-02-07T17:48:47.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1307/archives/ [Pipeline] echo [2023-02-07T17:48:47.313Z] 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-1307/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T17:48:47.593Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T17:48:48.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T17:48:48.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T17:48:48.234Z] prd-ubuntu20.04-docker-8c-8g-4958 does not seem to be running inside a container [2023-02-07T17:48:48.270Z] $ 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-1307/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-1307 -v /w/workspace/gexfoundry_device-sdk-go_PR-1307:/w/workspace/gexfoundry_device-sdk-go_PR-1307:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T17:48:48.484Z] $ docker top cfa55b8e0a2cde6bca25d36e02477a1a52f5d0903fa4c473103385f691be1901 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T17:48:48.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T17:48:49.129Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T17:48:49.415Z] + ls /var/log/sa-host [2023-02-07T17:48:49.415Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T17:48:49.500Z] provisioning config files... [2023-02-07T17:48:49.508Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1307@tmp/config10918805661286914407tmp [Pipeline] { [Pipeline] echo [2023-02-07T17:48:49.522Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:49.807Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T17:48:49.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:50.152Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T17:48:50.162Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:50.446Z] ---> sudo-logs.sh [2023-02-07T17:48:50.446Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T17:48:50.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:50.768Z] ---> job-cost.sh [2023-02-07T17:48:50.768Z] lf-activate-venv: SKIPPING [2023-02-07T17:48:50.768Z] DEBUG: total: 0.2199999988079071 [2023-02-07T17:48:50.768Z] INFO: Retrieving Stack Cost... [2023-02-07T17:48:51.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T17:48:51.596Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T17:48:51.610Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T17:48:51.896Z] ---> logs-deploy.sh [2023-02-07T17:48:51.896Z] lf-activate-venv: SKIPPING [2023-02-07T17:48:51.896Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1307/2 [2023-02-07T17:48:51.896Z] INFO: archiving workspace using pattern(s): [2023-02-07T17:48:52.832Z] Archives upload complete. [2023-02-07T17:48:52.832Z] INFO: archiving logs to Nexus