Pull request #1365 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a824c2b4ab4cf9aa298586464bec58cc60cf7400+774c2037947f109106e5ac1f44e7b15f17fcf2b1 (6fcda246fdaf14f9e4d6313010082948a45b1b3a) 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-ssh8346263197632462699.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-ssh7039301692717468831.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14382384607092323339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1532473288074251923.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13766685454966881430.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12538727973195973259.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-8730 in /w/workspace/gexfoundry_device-sdk-go_PR-1365 [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-1365 # 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/1365/head:refs/remotes/origin/PR-1365 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit a824c2b4ab4cf9aa298586464bec58cc60cf7400 Merge succeeded, producing a824c2b4ab4cf9aa298586464bec58cc60cf7400 Checking out Revision a824c2b4ab4cf9aa298586464bec58cc60cf7400 (PR-1365) > git config core.sparsecheckout # timeout=10 > git checkout -f a824c2b4ab4cf9aa298586464bec58cc60cf7400 # 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a824c2b4ab4cf9aa298586464bec58cc60cf7400 # timeout=10 Commit message: "feat: Device ProtocolProperties have typed values" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T03:43:36.581Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T03:43:36.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T03:43:36.874Z] ========================================================= [2023-03-08T03:43:36.874Z] EdgeX Global Pipelines Version Info [2023-03-08T03:43:36.874Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:43:37.628Z] ------------------- [2023-03-08T03:43:37.628Z] stable info: [2023-03-08T03:43:37.628Z] ------------------- [2023-03-08T03:43:37.628Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T03:43:37.628Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T03:43:37.628Z] Message: update stable to v1.0.244 [2023-03-08T03:43:38.199Z] ------------------- [2023-03-08T03:43:38.199Z] experimental info: [2023-03-08T03:43:38.199Z] ------------------- [2023-03-08T03:43:38.199Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T03:43:38.199Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T03:43:38.199Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T03:43:38.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-08T03:43:38.529Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-08T03:43:38.570Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T03:43:38.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T03:43:38.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T03:43:38.695Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T03:43:38.737Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T03:43:38.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-08T03:43:38.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T03:43:38.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T03:43:38.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T03:43:38.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-08T03:43:38.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T03:43:39.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T03:43:39.079Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T03:43:39.119Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T03:43:39.162Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T03:43:39.207Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T03:43:39.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T03:43:39.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T03:43:39.322Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T03:43:39.359Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-08T03:43:39.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T03:43:39.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T03:43:39.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T03:43:39.516Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T03:43:39.553Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T03:43:39.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1365 [Pipeline] echo [2023-03-08T03:43:39.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1365 [Pipeline] echo [2023-03-08T03:43:39.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1365 [Pipeline] echo [2023-03-08T03:43:39.697Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a824c2b4ab4cf9aa298586464bec58cc60cf7400 [Pipeline] echo [2023-03-08T03:43:39.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a824c2b [Pipeline] echo [2023-03-08T03:43:39.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T03:43:39.884Z] provisioning config files... [2023-03-08T03:43:39.898Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config7660139734349166198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:43:40.231Z] ---> docker-login.sh [2023-03-08T03:43:40.231Z] nexus3.edgexfoundry.org:10001 [2023-03-08T03:43:40.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:40.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:40.492Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:40.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:40.492Z] [2023-03-08T03:43:40.492Z] Login Succeeded [2023-03-08T03:43:40.492Z] nexus3.edgexfoundry.org:10002 [2023-03-08T03:43:40.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:40.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:40.492Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:40.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:40.492Z] [2023-03-08T03:43:40.492Z] Login Succeeded [2023-03-08T03:43:40.492Z] nexus3.edgexfoundry.org:10003 [2023-03-08T03:43:40.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:40.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:40.760Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:40.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:40.760Z] [2023-03-08T03:43:40.760Z] Login Succeeded [2023-03-08T03:43:40.760Z] nexus3.edgexfoundry.org:10004 [2023-03-08T03:43:40.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:40.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:40.760Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:40.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:40.760Z] [2023-03-08T03:43:40.760Z] Login Succeeded [2023-03-08T03:43:40.760Z] docker.io [2023-03-08T03:43:41.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:41.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:41.021Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:41.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:41.021Z] [2023-03-08T03:43:41.021Z] Login Succeeded [2023-03-08T03:43:41.021Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T03:43:41.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T03:43:41.680Z] + git rev-list -1 --merges a824c2b4ab4cf9aa298586464bec58cc60cf7400~1..a824c2b4ab4cf9aa298586464bec58cc60cf7400 [Pipeline] echo [2023-03-08T03:43:41.747Z] -----------> git rev-list -1 --merges a824c2b4ab4cf9aa298586464bec58cc60cf7400~1..a824c2b4ab4cf9aa298586464bec58cc60cf7400 a824c2b4ab4cf9aa298586464bec58cc60cf7400 [false] [Pipeline] sh [2023-03-08T03:43:42.102Z] + git log --format=format:%s -1 a824c2b4ab4cf9aa298586464bec58cc60cf7400 [Pipeline] echo [2023-03-08T03:43:42.137Z] ========================================================= [2023-03-08T03:43:42.137Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T03:43:42.137Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T03:43:42.579Z] + git log --format=format:%s -1 a824c2b4ab4cf9aa298586464bec58cc60cf7400 [Pipeline] echo [2023-03-08T03:43:42.612Z] [semverPrep] GIT_COMMIT: a824c2b4ab4cf9aa298586464bec58cc60cf7400, Commit Message: feat: Device ProtocolProperties have typed values [Pipeline] echo [2023-03-08T03:43:42.645Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T03:43:43.010Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T03:43:43.010Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T03:43:43.010Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T03:43:43.010Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T03:43:43.010Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T03:43:43.010Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T03:43:43.010Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:43:43.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T03:43:43.447Z] [2023-03-08T03:43:43.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:43:43.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T03:43:43.836Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T03:43:43.836Z] b85a868b505f: Pulling fs layer [2023-03-08T03:43:43.836Z] e2be974225ed: Pulling fs layer [2023-03-08T03:43:43.836Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T03:43:43.836Z] 988bab9f4d93: Pulling fs layer [2023-03-08T03:43:43.836Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T03:43:43.836Z] eaf3925da568: Pulling fs layer [2023-03-08T03:43:43.836Z] bab4dde63d76: Pulling fs layer [2023-03-08T03:43:43.836Z] bde34c3a00c8: Pulling fs layer [2023-03-08T03:43:43.836Z] b352a97aabf1: Pulling fs layer [2023-03-08T03:43:43.836Z] 4872d77fe225: Pulling fs layer [2023-03-08T03:43:43.836Z] 5851b861e8e6: Pulling fs layer [2023-03-08T03:43:43.836Z] 988bab9f4d93: Waiting [2023-03-08T03:43:43.836Z] 1469e6f7b9e6: Waiting [2023-03-08T03:43:43.836Z] eaf3925da568: Waiting [2023-03-08T03:43:43.836Z] bab4dde63d76: Waiting [2023-03-08T03:43:43.836Z] 4872d77fe225: Waiting [2023-03-08T03:43:43.836Z] 5851b861e8e6: Waiting [2023-03-08T03:43:43.836Z] bde34c3a00c8: Waiting [2023-03-08T03:43:43.836Z] b352a97aabf1: Waiting [2023-03-08T03:43:43.836Z] e2be974225ed: Download complete [2023-03-08T03:43:43.836Z] 988bab9f4d93: Verifying Checksum [2023-03-08T03:43:43.836Z] 988bab9f4d93: Download complete [2023-03-08T03:43:44.098Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T03:43:44.098Z] 1469e6f7b9e6: Download complete [2023-03-08T03:43:44.098Z] eaf3925da568: Verifying Checksum [2023-03-08T03:43:44.098Z] eaf3925da568: Download complete [2023-03-08T03:43:44.098Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T03:43:44.098Z] 339a4e72a1f5: Download complete [2023-03-08T03:43:44.098Z] bde34c3a00c8: Download complete [2023-03-08T03:43:44.098Z] b352a97aabf1: Download complete [2023-03-08T03:43:44.098Z] 4872d77fe225: Verifying Checksum [2023-03-08T03:43:44.098Z] 4872d77fe225: Download complete [2023-03-08T03:43:44.098Z] 5851b861e8e6: Verifying Checksum [2023-03-08T03:43:44.098Z] 5851b861e8e6: Download complete [2023-03-08T03:43:44.098Z] b85a868b505f: Verifying Checksum [2023-03-08T03:43:44.098Z] b85a868b505f: Download complete [2023-03-08T03:43:44.666Z] bab4dde63d76: Verifying Checksum [2023-03-08T03:43:44.666Z] bab4dde63d76: Download complete [2023-03-08T03:43:45.236Z] b85a868b505f: Pull complete [2023-03-08T03:43:45.497Z] e2be974225ed: Pull complete [2023-03-08T03:43:46.067Z] 339a4e72a1f5: Pull complete [2023-03-08T03:43:46.067Z] 988bab9f4d93: Pull complete [2023-03-08T03:43:46.329Z] 1469e6f7b9e6: Pull complete [2023-03-08T03:43:46.329Z] eaf3925da568: Pull complete [2023-03-08T03:43:48.236Z] bab4dde63d76: Pull complete [2023-03-08T03:43:48.236Z] bde34c3a00c8: Pull complete [2023-03-08T03:43:48.236Z] b352a97aabf1: Pull complete [2023-03-08T03:43:48.236Z] 4872d77fe225: Pull complete [2023-03-08T03:43:48.495Z] 5851b861e8e6: Pull complete [2023-03-08T03:43:48.495Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T03:43:48.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T03:43:48.495Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:43:48.722Z] prd-ubuntu20.04-docker-8c-8g-8730 does not seem to be running inside a container [2023-03-08T03:43:48.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T03:43:50.116Z] $ docker top 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 -eo pid,comm [2023-03-08T03:43:50.162Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-08T03:43:50.162Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T03:43:50.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T03:43:50.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T03:43:50.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T03:43:50.423Z] $ docker exec 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 ssh-agent [2023-03-08T03:43:50.532Z] SSH_AUTH_SOCK=/tmp/ssh-FeI0W2mLB2Ib/agent.32 [2023-03-08T03:43:50.532Z] SSH_AGENT_PID=38 [2023-03-08T03:43:50.539Z] Running ssh-add (command line suppressed) [2023-03-08T03:43:50.638Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_17469526461570512462.key (/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_17469526461570512462.key) [2023-03-08T03:43:50.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T03:43:50.982Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T03:43:51.016Z] $ docker exec --env ******** --env ******** 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 ssh-agent -k [2023-03-08T03:43:51.118Z] unset SSH_AUTH_SOCK; [2023-03-08T03:43:51.119Z] unset SSH_AGENT_PID; [2023-03-08T03:43:51.119Z] echo Agent pid 38 killed; [2023-03-08T03:43:51.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T03:43:51.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T03:43:51.221Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T03:43:51.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T03:43:51.350Z] $ docker exec 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 ssh-agent [2023-03-08T03:43:51.469Z] SSH_AUTH_SOCK=/tmp/ssh-ajIz5w6husRu/agent.70 [2023-03-08T03:43:51.469Z] SSH_AGENT_PID=76 [2023-03-08T03:43:51.474Z] Running ssh-add (command line suppressed) [2023-03-08T03:43:51.591Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_12336803030958745681.key (/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_12336803030958745681.key) [2023-03-08T03:43:51.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T03:43:51.928Z] + git semver init [2023-03-08T03:43:52.188Z] 2023-03-08 03:43:52,095 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T03:43:52.188Z] 2023-03-08 03:43:52,096 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver [2023-03-08T03:43:52.188Z] 2023-03-08 03:43:52,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver [2023-03-08T03:43:52.188Z] 2023-03-08 03:43:52,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1365, universal_newlines=False, shell=None, istream=None) [2023-03-08T03:43:53.127Z] 2023-03-08 03:43:53,013 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.git/info/exclude [2023-03-08T03:43:53.127Z] 2023-03-08 03:43:53,014 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver/PR-1365 with force:False [2023-03-08T03:43:53.128Z] 2023-03-08 03:43:53,014 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver/PR-1365 [2023-03-08T03:43:53.128Z] 2023-03-08 03:43:53,018 [execute] INFO git cat-file --batch-check [2023-03-08T03:43:53.128Z] 2023-03-08 03:43:53,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T03:43:53.128Z] 2023-03-08 03:43:53,027 [execute] INFO git cat-file --batch [2023-03-08T03:43:53.128Z] 2023-03-08 03:43:53,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T03:43:53.128Z] 2023-03-08 03:43:53,033 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver/PR-1365 [2023-03-08T03:43:53.128Z] 0.0.0 [Pipeline] } [2023-03-08T03:43:53.157Z] $ docker exec --env ******** --env ******** 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 ssh-agent -k [2023-03-08T03:43:53.261Z] unset SSH_AUTH_SOCK; [2023-03-08T03:43:53.262Z] unset SSH_AGENT_PID; [2023-03-08T03:43:53.262Z] echo Agent pid 76 killed; [2023-03-08T03:43:53.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T03:43:53.693Z] + git semver [Pipeline] } [2023-03-08T03:43:53.978Z] $ docker stop --time=1 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 [2023-03-08T03:43:55.322Z] $ docker rm -f --volumes 92a78643cf71b177432107cf0a3cbba1f8c3112f2f55fdad27aded20c6b6f739 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T03:43:55.781Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T03:43:56.059Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T03:43:56.076Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T03:43:56.696Z] provisioning config files... [2023-03-08T03:43:56.710Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config1904411709379570615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:43:57.054Z] ---> docker-login.sh [2023-03-08T03:43:57.054Z] nexus3.edgexfoundry.org:10001 [2023-03-08T03:43:57.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:57.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:57.054Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:57.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:57.054Z] [2023-03-08T03:43:57.054Z] Login Succeeded [2023-03-08T03:43:57.054Z] nexus3.edgexfoundry.org:10002 [2023-03-08T03:43:57.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:57.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:57.054Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:57.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:57.054Z] [2023-03-08T03:43:57.054Z] Login Succeeded [2023-03-08T03:43:57.054Z] nexus3.edgexfoundry.org:10003 [2023-03-08T03:43:57.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:57.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:57.315Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:57.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:57.315Z] [2023-03-08T03:43:57.315Z] Login Succeeded [2023-03-08T03:43:57.315Z] nexus3.edgexfoundry.org:10004 [2023-03-08T03:43:57.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:57.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:57.315Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:57.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:57.315Z] [2023-03-08T03:43:57.315Z] Login Succeeded [2023-03-08T03:43:57.315Z] docker.io [2023-03-08T03:43:57.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:43:57.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:43:57.576Z] Configure a credential helper to remove this warning. See [2023-03-08T03:43:57.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:43:57.576Z] [2023-03-08T03:43:57.576Z] Login Succeeded [2023-03-08T03:43:57.576Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T03:43:57.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T03:43:57.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T03:43:57.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T03:43:57.880Z] ========================================================= [2023-03-08T03:43:57.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T03:43:57.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:43:58.364Z] + 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-03-08T03:43:58.365Z] Sending build context to Docker daemon 10.68MB [2023-03-08T03:43:58.365Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T03:43:58.365Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T03:43:58.365Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T03:43:58.365Z] 213ec9aee27d: Pulling fs layer [2023-03-08T03:43:58.365Z] 4583459ba037: Pulling fs layer [2023-03-08T03:43:58.365Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T03:43:58.365Z] 53926ce57604: Pulling fs layer [2023-03-08T03:43:58.365Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T03:43:58.365Z] 22ff95d597cd: Pulling fs layer [2023-03-08T03:43:58.365Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T03:43:58.365Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T03:43:58.365Z] a7acece74701: Pulling fs layer [2023-03-08T03:43:58.365Z] 22ff95d597cd: Waiting [2023-03-08T03:43:58.365Z] 53926ce57604: Waiting [2023-03-08T03:43:58.365Z] 96b7cbca73a9: Waiting [2023-03-08T03:43:58.365Z] 21b2b0c7a3f4: Waiting [2023-03-08T03:43:58.365Z] a7acece74701: Waiting [2023-03-08T03:43:58.365Z] 12d6caf4c0d1: Waiting [2023-03-08T03:43:58.626Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T03:43:58.626Z] 93c1e223e6f2: Download complete [2023-03-08T03:43:58.626Z] 4583459ba037: Download complete [2023-03-08T03:43:58.626Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T03:43:58.626Z] 21b2b0c7a3f4: Download complete [2023-03-08T03:43:58.626Z] 22ff95d597cd: Verifying Checksum [2023-03-08T03:43:58.626Z] 22ff95d597cd: Download complete [2023-03-08T03:43:58.626Z] 213ec9aee27d: Verifying Checksum [2023-03-08T03:43:58.626Z] 213ec9aee27d: Download complete [2023-03-08T03:43:58.626Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T03:43:58.626Z] 12d6caf4c0d1: Download complete [2023-03-08T03:43:58.626Z] 213ec9aee27d: Pull complete [2023-03-08T03:43:58.894Z] 4583459ba037: Pull complete [2023-03-08T03:43:58.894Z] 93c1e223e6f2: Pull complete [2023-03-08T03:43:59.158Z] a7acece74701: Verifying Checksum [2023-03-08T03:43:59.158Z] a7acece74701: Download complete [2023-03-08T03:43:59.158Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T03:43:59.158Z] 96b7cbca73a9: Download complete [2023-03-08T03:43:59.416Z] 53926ce57604: Verifying Checksum [2023-03-08T03:43:59.416Z] 53926ce57604: Download complete [2023-03-08T03:44:03.600Z] 53926ce57604: Pull complete [2023-03-08T03:44:03.600Z] 21b2b0c7a3f4: Pull complete [2023-03-08T03:44:03.600Z] 22ff95d597cd: Pull complete [2023-03-08T03:44:03.600Z] 12d6caf4c0d1: Pull complete [2023-03-08T03:44:04.974Z] 96b7cbca73a9: Pull complete [2023-03-08T03:44:05.909Z] a7acece74701: Pull complete [2023-03-08T03:44:05.909Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T03:44:05.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T03:44:05.909Z] ---> db6d94c90886 [2023-03-08T03:44:05.909Z] Step 3/10 : ARG MAKE=make build [2023-03-08T03:44:07.817Z] ---> Running in c2f6d2e2baeb [2023-03-08T03:44:07.817Z] Removing intermediate container c2f6d2e2baeb [2023-03-08T03:44:07.817Z] ---> 343ff9c7e419 [2023-03-08T03:44:07.817Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T03:44:07.817Z] ---> Running in 62132d8b74d2 [2023-03-08T03:44:07.817Z] Removing intermediate container 62132d8b74d2 [2023-03-08T03:44:07.817Z] ---> 7aeb0f14b43b [2023-03-08T03:44:07.817Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T03:44:08.076Z] ---> Running in 0b2c18de4822 [2023-03-08T03:44:08.076Z] Removing intermediate container 0b2c18de4822 [2023-03-08T03:44:08.076Z] ---> b683bbcda8c0 [2023-03-08T03:44:08.076Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T03:44:08.076Z] ---> Running in f79ba0492247 [2023-03-08T03:44:08.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T03:44:08.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T03:44:08.854Z] OK: 211 MiB in 51 packages [2023-03-08T03:44:09.422Z] Removing intermediate container f79ba0492247 [2023-03-08T03:44:09.422Z] ---> a3ec370ae999 [2023-03-08T03:44:09.422Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T03:44:09.422Z] ---> e4713eccf45f [2023-03-08T03:44:09.422Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T03:44:09.422Z] ---> Running in 8a9a96d95327 [2023-03-08T03:44:11.497Z] Still waiting to schedule task [2023-03-08T03:44:11.497Z] ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T03:44:11.497Z] ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T03:44:11.497Z] ‘prd-ubuntu18.04-docker-8c-8g-8554’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T03:44:11.497Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8731’ is offline [2023-03-08T03:44:35.966Z] Removing intermediate container 8a9a96d95327 [2023-03-08T03:44:35.966Z] ---> c01c35c07486 [2023-03-08T03:44:35.966Z] Step 9/10 : COPY . . [2023-03-08T03:44:35.966Z] ---> 5db33a1ac8c9 [2023-03-08T03:44:35.966Z] Step 10/10 : RUN ${MAKE} [2023-03-08T03:44:35.966Z] ---> Running in 7bfa871871fb [2023-03-08T03:44:35.966Z] noop [2023-03-08T03:44:35.966Z] Removing intermediate container 7bfa871871fb [2023-03-08T03:44:35.966Z] ---> 87fc6c91cc9b [2023-03-08T03:44:35.966Z] Successfully built 87fc6c91cc9b [2023-03-08T03:44:35.966Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:44:36.420Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T03:44:36.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:44:36.563Z] prd-ubuntu20.04-docker-8c-8g-8730 does not seem to be running inside a container [2023-03-08T03:44:36.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T03:44:36.977Z] $ docker top d573b8fb52fa5a6f3b954577d7e8768ba10a4e6cf91a91984396253954deeac4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T03:44:37.362Z] + go version [2023-03-08T03:44:37.362Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T03:44:37.396Z] $ docker stop --time=1 d573b8fb52fa5a6f3b954577d7e8768ba10a4e6cf91a91984396253954deeac4 [2023-03-08T03:44:38.683Z] $ docker rm -f --volumes d573b8fb52fa5a6f3b954577d7e8768ba10a4e6cf91a91984396253954deeac4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:44:39.354Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T03:44:39.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:44:39.510Z] prd-ubuntu20.04-docker-8c-8g-8730 does not seem to be running inside a container [2023-03-08T03:44:39.548Z] $ 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-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T03:44:39.934Z] $ docker top e45b59a08c07351f6df0cd9d9fd43edfb09e007dbfe604fa16e0f73872fd929d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T03:44:40.319Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1365 [Pipeline] fileExists [Pipeline] sh [2023-03-08T03:44:40.674Z] + make test [2023-03-08T03:44:40.674Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T03:44:47.239Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-08T03:45:02.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-03-08T03:45:02.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.082s coverage: 78.9% of statements [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-08T03:45:02.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 86.0% of statements [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-08T03:45:02.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.4% of statements [2023-03-08T03:45:02.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-08T03:45:04.011Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.3% of statements [2023-03-08T03:45:04.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-08T03:45:04.011Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.2% of statements [2023-03-08T03:45:04.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-08T03:45:04.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-08T03:45:04.011Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.761s coverage: 89.2% of statements [2023-03-08T03:45:04.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-08T03:45:04.011Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.075s coverage: 5.4% of statements [2023-03-08T03:45:04.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-08T03:45:18.885Z] 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-03-08T03:45:18.885Z] GO111MODULE=on go vet ./... [2023-03-08T03:45:21.413Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T03:45:21.413Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T03:45:21.413Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T03:45:21.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T03:45:21.485Z] $ docker stop --time=1 e45b59a08c07351f6df0cd9d9fd43edfb09e007dbfe604fa16e0f73872fd929d [2023-03-08T03:45:23.551Z] $ docker rm -f --volumes e45b59a08c07351f6df0cd9d9fd43edfb09e007dbfe604fa16e0f73872fd929d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T03:45:24.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T03:45:24.166Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T03:45:24.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T03:45:25.040Z] + ls -al . [2023-03-08T03:45:25.040Z] total 280 [2023-03-08T03:45:25.040Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 03:44 . [2023-03-08T03:45:25.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:43 .. [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 03:43 .dockerignore [2023-03-08T03:45:25.040Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 03:45 .git [2023-03-08T03:45:25.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:43 .github [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 03:43 .gitignore [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 03:43 .golangci.yml [2023-03-08T03:45:25.040Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 03:43 .semver [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 03:43 CHANGELOG.md [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 03:43 GOVERNANCE.md [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 03:43 Jenkinsfile [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 03:43 LICENSE [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 03:43 Makefile [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 03:43 OWNERS.md [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 03:43 README.md [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 03:43 VERSION [2023-03-08T03:45:25.040Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:43 bin [2023-03-08T03:45:25.040Z] -rw-r--r-- 1 jenkins jenkins 111565 Mar 8 03:45 coverage.out [2023-03-08T03:45:25.040Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 03:43 example [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 03:43 go.mod [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 03:43 go.sum [2023-03-08T03:45:25.040Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 03:43 internal [2023-03-08T03:45:25.040Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 03:43 openapi [2023-03-08T03:45:25.040Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 03:43 pkg [2023-03-08T03:45:25.040Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:43 snap [2023-03-08T03:45:25.040Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 03:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:45:25.434Z] + 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=a824c2b4ab4cf9aa298586464bec58cc60cf7400 --label arch=amd64 --label version=0.0.0 . [2023-03-08T03:45:25.434Z] Sending build context to Docker daemon 10.79MB [2023-03-08T03:45:25.434Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T03:45:25.434Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T03:45:25.434Z] ---> 87fc6c91cc9b [2023-03-08T03:45:25.434Z] Step 3/23 : ARG MAKE=make build [2023-03-08T03:45:25.693Z] ---> Running in da525f3360ec [2023-03-08T03:45:25.693Z] Removing intermediate container da525f3360ec [2023-03-08T03:45:25.693Z] ---> b946e5cae87d [2023-03-08T03:45:25.693Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T03:45:25.693Z] ---> Running in 5ee2a22474fc [2023-03-08T03:45:25.953Z] Removing intermediate container 5ee2a22474fc [2023-03-08T03:45:25.953Z] ---> c33180c205d8 [2023-03-08T03:45:25.953Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T03:45:25.953Z] ---> Running in ae2c99e62823 [2023-03-08T03:45:25.953Z] Removing intermediate container ae2c99e62823 [2023-03-08T03:45:25.953Z] ---> c6bcd90661d3 [2023-03-08T03:45:25.953Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-08T03:45:25.953Z] ---> Running in de85d02578cd [2023-03-08T03:45:26.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T03:45:26.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T03:45:26.729Z] OK: 211 MiB in 51 packages [2023-03-08T03:45:26.988Z] Removing intermediate container de85d02578cd [2023-03-08T03:45:26.988Z] ---> 672b571c7168 [2023-03-08T03:45:26.988Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T03:45:27.245Z] ---> 95ea5abd0289 [2023-03-08T03:45:27.245Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T03:45:27.245Z] ---> Running in 5a0b89844cf0 [2023-03-08T03:45:28.181Z] Removing intermediate container 5a0b89844cf0 [2023-03-08T03:45:28.181Z] ---> d07f27ea1319 [2023-03-08T03:45:28.181Z] Step 9/23 : COPY . . [2023-03-08T03:45:28.439Z] ---> 2ffda0b14283 [2023-03-08T03:45:28.439Z] Step 10/23 : RUN ${MAKE} [2023-03-08T03:45:28.697Z] ---> Running in 88592d388142 [2023-03-08T03:45:28.955Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T03:45:47.029Z] Removing intermediate container 88592d388142 [2023-03-08T03:45:47.029Z] ---> fa8eef372078 [2023-03-08T03:45:47.029Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T03:45:47.029Z] 3.16: Pulling from library/alpine [2023-03-08T03:45:47.029Z] ef5531b6e74e: Pulling fs layer [2023-03-08T03:45:47.029Z] ef5531b6e74e: Verifying Checksum [2023-03-08T03:45:47.029Z] ef5531b6e74e: Download complete [2023-03-08T03:45:47.029Z] ef5531b6e74e: Pull complete [2023-03-08T03:45:47.029Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T03:45:47.029Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T03:45:47.030Z] ---> dfd21b5a31f5 [2023-03-08T03:45:47.030Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T03:45:47.030Z] ---> Running in ea931303187b [2023-03-08T03:45:47.030Z] Removing intermediate container ea931303187b [2023-03-08T03:45:47.030Z] ---> 8b593073a2fa [2023-03-08T03:45:47.030Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-08T03:45:47.289Z] ---> Running in 0baa28e2cd53 [2023-03-08T03:45:47.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T03:45:47.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T03:45:47.808Z] OK: 6 MiB in 14 packages [2023-03-08T03:45:48.068Z] Removing intermediate container 0baa28e2cd53 [2023-03-08T03:45:48.068Z] ---> 497b8b2126f3 [2023-03-08T03:45:48.068Z] Step 14/23 : WORKDIR / [2023-03-08T03:45:48.068Z] ---> Running in 0ddb84676798 [2023-03-08T03:45:48.068Z] Removing intermediate container 0ddb84676798 [2023-03-08T03:45:48.068Z] ---> b0662dadacee [2023-03-08T03:45:48.068Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T03:45:48.326Z] ---> a4fdee6b5e27 [2023-03-08T03:45:48.326Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T03:45:48.894Z] ---> 283409ddf3c6 [2023-03-08T03:45:48.894Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T03:45:48.894Z] ---> bae482002e98 [2023-03-08T03:45:48.894Z] Step 18/23 : EXPOSE 59999 [2023-03-08T03:45:48.894Z] ---> Running in f28027790cf6 [2023-03-08T03:45:49.152Z] Removing intermediate container f28027790cf6 [2023-03-08T03:45:49.152Z] ---> 6a0e05d92f4d [2023-03-08T03:45:49.152Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T03:45:49.152Z] ---> Running in 40d86023fa6d [2023-03-08T03:45:49.152Z] Removing intermediate container 40d86023fa6d [2023-03-08T03:45:49.152Z] ---> 635f092d81ad [2023-03-08T03:45:49.152Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T03:45:49.152Z] ---> Running in 406c5cd041ac [2023-03-08T03:45:49.409Z] Removing intermediate container 406c5cd041ac [2023-03-08T03:45:49.409Z] ---> 9b89e738c409 [2023-03-08T03:45:49.409Z] Step 21/23 : LABEL arch=amd64 [2023-03-08T03:45:49.409Z] ---> Running in a8f480a26db8 [2023-03-08T03:45:49.409Z] Removing intermediate container a8f480a26db8 [2023-03-08T03:45:49.409Z] ---> 74f9d32b45a4 [2023-03-08T03:45:49.409Z] Step 22/23 : LABEL git_sha=a824c2b4ab4cf9aa298586464bec58cc60cf7400 [2023-03-08T03:45:49.409Z] ---> Running in f52711de6516 [2023-03-08T03:45:49.666Z] Removing intermediate container f52711de6516 [2023-03-08T03:45:49.666Z] ---> a5f15b6306ef [2023-03-08T03:45:49.666Z] Step 23/23 : LABEL version=0.0.0 [2023-03-08T03:45:49.666Z] ---> Running in 31fb8d289a77 [2023-03-08T03:45:49.666Z] Removing intermediate container 31fb8d289a77 [2023-03-08T03:45:49.666Z] ---> ac9f08b721c4 [2023-03-08T03:45:49.666Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T03:45:49.666Z] Successfully built ac9f08b721c4 [2023-03-08T03:45:49.666Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:45:50.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T03:45:50.503Z] [2023-03-08T03:45:50.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:45:50.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T03:45:50.882Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T03:45:50.882Z] 5eb5b503b376: Pulling fs layer [2023-03-08T03:45:50.882Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T03:45:50.882Z] ec43610c2a17: Pulling fs layer [2023-03-08T03:45:50.882Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T03:45:50.882Z] 33b1e0a273af: Pulling fs layer [2023-03-08T03:45:50.882Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T03:45:50.882Z] 2f39f015ded8: Pulling fs layer [2023-03-08T03:45:50.882Z] 33b1e0a273af: Waiting [2023-03-08T03:45:50.882Z] 3a2ae6a8a46f: Waiting [2023-03-08T03:45:50.882Z] 5d3b04190fa2: Waiting [2023-03-08T03:45:50.882Z] 2f39f015ded8: Waiting [2023-03-08T03:45:50.882Z] 5c69ac0246d0: Download complete [2023-03-08T03:45:50.882Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T03:45:50.882Z] 3a2ae6a8a46f: Download complete [2023-03-08T03:45:51.142Z] 33b1e0a273af: Verifying Checksum [2023-03-08T03:45:51.142Z] 33b1e0a273af: Download complete [2023-03-08T03:45:51.142Z] ec43610c2a17: Verifying Checksum [2023-03-08T03:45:51.142Z] ec43610c2a17: Download complete [2023-03-08T03:45:51.142Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T03:45:51.142Z] 5eb5b503b376: Download complete [2023-03-08T03:45:51.711Z] 2f39f015ded8: Download complete [2023-03-08T03:45:52.278Z] 5eb5b503b376: Pull complete [2023-03-08T03:45:52.278Z] 5c69ac0246d0: Pull complete [2023-03-08T03:45:52.847Z] ec43610c2a17: Pull complete [2023-03-08T03:45:52.847Z] 3a2ae6a8a46f: Pull complete [2023-03-08T03:45:52.847Z] 33b1e0a273af: Pull complete [2023-03-08T03:45:53.106Z] 5d3b04190fa2: Pull complete [2023-03-08T03:45:57.290Z] 2f39f015ded8: Pull complete [2023-03-08T03:45:57.290Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T03:45:57.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T03:45:57.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:45:57.511Z] prd-ubuntu20.04-docker-8c-8g-8730 does not seem to be running inside a container [2023-03-08T03:45:57.545Z] $ 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-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T03:45:59.396Z] $ docker top bc5502ad21a69dd5fd075a6f4ff18967aab8091546c4537a1f0123f35792dbc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:45:59.853Z] ---> job-cost.sh [2023-03-08T03:45:59.853Z] lf-activate-venv: SKIPPING [2023-03-08T03:45:59.853Z] INFO: No Stack... [2023-03-08T03:46:00.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T03:46:00.375Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T03:46:00.686Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives/cost.csv [2023-03-08T03:46:00.686Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T03:46:00.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] [2023-03-08T03:46:00.730Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] did not exist. Created. [2023-03-08T03:46:00.731Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T03:46:01.118Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T03:46:01.168Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T03:46:01.196Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T03:46:01.270Z] $ docker stop --time=1 bc5502ad21a69dd5fd075a6f4ff18967aab8091546c4537a1f0123f35792dbc6 [2023-03-08T03:46:02.444Z] $ docker rm -f --volumes bc5502ad21a69dd5fd075a6f4ff18967aab8091546c4537a1f0123f35792dbc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T03:46:44.239Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8732 in /w/workspace/gexfoundry_device-sdk-go_PR-1365 [Pipeline] { [Pipeline] ws [2023-03-08T03:46:44.292Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-08T03:46:44.379Z] The recommended git tool is: git [2023-03-08T03:46:52.441Z] using credential edgex-jenkins-ssh [2023-03-08T03:46:52.465Z] Cloning the remote Git repository [2023-03-08T03:46:52.548Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T03:46:52.661Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-08T03:46:53.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T03:46:53.034Z] > git --version # timeout=10 [2023-03-08T03:46:53.071Z] > git --version # 'git version 2.25.1' [2023-03-08T03:46:53.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T03:46:53.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T03:46:55.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T03:46:55.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T03:46:57.359Z] Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit a824c2b4ab4cf9aa298586464bec58cc60cf7400 [2023-03-08T03:46:56.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T03:46:56.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T03:46:56.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T03:46:56.627Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1365/head:refs/remotes/origin/PR-1365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T03:46:57.402Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T03:46:57.462Z] > git checkout -f a824c2b4ab4cf9aa298586464bec58cc60cf7400 # timeout=10 [2023-03-08T03:46:57.601Z] > git remote # timeout=10 [2023-03-08T03:46:57.650Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T03:46:57.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T03:46:57.730Z] > git merge 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 [2023-03-08T03:46:57.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T03:46:57.885Z] Merge succeeded, producing a824c2b4ab4cf9aa298586464bec58cc60cf7400 [2023-03-08T03:46:57.886Z] Checking out Revision a824c2b4ab4cf9aa298586464bec58cc60cf7400 (PR-1365) [2023-03-08T03:46:57.896Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T03:46:57.972Z] > git checkout -f a824c2b4ab4cf9aa298586464bec58cc60cf7400 # timeout=10 [2023-03-08T03:47:01.889Z] Commit message: "feat: Device ProtocolProperties have typed values" [2023-03-08T03:47:01.947Z] > git --version # timeout=10 [2023-03-08T03:47:01.958Z] > git --version # 'git version 2.25.1' [2023-03-08T03:47:01.987Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T03:47:03.231Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T03:47:03.232Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T03:47:03.232Z] Dload Upload Total Spent Left Speed [2023-03-08T03:47:03.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-03-08T03:47:04.130Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T03:47:04.499Z] + sudo tee /etc/docker/daemon.new [2023-03-08T03:47:04.499Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T03:47:04.499Z] { [2023-03-08T03:47:04.499Z] "registry-mirrors": [ [2023-03-08T03:47:04.500Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T03:47:04.500Z] ], [2023-03-08T03:47:04.500Z] "bip": "10.250.0.254/24", [2023-03-08T03:47:04.500Z] "hosts": [ [2023-03-08T03:47:04.500Z] "tcp://0.0.0.0:5555", [2023-03-08T03:47:04.500Z] "unix:///var/run/docker.sock" [2023-03-08T03:47:04.500Z] ], [2023-03-08T03:47:04.500Z] "mtu": 1458, [2023-03-08T03:47:04.500Z] "selinux-enabled": true, [2023-03-08T03:47:04.500Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T03:47:04.500Z] } [Pipeline] sh [2023-03-08T03:47:04.923Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T03:47:05.568Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T03:47:23.921Z] provisioning config files... [2023-03-08T03:47:23.952Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14592688554647307620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:47:24.348Z] ---> docker-login.sh [2023-03-08T03:47:24.348Z] nexus3.edgexfoundry.org:10001 [2023-03-08T03:47:24.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:47:24.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:47:24.938Z] Configure a credential helper to remove this warning. See [2023-03-08T03:47:24.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:47:24.938Z] [2023-03-08T03:47:24.938Z] Login Succeeded [2023-03-08T03:47:25.208Z] nexus3.edgexfoundry.org:10002 [2023-03-08T03:47:25.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:47:25.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:47:25.478Z] Configure a credential helper to remove this warning. See [2023-03-08T03:47:25.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:47:25.478Z] [2023-03-08T03:47:25.478Z] Login Succeeded [2023-03-08T03:47:25.478Z] nexus3.edgexfoundry.org:10003 [2023-03-08T03:47:25.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:47:25.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:47:25.747Z] Configure a credential helper to remove this warning. See [2023-03-08T03:47:25.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:47:25.747Z] [2023-03-08T03:47:25.747Z] Login Succeeded [2023-03-08T03:47:25.747Z] nexus3.edgexfoundry.org:10004 [2023-03-08T03:47:26.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:47:26.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:47:26.286Z] Configure a credential helper to remove this warning. See [2023-03-08T03:47:26.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:47:26.286Z] [2023-03-08T03:47:26.286Z] Login Succeeded [2023-03-08T03:47:26.286Z] docker.io [2023-03-08T03:47:26.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T03:47:26.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T03:47:26.824Z] Configure a credential helper to remove this warning. See [2023-03-08T03:47:26.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T03:47:26.824Z] [2023-03-08T03:47:26.824Z] Login Succeeded [2023-03-08T03:47:26.824Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T03:47:26.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T03:47:27.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T03:47:27.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T03:47:27.433Z] ========================================================= [2023-03-08T03:47:27.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T03:47:27.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:47:28.009Z] + 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-03-08T03:47:28.278Z] Sending build context to Docker daemon 5.755MB [2023-03-08T03:47:28.556Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T03:47:28.556Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T03:47:28.556Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T03:47:28.556Z] 9b18e9b68314: Pulling fs layer [2023-03-08T03:47:28.556Z] 35d82f9e3411: Pulling fs layer [2023-03-08T03:47:28.556Z] e16973657156: Pulling fs layer [2023-03-08T03:47:28.556Z] fc693d55d65f: Pulling fs layer [2023-03-08T03:47:28.556Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T03:47:28.556Z] dda99020689f: Pulling fs layer [2023-03-08T03:47:28.556Z] fc693d55d65f: Waiting [2023-03-08T03:47:28.556Z] db1c61fa0a46: Pulling fs layer [2023-03-08T03:47:28.556Z] 7e9fc2657dce: Waiting [2023-03-08T03:47:28.556Z] 891c053d2c06: Pulling fs layer [2023-03-08T03:47:28.556Z] dda99020689f: Waiting [2023-03-08T03:47:28.556Z] db1c61fa0a46: Waiting [2023-03-08T03:47:28.556Z] 891c053d2c06: Waiting [2023-03-08T03:47:28.556Z] e16973657156: Verifying Checksum [2023-03-08T03:47:28.556Z] e16973657156: Download complete [2023-03-08T03:47:28.556Z] 35d82f9e3411: Verifying Checksum [2023-03-08T03:47:28.556Z] 35d82f9e3411: Download complete [2023-03-08T03:47:28.556Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T03:47:28.556Z] 7e9fc2657dce: Download complete [2023-03-08T03:47:28.846Z] dda99020689f: Verifying Checksum [2023-03-08T03:47:28.846Z] dda99020689f: Download complete [2023-03-08T03:47:28.846Z] 9b18e9b68314: Download complete [2023-03-08T03:47:29.819Z] 9b18e9b68314: Pull complete [2023-03-08T03:47:29.819Z] 891c053d2c06: Verifying Checksum [2023-03-08T03:47:29.819Z] 891c053d2c06: Download complete [2023-03-08T03:47:30.421Z] 35d82f9e3411: Pull complete [2023-03-08T03:47:30.697Z] e16973657156: Pull complete [2023-03-08T03:47:30.966Z] db1c61fa0a46: Verifying Checksum [2023-03-08T03:47:30.966Z] db1c61fa0a46: Download complete [2023-03-08T03:47:31.555Z] fc693d55d65f: Verifying Checksum [2023-03-08T03:47:31.555Z] fc693d55d65f: Download complete [2023-03-08T03:47:43.897Z] fc693d55d65f: Pull complete [2023-03-08T03:47:43.897Z] 7e9fc2657dce: Pull complete [2023-03-08T03:47:43.897Z] dda99020689f: Pull complete [2023-03-08T03:47:48.162Z] db1c61fa0a46: Pull complete [2023-03-08T03:47:49.576Z] 891c053d2c06: Pull complete [2023-03-08T03:47:49.576Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T03:47:49.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T03:47:49.576Z] ---> f96f9c87975a [2023-03-08T03:47:49.576Z] Step 3/10 : ARG MAKE=make build [2023-03-08T03:47:52.207Z] ---> Running in a650d1bbfd52 [2023-03-08T03:47:52.207Z] Removing intermediate container a650d1bbfd52 [2023-03-08T03:47:52.207Z] ---> b3a6d5002e18 [2023-03-08T03:47:52.207Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T03:47:52.207Z] ---> Running in e50f9c770487 [2023-03-08T03:47:52.475Z] Removing intermediate container e50f9c770487 [2023-03-08T03:47:52.475Z] ---> 0ff305bff244 [2023-03-08T03:47:52.475Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T03:47:52.743Z] ---> Running in 1901d16d747c [2023-03-08T03:47:53.010Z] Removing intermediate container 1901d16d747c [2023-03-08T03:47:53.010Z] ---> 7795e9b9559e [2023-03-08T03:47:53.010Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T03:47:53.010Z] ---> Running in ead0d581180f [2023-03-08T03:47:54.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T03:47:54.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T03:47:55.830Z] OK: 221 MiB in 51 packages [2023-03-08T03:47:56.414Z] Removing intermediate container ead0d581180f [2023-03-08T03:47:56.414Z] ---> 826d0a185075 [2023-03-08T03:47:56.414Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T03:47:56.997Z] ---> d4b8ad9661a5 [2023-03-08T03:47:56.997Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T03:47:59.578Z] ---> Running in 4197d1bb5354 [2023-03-08T03:49:07.460Z] Removing intermediate container 4197d1bb5354 [2023-03-08T03:49:07.460Z] ---> 9530b9b780a0 [2023-03-08T03:49:07.460Z] Step 9/10 : COPY . . [2023-03-08T03:49:07.460Z] ---> ad535f941ef0 [2023-03-08T03:49:07.460Z] Step 10/10 : RUN ${MAKE} [2023-03-08T03:49:07.460Z] ---> Running in 02277aa74bc7 [2023-03-08T03:49:07.460Z] noop [2023-03-08T03:49:07.460Z] Removing intermediate container 02277aa74bc7 [2023-03-08T03:49:07.460Z] ---> 61c66f7b903f [2023-03-08T03:49:07.460Z] Successfully built 61c66f7b903f [2023-03-08T03:49:07.460Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:49:07.926Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T03:49:07.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:49:08.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-8732 does not seem to be running inside a container [2023-03-08T03:49:08.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T03:49:09.578Z] $ docker top 34b508d83fdf25e8a4f89cdeaa56c77834cc43c8e7f7564023ae2f019c9dfd7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T03:49:10.488Z] + go version [2023-03-08T03:49:10.488Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T03:49:10.525Z] $ docker stop --time=1 34b508d83fdf25e8a4f89cdeaa56c77834cc43c8e7f7564023ae2f019c9dfd7b [2023-03-08T03:49:12.208Z] $ docker rm -f --volumes 34b508d83fdf25e8a4f89cdeaa56c77834cc43c8e7f7564023ae2f019c9dfd7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:49:13.156Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T03:49:13.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:49:13.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-8732 does not seem to be running inside a container [2023-03-08T03:49:13.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T03:49:14.759Z] $ docker top 5377d1cf75b2a2b1ee15d942b085ce4b6fc47cb6ae053d08deb4cf5158a74dfb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T03:49:15.669Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-08T03:49:16.381Z] + make test [2023-03-08T03:49:16.381Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T03:49:55.319Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T03:51:47.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-08T03:51:47.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-08T03:51:47.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-08T03:51:47.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-08T03:51:47.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-08T03:51:57.211Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.248s coverage: 27.6% of statements [2023-03-08T03:51:57.795Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.313s coverage: 78.9% of statements [2023-03-08T03:51:57.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-08T03:52:03.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.409s coverage: 86.0% of statements [2023-03-08T03:52:03.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-08T03:52:03.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-08T03:52:04.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.580s coverage: 75.4% of statements [2023-03-08T03:52:04.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-08T03:52:04.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.380s coverage: 15.3% of statements [2023-03-08T03:52:04.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-08T03:52:05.183Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.492s coverage: 65.2% of statements [2023-03-08T03:52:05.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-08T03:52:05.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-08T03:52:10.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.100s coverage: 89.2% of statements [2023-03-08T03:52:10.585Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-08T03:52:10.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.264s coverage: 5.4% of statements [2023-03-08T03:52:10.585Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-08T03:52:10.856Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T03:52:10.856Z] GO111MODULE=on go vet ./... [2023-03-08T03:53:49.029Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T03:53:49.029Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T03:53:49.029Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T03:53:49.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T03:53:49.100Z] $ docker stop --time=1 5377d1cf75b2a2b1ee15d942b085ce4b6fc47cb6ae053d08deb4cf5158a74dfb [2023-03-08T03:53:50.912Z] $ docker rm -f --volumes 5377d1cf75b2a2b1ee15d942b085ce4b6fc47cb6ae053d08deb4cf5158a74dfb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T03:53:52.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T03:53:52.384Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T03:53:53.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T03:53:53.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T03:53:53.964Z] + ls -al . [2023-03-08T03:53:53.964Z] total 276 [2023-03-08T03:53:53.964Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 03:49 . [2023-03-08T03:53:53.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:46 .. [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 03:46 .dockerignore [2023-03-08T03:53:53.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 03:46 .git [2023-03-08T03:53:53.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:46 .github [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 03:46 .gitignore [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 03:46 .golangci.yml [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 03:46 CHANGELOG.md [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 03:46 GOVERNANCE.md [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 03:46 Jenkinsfile [2023-03-08T03:53:53.964Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 03:46 LICENSE [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 03:46 Makefile [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 03:46 OWNERS.md [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 03:46 README.md [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 03:43 VERSION [2023-03-08T03:53:53.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:46 bin [2023-03-08T03:53:53.965Z] -rw-r--r-- 1 jenkins jenkins 111565 Mar 8 03:52 coverage.out [2023-03-08T03:53:53.965Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 03:46 example [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 03:46 go.mod [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 03:46 go.sum [2023-03-08T03:53:53.965Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 03:46 internal [2023-03-08T03:53:53.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 03:46 openapi [2023-03-08T03:53:53.965Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 03:46 pkg [2023-03-08T03:53:53.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:46 snap [2023-03-08T03:53:53.965Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 03:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:53:54.389Z] + 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=a824c2b4ab4cf9aa298586464bec58cc60cf7400 --label arch=arm64 --label version=0.0.0 . [2023-03-08T03:53:54.657Z] Sending build context to Docker daemon 5.867MB [2023-03-08T03:53:54.925Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T03:53:54.925Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T03:53:54.925Z] ---> 61c66f7b903f [2023-03-08T03:53:54.925Z] Step 3/23 : ARG MAKE=make build [2023-03-08T03:53:55.197Z] ---> Running in 1d18d51ec1be [2023-03-08T03:53:55.465Z] Removing intermediate container 1d18d51ec1be [2023-03-08T03:53:55.465Z] ---> 0905d1210517 [2023-03-08T03:53:55.733Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T03:53:55.733Z] ---> Running in 1935b56513eb [2023-03-08T03:53:56.000Z] Removing intermediate container 1935b56513eb [2023-03-08T03:53:56.000Z] ---> 3f69a06928f2 [2023-03-08T03:53:56.000Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T03:53:56.000Z] ---> Running in 4c5330907c1c [2023-03-08T03:53:56.270Z] Removing intermediate container 4c5330907c1c [2023-03-08T03:53:56.270Z] ---> b9b77b9c2716 [2023-03-08T03:53:56.270Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-08T03:53:56.270Z] ---> Running in 5e68824ddb6f [2023-03-08T03:53:57.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T03:53:57.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T03:53:58.987Z] OK: 221 MiB in 51 packages [2023-03-08T03:53:59.598Z] Removing intermediate container 5e68824ddb6f [2023-03-08T03:53:59.598Z] ---> 28c5e94d10d8 [2023-03-08T03:53:59.598Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T03:54:00.232Z] ---> 2166c8e52d40 [2023-03-08T03:54:00.233Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T03:54:00.233Z] ---> Running in 8c75941efaa7 [2023-03-08T03:54:03.616Z] Removing intermediate container 8c75941efaa7 [2023-03-08T03:54:03.616Z] ---> 53b083ddcd4e [2023-03-08T03:54:03.616Z] Step 9/23 : COPY . . [2023-03-08T03:54:04.588Z] ---> 7b86d5cb3a45 [2023-03-08T03:54:04.588Z] Step 10/23 : RUN ${MAKE} [2023-03-08T03:54:04.588Z] ---> Running in 210a5b442a49 [2023-03-08T03:54:05.559Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T03:56:27.313Z] Removing intermediate container 210a5b442a49 [2023-03-08T03:56:27.313Z] ---> 7a7fa15a57a1 [2023-03-08T03:56:27.313Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T03:56:27.313Z] 3.16: Pulling from library/alpine [2023-03-08T03:56:27.313Z] 3760b48202b3: Pulling fs layer [2023-03-08T03:56:27.313Z] 3760b48202b3: Verifying Checksum [2023-03-08T03:56:27.313Z] 3760b48202b3: Download complete [2023-03-08T03:56:27.313Z] 3760b48202b3: Pull complete [2023-03-08T03:56:27.313Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T03:56:27.313Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T03:56:27.313Z] ---> 4c81e5bf8899 [2023-03-08T03:56:27.313Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T03:56:27.313Z] ---> Running in c38d185232a7 [2023-03-08T03:56:27.313Z] Removing intermediate container c38d185232a7 [2023-03-08T03:56:27.313Z] ---> 72339536cfb8 [2023-03-08T03:56:27.313Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-08T03:56:27.313Z] ---> Running in a7dd5187b736 [2023-03-08T03:56:27.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T03:56:27.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T03:56:27.313Z] OK: 5 MiB in 14 packages [2023-03-08T03:56:27.313Z] Removing intermediate container a7dd5187b736 [2023-03-08T03:56:27.313Z] ---> 4893db520b86 [2023-03-08T03:56:27.313Z] Step 14/23 : WORKDIR / [2023-03-08T03:56:27.313Z] ---> Running in 0497e7d0324d [2023-03-08T03:56:27.314Z] Removing intermediate container 0497e7d0324d [2023-03-08T03:56:27.314Z] ---> 69f13228c639 [2023-03-08T03:56:27.314Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T03:56:27.314Z] ---> 2810fea49569 [2023-03-08T03:56:27.314Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T03:56:27.314Z] ---> 84c1d891fbb1 [2023-03-08T03:56:27.314Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T03:56:27.314Z] ---> ded78134322d [2023-03-08T03:56:27.314Z] Step 18/23 : EXPOSE 59999 [2023-03-08T03:56:27.314Z] ---> Running in 1c66254aca54 [2023-03-08T03:56:27.314Z] Removing intermediate container 1c66254aca54 [2023-03-08T03:56:27.314Z] ---> a8d80f49270e [2023-03-08T03:56:27.314Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T03:56:27.314Z] ---> Running in 226c89a8e1ef [2023-03-08T03:56:27.314Z] Removing intermediate container 226c89a8e1ef [2023-03-08T03:56:27.314Z] ---> 3cbeb27ca437 [2023-03-08T03:56:27.314Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T03:56:27.314Z] ---> Running in ebf9047b4802 [2023-03-08T03:56:27.314Z] Removing intermediate container ebf9047b4802 [2023-03-08T03:56:27.314Z] ---> 2d73e20c23e2 [2023-03-08T03:56:27.314Z] Step 21/23 : LABEL arch=arm64 [2023-03-08T03:56:27.314Z] ---> Running in 226943a368c3 [2023-03-08T03:56:27.314Z] Removing intermediate container 226943a368c3 [2023-03-08T03:56:27.314Z] ---> 57d7dddd1cbc [2023-03-08T03:56:27.314Z] Step 22/23 : LABEL git_sha=a824c2b4ab4cf9aa298586464bec58cc60cf7400 [2023-03-08T03:56:27.314Z] ---> Running in 1eeda476e1f1 [2023-03-08T03:56:27.314Z] Removing intermediate container 1eeda476e1f1 [2023-03-08T03:56:27.314Z] ---> 3eb893b200d4 [2023-03-08T03:56:27.314Z] Step 23/23 : LABEL version=0.0.0 [2023-03-08T03:56:27.314Z] ---> Running in f6e90b67eafa [2023-03-08T03:56:27.314Z] Removing intermediate container f6e90b67eafa [2023-03-08T03:56:27.314Z] ---> 816a87973ade [2023-03-08T03:56:27.314Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T03:56:27.314Z] Successfully built 816a87973ade [2023-03-08T03:56:27.314Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:56:28.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T03:56:28.088Z] [2023-03-08T03:56:28.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:56:28.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T03:56:28.788Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T03:56:28.788Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T03:56:28.788Z] 04944245beec: Pulling fs layer [2023-03-08T03:56:28.788Z] 699f458cf7ca: Pulling fs layer [2023-03-08T03:56:28.788Z] 765212b225bb: Pulling fs layer [2023-03-08T03:56:28.788Z] f23df028b6ca: Pulling fs layer [2023-03-08T03:56:28.788Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T03:56:28.788Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T03:56:28.788Z] 765212b225bb: Waiting [2023-03-08T03:56:28.788Z] f23df028b6ca: Waiting [2023-03-08T03:56:28.788Z] d65c8cfc05b1: Waiting [2023-03-08T03:56:28.788Z] 2437ff75d9bd: Waiting [2023-03-08T03:56:28.788Z] 04944245beec: Verifying Checksum [2023-03-08T03:56:28.788Z] 04944245beec: Download complete [2023-03-08T03:56:28.788Z] 765212b225bb: Verifying Checksum [2023-03-08T03:56:28.788Z] 765212b225bb: Download complete [2023-03-08T03:56:28.788Z] f23df028b6ca: Download complete [2023-03-08T03:56:28.788Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T03:56:28.788Z] d65c8cfc05b1: Download complete [2023-03-08T03:56:29.057Z] 699f458cf7ca: Verifying Checksum [2023-03-08T03:56:29.057Z] 699f458cf7ca: Download complete [2023-03-08T03:56:29.330Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T03:56:29.330Z] 8998bd30e6a1: Download complete [2023-03-08T03:56:31.924Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T03:56:31.924Z] 2437ff75d9bd: Download complete [2023-03-08T03:56:33.877Z] 8998bd30e6a1: Pull complete [2023-03-08T03:56:34.146Z] 04944245beec: Pull complete [2023-03-08T03:56:35.561Z] 699f458cf7ca: Pull complete [2023-03-08T03:56:35.829Z] 765212b225bb: Pull complete [2023-03-08T03:56:36.796Z] f23df028b6ca: Pull complete [2023-03-08T03:56:37.064Z] d65c8cfc05b1: Pull complete [2023-03-08T03:56:52.072Z] 2437ff75d9bd: Pull complete [2023-03-08T03:56:52.072Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T03:56:52.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T03:56:52.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:56:52.411Z] prd-ubuntu20.04-docker-arm64-4c-16g-8732 does not seem to be running inside a container [2023-03-08T03:56:52.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T03:56:55.395Z] $ docker top 254284d1690a8e4289245d69c6fc935207d86b2c0aea4e74656eda2ed2686e08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:56:56.320Z] ---> job-cost.sh [2023-03-08T03:56:56.320Z] lf-activate-venv: SKIPPING [2023-03-08T03:56:56.320Z] INFO: No Stack... [2023-03-08T03:56:56.905Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T03:56:57.491Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T03:56:58.163Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csvcut [2023-03-08T03:56:58.163Z] -d, -f6 [Pipeline] lock [2023-03-08T03:56:58.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] [2023-03-08T03:56:58.261Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] did not exist. Created. [2023-03-08T03:56:58.261Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T03:56:58.992Z] /w/workspace/device-sdk-go/1@tmp/durable-eff41ba7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T03:56:59.676Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T03:56:59.719Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T03:56:59.797Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T03:56:59.811Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T03:56:59.889Z] $ docker stop --time=1 254284d1690a8e4289245d69c6fc935207d86b2c0aea4e74656eda2ed2686e08 [2023-03-08T03:57:01.435Z] $ docker rm -f --volumes 254284d1690a8e4289245d69c6fc935207d86b2c0aea4e74656eda2ed2686e08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-08T03:57:02.475Z] provisioning config files... [2023-03-08T03:57:02.483Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config15235731152847897271tmp [Pipeline] { [Pipeline] sh [2023-03-08T03:57:02.817Z] + set +x [2023-03-08T03:57:02.817Z] + curl -s https://codecov.io/bash [2023-03-08T03:57:02.817Z] + bash -s -- [2023-03-08T03:57:02.817Z] [2023-03-08T03:57:02.817Z] _____ _ [2023-03-08T03:57:02.817Z] / ____| | | [2023-03-08T03:57:02.817Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T03:57:02.817Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T03:57:02.817Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T03:57:02.817Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T03:57:02.817Z] Bash-1.0.6 [2023-03-08T03:57:02.817Z] [2023-03-08T03:57:02.817Z] [2023-03-08T03:57:02.817Z] ==> git version 2.25.1 found [2023-03-08T03:57:02.817Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-08T03:57:02.817Z] Release-Date: 2020-01-08 [2023-03-08T03:57:02.817Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-08T03:57:02.817Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T03:57:02.817Z] ==> Jenkins CI detected. [2023-03-08T03:57:02.818Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1365 [2023-03-08T03:57:02.818Z] project root: . [2023-03-08T03:57:02.818Z] --> token set from env [2023-03-08T03:57:02.818Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T03:57:02.818Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T03:57:02.818Z] ==> Python coveragepy not found [2023-03-08T03:57:02.818Z] ==> Searching for coverage reports in: [2023-03-08T03:57:02.818Z] + . [2023-03-08T03:57:02.818Z] -> Found 1 reports [2023-03-08T03:57:02.818Z] ==> Detecting git/mercurial file structure [2023-03-08T03:57:02.818Z] ==> Reading reports [2023-03-08T03:57:02.818Z] + ./coverage.out bytes=111565 [2023-03-08T03:57:02.818Z] ==> Appending adjustments [2023-03-08T03:57:02.818Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T03:57:03.077Z] + Found adjustments [2023-03-08T03:57:03.338Z] ==> Gzipping contents [2023-03-08T03:57:03.338Z] 16K /tmp/codecov.soXozB.gz [2023-03-08T03:57:03.338Z] ==> Uploading reports [2023-03-08T03:57:03.338Z] url: https://codecov.io [2023-03-08T03:57:03.338Z] query: branch=PR-1365&commit=a824c2b4ab4cf9aa298586464bec58cc60cf7400&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1365&job=&cmd_args= [2023-03-08T03:57:03.338Z] -> Pinging Codecov [2023-03-08T03:57:03.338Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1365&commit=a824c2b4ab4cf9aa298586464bec58cc60cf7400&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1365&job=&cmd_args= [2023-03-08T03:57:03.338Z] -> Uploading to [2023-03-08T03:57:03.338Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7E55EF52A471D76F132DFD9A03CDDE97/a824c2b4ab4cf9aa298586464bec58cc60cf7400/bbcccb8d-8498-456b-9840-1b54870e00de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T035703Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff48e92965534a4a6af32b510f2db3de200e2802ddc988d818d84ebdb8430ab6 [2023-03-08T03:57:03.338Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T03:57:03.338Z] Dload Upload Total Spent Left Speed [2023-03-08T03:57:03.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15427 0 0 100 15427 0 52651 --:--:-- --:--:-- --:--:-- 52651 [2023-03-08T03:57:03.598Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a824c2b4ab4cf9aa298586464bec58cc60cf7400 [Pipeline] } [2023-03-08T03:57:03.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-08T03:57:05.321Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives ] [2023-03-08T03:57:05.321Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives [2023-03-08T03:57:05.321Z] total 16 [2023-03-08T03:57:05.321Z] drwxr-xr-x 3 root root 4096 Mar 8 03:46 . [2023-03-08T03:57:05.321Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 03:46 .. [2023-03-08T03:57:05.321Z] drwxr-xr-x 2 root root 4096 Mar 8 03:46 cost [2023-03-08T03:57:05.321Z] -rw-r--r-- 1 root root 86 Mar 8 03:46 cost.csv [2023-03-08T03:57:05.321Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives [2023-03-08T03:57:05.321Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives [2023-03-08T03:57:05.321Z] total 16 [2023-03-08T03:57:05.321Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 03:46 . [2023-03-08T03:57:05.321Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 03:46 .. [2023-03-08T03:57:05.321Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 03:46 cost [2023-03-08T03:57:05.321Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 03:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:05.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:06.527Z] ---> package-listing.sh [2023-03-08T03:57:06.527Z] ++ facter osfamily [2023-03-08T03:57:06.527Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T03:57:06.786Z] + OS_FAMILY=debian [2023-03-08T03:57:06.786Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1365 [2023-03-08T03:57:06.786Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T03:57:06.786Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T03:57:06.786Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T03:57:06.786Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T03:57:06.786Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1365 ']' [2023-03-08T03:57:06.786Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T03:57:06.786Z] + case "${OS_FAMILY}" in [2023-03-08T03:57:06.786Z] + dpkg -l [2023-03-08T03:57:06.786Z] + grep '^ii' [2023-03-08T03:57:06.786Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T03:57:06.786Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T03:57:06.786Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T03:57:06.786Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1365 ']' [2023-03-08T03:57:06.786Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives/ [2023-03-08T03:57:06.786Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives/ [Pipeline] echo [2023-03-08T03:57:06.821Z] 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-1365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T03:57:07.112Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T03:57:07.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T03:57:07.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T03:57:07.896Z] prd-ubuntu20.04-docker-8c-8g-8730 does not seem to be running inside a container [2023-03-08T03:57:07.925Z] $ 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-1365/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-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@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-03-08T03:57:08.122Z] $ docker top aa2629c592b66d06f8aa067337d68358b3af6e168a2ac773c64f7d482ca60f29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T03:57:08.517Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T03:57:08.826Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T03:57:09.134Z] + ls /var/log/sa-host [2023-03-08T03:57:09.134Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T03:57:09.353Z] provisioning config files... [2023-03-08T03:57:09.362Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config16197199073029940907tmp [Pipeline] { [Pipeline] echo [2023-03-08T03:57:09.410Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:09.723Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T03:57:09.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:10.146Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T03:57:10.176Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:10.485Z] ---> sudo-logs.sh [2023-03-08T03:57:10.485Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T03:57:10.564Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:10.875Z] ---> job-cost.sh [2023-03-08T03:57:10.875Z] lf-activate-venv: SKIPPING [2023-03-08T03:57:10.875Z] DEBUG: total: 0.2199999988079071 [2023-03-08T03:57:10.875Z] INFO: Retrieving Stack Cost... [2023-03-08T03:57:11.133Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T03:57:11.701Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T03:57:11.736Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T03:57:12.055Z] ---> logs-deploy.sh [2023-03-08T03:57:12.055Z] lf-activate-venv: SKIPPING [2023-03-08T03:57:12.055Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1365/1 [2023-03-08T03:57:12.055Z] INFO: archiving workspace using pattern(s): [2023-03-08T03:57:12.993Z] Archives upload complete. [2023-03-08T03:57:12.993Z] INFO: archiving logs to Nexus