Pull request #1153 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bf403115b7066cefafd348c84461fd27d8f64fc+a64f10ec129da673bd1db63a6bd52868e2c80f4f (ffb4044260fff401c7c7ae3e6bd82627f73f1eaa) 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-ssh16516408230713017281.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh12336576608944075070.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1153/workspace@libs/edgex-global-pipelines # 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-1153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3147108946028201600.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-1153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17808164545300055847.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh14225740691263387082.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1153/workspace@libs/lf-pipelines # 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-1153/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1350710377449625055.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-34397 in /w/workspace/gexfoundry_device-sdk-go_PR-1153 [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-1153 # 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 a64f10ec129da673bd1db63a6bd52868e2c80f4f into PR head commit 3bf403115b7066cefafd348c84461fd27d8f64fc Merge succeeded, producing 3bf403115b7066cefafd348c84461fd27d8f64fc Checking out Revision 3bf403115b7066cefafd348c84461fd27d8f64fc (PR-1153) > 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/1153/head:refs/remotes/origin/PR-1153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bf403115b7066cefafd348c84461fd27d8f64fc # 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 a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bf403115b7066cefafd348c84461fd27d8f64fc # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-02T04:04:27.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-02T04:04:27.558Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-02T04:04:27.660Z] ========================================================= [2022-05-02T04:04:27.660Z] EdgeX Global Pipelines Version Info [2022-05-02T04:04:27.660Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:04:28.837Z] ------------------- [2022-05-02T04:04:28.838Z] stable info: [2022-05-02T04:04:28.838Z] ------------------- [2022-05-02T04:04:28.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-02T04:04:28.838Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T04:04:28.838Z] Message: update stable to v1.0.227 [2022-05-02T04:04:29.099Z] ------------------- [2022-05-02T04:04:29.099Z] experimental info: [2022-05-02T04:04:29.099Z] ------------------- [2022-05-02T04:04:29.099Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-02T04:04:29.099Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T04:04:29.099Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-02T04:04:29.379Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-02T04:04:29.420Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-02T04:04:29.462Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-02T04:04:29.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-02T04:04:29.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-02T04:04:29.585Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-02T04:04:29.625Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-02T04:04:29.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-02T04:04:29.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-02T04:04:29.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-02T04:04:29.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-02T04:04:29.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-02T04:04:29.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-02T04:04:29.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-02T04:04:29.953Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T04:04:29.990Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T04:04:30.032Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T04:04:30.071Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T04:04:30.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-02T04:04:30.155Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-02T04:04:30.201Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-02T04:04:30.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-02T04:04:30.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-02T04:04:30.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-02T04:04:30.374Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-02T04:04:30.419Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-02T04:04:30.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1153 [Pipeline] echo [2022-05-02T04:04:30.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1153 [Pipeline] echo [2022-05-02T04:04:30.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1153 [Pipeline] echo [2022-05-02T04:04:30.561Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bf403115b7066cefafd348c84461fd27d8f64fc [Pipeline] echo [2022-05-02T04:04:30.597Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bf4031 [Pipeline] echo [2022-05-02T04:04:30.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T04:04:30.737Z] provisioning config files... [2022-05-02T04:04:30.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config1271009413413810399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:04:31.103Z] ---> docker-login.sh [2022-05-02T04:04:31.104Z] nexus3.edgexfoundry.org:10001 [2022-05-02T04:04:31.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:31.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:31.367Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:31.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:31.367Z] [2022-05-02T04:04:31.367Z] Login Succeeded [2022-05-02T04:04:31.367Z] nexus3.edgexfoundry.org:10002 [2022-05-02T04:04:31.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:31.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:31.631Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:31.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:31.631Z] [2022-05-02T04:04:31.631Z] Login Succeeded [2022-05-02T04:04:31.631Z] nexus3.edgexfoundry.org:10003 [2022-05-02T04:04:31.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:31.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:31.892Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:31.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:31.892Z] [2022-05-02T04:04:31.892Z] Login Succeeded [2022-05-02T04:04:31.892Z] nexus3.edgexfoundry.org:10004 [2022-05-02T04:04:31.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:31.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:31.892Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:31.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:31.892Z] [2022-05-02T04:04:31.892Z] Login Succeeded [2022-05-02T04:04:31.892Z] docker.io [2022-05-02T04:04:31.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:32.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:32.466Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:32.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:32.466Z] [2022-05-02T04:04:32.466Z] Login Succeeded [2022-05-02T04:04:32.466Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T04:04:32.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-02T04:04:33.145Z] + git rev-list -1 --merges 3bf403115b7066cefafd348c84461fd27d8f64fc~1..3bf403115b7066cefafd348c84461fd27d8f64fc [Pipeline] echo [2022-05-02T04:04:33.180Z] -----------> git rev-list -1 --merges 3bf403115b7066cefafd348c84461fd27d8f64fc~1..3bf403115b7066cefafd348c84461fd27d8f64fc 3bf403115b7066cefafd348c84461fd27d8f64fc [false] [Pipeline] sh [2022-05-02T04:04:33.497Z] + git log --format=format:%s -1 3bf403115b7066cefafd348c84461fd27d8f64fc [Pipeline] echo [2022-05-02T04:04:33.536Z] ========================================================= [2022-05-02T04:04:33.536Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-02T04:04:33.536Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T04:04:33.967Z] + git log --format=format:%s -1 3bf403115b7066cefafd348c84461fd27d8f64fc [Pipeline] echo [2022-05-02T04:04:33.998Z] [semverPrep] GIT_COMMIT: 3bf403115b7066cefafd348c84461fd27d8f64fc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-05-02T04:04:34.026Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-02T04:04:34.497Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-02T04:04:34.497Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-02T04:04:34.497Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-02T04:04:34.497Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-02T04:04:34.497Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-02T04:04:34.497Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-02T04:04:34.497Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:04:34.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T04:04:34.949Z] [2022-05-02T04:04:34.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:04:35.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T04:04:35.349Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-02T04:04:35.349Z] 1fe172e4850f: Pulling fs layer [2022-05-02T04:04:35.349Z] caf521ccaac6: Pulling fs layer [2022-05-02T04:04:35.349Z] 3ead6fa29328: Pulling fs layer [2022-05-02T04:04:35.349Z] 5c2a1cbceb83: Pulling fs layer [2022-05-02T04:04:35.349Z] a8d5f1318db7: Pulling fs layer [2022-05-02T04:04:35.349Z] c427282e49a2: Pulling fs layer [2022-05-02T04:04:35.349Z] 1827001aaf11: Pulling fs layer [2022-05-02T04:04:35.349Z] 0714d37db230: Pulling fs layer [2022-05-02T04:04:35.349Z] ac28cf19c067: Pulling fs layer [2022-05-02T04:04:35.349Z] ca983d60f3e2: Pulling fs layer [2022-05-02T04:04:35.349Z] 9f894cec8388: Pulling fs layer [2022-05-02T04:04:35.349Z] 1827001aaf11: Waiting [2022-05-02T04:04:35.349Z] 0714d37db230: Waiting [2022-05-02T04:04:35.349Z] 5c2a1cbceb83: Waiting [2022-05-02T04:04:35.349Z] ac28cf19c067: Waiting [2022-05-02T04:04:35.349Z] 9f894cec8388: Waiting [2022-05-02T04:04:35.349Z] ca983d60f3e2: Waiting [2022-05-02T04:04:35.349Z] a8d5f1318db7: Waiting [2022-05-02T04:04:35.349Z] c427282e49a2: Waiting [2022-05-02T04:04:35.349Z] caf521ccaac6: Download complete [2022-05-02T04:04:35.349Z] 5c2a1cbceb83: Download complete [2022-05-02T04:04:35.611Z] a8d5f1318db7: Verifying Checksum [2022-05-02T04:04:35.611Z] a8d5f1318db7: Download complete [2022-05-02T04:04:35.611Z] c427282e49a2: Verifying Checksum [2022-05-02T04:04:35.611Z] c427282e49a2: Download complete [2022-05-02T04:04:35.611Z] 3ead6fa29328: Verifying Checksum [2022-05-02T04:04:35.611Z] 3ead6fa29328: Download complete [2022-05-02T04:04:35.611Z] 0714d37db230: Verifying Checksum [2022-05-02T04:04:35.611Z] 0714d37db230: Download complete [2022-05-02T04:04:35.611Z] ac28cf19c067: Verifying Checksum [2022-05-02T04:04:35.611Z] ac28cf19c067: Download complete [2022-05-02T04:04:35.611Z] ca983d60f3e2: Download complete [2022-05-02T04:04:35.611Z] 9f894cec8388: Verifying Checksum [2022-05-02T04:04:35.611Z] 9f894cec8388: Download complete [2022-05-02T04:04:35.611Z] 1fe172e4850f: Download complete [2022-05-02T04:04:35.871Z] 1827001aaf11: Verifying Checksum [2022-05-02T04:04:35.871Z] 1827001aaf11: Download complete [2022-05-02T04:04:37.262Z] 1fe172e4850f: Pull complete [2022-05-02T04:04:37.262Z] caf521ccaac6: Pull complete [2022-05-02T04:04:37.832Z] 3ead6fa29328: Pull complete [2022-05-02T04:04:37.832Z] 5c2a1cbceb83: Pull complete [2022-05-02T04:04:38.092Z] a8d5f1318db7: Pull complete [2022-05-02T04:04:38.092Z] c427282e49a2: Pull complete [2022-05-02T04:04:40.005Z] 1827001aaf11: Pull complete [2022-05-02T04:04:40.005Z] 0714d37db230: Pull complete [2022-05-02T04:04:40.266Z] ac28cf19c067: Pull complete [2022-05-02T04:04:40.266Z] ca983d60f3e2: Pull complete [2022-05-02T04:04:40.266Z] 9f894cec8388: Pull complete [2022-05-02T04:04:40.266Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-02T04:04:40.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T04:04:40.266Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-02T04:04:40.365Z] prd-ubuntu20.04-docker-8c-8g-34397 does not seem to be running inside a container [2022-05-02T04:04:40.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-02T04:04:41.698Z] $ docker top 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-02T04:04:41.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T04:04:41.896Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T04:04:42.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T04:04:42.034Z] $ docker exec 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 ssh-agent [2022-05-02T04:04:42.154Z] SSH_AUTH_SOCK=/tmp/ssh-cofAkdBwtb1s/agent.32 [2022-05-02T04:04:42.154Z] SSH_AGENT_PID=38 [2022-05-02T04:04:42.164Z] Running ssh-add (command line suppressed) [2022-05-02T04:04:42.279Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_4511701847433603134.key (/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_4511701847433603134.key) [2022-05-02T04:04:42.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T04:04:42.629Z] + git tag --points-at HEAD [Pipeline] } [2022-05-02T04:04:42.656Z] $ docker exec --env ******** --env ******** 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 ssh-agent -k [2022-05-02T04:04:42.762Z] unset SSH_AUTH_SOCK; [2022-05-02T04:04:42.762Z] unset SSH_AGENT_PID; [2022-05-02T04:04:42.762Z] echo Agent pid 38 killed; [2022-05-02T04:04:42.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-02T04:04:42.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T04:04:42.854Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T04:04:42.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T04:04:42.994Z] $ docker exec 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 ssh-agent [2022-05-02T04:04:43.128Z] SSH_AUTH_SOCK=/tmp/ssh-ymVAHNfZfVLS/agent.71 [2022-05-02T04:04:43.128Z] SSH_AGENT_PID=77 [2022-05-02T04:04:43.135Z] Running ssh-add (command line suppressed) [2022-05-02T04:04:43.248Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_2684951264241193250.key (/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_2684951264241193250.key) [2022-05-02T04:04:43.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T04:04:43.596Z] + git semver init [2022-05-02T04:04:43.860Z] 2022-05-02 04:04:43,841 [run_init] DEBUG init version:0.0.0 force:False [2022-05-02T04:04:43.860Z] 2022-05-02 04:04:43,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver [2022-05-02T04:04:43.860Z] 2022-05-02 04:04:43,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver [2022-05-02T04:04:43.860Z] 2022-05-02 04:04:43,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1153, universal_newlines=False, shell=None, istream=None) [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,682 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.git/info/exclude [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver/PR-1153 with force:False [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,683 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver/PR-1153 [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,687 [execute] INFO git cat-file --batch-check [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,694 [execute] INFO git cat-file --batch [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T04:04:44.801Z] 2022-05-02 04:04:44,700 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver/PR-1153 [2022-05-02T04:04:44.801Z] 0.0.0 [Pipeline] } [2022-05-02T04:04:44.995Z] $ docker exec --env ******** --env ******** 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 ssh-agent -k [2022-05-02T04:04:45.126Z] unset SSH_AUTH_SOCK; [2022-05-02T04:04:45.126Z] unset SSH_AGENT_PID; [2022-05-02T04:04:45.126Z] echo Agent pid 77 killed; [2022-05-02T04:04:45.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-02T04:04:45.562Z] + git semver [Pipeline] } [2022-05-02T04:04:45.851Z] $ docker stop --time=1 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 [2022-05-02T04:04:47.161Z] $ docker rm -f 5a19755b3636ef85def1f1ae32e066b643d273ff96830f0044d0283d5ef32142 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T04:04:47.559Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-02T04:04:47.841Z] Stashed 1 file(s) [Pipeline] echo [2022-05-02T04:04:47.859Z] [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 [2022-05-02T04:04:48.385Z] provisioning config files... [2022-05-02T04:04:48.395Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config7832729601128216327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:04:48.755Z] ---> docker-login.sh [2022-05-02T04:04:48.755Z] nexus3.edgexfoundry.org:10001 [2022-05-02T04:04:48.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:48.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:48.755Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:48.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:48.755Z] [2022-05-02T04:04:48.755Z] Login Succeeded [2022-05-02T04:04:48.755Z] nexus3.edgexfoundry.org:10002 [2022-05-02T04:04:48.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:49.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:49.015Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:49.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:49.015Z] [2022-05-02T04:04:49.015Z] Login Succeeded [2022-05-02T04:04:49.015Z] nexus3.edgexfoundry.org:10003 [2022-05-02T04:04:49.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:49.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:49.016Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:49.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:49.016Z] [2022-05-02T04:04:49.016Z] Login Succeeded [2022-05-02T04:04:49.016Z] nexus3.edgexfoundry.org:10004 [2022-05-02T04:04:49.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:49.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:49.276Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:49.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:49.276Z] [2022-05-02T04:04:49.276Z] Login Succeeded [2022-05-02T04:04:49.276Z] docker.io [2022-05-02T04:04:49.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:04:49.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:04:49.537Z] Configure a credential helper to remove this warning. See [2022-05-02T04:04:49.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:04:49.537Z] [2022-05-02T04:04:49.537Z] Login Succeeded [2022-05-02T04:04:49.537Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T04:04:49.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T04:04:49.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T04:04:49.804Z] ========================================================= [2022-05-02T04:04:49.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-02T04:04:49.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:04:50.215Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T04:04:50.215Z] Sending build context to Docker daemon 9.69MB [2022-05-02T04:04:50.215Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T04:04:50.215Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-02T04:04:50.215Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-02T04:04:50.215Z] 59bf1c3509f3: Pulling fs layer [2022-05-02T04:04:50.215Z] 666ba61612fd: Pulling fs layer [2022-05-02T04:04:50.215Z] 8ed8ca486205: Pulling fs layer [2022-05-02T04:04:50.215Z] 4fe6c5a15a65: Pulling fs layer [2022-05-02T04:04:50.215Z] 22a0e8bec74d: Pulling fs layer [2022-05-02T04:04:50.215Z] ca2b28591e48: Pulling fs layer [2022-05-02T04:04:50.215Z] a51346096db8: Pulling fs layer [2022-05-02T04:04:50.215Z] daebc70d1ce1: Pulling fs layer [2022-05-02T04:04:50.215Z] 0e18a0eac166: Pulling fs layer [2022-05-02T04:04:50.215Z] 4fe6c5a15a65: Waiting [2022-05-02T04:04:50.215Z] daebc70d1ce1: Waiting [2022-05-02T04:04:50.215Z] ca2b28591e48: Waiting [2022-05-02T04:04:50.215Z] a51346096db8: Waiting [2022-05-02T04:04:50.215Z] 0e18a0eac166: Waiting [2022-05-02T04:04:50.215Z] 22a0e8bec74d: Waiting [2022-05-02T04:04:50.474Z] 8ed8ca486205: Verifying Checksum [2022-05-02T04:04:50.474Z] 8ed8ca486205: Download complete [2022-05-02T04:04:50.474Z] 666ba61612fd: Download complete [2022-05-02T04:04:50.474Z] 22a0e8bec74d: Download complete [2022-05-02T04:04:50.474Z] ca2b28591e48: Download complete [2022-05-02T04:04:50.474Z] a51346096db8: Verifying Checksum [2022-05-02T04:04:50.474Z] a51346096db8: Download complete [2022-05-02T04:04:50.474Z] 59bf1c3509f3: Verifying Checksum [2022-05-02T04:04:50.474Z] daebc70d1ce1: Verifying Checksum [2022-05-02T04:04:50.474Z] daebc70d1ce1: Download complete [2022-05-02T04:04:50.474Z] 59bf1c3509f3: Pull complete [2022-05-02T04:04:50.735Z] 666ba61612fd: Pull complete [2022-05-02T04:04:50.735Z] 8ed8ca486205: Pull complete [2022-05-02T04:04:50.994Z] 0e18a0eac166: Download complete [2022-05-02T04:04:50.994Z] 4fe6c5a15a65: Download complete [2022-05-02T04:04:55.192Z] 4fe6c5a15a65: Pull complete [2022-05-02T04:04:55.192Z] 22a0e8bec74d: Pull complete [2022-05-02T04:04:55.192Z] ca2b28591e48: Pull complete [2022-05-02T04:04:55.192Z] a51346096db8: Pull complete [2022-05-02T04:04:55.192Z] daebc70d1ce1: Pull complete [2022-05-02T04:04:57.097Z] 0e18a0eac166: Pull complete [2022-05-02T04:04:57.097Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-02T04:04:57.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-02T04:04:57.097Z] ---> f018257e8ee9 [2022-05-02T04:04:57.097Z] Step 3/11 : ARG MAKE=make build [2022-05-02T04:04:58.496Z] ---> Running in 898cead3958c [2022-05-02T04:04:58.496Z] Removing intermediate container 898cead3958c [2022-05-02T04:04:58.496Z] ---> 2df80cfb78fb [2022-05-02T04:04:58.496Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-02T04:04:58.496Z] ---> Running in 51db2f7ef129 [2022-05-02T04:04:58.496Z] Removing intermediate container 51db2f7ef129 [2022-05-02T04:04:58.496Z] ---> 13c4ee51247b [2022-05-02T04:04:58.496Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T04:04:58.758Z] ---> Running in d2fa5e509e21 [2022-05-02T04:04:58.758Z] Removing intermediate container d2fa5e509e21 [2022-05-02T04:04:58.758Z] ---> c683d56aad56 [2022-05-02T04:04:58.758Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T04:04:58.758Z] ---> Running in dfd86b73c4b8 [2022-05-02T04:04:59.328Z] Removing intermediate container dfd86b73c4b8 [2022-05-02T04:04:59.328Z] ---> 0790de2592a2 [2022-05-02T04:04:59.328Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T04:04:59.588Z] ---> Running in 0eb2ca0964fb [2022-05-02T04:04:59.849Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T04:05:00.788Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T04:05:01.060Z] OK: 221 MiB in 52 packages [2022-05-02T04:05:01.337Z] Removing intermediate container 0eb2ca0964fb [2022-05-02T04:05:01.337Z] ---> dddef1c370f1 [2022-05-02T04:05:01.337Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-02T04:05:01.337Z] ---> 60f9f3c374dd [2022-05-02T04:05:01.337Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T04:05:01.598Z] ---> Running in beab39ed72f7 [2022-05-02T04:05:03.222Z] Still waiting to schedule task [2022-05-02T04:05:03.222Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-02T04:05:16.498Z] Removing intermediate container beab39ed72f7 [2022-05-02T04:05:16.498Z] ---> b4d44599371a [2022-05-02T04:05:16.498Z] Step 10/11 : COPY . . [2022-05-02T04:05:16.498Z] ---> 447b28e5c816 [2022-05-02T04:05:16.498Z] Step 11/11 : RUN ${MAKE} [2022-05-02T04:05:16.498Z] ---> Running in 7005db9d937b [2022-05-02T04:05:16.498Z] noop [2022-05-02T04:05:16.498Z] Removing intermediate container 7005db9d937b [2022-05-02T04:05:16.498Z] ---> 201cd78f849b [2022-05-02T04:05:16.498Z] Successfully built 201cd78f849b [2022-05-02T04:05:16.498Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:05:16.834Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T04:05:16.834Z] . [Pipeline] withDockerContainer [2022-05-02T04:05:16.933Z] prd-ubuntu20.04-docker-8c-8g-34397 does not seem to be running inside a container [2022-05-02T04:05:16.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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 ******** ci-base-image-x86_64 cat [2022-05-02T04:05:17.374Z] $ docker top 82e41af5fcff3a11e28fce0e365e3f8a1a316a309e9bb1ec619b576ca250b12e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T04:05:17.791Z] + go version [2022-05-02T04:05:17.791Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-02T04:05:17.825Z] $ docker stop --time=1 82e41af5fcff3a11e28fce0e365e3f8a1a316a309e9bb1ec619b576ca250b12e [2022-05-02T04:05:19.118Z] $ docker rm -f 82e41af5fcff3a11e28fce0e365e3f8a1a316a309e9bb1ec619b576ca250b12e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:05:19.799Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T04:05:19.800Z] . [Pipeline] withDockerContainer [2022-05-02T04:05:19.893Z] prd-ubuntu20.04-docker-8c-8g-34397 does not seem to be running inside a container [2022-05-02T04:05:19.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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 ******** ci-base-image-x86_64 cat [2022-05-02T04:05:20.328Z] $ docker top 1a0f28a639b5b6389e78177734ab109557998c649958753999bb5dc609010e59 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T04:05:20.781Z] + make test [2022-05-02T04:05:20.781Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-02T04:05:26.064Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-02T04:05:38.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.092s coverage: 23.3% of statements [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-02T04:05:38.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-05-02T04:05:38.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-05-02T04:05:38.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements [2022-05-02T04:05:38.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 60.0% of statements [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-02T04:05:38.275Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements [2022-05-02T04:05:38.275Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-02T04:05:38.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 86.1% of statements [2022-05-02T04:05:38.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-02T04:05:38.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-02T04:05:38.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-05-02T04:05:38.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.793s coverage: 89.2% of statements [2022-05-02T04:05:38.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-02T04:05:38.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-02T04:05:38.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-02T04:05:53.739Z] GO111MODULE=on go vet ./... [2022-05-02T04:05:56.275Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T04:05:56.275Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T04:05:56.275Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T04:05:56.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T04:05:56.912Z] $ docker stop --time=1 1a0f28a639b5b6389e78177734ab109557998c649958753999bb5dc609010e59 [2022-05-02T04:05:59.092Z] $ docker rm -f 1a0f28a639b5b6389e78177734ab109557998c649958753999bb5dc609010e59 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T04:05:59.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T04:05:59.734Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-02T04:06:00.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T04:06:00.871Z] + ls -al . [2022-05-02T04:06:00.871Z] total 296 [2022-05-02T04:06:00.871Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 04:05 . [2022-05-02T04:06:00.871Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 04:04 .. [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 140 May 2 04:04 .dockerignore [2022-05-02T04:06:00.871Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 04:04 .git [2022-05-02T04:06:00.871Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 04:04 .github [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 131 May 2 04:04 .gitignore [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 42 May 2 04:04 .golangci.yml [2022-05-02T04:06:00.871Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 04:04 .semver [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 2 04:04 CHANGELOG.md [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 04:04 GOVERNANCE.md [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 880 May 2 04:04 Jenkinsfile [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 2 04:04 LICENSE [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 2 04:04 Makefile [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 619 May 2 04:04 OWNERS.md [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 2 04:04 README.md [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 04:04 VERSION [2022-05-02T04:06:00.871Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 04:04 bin [2022-05-02T04:06:00.871Z] -rw-r--r-- 1 jenkins jenkins 130818 May 2 04:05 coverage.out [2022-05-02T04:06:00.871Z] drwxrwxr-x 5 jenkins jenkins 4096 May 2 04:04 example [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 2 04:04 go.mod [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 34885 May 2 04:04 go.sum [2022-05-02T04:06:00.871Z] drwxrwxr-x 15 jenkins jenkins 4096 May 2 04:04 internal [2022-05-02T04:06:00.871Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 04:04 openapi [2022-05-02T04:06:00.871Z] drwxrwxr-x 5 jenkins jenkins 4096 May 2 04:04 pkg [2022-05-02T04:06:00.871Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 04:04 snap [2022-05-02T04:06:00.871Z] -rw-rw-r-- 1 jenkins jenkins 222 May 2 04:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:06:01.307Z] + 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=3bf403115b7066cefafd348c84461fd27d8f64fc --label arch=amd64 --label version=0.0.0 . [2022-05-02T04:06:01.307Z] Sending build context to Docker daemon 9.821MB [2022-05-02T04:06:01.307Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T04:06:01.307Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-02T04:06:01.307Z] ---> 201cd78f849b [2022-05-02T04:06:01.307Z] Step 3/25 : ARG MAKE=make build [2022-05-02T04:06:01.571Z] ---> Running in 097d2e45a7eb [2022-05-02T04:06:01.571Z] Removing intermediate container 097d2e45a7eb [2022-05-02T04:06:01.571Z] ---> 226990d975d3 [2022-05-02T04:06:01.571Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-02T04:06:01.571Z] ---> Running in d0eef7b2e8d8 [2022-05-02T04:06:01.571Z] Removing intermediate container d0eef7b2e8d8 [2022-05-02T04:06:01.571Z] ---> 8c2549fbcfeb [2022-05-02T04:06:01.571Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T04:06:01.831Z] ---> Running in 1558e0790f50 [2022-05-02T04:06:01.831Z] Removing intermediate container 1558e0790f50 [2022-05-02T04:06:01.831Z] ---> 2221b2981ca3 [2022-05-02T04:06:01.831Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T04:06:01.831Z] ---> Running in c8896137ce30 [2022-05-02T04:06:02.401Z] Removing intermediate container c8896137ce30 [2022-05-02T04:06:02.401Z] ---> 16a4aded899a [2022-05-02T04:06:02.401Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T04:06:02.401Z] ---> Running in 42903b452bb8 [2022-05-02T04:06:02.662Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T04:06:03.603Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T04:06:03.864Z] OK: 221 MiB in 52 packages [2022-05-02T04:06:04.129Z] Removing intermediate container 42903b452bb8 [2022-05-02T04:06:04.129Z] ---> 6bbdeaba5a37 [2022-05-02T04:06:04.129Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-02T04:06:04.388Z] ---> 3fa7e4c964b1 [2022-05-02T04:06:04.388Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T04:06:04.388Z] ---> Running in b05f4e53cac0 [2022-05-02T04:06:04.958Z] Removing intermediate container b05f4e53cac0 [2022-05-02T04:06:04.958Z] ---> 8a699baaa814 [2022-05-02T04:06:04.958Z] Step 10/25 : COPY . . [2022-05-02T04:06:05.528Z] ---> fe11d5acb7e7 [2022-05-02T04:06:05.528Z] Step 11/25 : RUN ${MAKE} [2022-05-02T04:06:05.528Z] ---> Running in 273383febadd [2022-05-02T04:06:05.789Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-02T04:06:23.899Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-02T04:06:24.468Z] Removing intermediate container 273383febadd [2022-05-02T04:06:24.468Z] ---> 7bd00718f431 [2022-05-02T04:06:24.468Z] Step 12/25 : FROM alpine:3.14 [2022-05-02T04:06:25.037Z] 3.14: Pulling from library/alpine [2022-05-02T04:06:25.296Z] 8663204ce13b: Pulling fs layer [2022-05-02T04:06:25.556Z] 8663204ce13b: Verifying Checksum [2022-05-02T04:06:25.556Z] 8663204ce13b: Download complete [2022-05-02T04:06:25.556Z] 8663204ce13b: Pull complete [2022-05-02T04:06:25.556Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T04:06:25.556Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T04:06:25.556Z] ---> e04c818066af [2022-05-02T04:06:25.556Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T04:06:25.817Z] ---> Running in 506f8a71d491 [2022-05-02T04:06:25.817Z] Removing intermediate container 506f8a71d491 [2022-05-02T04:06:25.817Z] ---> 932766b8735f [2022-05-02T04:06:25.817Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T04:06:25.817Z] ---> Running in 8cf2d03ad5bd [2022-05-02T04:06:26.388Z] Removing intermediate container 8cf2d03ad5bd [2022-05-02T04:06:26.388Z] ---> b6e4363e92be [2022-05-02T04:06:26.388Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-02T04:06:26.648Z] ---> Running in d3def7aca209 [2022-05-02T04:06:26.911Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-02T04:06:27.854Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-02T04:06:27.854Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T04:06:28.116Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-02T04:06:28.116Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T04:06:28.116Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-02T04:06:28.377Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-02T04:06:28.377Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T04:06:28.377Z] OK: 8 MiB in 19 packages [2022-05-02T04:06:28.955Z] Removing intermediate container d3def7aca209 [2022-05-02T04:06:28.955Z] ---> fbc137bf5ac4 [2022-05-02T04:06:28.955Z] Step 16/25 : WORKDIR / [2022-05-02T04:06:28.955Z] ---> Running in a1c7ee492da4 [2022-05-02T04:06:28.955Z] Removing intermediate container a1c7ee492da4 [2022-05-02T04:06:28.955Z] ---> e11c78012d41 [2022-05-02T04:06:28.955Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-02T04:06:29.214Z] ---> e44855e3f62f [2022-05-02T04:06:29.214Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-02T04:06:29.788Z] ---> 50a1a311e58d [2022-05-02T04:06:29.788Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-02T04:06:29.788Z] ---> dc0b161084db [2022-05-02T04:06:29.788Z] Step 20/25 : EXPOSE 59999 [2022-05-02T04:06:29.788Z] ---> Running in d655c71103c5 [2022-05-02T04:06:30.049Z] Removing intermediate container d655c71103c5 [2022-05-02T04:06:30.049Z] ---> f3308a05aefd [2022-05-02T04:06:30.049Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-02T04:06:30.049Z] ---> Running in d2c7f84706be [2022-05-02T04:06:30.049Z] Removing intermediate container d2c7f84706be [2022-05-02T04:06:30.049Z] ---> 873dad9dcd5f [2022-05-02T04:06:30.049Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-02T04:06:30.309Z] ---> Running in f2dfa85955c7 [2022-05-02T04:06:30.309Z] Removing intermediate container f2dfa85955c7 [2022-05-02T04:06:30.309Z] ---> 47eb53f80dce [2022-05-02T04:06:30.309Z] Step 23/25 : LABEL arch=amd64 [2022-05-02T04:06:30.309Z] ---> Running in 49cc810ac695 [2022-05-02T04:06:30.309Z] Removing intermediate container 49cc810ac695 [2022-05-02T04:06:30.309Z] ---> a74be9f9a208 [2022-05-02T04:06:30.309Z] Step 24/25 : LABEL git_sha=3bf403115b7066cefafd348c84461fd27d8f64fc [2022-05-02T04:06:30.570Z] ---> Running in 4750e42aca9e [2022-05-02T04:06:30.570Z] Removing intermediate container 4750e42aca9e [2022-05-02T04:06:30.570Z] ---> a50e1246ed82 [2022-05-02T04:06:30.570Z] Step 25/25 : LABEL version=0.0.0 [2022-05-02T04:06:30.570Z] ---> Running in 451fc86ae6ce [2022-05-02T04:06:30.832Z] Removing intermediate container 451fc86ae6ce [2022-05-02T04:06:30.832Z] ---> 18b92eb06507 [2022-05-02T04:06:30.832Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T04:06:30.832Z] Successfully built 18b92eb06507 [2022-05-02T04:06:30.832Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-05-02T04:06:31.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T04:06:31.607Z] [2022-05-02T04:06:31.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:06:31.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T04:06:31.951Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-02T04:06:31.951Z] 5eb5b503b376: Pulling fs layer [2022-05-02T04:06:31.951Z] 5c69ac0246d0: Pulling fs layer [2022-05-02T04:06:31.951Z] ec43610c2a17: Pulling fs layer [2022-05-02T04:06:31.951Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-02T04:06:31.951Z] 33b1e0a273af: Pulling fs layer [2022-05-02T04:06:31.951Z] 5d3b04190fa2: Pulling fs layer [2022-05-02T04:06:31.951Z] 2f39f015ded8: Pulling fs layer [2022-05-02T04:06:31.951Z] 33b1e0a273af: Waiting [2022-05-02T04:06:31.951Z] 5d3b04190fa2: Waiting [2022-05-02T04:06:31.951Z] 2f39f015ded8: Waiting [2022-05-02T04:06:31.951Z] 3a2ae6a8a46f: Waiting [2022-05-02T04:06:31.951Z] 5c69ac0246d0: Verifying Checksum [2022-05-02T04:06:31.951Z] 5c69ac0246d0: Download complete [2022-05-02T04:06:31.951Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-02T04:06:31.951Z] 3a2ae6a8a46f: Download complete [2022-05-02T04:06:31.951Z] 33b1e0a273af: Verifying Checksum [2022-05-02T04:06:31.951Z] 33b1e0a273af: Download complete [2022-05-02T04:06:31.951Z] 5d3b04190fa2: Download complete [2022-05-02T04:06:31.951Z] ec43610c2a17: Verifying Checksum [2022-05-02T04:06:31.951Z] ec43610c2a17: Download complete [2022-05-02T04:06:32.212Z] 5eb5b503b376: Verifying Checksum [2022-05-02T04:06:32.212Z] 5eb5b503b376: Download complete [2022-05-02T04:06:32.849Z] 2f39f015ded8: Download complete [2022-05-02T04:06:33.428Z] 5eb5b503b376: Pull complete [2022-05-02T04:06:33.428Z] 5c69ac0246d0: Pull complete [2022-05-02T04:06:33.996Z] ec43610c2a17: Pull complete [2022-05-02T04:06:33.997Z] 3a2ae6a8a46f: Pull complete [2022-05-02T04:06:34.257Z] 33b1e0a273af: Pull complete [2022-05-02T04:06:34.257Z] 5d3b04190fa2: Pull complete [2022-05-02T04:06:39.533Z] 2f39f015ded8: Pull complete [2022-05-02T04:06:39.533Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-02T04:06:39.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T04:06:39.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-02T04:06:39.642Z] prd-ubuntu20.04-docker-8c-8g-34397 does not seem to be running inside a container [2022-05-02T04:06:39.679Z] $ 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-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T04:06:40.241Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34404 in /w/workspace/gexfoundry_device-sdk-go_PR-1153 [2022-05-02T04:06:41.294Z] $ docker top 232cc375039fe5998360ff2da81706a3c6f0bd817d7c38e421a723a7d3a43f13 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-05-02T04:06:41.560Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-02T04:06:41.799Z] ---> job-cost.sh [2022-05-02T04:06:41.799Z] lf-activate-venv: SKIPPING [2022-05-02T04:06:41.799Z] INFO: No Stack... [2022-05-02T04:06:41.842Z] The recommended git tool is: git [2022-05-02T04:06:42.060Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T04:06:42.629Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T04:06:42.954Z] + cut -d, -f6 [2022-05-02T04:06:42.954Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives/cost.csv [Pipeline] lock [2022-05-02T04:06:42.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] [2022-05-02T04:06:43.004Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] did not exist. Created. [2022-05-02T04:06:43.004Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T04:06:43.402Z] + echo total: 0.6600000262260437 [Pipeline] stash [2022-05-02T04:06:43.455Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T04:06:43.484Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T04:06:43.564Z] $ docker stop --time=1 232cc375039fe5998360ff2da81706a3c6f0bd817d7c38e421a723a7d3a43f13 [2022-05-02T04:06:44.730Z] $ docker rm -f 232cc375039fe5998360ff2da81706a3c6f0bd817d7c38e421a723a7d3a43f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-02T04:06:47.519Z] using credential edgex-jenkins-ssh [2022-05-02T04:06:47.538Z] Cloning the remote Git repository [2022-05-02T04:06:47.589Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-02T04:06:47.751Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-02T04:06:47.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-02T04:06:47.893Z] > git --version # timeout=10 [2022-05-02T04:06:47.924Z] > git --version # 'git version 2.25.1' [2022-05-02T04:06:47.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T04:06:48.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T04:06:49.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-02T04:06:49.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T04:06:49.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-02T04:06:49.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-02T04:06:49.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T04:06:50.163Z] Merging remotes/origin/main commit a64f10ec129da673bd1db63a6bd52868e2c80f4f into PR head commit 3bf403115b7066cefafd348c84461fd27d8f64fc [2022-05-02T04:06:50.383Z] Merge succeeded, producing 3bf403115b7066cefafd348c84461fd27d8f64fc [2022-05-02T04:06:50.384Z] Checking out Revision 3bf403115b7066cefafd348c84461fd27d8f64fc (PR-1153) [2022-05-02T04:06:49.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1153/head:refs/remotes/origin/PR-1153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-02T04:06:50.181Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T04:06:50.196Z] > git checkout -f 3bf403115b7066cefafd348c84461fd27d8f64fc # timeout=10 [2022-05-02T04:06:50.300Z] > git remote # timeout=10 [2022-05-02T04:06:50.317Z] > git config --get remote.origin.url # timeout=10 [2022-05-02T04:06:50.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T04:06:50.342Z] > git merge a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 [2022-05-02T04:06:50.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-02T04:06:50.389Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T04:06:50.399Z] > git checkout -f 3bf403115b7066cefafd348c84461fd27d8f64fc # timeout=10 [2022-05-02T04:06:54.576Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-05-02T04:06:54.627Z] > git --version # timeout=10 [2022-05-02T04:06:54.637Z] > git --version # 'git version 2.25.1' [2022-05-02T04:06:54.648Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T04:06:55.766Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-02T04:06:55.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T04:06:55.766Z] Dload Upload Total Spent Left Speed [2022-05-02T04:06:55.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83992 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh [2022-05-02T04:06:56.297Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-02T04:06:56.709Z] + sudo tee /etc/docker/daemon.new [2022-05-02T04:06:56.710Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-02T04:06:56.710Z] { [2022-05-02T04:06:56.710Z] "registry-mirrors": [ [2022-05-02T04:06:56.710Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-02T04:06:56.710Z] ], [2022-05-02T04:06:56.710Z] "bip": "10.250.0.254/24", [2022-05-02T04:06:56.710Z] "hosts": [ [2022-05-02T04:06:56.710Z] "tcp://0.0.0.0:5555", [2022-05-02T04:06:56.710Z] "unix:///var/run/docker.sock" [2022-05-02T04:06:56.710Z] ], [2022-05-02T04:06:56.710Z] "mtu": 1458, [2022-05-02T04:06:56.710Z] "selinux-enabled": true, [2022-05-02T04:06:56.710Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-02T04:06:56.710Z] } [Pipeline] sh [2022-05-02T04:06:57.103Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-02T04:06:57.466Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T04:07:15.842Z] provisioning config files... [2022-05-02T04:07:15.865Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4163672425031932120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:07:16.449Z] ---> docker-login.sh [2022-05-02T04:07:16.449Z] nexus3.edgexfoundry.org:10001 [2022-05-02T04:07:17.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:07:17.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:07:17.327Z] Configure a credential helper to remove this warning. See [2022-05-02T04:07:17.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:07:17.327Z] [2022-05-02T04:07:17.327Z] Login Succeeded [2022-05-02T04:07:17.327Z] nexus3.edgexfoundry.org:10002 [2022-05-02T04:07:17.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:07:17.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:07:17.601Z] Configure a credential helper to remove this warning. See [2022-05-02T04:07:17.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:07:17.601Z] [2022-05-02T04:07:17.601Z] Login Succeeded [2022-05-02T04:07:17.601Z] nexus3.edgexfoundry.org:10003 [2022-05-02T04:07:18.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:07:18.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:07:18.205Z] Configure a credential helper to remove this warning. See [2022-05-02T04:07:18.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:07:18.205Z] [2022-05-02T04:07:18.205Z] Login Succeeded [2022-05-02T04:07:18.205Z] nexus3.edgexfoundry.org:10004 [2022-05-02T04:07:18.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:07:18.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:07:18.749Z] Configure a credential helper to remove this warning. See [2022-05-02T04:07:18.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:07:18.749Z] [2022-05-02T04:07:18.749Z] Login Succeeded [2022-05-02T04:07:18.749Z] docker.io [2022-05-02T04:07:19.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T04:07:19.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T04:07:19.295Z] Configure a credential helper to remove this warning. See [2022-05-02T04:07:19.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T04:07:19.295Z] [2022-05-02T04:07:19.295Z] Login Succeeded [2022-05-02T04:07:19.295Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T04:07:19.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T04:07:19.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T04:07:19.732Z] ========================================================= [2022-05-02T04:07:19.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-02T04:07:19.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:07:20.179Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T04:07:20.453Z] Sending build context to Docker daemon 5.218MB [2022-05-02T04:07:20.453Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T04:07:20.453Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-02T04:07:20.730Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-02T04:07:20.730Z] 9b3977197b4f: Pulling fs layer [2022-05-02T04:07:20.730Z] 1a89e8eeedd5: Pulling fs layer [2022-05-02T04:07:20.730Z] 94645a83ff95: Pulling fs layer [2022-05-02T04:07:20.730Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-02T04:07:20.730Z] 0c92f367c5e7: Pulling fs layer [2022-05-02T04:07:20.730Z] 3096ccb668a1: Pulling fs layer [2022-05-02T04:07:20.730Z] e8cf19c19ddd: Pulling fs layer [2022-05-02T04:07:20.730Z] a4caa8a26152: Pulling fs layer [2022-05-02T04:07:20.730Z] 3f3a8bcf1eab: Waiting [2022-05-02T04:07:20.730Z] 0c92f367c5e7: Waiting [2022-05-02T04:07:20.730Z] 3096ccb668a1: Waiting [2022-05-02T04:07:20.730Z] a4caa8a26152: Waiting [2022-05-02T04:07:20.730Z] e8cf19c19ddd: Waiting [2022-05-02T04:07:20.730Z] 94645a83ff95: Verifying Checksum [2022-05-02T04:07:20.730Z] 94645a83ff95: Download complete [2022-05-02T04:07:20.730Z] 1a89e8eeedd5: Verifying Checksum [2022-05-02T04:07:20.730Z] 1a89e8eeedd5: Download complete [2022-05-02T04:07:20.730Z] 0c92f367c5e7: Verifying Checksum [2022-05-02T04:07:20.730Z] 0c92f367c5e7: Download complete [2022-05-02T04:07:20.730Z] 3096ccb668a1: Verifying Checksum [2022-05-02T04:07:20.730Z] 3096ccb668a1: Download complete [2022-05-02T04:07:20.730Z] 9b3977197b4f: Verifying Checksum [2022-05-02T04:07:20.730Z] 9b3977197b4f: Download complete [2022-05-02T04:07:20.730Z] e8cf19c19ddd: Verifying Checksum [2022-05-02T04:07:20.730Z] e8cf19c19ddd: Download complete [2022-05-02T04:07:21.716Z] 9b3977197b4f: Pull complete [2022-05-02T04:07:21.999Z] 1a89e8eeedd5: Pull complete [2022-05-02T04:07:22.600Z] 94645a83ff95: Pull complete [2022-05-02T04:07:22.878Z] a4caa8a26152: Verifying Checksum [2022-05-02T04:07:22.879Z] a4caa8a26152: Download complete [2022-05-02T04:07:23.482Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-02T04:07:23.482Z] 3f3a8bcf1eab: Download complete [2022-05-02T04:07:35.899Z] 3f3a8bcf1eab: Pull complete [2022-05-02T04:07:35.899Z] 0c92f367c5e7: Pull complete [2022-05-02T04:07:35.899Z] 3096ccb668a1: Pull complete [2022-05-02T04:07:35.899Z] e8cf19c19ddd: Pull complete [2022-05-02T04:07:42.629Z] a4caa8a26152: Pull complete [2022-05-02T04:07:42.629Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-02T04:07:42.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-02T04:07:42.629Z] ---> 725f1c02e7f9 [2022-05-02T04:07:42.629Z] Step 3/11 : ARG MAKE=make build [2022-05-02T04:07:42.922Z] ---> Running in 67751343e287 [2022-05-02T04:07:43.202Z] Removing intermediate container 67751343e287 [2022-05-02T04:07:43.202Z] ---> b2dc36c13369 [2022-05-02T04:07:43.202Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-02T04:07:43.477Z] ---> Running in 7ed5049edbdc [2022-05-02T04:07:43.751Z] Removing intermediate container 7ed5049edbdc [2022-05-02T04:07:43.751Z] ---> 2c527b2df6c4 [2022-05-02T04:07:43.751Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T04:07:43.751Z] ---> Running in 6d039d66d99e [2022-05-02T04:07:44.031Z] Removing intermediate container 6d039d66d99e [2022-05-02T04:07:44.031Z] ---> 2ca2aecea714 [2022-05-02T04:07:44.031Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T04:07:44.031Z] ---> Running in 8bc3044be943 [2022-05-02T04:07:46.023Z] Removing intermediate container 8bc3044be943 [2022-05-02T04:07:46.023Z] ---> 07c4a5743025 [2022-05-02T04:07:46.023Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T04:07:46.023Z] ---> Running in 242f1093fcbb [2022-05-02T04:07:48.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T04:07:48.993Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T04:07:49.592Z] OK: 220 MiB in 52 packages [2022-05-02T04:07:50.588Z] Removing intermediate container 242f1093fcbb [2022-05-02T04:07:50.588Z] ---> 5b17ab31e8b1 [2022-05-02T04:07:50.588Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-02T04:07:50.867Z] ---> 12c8eacc8327 [2022-05-02T04:07:50.867Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T04:07:51.145Z] ---> Running in 2237b298dd55 [2022-05-02T04:08:38.168Z] Removing intermediate container 2237b298dd55 [2022-05-02T04:08:38.168Z] ---> c154d6c55f1c [2022-05-02T04:08:38.168Z] Step 10/11 : COPY . . [2022-05-02T04:08:38.168Z] ---> 61ae81b94b2c [2022-05-02T04:08:38.168Z] Step 11/11 : RUN ${MAKE} [2022-05-02T04:08:38.168Z] ---> Running in 164f80ca75c0 [2022-05-02T04:08:38.168Z] noop [2022-05-02T04:08:38.168Z] Removing intermediate container 164f80ca75c0 [2022-05-02T04:08:38.168Z] ---> df6206e809cb [2022-05-02T04:08:38.168Z] Successfully built df6206e809cb [2022-05-02T04:08:38.168Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:08:38.549Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T04:08:38.549Z] . [Pipeline] withDockerContainer [2022-05-02T04:08:38.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-34404 does not seem to be running inside a container [2022-05-02T04:08:38.886Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-02T04:08:40.135Z] $ docker top bbb00b916a83c0f1e68a6f3929d84de9c5322461eafa434e463a780a046698a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T04:08:41.079Z] + go version [2022-05-02T04:08:41.079Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-02T04:08:41.118Z] $ docker stop --time=1 bbb00b916a83c0f1e68a6f3929d84de9c5322461eafa434e463a780a046698a8 [2022-05-02T04:08:42.769Z] $ docker rm -f bbb00b916a83c0f1e68a6f3929d84de9c5322461eafa434e463a780a046698a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:08:43.608Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T04:08:43.609Z] . [Pipeline] withDockerContainer [2022-05-02T04:08:43.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-34404 does not seem to be running inside a container [2022-05-02T04:08:43.944Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-02T04:08:45.242Z] $ docker top b0a0588914271b0b3741604f9438923889653e73f7581acf25d352240519750f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T04:08:46.279Z] + make test [2022-05-02T04:08:46.279Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-02T04:09:13.104Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-02T04:11:05.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-02T04:11:05.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-02T04:11:05.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-02T04:11:05.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.424s coverage: 23.3% of statements [2022-05-02T04:11:05.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-02T04:11:05.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.260s coverage: 27.6% of statements [2022-05-02T04:11:05.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.293s coverage: 78.9% of statements [2022-05-02T04:11:05.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.334s coverage: 10.8% of statements [2022-05-02T04:11:05.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.449s coverage: 60.0% of statements [2022-05-02T04:11:05.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-02T04:11:05.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-02T04:11:05.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.523s coverage: 34.8% of statements [2022-05-02T04:11:05.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-02T04:11:09.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.302s coverage: 86.1% of statements [2022-05-02T04:11:09.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-02T04:11:09.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-02T04:11:09.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.431s coverage: 65.1% of statements [2022-05-02T04:11:09.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.531s coverage: 89.2% of statements [2022-05-02T04:11:09.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-02T04:11:13.374Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements [2022-05-02T04:11:13.374Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-02T04:11:14.357Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-02T04:11:14.357Z] GO111MODULE=on go vet ./... [2022-05-02T04:12:51.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T04:12:51.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T04:12:51.241Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T04:12:51.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T04:12:51.314Z] $ docker stop --time=1 b0a0588914271b0b3741604f9438923889653e73f7581acf25d352240519750f [2022-05-02T04:12:53.028Z] $ docker rm -f b0a0588914271b0b3741604f9438923889653e73f7581acf25d352240519750f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T04:12:54.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T04:12:54.431Z] Warning: overwriting stash ‘coverage-report’ [2022-05-02T04:12:55.093Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T04:12:55.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T04:12:56.048Z] + ls -al . [2022-05-02T04:12:56.048Z] total 292 [2022-05-02T04:12:56.048Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 04:12 . [2022-05-02T04:12:56.048Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 04:06 .. [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 140 May 2 04:06 .dockerignore [2022-05-02T04:12:56.048Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 04:06 .git [2022-05-02T04:12:56.048Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 04:06 .github [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 131 May 2 04:06 .gitignore [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 42 May 2 04:06 .golangci.yml [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 2 04:06 CHANGELOG.md [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 04:06 GOVERNANCE.md [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 880 May 2 04:06 Jenkinsfile [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 2 04:06 LICENSE [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 2 04:06 Makefile [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 619 May 2 04:06 OWNERS.md [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 2 04:06 README.md [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 04:04 VERSION [2022-05-02T04:12:56.048Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 04:06 bin [2022-05-02T04:12:56.048Z] -rw-r--r-- 1 jenkins jenkins 130819 May 2 04:11 coverage.out [2022-05-02T04:12:56.048Z] drwxrwxr-x 5 jenkins jenkins 4096 May 2 04:06 example [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 2 04:06 go.mod [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 34885 May 2 04:06 go.sum [2022-05-02T04:12:56.048Z] drwxrwxr-x 15 jenkins jenkins 4096 May 2 04:06 internal [2022-05-02T04:12:56.048Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 04:06 openapi [2022-05-02T04:12:56.048Z] drwxrwxr-x 5 jenkins jenkins 4096 May 2 04:06 pkg [2022-05-02T04:12:56.048Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 04:06 snap [2022-05-02T04:12:56.048Z] -rw-rw-r-- 1 jenkins jenkins 222 May 2 04:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:12:56.412Z] + 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=3bf403115b7066cefafd348c84461fd27d8f64fc --label arch=arm64 --label version=0.0.0 . [2022-05-02T04:12:56.685Z] Sending build context to Docker daemon 5.35MB [2022-05-02T04:12:56.958Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T04:12:56.958Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-02T04:12:56.958Z] ---> df6206e809cb [2022-05-02T04:12:56.958Z] Step 3/25 : ARG MAKE=make build [2022-05-02T04:12:57.230Z] ---> Running in 936988ca09f3 [2022-05-02T04:12:57.839Z] Removing intermediate container 936988ca09f3 [2022-05-02T04:12:57.839Z] ---> 4b3d9c4c2e45 [2022-05-02T04:12:57.839Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-02T04:12:57.839Z] ---> Running in 2c9d773f81bf [2022-05-02T04:12:58.122Z] Removing intermediate container 2c9d773f81bf [2022-05-02T04:12:58.122Z] ---> 11e1f784f6c1 [2022-05-02T04:12:58.122Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T04:12:58.122Z] ---> Running in c40883219841 [2022-05-02T04:12:58.403Z] Removing intermediate container c40883219841 [2022-05-02T04:12:58.403Z] ---> 1fb8c79f6499 [2022-05-02T04:12:58.403Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T04:12:58.679Z] ---> Running in 0dfb3d9c0f6f [2022-05-02T04:13:00.126Z] Removing intermediate container 0dfb3d9c0f6f [2022-05-02T04:13:00.126Z] ---> dde870f07f46 [2022-05-02T04:13:00.126Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T04:13:00.400Z] ---> Running in 61656ab083f5 [2022-05-02T04:13:01.382Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T04:13:02.364Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T04:13:03.358Z] OK: 220 MiB in 52 packages [2022-05-02T04:13:03.960Z] Removing intermediate container 61656ab083f5 [2022-05-02T04:13:03.960Z] ---> 391f394d502d [2022-05-02T04:13:03.960Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-02T04:13:04.562Z] ---> b78d23d2a728 [2022-05-02T04:13:04.562Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T04:13:04.562Z] ---> Running in e6bfa7809523 [2022-05-02T04:13:06.550Z] Removing intermediate container e6bfa7809523 [2022-05-02T04:13:06.550Z] ---> 4bb4fb7b5a4b [2022-05-02T04:13:06.550Z] Step 10/25 : COPY . . [2022-05-02T04:13:08.060Z] ---> 9d79a20d9aa5 [2022-05-02T04:13:08.060Z] Step 11/25 : RUN ${MAKE} [2022-05-02T04:13:08.060Z] ---> Running in 37265460dbbe [2022-05-02T04:13:09.051Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-02T04:15:15.994Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-02T04:15:20.325Z] Removing intermediate container 37265460dbbe [2022-05-02T04:15:20.325Z] ---> 26cab7cec7b5 [2022-05-02T04:15:20.325Z] Step 12/25 : FROM alpine:3.14 [2022-05-02T04:15:20.927Z] 3.14: Pulling from library/alpine [2022-05-02T04:15:21.203Z] 455c02918c45: Pulling fs layer [2022-05-02T04:15:21.203Z] 455c02918c45: Verifying Checksum [2022-05-02T04:15:21.203Z] 455c02918c45: Download complete [2022-05-02T04:15:21.805Z] 455c02918c45: Pull complete [2022-05-02T04:15:21.805Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T04:15:21.805Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T04:15:21.805Z] ---> ac73e934f311 [2022-05-02T04:15:21.805Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T04:15:22.083Z] ---> Running in c765a8d328ae [2022-05-02T04:15:22.360Z] Removing intermediate container c765a8d328ae [2022-05-02T04:15:22.360Z] ---> 06aa8f2ec557 [2022-05-02T04:15:22.360Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T04:15:22.360Z] ---> Running in b93b5f455aa3 [2022-05-02T04:15:24.348Z] Removing intermediate container b93b5f455aa3 [2022-05-02T04:15:24.348Z] ---> a7461ecffba0 [2022-05-02T04:15:24.348Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-02T04:15:24.348Z] ---> Running in 22a420636fbc [2022-05-02T04:15:25.351Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-02T04:15:26.337Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-02T04:15:27.323Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T04:15:27.323Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-02T04:15:27.323Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T04:15:27.323Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-02T04:15:27.602Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-02T04:15:27.603Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T04:15:27.603Z] OK: 8 MiB in 19 packages [2022-05-02T04:15:28.601Z] Removing intermediate container 22a420636fbc [2022-05-02T04:15:28.601Z] ---> 6639bf9f55d4 [2022-05-02T04:15:28.601Z] Step 16/25 : WORKDIR / [2022-05-02T04:15:28.601Z] ---> Running in fe403e9a6dcf [2022-05-02T04:15:28.896Z] Removing intermediate container fe403e9a6dcf [2022-05-02T04:15:28.896Z] ---> 38db53ea050f [2022-05-02T04:15:28.896Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-02T04:15:29.498Z] ---> 12d9167066fa [2022-05-02T04:15:29.498Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-02T04:15:31.493Z] ---> 97d138c8380e [2022-05-02T04:15:31.493Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-02T04:15:31.767Z] ---> 488d9d034ca9 [2022-05-02T04:15:31.767Z] Step 20/25 : EXPOSE 59999 [2022-05-02T04:15:31.767Z] ---> Running in 6e770ff2054d [2022-05-02T04:15:32.380Z] Removing intermediate container 6e770ff2054d [2022-05-02T04:15:32.380Z] ---> dc789d2598fb [2022-05-02T04:15:32.380Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-02T04:15:32.380Z] ---> Running in 9deaa00ac05a [2022-05-02T04:15:32.655Z] Removing intermediate container 9deaa00ac05a [2022-05-02T04:15:32.655Z] ---> 9a80e84b560b [2022-05-02T04:15:32.655Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-02T04:15:32.655Z] ---> Running in f89842df6ad1 [2022-05-02T04:15:32.932Z] Removing intermediate container f89842df6ad1 [2022-05-02T04:15:32.932Z] ---> 75fb857cd9fd [2022-05-02T04:15:32.932Z] Step 23/25 : LABEL arch=arm64 [2022-05-02T04:15:33.218Z] ---> Running in 28cb5ea03ba3 [2022-05-02T04:15:33.494Z] Removing intermediate container 28cb5ea03ba3 [2022-05-02T04:15:33.494Z] ---> 803a032cd771 [2022-05-02T04:15:33.494Z] Step 24/25 : LABEL git_sha=3bf403115b7066cefafd348c84461fd27d8f64fc [2022-05-02T04:15:33.494Z] ---> Running in f14a0aa774c7 [2022-05-02T04:15:33.769Z] Removing intermediate container f14a0aa774c7 [2022-05-02T04:15:33.769Z] ---> abad7cb4aa75 [2022-05-02T04:15:33.769Z] Step 25/25 : LABEL version=0.0.0 [2022-05-02T04:15:34.067Z] ---> Running in 3e531a10d7f6 [2022-05-02T04:15:34.341Z] Removing intermediate container 3e531a10d7f6 [2022-05-02T04:15:34.341Z] ---> ad16e839c7db [2022-05-02T04:15:34.341Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T04:15:34.341Z] Successfully built ad16e839c7db [2022-05-02T04:15:34.341Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-05-02T04:15:35.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T04:15:35.039Z] [2022-05-02T04:15:35.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:15:35.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T04:15:35.704Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-02T04:15:35.704Z] 8998bd30e6a1: Pulling fs layer [2022-05-02T04:15:35.704Z] 04944245beec: Pulling fs layer [2022-05-02T04:15:35.704Z] 699f458cf7ca: Pulling fs layer [2022-05-02T04:15:35.704Z] 765212b225bb: Pulling fs layer [2022-05-02T04:15:35.704Z] f23df028b6ca: Pulling fs layer [2022-05-02T04:15:35.704Z] d65c8cfc05b1: Pulling fs layer [2022-05-02T04:15:35.704Z] 2437ff75d9bd: Pulling fs layer [2022-05-02T04:15:35.704Z] 765212b225bb: Waiting [2022-05-02T04:15:35.704Z] d65c8cfc05b1: Waiting [2022-05-02T04:15:35.704Z] f23df028b6ca: Waiting [2022-05-02T04:15:35.704Z] 2437ff75d9bd: Waiting [2022-05-02T04:15:35.704Z] 04944245beec: Verifying Checksum [2022-05-02T04:15:35.704Z] 04944245beec: Download complete [2022-05-02T04:15:35.704Z] 765212b225bb: Download complete [2022-05-02T04:15:35.704Z] f23df028b6ca: Verifying Checksum [2022-05-02T04:15:35.704Z] f23df028b6ca: Download complete [2022-05-02T04:15:35.704Z] d65c8cfc05b1: Verifying Checksum [2022-05-02T04:15:35.704Z] d65c8cfc05b1: Download complete [2022-05-02T04:15:35.981Z] 699f458cf7ca: Verifying Checksum [2022-05-02T04:15:35.981Z] 699f458cf7ca: Download complete [2022-05-02T04:15:36.261Z] 8998bd30e6a1: Verifying Checksum [2022-05-02T04:15:36.261Z] 8998bd30e6a1: Download complete [2022-05-02T04:15:38.889Z] 2437ff75d9bd: Verifying Checksum [2022-05-02T04:15:38.889Z] 2437ff75d9bd: Download complete [2022-05-02T04:15:40.883Z] 8998bd30e6a1: Pull complete [2022-05-02T04:15:41.161Z] 04944245beec: Pull complete [2022-05-02T04:15:43.154Z] 699f458cf7ca: Pull complete [2022-05-02T04:15:43.154Z] 765212b225bb: Pull complete [2022-05-02T04:15:44.139Z] f23df028b6ca: Pull complete [2022-05-02T04:15:44.140Z] d65c8cfc05b1: Pull complete [2022-05-02T04:16:02.489Z] 2437ff75d9bd: Pull complete [2022-05-02T04:16:02.489Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-02T04:16:02.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T04:16:02.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-02T04:16:02.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-34404 does not seem to be running inside a container [2022-05-02T04:16:02.860Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-02T04:16:05.767Z] $ docker top e329ba6a6b285db8df2b4e1d61ca306766f93bdb8d43bcc1fcb9cc888034e02c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:06.811Z] ---> job-cost.sh [2022-05-02T04:16:06.811Z] lf-activate-venv: SKIPPING [2022-05-02T04:16:06.811Z] INFO: No Stack... [2022-05-02T04:16:07.409Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-02T04:16:08.010Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T04:16:08.693Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-02T04:16:08.693Z] + cut -d, -f6 [Pipeline] lock [2022-05-02T04:16:08.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] [2022-05-02T04:16:08.791Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] did not exist. Created. [2022-05-02T04:16:08.791Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T04:16:09.549Z] /w/workspace/device-sdk-go/1@tmp/durable-01e58377/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-02T04:16:10.262Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-02T04:16:10.331Z] Warning: overwriting stash ‘stack-cost’ [2022-05-02T04:16:10.419Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T04:16:10.433Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T04:16:10.520Z] $ docker stop --time=1 e329ba6a6b285db8df2b4e1d61ca306766f93bdb8d43bcc1fcb9cc888034e02c [2022-05-02T04:16:12.123Z] $ docker rm -f e329ba6a6b285db8df2b4e1d61ca306766f93bdb8d43bcc1fcb9cc888034e02c [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 [2022-05-02T04:16:13.226Z] provisioning config files... [2022-05-02T04:16:13.235Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config5490351730506122552tmp [Pipeline] { [Pipeline] sh [2022-05-02T04:16:13.561Z] + set +x [2022-05-02T04:16:13.561Z] + curl -s https://codecov.io/bash [2022-05-02T04:16:13.561Z] + bash -s -- [2022-05-02T04:16:13.561Z] [2022-05-02T04:16:13.561Z] _____ _ [2022-05-02T04:16:13.561Z] / ____| | | [2022-05-02T04:16:13.561Z] | | ___ __| | ___ ___ _____ __ [2022-05-02T04:16:13.561Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-02T04:16:13.561Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-02T04:16:13.561Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-02T04:16:13.561Z] Bash-1.0.6 [2022-05-02T04:16:13.561Z] [2022-05-02T04:16:13.561Z] [2022-05-02T04:16:13.561Z] ==> git version 2.25.1 found [2022-05-02T04:16:13.561Z] ==> 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 [2022-05-02T04:16:13.561Z] Release-Date: 2020-01-08 [2022-05-02T04:16:13.561Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-02T04:16:13.561Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-02T04:16:13.561Z] ==> Jenkins CI detected. [2022-05-02T04:16:13.820Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1153 [2022-05-02T04:16:13.820Z] project root: . [2022-05-02T04:16:13.821Z] --> token set from env [2022-05-02T04:16:13.821Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-02T04:16:13.821Z] ==> Running gcov in . (disable via -X gcov) [2022-05-02T04:16:13.821Z] ==> Python coveragepy not found [2022-05-02T04:16:13.821Z] ==> Searching for coverage reports in: [2022-05-02T04:16:13.821Z] + . [2022-05-02T04:16:13.821Z] -> Found 1 reports [2022-05-02T04:16:13.821Z] ==> Detecting git/mercurial file structure [2022-05-02T04:16:13.821Z] ==> Reading reports [2022-05-02T04:16:13.821Z] + ./coverage.out bytes=130819 [2022-05-02T04:16:13.821Z] ==> Appending adjustments [2022-05-02T04:16:13.821Z] https://docs.codecov.io/docs/fixing-reports [2022-05-02T04:16:14.083Z] + Found adjustments [2022-05-02T04:16:14.083Z] ==> Gzipping contents [2022-05-02T04:16:14.083Z] 20K /tmp/codecov.eDSBqy.gz [2022-05-02T04:16:14.083Z] ==> Uploading reports [2022-05-02T04:16:14.083Z] url: https://codecov.io [2022-05-02T04:16:14.083Z] query: branch=PR-1153&commit=3bf403115b7066cefafd348c84461fd27d8f64fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1153&job=&cmd_args= [2022-05-02T04:16:14.083Z] -> Pinging Codecov [2022-05-02T04:16:14.083Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1153&commit=3bf403115b7066cefafd348c84461fd27d8f64fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1153&job=&cmd_args= [2022-05-02T04:16:14.343Z] -> Uploading to [2022-05-02T04:16:14.343Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-02/7E55EF52A471D76F132DFD9A03CDDE97/3bf403115b7066cefafd348c84461fd27d8f64fc/03073411-a757-4437-bed0-fcd3c8f78c0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T041614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=636584dea478a0d7a751f057df649a892785b769f2d087d4337934c51a65b70e [2022-05-02T04:16:14.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T04:16:14.343Z] Dload Upload Total Spent Left Speed [2022-05-02T04:16:14.602Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16804 0 0 100 16804 0 65640 --:--:-- --:--:-- --:--:-- 65385 100 16804 0 0 100 16804 0 65640 --:--:-- --:--:-- --:--:-- 65385 [2022-05-02T04:16:14.602Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3bf403115b7066cefafd348c84461fd27d8f64fc [Pipeline] } [2022-05-02T04:16:14.626Z] 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 [2022-05-02T04:16:16.372Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives ] [2022-05-02T04:16:16.372Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives [2022-05-02T04:16:16.372Z] total 16 [2022-05-02T04:16:16.372Z] drwxr-xr-x 3 root root 4096 May 2 04:06 . [2022-05-02T04:16:16.372Z] drwxrwxr-x 12 jenkins jenkins 4096 May 2 04:06 .. [2022-05-02T04:16:16.372Z] drwxr-xr-x 2 root root 4096 May 2 04:06 cost [2022-05-02T04:16:16.372Z] -rw-r--r-- 1 root root 86 May 2 04:06 cost.csv [2022-05-02T04:16:16.372Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives [2022-05-02T04:16:16.372Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives [2022-05-02T04:16:16.372Z] total 16 [2022-05-02T04:16:16.372Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 04:06 . [2022-05-02T04:16:16.372Z] drwxrwxr-x 12 jenkins jenkins 4096 May 2 04:06 .. [2022-05-02T04:16:16.372Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 04:06 cost [2022-05-02T04:16:16.372Z] -rw-r--r-- 1 jenkins jenkins 86 May 2 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:16.702Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:17.601Z] ---> package-listing.sh [2022-05-02T04:16:17.601Z] ++ facter osfamily [2022-05-02T04:16:17.601Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-02T04:16:17.862Z] + OS_FAMILY=debian [2022-05-02T04:16:17.862Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1153 [2022-05-02T04:16:17.862Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-02T04:16:17.862Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-02T04:16:17.862Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-02T04:16:17.862Z] + PACKAGES=/tmp/packages_start.txt [2022-05-02T04:16:17.862Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1153 ']' [2022-05-02T04:16:17.862Z] + PACKAGES=/tmp/packages_end.txt [2022-05-02T04:16:17.862Z] + case "${OS_FAMILY}" in [2022-05-02T04:16:17.862Z] + dpkg -l [2022-05-02T04:16:17.862Z] + grep '^ii' [2022-05-02T04:16:17.862Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-02T04:16:17.862Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-02T04:16:17.862Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-02T04:16:17.862Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1153 ']' [2022-05-02T04:16:17.862Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives/ [2022-05-02T04:16:17.862Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives/ [Pipeline] echo [2022-05-02T04:16:17.898Z] 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-1153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-02T04:16:18.198Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-02T04:16:18.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T04:16:18.871Z] . [Pipeline] withDockerContainer [2022-05-02T04:16:18.964Z] prd-ubuntu20.04-docker-8c-8g-34397 does not seem to be running inside a container [2022-05-02T04:16:19.003Z] $ 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-1153/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-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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-lftools-log-publisher:latest cat [2022-05-02T04:16:19.212Z] $ docker top 804fd5799e0e0edb667bc8325ce481bc2da143854454a67cfe719f0ed9aa8fa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T04:16:19.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-02T04:16:19.923Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-02T04:16:20.237Z] + ls /var/log/sa-host [2022-05-02T04:16:20.238Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T04:16:20.517Z] provisioning config files... [2022-05-02T04:16:20.527Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config217492375191933814tmp [Pipeline] { [Pipeline] echo [2022-05-02T04:16:20.578Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:20.892Z] ---> create-netrc.sh [Pipeline] } [2022-05-02T04:16:20.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:21.335Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-02T04:16:21.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:21.685Z] ---> sudo-logs.sh [2022-05-02T04:16:21.685Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-02T04:16:21.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:22.073Z] ---> job-cost.sh [2022-05-02T04:16:22.073Z] lf-activate-venv: SKIPPING [2022-05-02T04:16:22.073Z] DEBUG: total: 0.6600000262260437 [2022-05-02T04:16:22.073Z] INFO: Retrieving Stack Cost... [2022-05-02T04:16:22.643Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T04:16:22.903Z] INFO: Archiving Costs [Pipeline] echo [2022-05-02T04:16:22.938Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T04:16:23.251Z] ---> logs-deploy.sh [2022-05-02T04:16:23.251Z] lf-activate-venv: SKIPPING [2022-05-02T04:16:23.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1153/1 [2022-05-02T04:16:23.251Z] INFO: archiving workspace using pattern(s): [2022-05-02T04:16:24.189Z] Archives upload complete. [2022-05-02T04:16:24.189Z] INFO: archiving logs to Nexus