Pull request #1278 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 354cc457f5dd00fbae84271aae46902a9bf4a6e1+8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 (3b25555ff703196cd47065dcf7edced1df9b55ba) 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-ssh4918526119613417691.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-ssh6499664559405602949.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-1278/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-1278/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12989736551112932904.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-1278/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6574196887627689084.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-ssh2820311969390995922.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-1278/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-1278/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6093893790155057744.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/v2]] ========================================================= [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/v2 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-2012’ Running on prd-ubuntu20.04-docker-8c-8g-2015 in /w/workspace/gexfoundry_device-sdk-go_PR-1278 [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-1278 # 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 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 354cc457f5dd00fbae84271aae46902a9bf4a6e1 > 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/1278/head:refs/remotes/origin/PR-1278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # 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 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 Merge succeeded, producing 354cc457f5dd00fbae84271aae46902a9bf4a6e1 Checking out Revision 354cc457f5dd00fbae84271aae46902a9bf4a6e1 (PR-1278) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 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-01-12T04:03:44.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-12T04:03:44.476Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-12T04:03:44.582Z] ========================================================= [2023-01-12T04:03:44.582Z] EdgeX Global Pipelines Version Info [2023-01-12T04:03:44.582Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 [2023-01-12T04:03:45.331Z] ------------------- [2023-01-12T04:03:45.331Z] stable info: [2023-01-12T04:03:45.331Z] ------------------- [2023-01-12T04:03:45.331Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-12T04:03:45.331Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T04:03:45.331Z] Message: update stable to v1.0.244 [2023-01-12T04:03:45.901Z] ------------------- [2023-01-12T04:03:45.901Z] experimental info: [2023-01-12T04:03:45.901Z] ------------------- [2023-01-12T04:03:45.901Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-12T04:03:45.901Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T04:03:45.901Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-12T04:03:46.190Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-12T04:03:46.228Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-12T04:03:46.269Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-12T04:03:46.309Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-12T04:03:46.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-12T04:03:46.388Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-12T04:03:46.425Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-12T04:03:46.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-12T04:03:46.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-12T04:03:46.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-12T04:03:46.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-12T04:03:46.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-12T04:03:46.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-12T04:03:46.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-12T04:03:46.750Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-12T04:03:46.794Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T04:03:46.838Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T04:03:46.879Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T04:03:46.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-12T04:03:46.958Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-12T04:03:47.001Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-12T04:03:47.048Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-12T04:03:47.094Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-12T04:03:47.138Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-12T04:03:47.184Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-12T04:03:47.226Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-12T04:03:47.270Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-12T04:03:47.315Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1278 [Pipeline] echo [2023-01-12T04:03:47.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1278 [Pipeline] echo [2023-01-12T04:03:47.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1278 [Pipeline] echo [2023-01-12T04:03:47.444Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo [2023-01-12T04:03:47.484Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 354cc45 [Pipeline] echo [2023-01-12T04:03:47.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T04:03:47.644Z] provisioning config files... [2023-01-12T04:03:47.658Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config5684622576335860335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:03:48.003Z] ---> docker-login.sh [2023-01-12T04:03:48.003Z] nexus3.edgexfoundry.org:10001 [2023-01-12T04:03:48.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:03:48.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:03:48.262Z] Configure a credential helper to remove this warning. See [2023-01-12T04:03:48.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:03:48.262Z] [2023-01-12T04:03:48.262Z] Login Succeeded [2023-01-12T04:03:48.262Z] nexus3.edgexfoundry.org:10002 [2023-01-12T04:03:48.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:03:48.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:03:48.262Z] Configure a credential helper to remove this warning. See [2023-01-12T04:03:48.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:03:48.262Z] [2023-01-12T04:03:48.262Z] Login Succeeded [2023-01-12T04:03:48.521Z] nexus3.edgexfoundry.org:10003 [2023-01-12T04:03:48.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:03:48.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:03:48.521Z] Configure a credential helper to remove this warning. See [2023-01-12T04:03:48.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:03:48.521Z] [2023-01-12T04:03:48.521Z] Login Succeeded [2023-01-12T04:03:48.521Z] nexus3.edgexfoundry.org:10004 [2023-01-12T04:03:48.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:03:48.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:03:48.521Z] Configure a credential helper to remove this warning. See [2023-01-12T04:03:48.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:03:48.521Z] [2023-01-12T04:03:48.521Z] Login Succeeded [2023-01-12T04:03:48.521Z] docker.io [2023-01-12T04:03:48.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:03:49.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:03:49.039Z] Configure a credential helper to remove this warning. See [2023-01-12T04:03:49.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:03:49.039Z] [2023-01-12T04:03:49.039Z] Login Succeeded [2023-01-12T04:03:49.039Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T04:03:49.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-12T04:03:49.698Z] + git rev-list -1 --merges 354cc457f5dd00fbae84271aae46902a9bf4a6e1~1..354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo [2023-01-12T04:03:49.757Z] -----------> git rev-list -1 --merges 354cc457f5dd00fbae84271aae46902a9bf4a6e1~1..354cc457f5dd00fbae84271aae46902a9bf4a6e1 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [false] [Pipeline] sh [2023-01-12T04:03:50.065Z] + git log --format=format:%s -1 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo [2023-01-12T04:03:50.099Z] ========================================================= [2023-01-12T04:03:50.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-12T04:03:50.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T04:03:50.523Z] + git log --format=format:%s -1 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo [2023-01-12T04:03:50.555Z] [semverPrep] GIT_COMMIT: 354cc457f5dd00fbae84271aae46902a9bf4a6e1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-12T04:03:50.582Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-12T04:03:50.946Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-12T04:03:50.946Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-12T04:03:50.946Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-12T04:03:50.946Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-12T04:03:50.946Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-12T04:03:50.946Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-12T04:03:50.946Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:03:51.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T04:03:51.367Z] [2023-01-12T04:03:51.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:03:51.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T04:03:51.741Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-12T04:03:51.741Z] b85a868b505f: Pulling fs layer [2023-01-12T04:03:51.741Z] e2be974225ed: Pulling fs layer [2023-01-12T04:03:51.741Z] 339a4e72a1f5: Pulling fs layer [2023-01-12T04:03:51.741Z] 988bab9f4d93: Pulling fs layer [2023-01-12T04:03:51.741Z] 1469e6f7b9e6: Pulling fs layer [2023-01-12T04:03:51.741Z] eaf3925da568: Pulling fs layer [2023-01-12T04:03:51.741Z] bab4dde63d76: Pulling fs layer [2023-01-12T04:03:51.741Z] bde34c3a00c8: Pulling fs layer [2023-01-12T04:03:51.741Z] b352a97aabf1: Pulling fs layer [2023-01-12T04:03:51.741Z] 4872d77fe225: Pulling fs layer [2023-01-12T04:03:51.741Z] 5851b861e8e6: Pulling fs layer [2023-01-12T04:03:51.741Z] 988bab9f4d93: Waiting [2023-01-12T04:03:51.741Z] 1469e6f7b9e6: Waiting [2023-01-12T04:03:51.741Z] b352a97aabf1: Waiting [2023-01-12T04:03:51.741Z] 4872d77fe225: Waiting [2023-01-12T04:03:51.741Z] 5851b861e8e6: Waiting [2023-01-12T04:03:51.741Z] eaf3925da568: Waiting [2023-01-12T04:03:51.741Z] bab4dde63d76: Waiting [2023-01-12T04:03:51.741Z] bde34c3a00c8: Waiting [2023-01-12T04:03:51.741Z] e2be974225ed: Download complete [2023-01-12T04:03:51.741Z] 988bab9f4d93: Verifying Checksum [2023-01-12T04:03:51.741Z] 988bab9f4d93: Download complete [2023-01-12T04:03:52.002Z] 1469e6f7b9e6: Verifying Checksum [2023-01-12T04:03:52.002Z] 1469e6f7b9e6: Download complete [2023-01-12T04:03:52.002Z] eaf3925da568: Verifying Checksum [2023-01-12T04:03:52.002Z] eaf3925da568: Download complete [2023-01-12T04:03:52.002Z] 339a4e72a1f5: Verifying Checksum [2023-01-12T04:03:52.002Z] 339a4e72a1f5: Download complete [2023-01-12T04:03:52.002Z] bde34c3a00c8: Download complete [2023-01-12T04:03:52.002Z] b352a97aabf1: Verifying Checksum [2023-01-12T04:03:52.002Z] b352a97aabf1: Download complete [2023-01-12T04:03:52.002Z] 4872d77fe225: Verifying Checksum [2023-01-12T04:03:52.002Z] 4872d77fe225: Download complete [2023-01-12T04:03:52.002Z] 5851b861e8e6: Verifying Checksum [2023-01-12T04:03:52.002Z] 5851b861e8e6: Download complete [2023-01-12T04:03:52.002Z] b85a868b505f: Verifying Checksum [2023-01-12T04:03:52.002Z] b85a868b505f: Download complete [2023-01-12T04:03:52.261Z] bab4dde63d76: Verifying Checksum [2023-01-12T04:03:52.261Z] bab4dde63d76: Download complete [2023-01-12T04:03:53.194Z] b85a868b505f: Pull complete [2023-01-12T04:03:53.194Z] e2be974225ed: Pull complete [2023-01-12T04:03:53.758Z] 339a4e72a1f5: Pull complete [2023-01-12T04:03:53.758Z] 988bab9f4d93: Pull complete [2023-01-12T04:03:54.017Z] 1469e6f7b9e6: Pull complete [2023-01-12T04:03:54.017Z] eaf3925da568: Pull complete [2023-01-12T04:03:55.920Z] bab4dde63d76: Pull complete [2023-01-12T04:03:55.920Z] bde34c3a00c8: Pull complete [2023-01-12T04:03:55.920Z] b352a97aabf1: Pull complete [2023-01-12T04:03:55.920Z] 4872d77fe225: Pull complete [2023-01-12T04:03:55.920Z] 5851b861e8e6: Pull complete [2023-01-12T04:03:55.920Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-12T04:03:55.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T04:03:55.920Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:03:56.159Z] prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container [2023-01-12T04:03:56.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-12T04:03:57.265Z] $ docker top 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 -eo pid,comm [2023-01-12T04:03:57.319Z] 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-01-12T04:03:57.319Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-12T04:03:57.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T04:03:57.447Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T04:03:57.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T04:03:57.573Z] $ docker exec 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent [2023-01-12T04:03:57.690Z] SSH_AUTH_SOCK=/tmp/ssh-3lMHD6wcbhe1/agent.32 [2023-01-12T04:03:57.691Z] SSH_AGENT_PID=38 [2023-01-12T04:03:57.697Z] Running ssh-add (command line suppressed) [2023-01-12T04:03:57.792Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_14603726621969185898.key (/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_14603726621969185898.key) [2023-01-12T04:03:57.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T04:03:58.132Z] + git tag --points-at HEAD [Pipeline] } [2023-01-12T04:03:58.159Z] $ docker exec --env ******** --env ******** 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent -k [2023-01-12T04:03:58.261Z] unset SSH_AUTH_SOCK; [2023-01-12T04:03:58.262Z] unset SSH_AGENT_PID; [2023-01-12T04:03:58.262Z] echo Agent pid 38 killed; [2023-01-12T04:03:58.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-12T04:03:58.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T04:03:58.354Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T04:03:58.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T04:03:58.465Z] $ docker exec 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent [2023-01-12T04:03:58.577Z] SSH_AUTH_SOCK=/tmp/ssh-dFerDOHAITWH/agent.70 [2023-01-12T04:03:58.577Z] SSH_AGENT_PID=76 [2023-01-12T04:03:58.582Z] Running ssh-add (command line suppressed) [2023-01-12T04:03:58.682Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_8368843161041850990.key (/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_8368843161041850990.key) [2023-01-12T04:03:58.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T04:03:59.028Z] + git semver init [2023-01-12T04:03:59.288Z] 2023-01-12 04:03:59,205 [run_init] DEBUG init version:0.0.0 force:False [2023-01-12T04:03:59.288Z] 2023-01-12 04:03:59,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver [2023-01-12T04:03:59.288Z] 2023-01-12 04:03:59,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver [2023-01-12T04:03:59.288Z] 2023-01-12 04:03:59,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1278, universal_newlines=False, shell=None, istream=None) [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,094 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.git/info/exclude [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,094 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver/PR-1278 with force:False [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,094 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver/PR-1278 [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,099 [execute] INFO git cat-file --batch-check [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,105 [execute] INFO git cat-file --batch [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T04:04:00.226Z] 2023-01-12 04:04:00,110 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver/PR-1278 [2023-01-12T04:04:00.226Z] 0.0.0 [Pipeline] } [2023-01-12T04:04:00.251Z] $ docker exec --env ******** --env ******** 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent -k [2023-01-12T04:04:00.351Z] unset SSH_AUTH_SOCK; [2023-01-12T04:04:00.352Z] unset SSH_AGENT_PID; [2023-01-12T04:04:00.352Z] echo Agent pid 76 killed; [2023-01-12T04:04:00.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-12T04:04:00.779Z] + git semver [Pipeline] } [2023-01-12T04:04:01.063Z] $ docker stop --time=1 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 [2023-01-12T04:04:02.716Z] $ docker rm -f --volumes 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T04:04:03.224Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-12T04:04:03.525Z] Stashed 1 file(s) [Pipeline] echo [2023-01-12T04:04:03.544Z] [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-01-12T04:04:04.221Z] provisioning config files... [2023-01-12T04:04:04.232Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config17727192822115536417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:04:04.577Z] ---> docker-login.sh [2023-01-12T04:04:04.577Z] nexus3.edgexfoundry.org:10001 [2023-01-12T04:04:04.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:04:04.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:04:04.577Z] Configure a credential helper to remove this warning. See [2023-01-12T04:04:04.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:04:04.577Z] [2023-01-12T04:04:04.577Z] Login Succeeded [2023-01-12T04:04:04.577Z] nexus3.edgexfoundry.org:10002 [2023-01-12T04:04:04.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:04:04.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:04:04.577Z] Configure a credential helper to remove this warning. See [2023-01-12T04:04:04.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:04:04.577Z] [2023-01-12T04:04:04.577Z] Login Succeeded [2023-01-12T04:04:04.577Z] nexus3.edgexfoundry.org:10003 [2023-01-12T04:04:04.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:04:04.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:04:04.836Z] Configure a credential helper to remove this warning. See [2023-01-12T04:04:04.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:04:04.836Z] [2023-01-12T04:04:04.836Z] Login Succeeded [2023-01-12T04:04:04.836Z] nexus3.edgexfoundry.org:10004 [2023-01-12T04:04:04.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:04:04.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:04:04.836Z] Configure a credential helper to remove this warning. See [2023-01-12T04:04:04.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:04:04.836Z] [2023-01-12T04:04:04.836Z] Login Succeeded [2023-01-12T04:04:04.836Z] docker.io [2023-01-12T04:04:04.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:04:05.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:04:05.094Z] Configure a credential helper to remove this warning. See [2023-01-12T04:04:05.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:04:05.094Z] [2023-01-12T04:04:05.094Z] Login Succeeded [2023-01-12T04:04:05.094Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T04:04:05.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T04:04:05.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T04:04:05.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T04:04:05.388Z] ========================================================= [2023-01-12T04:04:05.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-12T04:04:05.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:04:05.846Z] + 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-01-12T04:04:05.846Z] Sending build context to Docker daemon 10.44MB [2023-01-12T04:04:05.846Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T04:04:05.846Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T04:04:05.846Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-12T04:04:05.846Z] 213ec9aee27d: Pulling fs layer [2023-01-12T04:04:05.846Z] 4583459ba037: Pulling fs layer [2023-01-12T04:04:05.846Z] 93c1e223e6f2: Pulling fs layer [2023-01-12T04:04:05.846Z] 53926ce57604: Pulling fs layer [2023-01-12T04:04:05.846Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-12T04:04:05.846Z] 22ff95d597cd: Pulling fs layer [2023-01-12T04:04:05.846Z] 12d6caf4c0d1: Pulling fs layer [2023-01-12T04:04:05.846Z] 96b7cbca73a9: Pulling fs layer [2023-01-12T04:04:05.846Z] a7acece74701: Pulling fs layer [2023-01-12T04:04:05.846Z] 53926ce57604: Waiting [2023-01-12T04:04:05.846Z] 21b2b0c7a3f4: Waiting [2023-01-12T04:04:05.846Z] 22ff95d597cd: Waiting [2023-01-12T04:04:05.846Z] 12d6caf4c0d1: Waiting [2023-01-12T04:04:05.846Z] 96b7cbca73a9: Waiting [2023-01-12T04:04:05.846Z] a7acece74701: Waiting [2023-01-12T04:04:05.846Z] 93c1e223e6f2: Verifying Checksum [2023-01-12T04:04:05.846Z] 93c1e223e6f2: Download complete [2023-01-12T04:04:05.846Z] 4583459ba037: Verifying Checksum [2023-01-12T04:04:05.846Z] 4583459ba037: Download complete [2023-01-12T04:04:06.107Z] 21b2b0c7a3f4: Download complete [2023-01-12T04:04:06.107Z] 22ff95d597cd: Verifying Checksum [2023-01-12T04:04:06.107Z] 22ff95d597cd: Download complete [2023-01-12T04:04:06.107Z] 213ec9aee27d: Verifying Checksum [2023-01-12T04:04:06.107Z] 213ec9aee27d: Download complete [2023-01-12T04:04:06.107Z] 12d6caf4c0d1: Verifying Checksum [2023-01-12T04:04:06.107Z] 12d6caf4c0d1: Download complete [2023-01-12T04:04:06.107Z] 213ec9aee27d: Pull complete [2023-01-12T04:04:06.380Z] 4583459ba037: Pull complete [2023-01-12T04:04:06.380Z] 93c1e223e6f2: Pull complete [2023-01-12T04:04:06.645Z] a7acece74701: Verifying Checksum [2023-01-12T04:04:06.645Z] a7acece74701: Download complete [2023-01-12T04:04:06.905Z] 96b7cbca73a9: Verifying Checksum [2023-01-12T04:04:06.905Z] 96b7cbca73a9: Download complete [2023-01-12T04:04:07.166Z] 53926ce57604: Verifying Checksum [2023-01-12T04:04:07.166Z] 53926ce57604: Download complete [2023-01-12T04:04:10.513Z] 53926ce57604: Pull complete [2023-01-12T04:04:10.513Z] 21b2b0c7a3f4: Pull complete [2023-01-12T04:04:10.513Z] 22ff95d597cd: Pull complete [2023-01-12T04:04:10.816Z] 12d6caf4c0d1: Pull complete [2023-01-12T04:04:12.766Z] 96b7cbca73a9: Pull complete [2023-01-12T04:04:13.334Z] a7acece74701: Pull complete [2023-01-12T04:04:13.334Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-12T04:04:13.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-12T04:04:13.334Z] ---> db6d94c90886 [2023-01-12T04:04:13.334Z] Step 3/10 : ARG MAKE=make build [2023-01-12T04:04:14.717Z] ---> Running in 968d06ad5c9a [2023-01-12T04:04:14.976Z] Removing intermediate container 968d06ad5c9a [2023-01-12T04:04:14.976Z] ---> 660f408cc1b7 [2023-01-12T04:04:14.976Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-12T04:04:14.976Z] ---> Running in 397804c18f7a [2023-01-12T04:04:14.976Z] Removing intermediate container 397804c18f7a [2023-01-12T04:04:14.976Z] ---> 404de569a385 [2023-01-12T04:04:14.976Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T04:04:14.976Z] ---> Running in 171a35fb7a92 [2023-01-12T04:04:14.976Z] Removing intermediate container 171a35fb7a92 [2023-01-12T04:04:14.976Z] ---> 2b740ed74302 [2023-01-12T04:04:14.976Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-12T04:04:15.236Z] ---> Running in fdf27dea7a6b [2023-01-12T04:04:15.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T04:04:15.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T04:04:15.754Z] OK: 211 MiB in 51 packages [2023-01-12T04:04:16.012Z] Removing intermediate container fdf27dea7a6b [2023-01-12T04:04:16.012Z] ---> be34b6f2df98 [2023-01-12T04:04:16.012Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T04:04:16.012Z] ---> 646dfb15725c [2023-01-12T04:04:16.012Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T04:04:16.012Z] ---> Running in 2b9137278e32 [2023-01-12T04:04:19.031Z] Still waiting to schedule task [2023-01-12T04:04:19.031Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2013’ [2023-01-12T04:04:34.102Z] Removing intermediate container 2b9137278e32 [2023-01-12T04:04:34.102Z] ---> b48ac3fe7c7c [2023-01-12T04:04:34.102Z] Step 9/10 : COPY . . [2023-01-12T04:04:34.102Z] ---> bb10307820ce [2023-01-12T04:04:34.102Z] Step 10/10 : RUN ${MAKE} [2023-01-12T04:04:34.102Z] ---> Running in 9c074a977b44 [2023-01-12T04:04:34.361Z] noop [2023-01-12T04:04:34.619Z] Removing intermediate container 9c074a977b44 [2023-01-12T04:04:34.619Z] ---> fcbb57e9cbe2 [2023-01-12T04:04:34.619Z] Successfully built fcbb57e9cbe2 [2023-01-12T04:04:34.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:04:35.061Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T04:04:35.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:04:35.208Z] prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container [2023-01-12T04:04:35.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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 ******** ci-base-image-x86_64 cat [2023-01-12T04:04:35.567Z] $ docker top e946fcd62825eddaac0f447b842aea3f8f19b9086b0f7627eddec3f0d558b774 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T04:04:35.953Z] + go version [2023-01-12T04:04:35.953Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-12T04:04:35.988Z] $ docker stop --time=1 e946fcd62825eddaac0f447b842aea3f8f19b9086b0f7627eddec3f0d558b774 [2023-01-12T04:04:37.279Z] $ docker rm -f --volumes e946fcd62825eddaac0f447b842aea3f8f19b9086b0f7627eddec3f0d558b774 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:04:37.995Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T04:04:37.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:04:38.146Z] prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container [2023-01-12T04:04:38.179Z] $ 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-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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 ******** ci-base-image-x86_64 cat [2023-01-12T04:04:38.498Z] $ docker top 4c03cbde243489a11e3ed713b3bd00d869c461dfd8a666a4cf118e43c5f0d70e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T04:04:38.889Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1278 [Pipeline] fileExists [Pipeline] sh [2023-01-12T04:04:39.250Z] + make test [2023-01-12T04:04:39.250Z] go test -race -coverprofile=coverage.out ./... [2023-01-12T04:04:44.522Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-12T04:04:56.718Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements [2023-01-12T04:04:56.718Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-12T04:04:56.718Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.092s coverage: 73.6% of statements [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-12T04:04:56.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-12T04:04:57.293Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 54.4% of statements [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-12T04:04:57.293Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 65.1% of statements [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-12T04:04:57.293Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.741s coverage: 89.2% of statements [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-12T04:04:57.293Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.053s coverage: 4.6% of statements [2023-01-12T04:04:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-12T04:05:12.159Z] 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-01-12T04:05:12.159Z] GO111MODULE=on go vet ./... [2023-01-12T04:05:13.537Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T04:05:13.537Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T04:05:13.537Z] ./bin/test-attribution-txt.sh [2023-01-12T04:05:13.537Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-12T04:05:13.537Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-12T04:05:13.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T04:05:13.604Z] $ docker stop --time=1 4c03cbde243489a11e3ed713b3bd00d869c461dfd8a666a4cf118e43c5f0d70e [2023-01-12T04:05:15.525Z] $ docker rm -f --volumes 4c03cbde243489a11e3ed713b3bd00d869c461dfd8a666a4cf118e43c5f0d70e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T04:05:16.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T04:05:16.146Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-12T04:05:16.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T04:05:17.139Z] + ls -al . [2023-01-12T04:05:17.139Z] total 272 [2023-01-12T04:05:17.139Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 04:04 . [2023-01-12T04:05:17.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:03 .. [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 04:03 .dockerignore [2023-01-12T04:05:17.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 04:04 .git [2023-01-12T04:05:17.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:03 .github [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 04:03 .gitignore [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 04:03 .golangci.yml [2023-01-12T04:05:17.139Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 04:04 .semver [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 04:03 CHANGELOG.md [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 04:03 GOVERNANCE.md [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 04:03 Jenkinsfile [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 04:03 LICENSE [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 04:03 Makefile [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 04:03 OWNERS.md [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 04:03 README.md [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 04:04 VERSION [2023-01-12T04:05:17.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:03 bin [2023-01-12T04:05:17.139Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 04:04 coverage.out [2023-01-12T04:05:17.139Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 04:03 example [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 3306 Jan 12 04:03 go.mod [2023-01-12T04:05:17.139Z] -rw-rw-r-- 1 jenkins jenkins 34394 Jan 12 04:03 go.sum [2023-01-12T04:05:17.139Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 04:03 internal [2023-01-12T04:05:17.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 04:03 openapi [2023-01-12T04:05:17.139Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 04:03 pkg [2023-01-12T04:05:17.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:03 snap [2023-01-12T04:05:17.140Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:05:17.548Z] + 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=354cc457f5dd00fbae84271aae46902a9bf4a6e1 --label arch=amd64 --label version=0.0.0 . [2023-01-12T04:05:17.548Z] Sending build context to Docker daemon 10.54MB [2023-01-12T04:05:17.548Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T04:05:17.548Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-12T04:05:17.548Z] ---> fcbb57e9cbe2 [2023-01-12T04:05:17.548Z] Step 3/23 : ARG MAKE=make build [2023-01-12T04:05:17.548Z] ---> Running in b64120eb3273 [2023-01-12T04:05:17.548Z] Removing intermediate container b64120eb3273 [2023-01-12T04:05:17.548Z] ---> 23ad55e4ac15 [2023-01-12T04:05:17.548Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-12T04:05:17.812Z] ---> Running in 9c6d4ee483a6 [2023-01-12T04:05:17.812Z] Removing intermediate container 9c6d4ee483a6 [2023-01-12T04:05:17.812Z] ---> 3d0d97ec8010 [2023-01-12T04:05:17.812Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T04:05:17.812Z] ---> Running in 7a2db836bf21 [2023-01-12T04:05:17.812Z] Removing intermediate container 7a2db836bf21 [2023-01-12T04:05:17.812Z] ---> c9b74a305832 [2023-01-12T04:05:17.812Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-12T04:05:17.812Z] ---> Running in e380db2be34f [2023-01-12T04:05:18.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T04:05:18.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T04:05:18.328Z] OK: 211 MiB in 51 packages [2023-01-12T04:05:18.586Z] Removing intermediate container e380db2be34f [2023-01-12T04:05:18.586Z] ---> cfb02acb73fc [2023-01-12T04:05:18.586Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-12T04:05:18.851Z] ---> 4693ad5dada8 [2023-01-12T04:05:18.851Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T04:05:18.851Z] ---> Running in 0c30293068d3 [2023-01-12T04:05:19.789Z] Removing intermediate container 0c30293068d3 [2023-01-12T04:05:19.789Z] ---> 3b99cb43a3a7 [2023-01-12T04:05:19.789Z] Step 9/23 : COPY . . [2023-01-12T04:05:19.789Z] ---> 237777506bf4 [2023-01-12T04:05:19.789Z] Step 10/23 : RUN ${MAKE} [2023-01-12T04:05:19.789Z] ---> Running in 13303184f43d [2023-01-12T04:05:20.048Z] 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-01-12T04:05:38.125Z] Removing intermediate container 13303184f43d [2023-01-12T04:05:38.125Z] ---> f374700d9675 [2023-01-12T04:05:38.125Z] Step 11/23 : FROM alpine:3.16 [2023-01-12T04:05:38.125Z] 3.16: Pulling from library/alpine [2023-01-12T04:05:38.125Z] ca7dd9ec2225: Pulling fs layer [2023-01-12T04:05:38.125Z] ca7dd9ec2225: Verifying Checksum [2023-01-12T04:05:38.125Z] ca7dd9ec2225: Download complete [2023-01-12T04:05:38.125Z] ca7dd9ec2225: Pull complete [2023-01-12T04:05:38.125Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-12T04:05:38.125Z] Status: Downloaded newer image for alpine:3.16 [2023-01-12T04:05:38.125Z] ---> bfe296a52501 [2023-01-12T04:05:38.125Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-12T04:05:38.125Z] ---> Running in ee0364b57d45 [2023-01-12T04:05:38.125Z] Removing intermediate container ee0364b57d45 [2023-01-12T04:05:38.125Z] ---> 88ab219e7aa3 [2023-01-12T04:05:38.125Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-12T04:05:38.125Z] ---> Running in 0d696c19ab63 [2023-01-12T04:05:38.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T04:05:38.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T04:05:38.125Z] OK: 6 MiB in 14 packages [2023-01-12T04:05:38.125Z] Removing intermediate container 0d696c19ab63 [2023-01-12T04:05:38.125Z] ---> da36be656dfc [2023-01-12T04:05:38.125Z] Step 14/23 : WORKDIR / [2023-01-12T04:05:38.125Z] ---> Running in 953933b0ecd7 [2023-01-12T04:05:38.125Z] Removing intermediate container 953933b0ecd7 [2023-01-12T04:05:38.125Z] ---> 80ebc3abc92c [2023-01-12T04:05:38.125Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-12T04:05:38.125Z] ---> 307029149fb4 [2023-01-12T04:05:38.125Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-12T04:05:38.125Z] ---> 56a499e24ceb [2023-01-12T04:05:38.125Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-12T04:05:38.383Z] ---> 127905ff9789 [2023-01-12T04:05:38.383Z] Step 18/23 : EXPOSE 59999 [2023-01-12T04:05:38.383Z] ---> Running in 3db6ee1b73e7 [2023-01-12T04:05:38.383Z] Removing intermediate container 3db6ee1b73e7 [2023-01-12T04:05:38.383Z] ---> 727b30822ebd [2023-01-12T04:05:38.383Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-12T04:05:38.383Z] ---> Running in b441449bb840 [2023-01-12T04:05:38.383Z] Removing intermediate container b441449bb840 [2023-01-12T04:05:38.383Z] ---> eb4250cb0152 [2023-01-12T04:05:38.383Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-12T04:05:38.383Z] ---> Running in 3d5f381acac6 [2023-01-12T04:05:38.642Z] Removing intermediate container 3d5f381acac6 [2023-01-12T04:05:38.642Z] ---> 74301089d0dd [2023-01-12T04:05:38.642Z] Step 21/23 : LABEL arch=amd64 [2023-01-12T04:05:38.642Z] ---> Running in 9fc30cd58653 [2023-01-12T04:05:38.642Z] Removing intermediate container 9fc30cd58653 [2023-01-12T04:05:38.642Z] ---> 137f016fd0e1 [2023-01-12T04:05:38.642Z] Step 22/23 : LABEL git_sha=354cc457f5dd00fbae84271aae46902a9bf4a6e1 [2023-01-12T04:05:38.642Z] ---> Running in f4d53d2bae53 [2023-01-12T04:05:38.642Z] Removing intermediate container f4d53d2bae53 [2023-01-12T04:05:38.642Z] ---> c842acae495b [2023-01-12T04:05:38.642Z] Step 23/23 : LABEL version=0.0.0 [2023-01-12T04:05:38.642Z] ---> Running in c5ed6d079d03 [2023-01-12T04:05:38.910Z] Removing intermediate container c5ed6d079d03 [2023-01-12T04:05:38.910Z] ---> b508ad640361 [2023-01-12T04:05:38.910Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T04:05:38.910Z] Successfully built b508ad640361 [2023-01-12T04:05:38.910Z] 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-01-12T04:05:39.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T04:05:39.727Z] [2023-01-12T04:05:39.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:05:40.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T04:05:40.117Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-12T04:05:40.117Z] 5eb5b503b376: Pulling fs layer [2023-01-12T04:05:40.117Z] 5c69ac0246d0: Pulling fs layer [2023-01-12T04:05:40.117Z] ec43610c2a17: Pulling fs layer [2023-01-12T04:05:40.117Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-12T04:05:40.117Z] 33b1e0a273af: Pulling fs layer [2023-01-12T04:05:40.117Z] 5d3b04190fa2: Pulling fs layer [2023-01-12T04:05:40.117Z] 2f39f015ded8: Pulling fs layer [2023-01-12T04:05:40.117Z] 33b1e0a273af: Waiting [2023-01-12T04:05:40.117Z] 5d3b04190fa2: Waiting [2023-01-12T04:05:40.117Z] 2f39f015ded8: Waiting [2023-01-12T04:05:40.117Z] 3a2ae6a8a46f: Waiting [2023-01-12T04:05:40.117Z] 5c69ac0246d0: Download complete [2023-01-12T04:05:40.117Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-12T04:05:40.117Z] 3a2ae6a8a46f: Download complete [2023-01-12T04:05:40.117Z] 33b1e0a273af: Verifying Checksum [2023-01-12T04:05:40.117Z] 33b1e0a273af: Download complete [2023-01-12T04:05:40.375Z] 5d3b04190fa2: Verifying Checksum [2023-01-12T04:05:40.375Z] ec43610c2a17: Verifying Checksum [2023-01-12T04:05:40.375Z] 5eb5b503b376: Verifying Checksum [2023-01-12T04:05:40.375Z] 5eb5b503b376: Download complete [2023-01-12T04:05:40.940Z] 2f39f015ded8: Download complete [2023-01-12T04:05:41.505Z] 5eb5b503b376: Pull complete [2023-01-12T04:05:41.505Z] 5c69ac0246d0: Pull complete [2023-01-12T04:05:41.763Z] ec43610c2a17: Pull complete [2023-01-12T04:05:42.021Z] 3a2ae6a8a46f: Pull complete [2023-01-12T04:05:42.021Z] 33b1e0a273af: Pull complete [2023-01-12T04:05:42.021Z] 5d3b04190fa2: Pull complete [2023-01-12T04:05:46.203Z] 2f39f015ded8: Pull complete [2023-01-12T04:05:46.203Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-12T04:05:46.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T04:05:46.203Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:05:46.419Z] prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container [2023-01-12T04:05:46.446Z] $ 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-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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-01-12T04:05:47.456Z] $ docker top c73eb30f048cb8ad357310ee1ff4dbb625721085ff38072b2a67cb836ec2cd65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:05:47.910Z] ---> job-cost.sh [2023-01-12T04:05:47.910Z] lf-activate-venv: SKIPPING [2023-01-12T04:05:47.910Z] INFO: No Stack... [2023-01-12T04:05:48.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T04:05:48.427Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T04:05:48.740Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives/cost.csv [2023-01-12T04:05:48.740Z] + cut -d, -f6 [Pipeline] lock [2023-01-12T04:05:48.780Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [2023-01-12T04:05:48.785Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] did not exist. Created. [2023-01-12T04:05:48.785Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T04:05:49.167Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-12T04:05:49.220Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T04:05:49.246Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T04:05:49.322Z] $ docker stop --time=1 c73eb30f048cb8ad357310ee1ff4dbb625721085ff38072b2a67cb836ec2cd65 [2023-01-12T04:05:50.459Z] $ docker rm -f --volumes c73eb30f048cb8ad357310ee1ff4dbb625721085ff38072b2a67cb836ec2cd65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-12T04:07:58.740Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2018 in /w/workspace/gexfoundry_device-sdk-go_PR-1278 [Pipeline] { [Pipeline] ws [2023-01-12T04:07:58.796Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-12T04:07:58.869Z] The recommended git tool is: git [2023-01-12T04:08:04.554Z] using credential edgex-jenkins-ssh [2023-01-12T04:08:04.573Z] Cloning the remote Git repository [2023-01-12T04:08:04.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T04:08:04.709Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-12T04:08:04.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T04:08:04.871Z] > git --version # timeout=10 [2023-01-12T04:08:04.892Z] > git --version # 'git version 2.25.1' [2023-01-12T04:08:04.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T04:08:04.983Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T04:08:07.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-12T04:08:07.612Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T04:08:09.063Z] Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [2023-01-12T04:08:08.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-12T04:08:08.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T04:08:08.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T04:08:08.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1278/head:refs/remotes/origin/PR-1278 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-12T04:08:09.085Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T04:08:09.103Z] > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 [2023-01-12T04:08:09.321Z] Merge succeeded, producing 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [2023-01-12T04:08:09.322Z] Checking out Revision 354cc457f5dd00fbae84271aae46902a9bf4a6e1 (PR-1278) [2023-01-12T04:08:09.862Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-12T04:08:09.914Z] > git --version # timeout=10 [2023-01-12T04:08:09.929Z] > git --version # 'git version 2.25.1' [2023-01-12T04:08:09.942Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T04:08:09.209Z] > git remote # timeout=10 [2023-01-12T04:08:09.231Z] > git config --get remote.origin.url # timeout=10 [2023-01-12T04:08:09.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T04:08:09.274Z] > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 [2023-01-12T04:08:09.307Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-12T04:08:09.332Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T04:08:09.349Z] > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T04:15:14.002Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-12T04:15:14.002Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T04:15:14.002Z] Dload Upload Total Spent Left Speed [2023-01-12T04:15:14.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-01-12T04:15:14.643Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-12T04:15:14.985Z] + sudo tee /etc/docker/daemon.new [2023-01-12T04:15:14.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-12T04:15:14.986Z] { [2023-01-12T04:15:14.986Z] "registry-mirrors": [ [2023-01-12T04:15:14.986Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-12T04:15:14.986Z] ], [2023-01-12T04:15:14.986Z] "bip": "10.250.0.254/24", [2023-01-12T04:15:14.986Z] "hosts": [ [2023-01-12T04:15:14.986Z] "tcp://0.0.0.0:5555", [2023-01-12T04:15:14.986Z] "unix:///var/run/docker.sock" [2023-01-12T04:15:14.986Z] ], [2023-01-12T04:15:14.986Z] "mtu": 1458, [2023-01-12T04:15:14.986Z] "selinux-enabled": true, [2023-01-12T04:15:14.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-12T04:15:14.986Z] } [Pipeline] sh [2023-01-12T04:15:15.332Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-12T04:15:15.689Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T04:15:34.045Z] provisioning config files... [2023-01-12T04:15:34.076Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11403468960848671301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:15:34.477Z] ---> docker-login.sh [2023-01-12T04:15:34.477Z] nexus3.edgexfoundry.org:10001 [2023-01-12T04:15:35.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:15:35.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:15:35.067Z] Configure a credential helper to remove this warning. See [2023-01-12T04:15:35.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:15:35.067Z] [2023-01-12T04:15:35.067Z] Login Succeeded [2023-01-12T04:15:35.067Z] nexus3.edgexfoundry.org:10002 [2023-01-12T04:15:35.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:15:35.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:15:35.612Z] Configure a credential helper to remove this warning. See [2023-01-12T04:15:35.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:15:35.612Z] [2023-01-12T04:15:35.612Z] Login Succeeded [2023-01-12T04:15:35.612Z] nexus3.edgexfoundry.org:10003 [2023-01-12T04:15:35.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:15:35.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:15:35.884Z] Configure a credential helper to remove this warning. See [2023-01-12T04:15:35.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:15:35.884Z] [2023-01-12T04:15:35.884Z] Login Succeeded [2023-01-12T04:15:35.884Z] nexus3.edgexfoundry.org:10004 [2023-01-12T04:15:36.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:15:36.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:15:36.428Z] Configure a credential helper to remove this warning. See [2023-01-12T04:15:36.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:15:36.428Z] [2023-01-12T04:15:36.428Z] Login Succeeded [2023-01-12T04:15:36.428Z] docker.io [2023-01-12T04:15:36.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T04:15:36.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T04:15:36.967Z] Configure a credential helper to remove this warning. See [2023-01-12T04:15:36.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T04:15:36.967Z] [2023-01-12T04:15:36.967Z] Login Succeeded [2023-01-12T04:15:36.967Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T04:15:36.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T04:15:37.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T04:15:37.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T04:15:37.454Z] ========================================================= [2023-01-12T04:15:37.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-12T04:15:37.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:15:37.955Z] + 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-01-12T04:15:38.229Z] Sending build context to Docker daemon 5.606MB [2023-01-12T04:15:38.229Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T04:15:38.229Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T04:15:38.499Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-12T04:15:38.499Z] 9b18e9b68314: Pulling fs layer [2023-01-12T04:15:38.499Z] 35d82f9e3411: Pulling fs layer [2023-01-12T04:15:38.499Z] e16973657156: Pulling fs layer [2023-01-12T04:15:38.499Z] fc693d55d65f: Pulling fs layer [2023-01-12T04:15:38.499Z] 7e9fc2657dce: Pulling fs layer [2023-01-12T04:15:38.499Z] dda99020689f: Pulling fs layer [2023-01-12T04:15:38.499Z] db1c61fa0a46: Pulling fs layer [2023-01-12T04:15:38.499Z] 891c053d2c06: Pulling fs layer [2023-01-12T04:15:38.499Z] fc693d55d65f: Waiting [2023-01-12T04:15:38.499Z] 7e9fc2657dce: Waiting [2023-01-12T04:15:38.499Z] dda99020689f: Waiting [2023-01-12T04:15:38.499Z] db1c61fa0a46: Waiting [2023-01-12T04:15:38.499Z] 891c053d2c06: Waiting [2023-01-12T04:15:38.499Z] e16973657156: Download complete [2023-01-12T04:15:38.499Z] 35d82f9e3411: Verifying Checksum [2023-01-12T04:15:38.499Z] 35d82f9e3411: Download complete [2023-01-12T04:15:38.499Z] 7e9fc2657dce: Download complete [2023-01-12T04:15:38.499Z] dda99020689f: Verifying Checksum [2023-01-12T04:15:38.499Z] dda99020689f: Download complete [2023-01-12T04:15:38.499Z] 9b18e9b68314: Verifying Checksum [2023-01-12T04:15:38.499Z] 9b18e9b68314: Download complete [2023-01-12T04:15:39.474Z] 9b18e9b68314: Pull complete [2023-01-12T04:15:39.753Z] 891c053d2c06: Verifying Checksum [2023-01-12T04:15:39.753Z] 891c053d2c06: Download complete [2023-01-12T04:15:40.027Z] 35d82f9e3411: Pull complete [2023-01-12T04:15:40.617Z] e16973657156: Pull complete [2023-01-12T04:15:40.887Z] db1c61fa0a46: Verifying Checksum [2023-01-12T04:15:40.887Z] db1c61fa0a46: Download complete [2023-01-12T04:15:41.489Z] fc693d55d65f: Verifying Checksum [2023-01-12T04:15:41.489Z] fc693d55d65f: Download complete [2023-01-12T04:15:53.843Z] fc693d55d65f: Pull complete [2023-01-12T04:15:53.843Z] 7e9fc2657dce: Pull complete [2023-01-12T04:15:53.843Z] dda99020689f: Pull complete [2023-01-12T04:15:58.103Z] db1c61fa0a46: Pull complete [2023-01-12T04:16:00.053Z] 891c053d2c06: Pull complete [2023-01-12T04:16:00.053Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-12T04:16:00.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-12T04:16:00.053Z] ---> f96f9c87975a [2023-01-12T04:16:00.053Z] Step 3/10 : ARG MAKE=make build [2023-01-12T04:16:02.006Z] ---> Running in dba33b9bc496 [2023-01-12T04:16:02.275Z] Removing intermediate container dba33b9bc496 [2023-01-12T04:16:02.275Z] ---> ca0d6c27d8d5 [2023-01-12T04:16:02.275Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-12T04:16:02.275Z] ---> Running in 5376757b8620 [2023-01-12T04:16:02.869Z] Removing intermediate container 5376757b8620 [2023-01-12T04:16:02.869Z] ---> 2ebf223d4a17 [2023-01-12T04:16:02.869Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T04:16:02.869Z] ---> Running in fe02c2b34821 [2023-01-12T04:16:03.140Z] Removing intermediate container fe02c2b34821 [2023-01-12T04:16:03.140Z] ---> 3f96def25efb [2023-01-12T04:16:03.140Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-12T04:16:03.140Z] ---> Running in 1507959bc9ef [2023-01-12T04:16:04.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T04:16:04.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T04:16:05.797Z] OK: 221 MiB in 51 packages [2023-01-12T04:16:06.773Z] Removing intermediate container 1507959bc9ef [2023-01-12T04:16:06.773Z] ---> aece7a01c4fe [2023-01-12T04:16:06.773Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T04:16:07.049Z] ---> 735287de4274 [2023-01-12T04:16:07.049Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T04:16:07.327Z] ---> Running in d4e7f7f10ff7 [2023-01-12T04:17:15.254Z] Removing intermediate container d4e7f7f10ff7 [2023-01-12T04:17:15.254Z] ---> b7e629e4185e [2023-01-12T04:17:15.254Z] Step 9/10 : COPY . . [2023-01-12T04:17:15.254Z] ---> 7d347d3eb686 [2023-01-12T04:17:15.254Z] Step 10/10 : RUN ${MAKE} [2023-01-12T04:17:15.254Z] ---> Running in c773a1775dff [2023-01-12T04:17:15.254Z] noop [2023-01-12T04:17:15.254Z] Removing intermediate container c773a1775dff [2023-01-12T04:17:15.254Z] ---> 13883c5ec448 [2023-01-12T04:17:15.254Z] Successfully built 13883c5ec448 [2023-01-12T04:17:15.254Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:17:15.721Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T04:17:15.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:17:16.000Z] prd-ubuntu20.04-docker-arm64-4c-16g-2018 does not seem to be running inside a container [2023-01-12T04:17:16.067Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-12T04:17:18.528Z] $ docker top 5465ebfba9803d15c2397a3faac7736241e5d822950a47dfa9c8f0700b182c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T04:17:19.430Z] + go version [2023-01-12T04:17:19.431Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-12T04:17:19.468Z] $ docker stop --time=1 5465ebfba9803d15c2397a3faac7736241e5d822950a47dfa9c8f0700b182c0f [2023-01-12T04:17:21.102Z] $ docker rm -f --volumes 5465ebfba9803d15c2397a3faac7736241e5d822950a47dfa9c8f0700b182c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:17:21.971Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T04:17:21.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:17:22.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-2018 does not seem to be running inside a container [2023-01-12T04:17:22.315Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-12T04:17:23.543Z] $ docker top e95d77a361859f428b01dc57688e52ffc5d0e19b6d66ffc3ad068f893d5e31ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T04:17:24.475Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-12T04:17:25.189Z] + make test [2023-01-12T04:17:25.189Z] go test -race -coverprofile=coverage.out ./... [2023-01-12T04:18:04.097Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-12T04:19:55.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-12T04:19:55.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-12T04:19:55.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-12T04:19:55.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-12T04:19:55.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-12T04:19:57.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.328s coverage: 27.6% of statements [2023-01-12T04:19:58.765Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.340s coverage: 78.9% of statements [2023-01-12T04:19:58.765Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-12T04:20:04.124Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 73.6% of statements [2023-01-12T04:20:04.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-12T04:20:04.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-12T04:20:07.514Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.557s coverage: 54.4% of statements [2023-01-12T04:20:07.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-12T04:20:07.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-12T04:20:07.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-12T04:20:07.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-12T04:20:07.514Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 65.1% of statements [2023-01-12T04:20:07.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-12T04:20:07.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-12T04:20:07.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.309s coverage: 89.2% of statements [2023-01-12T04:20:07.782Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-12T04:20:07.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.308s coverage: 4.6% of statements [2023-01-12T04:20:07.782Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-12T04:20:08.762Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-12T04:20:08.762Z] GO111MODULE=on go vet ./... [2023-01-12T04:21:45.422Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T04:21:45.422Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T04:21:45.422Z] ./bin/test-attribution-txt.sh [2023-01-12T04:21:45.422Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-12T04:21:45.422Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-12T04:21:45.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T04:21:45.487Z] $ docker stop --time=1 e95d77a361859f428b01dc57688e52ffc5d0e19b6d66ffc3ad068f893d5e31ea [2023-01-12T04:21:47.379Z] $ docker rm -f --volumes e95d77a361859f428b01dc57688e52ffc5d0e19b6d66ffc3ad068f893d5e31ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T04:21:48.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T04:21:48.974Z] Warning: overwriting stash ‘coverage-report’ [2023-01-12T04:21:49.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T04:21:50.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T04:21:50.538Z] + ls -al . [2023-01-12T04:21:50.538Z] total 268 [2023-01-12T04:21:50.538Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 04:17 . [2023-01-12T04:21:50.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:08 .. [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 04:08 .dockerignore [2023-01-12T04:21:50.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 04:08 .git [2023-01-12T04:21:50.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:08 .github [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 04:08 .gitignore [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 04:08 .golangci.yml [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 04:08 CHANGELOG.md [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 04:08 GOVERNANCE.md [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 04:08 Jenkinsfile [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 04:08 LICENSE [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 04:08 Makefile [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 04:08 OWNERS.md [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 04:08 README.md [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 04:04 VERSION [2023-01-12T04:21:50.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:08 bin [2023-01-12T04:21:50.538Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 04:20 coverage.out [2023-01-12T04:21:50.538Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 04:08 example [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 3306 Jan 12 04:08 go.mod [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 34394 Jan 12 04:08 go.sum [2023-01-12T04:21:50.538Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 04:08 internal [2023-01-12T04:21:50.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 04:08 openapi [2023-01-12T04:21:50.538Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 04:08 pkg [2023-01-12T04:21:50.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:08 snap [2023-01-12T04:21:50.538Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:21:50.959Z] + 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=354cc457f5dd00fbae84271aae46902a9bf4a6e1 --label arch=arm64 --label version=0.0.0 . [2023-01-12T04:21:51.549Z] Sending build context to Docker daemon 5.709MB [2023-01-12T04:21:51.549Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T04:21:51.549Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-12T04:21:51.549Z] ---> 13883c5ec448 [2023-01-12T04:21:51.549Z] Step 3/23 : ARG MAKE=make build [2023-01-12T04:21:51.549Z] ---> Running in 8a30c70a7335 [2023-01-12T04:21:51.821Z] Removing intermediate container 8a30c70a7335 [2023-01-12T04:21:51.822Z] ---> c08d0a412581 [2023-01-12T04:21:51.822Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-12T04:21:52.094Z] ---> Running in f076ffc148f2 [2023-01-12T04:21:52.365Z] Removing intermediate container f076ffc148f2 [2023-01-12T04:21:52.365Z] ---> 997d4dd447aa [2023-01-12T04:21:52.365Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T04:21:52.365Z] ---> Running in 5567efb57b20 [2023-01-12T04:21:52.633Z] Removing intermediate container 5567efb57b20 [2023-01-12T04:21:52.633Z] ---> 6eaed41edfb7 [2023-01-12T04:21:52.633Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-12T04:21:52.903Z] ---> Running in 747b233ab1c4 [2023-01-12T04:21:53.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T04:21:54.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T04:21:55.651Z] OK: 221 MiB in 51 packages [2023-01-12T04:21:56.259Z] Removing intermediate container 747b233ab1c4 [2023-01-12T04:21:56.259Z] ---> fc52dc04ad4c [2023-01-12T04:21:56.259Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-12T04:21:56.858Z] ---> ef4abb53ae79 [2023-01-12T04:21:56.858Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T04:21:57.128Z] ---> Running in 8277dca44021 [2023-01-12T04:21:59.720Z] Removing intermediate container 8277dca44021 [2023-01-12T04:21:59.720Z] ---> 149b72f3ca1c [2023-01-12T04:21:59.720Z] Step 9/23 : COPY . . [2023-01-12T04:22:01.142Z] ---> 7f03d73c0dc0 [2023-01-12T04:22:01.142Z] Step 10/23 : RUN ${MAKE} [2023-01-12T04:22:01.142Z] ---> Running in 09bbb10d3df5 [2023-01-12T04:22:02.106Z] 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-01-12T04:24:23.827Z] Removing intermediate container 09bbb10d3df5 [2023-01-12T04:24:23.827Z] ---> e7e12bd5af43 [2023-01-12T04:24:23.827Z] Step 11/23 : FROM alpine:3.16 [2023-01-12T04:24:23.827Z] 3.16: Pulling from library/alpine [2023-01-12T04:24:23.827Z] 6875df1f5354: Pulling fs layer [2023-01-12T04:24:23.827Z] 6875df1f5354: Verifying Checksum [2023-01-12T04:24:23.827Z] 6875df1f5354: Download complete [2023-01-12T04:24:23.827Z] 6875df1f5354: Pull complete [2023-01-12T04:24:23.827Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-12T04:24:23.827Z] Status: Downloaded newer image for alpine:3.16 [2023-01-12T04:24:23.827Z] ---> 2b4661558fb8 [2023-01-12T04:24:23.827Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-12T04:24:23.827Z] ---> Running in 54c35d77dbb1 [2023-01-12T04:24:23.827Z] Removing intermediate container 54c35d77dbb1 [2023-01-12T04:24:23.827Z] ---> c5dfb7f099e4 [2023-01-12T04:24:23.827Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-12T04:24:23.827Z] ---> Running in 4bdf2088feaf [2023-01-12T04:24:23.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T04:24:23.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T04:24:23.827Z] OK: 5 MiB in 14 packages [2023-01-12T04:24:23.827Z] Removing intermediate container 4bdf2088feaf [2023-01-12T04:24:23.827Z] ---> e76e4db4df08 [2023-01-12T04:24:23.827Z] Step 14/23 : WORKDIR / [2023-01-12T04:24:23.827Z] ---> Running in f06b576ed378 [2023-01-12T04:24:23.827Z] Removing intermediate container f06b576ed378 [2023-01-12T04:24:23.827Z] ---> 8d805236a805 [2023-01-12T04:24:23.827Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-12T04:24:23.827Z] ---> 339902011427 [2023-01-12T04:24:23.827Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-12T04:24:23.827Z] ---> 5c7c102599f6 [2023-01-12T04:24:23.827Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-12T04:24:23.827Z] ---> a64ba41bf08f [2023-01-12T04:24:23.827Z] Step 18/23 : EXPOSE 59999 [2023-01-12T04:24:23.827Z] ---> Running in f1731ad33c81 [2023-01-12T04:24:23.827Z] Removing intermediate container f1731ad33c81 [2023-01-12T04:24:23.827Z] ---> 1f1664e9ecef [2023-01-12T04:24:23.827Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-12T04:24:23.827Z] ---> Running in e2dcaea9ccd8 [2023-01-12T04:24:23.827Z] Removing intermediate container e2dcaea9ccd8 [2023-01-12T04:24:23.827Z] ---> 09bcdb64c113 [2023-01-12T04:24:23.827Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-12T04:24:23.827Z] ---> Running in 0c10888e310c [2023-01-12T04:24:23.827Z] Removing intermediate container 0c10888e310c [2023-01-12T04:24:23.827Z] ---> 64703a70fa36 [2023-01-12T04:24:23.827Z] Step 21/23 : LABEL arch=arm64 [2023-01-12T04:24:23.827Z] ---> Running in 49795093f953 [2023-01-12T04:24:23.827Z] Removing intermediate container 49795093f953 [2023-01-12T04:24:23.827Z] ---> 48e545d56eb5 [2023-01-12T04:24:23.827Z] Step 22/23 : LABEL git_sha=354cc457f5dd00fbae84271aae46902a9bf4a6e1 [2023-01-12T04:24:23.827Z] ---> Running in e77e62f0c383 [2023-01-12T04:24:23.827Z] Removing intermediate container e77e62f0c383 [2023-01-12T04:24:23.827Z] ---> 3e29a79440be [2023-01-12T04:24:23.827Z] Step 23/23 : LABEL version=0.0.0 [2023-01-12T04:24:23.827Z] ---> Running in 7b8c16160419 [2023-01-12T04:24:23.827Z] Removing intermediate container 7b8c16160419 [2023-01-12T04:24:23.827Z] ---> 57c1d00ae240 [2023-01-12T04:24:23.827Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T04:24:23.827Z] Successfully built 57c1d00ae240 [2023-01-12T04:24:23.827Z] 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-01-12T04:24:24.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T04:24:24.647Z] [2023-01-12T04:24:24.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:24:25.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T04:24:27.655Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-12T04:24:27.655Z] 8998bd30e6a1: Pulling fs layer [2023-01-12T04:24:27.655Z] 04944245beec: Pulling fs layer [2023-01-12T04:24:27.655Z] 699f458cf7ca: Pulling fs layer [2023-01-12T04:24:27.655Z] 765212b225bb: Pulling fs layer [2023-01-12T04:24:27.655Z] f23df028b6ca: Pulling fs layer [2023-01-12T04:24:27.655Z] d65c8cfc05b1: Pulling fs layer [2023-01-12T04:24:27.655Z] 2437ff75d9bd: Pulling fs layer [2023-01-12T04:24:27.655Z] 765212b225bb: Waiting [2023-01-12T04:24:27.655Z] f23df028b6ca: Waiting [2023-01-12T04:24:27.655Z] d65c8cfc05b1: Waiting [2023-01-12T04:24:27.655Z] 2437ff75d9bd: Waiting [2023-01-12T04:24:27.655Z] 04944245beec: Verifying Checksum [2023-01-12T04:24:27.655Z] 04944245beec: Download complete [2023-01-12T04:24:27.655Z] 765212b225bb: Verifying Checksum [2023-01-12T04:24:27.655Z] 765212b225bb: Download complete [2023-01-12T04:24:27.924Z] f23df028b6ca: Verifying Checksum [2023-01-12T04:24:27.924Z] f23df028b6ca: Download complete [2023-01-12T04:24:27.924Z] d65c8cfc05b1: Verifying Checksum [2023-01-12T04:24:27.924Z] d65c8cfc05b1: Download complete [2023-01-12T04:24:27.924Z] 699f458cf7ca: Download complete [2023-01-12T04:24:28.533Z] 8998bd30e6a1: Download complete [2023-01-12T04:24:31.139Z] 2437ff75d9bd: Download complete [2023-01-12T04:24:32.553Z] 8998bd30e6a1: Pull complete [2023-01-12T04:24:33.139Z] 04944245beec: Pull complete [2023-01-12T04:24:34.553Z] 699f458cf7ca: Pull complete [2023-01-12T04:24:34.823Z] 765212b225bb: Pull complete [2023-01-12T04:24:35.786Z] f23df028b6ca: Pull complete [2023-01-12T04:24:35.786Z] d65c8cfc05b1: Pull complete [2023-01-12T04:24:50.804Z] 2437ff75d9bd: Pull complete [2023-01-12T04:24:50.804Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-12T04:24:50.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T04:24:50.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:24:51.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-2018 does not seem to be running inside a container [2023-01-12T04:24:51.223Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-12T04:24:53.958Z] $ docker top 1f0646cc957f467d0cc68b5d877a3eaf52c6b4a700bbb3f4ef566a2508e666b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:24:54.884Z] ---> job-cost.sh [2023-01-12T04:24:54.884Z] lf-activate-venv: SKIPPING [2023-01-12T04:24:54.884Z] INFO: No Stack... [2023-01-12T04:24:55.152Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-12T04:24:56.110Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T04:24:56.454Z] + cut -d, -f6 [2023-01-12T04:24:56.455Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-01-12T04:24:56.777Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [2023-01-12T04:24:56.782Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] did not exist. Created. [2023-01-12T04:24:56.783Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T04:24:57.195Z] /w/workspace/device-sdk-go/1@tmp/durable-324d7ce4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-12T04:24:57.874Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-12T04:24:57.910Z] Warning: overwriting stash ‘stack-cost’ [2023-01-12T04:24:57.987Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T04:24:58.003Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T04:24:58.077Z] $ docker stop --time=1 1f0646cc957f467d0cc68b5d877a3eaf52c6b4a700bbb3f4ef566a2508e666b7 [2023-01-12T04:24:59.541Z] $ docker rm -f --volumes 1f0646cc957f467d0cc68b5d877a3eaf52c6b4a700bbb3f4ef566a2508e666b7 [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-01-12T04:25:00.646Z] provisioning config files... [2023-01-12T04:25:00.653Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config15189781510291073986tmp [Pipeline] { [Pipeline] sh [2023-01-12T04:25:00.998Z] + set +x [2023-01-12T04:25:00.998Z] + curl -s https://codecov.io/bash [2023-01-12T04:25:00.998Z] + bash -s -- [2023-01-12T04:25:00.998Z] [2023-01-12T04:25:00.998Z] _____ _ [2023-01-12T04:25:00.998Z] / ____| | | [2023-01-12T04:25:00.998Z] | | ___ __| | ___ ___ _____ __ [2023-01-12T04:25:00.998Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-12T04:25:00.998Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-12T04:25:00.998Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-12T04:25:00.998Z] Bash-1.0.6 [2023-01-12T04:25:00.998Z] [2023-01-12T04:25:00.998Z] [2023-01-12T04:25:00.998Z] ==> git version 2.25.1 found [2023-01-12T04:25:00.998Z] ==> 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-01-12T04:25:00.998Z] Release-Date: 2020-01-08 [2023-01-12T04:25:00.998Z] 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-01-12T04:25:00.998Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-12T04:25:00.998Z] ==> Jenkins CI detected. [2023-01-12T04:25:00.998Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1278 [2023-01-12T04:25:00.998Z] project root: . [2023-01-12T04:25:00.998Z] --> token set from env [2023-01-12T04:25:00.998Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-12T04:25:00.998Z] ==> Running gcov in . (disable via -X gcov) [2023-01-12T04:25:00.998Z] ==> Python coveragepy not found [2023-01-12T04:25:00.998Z] ==> Searching for coverage reports in: [2023-01-12T04:25:00.998Z] + . [2023-01-12T04:25:00.998Z] -> Found 1 reports [2023-01-12T04:25:00.998Z] ==> Detecting git/mercurial file structure [2023-01-12T04:25:00.998Z] ==> Reading reports [2023-01-12T04:25:00.998Z] + ./coverage.out bytes=101913 [2023-01-12T04:25:00.998Z] ==> Appending adjustments [2023-01-12T04:25:00.998Z] https://docs.codecov.io/docs/fixing-reports [2023-01-12T04:25:01.565Z] + Found adjustments [2023-01-12T04:25:01.565Z] ==> Gzipping contents [2023-01-12T04:25:01.565Z] 16K /tmp/codecov.ArJ0jK.gz [2023-01-12T04:25:01.565Z] ==> Uploading reports [2023-01-12T04:25:01.565Z] url: https://codecov.io [2023-01-12T04:25:01.565Z] query: branch=PR-1278&commit=354cc457f5dd00fbae84271aae46902a9bf4a6e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1278%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1278&job=&cmd_args= [2023-01-12T04:25:01.565Z] -> Pinging Codecov [2023-01-12T04:25:01.565Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1278&commit=354cc457f5dd00fbae84271aae46902a9bf4a6e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1278%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1278&job=&cmd_args= [2023-01-12T04:25:01.827Z] -> Uploading to [2023-01-12T04:25:01.827Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-12/7E55EF52A471D76F132DFD9A03CDDE97/354cc457f5dd00fbae84271aae46902a9bf4a6e1/ba514393-4760-476e-aba0-b9fefbb6c013.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T042501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8360fa0d06b295a1fa6946b9a59eea5f36b27a47294575319f83cfd8c834446 [2023-01-12T04:25:01.827Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T04:25:01.827Z] Dload Upload Total Spent Left Speed [2023-01-12T04:25:02.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14809 0 0 100 14809 0 65817 --:--:-- --:--:-- --:--:-- 65817 [2023-01-12T04:25:02.086Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] } [2023-01-12T04:25:02.113Z] 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-01-12T04:25:03.829Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives ] [2023-01-12T04:25:03.829Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives [2023-01-12T04:25:03.829Z] total 16 [2023-01-12T04:25:03.829Z] drwxr-xr-x 3 root root 4096 Jan 12 04:05 . [2023-01-12T04:25:03.829Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 04:05 .. [2023-01-12T04:25:03.829Z] drwxr-xr-x 2 root root 4096 Jan 12 04:05 cost [2023-01-12T04:25:03.829Z] -rw-r--r-- 1 root root 86 Jan 12 04:05 cost.csv [2023-01-12T04:25:03.829Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives [2023-01-12T04:25:03.829Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives [2023-01-12T04:25:03.829Z] total 16 [2023-01-12T04:25:03.829Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 04:05 . [2023-01-12T04:25:03.829Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 04:05 .. [2023-01-12T04:25:03.829Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 04:05 cost [2023-01-12T04:25:03.829Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 12 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:04.157Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:05.056Z] ---> package-listing.sh [2023-01-12T04:25:05.056Z] ++ facter osfamily [2023-01-12T04:25:05.056Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-12T04:25:05.315Z] + OS_FAMILY=debian [2023-01-12T04:25:05.315Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1278 [2023-01-12T04:25:05.315Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-12T04:25:05.315Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-12T04:25:05.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-12T04:25:05.315Z] + PACKAGES=/tmp/packages_start.txt [2023-01-12T04:25:05.315Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1278 ']' [2023-01-12T04:25:05.315Z] + PACKAGES=/tmp/packages_end.txt [2023-01-12T04:25:05.315Z] + case "${OS_FAMILY}" in [2023-01-12T04:25:05.315Z] + dpkg -l [2023-01-12T04:25:05.315Z] + grep '^ii' [2023-01-12T04:25:05.315Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-12T04:25:05.315Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-12T04:25:05.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-12T04:25:05.315Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1278 ']' [2023-01-12T04:25:05.315Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives/ [2023-01-12T04:25:05.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives/ [Pipeline] echo [2023-01-12T04:25:05.349Z] 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-1278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-12T04:25:05.639Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T04:25:06.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T04:25:06.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T04:25:06.412Z] prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container [2023-01-12T04:25:06.430Z] $ 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-1278/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-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-12T04:25:06.610Z] $ docker top 7ca9e8b90b40db7413fb2783e5ada83a3ae7563216dfb55805c68c0894c3e557 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T04:25:07.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-12T04:25:07.314Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-12T04:25:07.621Z] + ls /var/log/sa-host [2023-01-12T04:25:07.621Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T04:25:07.841Z] provisioning config files... [2023-01-12T04:25:07.851Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config3724920606873498147tmp [Pipeline] { [Pipeline] echo [2023-01-12T04:25:07.907Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:08.218Z] ---> create-netrc.sh [Pipeline] } [2023-01-12T04:25:08.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:08.778Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-12T04:25:08.816Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:09.128Z] ---> sudo-logs.sh [2023-01-12T04:25:09.128Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-12T04:25:09.215Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:09.523Z] ---> job-cost.sh [2023-01-12T04:25:09.523Z] lf-activate-venv: SKIPPING [2023-01-12T04:25:09.523Z] DEBUG: total: 0.2199999988079071 [2023-01-12T04:25:09.523Z] INFO: Retrieving Stack Cost... [2023-01-12T04:25:10.090Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T04:25:10.349Z] INFO: Archiving Costs [Pipeline] echo [2023-01-12T04:25:10.416Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T04:25:10.730Z] ---> logs-deploy.sh [2023-01-12T04:25:10.730Z] lf-activate-venv: SKIPPING [2023-01-12T04:25:10.730Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1278/1 [2023-01-12T04:25:10.730Z] INFO: archiving workspace using pattern(s): [2023-01-12T04:25:11.667Z] Archives upload complete. [2023-01-12T04:25:11.926Z] INFO: archiving logs to Nexus