Pull request #1319 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 9f4fc55359c9cb479e87cde204f04957ffcda185 rather than 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 Obtained Jenkinsfile from 9f4fc55359c9cb479e87cde204f04957ffcda185 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-ssh12931617008513486969.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-ssh17265689897257366466.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-1319/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-1319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14833140349495872597.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-1319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9266549321119152576.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-ssh7643170615469989956.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-1319/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-1319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16563544195325505047.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 ‘prd-ubuntu20.04-docker-8c-8g-5776’ Running on prd-ubuntu20.04-docker-8c-8g-5778 in /w/workspace/gexfoundry_device-sdk-go_PR-1319 [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-1319 # 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/1319/head:refs/remotes/origin/PR-1319 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9f4fc55359c9cb479e87cde204f04957ffcda185 into PR head commit 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 Merge succeeded, producing 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 Checking out Revision 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 (PR-1319) > git config core.sparsecheckout # timeout=10 > git checkout -f 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 # 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 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 # timeout=10 Commit message: "feat!: replace REST device service callback with System Event" 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-02-14T09:59:17.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T09:59:18.048Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T09:59:18.139Z] ========================================================= [2023-02-14T09:59:18.139Z] EdgeX Global Pipelines Version Info [2023-02-14T09:59:18.139Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T09:59:18.917Z] ------------------- [2023-02-14T09:59:18.917Z] stable info: [2023-02-14T09:59:18.917Z] ------------------- [2023-02-14T09:59:18.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T09:59:18.917Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T09:59:18.917Z] Message: update stable to v1.0.244 [2023-02-14T09:59:19.489Z] ------------------- [2023-02-14T09:59:19.489Z] experimental info: [2023-02-14T09:59:19.489Z] ------------------- [2023-02-14T09:59:19.489Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T09:59:19.489Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T09:59:19.489Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T09:59:19.768Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-14T09:59:19.815Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-14T09:59:19.854Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T09:59:19.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T09:59:19.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T09:59:19.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T09:59:20.012Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T09:59:20.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-14T09:59:20.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T09:59:20.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T09:59:20.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T09:59:20.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-14T09:59:20.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T09:59:20.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T09:59:20.326Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T09:59:20.372Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T09:59:20.411Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T09:59:20.447Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T09:59:20.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T09:59:20.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T09:59:20.567Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-14T09:59:20.604Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-14T09:59:20.650Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T09:59:20.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T09:59:20.726Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T09:59:20.765Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T09:59:20.801Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T09:59:20.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1319 [Pipeline] echo [2023-02-14T09:59:20.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1319 [Pipeline] echo [2023-02-14T09:59:20.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1319 [Pipeline] echo [2023-02-14T09:59:20.962Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [Pipeline] echo [2023-02-14T09:59:21.003Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ce4a98 [Pipeline] echo [2023-02-14T09:59:21.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T09:59:21.162Z] provisioning config files... [2023-02-14T09:59:21.175Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/config10695657850576414619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T09:59:21.515Z] ---> docker-login.sh [2023-02-14T09:59:21.515Z] nexus3.edgexfoundry.org:10001 [2023-02-14T09:59:21.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:21.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:21.776Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:21.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:21.776Z] [2023-02-14T09:59:21.776Z] Login Succeeded [2023-02-14T09:59:21.776Z] nexus3.edgexfoundry.org:10002 [2023-02-14T09:59:21.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:22.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:22.037Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:22.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:22.037Z] [2023-02-14T09:59:22.037Z] Login Succeeded [2023-02-14T09:59:22.037Z] nexus3.edgexfoundry.org:10003 [2023-02-14T09:59:22.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:22.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:22.037Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:22.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:22.037Z] [2023-02-14T09:59:22.037Z] Login Succeeded [2023-02-14T09:59:22.037Z] nexus3.edgexfoundry.org:10004 [2023-02-14T09:59:22.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:22.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:22.299Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:22.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:22.299Z] [2023-02-14T09:59:22.299Z] Login Succeeded [2023-02-14T09:59:22.299Z] docker.io [2023-02-14T09:59:22.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:22.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:22.560Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:22.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:22.560Z] [2023-02-14T09:59:22.560Z] Login Succeeded [2023-02-14T09:59:22.560Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T09:59:22.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T09:59:23.199Z] + git rev-list -1 --merges 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8~1..0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [Pipeline] echo [2023-02-14T09:59:23.283Z] -----------> git rev-list -1 --merges 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8~1..0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [false] [Pipeline] sh [2023-02-14T09:59:23.600Z] + git log --format=format:%s -1 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [Pipeline] echo [2023-02-14T09:59:23.639Z] ========================================================= [2023-02-14T09:59:23.639Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T09:59:23.639Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T09:59:24.080Z] + git log --format=format:%s -1 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [Pipeline] echo [2023-02-14T09:59:24.113Z] [semverPrep] GIT_COMMIT: 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8, Commit Message: feat!: replace REST device service callback with System Event [Pipeline] echo [2023-02-14T09:59:24.145Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T09:59:24.520Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T09:59:24.520Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T09:59:24.520Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T09:59:24.520Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T09:59:24.520Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-02-14T09:59:24.520Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T09:59:24.520Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T09:59:24.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T09:59:24.943Z] [2023-02-14T09:59:24.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T09:59:25.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T09:59:25.331Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T09:59:25.331Z] b85a868b505f: Pulling fs layer [2023-02-14T09:59:25.331Z] e2be974225ed: Pulling fs layer [2023-02-14T09:59:25.331Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T09:59:25.331Z] 988bab9f4d93: Pulling fs layer [2023-02-14T09:59:25.331Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T09:59:25.331Z] eaf3925da568: Pulling fs layer [2023-02-14T09:59:25.331Z] bab4dde63d76: Pulling fs layer [2023-02-14T09:59:25.331Z] bde34c3a00c8: Pulling fs layer [2023-02-14T09:59:25.331Z] b352a97aabf1: Pulling fs layer [2023-02-14T09:59:25.331Z] 4872d77fe225: Pulling fs layer [2023-02-14T09:59:25.331Z] 5851b861e8e6: Pulling fs layer [2023-02-14T09:59:25.331Z] 988bab9f4d93: Waiting [2023-02-14T09:59:25.331Z] 1469e6f7b9e6: Waiting [2023-02-14T09:59:25.331Z] eaf3925da568: Waiting [2023-02-14T09:59:25.331Z] bab4dde63d76: Waiting [2023-02-14T09:59:25.331Z] bde34c3a00c8: Waiting [2023-02-14T09:59:25.331Z] 4872d77fe225: Waiting [2023-02-14T09:59:25.331Z] 5851b861e8e6: Waiting [2023-02-14T09:59:25.331Z] b352a97aabf1: Waiting [2023-02-14T09:59:25.331Z] e2be974225ed: Verifying Checksum [2023-02-14T09:59:25.331Z] e2be974225ed: Download complete [2023-02-14T09:59:25.331Z] 988bab9f4d93: Verifying Checksum [2023-02-14T09:59:25.599Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T09:59:25.599Z] 1469e6f7b9e6: Download complete [2023-02-14T09:59:25.599Z] eaf3925da568: Verifying Checksum [2023-02-14T09:59:25.599Z] eaf3925da568: Download complete [2023-02-14T09:59:25.866Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T09:59:25.866Z] 339a4e72a1f5: Download complete [2023-02-14T09:59:25.866Z] bde34c3a00c8: Download complete [2023-02-14T09:59:25.866Z] b352a97aabf1: Download complete [2023-02-14T09:59:25.866Z] b85a868b505f: Verifying Checksum [2023-02-14T09:59:25.866Z] b85a868b505f: Download complete [2023-02-14T09:59:25.866Z] 4872d77fe225: Verifying Checksum [2023-02-14T09:59:25.866Z] 4872d77fe225: Download complete [2023-02-14T09:59:25.866Z] 5851b861e8e6: Verifying Checksum [2023-02-14T09:59:25.866Z] 5851b861e8e6: Download complete [2023-02-14T09:59:26.434Z] bab4dde63d76: Verifying Checksum [2023-02-14T09:59:26.434Z] bab4dde63d76: Download complete [2023-02-14T09:59:27.004Z] b85a868b505f: Pull complete [2023-02-14T09:59:27.263Z] e2be974225ed: Pull complete [2023-02-14T09:59:27.832Z] 339a4e72a1f5: Pull complete [2023-02-14T09:59:27.832Z] 988bab9f4d93: Pull complete [2023-02-14T09:59:28.092Z] 1469e6f7b9e6: Pull complete [2023-02-14T09:59:28.353Z] eaf3925da568: Pull complete [2023-02-14T09:59:30.258Z] bab4dde63d76: Pull complete [2023-02-14T09:59:30.258Z] bde34c3a00c8: Pull complete [2023-02-14T09:59:30.258Z] b352a97aabf1: Pull complete [2023-02-14T09:59:30.517Z] 4872d77fe225: Pull complete [2023-02-14T09:59:30.517Z] 5851b861e8e6: Pull complete [2023-02-14T09:59:30.517Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T09:59:30.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T09:59:30.517Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T09:59:30.747Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-02-14T09:59:30.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1319 -v /w/workspace/gexfoundry_device-sdk-go_PR-1319:/w/workspace/gexfoundry_device-sdk-go_PR-1319:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1319@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T09:59:36.662Z] $ docker top 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab -eo pid,comm [2023-02-14T09:59:36.725Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-14T09:59:36.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T09:59:36.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T09:59:36.925Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T09:59:37.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T09:59:37.042Z] $ docker exec 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab ssh-agent [2023-02-14T09:59:37.161Z] SSH_AUTH_SOCK=/tmp/ssh-i86i9sFVhrsW/agent.32 [2023-02-14T09:59:37.161Z] SSH_AGENT_PID=39 [2023-02-14T09:59:37.167Z] Running ssh-add (command line suppressed) [2023-02-14T09:59:37.259Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/private_key_1381344298276465388.key (/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/private_key_1381344298276465388.key) [2023-02-14T09:59:37.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T09:59:37.684Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T09:59:37.708Z] $ docker exec --env ******** --env ******** 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab ssh-agent -k [2023-02-14T09:59:37.809Z] unset SSH_AUTH_SOCK; [2023-02-14T09:59:37.809Z] unset SSH_AGENT_PID; [2023-02-14T09:59:37.809Z] echo Agent pid 39 killed; [2023-02-14T09:59:37.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T09:59:37.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T09:59:37.911Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T09:59:38.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T09:59:38.006Z] $ docker exec 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab ssh-agent [2023-02-14T09:59:38.137Z] SSH_AUTH_SOCK=/tmp/ssh-9LheFFrxZdBr/agent.71 [2023-02-14T09:59:38.137Z] SSH_AGENT_PID=77 [2023-02-14T09:59:38.142Z] Running ssh-add (command line suppressed) [2023-02-14T09:59:38.241Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/private_key_15518430634665749348.key (/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/private_key_15518430634665749348.key) [2023-02-14T09:59:38.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T09:59:38.628Z] + git semver init [2023-02-14T09:59:38.890Z] 2023-02-14 09:59:38,781 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T09:59:38.890Z] 2023-02-14 09:59:38,781 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver [2023-02-14T09:59:38.890Z] 2023-02-14 09:59:38,782 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver [2023-02-14T09:59:38.890Z] 2023-02-14 09:59:38,782 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1319, universal_newlines=False, shell=None, istream=None) [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,846 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1319/.git/info/exclude [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,847 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver/PR-1319 with force:False [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,847 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver/PR-1319 [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,851 [execute] INFO git cat-file --batch-check [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,855 [execute] INFO git cat-file --batch [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T09:59:40.271Z] 2023-02-14 09:59:39,859 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1319/.semver/PR-1319 [2023-02-14T09:59:40.271Z] 0.0.0 [Pipeline] } [2023-02-14T09:59:40.292Z] $ docker exec --env ******** --env ******** 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab ssh-agent -k [2023-02-14T09:59:40.388Z] unset SSH_AUTH_SOCK; [2023-02-14T09:59:40.388Z] unset SSH_AGENT_PID; [2023-02-14T09:59:40.389Z] echo Agent pid 77 killed; [2023-02-14T09:59:40.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T09:59:40.847Z] + git semver [Pipeline] } [2023-02-14T09:59:41.129Z] $ docker stop --time=1 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab [2023-02-14T09:59:42.411Z] $ docker rm -f --volumes 57df6a8a90d3f4851517d76e3a402ac223823ef692256dcdbf1ccb6ebd198eab [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T09:59:42.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T09:59:43.100Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T09:59:43.117Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T09:59:43.724Z] provisioning config files... [2023-02-14T09:59:43.734Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/config4565253890938785294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T09:59:44.082Z] ---> docker-login.sh [2023-02-14T09:59:44.082Z] nexus3.edgexfoundry.org:10001 [2023-02-14T09:59:44.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:44.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:44.082Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:44.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:44.082Z] [2023-02-14T09:59:44.082Z] Login Succeeded [2023-02-14T09:59:44.082Z] nexus3.edgexfoundry.org:10002 [2023-02-14T09:59:44.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:44.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:44.082Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:44.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:44.082Z] [2023-02-14T09:59:44.082Z] Login Succeeded [2023-02-14T09:59:44.082Z] nexus3.edgexfoundry.org:10003 [2023-02-14T09:59:44.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:44.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:44.340Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:44.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:44.340Z] [2023-02-14T09:59:44.340Z] Login Succeeded [2023-02-14T09:59:44.340Z] nexus3.edgexfoundry.org:10004 [2023-02-14T09:59:44.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:44.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:44.340Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:44.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:44.340Z] [2023-02-14T09:59:44.340Z] Login Succeeded [2023-02-14T09:59:44.340Z] docker.io [2023-02-14T09:59:44.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T09:59:44.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T09:59:44.601Z] Configure a credential helper to remove this warning. See [2023-02-14T09:59:44.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T09:59:44.601Z] [2023-02-14T09:59:44.601Z] Login Succeeded [2023-02-14T09:59:44.601Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T09:59:44.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T09:59:44.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T09:59:44.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T09:59:44.974Z] ========================================================= [2023-02-14T09:59:44.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T09:59:44.974Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T09:59:45.459Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T09:59:45.459Z] Sending build context to Docker daemon 10.46MB [2023-02-14T09:59:45.459Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T09:59:45.459Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T09:59:45.459Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T09:59:45.459Z] 213ec9aee27d: Pulling fs layer [2023-02-14T09:59:45.459Z] 4583459ba037: Pulling fs layer [2023-02-14T09:59:45.459Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T09:59:45.459Z] 53926ce57604: Pulling fs layer [2023-02-14T09:59:45.459Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T09:59:45.459Z] 22ff95d597cd: Pulling fs layer [2023-02-14T09:59:45.459Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T09:59:45.459Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T09:59:45.459Z] a7acece74701: Pulling fs layer [2023-02-14T09:59:45.459Z] 12d6caf4c0d1: Waiting [2023-02-14T09:59:45.459Z] 53926ce57604: Waiting [2023-02-14T09:59:45.459Z] 21b2b0c7a3f4: Waiting [2023-02-14T09:59:45.459Z] a7acece74701: Waiting [2023-02-14T09:59:45.459Z] 22ff95d597cd: Waiting [2023-02-14T09:59:45.459Z] 93c1e223e6f2: Download complete [2023-02-14T09:59:45.731Z] 4583459ba037: Verifying Checksum [2023-02-14T09:59:45.731Z] 4583459ba037: Download complete [2023-02-14T09:59:45.731Z] 21b2b0c7a3f4: Download complete [2023-02-14T09:59:45.731Z] 22ff95d597cd: Verifying Checksum [2023-02-14T09:59:45.731Z] 22ff95d597cd: Download complete [2023-02-14T09:59:45.731Z] 213ec9aee27d: Download complete [2023-02-14T09:59:45.731Z] 12d6caf4c0d1: Verifying Checksum [2023-02-14T09:59:45.731Z] 12d6caf4c0d1: Download complete [2023-02-14T09:59:45.731Z] 213ec9aee27d: Pull complete [2023-02-14T09:59:46.011Z] 4583459ba037: Pull complete [2023-02-14T09:59:46.011Z] 93c1e223e6f2: Pull complete [2023-02-14T09:59:47.075Z] a7acece74701: Verifying Checksum [2023-02-14T09:59:47.075Z] a7acece74701: Download complete [2023-02-14T09:59:47.368Z] 53926ce57604: Verifying Checksum [2023-02-14T09:59:47.368Z] 53926ce57604: Download complete [2023-02-14T09:59:47.628Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T09:59:47.628Z] 96b7cbca73a9: Download complete [2023-02-14T09:59:50.910Z] 53926ce57604: Pull complete [2023-02-14T09:59:50.910Z] 21b2b0c7a3f4: Pull complete [2023-02-14T09:59:51.168Z] 22ff95d597cd: Pull complete [2023-02-14T09:59:51.168Z] 12d6caf4c0d1: Pull complete [2023-02-14T09:59:53.064Z] 96b7cbca73a9: Pull complete [2023-02-14T09:59:54.001Z] a7acece74701: Pull complete [2023-02-14T09:59:54.001Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T09:59:54.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T09:59:54.001Z] ---> db6d94c90886 [2023-02-14T09:59:54.001Z] Step 3/10 : ARG MAKE=make build [2023-02-14T09:59:58.533Z] Still waiting to schedule task [2023-02-14T09:59:58.533Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5777’ [2023-02-14T10:00:06.290Z] ---> Running in 8aa2ae8f2494 [2023-02-14T10:00:06.290Z] Removing intermediate container 8aa2ae8f2494 [2023-02-14T10:00:06.290Z] ---> 3a532344d1bd [2023-02-14T10:00:06.290Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T10:00:06.290Z] ---> Running in eca3a25ca072 [2023-02-14T10:00:06.290Z] Removing intermediate container eca3a25ca072 [2023-02-14T10:00:06.290Z] ---> d87fad6be50b [2023-02-14T10:00:06.290Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T10:00:06.290Z] ---> Running in 5df8009822bc [2023-02-14T10:00:06.290Z] Removing intermediate container 5df8009822bc [2023-02-14T10:00:06.290Z] ---> b9e1cc67acf0 [2023-02-14T10:00:06.290Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T10:00:06.290Z] ---> Running in a9f72d765d7a [2023-02-14T10:00:06.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T10:00:06.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T10:00:06.290Z] OK: 211 MiB in 51 packages [2023-02-14T10:00:06.549Z] Removing intermediate container a9f72d765d7a [2023-02-14T10:00:06.549Z] ---> a2152fa2762e [2023-02-14T10:00:06.549Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T10:00:06.807Z] ---> 9dac1fffd074 [2023-02-14T10:00:06.807Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T10:00:06.807Z] ---> Running in 5ef2cb53904f [2023-02-14T10:01:14.497Z] Removing intermediate container 5ef2cb53904f [2023-02-14T10:01:14.497Z] ---> a79ce68d196f [2023-02-14T10:01:14.497Z] Step 9/10 : COPY . . [2023-02-14T10:01:14.497Z] ---> 89cf4e1579e8 [2023-02-14T10:01:14.497Z] Step 10/10 : RUN ${MAKE} [2023-02-14T10:01:14.497Z] ---> Running in e181e10ddb56 [2023-02-14T10:01:14.497Z] noop [2023-02-14T10:01:14.497Z] Removing intermediate container e181e10ddb56 [2023-02-14T10:01:14.497Z] ---> 6cc5b1439aee [2023-02-14T10:01:14.497Z] Successfully built 6cc5b1439aee [2023-02-14T10:01:14.497Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:01:14.967Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T10:01:14.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:01:15.112Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-02-14T10:01:15.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1319 -v /w/workspace/gexfoundry_device-sdk-go_PR-1319:/w/workspace/gexfoundry_device-sdk-go_PR-1319:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1319@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 ******** ci-base-image-x86_64 cat [2023-02-14T10:01:15.552Z] $ docker top 983ef9f4b193d0580ebaba57404bfea4aa303487cb8bb6717e96901168e1b3eb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T10:01:15.946Z] + go version [2023-02-14T10:01:15.946Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T10:01:15.974Z] $ docker stop --time=1 983ef9f4b193d0580ebaba57404bfea4aa303487cb8bb6717e96901168e1b3eb [2023-02-14T10:01:17.212Z] $ docker rm -f --volumes 983ef9f4b193d0580ebaba57404bfea4aa303487cb8bb6717e96901168e1b3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:01:17.911Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T10:01:17.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:01:18.053Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-02-14T10:01:18.079Z] $ 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-1319 -v /w/workspace/gexfoundry_device-sdk-go_PR-1319:/w/workspace/gexfoundry_device-sdk-go_PR-1319:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1319@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 ******** ci-base-image-x86_64 cat [2023-02-14T10:01:18.410Z] $ docker top b94bb8b3fdd9e122b077d3a09df4bd609a16a622740c36a1f3630cd5c7f41cda -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T10:01:18.796Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1319 [Pipeline] fileExists [Pipeline] sh [2023-02-14T10:01:19.163Z] + make test [2023-02-14T10:01:19.163Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T10:01:24.623Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T10:01:36.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T10:01:36.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T10:01:36.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T10:01:36.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T10:01:36.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T10:01:37.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements [2023-02-14T10:01:37.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-02-14T10:01:37.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T10:01:37.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.120s coverage: 78.1% of statements [2023-02-14T10:01:37.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T10:01:37.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T10:01:37.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.112s coverage: 77.0% of statements [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T10:01:37.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T10:01:37.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.750s coverage: 89.2% of statements [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T10:01:37.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.044s coverage: 4.7% of statements [2023-02-14T10:01:37.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T10:01:52.655Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T10:01:52.655Z] GO111MODULE=on go vet ./... [2023-02-14T10:01:54.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T10:01:54.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T10:01:54.553Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T10:01:54.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T10:01:54.620Z] $ docker stop --time=1 b94bb8b3fdd9e122b077d3a09df4bd609a16a622740c36a1f3630cd5c7f41cda [2023-02-14T10:01:59.751Z] $ docker rm -f --volumes b94bb8b3fdd9e122b077d3a09df4bd609a16a622740c36a1f3630cd5c7f41cda [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T10:02:00.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T10:02:00.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T10:02:01.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T10:02:01.400Z] + ls -al . [2023-02-14T10:02:01.400Z] total 272 [2023-02-14T10:02:01.400Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 10:01 . [2023-02-14T10:02:01.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:59 .. [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 09:59 .dockerignore [2023-02-14T10:02:01.400Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 10:01 .git [2023-02-14T10:02:01.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 09:59 .github [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 09:59 .gitignore [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 09:59 .golangci.yml [2023-02-14T10:02:01.400Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 09:59 .semver [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 09:59 CHANGELOG.md [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 09:59 GOVERNANCE.md [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 09:59 Jenkinsfile [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 09:59 LICENSE [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 09:59 Makefile [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 09:59 OWNERS.md [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 09:59 README.md [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 09:59 VERSION [2023-02-14T10:02:01.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 09:59 bin [2023-02-14T10:02:01.400Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 10:01 coverage.out [2023-02-14T10:02:01.400Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 09:59 example [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 09:59 go.mod [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 09:59 go.sum [2023-02-14T10:02:01.400Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 09:59 internal [2023-02-14T10:02:01.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:59 openapi [2023-02-14T10:02:01.400Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 09:59 pkg [2023-02-14T10:02:01.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:59 snap [2023-02-14T10:02:01.400Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 09:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:02:01.797Z] + 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=0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 --label arch=amd64 --label version=0.0.0 . [2023-02-14T10:02:01.797Z] Sending build context to Docker daemon 10.56MB [2023-02-14T10:02:01.797Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T10:02:01.797Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T10:02:01.797Z] ---> 6cc5b1439aee [2023-02-14T10:02:01.797Z] Step 3/23 : ARG MAKE=make build [2023-02-14T10:02:02.055Z] ---> Running in 4e5e801e15a6 [2023-02-14T10:02:02.055Z] Removing intermediate container 4e5e801e15a6 [2023-02-14T10:02:02.055Z] ---> 5ca7b534b4a7 [2023-02-14T10:02:02.055Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T10:02:02.314Z] ---> Running in 8b2d6264ee61 [2023-02-14T10:02:02.314Z] Removing intermediate container 8b2d6264ee61 [2023-02-14T10:02:02.314Z] ---> 2866884110f5 [2023-02-14T10:02:02.314Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T10:02:02.314Z] ---> Running in 8dcdbd5b5154 [2023-02-14T10:02:02.314Z] Removing intermediate container 8dcdbd5b5154 [2023-02-14T10:02:02.314Z] ---> 6805e02f1e62 [2023-02-14T10:02:02.314Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T10:02:02.314Z] ---> Running in ee8a424087f6 [2023-02-14T10:02:02.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T10:02:02.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T10:02:03.088Z] OK: 211 MiB in 51 packages [2023-02-14T10:02:03.346Z] Removing intermediate container ee8a424087f6 [2023-02-14T10:02:03.346Z] ---> c30b3ee0f791 [2023-02-14T10:02:03.346Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T10:02:03.605Z] ---> 1381f0bf0da5 [2023-02-14T10:02:03.605Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T10:02:03.605Z] ---> Running in ca036bcfdd96 [2023-02-14T10:02:04.547Z] Removing intermediate container ca036bcfdd96 [2023-02-14T10:02:04.547Z] ---> b33ffa26f423 [2023-02-14T10:02:04.547Z] Step 9/23 : COPY . . [2023-02-14T10:02:05.115Z] ---> edb1622d0605 [2023-02-14T10:02:05.115Z] Step 10/23 : RUN ${MAKE} [2023-02-14T10:02:05.115Z] ---> Running in 99bb3b12b585 [2023-02-14T10:02:05.373Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-14T10:02:21.817Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5780 in /w/workspace/gexfoundry_device-sdk-go_PR-1319 [Pipeline] { [Pipeline] ws [2023-02-14T10:02:21.872Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T10:02:21.952Z] The recommended git tool is: git [2023-02-14T10:02:27.152Z] using credential edgex-jenkins-ssh [2023-02-14T10:02:27.172Z] Cloning the remote Git repository [2023-02-14T10:02:27.617Z] Removing intermediate container 99bb3b12b585 [2023-02-14T10:02:27.617Z] ---> 34c74a7b3586 [2023-02-14T10:02:27.617Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T10:02:27.617Z] 3.16: Pulling from library/alpine [2023-02-14T10:02:27.617Z] ef5531b6e74e: Pulling fs layer [2023-02-14T10:02:27.876Z] ef5531b6e74e: Verifying Checksum [2023-02-14T10:02:27.876Z] ef5531b6e74e: Download complete [2023-02-14T10:02:27.876Z] ef5531b6e74e: Pull complete [2023-02-14T10:02:27.876Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T10:02:27.876Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T10:02:27.876Z] ---> dfd21b5a31f5 [2023-02-14T10:02:27.876Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T10:02:27.214Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T10:02:27.290Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-14T10:02:27.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T10:02:27.458Z] > git --version # timeout=10 [2023-02-14T10:02:27.483Z] > git --version # 'git version 2.25.1' [2023-02-14T10:02:27.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T10:02:27.557Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T10:02:28.136Z] ---> Running in 08823360bfdb [2023-02-14T10:02:28.136Z] Removing intermediate container 08823360bfdb [2023-02-14T10:02:28.136Z] ---> 27731fa5ef0c [2023-02-14T10:02:28.136Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T10:02:28.136Z] ---> Running in 412801e99a61 [2023-02-14T10:02:28.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T10:02:28.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T10:02:28.912Z] OK: 6 MiB in 14 packages [2023-02-14T10:02:29.265Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T10:02:29.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T10:02:30.299Z] Removing intermediate container 412801e99a61 [2023-02-14T10:02:30.299Z] ---> 08d21201e443 [2023-02-14T10:02:30.299Z] Step 14/23 : WORKDIR / [2023-02-14T10:02:30.558Z] ---> Running in a6460cef2342 [2023-02-14T10:02:30.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T10:02:30.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T10:02:30.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T10:02:30.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1319/head:refs/remotes/origin/PR-1319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T10:02:31.103Z] Merging remotes/origin/main commit 9f4fc55359c9cb479e87cde204f04957ffcda185 into PR head commit 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [2023-02-14T10:02:31.123Z] Removing intermediate container a6460cef2342 [2023-02-14T10:02:31.123Z] ---> 3f547233f545 [2023-02-14T10:02:31.123Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T10:02:31.382Z] ---> d30e1a3b5e1a [2023-02-14T10:02:31.382Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T10:02:31.383Z] Merge succeeded, producing 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [2023-02-14T10:02:31.383Z] Checking out Revision 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 (PR-1319) [2023-02-14T10:02:31.123Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T10:02:31.146Z] > git checkout -f 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 # timeout=10 [2023-02-14T10:02:31.268Z] > git remote # timeout=10 [2023-02-14T10:02:31.286Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T10:02:31.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T10:02:31.326Z] > git merge 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 [2023-02-14T10:02:31.358Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T10:02:31.389Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T10:02:31.410Z] > git checkout -f 0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 # timeout=10 [2023-02-14T10:02:32.758Z] ---> fe2c78433447 [2023-02-14T10:02:32.758Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T10:02:33.326Z] ---> 2b2854234eb6 [2023-02-14T10:02:33.326Z] Step 18/23 : EXPOSE 59999 [2023-02-14T10:02:33.326Z] ---> Running in b9cf98056d6a [2023-02-14T10:02:33.326Z] Removing intermediate container b9cf98056d6a [2023-02-14T10:02:33.326Z] ---> 2bb7a4284dce [2023-02-14T10:02:33.326Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T10:02:33.326Z] ---> Running in 1538c3583150 [2023-02-14T10:02:33.326Z] Removing intermediate container 1538c3583150 [2023-02-14T10:02:33.326Z] ---> 23ff797fb922 [2023-02-14T10:02:33.327Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T10:02:33.327Z] ---> Running in 5c0af1430291 [2023-02-14T10:02:33.587Z] Removing intermediate container 5c0af1430291 [2023-02-14T10:02:33.587Z] ---> 99ae3846e9e4 [2023-02-14T10:02:33.587Z] Step 21/23 : LABEL arch=amd64 [2023-02-14T10:02:33.587Z] ---> Running in dccf4b1cfd86 [2023-02-14T10:02:33.587Z] Removing intermediate container dccf4b1cfd86 [2023-02-14T10:02:33.587Z] ---> f1b62d24c076 [2023-02-14T10:02:33.587Z] Step 22/23 : LABEL git_sha=0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [2023-02-14T10:02:33.587Z] ---> Running in 9511e84fb4dd [2023-02-14T10:02:33.587Z] Removing intermediate container 9511e84fb4dd [2023-02-14T10:02:33.587Z] ---> 37e269cb9d85 [2023-02-14T10:02:33.587Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T10:02:33.587Z] ---> Running in 9db6c0d55f44 [2023-02-14T10:02:33.847Z] Removing intermediate container 9db6c0d55f44 [2023-02-14T10:02:33.847Z] ---> e427e902d496 [2023-02-14T10:02:33.847Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T10:02:33.847Z] Successfully built e427e902d496 [2023-02-14T10:02:33.847Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:02:34.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T10:02:34.678Z] [2023-02-14T10:02:34.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:02:35.000Z] Commit message: "feat!: replace REST device service callback with System Event" [2023-02-14T10:02:35.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T10:02:35.056Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T10:02:35.056Z] 5eb5b503b376: Pulling fs layer [2023-02-14T10:02:35.056Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T10:02:35.056Z] ec43610c2a17: Pulling fs layer [2023-02-14T10:02:35.056Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T10:02:35.056Z] 33b1e0a273af: Pulling fs layer [2023-02-14T10:02:35.056Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T10:02:35.056Z] 2f39f015ded8: Pulling fs layer [2023-02-14T10:02:35.056Z] 33b1e0a273af: Waiting [2023-02-14T10:02:35.056Z] 5d3b04190fa2: Waiting [2023-02-14T10:02:35.056Z] 2f39f015ded8: Waiting [2023-02-14T10:02:35.056Z] 3a2ae6a8a46f: Waiting [2023-02-14T10:02:35.056Z] 5c69ac0246d0: Verifying Checksum [2023-02-14T10:02:35.056Z] 5c69ac0246d0: Download complete [2023-02-14T10:02:35.056Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T10:02:35.056Z] 3a2ae6a8a46f: Download complete [2023-02-14T10:02:35.063Z] > git --version # timeout=10 [2023-02-14T10:02:35.078Z] > git --version # 'git version 2.25.1' [2023-02-14T10:02:35.092Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T10:02:35.316Z] 33b1e0a273af: Verifying Checksum [2023-02-14T10:02:35.316Z] 33b1e0a273af: Download complete [2023-02-14T10:02:35.316Z] ec43610c2a17: Verifying Checksum [2023-02-14T10:02:35.316Z] ec43610c2a17: Download complete [2023-02-14T10:02:35.316Z] 5d3b04190fa2: Download complete [2023-02-14T10:02:35.481Z] [2023-02-14T10:02:35.481Z] GitHub has been notified of this commit’s build result [2023-02-14T10:02:35.481Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-02-14T10:02:35.576Z] 5eb5b503b376: Verifying Checksum [2023-02-14T10:02:35.576Z] 5eb5b503b376: Download complete [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T10:02:36.142Z] 2f39f015ded8: Download complete [2023-02-14T10:02:36.258Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T10:02:36.258Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T10:02:36.258Z] Dload Upload Total Spent Left Speed [2023-02-14T10:02:36.258Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [2023-02-14T10:02:36.707Z] 5eb5b503b376: Pull complete [2023-02-14T10:02:36.707Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2023-02-14T10:02:37.102Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T10:02:37.271Z] ec43610c2a17: Pull complete [2023-02-14T10:02:37.271Z] 3a2ae6a8a46f: Pull complete [2023-02-14T10:02:37.456Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T10:02:37.456Z] + sudo tee /etc/docker/daemon.new [2023-02-14T10:02:37.456Z] { [2023-02-14T10:02:37.456Z] "registry-mirrors": [ [2023-02-14T10:02:37.456Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T10:02:37.456Z] ], [2023-02-14T10:02:37.456Z] "bip": "10.250.0.254/24", [2023-02-14T10:02:37.456Z] "hosts": [ [2023-02-14T10:02:37.456Z] "tcp://0.0.0.0:5555", [2023-02-14T10:02:37.456Z] "unix:///var/run/docker.sock" [2023-02-14T10:02:37.456Z] ], [2023-02-14T10:02:37.456Z] "mtu": 1458, [2023-02-14T10:02:37.456Z] "selinux-enabled": true, [2023-02-14T10:02:37.456Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T10:02:37.456Z] } [Pipeline] sh [2023-02-14T10:02:37.529Z] 33b1e0a273af: Pull complete [2023-02-14T10:02:37.529Z] 5d3b04190fa2: Pull complete [2023-02-14T10:02:37.818Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T10:02:38.192Z] + sudo service docker restart [2023-02-14T10:02:41.709Z] 2f39f015ded8: Pull complete [2023-02-14T10:02:41.709Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T10:02:41.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T10:02:41.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:02:41.931Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-02-14T10:02:41.960Z] $ 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-1319 -v /w/workspace/gexfoundry_device-sdk-go_PR-1319:/w/workspace/gexfoundry_device-sdk-go_PR-1319:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T10:02:49.946Z] $ docker top c91b18b2f94151646c368f53efed80354fac8bcbb87db92d9c001018dabe947d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:02:50.387Z] ---> job-cost.sh [2023-02-14T10:02:50.387Z] lf-activate-venv: SKIPPING [2023-02-14T10:02:50.387Z] INFO: No Stack... [2023-02-14T10:02:50.646Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T10:02:51.212Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T10:02:51.537Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives/cost.csv [2023-02-14T10:02:51.537Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T10:02:51.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] [2023-02-14T10:02:51.582Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] did not exist. Created. [2023-02-14T10:02:51.582Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T10:02:51.973Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T10:02:52.029Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T10:02:52.055Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T10:02:52.129Z] $ docker stop --time=1 c91b18b2f94151646c368f53efed80354fac8bcbb87db92d9c001018dabe947d [2023-02-14T10:02:53.289Z] $ docker rm -f --volumes c91b18b2f94151646c368f53efed80354fac8bcbb87db92d9c001018dabe947d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T10:02:56.550Z] provisioning config files... [2023-02-14T10:02:56.583Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config49757640863035668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:02:57.005Z] ---> docker-login.sh [2023-02-14T10:02:57.005Z] nexus3.edgexfoundry.org:10001 [2023-02-14T10:02:57.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T10:02:57.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T10:02:57.600Z] Configure a credential helper to remove this warning. See [2023-02-14T10:02:57.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T10:02:57.600Z] [2023-02-14T10:02:57.600Z] Login Succeeded [2023-02-14T10:02:57.600Z] nexus3.edgexfoundry.org:10002 [2023-02-14T10:02:57.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T10:02:58.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T10:02:58.144Z] Configure a credential helper to remove this warning. See [2023-02-14T10:02:58.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T10:02:58.144Z] [2023-02-14T10:02:58.144Z] Login Succeeded [2023-02-14T10:02:58.144Z] nexus3.edgexfoundry.org:10003 [2023-02-14T10:02:58.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T10:02:58.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T10:02:58.419Z] Configure a credential helper to remove this warning. See [2023-02-14T10:02:58.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T10:02:58.419Z] [2023-02-14T10:02:58.419Z] Login Succeeded [2023-02-14T10:02:58.419Z] nexus3.edgexfoundry.org:10004 [2023-02-14T10:02:58.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T10:02:58.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T10:02:58.971Z] Configure a credential helper to remove this warning. See [2023-02-14T10:02:58.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T10:02:58.971Z] [2023-02-14T10:02:58.971Z] Login Succeeded [2023-02-14T10:02:58.971Z] docker.io [2023-02-14T10:02:59.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T10:02:59.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T10:02:59.512Z] Configure a credential helper to remove this warning. See [2023-02-14T10:02:59.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T10:02:59.512Z] [2023-02-14T10:02:59.512Z] Login Succeeded [2023-02-14T10:02:59.512Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T10:02:59.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T10:02:59.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T10:02:59.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T10:03:00.014Z] ========================================================= [2023-02-14T10:03:00.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T10:03:00.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:03:00.503Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T10:03:00.773Z] Sending build context to Docker daemon 5.622MB [2023-02-14T10:03:01.057Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T10:03:01.057Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T10:03:01.057Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T10:03:01.057Z] 9b18e9b68314: Pulling fs layer [2023-02-14T10:03:01.057Z] 35d82f9e3411: Pulling fs layer [2023-02-14T10:03:01.057Z] e16973657156: Pulling fs layer [2023-02-14T10:03:01.057Z] fc693d55d65f: Pulling fs layer [2023-02-14T10:03:01.057Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T10:03:01.057Z] dda99020689f: Pulling fs layer [2023-02-14T10:03:01.057Z] db1c61fa0a46: Pulling fs layer [2023-02-14T10:03:01.057Z] 891c053d2c06: Pulling fs layer [2023-02-14T10:03:01.057Z] fc693d55d65f: Waiting [2023-02-14T10:03:01.057Z] 7e9fc2657dce: Waiting [2023-02-14T10:03:01.057Z] dda99020689f: Waiting [2023-02-14T10:03:01.057Z] db1c61fa0a46: Waiting [2023-02-14T10:03:01.057Z] 891c053d2c06: Waiting [2023-02-14T10:03:01.057Z] e16973657156: Verifying Checksum [2023-02-14T10:03:01.057Z] e16973657156: Download complete [2023-02-14T10:03:01.057Z] 35d82f9e3411: Verifying Checksum [2023-02-14T10:03:01.333Z] 7e9fc2657dce: Verifying Checksum [2023-02-14T10:03:01.333Z] 7e9fc2657dce: Download complete [2023-02-14T10:03:01.333Z] dda99020689f: Verifying Checksum [2023-02-14T10:03:01.333Z] dda99020689f: Download complete [2023-02-14T10:03:01.333Z] 9b18e9b68314: Verifying Checksum [2023-02-14T10:03:01.333Z] 9b18e9b68314: Download complete [2023-02-14T10:03:02.314Z] 9b18e9b68314: Pull complete [2023-02-14T10:03:02.585Z] 891c053d2c06: Verifying Checksum [2023-02-14T10:03:02.585Z] 891c053d2c06: Download complete [2023-02-14T10:03:02.859Z] 35d82f9e3411: Pull complete [2023-02-14T10:03:03.131Z] e16973657156: Pull complete [2023-02-14T10:03:03.728Z] db1c61fa0a46: Download complete [2023-02-14T10:03:04.695Z] fc693d55d65f: Verifying Checksum [2023-02-14T10:03:04.695Z] fc693d55d65f: Download complete [2023-02-14T10:03:17.040Z] fc693d55d65f: Pull complete [2023-02-14T10:03:17.040Z] 7e9fc2657dce: Pull complete [2023-02-14T10:03:17.040Z] dda99020689f: Pull complete [2023-02-14T10:03:22.410Z] db1c61fa0a46: Pull complete [2023-02-14T10:03:23.841Z] 891c053d2c06: Pull complete [2023-02-14T10:03:23.841Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T10:03:23.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T10:03:23.841Z] ---> f96f9c87975a [2023-02-14T10:03:23.841Z] Step 3/10 : ARG MAKE=make build [2023-02-14T10:03:24.817Z] ---> Running in 976e10ed8377 [2023-02-14T10:03:25.087Z] Removing intermediate container 976e10ed8377 [2023-02-14T10:03:25.087Z] ---> 9e7d4fae6974 [2023-02-14T10:03:25.087Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T10:03:25.087Z] ---> Running in 6a664f4120f7 [2023-02-14T10:03:25.669Z] Removing intermediate container 6a664f4120f7 [2023-02-14T10:03:25.669Z] ---> 45e538fa42d3 [2023-02-14T10:03:25.670Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T10:03:25.670Z] ---> Running in 60c60df16233 [2023-02-14T10:03:25.943Z] Removing intermediate container 60c60df16233 [2023-02-14T10:03:25.943Z] ---> c57ec5c4691b [2023-02-14T10:03:25.943Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T10:03:25.943Z] ---> Running in 20046cd591c6 [2023-02-14T10:03:27.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T10:03:27.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T10:03:28.314Z] OK: 221 MiB in 51 packages [2023-02-14T10:03:29.274Z] Removing intermediate container 20046cd591c6 [2023-02-14T10:03:29.275Z] ---> ea091fc2542b [2023-02-14T10:03:29.275Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T10:03:29.871Z] ---> 898c30950cb4 [2023-02-14T10:03:29.871Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T10:03:29.871Z] ---> Running in 831ecffd2931 [2023-02-14T10:04:37.775Z] Removing intermediate container 831ecffd2931 [2023-02-14T10:04:37.775Z] ---> d5d371f4dbf9 [2023-02-14T10:04:37.775Z] Step 9/10 : COPY . . [2023-02-14T10:04:37.775Z] ---> e359af7ae467 [2023-02-14T10:04:37.775Z] Step 10/10 : RUN ${MAKE} [2023-02-14T10:04:37.775Z] ---> Running in 3794dfddd199 [2023-02-14T10:04:37.775Z] noop [2023-02-14T10:04:37.775Z] Removing intermediate container 3794dfddd199 [2023-02-14T10:04:37.775Z] ---> 250c60ea747e [2023-02-14T10:04:37.775Z] Successfully built 250c60ea747e [2023-02-14T10:04:37.775Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:04:38.239Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T10:04:38.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:04:38.488Z] prd-ubuntu20.04-docker-arm64-4c-16g-5780 does not seem to be running inside a container [2023-02-14T10:04:38.550Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-14T10:04:39.717Z] $ docker top d3598e4846494aaab65c450b352a6a92fd6345d0b6c4ee52722472447f3c2ff9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T10:04:40.565Z] + go version [2023-02-14T10:04:40.565Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T10:04:40.603Z] $ docker stop --time=1 d3598e4846494aaab65c450b352a6a92fd6345d0b6c4ee52722472447f3c2ff9 [2023-02-14T10:04:42.256Z] $ docker rm -f --volumes d3598e4846494aaab65c450b352a6a92fd6345d0b6c4ee52722472447f3c2ff9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:04:43.114Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T10:04:43.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:04:43.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-5780 does not seem to be running inside a container [2023-02-14T10:04:43.538Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-14T10:04:44.691Z] $ docker top 2fa84167f85362ea37a895f00e1dfeaced82d3aeadcf46259e88dc556453c12a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T10:04:45.249Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T10:04:45.901Z] + make test [2023-02-14T10:04:45.901Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T10:05:24.801Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T10:07:16.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T10:07:16.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T10:07:16.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T10:07:16.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T10:07:16.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T10:07:16.499Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.451s coverage: 27.6% of statements [2023-02-14T10:07:16.499Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.332s coverage: 78.9% of statements [2023-02-14T10:07:16.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T10:07:20.776Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.459s coverage: 78.1% of statements [2023-02-14T10:07:20.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T10:07:20.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T10:07:22.720Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.752s coverage: 77.0% of statements [2023-02-14T10:07:22.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T10:07:22.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T10:07:22.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T10:07:22.720Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.426s coverage: 65.2% of statements [2023-02-14T10:07:22.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T10:07:22.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T10:07:22.720Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.724s coverage: 89.2% of statements [2023-02-14T10:07:22.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T10:07:23.681Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.257s coverage: 4.7% of statements [2023-02-14T10:07:23.681Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T10:07:24.639Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T10:07:24.639Z] GO111MODULE=on go vet ./... [2023-02-14T10:09:01.256Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T10:09:01.257Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T10:09:01.257Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T10:09:01.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T10:09:01.336Z] $ docker stop --time=1 2fa84167f85362ea37a895f00e1dfeaced82d3aeadcf46259e88dc556453c12a [2023-02-14T10:09:03.147Z] $ docker rm -f --volumes 2fa84167f85362ea37a895f00e1dfeaced82d3aeadcf46259e88dc556453c12a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T10:09:04.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T10:09:04.573Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T10:09:05.146Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T10:09:05.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T10:09:06.108Z] + ls -al . [2023-02-14T10:09:06.108Z] total 268 [2023-02-14T10:09:06.108Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 10:04 . [2023-02-14T10:09:06.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 10:02 .. [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 10:02 .dockerignore [2023-02-14T10:09:06.108Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 10:02 .git [2023-02-14T10:09:06.108Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 10:02 .github [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 10:02 .gitignore [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 10:02 .golangci.yml [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 10:02 CHANGELOG.md [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 10:02 GOVERNANCE.md [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 10:02 Jenkinsfile [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 10:02 LICENSE [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 10:02 Makefile [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 10:02 OWNERS.md [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 10:02 README.md [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 09:59 VERSION [2023-02-14T10:09:06.108Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 10:02 bin [2023-02-14T10:09:06.108Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 10:07 coverage.out [2023-02-14T10:09:06.108Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 10:02 example [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 10:02 go.mod [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 10:02 go.sum [2023-02-14T10:09:06.108Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 10:02 internal [2023-02-14T10:09:06.108Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 10:02 openapi [2023-02-14T10:09:06.108Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 10:02 pkg [2023-02-14T10:09:06.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 10:02 snap [2023-02-14T10:09:06.108Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 10:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:09:06.540Z] + 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=0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 --label arch=arm64 --label version=0.0.0 . [2023-02-14T10:09:06.807Z] Sending build context to Docker daemon 5.722MB [2023-02-14T10:09:07.077Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T10:09:07.077Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T10:09:07.077Z] ---> 250c60ea747e [2023-02-14T10:09:07.077Z] Step 3/23 : ARG MAKE=make build [2023-02-14T10:09:07.077Z] ---> Running in 28de728afca3 [2023-02-14T10:09:07.352Z] Removing intermediate container 28de728afca3 [2023-02-14T10:09:07.352Z] ---> b0f0705c51e2 [2023-02-14T10:09:07.352Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T10:09:07.352Z] ---> Running in 3bf8b23b845b [2023-02-14T10:09:07.705Z] Removing intermediate container 3bf8b23b845b [2023-02-14T10:09:07.705Z] ---> 65f6cf464af2 [2023-02-14T10:09:07.705Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T10:09:07.979Z] ---> Running in 7cebd5956cfa [2023-02-14T10:09:08.262Z] Removing intermediate container 7cebd5956cfa [2023-02-14T10:09:08.262Z] ---> 27ee92bea69e [2023-02-14T10:09:08.262Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T10:09:08.262Z] ---> Running in 9011bc214e35 [2023-02-14T10:09:09.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T10:09:09.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T10:09:10.736Z] OK: 221 MiB in 51 packages [2023-02-14T10:09:11.717Z] Removing intermediate container 9011bc214e35 [2023-02-14T10:09:11.717Z] ---> 70f3d578fa83 [2023-02-14T10:09:11.717Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T10:09:11.990Z] ---> 4b896cae60c7 [2023-02-14T10:09:11.990Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T10:09:12.260Z] ---> Running in 81261de87ed1 [2023-02-14T10:09:14.849Z] Removing intermediate container 81261de87ed1 [2023-02-14T10:09:14.849Z] ---> 77d5080d7caa [2023-02-14T10:09:14.849Z] Step 9/23 : COPY . . [2023-02-14T10:09:16.259Z] ---> 182253889acb [2023-02-14T10:09:16.259Z] Step 10/23 : RUN ${MAKE} [2023-02-14T10:09:16.259Z] ---> Running in 22fcde0ddfd1 [2023-02-14T10:09:17.241Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-14T10:11:23.930Z] Removing intermediate container 22fcde0ddfd1 [2023-02-14T10:11:23.930Z] ---> 3c5d88f273df [2023-02-14T10:11:23.930Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T10:11:23.930Z] 3.16: Pulling from library/alpine [2023-02-14T10:11:23.930Z] 3760b48202b3: Pulling fs layer [2023-02-14T10:11:23.930Z] 3760b48202b3: Verifying Checksum [2023-02-14T10:11:23.930Z] 3760b48202b3: Download complete [2023-02-14T10:11:23.930Z] 3760b48202b3: Pull complete [2023-02-14T10:11:23.930Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T10:11:23.930Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T10:11:23.930Z] ---> 4c81e5bf8899 [2023-02-14T10:11:23.930Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T10:11:23.930Z] ---> Running in 6e0531f2fbea [2023-02-14T10:11:23.930Z] Removing intermediate container 6e0531f2fbea [2023-02-14T10:11:23.930Z] ---> e86c713635d7 [2023-02-14T10:11:23.930Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T10:11:23.930Z] ---> Running in 3b84a510b570 [2023-02-14T10:11:24.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T10:11:25.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T10:11:26.107Z] OK: 5 MiB in 14 packages [2023-02-14T10:11:27.081Z] Removing intermediate container 3b84a510b570 [2023-02-14T10:11:27.081Z] ---> 10498f8b5ad3 [2023-02-14T10:11:27.081Z] Step 14/23 : WORKDIR / [2023-02-14T10:11:27.081Z] ---> Running in 28546cd52b81 [2023-02-14T10:11:27.346Z] Removing intermediate container 28546cd52b81 [2023-02-14T10:11:27.346Z] ---> b7ae9a97115f [2023-02-14T10:11:27.346Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T10:11:29.916Z] ---> 3efa5a9407a5 [2023-02-14T10:11:29.916Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T10:11:33.246Z] ---> 81d5a129b2bd [2023-02-14T10:11:33.246Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T10:11:34.650Z] ---> ee4a70dc1ca8 [2023-02-14T10:11:34.650Z] Step 18/23 : EXPOSE 59999 [2023-02-14T10:11:34.650Z] ---> Running in 2384794b8500 [2023-02-14T10:11:34.650Z] Removing intermediate container 2384794b8500 [2023-02-14T10:11:34.650Z] ---> 03d541a08a11 [2023-02-14T10:11:34.650Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T10:11:34.915Z] ---> Running in cc7eef4aa140 [2023-02-14T10:11:35.494Z] Removing intermediate container cc7eef4aa140 [2023-02-14T10:11:35.494Z] ---> 19f3f57a4f75 [2023-02-14T10:11:35.494Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T10:11:35.494Z] ---> Running in 806ab66351c8 [2023-02-14T10:11:35.761Z] Removing intermediate container 806ab66351c8 [2023-02-14T10:11:35.761Z] ---> 85d4a1f5b47a [2023-02-14T10:11:35.761Z] Step 21/23 : LABEL arch=arm64 [2023-02-14T10:11:36.030Z] ---> Running in d6a86d039dc9 [2023-02-14T10:11:36.295Z] Removing intermediate container d6a86d039dc9 [2023-02-14T10:11:36.295Z] ---> 564975820d11 [2023-02-14T10:11:36.295Z] Step 22/23 : LABEL git_sha=0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [2023-02-14T10:11:36.295Z] ---> Running in 1ef53cd18f97 [2023-02-14T10:11:36.874Z] Removing intermediate container 1ef53cd18f97 [2023-02-14T10:11:36.874Z] ---> 7e9f72a26a11 [2023-02-14T10:11:36.874Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T10:11:36.874Z] ---> Running in 2689a2678139 [2023-02-14T10:11:37.456Z] Removing intermediate container 2689a2678139 [2023-02-14T10:11:37.456Z] ---> 89c099df0a47 [2023-02-14T10:11:37.456Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T10:11:37.456Z] Successfully built 89c099df0a47 [2023-02-14T10:11:37.456Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:11:38.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T10:11:38.327Z] [2023-02-14T10:11:38.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:11:38.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T10:11:38.722Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T10:11:38.722Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T10:11:38.722Z] 04944245beec: Pulling fs layer [2023-02-14T10:11:38.722Z] 699f458cf7ca: Pulling fs layer [2023-02-14T10:11:38.722Z] 765212b225bb: Pulling fs layer [2023-02-14T10:11:38.722Z] f23df028b6ca: Pulling fs layer [2023-02-14T10:11:38.722Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T10:11:38.722Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T10:11:38.722Z] 765212b225bb: Waiting [2023-02-14T10:11:38.722Z] f23df028b6ca: Waiting [2023-02-14T10:11:38.722Z] d65c8cfc05b1: Waiting [2023-02-14T10:11:38.722Z] 2437ff75d9bd: Waiting [2023-02-14T10:11:38.989Z] 04944245beec: Verifying Checksum [2023-02-14T10:11:38.989Z] 04944245beec: Download complete [2023-02-14T10:11:38.989Z] 765212b225bb: Verifying Checksum [2023-02-14T10:11:38.989Z] 765212b225bb: Download complete [2023-02-14T10:11:38.989Z] f23df028b6ca: Verifying Checksum [2023-02-14T10:11:38.989Z] f23df028b6ca: Download complete [2023-02-14T10:11:39.256Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T10:11:39.256Z] d65c8cfc05b1: Download complete [2023-02-14T10:11:39.256Z] 699f458cf7ca: Verifying Checksum [2023-02-14T10:11:39.256Z] 699f458cf7ca: Download complete [2023-02-14T10:11:39.838Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T10:11:39.838Z] 8998bd30e6a1: Download complete [2023-02-14T10:11:43.174Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T10:11:43.174Z] 2437ff75d9bd: Download complete [2023-02-14T10:11:45.121Z] 8998bd30e6a1: Pull complete [2023-02-14T10:11:45.703Z] 04944245beec: Pull complete [2023-02-14T10:11:47.115Z] 699f458cf7ca: Pull complete [2023-02-14T10:11:47.115Z] 765212b225bb: Pull complete [2023-02-14T10:11:48.073Z] f23df028b6ca: Pull complete [2023-02-14T10:11:48.073Z] d65c8cfc05b1: Pull complete [2023-02-14T10:12:03.057Z] 2437ff75d9bd: Pull complete [2023-02-14T10:12:03.057Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T10:12:03.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T10:12:03.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:12:03.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-5780 does not seem to be running inside a container [2023-02-14T10:12:03.409Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-14T10:12:06.005Z] $ docker top a91fbb4f8749aa9124d4381f532239850421133e0e05f7ac9fb6d9694b6361e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:06.892Z] ---> job-cost.sh [2023-02-14T10:12:06.892Z] lf-activate-venv: SKIPPING [2023-02-14T10:12:06.892Z] INFO: No Stack... [2023-02-14T10:12:07.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T10:12:08.053Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T10:12:08.707Z] + cut -d, -f6 [2023-02-14T10:12:08.707Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-02-14T10:12:08.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] [2023-02-14T10:12:08.793Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] did not exist. Created. [2023-02-14T10:12:08.793Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T10:12:09.201Z] /w/workspace/device-sdk-go/1@tmp/durable-44ed7ed1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T10:12:09.548Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T10:12:09.586Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T10:12:09.642Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T10:12:09.656Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T10:12:09.740Z] $ docker stop --time=1 a91fbb4f8749aa9124d4381f532239850421133e0e05f7ac9fb6d9694b6361e5 [2023-02-14T10:12:11.242Z] $ docker rm -f --volumes a91fbb4f8749aa9124d4381f532239850421133e0e05f7ac9fb6d9694b6361e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-14T10:12:12.306Z] provisioning config files... [2023-02-14T10:12:12.314Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/config16862628158563292139tmp [Pipeline] { [Pipeline] sh [2023-02-14T10:12:12.670Z] + set +x [2023-02-14T10:12:12.670Z] + curl -s https://codecov.io/bash [2023-02-14T10:12:12.670Z] + bash -s -- [2023-02-14T10:12:12.670Z] [2023-02-14T10:12:12.670Z] _____ _ [2023-02-14T10:12:12.670Z] / ____| | | [2023-02-14T10:12:12.670Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T10:12:12.670Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T10:12:12.670Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T10:12:12.670Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T10:12:12.670Z] Bash-1.0.6 [2023-02-14T10:12:12.670Z] [2023-02-14T10:12:12.670Z] [2023-02-14T10:12:12.670Z] ==> git version 2.25.1 found [2023-02-14T10:12:12.670Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-14T10:12:12.670Z] Release-Date: 2020-01-08 [2023-02-14T10:12:12.670Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-14T10:12:12.670Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T10:12:12.670Z] ==> Jenkins CI detected. [2023-02-14T10:12:12.670Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1319 [2023-02-14T10:12:12.670Z] project root: . [2023-02-14T10:12:12.670Z] --> token set from env [2023-02-14T10:12:12.670Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T10:12:12.670Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T10:12:12.670Z] ==> Python coveragepy not found [2023-02-14T10:12:12.670Z] ==> Searching for coverage reports in: [2023-02-14T10:12:12.670Z] + . [2023-02-14T10:12:12.670Z] -> Found 1 reports [2023-02-14T10:12:12.670Z] ==> Detecting git/mercurial file structure [2023-02-14T10:12:12.670Z] ==> Reading reports [2023-02-14T10:12:12.670Z] + ./coverage.out bytes=98700 [2023-02-14T10:12:12.670Z] ==> Appending adjustments [2023-02-14T10:12:12.670Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T10:12:12.930Z] + Found adjustments [2023-02-14T10:12:12.930Z] ==> Gzipping contents [2023-02-14T10:12:12.930Z] 16K /tmp/codecov.7kexsd.gz [2023-02-14T10:12:12.930Z] ==> Uploading reports [2023-02-14T10:12:12.930Z] url: https://codecov.io [2023-02-14T10:12:12.930Z] query: branch=PR-1319&commit=0ce4a9894e96d6583bb0f18803e2db135d1ab6f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1319&job=&cmd_args= [2023-02-14T10:12:12.930Z] -> Pinging Codecov [2023-02-14T10:12:12.930Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1319&commit=0ce4a9894e96d6583bb0f18803e2db135d1ab6f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1319&job=&cmd_args= [2023-02-14T10:12:13.196Z] -> Uploading to [2023-02-14T10:12:13.196Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7E55EF52A471D76F132DFD9A03CDDE97/0ce4a9894e96d6583bb0f18803e2db135d1ab6f8/b3e0b943-ad44-4f59-bd21-570f6da6179b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T101213Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b7fd5f32f4145615a8b8152defbff1007b68e6f01322d712418b73b8815820d [2023-02-14T10:12:13.196Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T10:12:13.196Z] Dload Upload Total Spent Left Speed [2023-02-14T10:12:13.455Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14347 0 0 100 14347 0 50164 --:--:-- --:--:-- --:--:-- 49989 100 14347 0 0 100 14347 0 50164 --:--:-- --:--:-- --:--:-- 49989 [2023-02-14T10:12:13.455Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0ce4a9894e96d6583bb0f18803e2db135d1ab6f8 [Pipeline] } [2023-02-14T10:12:13.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-14T10:12:15.257Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives ] [2023-02-14T10:12:15.257Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives [2023-02-14T10:12:15.257Z] total 16 [2023-02-14T10:12:15.257Z] drwxr-xr-x 3 root root 4096 Feb 14 10:02 . [2023-02-14T10:12:15.257Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 10:02 .. [2023-02-14T10:12:15.257Z] drwxr-xr-x 2 root root 4096 Feb 14 10:02 cost [2023-02-14T10:12:15.257Z] -rw-r--r-- 1 root root 86 Feb 14 10:02 cost.csv [2023-02-14T10:12:15.257Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives [2023-02-14T10:12:15.257Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives [2023-02-14T10:12:15.257Z] total 16 [2023-02-14T10:12:15.257Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 10:02 . [2023-02-14T10:12:15.257Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 10:02 .. [2023-02-14T10:12:15.257Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 10:02 cost [2023-02-14T10:12:15.257Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 14 10:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:15.587Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:16.475Z] ---> package-listing.sh [2023-02-14T10:12:16.475Z] ++ facter osfamily [2023-02-14T10:12:16.475Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T10:12:16.734Z] + OS_FAMILY=debian [2023-02-14T10:12:16.734Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1319 [2023-02-14T10:12:16.734Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T10:12:16.734Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T10:12:16.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T10:12:16.734Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T10:12:16.734Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1319 ']' [2023-02-14T10:12:16.734Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T10:12:16.734Z] + case "${OS_FAMILY}" in [2023-02-14T10:12:16.734Z] + dpkg -l [2023-02-14T10:12:16.734Z] + grep '^ii' [2023-02-14T10:12:16.734Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T10:12:16.734Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T10:12:16.734Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T10:12:16.734Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1319 ']' [2023-02-14T10:12:16.734Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives/ [2023-02-14T10:12:16.734Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1319/archives/ [Pipeline] echo [2023-02-14T10:12:16.767Z] 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-1319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T10:12:17.061Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T10:12:17.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T10:12:17.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T10:12:17.825Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-02-14T10:12:17.865Z] $ 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-1319/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-1319 -v /w/workspace/gexfoundry_device-sdk-go_PR-1319:/w/workspace/gexfoundry_device-sdk-go_PR-1319:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T10:12:18.567Z] $ docker top ba3403f3ee93b6a0e941f05b21e1e4fd4d9cb35fd8477a6925582a7ab3e3e138 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T10:12:19.106Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T10:12:19.419Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T10:12:19.736Z] + ls /var/log/sa-host [2023-02-14T10:12:19.736Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T10:12:19.877Z] provisioning config files... [2023-02-14T10:12:19.886Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1319@tmp/config1612446901767634338tmp [Pipeline] { [Pipeline] echo [2023-02-14T10:12:19.942Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:20.258Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T10:12:20.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:20.707Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T10:12:20.742Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:21.055Z] ---> sudo-logs.sh [2023-02-14T10:12:21.056Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T10:12:21.150Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:21.465Z] ---> job-cost.sh [2023-02-14T10:12:21.465Z] lf-activate-venv: SKIPPING [2023-02-14T10:12:21.465Z] DEBUG: total: 0.2199999988079071 [2023-02-14T10:12:21.465Z] INFO: Retrieving Stack Cost... [2023-02-14T10:12:22.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T10:12:22.605Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T10:12:22.642Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T10:12:22.961Z] ---> logs-deploy.sh [2023-02-14T10:12:22.961Z] lf-activate-venv: SKIPPING [2023-02-14T10:12:22.961Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1319/1 [2023-02-14T10:12:22.961Z] INFO: archiving workspace using pattern(s): [2023-02-14T10:12:23.899Z] Archives upload complete. [2023-02-14T10:12:23.899Z] INFO: archiving logs to Nexus