Pull request #1323 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83479d90184b6f31cfd2cf75003939fee94a5c5b+bf4aa2dff0c0a7f4a97997804f6014e11af12954 (9483b9652977424b0d8f1537234095ec05599cd4) 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-ssh4155731359044612579.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-ssh2385021575693809374.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-1323/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-1323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16633183302487578087.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-ssh426427416524432790.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-1323/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-1323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7645167854634312877.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6414 in /w/workspace/gexfoundry_device-sdk-go_PR-1323 [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-1323 # 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/1323/head:refs/remotes/origin/PR-1323 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bf4aa2dff0c0a7f4a97997804f6014e11af12954 into PR head commit 83479d90184b6f31cfd2cf75003939fee94a5c5b Merge succeeded, producing 83479d90184b6f31cfd2cf75003939fee94a5c5b Checking out Revision 83479d90184b6f31cfd2cf75003939fee94a5c5b (PR-1323) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T06:34:59.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T06:34:59.382Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T06:34:59.399Z] ========================================================= [2023-02-17T06:34:59.399Z] EdgeX Global Pipelines Version Info [2023-02-17T06:34:59.399Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 83479d90184b6f31cfd2cf75003939fee94a5c5b # 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 bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83479d90184b6f31cfd2cf75003939fee94a5c5b # timeout=10 > git rev-list --no-walk ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a # timeout=10 [2023-02-17T06:35:00.124Z] ------------------- [2023-02-17T06:35:00.124Z] stable info: [2023-02-17T06:35:00.124Z] ------------------- [2023-02-17T06:35:00.124Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T06:35:00.124Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:35:00.124Z] Message: update stable to v1.0.244 [2023-02-17T06:35:00.693Z] ------------------- [2023-02-17T06:35:00.693Z] experimental info: [2023-02-17T06:35:00.693Z] ------------------- [2023-02-17T06:35:00.693Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T06:35:00.693Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:35:00.693Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T06:35:00.857Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-17T06:35:00.869Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-17T06:35:00.880Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T06:35:00.891Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T06:35:00.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T06:35:00.913Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T06:35:00.921Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T06:35:00.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-17T06:35:00.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T06:35:00.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T06:35:00.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T06:35:00.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-17T06:35:01.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T06:35:01.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T06:35:01.046Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T06:35:01.068Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:01.081Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:01.096Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:01.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T06:35:01.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T06:35:01.144Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T06:35:01.162Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-17T06:35:01.181Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T06:35:01.203Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T06:35:01.221Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T06:35:01.240Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T06:35:01.255Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T06:35:01.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1323 [Pipeline] echo [2023-02-17T06:35:01.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1323 [Pipeline] echo [2023-02-17T06:35:01.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1323 [Pipeline] echo [2023-02-17T06:35:01.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83479d90184b6f31cfd2cf75003939fee94a5c5b [Pipeline] echo [2023-02-17T06:35:01.334Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83479d9 [Pipeline] echo [2023-02-17T06:35:01.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:35:01.393Z] provisioning config files... [2023-02-17T06:35:01.407Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config15538152996231190249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:35:01.707Z] ---> docker-login.sh [2023-02-17T06:35:01.707Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:35:01.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:01.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:01.966Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:01.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:01.966Z] [2023-02-17T06:35:01.966Z] Login Succeeded [2023-02-17T06:35:01.966Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:35:01.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:01.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:01.966Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:01.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:01.966Z] [2023-02-17T06:35:01.966Z] Login Succeeded [2023-02-17T06:35:01.966Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:35:02.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:02.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:02.225Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:02.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:02.225Z] [2023-02-17T06:35:02.225Z] Login Succeeded [2023-02-17T06:35:02.225Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:35:02.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:02.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:02.225Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:02.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:02.225Z] [2023-02-17T06:35:02.225Z] Login Succeeded [2023-02-17T06:35:02.225Z] docker.io [2023-02-17T06:35:02.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:02.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:02.745Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:02.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:02.745Z] [2023-02-17T06:35:02.745Z] Login Succeeded [2023-02-17T06:35:02.745Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:35:02.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T06:35:03.130Z] + git rev-list -1 --merges 83479d90184b6f31cfd2cf75003939fee94a5c5b~1..83479d90184b6f31cfd2cf75003939fee94a5c5b [Pipeline] echo [2023-02-17T06:35:03.189Z] -----------> git rev-list -1 --merges 83479d90184b6f31cfd2cf75003939fee94a5c5b~1..83479d90184b6f31cfd2cf75003939fee94a5c5b 83479d90184b6f31cfd2cf75003939fee94a5c5b [false] [Pipeline] sh [2023-02-17T06:35:03.479Z] + git log --format=format:%s -1 83479d90184b6f31cfd2cf75003939fee94a5c5b [Pipeline] echo [2023-02-17T06:35:03.497Z] ========================================================= [2023-02-17T06:35:03.497Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T06:35:03.497Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:35:03.839Z] + git log --format=format:%s -1 83479d90184b6f31cfd2cf75003939fee94a5c5b [Pipeline] echo [2023-02-17T06:35:03.852Z] [semverPrep] GIT_COMMIT: 83479d90184b6f31cfd2cf75003939fee94a5c5b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-17T06:35:03.862Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T06:35:04.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T06:35:04.218Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T06:35:04.218Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T06:35:04.218Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T06:35:04.218Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T06:35:04.218Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T06:35:04.218Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:04.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:04.572Z] [2023-02-17T06:35:04.572Z] 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-17T06:35:04.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:04.884Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T06:35:04.884Z] b85a868b505f: Pulling fs layer [2023-02-17T06:35:04.884Z] e2be974225ed: Pulling fs layer [2023-02-17T06:35:04.884Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T06:35:04.884Z] 988bab9f4d93: Pulling fs layer [2023-02-17T06:35:04.884Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T06:35:04.884Z] eaf3925da568: Pulling fs layer [2023-02-17T06:35:04.884Z] bab4dde63d76: Pulling fs layer [2023-02-17T06:35:04.884Z] bde34c3a00c8: Pulling fs layer [2023-02-17T06:35:04.884Z] b352a97aabf1: Pulling fs layer [2023-02-17T06:35:04.884Z] 4872d77fe225: Pulling fs layer [2023-02-17T06:35:04.884Z] 5851b861e8e6: Pulling fs layer [2023-02-17T06:35:04.884Z] bab4dde63d76: Waiting [2023-02-17T06:35:04.884Z] 4872d77fe225: Waiting [2023-02-17T06:35:04.884Z] 5851b861e8e6: Waiting [2023-02-17T06:35:04.884Z] bde34c3a00c8: Waiting [2023-02-17T06:35:04.884Z] eaf3925da568: Waiting [2023-02-17T06:35:04.884Z] e2be974225ed: Download complete [2023-02-17T06:35:04.884Z] 988bab9f4d93: Verifying Checksum [2023-02-17T06:35:04.884Z] 988bab9f4d93: Download complete [2023-02-17T06:35:05.148Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T06:35:05.148Z] 1469e6f7b9e6: Download complete [2023-02-17T06:35:05.148Z] eaf3925da568: Verifying Checksum [2023-02-17T06:35:05.148Z] eaf3925da568: Download complete [2023-02-17T06:35:05.148Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T06:35:05.148Z] 339a4e72a1f5: Download complete [2023-02-17T06:35:05.148Z] bde34c3a00c8: Download complete [2023-02-17T06:35:05.407Z] b85a868b505f: Verifying Checksum [2023-02-17T06:35:05.407Z] b85a868b505f: Download complete [2023-02-17T06:35:05.407Z] b352a97aabf1: Download complete [2023-02-17T06:35:05.407Z] 4872d77fe225: Download complete [2023-02-17T06:35:05.407Z] 5851b861e8e6: Verifying Checksum [2023-02-17T06:35:05.407Z] 5851b861e8e6: Download complete [2023-02-17T06:35:05.666Z] bab4dde63d76: Download complete [2023-02-17T06:35:06.602Z] b85a868b505f: Pull complete [2023-02-17T06:35:06.602Z] e2be974225ed: Pull complete [2023-02-17T06:35:06.861Z] 339a4e72a1f5: Pull complete [2023-02-17T06:35:07.121Z] 988bab9f4d93: Pull complete [2023-02-17T06:35:07.383Z] 1469e6f7b9e6: Pull complete [2023-02-17T06:35:07.383Z] eaf3925da568: Pull complete [2023-02-17T06:35:09.287Z] bab4dde63d76: Pull complete [2023-02-17T06:35:09.287Z] bde34c3a00c8: Pull complete [2023-02-17T06:35:09.287Z] b352a97aabf1: Pull complete [2023-02-17T06:35:09.287Z] 4872d77fe225: Pull complete [2023-02-17T06:35:09.287Z] 5851b861e8e6: Pull complete [2023-02-17T06:35:09.287Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T06:35:09.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:09.287Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:35:09.380Z] prd-ubuntu20.04-docker-8c-8g-6414 does not seem to be running inside a container [2023-02-17T06:35:09.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T06:35:10.724Z] $ docker top a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f -eo pid,comm [2023-02-17T06:35:10.775Z] 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-17T06:35:10.775Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T06:35:10.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:35:10.816Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:35:10.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:35:10.925Z] $ docker exec a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f ssh-agent [2023-02-17T06:35:11.017Z] SSH_AUTH_SOCK=/tmp/ssh-LURcX696rJzV/agent.32 [2023-02-17T06:35:11.017Z] SSH_AGENT_PID=38 [2023-02-17T06:35:11.023Z] Running ssh-add (command line suppressed) [2023-02-17T06:35:11.124Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_11873330679749744417.key (/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_11873330679749744417.key) [2023-02-17T06:35:11.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:35:11.425Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T06:35:11.439Z] $ docker exec --env ******** --env ******** a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f ssh-agent -k [2023-02-17T06:35:11.527Z] unset SSH_AUTH_SOCK; [2023-02-17T06:35:11.528Z] unset SSH_AGENT_PID; [2023-02-17T06:35:11.528Z] echo Agent pid 38 killed; [2023-02-17T06:35:11.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T06:35:11.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:35:11.557Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:35:11.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:35:11.664Z] $ docker exec a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f ssh-agent [2023-02-17T06:35:11.775Z] SSH_AUTH_SOCK=/tmp/ssh-xbQHsPlb2FVR/agent.69 [2023-02-17T06:35:11.775Z] SSH_AGENT_PID=74 [2023-02-17T06:35:11.780Z] Running ssh-add (command line suppressed) [2023-02-17T06:35:11.875Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_16979133896639336509.key (/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_16979133896639336509.key) [2023-02-17T06:35:11.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:35:12.175Z] + git semver init [2023-02-17T06:35:12.435Z] 2023-02-17 06:35:12,333 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T06:35:12.435Z] 2023-02-17 06:35:12,334 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver [2023-02-17T06:35:12.435Z] 2023-02-17 06:35:12,335 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver [2023-02-17T06:35:12.435Z] 2023-02-17 06:35:12,335 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1323, universal_newlines=False, shell=None, istream=None) [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,321 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.git/info/exclude [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,321 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 with force:False [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,321 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,325 [execute] INFO git cat-file --batch-check [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,331 [execute] INFO git cat-file --batch [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:35:13.375Z] 2023-02-17 06:35:13,335 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 [2023-02-17T06:35:13.375Z] 0.0.0 [Pipeline] } [2023-02-17T06:35:13.387Z] $ docker exec --env ******** --env ******** a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f ssh-agent -k [2023-02-17T06:35:13.490Z] unset SSH_AUTH_SOCK; [2023-02-17T06:35:13.490Z] unset SSH_AGENT_PID; [2023-02-17T06:35:13.490Z] echo Agent pid 74 killed; [2023-02-17T06:35:13.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T06:35:13.800Z] + git semver [Pipeline] } [2023-02-17T06:35:14.072Z] $ docker stop --time=1 a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f [2023-02-17T06:35:15.615Z] $ docker rm -f --volumes a78a03a00848657f03a0a3b8f261bfd38a055a23f9751a113532ca1394eaa18f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:35:15.951Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T06:35:16.166Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T06:35:16.170Z] [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-17T06:35:16.345Z] provisioning config files... [2023-02-17T06:35:16.354Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config16721148189695153288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:35:16.648Z] ---> docker-login.sh [2023-02-17T06:35:16.648Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:35:16.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:16.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:16.648Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:16.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:16.648Z] [2023-02-17T06:35:16.648Z] Login Succeeded [2023-02-17T06:35:16.648Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:35:16.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:16.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:16.648Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:16.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:16.648Z] [2023-02-17T06:35:16.648Z] Login Succeeded [2023-02-17T06:35:16.648Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:35:16.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:16.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:16.908Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:16.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:16.908Z] [2023-02-17T06:35:16.908Z] Login Succeeded [2023-02-17T06:35:16.908Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:35:16.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:16.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:16.908Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:16.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:16.908Z] [2023-02-17T06:35:16.908Z] Login Succeeded [2023-02-17T06:35:16.908Z] docker.io [2023-02-17T06:35:16.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:17.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:17.166Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:17.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:17.166Z] [2023-02-17T06:35:17.166Z] Login Succeeded [2023-02-17T06:35:17.166Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:35:17.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T06:35:17.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:35:17.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:35:17.261Z] ========================================================= [2023-02-17T06:35:17.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T06:35:17.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:17.588Z] + 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-17T06:35:17.588Z] Sending build context to Docker daemon 10.5MB [2023-02-17T06:35:17.588Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:35:17.588Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T06:35:17.588Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T06:35:17.588Z] 213ec9aee27d: Pulling fs layer [2023-02-17T06:35:17.588Z] 4583459ba037: Pulling fs layer [2023-02-17T06:35:17.588Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T06:35:17.588Z] 53926ce57604: Pulling fs layer [2023-02-17T06:35:17.588Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T06:35:17.588Z] 22ff95d597cd: Pulling fs layer [2023-02-17T06:35:17.588Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T06:35:17.588Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T06:35:17.588Z] a7acece74701: Pulling fs layer [2023-02-17T06:35:17.588Z] 53926ce57604: Waiting [2023-02-17T06:35:17.588Z] 21b2b0c7a3f4: Waiting [2023-02-17T06:35:17.588Z] 22ff95d597cd: Waiting [2023-02-17T06:35:17.588Z] 12d6caf4c0d1: Waiting [2023-02-17T06:35:17.588Z] a7acece74701: Waiting [2023-02-17T06:35:17.588Z] 96b7cbca73a9: Waiting [2023-02-17T06:35:17.588Z] 93c1e223e6f2: Download complete [2023-02-17T06:35:17.588Z] 4583459ba037: Verifying Checksum [2023-02-17T06:35:17.588Z] 4583459ba037: Download complete [2023-02-17T06:35:17.853Z] 21b2b0c7a3f4: Download complete [2023-02-17T06:35:17.853Z] 22ff95d597cd: Verifying Checksum [2023-02-17T06:35:17.853Z] 22ff95d597cd: Download complete [2023-02-17T06:35:17.853Z] 213ec9aee27d: Verifying Checksum [2023-02-17T06:35:17.853Z] 213ec9aee27d: Download complete [2023-02-17T06:35:17.853Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T06:35:17.853Z] 12d6caf4c0d1: Download complete [2023-02-17T06:35:18.121Z] 213ec9aee27d: Pull complete [2023-02-17T06:35:18.121Z] 4583459ba037: Pull complete [2023-02-17T06:35:18.121Z] 93c1e223e6f2: Pull complete [2023-02-17T06:35:19.154Z] a7acece74701: Verifying Checksum [2023-02-17T06:35:19.154Z] a7acece74701: Download complete [2023-02-17T06:35:19.744Z] 53926ce57604: Verifying Checksum [2023-02-17T06:35:19.744Z] 53926ce57604: Download complete [2023-02-17T06:35:19.744Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T06:35:19.744Z] 96b7cbca73a9: Download complete [2023-02-17T06:35:23.931Z] 53926ce57604: Pull complete [2023-02-17T06:35:23.931Z] 21b2b0c7a3f4: Pull complete [2023-02-17T06:35:23.931Z] 22ff95d597cd: Pull complete [2023-02-17T06:35:23.931Z] 12d6caf4c0d1: Pull complete [2023-02-17T06:35:25.830Z] 96b7cbca73a9: Pull complete [2023-02-17T06:35:26.396Z] a7acece74701: Pull complete [2023-02-17T06:35:26.396Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T06:35:26.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T06:35:26.396Z] ---> db6d94c90886 [2023-02-17T06:35:26.396Z] Step 3/10 : ARG MAKE=make build [2023-02-17T06:35:28.299Z] ---> Running in 5de0379964fe [2023-02-17T06:35:28.299Z] Removing intermediate container 5de0379964fe [2023-02-17T06:35:28.299Z] ---> 981a534e4019 [2023-02-17T06:35:28.299Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T06:35:28.299Z] ---> Running in f395186d010c [2023-02-17T06:35:28.299Z] Removing intermediate container f395186d010c [2023-02-17T06:35:28.299Z] ---> 8c51073df71f [2023-02-17T06:35:28.299Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:35:28.299Z] ---> Running in 40bd99a909d1 [2023-02-17T06:35:28.299Z] Removing intermediate container 40bd99a909d1 [2023-02-17T06:35:28.299Z] ---> 437bb3a671a9 [2023-02-17T06:35:28.299Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T06:35:28.299Z] ---> Running in 8b072288d93a [2023-02-17T06:35:28.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:35:28.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:35:29.074Z] OK: 211 MiB in 51 packages [2023-02-17T06:35:29.333Z] Removing intermediate container 8b072288d93a [2023-02-17T06:35:29.333Z] ---> 79d3462e4349 [2023-02-17T06:35:29.333Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T06:35:29.333Z] ---> f8eda1a7aa77 [2023-02-17T06:35:29.333Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:35:29.333Z] ---> Running in 795abcd58876 [2023-02-17T06:35:31.285Z] Still waiting to schedule task [2023-02-17T06:35:31.285Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T06:35:55.974Z] Removing intermediate container 795abcd58876 [2023-02-17T06:35:55.974Z] ---> 65b74cd3f3d1 [2023-02-17T06:35:55.974Z] Step 9/10 : COPY . . [2023-02-17T06:35:55.974Z] ---> c4f7cf7ebd06 [2023-02-17T06:35:55.974Z] Step 10/10 : RUN ${MAKE} [2023-02-17T06:35:55.974Z] ---> Running in aacb28f80a8e [2023-02-17T06:35:55.974Z] noop [2023-02-17T06:35:55.974Z] Removing intermediate container aacb28f80a8e [2023-02-17T06:35:55.974Z] ---> 68862ad1fae6 [2023-02-17T06:35:55.974Z] Successfully built 68862ad1fae6 [2023-02-17T06:35:55.974Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:56.282Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:35:56.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:35:56.357Z] prd-ubuntu20.04-docker-8c-8g-6414 does not seem to be running inside a container [2023-02-17T06:35:56.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T06:35:56.852Z] $ docker top 8a47cdeb48990a90a797886a53b6c5ddc439225654e767b587f5b4cddb662e5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:35:57.194Z] + go version [2023-02-17T06:35:57.195Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T06:35:57.207Z] $ docker stop --time=1 8a47cdeb48990a90a797886a53b6c5ddc439225654e767b587f5b4cddb662e5c [2023-02-17T06:35:58.504Z] $ docker rm -f --volumes 8a47cdeb48990a90a797886a53b6c5ddc439225654e767b587f5b4cddb662e5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:58.917Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:35:58.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:35:58.988Z] prd-ubuntu20.04-docker-8c-8g-6414 does not seem to be running inside a container [2023-02-17T06:35:59.020Z] $ 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-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T06:35:59.370Z] $ docker top 269c554ae08ab2e91a41a835f392ae925203fea4b5583563c27b739e35389ee1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:35:59.708Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1323 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:36:00.007Z] + make test [2023-02-17T06:36:00.007Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T06:36:06.562Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.131s coverage: 77.8% of statements [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.117s coverage: 77.0% of statements [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.2% of statements [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.746s coverage: 89.2% of statements [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T06:36:18.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.7% of statements [2023-02-17T06:36:18.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T06:36:33.629Z] 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-17T06:36:33.629Z] GO111MODULE=on go vet ./... [2023-02-17T06:36:36.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T06:36:36.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T06:36:36.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T06:36:36.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T06:36:36.197Z] $ docker stop --time=1 269c554ae08ab2e91a41a835f392ae925203fea4b5583563c27b739e35389ee1 [2023-02-17T06:36:38.905Z] $ docker rm -f --volumes 269c554ae08ab2e91a41a835f392ae925203fea4b5583563c27b739e35389ee1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:36:39.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T06:36:39.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T06:36:40.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T06:36:40.348Z] + ls -al . [2023-02-17T06:36:40.348Z] total 272 [2023-02-17T06:36:40.348Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:36 . [2023-02-17T06:36:40.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:34 .. [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 06:34 .dockerignore [2023-02-17T06:36:40.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 06:36 .git [2023-02-17T06:36:40.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:34 .github [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 06:34 .gitignore [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 06:34 .golangci.yml [2023-02-17T06:36:40.348Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:35 .semver [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 06:34 CHANGELOG.md [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 06:34 GOVERNANCE.md [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 06:34 Jenkinsfile [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 06:34 LICENSE [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 06:34 Makefile [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 06:34 OWNERS.md [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 06:34 README.md [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 06:35 VERSION [2023-02-17T06:36:40.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:34 bin [2023-02-17T06:36:40.348Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 06:36 coverage.out [2023-02-17T06:36:40.348Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 06:34 example [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 06:34 go.mod [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 06:34 go.sum [2023-02-17T06:36:40.348Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 06:34 internal [2023-02-17T06:36:40.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 06:34 openapi [2023-02-17T06:36:40.348Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 06:34 pkg [2023-02-17T06:36:40.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:34 snap [2023-02-17T06:36:40.348Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:36:40.708Z] + 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=83479d90184b6f31cfd2cf75003939fee94a5c5b --label arch=amd64 --label version=0.0.0 . [2023-02-17T06:36:40.708Z] Sending build context to Docker daemon 10.6MB [2023-02-17T06:36:40.708Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:36:40.708Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T06:36:40.708Z] ---> 68862ad1fae6 [2023-02-17T06:36:40.708Z] Step 3/23 : ARG MAKE=make build [2023-02-17T06:36:40.968Z] ---> Running in 48f66512e8eb [2023-02-17T06:36:40.968Z] Removing intermediate container 48f66512e8eb [2023-02-17T06:36:40.968Z] ---> ac5804e01e91 [2023-02-17T06:36:40.968Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T06:36:40.968Z] ---> Running in 6d6d4d013d2f [2023-02-17T06:36:41.227Z] Removing intermediate container 6d6d4d013d2f [2023-02-17T06:36:41.227Z] ---> 7bd2271cfb72 [2023-02-17T06:36:41.227Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:36:41.227Z] ---> Running in 6dc757431a79 [2023-02-17T06:36:41.227Z] Removing intermediate container 6dc757431a79 [2023-02-17T06:36:41.227Z] ---> 31a554b4f875 [2023-02-17T06:36:41.227Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T06:36:41.227Z] ---> Running in 794b6d38a35e [2023-02-17T06:36:41.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:36:41.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:36:42.001Z] OK: 211 MiB in 51 packages [2023-02-17T06:36:42.260Z] Removing intermediate container 794b6d38a35e [2023-02-17T06:36:42.260Z] ---> da9fd5f8a89e [2023-02-17T06:36:42.260Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T06:36:42.520Z] ---> 27f28e12b935 [2023-02-17T06:36:42.520Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:36:42.520Z] ---> Running in 83e9c495c056 [2023-02-17T06:36:43.458Z] Removing intermediate container 83e9c495c056 [2023-02-17T06:36:43.458Z] ---> 233b1c4bd683 [2023-02-17T06:36:43.458Z] Step 9/23 : COPY . . [2023-02-17T06:36:44.026Z] ---> ea157703c59d [2023-02-17T06:36:44.026Z] Step 10/23 : RUN ${MAKE} [2023-02-17T06:36:44.026Z] ---> Running in 942a9e4b944c [2023-02-17T06:36:44.291Z] 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-17T06:37:06.231Z] Removing intermediate container 942a9e4b944c [2023-02-17T06:37:06.231Z] ---> cbe04097a6b6 [2023-02-17T06:37:06.231Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T06:37:06.231Z] 3.16: Pulling from library/alpine [2023-02-17T06:37:06.231Z] ef5531b6e74e: Pulling fs layer [2023-02-17T06:37:06.231Z] ef5531b6e74e: Download complete [2023-02-17T06:37:06.231Z] ef5531b6e74e: Pull complete [2023-02-17T06:37:06.231Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T06:37:06.231Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T06:37:06.231Z] ---> dfd21b5a31f5 [2023-02-17T06:37:06.231Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T06:37:06.231Z] ---> Running in bc1e4ab4e6eb [2023-02-17T06:37:06.231Z] Removing intermediate container bc1e4ab4e6eb [2023-02-17T06:37:06.231Z] ---> d9cb2f47f344 [2023-02-17T06:37:06.231Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T06:37:06.231Z] ---> Running in bcc0ecd38d1c [2023-02-17T06:37:06.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:37:06.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:37:06.231Z] OK: 6 MiB in 14 packages [2023-02-17T06:37:06.231Z] Removing intermediate container bcc0ecd38d1c [2023-02-17T06:37:06.231Z] ---> fa8551dddb3a [2023-02-17T06:37:06.231Z] Step 14/23 : WORKDIR / [2023-02-17T06:37:06.231Z] ---> Running in 1b573b24e712 [2023-02-17T06:37:06.231Z] Removing intermediate container 1b573b24e712 [2023-02-17T06:37:06.231Z] ---> 22b5125de354 [2023-02-17T06:37:06.231Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T06:37:06.231Z] ---> 69ecb0214db3 [2023-02-17T06:37:06.231Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T06:37:06.231Z] ---> 018d0b5190ce [2023-02-17T06:37:06.231Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T06:37:06.231Z] ---> 1840eb84d83b [2023-02-17T06:37:06.231Z] Step 18/23 : EXPOSE 59999 [2023-02-17T06:37:06.231Z] ---> Running in e0e67b69c9bc [2023-02-17T06:37:06.231Z] Removing intermediate container e0e67b69c9bc [2023-02-17T06:37:06.231Z] ---> b2571fde70b8 [2023-02-17T06:37:06.231Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T06:37:06.231Z] ---> Running in dd8f6605f345 [2023-02-17T06:37:06.231Z] Removing intermediate container dd8f6605f345 [2023-02-17T06:37:06.231Z] ---> 4052e56e8618 [2023-02-17T06:37:06.231Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T06:37:06.231Z] ---> Running in 614d4c7dd7ef [2023-02-17T06:37:06.231Z] Removing intermediate container 614d4c7dd7ef [2023-02-17T06:37:06.231Z] ---> ac20014cba63 [2023-02-17T06:37:06.231Z] Step 21/23 : LABEL arch=amd64 [2023-02-17T06:37:06.231Z] ---> Running in f0a76987397b [2023-02-17T06:37:06.492Z] Removing intermediate container f0a76987397b [2023-02-17T06:37:06.492Z] ---> 13bbf817a083 [2023-02-17T06:37:06.492Z] Step 22/23 : LABEL git_sha=83479d90184b6f31cfd2cf75003939fee94a5c5b [2023-02-17T06:37:06.492Z] ---> Running in cf0dfa937eca [2023-02-17T06:37:06.751Z] Removing intermediate container cf0dfa937eca [2023-02-17T06:37:06.751Z] ---> 7d12ef8d4e76 [2023-02-17T06:37:06.751Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T06:37:06.751Z] ---> Running in c441a96d876b [2023-02-17T06:37:06.751Z] Removing intermediate container c441a96d876b [2023-02-17T06:37:06.751Z] ---> 200ea1b734df [2023-02-17T06:37:06.751Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T06:37:06.751Z] Successfully built 200ea1b734df [2023-02-17T06:37:06.751Z] 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-17T06:37:07.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:37:07.193Z] [2023-02-17T06:37:07.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:37:07.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:37:07.501Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T06:37:07.501Z] 5eb5b503b376: Pulling fs layer [2023-02-17T06:37:07.501Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T06:37:07.501Z] ec43610c2a17: Pulling fs layer [2023-02-17T06:37:07.501Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T06:37:07.501Z] 33b1e0a273af: Pulling fs layer [2023-02-17T06:37:07.501Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T06:37:07.501Z] 2f39f015ded8: Pulling fs layer [2023-02-17T06:37:07.501Z] 3a2ae6a8a46f: Waiting [2023-02-17T06:37:07.501Z] 33b1e0a273af: Waiting [2023-02-17T06:37:07.501Z] 5d3b04190fa2: Waiting [2023-02-17T06:37:07.501Z] 2f39f015ded8: Waiting [2023-02-17T06:37:07.501Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T06:37:07.501Z] 5c69ac0246d0: Download complete [2023-02-17T06:37:07.501Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T06:37:07.501Z] 3a2ae6a8a46f: Download complete [2023-02-17T06:37:07.765Z] 33b1e0a273af: Verifying Checksum [2023-02-17T06:37:07.765Z] 33b1e0a273af: Download complete [2023-02-17T06:37:07.765Z] ec43610c2a17: Verifying Checksum [2023-02-17T06:37:07.765Z] ec43610c2a17: Download complete [2023-02-17T06:37:07.765Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T06:37:07.765Z] 5d3b04190fa2: Download complete [2023-02-17T06:37:08.028Z] 5eb5b503b376: Verifying Checksum [2023-02-17T06:37:08.028Z] 5eb5b503b376: Download complete [2023-02-17T06:37:08.599Z] 2f39f015ded8: Download complete [2023-02-17T06:37:09.166Z] 5eb5b503b376: Pull complete [2023-02-17T06:37:09.166Z] 5c69ac0246d0: Pull complete [2023-02-17T06:37:09.732Z] ec43610c2a17: Pull complete [2023-02-17T06:37:09.732Z] 3a2ae6a8a46f: Pull complete [2023-02-17T06:37:09.990Z] 33b1e0a273af: Pull complete [2023-02-17T06:37:10.247Z] 5d3b04190fa2: Pull complete [2023-02-17T06:37:13.535Z] 2f39f015ded8: Pull complete [2023-02-17T06:37:13.535Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T06:37:13.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:37:13.795Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:37:13.875Z] prd-ubuntu20.04-docker-8c-8g-6414 does not seem to be running inside a container [2023-02-17T06:37:13.905Z] $ 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-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@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-17T06:37:16.229Z] $ docker top fd963e3b38332eb45d5c76aad26775af89025bf81dd3b6a36d9443762722dd09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:37:16.609Z] ---> job-cost.sh [2023-02-17T06:37:16.609Z] lf-activate-venv: SKIPPING [2023-02-17T06:37:16.609Z] INFO: No Stack... [2023-02-17T06:37:16.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:37:17.129Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:37:17.425Z] + + cut -d, -f6 [2023-02-17T06:37:17.425Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/cost.csv [Pipeline] lock [2023-02-17T06:37:17.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] [2023-02-17T06:37:17.450Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] did not exist. Created. [2023-02-17T06:37:17.450Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:37:17.769Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T06:37:17.801Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:37:17.807Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:37:17.822Z] $ docker stop --time=1 fd963e3b38332eb45d5c76aad26775af89025bf81dd3b6a36d9443762722dd09 [2023-02-17T06:37:18.990Z] $ docker rm -f --volumes fd963e3b38332eb45d5c76aad26775af89025bf81dd3b6a36d9443762722dd09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T06:37:56.393Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6417 in /w/workspace/gexfoundry_device-sdk-go_PR-1323 [Pipeline] { [Pipeline] ws [2023-02-17T06:37:56.408Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-02-17T06:37:56.443Z] The recommended git tool is: git [2023-02-17T06:38:03.496Z] using credential edgex-jenkins-ssh [2023-02-17T06:38:03.515Z] Cloning the remote Git repository [2023-02-17T06:38:03.572Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T06:38:03.663Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-02-17T06:38:03.849Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T06:38:03.850Z] > git --version # timeout=10 [2023-02-17T06:38:03.880Z] > git --version # 'git version 2.25.1' [2023-02-17T06:38:03.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:38:03.958Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:38:05.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T06:38:05.758Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:38:06.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T06:38:06.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T06:38:06.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:38:06.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1323/head:refs/remotes/origin/PR-1323 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T06:38:07.577Z] Merging remotes/origin/main commit bf4aa2dff0c0a7f4a97997804f6014e11af12954 into PR head commit 83479d90184b6f31cfd2cf75003939fee94a5c5b [2023-02-17T06:38:07.854Z] Merge succeeded, producing 83479d90184b6f31cfd2cf75003939fee94a5c5b [2023-02-17T06:38:07.854Z] Checking out Revision 83479d90184b6f31cfd2cf75003939fee94a5c5b (PR-1323) [2023-02-17T06:38:08.458Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-17T06:38:07.601Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:38:07.620Z] > git checkout -f 83479d90184b6f31cfd2cf75003939fee94a5c5b # timeout=10 [2023-02-17T06:38:07.743Z] > git remote # timeout=10 [2023-02-17T06:38:07.762Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T06:38:07.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:38:07.806Z] > git merge bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 [2023-02-17T06:38:07.836Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T06:38:07.864Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:38:07.884Z] > git checkout -f 83479d90184b6f31cfd2cf75003939fee94a5c5b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:38:09.493Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T06:38:09.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:38:09.494Z] Dload Upload Total Spent Left Speed [2023-02-17T06:38:09.494Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-02-17T06:38:10.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T06:38:10.518Z] + sudo tee /etc/docker/daemon.new [2023-02-17T06:38:10.518Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T06:38:10.518Z] { [2023-02-17T06:38:10.518Z] "registry-mirrors": [ [2023-02-17T06:38:10.518Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T06:38:10.518Z] ], [2023-02-17T06:38:10.518Z] "bip": "10.250.0.254/24", [2023-02-17T06:38:10.518Z] "hosts": [ [2023-02-17T06:38:10.518Z] "tcp://0.0.0.0:5555", [2023-02-17T06:38:10.518Z] "unix:///var/run/docker.sock" [2023-02-17T06:38:10.518Z] ], [2023-02-17T06:38:10.518Z] "mtu": 1458, [2023-02-17T06:38:10.518Z] "selinux-enabled": true, [2023-02-17T06:38:10.518Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T06:38:10.518Z] } [Pipeline] sh [2023-02-17T06:38:10.874Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T06:38:11.220Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:38:29.521Z] provisioning config files... [2023-02-17T06:38:29.550Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5882295628047767999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:38:29.909Z] ---> docker-login.sh [2023-02-17T06:38:29.909Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:38:30.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:38:31.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:38:31.156Z] Configure a credential helper to remove this warning. See [2023-02-17T06:38:31.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:38:31.156Z] [2023-02-17T06:38:31.156Z] Login Succeeded [2023-02-17T06:38:31.156Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:38:31.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:38:31.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:38:31.425Z] Configure a credential helper to remove this warning. See [2023-02-17T06:38:31.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:38:31.425Z] [2023-02-17T06:38:31.425Z] Login Succeeded [2023-02-17T06:38:31.425Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:38:31.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:38:31.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:38:31.967Z] Configure a credential helper to remove this warning. See [2023-02-17T06:38:31.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:38:31.967Z] [2023-02-17T06:38:31.967Z] Login Succeeded [2023-02-17T06:38:31.967Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:38:32.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:38:32.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:38:32.237Z] Configure a credential helper to remove this warning. See [2023-02-17T06:38:32.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:38:32.237Z] [2023-02-17T06:38:32.237Z] Login Succeeded [2023-02-17T06:38:32.237Z] docker.io [2023-02-17T06:38:32.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:38:32.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:38:32.776Z] Configure a credential helper to remove this warning. See [2023-02-17T06:38:32.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:38:32.776Z] [2023-02-17T06:38:32.776Z] Login Succeeded [2023-02-17T06:38:32.776Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:38:32.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T06:38:33.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:38:33.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:38:33.109Z] ========================================================= [2023-02-17T06:38:33.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T06:38:33.109Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:38:33.471Z] + 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-17T06:38:33.739Z] Sending build context to Docker daemon 5.638MB [2023-02-17T06:38:34.021Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:38:34.021Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T06:38:34.021Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T06:38:34.021Z] 9b18e9b68314: Pulling fs layer [2023-02-17T06:38:34.021Z] 35d82f9e3411: Pulling fs layer [2023-02-17T06:38:34.021Z] e16973657156: Pulling fs layer [2023-02-17T06:38:34.021Z] fc693d55d65f: Pulling fs layer [2023-02-17T06:38:34.021Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T06:38:34.021Z] dda99020689f: Pulling fs layer [2023-02-17T06:38:34.021Z] fc693d55d65f: Waiting [2023-02-17T06:38:34.021Z] 7e9fc2657dce: Waiting [2023-02-17T06:38:34.021Z] db1c61fa0a46: Pulling fs layer [2023-02-17T06:38:34.021Z] 891c053d2c06: Pulling fs layer [2023-02-17T06:38:34.021Z] db1c61fa0a46: Waiting [2023-02-17T06:38:34.021Z] 891c053d2c06: Waiting [2023-02-17T06:38:34.021Z] e16973657156: Verifying Checksum [2023-02-17T06:38:34.021Z] e16973657156: Download complete [2023-02-17T06:38:34.021Z] 35d82f9e3411: Download complete [2023-02-17T06:38:34.021Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T06:38:34.021Z] 7e9fc2657dce: Download complete [2023-02-17T06:38:34.302Z] dda99020689f: Verifying Checksum [2023-02-17T06:38:34.302Z] 9b18e9b68314: Verifying Checksum [2023-02-17T06:38:34.302Z] 9b18e9b68314: Download complete [2023-02-17T06:38:34.302Z] dda99020689f: Download complete [2023-02-17T06:38:35.282Z] 9b18e9b68314: Pull complete [2023-02-17T06:38:35.557Z] 891c053d2c06: Verifying Checksum [2023-02-17T06:38:35.557Z] 891c053d2c06: Download complete [2023-02-17T06:38:35.825Z] 35d82f9e3411: Pull complete [2023-02-17T06:38:36.106Z] e16973657156: Pull complete [2023-02-17T06:38:36.697Z] db1c61fa0a46: Verifying Checksum [2023-02-17T06:38:36.697Z] db1c61fa0a46: Download complete [2023-02-17T06:38:37.282Z] fc693d55d65f: Verifying Checksum [2023-02-17T06:38:37.282Z] fc693d55d65f: Download complete [2023-02-17T06:38:49.645Z] fc693d55d65f: Pull complete [2023-02-17T06:38:49.645Z] 7e9fc2657dce: Pull complete [2023-02-17T06:38:49.645Z] dda99020689f: Pull complete [2023-02-17T06:38:56.343Z] db1c61fa0a46: Pull complete [2023-02-17T06:38:58.332Z] 891c053d2c06: Pull complete [2023-02-17T06:38:58.332Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T06:38:58.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T06:38:58.332Z] ---> f96f9c87975a [2023-02-17T06:38:58.332Z] Step 3/10 : ARG MAKE=make build [2023-02-17T06:39:00.964Z] ---> Running in 5b12bf932c40 [2023-02-17T06:39:00.964Z] Removing intermediate container 5b12bf932c40 [2023-02-17T06:39:00.964Z] ---> 5270f7f4d8d2 [2023-02-17T06:39:00.964Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T06:39:00.964Z] ---> Running in f5e3f84e309d [2023-02-17T06:39:01.233Z] Removing intermediate container f5e3f84e309d [2023-02-17T06:39:01.233Z] ---> 6fd4fa0e3eb5 [2023-02-17T06:39:01.233Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:39:01.233Z] ---> Running in e6c894e2f792 [2023-02-17T06:39:01.972Z] Removing intermediate container e6c894e2f792 [2023-02-17T06:39:01.972Z] ---> eb350fca0027 [2023-02-17T06:39:01.972Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T06:39:01.972Z] ---> Running in 64b49d73f5aa [2023-02-17T06:39:02.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:39:03.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:39:04.952Z] OK: 221 MiB in 51 packages [2023-02-17T06:39:05.549Z] Removing intermediate container 64b49d73f5aa [2023-02-17T06:39:05.549Z] ---> 70b26f9bac05 [2023-02-17T06:39:05.549Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T06:39:06.142Z] ---> 53c337d8726a [2023-02-17T06:39:06.142Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:39:06.414Z] ---> Running in 431b59d321a2 [2023-02-17T06:40:14.341Z] Removing intermediate container 431b59d321a2 [2023-02-17T06:40:14.341Z] ---> d44157b6639a [2023-02-17T06:40:14.341Z] Step 9/10 : COPY . . [2023-02-17T06:40:14.613Z] ---> 794128fa7323 [2023-02-17T06:40:14.613Z] Step 10/10 : RUN ${MAKE} [2023-02-17T06:40:14.613Z] ---> Running in 5e2c27335e9c [2023-02-17T06:40:15.587Z] noop [2023-02-17T06:40:16.561Z] Removing intermediate container 5e2c27335e9c [2023-02-17T06:40:16.561Z] ---> 2bfe5d79e676 [2023-02-17T06:40:16.561Z] Successfully built 2bfe5d79e676 [2023-02-17T06:40:16.561Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:40:16.931Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:40:16.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:40:17.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-6417 does not seem to be running inside a container [2023-02-17T06:40:17.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-17T06:40:18.609Z] $ docker top 8adb3544456f07b62d73ab9f1866cba5ca7574f28d30c72dfd0863860f388a7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:40:19.493Z] + go version [2023-02-17T06:40:19.493Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T06:40:19.516Z] $ docker stop --time=1 8adb3544456f07b62d73ab9f1866cba5ca7574f28d30c72dfd0863860f388a7d [2023-02-17T06:40:21.200Z] $ docker rm -f --volumes 8adb3544456f07b62d73ab9f1866cba5ca7574f28d30c72dfd0863860f388a7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:40:21.794Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:40:21.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:40:22.007Z] prd-ubuntu20.04-docker-arm64-4c-16g-6417 does not seem to be running inside a container [2023-02-17T06:40:22.081Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-17T06:40:23.415Z] $ docker top 7da3f71de974ed798bb8ca763fb29428d13c6f2429690cefdb4203899ae5b5dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:40:24.285Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:40:24.946Z] + make test [2023-02-17T06:40:24.946Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T06:41:03.885Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T06:43:25.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T06:43:25.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T06:43:25.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T06:43:25.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T06:43:25.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T06:43:28.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.330s coverage: 27.6% of statements [2023-02-17T06:43:30.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.425s coverage: 78.9% of statements [2023-02-17T06:43:30.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T06:43:36.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.525s coverage: 77.8% of statements [2023-02-17T06:43:36.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T06:43:36.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T06:43:37.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.572s coverage: 77.0% of statements [2023-02-17T06:43:37.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T06:43:37.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T06:43:37.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T06:43:38.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.475s coverage: 65.2% of statements [2023-02-17T06:43:38.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T06:43:38.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T06:43:40.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.718s coverage: 89.2% of statements [2023-02-17T06:43:40.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T06:43:40.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.325s coverage: 4.7% of statements [2023-02-17T06:43:40.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T06:43:40.845Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T06:43:40.845Z] GO111MODULE=on go vet ./... [2023-02-17T06:45:20.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T06:45:20.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T06:45:20.532Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T06:45:20.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T06:45:20.561Z] $ docker stop --time=1 7da3f71de974ed798bb8ca763fb29428d13c6f2429690cefdb4203899ae5b5dc [2023-02-17T06:45:23.503Z] $ docker rm -f --volumes 7da3f71de974ed798bb8ca763fb29428d13c6f2429690cefdb4203899ae5b5dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:45:24.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T06:45:24.998Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T06:45:25.722Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:45:26.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T06:45:26.481Z] + ls -al . [2023-02-17T06:45:26.481Z] total 268 [2023-02-17T06:45:26.481Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 06:40 . [2023-02-17T06:45:26.481Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:38 .. [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 06:38 .dockerignore [2023-02-17T06:45:26.481Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 06:38 .git [2023-02-17T06:45:26.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:38 .github [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 06:38 .gitignore [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 06:38 .golangci.yml [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 06:38 CHANGELOG.md [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 06:38 GOVERNANCE.md [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 06:38 Jenkinsfile [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 06:38 LICENSE [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 06:38 Makefile [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 06:38 OWNERS.md [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 06:38 README.md [2023-02-17T06:45:26.481Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 06:35 VERSION [2023-02-17T06:45:26.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:38 bin [2023-02-17T06:45:26.481Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 06:43 coverage.out [2023-02-17T06:45:26.481Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 06:38 example [2023-02-17T06:45:26.482Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 06:38 go.mod [2023-02-17T06:45:26.482Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 06:38 go.sum [2023-02-17T06:45:26.482Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 06:38 internal [2023-02-17T06:45:26.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 06:38 openapi [2023-02-17T06:45:26.482Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 06:38 pkg [2023-02-17T06:45:26.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:38 snap [2023-02-17T06:45:26.482Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 06:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:45:26.834Z] + 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=83479d90184b6f31cfd2cf75003939fee94a5c5b --label arch=arm64 --label version=0.0.0 . [2023-02-17T06:45:27.111Z] Sending build context to Docker daemon 5.737MB [2023-02-17T06:45:27.386Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:45:27.386Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T06:45:27.386Z] ---> 2bfe5d79e676 [2023-02-17T06:45:27.386Z] Step 3/23 : ARG MAKE=make build [2023-02-17T06:45:27.386Z] ---> Running in 71a27078c35c [2023-02-17T06:45:27.667Z] Removing intermediate container 71a27078c35c [2023-02-17T06:45:27.667Z] ---> 0d0f048a22a6 [2023-02-17T06:45:27.667Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T06:45:27.936Z] ---> Running in b2937507e813 [2023-02-17T06:45:28.204Z] Removing intermediate container b2937507e813 [2023-02-17T06:45:28.204Z] ---> c1ce0dd04671 [2023-02-17T06:45:28.204Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:45:28.204Z] ---> Running in d1c505adc172 [2023-02-17T06:45:28.475Z] Removing intermediate container d1c505adc172 [2023-02-17T06:45:28.475Z] ---> 03ae90629e69 [2023-02-17T06:45:28.475Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T06:45:28.753Z] ---> Running in a0fda569cec7 [2023-02-17T06:45:29.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:45:29.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:45:31.391Z] OK: 221 MiB in 51 packages [2023-02-17T06:45:31.978Z] Removing intermediate container a0fda569cec7 [2023-02-17T06:45:31.978Z] ---> 3a17a185dc34 [2023-02-17T06:45:31.978Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T06:45:32.565Z] ---> db9e36bcb62e [2023-02-17T06:45:32.565Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:45:32.834Z] ---> Running in c0d208fa2c71 [2023-02-17T06:45:37.100Z] Removing intermediate container c0d208fa2c71 [2023-02-17T06:45:37.100Z] ---> b2953445c1fe [2023-02-17T06:45:37.100Z] Step 9/23 : COPY . . [2023-02-17T06:45:37.689Z] ---> 4578742b7c19 [2023-02-17T06:45:37.689Z] Step 10/23 : RUN ${MAKE} [2023-02-17T06:45:37.959Z] ---> Running in b83eb38275f3 [2023-02-17T06:45:38.921Z] 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-17T06:48:00.611Z] Removing intermediate container b83eb38275f3 [2023-02-17T06:48:00.611Z] ---> b4985650e33c [2023-02-17T06:48:00.611Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T06:48:00.611Z] 3.16: Pulling from library/alpine [2023-02-17T06:48:00.611Z] 3760b48202b3: Pulling fs layer [2023-02-17T06:48:00.611Z] 3760b48202b3: Verifying Checksum [2023-02-17T06:48:00.611Z] 3760b48202b3: Download complete [2023-02-17T06:48:00.611Z] 3760b48202b3: Pull complete [2023-02-17T06:48:00.611Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T06:48:00.611Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T06:48:00.611Z] ---> 4c81e5bf8899 [2023-02-17T06:48:00.611Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T06:48:00.611Z] ---> Running in 48c6d4fb1ff2 [2023-02-17T06:48:00.611Z] Removing intermediate container 48c6d4fb1ff2 [2023-02-17T06:48:00.611Z] ---> 516592624621 [2023-02-17T06:48:00.611Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T06:48:00.611Z] ---> Running in cf7e34bbee33 [2023-02-17T06:48:00.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:48:00.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:48:00.611Z] OK: 5 MiB in 14 packages [2023-02-17T06:48:00.611Z] Removing intermediate container cf7e34bbee33 [2023-02-17T06:48:00.611Z] ---> dd91c2a765f1 [2023-02-17T06:48:00.611Z] Step 14/23 : WORKDIR / [2023-02-17T06:48:00.611Z] ---> Running in 81c40bb54fcb [2023-02-17T06:48:00.611Z] Removing intermediate container 81c40bb54fcb [2023-02-17T06:48:00.611Z] ---> 6f9da655da58 [2023-02-17T06:48:00.611Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T06:48:00.611Z] ---> 453d9dce007a [2023-02-17T06:48:00.611Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T06:48:00.611Z] ---> e6ba0146f712 [2023-02-17T06:48:00.611Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T06:48:00.611Z] ---> e4795484fc1b [2023-02-17T06:48:00.611Z] Step 18/23 : EXPOSE 59999 [2023-02-17T06:48:00.611Z] ---> Running in 13292f453cf5 [2023-02-17T06:48:00.611Z] Removing intermediate container 13292f453cf5 [2023-02-17T06:48:00.611Z] ---> 16d09e353874 [2023-02-17T06:48:00.611Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T06:48:00.611Z] ---> Running in 01f9eee3d294 [2023-02-17T06:48:00.611Z] Removing intermediate container 01f9eee3d294 [2023-02-17T06:48:00.611Z] ---> 8890d5c96c3d [2023-02-17T06:48:00.611Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T06:48:00.611Z] ---> Running in 4973fddfad4f [2023-02-17T06:48:00.611Z] Removing intermediate container 4973fddfad4f [2023-02-17T06:48:00.611Z] ---> 5d6a4fecda0e [2023-02-17T06:48:00.611Z] Step 21/23 : LABEL arch=arm64 [2023-02-17T06:48:00.611Z] ---> Running in 419ae2320035 [2023-02-17T06:48:00.611Z] Removing intermediate container 419ae2320035 [2023-02-17T06:48:00.611Z] ---> 24ee92103375 [2023-02-17T06:48:00.612Z] Step 22/23 : LABEL git_sha=83479d90184b6f31cfd2cf75003939fee94a5c5b [2023-02-17T06:48:00.612Z] ---> Running in 97b1f2f4bc52 [2023-02-17T06:48:01.198Z] Removing intermediate container 97b1f2f4bc52 [2023-02-17T06:48:01.199Z] ---> 23041f08a497 [2023-02-17T06:48:01.199Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T06:48:01.199Z] ---> Running in 01364cf1babf [2023-02-17T06:48:01.467Z] Removing intermediate container 01364cf1babf [2023-02-17T06:48:01.467Z] ---> ece8219ff575 [2023-02-17T06:48:01.467Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T06:48:01.467Z] Successfully built ece8219ff575 [2023-02-17T06:48:01.467Z] 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-17T06:48:01.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:48:01.927Z] [2023-02-17T06:48:01.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:48:02.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:48:02.261Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T06:48:02.261Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T06:48:02.261Z] 04944245beec: Pulling fs layer [2023-02-17T06:48:02.261Z] 699f458cf7ca: Pulling fs layer [2023-02-17T06:48:02.261Z] 765212b225bb: Pulling fs layer [2023-02-17T06:48:02.261Z] f23df028b6ca: Pulling fs layer [2023-02-17T06:48:02.261Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T06:48:02.261Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T06:48:02.261Z] 765212b225bb: Waiting [2023-02-17T06:48:02.261Z] f23df028b6ca: Waiting [2023-02-17T06:48:02.261Z] d65c8cfc05b1: Waiting [2023-02-17T06:48:02.261Z] 2437ff75d9bd: Waiting [2023-02-17T06:48:02.530Z] 04944245beec: Verifying Checksum [2023-02-17T06:48:02.530Z] 04944245beec: Download complete [2023-02-17T06:48:02.530Z] 765212b225bb: Verifying Checksum [2023-02-17T06:48:02.530Z] 765212b225bb: Download complete [2023-02-17T06:48:02.530Z] f23df028b6ca: Verifying Checksum [2023-02-17T06:48:02.530Z] f23df028b6ca: Download complete [2023-02-17T06:48:02.530Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T06:48:02.530Z] d65c8cfc05b1: Download complete [2023-02-17T06:48:02.797Z] 699f458cf7ca: Verifying Checksum [2023-02-17T06:48:02.797Z] 699f458cf7ca: Download complete [2023-02-17T06:48:03.068Z] 8998bd30e6a1: Download complete [2023-02-17T06:48:05.646Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T06:48:05.646Z] 2437ff75d9bd: Download complete [2023-02-17T06:48:07.054Z] 8998bd30e6a1: Pull complete [2023-02-17T06:48:07.321Z] 04944245beec: Pull complete [2023-02-17T06:48:08.732Z] 699f458cf7ca: Pull complete [2023-02-17T06:48:08.999Z] 765212b225bb: Pull complete [2023-02-17T06:48:09.582Z] f23df028b6ca: Pull complete [2023-02-17T06:48:09.850Z] d65c8cfc05b1: Pull complete [2023-02-17T06:48:24.843Z] 2437ff75d9bd: Pull complete [2023-02-17T06:48:24.843Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T06:48:24.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:48:24.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:48:25.049Z] prd-ubuntu20.04-docker-arm64-4c-16g-6417 does not seem to be running inside a container [2023-02-17T06:48:25.118Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-17T06:48:27.806Z] $ docker top fcb6916c6af97626d4aa8fa7e7f17ea45c91fbaa34c54b7c863f80ffc4dd7b2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:28.651Z] ---> job-cost.sh [2023-02-17T06:48:28.651Z] lf-activate-venv: SKIPPING [2023-02-17T06:48:28.651Z] INFO: No Stack... [2023-02-17T06:48:29.233Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T06:48:29.815Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:48:30.463Z] + + cut -d,cat -f6 [2023-02-17T06:48:30.463Z] /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2023-02-17T06:48:30.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] [2023-02-17T06:48:30.510Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] did not exist. Created. [2023-02-17T06:48:30.510Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:48:31.177Z] /w/workspace/device-sdk-go/4@tmp/durable-61127abb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T06:48:31.834Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T06:48:31.858Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T06:48:31.928Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:48:31.934Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:48:31.955Z] $ docker stop --time=1 fcb6916c6af97626d4aa8fa7e7f17ea45c91fbaa34c54b7c863f80ffc4dd7b2c [2023-02-17T06:48:33.528Z] $ docker rm -f --volumes fcb6916c6af97626d4aa8fa7e7f17ea45c91fbaa34c54b7c863f80ffc4dd7b2c [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-17T06:48:33.916Z] provisioning config files... [2023-02-17T06:48:33.923Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config16627695988931654477tmp [Pipeline] { [Pipeline] sh [2023-02-17T06:48:34.217Z] + set +x [2023-02-17T06:48:34.217Z] + curl -s https://codecov.io/bash [2023-02-17T06:48:34.217Z] + bash -s -- [2023-02-17T06:48:34.217Z] [2023-02-17T06:48:34.217Z] _____ _ [2023-02-17T06:48:34.217Z] / ____| | | [2023-02-17T06:48:34.217Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T06:48:34.217Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T06:48:34.217Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T06:48:34.217Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T06:48:34.217Z] Bash-1.0.6 [2023-02-17T06:48:34.217Z] [2023-02-17T06:48:34.217Z] [2023-02-17T06:48:34.217Z] ==> git version 2.25.1 found [2023-02-17T06:48:34.217Z] ==> 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-17T06:48:34.217Z] Release-Date: 2020-01-08 [2023-02-17T06:48:34.217Z] 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-17T06:48:34.217Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T06:48:34.217Z] ==> Jenkins CI detected. [2023-02-17T06:48:34.217Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1323 [2023-02-17T06:48:34.217Z] project root: . [2023-02-17T06:48:34.217Z] --> token set from env [2023-02-17T06:48:34.217Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T06:48:34.217Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T06:48:34.217Z] ==> Python coveragepy not found [2023-02-17T06:48:34.217Z] ==> Searching for coverage reports in: [2023-02-17T06:48:34.217Z] + . [2023-02-17T06:48:34.476Z] -> Found 1 reports [2023-02-17T06:48:34.476Z] ==> Detecting git/mercurial file structure [2023-02-17T06:48:34.476Z] ==> Reading reports [2023-02-17T06:48:34.476Z] + ./coverage.out bytes=98700 [2023-02-17T06:48:34.476Z] ==> Appending adjustments [2023-02-17T06:48:34.476Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T06:48:34.735Z] + Found adjustments [2023-02-17T06:48:34.735Z] ==> Gzipping contents [2023-02-17T06:48:34.735Z] 16K /tmp/codecov.9yF5Gw.gz [2023-02-17T06:48:34.735Z] ==> Uploading reports [2023-02-17T06:48:34.735Z] url: https://codecov.io [2023-02-17T06:48:34.735Z] query: branch=PR-1323&commit=83479d90184b6f31cfd2cf75003939fee94a5c5b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1323%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1323&job=&cmd_args= [2023-02-17T06:48:34.735Z] -> Pinging Codecov [2023-02-17T06:48:34.735Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1323&commit=83479d90184b6f31cfd2cf75003939fee94a5c5b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1323%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1323&job=&cmd_args= [2023-02-17T06:48:34.735Z] -> Uploading to [2023-02-17T06:48:34.735Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/83479d90184b6f31cfd2cf75003939fee94a5c5b/8f61d6b3-9957-4d62-9653-65c9424e115b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T064834Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bffecbc1221da6f8ec355f10f78923fb79861b35c862e19c0d2a733f7d689d48 [2023-02-17T06:48:34.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:48:34.735Z] Dload Upload Total Spent Left Speed [2023-02-17T06:48:35.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14380 0 0 100 14380 0 40167 --:--:-- --:--:-- --:--:-- 40055 [2023-02-17T06:48:35.253Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/83479d90184b6f31cfd2cf75003939fee94a5c5b [Pipeline] } [2023-02-17T06:48:35.261Z] 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-17T06:48:35.983Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives ] [2023-02-17T06:48:35.983Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-17T06:48:35.983Z] total 16 [2023-02-17T06:48:35.983Z] drwxr-xr-x 3 root root 4096 Feb 17 06:37 . [2023-02-17T06:48:35.983Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 06:37 .. [2023-02-17T06:48:35.983Z] drwxr-xr-x 2 root root 4096 Feb 17 06:37 cost [2023-02-17T06:48:35.983Z] -rw-r--r-- 1 root root 86 Feb 17 06:37 cost.csv [2023-02-17T06:48:35.983Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-17T06:48:35.983Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-17T06:48:35.983Z] total 16 [2023-02-17T06:48:35.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:37 . [2023-02-17T06:48:35.983Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 06:37 .. [2023-02-17T06:48:35.983Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 06:37 cost [2023-02-17T06:48:35.983Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 06:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:36.276Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:37.140Z] ---> package-listing.sh [2023-02-17T06:48:37.140Z] ++ facter osfamily [2023-02-17T06:48:37.140Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T06:48:37.399Z] + OS_FAMILY=debian [2023-02-17T06:48:37.399Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1323 [2023-02-17T06:48:37.399Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T06:48:37.399Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T06:48:37.399Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T06:48:37.399Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T06:48:37.399Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1323 ']' [2023-02-17T06:48:37.399Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T06:48:37.399Z] + case "${OS_FAMILY}" in [2023-02-17T06:48:37.399Z] + dpkg -l [2023-02-17T06:48:37.399Z] + grep '^ii' [2023-02-17T06:48:37.399Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T06:48:37.399Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T06:48:37.399Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T06:48:37.399Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1323 ']' [2023-02-17T06:48:37.399Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/ [2023-02-17T06:48:37.399Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/ [Pipeline] echo [2023-02-17T06:48:37.409Z] 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-1323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T06:48:37.701Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:48:38.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:48:38.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:48:38.336Z] prd-ubuntu20.04-docker-8c-8g-6414 does not seem to be running inside a container [2023-02-17T06:48:38.350Z] $ 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-1323/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-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T06:48:38.575Z] $ docker top df13b1465935b7743bf2ec6ea03bea25a7df47aa88d1adce3c0637faab9a707b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:48:38.937Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T06:48:39.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T06:48:39.515Z] + ls /var/log/sa-host [2023-02-17T06:48:39.515Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:48:39.577Z] provisioning config files... [2023-02-17T06:48:39.585Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config8658543468806562255tmp [Pipeline] { [Pipeline] echo [2023-02-17T06:48:39.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:39.882Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T06:48:39.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:40.204Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T06:48:40.213Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:40.494Z] ---> sudo-logs.sh [2023-02-17T06:48:40.494Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T06:48:40.515Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:40.803Z] ---> job-cost.sh [2023-02-17T06:48:40.803Z] lf-activate-venv: SKIPPING [2023-02-17T06:48:40.803Z] DEBUG: total: 0.2199999988079071 [2023-02-17T06:48:40.803Z] INFO: Retrieving Stack Cost... [2023-02-17T06:48:41.372Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:48:41.941Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T06:48:41.955Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:48:42.242Z] ---> logs-deploy.sh [2023-02-17T06:48:42.242Z] lf-activate-venv: SKIPPING [2023-02-17T06:48:42.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1323/4 [2023-02-17T06:48:42.242Z] INFO: archiving workspace using pattern(s): [2023-02-17T06:48:43.180Z] Archives upload complete. [2023-02-17T06:48:43.180Z] INFO: archiving logs to Nexus