Pull request #1080 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 33d0a51da49b1357e78eddc947429615f795f612 rather than 5ad40cc097c3d24883087e08febb0400b354884e Obtained Jenkinsfile from 33d0a51da49b1357e78eddc947429615f795f612 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-ssh236011696861362658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh4446776723381582557.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-1080/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-1080/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5482028262651287020.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-1080/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2727085815599974468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh8351732969670973660.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1080/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-1080/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18377208209138809218.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 7a502be46133bd83b74f613648f1d59e9d9e8641 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1276 in /w/workspace/gexfoundry_device-sdk-go_PR-1080 [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-1080 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/jenkins-gitclient-ssh2936908699420216764.key > 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 33d0a51da49b1357e78eddc947429615f795f612 into PR head commit 5ad40cc097c3d24883087e08febb0400b354884e Merge succeeded, producing 5ad40cc097c3d24883087e08febb0400b354884e Checking out Revision 5ad40cc097c3d24883087e08febb0400b354884e (PR-1080) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/jenkins-gitclient-ssh4405471277928930889.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1080/head:refs/remotes/origin/PR-1080 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/jenkins-gitclient-ssh3032741881097524589.key > git merge 33d0a51da49b1357e78eddc947429615f795f612 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T21:40:43.526Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T21:40:43.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T21:40:43.822Z] ========================================================= [2022-01-11T21:40:43.822Z] EdgeX Global Pipelines Version Info [2022-01-11T21:40:43.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:40:44.978Z] ------------------- [2022-01-11T21:40:44.978Z] stable info: [2022-01-11T21:40:44.978Z] ------------------- [2022-01-11T21:40:44.978Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T21:40:44.978Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T21:40:44.978Z] Message: update stable to v1.0.218 [2022-01-11T21:40:45.553Z] ------------------- [2022-01-11T21:40:45.553Z] experimental info: [2022-01-11T21:40:45.553Z] ------------------- [2022-01-11T21:40:45.553Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T21:40:45.553Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T21:40:45.553Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T21:40:45.813Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-11T21:40:45.854Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-11T21:40:45.895Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T21:40:45.936Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T21:40:45.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T21:40:46.018Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T21:40:46.059Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T21:40:46.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-11T21:40:46.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T21:40:46.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T21:40:46.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T21:40:46.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-11T21:40:46.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T21:40:46.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T21:40:46.378Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T21:40:46.420Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:40:46.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:40:46.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:40:46.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T21:40:46.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T21:40:46.635Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-11T21:40:46.686Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-11T21:40:46.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T21:40:46.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T21:40:46.806Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-11T21:40:46.842Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T21:40:46.879Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1080 [Pipeline] echo [2022-01-11T21:40:46.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1080 [Pipeline] echo [2022-01-11T21:40:46.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1080 [Pipeline] echo [2022-01-11T21:40:46.990Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo [2022-01-11T21:40:47.033Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ad40cc [Pipeline] echo [2022-01-11T21:40:47.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T21:40:47.177Z] provisioning config files... [2022-01-11T21:40:47.194Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config2634093041120639212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:40:47.544Z] ---> docker-login.sh [2022-01-11T21:40:47.544Z] nexus3.edgexfoundry.org:10001 [2022-01-11T21:40:47.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:47.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:47.809Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:47.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:47.809Z] [2022-01-11T21:40:47.809Z] Login Succeeded [2022-01-11T21:40:47.809Z] nexus3.edgexfoundry.org:10002 [2022-01-11T21:40:47.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:47.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:47.809Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:47.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:47.809Z] [2022-01-11T21:40:47.809Z] Login Succeeded [2022-01-11T21:40:47.809Z] nexus3.edgexfoundry.org:10003 [2022-01-11T21:40:48.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:48.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:48.075Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:48.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:48.075Z] [2022-01-11T21:40:48.075Z] Login Succeeded [2022-01-11T21:40:48.075Z] nexus3.edgexfoundry.org:10004 [2022-01-11T21:40:48.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:48.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:48.075Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:48.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:48.075Z] [2022-01-11T21:40:48.075Z] Login Succeeded [2022-01-11T21:40:48.075Z] docker.io [2022-01-11T21:40:48.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:48.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:48.602Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:48.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:48.602Z] [2022-01-11T21:40:48.602Z] Login Succeeded [2022-01-11T21:40:48.602Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T21:40:48.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T21:40:49.274Z] + git rev-list -1 --merges 5ad40cc097c3d24883087e08febb0400b354884e~1..5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo [2022-01-11T21:40:49.323Z] -----------> git rev-list -1 --merges 5ad40cc097c3d24883087e08febb0400b354884e~1..5ad40cc097c3d24883087e08febb0400b354884e 5ad40cc097c3d24883087e08febb0400b354884e [false] [Pipeline] sh [2022-01-11T21:40:49.648Z] + git log --format=format:%s -1 5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo [2022-01-11T21:40:49.684Z] ========================================================= [2022-01-11T21:40:49.684Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T21:40:49.684Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:40:50.111Z] + git log --format=format:%s -1 5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo [2022-01-11T21:40:50.141Z] [semverPrep] GIT_COMMIT: 5ad40cc097c3d24883087e08febb0400b354884e, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-11T21:40:50.172Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T21:40:50.636Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T21:40:50.636Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T21:40:50.636Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T21:40:50.636Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T21:40:50.636Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T21:40:50.636Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T21:40:50.636Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:40:51.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:40:51.092Z] [2022-01-11T21:40:51.092Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:40:51.440Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:40:51.441Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T21:40:51.441Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T21:40:51.441Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T21:40:51.441Z] 4c7163046ea9: Pulling fs layer [2022-01-11T21:40:51.441Z] 0c2d73faf560: Pulling fs layer [2022-01-11T21:40:51.441Z] 0c2d73faf560: Waiting [2022-01-11T21:40:51.441Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T21:40:51.441Z] 3e5f54012d9b: Download complete [2022-01-11T21:40:51.441Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T21:40:51.441Z] a0d0a0d46f8b: Download complete [2022-01-11T21:40:51.441Z] 0c2d73faf560: Verifying Checksum [2022-01-11T21:40:51.441Z] 0c2d73faf560: Download complete [2022-01-11T21:40:51.441Z] 4c7163046ea9: Verifying Checksum [2022-01-11T21:40:51.441Z] 4c7163046ea9: Download complete [2022-01-11T21:40:51.713Z] a0d0a0d46f8b: Pull complete [2022-01-11T21:40:51.713Z] 3e5f54012d9b: Pull complete [2022-01-11T21:40:51.983Z] 4c7163046ea9: Pull complete [2022-01-11T21:40:52.244Z] 0c2d73faf560: Pull complete [2022-01-11T21:40:52.244Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T21:40:52.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:40:52.244Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T21:40:52.346Z] prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container [2022-01-11T21:40:52.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@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:10004/edgex-devops/git-semver:latest cat [2022-01-11T21:40:52.977Z] $ docker top bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T21:40:53.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T21:40:53.291Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T21:40:53.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T21:40:53.310Z] $ docker exec bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent [2022-01-11T21:40:53.513Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjCNcC/agent.13 [2022-01-11T21:40:53.513Z] SSH_AGENT_PID=19 [2022-01-11T21:40:53.522Z] Running ssh-add (command line suppressed) [2022-01-11T21:40:53.530Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_270933610107025844.key (/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_270933610107025844.key) [2022-01-11T21:40:53.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T21:40:53.974Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T21:40:53.942Z] $ docker exec --env ******** --env ******** bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent -k [2022-01-11T21:40:54.048Z] unset SSH_AUTH_SOCK; [2022-01-11T21:40:54.048Z] unset SSH_AGENT_PID; [2022-01-11T21:40:54.048Z] echo Agent pid 19 killed; [2022-01-11T21:40:54.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T21:40:54.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T21:40:54.196Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T21:40:54.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T21:40:54.296Z] $ docker exec bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent [2022-01-11T21:40:54.446Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBoneGB/agent.53 [2022-01-11T21:40:54.446Z] SSH_AGENT_PID=59 [2022-01-11T21:40:54.451Z] Running ssh-add (command line suppressed) [2022-01-11T21:40:54.554Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_1103884556545553941.key (/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_1103884556545553941.key) [2022-01-11T21:40:54.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T21:40:54.903Z] + git semver init [2022-01-11T21:40:54.903Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T21:40:54.903Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1080/.git [2022-01-11T21:40:54.903Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1080 [2022-01-11T21:40:54.903Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T21:40:54.903Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T21:40:54.903Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T21:40:54.903Z] # $SEMVER_BRANCH = PR-1080 [2022-01-11T21:40:54.903Z] # $SEMVER_TEMP = /tmp/semver-049422624 [2022-01-11T21:40:54.903Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-11T21:40:55.851Z] # '/tmp/semver-049422624' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1080/.semver' [2022-01-11T21:40:55.851Z] # -> Force: false [2022-01-11T21:40:55.851Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1080/.semver [Pipeline] } [2022-01-11T21:40:55.884Z] $ docker exec --env ******** --env ******** bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent -k [2022-01-11T21:40:55.968Z] unset SSH_AUTH_SOCK; [2022-01-11T21:40:55.969Z] unset SSH_AGENT_PID; [2022-01-11T21:40:55.969Z] echo Agent pid 59 killed; [2022-01-11T21:40:55.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T21:40:56.413Z] + git semver [Pipeline] } [2022-01-11T21:40:56.446Z] $ docker stop --time=1 bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 [2022-01-11T21:40:57.741Z] $ docker rm -f bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:40:58.149Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T21:40:58.440Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T21:40:58.458Z] [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-01-11T21:40:59.009Z] provisioning config files... [2022-01-11T21:40:59.021Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config7599686967849897928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:40:59.371Z] ---> docker-login.sh [2022-01-11T21:40:59.371Z] nexus3.edgexfoundry.org:10001 [2022-01-11T21:40:59.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:59.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:59.371Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:59.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:59.371Z] [2022-01-11T21:40:59.371Z] Login Succeeded [2022-01-11T21:40:59.371Z] nexus3.edgexfoundry.org:10002 [2022-01-11T21:40:59.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:59.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:59.371Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:59.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:59.371Z] [2022-01-11T21:40:59.371Z] Login Succeeded [2022-01-11T21:40:59.371Z] nexus3.edgexfoundry.org:10003 [2022-01-11T21:40:59.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:59.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:59.632Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:59.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:59.632Z] [2022-01-11T21:40:59.632Z] Login Succeeded [2022-01-11T21:40:59.632Z] nexus3.edgexfoundry.org:10004 [2022-01-11T21:40:59.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:40:59.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:40:59.632Z] Configure a credential helper to remove this warning. See [2022-01-11T21:40:59.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:40:59.632Z] [2022-01-11T21:40:59.632Z] Login Succeeded [2022-01-11T21:40:59.632Z] docker.io [2022-01-11T21:40:59.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:41:00.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:41:00.155Z] Configure a credential helper to remove this warning. See [2022-01-11T21:41:00.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:41:00.155Z] [2022-01-11T21:41:00.155Z] Login Succeeded [2022-01-11T21:41:00.155Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T21:41:00.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T21:41:00.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T21:41:00.409Z] ========================================================= [2022-01-11T21:41:00.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T21:41:00.409Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:41:00.822Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-11T21:41:00.822Z] Sending build context to Docker daemon 9.333MB [2022-01-11T21:41:00.822Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T21:41:00.822Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T21:41:01.088Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T21:41:01.088Z] a0d0a0d46f8b: Already exists [2022-01-11T21:41:01.088Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T21:41:01.088Z] b8b176561691: Pulling fs layer [2022-01-11T21:41:01.088Z] 4527c011a84f: Pulling fs layer [2022-01-11T21:41:01.088Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T21:41:01.088Z] e0aca202a116: Pulling fs layer [2022-01-11T21:41:01.088Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T21:41:01.088Z] 34cad66bf833: Pulling fs layer [2022-01-11T21:41:01.088Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T21:41:01.088Z] 5d74067f8e1e: Waiting [2022-01-11T21:41:01.088Z] e0aca202a116: Waiting [2022-01-11T21:41:01.088Z] 3a43be97a3b4: Waiting [2022-01-11T21:41:01.088Z] 34cad66bf833: Waiting [2022-01-11T21:41:01.088Z] b4e3c513aaa6: Waiting [2022-01-11T21:41:01.088Z] b8b176561691: Verifying Checksum [2022-01-11T21:41:01.088Z] b8b176561691: Download complete [2022-01-11T21:41:01.088Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T21:41:01.088Z] 31adcdaf11c8: Download complete [2022-01-11T21:41:01.088Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T21:41:01.088Z] 5d74067f8e1e: Download complete [2022-01-11T21:41:01.088Z] e0aca202a116: Verifying Checksum [2022-01-11T21:41:01.088Z] e0aca202a116: Download complete [2022-01-11T21:41:01.088Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T21:41:01.088Z] 3a43be97a3b4: Download complete [2022-01-11T21:41:01.088Z] 31adcdaf11c8: Pull complete [2022-01-11T21:41:01.088Z] 34cad66bf833: Verifying Checksum [2022-01-11T21:41:01.088Z] 34cad66bf833: Download complete [2022-01-11T21:41:01.363Z] b8b176561691: Pull complete [2022-01-11T21:41:01.628Z] 4527c011a84f: Verifying Checksum [2022-01-11T21:41:01.628Z] 4527c011a84f: Download complete [2022-01-11T21:41:01.628Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T21:41:01.628Z] b4e3c513aaa6: Download complete [2022-01-11T21:41:05.866Z] 4527c011a84f: Pull complete [2022-01-11T21:41:05.866Z] 5d74067f8e1e: Pull complete [2022-01-11T21:41:05.866Z] e0aca202a116: Pull complete [2022-01-11T21:41:05.866Z] 3a43be97a3b4: Pull complete [2022-01-11T21:41:06.133Z] 34cad66bf833: Pull complete [2022-01-11T21:41:08.704Z] b4e3c513aaa6: Pull complete [2022-01-11T21:41:08.704Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T21:41:08.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T21:41:08.704Z] ---> 9f6097aaca64 [2022-01-11T21:41:08.704Z] Step 3/10 : ARG MAKE=make build [2022-01-11T21:41:10.620Z] ---> Running in b6d00e4a2fdf [2022-01-11T21:41:10.620Z] Removing intermediate container b6d00e4a2fdf [2022-01-11T21:41:10.620Z] ---> db712b32802c [2022-01-11T21:41:10.620Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T21:41:10.620Z] ---> Running in 4f2db43f02dc [2022-01-11T21:41:10.620Z] Removing intermediate container 4f2db43f02dc [2022-01-11T21:41:10.620Z] ---> c44820fb2321 [2022-01-11T21:41:10.620Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T21:41:10.620Z] ---> Running in 803506ed4c82 [2022-01-11T21:41:10.620Z] Removing intermediate container 803506ed4c82 [2022-01-11T21:41:10.620Z] ---> 7dc0462951ff [2022-01-11T21:41:10.620Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T21:41:10.620Z] ---> Running in 01d49b4bead0 [2022-01-11T21:41:11.197Z] Removing intermediate container 01d49b4bead0 [2022-01-11T21:41:11.197Z] ---> 9fec82e2d5fd [2022-01-11T21:41:11.197Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T21:41:11.197Z] ---> Running in 6677f7de2663 [2022-01-11T21:41:11.459Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T21:41:12.403Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T21:41:12.666Z] OK: 220 MiB in 52 packages [2022-01-11T21:41:12.928Z] Removing intermediate container 6677f7de2663 [2022-01-11T21:41:12.928Z] ---> c016e1a7cd79 [2022-01-11T21:41:12.928Z] Step 8/10 : COPY . . [2022-01-11T21:41:13.507Z] ---> 0088a28b8d36 [2022-01-11T21:41:13.507Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T21:41:13.507Z] ---> Running in 3b6e968bc38a [2022-01-11T21:41:13.846Z] Still waiting to schedule task [2022-01-11T21:41:13.847Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-11T21:41:45.675Z] Removing intermediate container 3b6e968bc38a [2022-01-11T21:41:45.675Z] ---> 0553f98ce7ea [2022-01-11T21:41:45.675Z] Step 10/10 : RUN ${MAKE} [2022-01-11T21:41:45.675Z] ---> Running in 19da11b2c60e [2022-01-11T21:41:45.675Z] noop [2022-01-11T21:41:45.675Z] Removing intermediate container 19da11b2c60e [2022-01-11T21:41:45.675Z] ---> bcac4c1830b4 [2022-01-11T21:41:45.675Z] Successfully built bcac4c1830b4 [2022-01-11T21:41:45.675Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:41:46.023Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T21:41:46.023Z] . [Pipeline] withDockerContainer [2022-01-11T21:41:46.131Z] prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container [2022-01-11T21:41:46.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T21:41:46.593Z] $ docker top 3b7ff990dc14f415fb8e832ff821a142149d62996a75efd04134bcceb1a0e7c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:41:47.025Z] + go version [2022-01-11T21:41:47.025Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T21:41:47.055Z] $ docker stop --time=1 3b7ff990dc14f415fb8e832ff821a142149d62996a75efd04134bcceb1a0e7c7 [2022-01-11T21:41:48.257Z] $ docker rm -f 3b7ff990dc14f415fb8e832ff821a142149d62996a75efd04134bcceb1a0e7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:41:48.882Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T21:41:48.882Z] . [Pipeline] withDockerContainer [2022-01-11T21:41:48.979Z] prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container [2022-01-11T21:41:49.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T21:41:49.403Z] $ docker top 8256e349f691ff2d1141d3cb46baf3c0f09f5fad52d293052e9f8b9369637832 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:41:49.878Z] + make test [2022-01-11T21:41:49.878Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T21:41:56.509Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T21:42:18.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T21:42:18.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T21:42:18.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T21:42:21.220Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.3% of statements [2022-01-11T21:42:21.220Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T21:42:21.220Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2022-01-11T21:42:21.220Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2022-01-11T21:42:21.485Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements [2022-01-11T21:42:21.485Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T21:42:21.485Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T21:42:21.485Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T21:42:22.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2022-01-11T21:42:22.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T21:42:23.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 86.1% of statements [2022-01-11T21:42:23.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T21:42:23.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T21:42:23.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.4% of statements [2022-01-11T21:42:24.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.879s coverage: 89.2% of statements [2022-01-11T21:42:24.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T21:42:24.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.8% of statements [2022-01-11T21:42:24.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T21:42:33.760Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1277 in /w/workspace/gexfoundry_device-sdk-go_PR-1080 [Pipeline] { [Pipeline] ws [2022-01-11T21:42:33.804Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-11T21:42:34.009Z] The recommended git tool is: git [2022-01-11T21:42:38.664Z] using credential edgex-jenkins-ssh [2022-01-11T21:42:38.679Z] Cloning the remote Git repository [2022-01-11T21:42:38.732Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T21:42:38.806Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-11T21:42:38.883Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T21:42:38.884Z] > git --version # timeout=10 [2022-01-11T21:42:38.911Z] > git --version # 'git version 2.17.1' [2022-01-11T21:42:38.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:42:38.975Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T21:42:41.316Z] Merging remotes/origin/main commit 33d0a51da49b1357e78eddc947429615f795f612 into PR head commit 5ad40cc097c3d24883087e08febb0400b354884e [2022-01-11T21:42:40.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T21:42:40.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T21:42:40.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T21:42:40.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T21:42:40.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:42:40.645Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1080/head:refs/remotes/origin/PR-1080 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T21:42:41.333Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T21:42:41.352Z] > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # timeout=10 [2022-01-11T21:42:41.450Z] > git remote # timeout=10 [2022-01-11T21:42:41.469Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T21:42:41.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:42:41.542Z] Merge succeeded, producing 5ad40cc097c3d24883087e08febb0400b354884e [2022-01-11T21:42:41.543Z] Checking out Revision 5ad40cc097c3d24883087e08febb0400b354884e (PR-1080) [2022-01-11T21:42:41.496Z] > git merge 33d0a51da49b1357e78eddc947429615f795f612 # timeout=10 [2022-01-11T21:42:41.518Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T21:42:41.552Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T21:42:41.568Z] > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # timeout=10 [2022-01-11T21:42:45.655Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-11T21:42:45.717Z] > git --version # timeout=10 [2022-01-11T21:42:45.730Z] > git --version # 'git version 2.17.1' [2022-01-11T21:42:45.747Z] fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:42:46.855Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T21:42:46.855Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T21:42:46.855Z] Dload Upload Total Spent Left Speed [2022-01-11T21:42:51.545Z] GO111MODULE=on go vet ./... [2022-01-11T21:42:55.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T21:42:55.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T21:42:55.796Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T21:42:56.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T21:42:56.123Z] $ docker stop --time=1 8256e349f691ff2d1141d3cb46baf3c0f09f5fad52d293052e9f8b9369637832 [2022-01-11T21:42:57.598Z] $ docker rm -f 8256e349f691ff2d1141d3cb46baf3c0f09f5fad52d293052e9f8b9369637832 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:42:58.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T21:42:58.346Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2022-01-11T21:42:58.442Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0 100 11843 100 11843 0 0 1024 0 0:00:11 0:00:11 --:--:-- 2752 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh [2022-01-11T21:42:59.569Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T21:42:59.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T21:42:59.912Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T21:42:59.912Z] + sudo tee /etc/docker/daemon.new [2022-01-11T21:42:59.912Z] { [2022-01-11T21:42:59.912Z] "registry-mirrors": [ [2022-01-11T21:42:59.912Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T21:42:59.912Z] ], [2022-01-11T21:42:59.912Z] "bip": "10.250.0.254/24", [2022-01-11T21:42:59.912Z] "hosts": [ [2022-01-11T21:42:59.912Z] "tcp://0.0.0.0:5555", [2022-01-11T21:42:59.912Z] "unix:///var/run/docker.sock" [2022-01-11T21:42:59.912Z] ], [2022-01-11T21:42:59.912Z] "mtu": 1458, [2022-01-11T21:42:59.912Z] "selinux-enabled": true, [2022-01-11T21:42:59.912Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T21:42:59.912Z] } [Pipeline] sh [2022-01-11T21:43:00.005Z] + ls -al . [2022-01-11T21:43:00.005Z] total 268 [2022-01-11T21:43:00.005Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 11 21:42 . [2022-01-11T21:43:00.005Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 11 21:40 .. [2022-01-11T21:43:00.005Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 21:40 bin [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 21:40 CHANGELOG.md [2022-01-11T21:43:00.005Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 21:42 coverage.out [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 21:40 .dockerignore [2022-01-11T21:43:00.005Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 21:40 example [2022-01-11T21:43:00.005Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 21:40 .git [2022-01-11T21:43:00.005Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 21:40 .github [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 21:40 .gitignore [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 21:40 .golangci.yml [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 21:40 go.mod [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 21:40 go.sum [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 21:40 GOVERNANCE.md [2022-01-11T21:43:00.005Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 21:40 internal [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 21:40 Jenkinsfile [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 21:40 LICENSE [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 1613 Jan 11 21:40 Makefile [2022-01-11T21:43:00.005Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 21:40 openapi [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 21:40 OWNERS.md [2022-01-11T21:43:00.005Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 21:40 pkg [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 21:40 README.md [2022-01-11T21:43:00.005Z] drwx------. 3 jenkins jenkins 72 Jan 11 21:40 .semver [2022-01-11T21:43:00.005Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 21:40 snap [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 21:40 VERSION [2022-01-11T21:43:00.005Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 21:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:43:00.256Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T21:43:00.359Z] + 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=5ad40cc097c3d24883087e08febb0400b354884e --label arch=amd64 --label version=0.0.0 . [2022-01-11T21:43:00.359Z] Sending build context to Docker daemon 9.462MB [2022-01-11T21:43:00.359Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T21:43:00.359Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T21:43:00.359Z] ---> bcac4c1830b4 [2022-01-11T21:43:00.359Z] Step 3/24 : ARG MAKE=make build [2022-01-11T21:43:00.608Z] + sudo service docker restart [2022-01-11T21:43:00.622Z] ---> Running in bb76c8f315e6 [2022-01-11T21:43:00.622Z] Removing intermediate container bb76c8f315e6 [2022-01-11T21:43:00.622Z] ---> ef154e681547 [2022-01-11T21:43:00.622Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T21:43:00.622Z] ---> Running in 0ace3eed8089 [2022-01-11T21:43:00.622Z] Removing intermediate container 0ace3eed8089 [2022-01-11T21:43:00.622Z] ---> 0cc0ab1b936c [2022-01-11T21:43:00.622Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T21:43:00.622Z] ---> Running in 9f863a5d4259 [2022-01-11T21:43:00.886Z] Removing intermediate container 9f863a5d4259 [2022-01-11T21:43:00.886Z] ---> bf2135bc4cf2 [2022-01-11T21:43:00.886Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T21:43:00.886Z] ---> Running in 239ec6cfc1a0 [2022-01-11T21:43:01.469Z] Removing intermediate container 239ec6cfc1a0 [2022-01-11T21:43:01.469Z] ---> 96dcfe925a6b [2022-01-11T21:43:01.469Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T21:43:01.469Z] ---> Running in beaf136f96f3 [2022-01-11T21:43:01.469Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T21:43:02.414Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T21:43:02.675Z] OK: 220 MiB in 52 packages [2022-01-11T21:43:02.936Z] Removing intermediate container beaf136f96f3 [2022-01-11T21:43:02.936Z] ---> 33a56e36aea7 [2022-01-11T21:43:02.936Z] Step 8/24 : COPY . . [2022-01-11T21:43:03.509Z] ---> 70eb4ca03438 [2022-01-11T21:43:03.509Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T21:43:03.509Z] ---> Running in 6b1b65bb348f [2022-01-11T21:43:04.089Z] Removing intermediate container 6b1b65bb348f [2022-01-11T21:43:04.089Z] ---> 18adf0a2d54a [2022-01-11T21:43:04.089Z] Step 10/24 : RUN ${MAKE} [2022-01-11T21:43:04.089Z] ---> Running in 14fcd36545eb [2022-01-11T21:43:04.366Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T21:43:16.724Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T21:43:16.724Z] Removing intermediate container 14fcd36545eb [2022-01-11T21:43:16.724Z] ---> ffd502da1fb4 [2022-01-11T21:43:16.724Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T21:43:16.724Z] 3.14: Pulling from library/alpine [2022-01-11T21:43:16.724Z] 97518928ae5f: Pulling fs layer [2022-01-11T21:43:16.984Z] 97518928ae5f: Verifying Checksum [2022-01-11T21:43:16.984Z] 97518928ae5f: Download complete [2022-01-11T21:43:16.984Z] 97518928ae5f: Pull complete [2022-01-11T21:43:16.984Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T21:43:16.984Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T21:43:16.984Z] ---> 0a97eee8041e [2022-01-11T21:43:16.984Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T21:43:17.246Z] ---> Running in 353176e1e675 [2022-01-11T21:43:17.246Z] Removing intermediate container 353176e1e675 [2022-01-11T21:43:17.246Z] ---> 868df3d8c574 [2022-01-11T21:43:17.246Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T21:43:17.246Z] ---> Running in aa1e73cd92ad [2022-01-11T21:43:17.819Z] Removing intermediate container aa1e73cd92ad [2022-01-11T21:43:17.819Z] ---> 04f7415ddaa9 [2022-01-11T21:43:17.819Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T21:43:17.819Z] ---> Running in 269b990b789e [2022-01-11T21:43:18.090Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T21:43:18.666Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T21:43:18.977Z] provisioning config files... [2022-01-11T21:43:18.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2807289527400714663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:43:19.238Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T21:43:19.238Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T21:43:19.238Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T21:43:19.381Z] ---> docker-login.sh [2022-01-11T21:43:19.381Z] nexus3.edgexfoundry.org:10001 [2022-01-11T21:43:19.500Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T21:43:19.500Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T21:43:19.500Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T21:43:19.500Z] OK: 8 MiB in 19 packages [2022-01-11T21:43:19.762Z] Removing intermediate container 269b990b789e [2022-01-11T21:43:19.762Z] ---> a78b74f32039 [2022-01-11T21:43:19.762Z] Step 15/24 : WORKDIR / [2022-01-11T21:43:19.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:43:19.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:43:19.971Z] Configure a credential helper to remove this warning. See [2022-01-11T21:43:19.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:43:19.971Z] [2022-01-11T21:43:19.971Z] Login Succeeded [2022-01-11T21:43:19.971Z] nexus3.edgexfoundry.org:10002 [2022-01-11T21:43:20.025Z] ---> Running in 4a78a29ce5af [2022-01-11T21:43:20.025Z] Removing intermediate container 4a78a29ce5af [2022-01-11T21:43:20.025Z] ---> 38831e959bbb [2022-01-11T21:43:20.025Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T21:43:20.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:43:20.288Z] ---> d3f041021761 [2022-01-11T21:43:20.288Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T21:43:20.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:43:20.512Z] Configure a credential helper to remove this warning. See [2022-01-11T21:43:20.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:43:20.512Z] [2022-01-11T21:43:20.512Z] Login Succeeded [2022-01-11T21:43:20.512Z] nexus3.edgexfoundry.org:10003 [2022-01-11T21:43:20.553Z] ---> 1796dcb8d080 [2022-01-11T21:43:20.554Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T21:43:20.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:43:20.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:43:20.784Z] Configure a credential helper to remove this warning. See [2022-01-11T21:43:20.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:43:20.784Z] [2022-01-11T21:43:20.784Z] Login Succeeded [2022-01-11T21:43:20.784Z] nexus3.edgexfoundry.org:10004 [2022-01-11T21:43:20.812Z] ---> 9418a980c9ff [2022-01-11T21:43:20.812Z] Step 19/24 : EXPOSE 59999 [2022-01-11T21:43:20.812Z] ---> Running in e14cc0ee5238 [2022-01-11T21:43:20.812Z] Removing intermediate container e14cc0ee5238 [2022-01-11T21:43:20.812Z] ---> e7352a659d2b [2022-01-11T21:43:20.812Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T21:43:20.812Z] ---> Running in 0a33e9c63909 [2022-01-11T21:43:20.812Z] Removing intermediate container 0a33e9c63909 [2022-01-11T21:43:20.812Z] ---> 365c8b552812 [2022-01-11T21:43:20.812Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T21:43:21.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T21:43:21.084Z] ---> Running in e95aa24b2f67 [2022-01-11T21:43:21.084Z] Removing intermediate container e95aa24b2f67 [2022-01-11T21:43:21.084Z] ---> 7af4aa822f00 [2022-01-11T21:43:21.084Z] Step 22/24 : LABEL arch=amd64 [2022-01-11T21:43:21.084Z] ---> Running in b8d53397bdef [2022-01-11T21:43:21.084Z] Removing intermediate container b8d53397bdef [2022-01-11T21:43:21.084Z] ---> 0a1ee02151da [2022-01-11T21:43:21.084Z] Step 23/24 : LABEL git_sha=5ad40cc097c3d24883087e08febb0400b354884e [2022-01-11T21:43:21.084Z] ---> Running in 13c282d1d651 [2022-01-11T21:43:21.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:43:21.333Z] Configure a credential helper to remove this warning. See [2022-01-11T21:43:21.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:43:21.333Z] [2022-01-11T21:43:21.333Z] Login Succeeded [2022-01-11T21:43:21.333Z] docker.io [2022-01-11T21:43:21.350Z] Removing intermediate container 13c282d1d651 [2022-01-11T21:43:21.350Z] ---> c72b7dd0e92d [2022-01-11T21:43:21.350Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T21:43:21.350Z] ---> Running in c3bc5bcba670 [2022-01-11T21:43:21.350Z] Removing intermediate container c3bc5bcba670 [2022-01-11T21:43:21.350Z] ---> c4d600a7df6b [2022-01-11T21:43:21.350Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T21:43:21.350Z] Successfully built c4d600a7df6b [2022-01-11T21:43:21.350Z] 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 [2022-01-11T21:43:21.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:43:21.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T21:43:21.880Z] Configure a credential helper to remove this warning. See [2022-01-11T21:43:21.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T21:43:21.880Z] [2022-01-11T21:43:21.880Z] Login Succeeded [2022-01-11T21:43:21.880Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T21:43:21.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-01-11T21:43:22.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:43:22.103Z] [2022-01-11T21:43:22.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:43:22.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:43:22.442Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T21:43:22.442Z] b4d181a07f80: Pulling fs layer [2022-01-11T21:43:22.442Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T21:43:22.442Z] ed53099fbce6: Pulling fs layer [2022-01-11T21:43:22.442Z] dc539afda2c1: Pulling fs layer [2022-01-11T21:43:22.442Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T21:43:22.442Z] 9065ff56babe: Pulling fs layer [2022-01-11T21:43:22.442Z] d287ab97295c: Pulling fs layer [2022-01-11T21:43:22.442Z] dc539afda2c1: Waiting [2022-01-11T21:43:22.442Z] 77bc0d833cb6: Waiting [2022-01-11T21:43:22.442Z] 9065ff56babe: Waiting [2022-01-11T21:43:22.442Z] d287ab97295c: Waiting [2022-01-11T21:43:22.442Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T21:43:22.442Z] a1111a8f2ec3: Download complete [2022-01-11T21:43:22.442Z] dc539afda2c1: Verifying Checksum [2022-01-11T21:43:22.442Z] dc539afda2c1: Download complete [Pipeline] echo [2022-01-11T21:43:22.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T21:43:22.551Z] ========================================================= [2022-01-11T21:43:22.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T21:43:22.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:43:22.706Z] ed53099fbce6: Verifying Checksum [2022-01-11T21:43:22.706Z] ed53099fbce6: Download complete [2022-01-11T21:43:22.706Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T21:43:22.706Z] 77bc0d833cb6: Download complete [2022-01-11T21:43:22.706Z] 9065ff56babe: Verifying Checksum [2022-01-11T21:43:22.706Z] 9065ff56babe: Download complete [2022-01-11T21:43:22.706Z] b4d181a07f80: Download complete [2022-01-11T21:43:23.017Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-11T21:43:23.278Z] d287ab97295c: Verifying Checksum [2022-01-11T21:43:23.279Z] d287ab97295c: Download complete [2022-01-11T21:43:23.290Z] Sending build context to Docker daemon 5.043MB [2022-01-11T21:43:23.290Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T21:43:23.290Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T21:43:23.563Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T21:43:23.563Z] 552d1f2373af: Pulling fs layer [2022-01-11T21:43:23.563Z] ea3f2d53f512: Pulling fs layer [2022-01-11T21:43:23.563Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T21:43:23.563Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T21:43:23.563Z] 72dc09318566: Pulling fs layer [2022-01-11T21:43:23.563Z] f4f7b4309257: Pulling fs layer [2022-01-11T21:43:23.563Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T21:43:23.563Z] b78e95d17946: Pulling fs layer [2022-01-11T21:43:23.563Z] f4f7b4309257: Waiting [2022-01-11T21:43:23.563Z] 7a9cfe048b4a: Waiting [2022-01-11T21:43:23.563Z] 72dc09318566: Waiting [2022-01-11T21:43:23.563Z] b78e95d17946: Waiting [2022-01-11T21:43:23.563Z] 9e70ebbbe112: Verifying Checksum [2022-01-11T21:43:23.563Z] 9e70ebbbe112: Download complete [2022-01-11T21:43:23.563Z] ea3f2d53f512: Verifying Checksum [2022-01-11T21:43:23.563Z] ea3f2d53f512: Download complete [2022-01-11T21:43:23.563Z] 72dc09318566: Verifying Checksum [2022-01-11T21:43:23.563Z] 72dc09318566: Download complete [2022-01-11T21:43:23.563Z] f4f7b4309257: Verifying Checksum [2022-01-11T21:43:23.563Z] f4f7b4309257: Download complete [2022-01-11T21:43:23.563Z] 552d1f2373af: Verifying Checksum [2022-01-11T21:43:23.563Z] 552d1f2373af: Download complete [2022-01-11T21:43:23.563Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T21:43:23.563Z] 0ac9a79272e3: Download complete [2022-01-11T21:43:24.163Z] 552d1f2373af: Pull complete [2022-01-11T21:43:24.241Z] b4d181a07f80: Pull complete [2022-01-11T21:43:24.513Z] a1111a8f2ec3: Pull complete [2022-01-11T21:43:24.763Z] ea3f2d53f512: Pull complete [2022-01-11T21:43:25.034Z] 9e70ebbbe112: Pull complete [2022-01-11T21:43:25.097Z] ed53099fbce6: Pull complete [2022-01-11T21:43:25.097Z] dc539afda2c1: Pull complete [2022-01-11T21:43:25.307Z] b78e95d17946: Verifying Checksum [2022-01-11T21:43:25.307Z] b78e95d17946: Download complete [2022-01-11T21:43:25.363Z] 77bc0d833cb6: Pull complete [2022-01-11T21:43:25.363Z] 9065ff56babe: Pull complete [2022-01-11T21:43:25.900Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T21:43:25.900Z] 7a9cfe048b4a: Download complete [2022-01-11T21:43:30.673Z] d287ab97295c: Pull complete [2022-01-11T21:43:30.673Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T21:43:30.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:43:30.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T21:43:30.763Z] prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container [2022-01-11T21:43:31.028Z] $ 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-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T21:43:33.507Z] $ docker top 53c66b7820aaa855b3bcef400745f8d45d1a233ec1755a4976c21aadf59bc90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:43:34.063Z] ---> job-cost.sh [2022-01-11T21:43:34.063Z] lf-activate-venv: SKIPPING [2022-01-11T21:43:34.063Z] INFO: No Stack... [2022-01-11T21:43:34.322Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T21:43:34.892Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T21:43:35.219Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives/cost.csv [2022-01-11T21:43:35.219Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T21:43:35.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [2022-01-11T21:43:35.268Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] did not exist. Created. [2022-01-11T21:43:35.268Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T21:43:35.656Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T21:43:35.712Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T21:43:35.745Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T21:43:35.828Z] $ docker stop --time=1 53c66b7820aaa855b3bcef400745f8d45d1a233ec1755a4976c21aadf59bc90e [2022-01-11T21:43:36.968Z] $ docker rm -f 53c66b7820aaa855b3bcef400745f8d45d1a233ec1755a4976c21aadf59bc90e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T21:43:38.287Z] 7a9cfe048b4a: Pull complete [2022-01-11T21:43:38.287Z] 72dc09318566: Pull complete [2022-01-11T21:43:38.287Z] f4f7b4309257: Pull complete [2022-01-11T21:43:38.287Z] 0ac9a79272e3: Pull complete [2022-01-11T21:43:43.680Z] b78e95d17946: Pull complete [2022-01-11T21:43:43.680Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T21:43:43.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T21:43:43.680Z] ---> 8b459fc5aaf0 [2022-01-11T21:43:43.680Z] Step 3/10 : ARG MAKE=make build [2022-01-11T21:43:45.113Z] ---> Running in d11e5510397a [2022-01-11T21:43:45.113Z] Removing intermediate container d11e5510397a [2022-01-11T21:43:45.113Z] ---> 7385ee98b3ca [2022-01-11T21:43:45.113Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T21:43:45.389Z] ---> Running in 7809b02cc8b2 [2022-01-11T21:43:45.665Z] Removing intermediate container 7809b02cc8b2 [2022-01-11T21:43:45.665Z] ---> 0bc4bc81ec49 [2022-01-11T21:43:45.665Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T21:43:45.665Z] ---> Running in 83ac88526105 [2022-01-11T21:43:46.264Z] Removing intermediate container 83ac88526105 [2022-01-11T21:43:46.264Z] ---> 53a874195cf8 [2022-01-11T21:43:46.264Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T21:43:46.264Z] ---> Running in a901f4d7b513 [2022-01-11T21:43:48.242Z] Removing intermediate container a901f4d7b513 [2022-01-11T21:43:48.242Z] ---> 135e8bbd99e0 [2022-01-11T21:43:48.242Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T21:43:48.242Z] ---> Running in 31a20c9c8b11 [2022-01-11T21:43:49.232Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T21:43:50.214Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T21:43:50.809Z] OK: 219 MiB in 52 packages [2022-01-11T21:43:51.413Z] Removing intermediate container 31a20c9c8b11 [2022-01-11T21:43:51.413Z] ---> 7e07b080d6d7 [2022-01-11T21:43:51.413Z] Step 8/10 : COPY . . [2022-01-11T21:43:52.851Z] ---> 09d85c26e077 [2022-01-11T21:43:52.851Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T21:43:52.851Z] ---> Running in 3864e23d603e [2022-01-11T21:45:14.624Z] Removing intermediate container 3864e23d603e [2022-01-11T21:45:14.624Z] ---> 94e026f22c2d [2022-01-11T21:45:14.624Z] Step 10/10 : RUN ${MAKE} [2022-01-11T21:45:14.624Z] ---> Running in 61ba63bef79c [2022-01-11T21:45:14.624Z] noop [2022-01-11T21:45:14.624Z] Removing intermediate container 61ba63bef79c [2022-01-11T21:45:14.624Z] ---> 2e0c74844399 [2022-01-11T21:45:14.624Z] Successfully built 2e0c74844399 [2022-01-11T21:45:14.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:45:14.988Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T21:45:14.988Z] . [Pipeline] withDockerContainer [2022-01-11T21:45:15.202Z] prd-ubuntu18.04-docker-arm64-4c-16g-1277 does not seem to be running inside a container [2022-01-11T21:45:15.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T21:45:16.500Z] $ docker top 87c5c30b3bd0079aab60fdd15192b27778f4d6f9c4a2102533bbd203b6da2588 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:45:17.417Z] + go version [2022-01-11T21:45:17.417Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T21:45:17.452Z] $ docker stop --time=1 87c5c30b3bd0079aab60fdd15192b27778f4d6f9c4a2102533bbd203b6da2588 [2022-01-11T21:45:19.039Z] $ docker rm -f 87c5c30b3bd0079aab60fdd15192b27778f4d6f9c4a2102533bbd203b6da2588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:45:19.836Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T21:45:19.836Z] . [Pipeline] withDockerContainer [2022-01-11T21:45:20.043Z] prd-ubuntu18.04-docker-arm64-4c-16g-1277 does not seem to be running inside a container [2022-01-11T21:45:20.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T21:45:21.410Z] $ docker top 9b0cb07bfbfbdd5a8a4035bc48366cbbdbda4bc50c34606477c5b545ad278053 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:45:22.364Z] + make test [2022-01-11T21:45:22.364Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T21:45:49.163Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T21:46:45.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T21:46:45.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T21:46:45.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T21:46:58.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.272s coverage: 23.3% of statements [2022-01-11T21:46:58.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T21:46:58.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.217s coverage: 27.6% of statements [2022-01-11T21:46:58.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements [2022-01-11T21:46:58.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.247s coverage: 9.0% of statements [2022-01-11T21:46:58.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T21:46:58.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T21:46:58.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T21:46:59.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.424s coverage: 28.7% of statements [2022-01-11T21:46:59.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T21:47:01.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.260s coverage: 86.1% of statements [2022-01-11T21:47:01.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T21:47:01.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T21:47:01.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.397s coverage: 57.4% of statements [2022-01-11T21:47:03.044Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.157s coverage: 89.2% of statements [2022-01-11T21:47:03.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T21:47:03.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.8% of statements [2022-01-11T21:47:03.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T21:47:04.231Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T21:47:04.231Z] GO111MODULE=on go vet ./... [2022-01-11T21:48:00.793Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T21:48:00.793Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T21:48:00.793Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T21:48:00.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T21:48:00.865Z] $ docker stop --time=1 9b0cb07bfbfbdd5a8a4035bc48366cbbdbda4bc50c34606477c5b545ad278053 [2022-01-11T21:48:02.665Z] $ docker rm -f 9b0cb07bfbfbdd5a8a4035bc48366cbbdbda4bc50c34606477c5b545ad278053 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:48:03.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T21:48:03.810Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T21:48:04.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:48:04.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T21:48:05.244Z] + ls -al . [2022-01-11T21:48:05.244Z] total 304 [2022-01-11T21:48:05.244Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:48 . [2022-01-11T21:48:05.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:42 .. [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 21:42 .dockerignore [2022-01-11T21:48:05.244Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:42 .git [2022-01-11T21:48:05.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:42 .github [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 21:42 .gitignore [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 21:42 .golangci.yml [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 21:42 CHANGELOG.md [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:42 GOVERNANCE.md [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 21:42 Jenkinsfile [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 21:42 LICENSE [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 1613 Jan 11 21:42 Makefile [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 21:42 OWNERS.md [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 21:42 README.md [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:40 VERSION [2022-01-11T21:48:05.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:42 bin [2022-01-11T21:48:05.244Z] -rw-r--r-- 1 jenkins jenkins 128668 Jan 11 21:47 coverage.out [2022-01-11T21:48:05.244Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 21:42 example [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 21:42 go.mod [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 21:42 go.sum [2022-01-11T21:48:05.244Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 21:42 internal [2022-01-11T21:48:05.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:42 openapi [2022-01-11T21:48:05.244Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 21:42 pkg [2022-01-11T21:48:05.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:42 snap [2022-01-11T21:48:05.244Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 21:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:48:05.611Z] + 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=5ad40cc097c3d24883087e08febb0400b354884e --label arch=arm64 --label version=0.0.0 . [2022-01-11T21:48:05.883Z] Sending build context to Docker daemon 5.173MB [2022-01-11T21:48:06.155Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T21:48:06.155Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T21:48:06.155Z] ---> 2e0c74844399 [2022-01-11T21:48:06.155Z] Step 3/24 : ARG MAKE=make build [2022-01-11T21:48:06.155Z] ---> Running in dafde667a4b3 [2022-01-11T21:48:06.432Z] Removing intermediate container dafde667a4b3 [2022-01-11T21:48:06.432Z] ---> 74723310906a [2022-01-11T21:48:06.432Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T21:48:06.704Z] ---> Running in d2ccc15342e4 [2022-01-11T21:48:06.981Z] Removing intermediate container d2ccc15342e4 [2022-01-11T21:48:06.982Z] ---> b1f1a4d0bfe3 [2022-01-11T21:48:06.982Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T21:48:06.982Z] ---> Running in 18a87e4363f0 [2022-01-11T21:48:07.254Z] Removing intermediate container 18a87e4363f0 [2022-01-11T21:48:07.254Z] ---> e674eb70dbf9 [2022-01-11T21:48:07.254Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T21:48:07.527Z] ---> Running in a6085f6f4ed3 [2022-01-11T21:48:09.502Z] Removing intermediate container a6085f6f4ed3 [2022-01-11T21:48:09.502Z] ---> ee46b9cc37d6 [2022-01-11T21:48:09.502Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T21:48:09.502Z] ---> Running in 4607fb27fd94 [2022-01-11T21:48:10.095Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T21:48:11.074Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T21:48:12.056Z] OK: 219 MiB in 52 packages [2022-01-11T21:48:12.654Z] Removing intermediate container 4607fb27fd94 [2022-01-11T21:48:12.654Z] ---> beb6e3fb0176 [2022-01-11T21:48:12.654Z] Step 8/24 : COPY . . [2022-01-11T21:48:14.082Z] ---> 54516fdd24b4 [2022-01-11T21:48:14.082Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T21:48:14.082Z] ---> Running in eef2cc3ea50e [2022-01-11T21:48:16.052Z] Removing intermediate container eef2cc3ea50e [2022-01-11T21:48:16.052Z] ---> 7300d101958e [2022-01-11T21:48:16.052Z] Step 10/24 : RUN ${MAKE} [2022-01-11T21:48:16.052Z] ---> Running in 5c750452b875 [2022-01-11T21:48:17.029Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T21:48:49.386Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T21:48:50.809Z] Removing intermediate container 5c750452b875 [2022-01-11T21:48:50.809Z] ---> 0722e1435569 [2022-01-11T21:48:50.809Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T21:48:51.399Z] 3.14: Pulling from library/alpine [2022-01-11T21:48:51.669Z] be307f383ecc: Pulling fs layer [2022-01-11T21:48:51.939Z] be307f383ecc: Verifying Checksum [2022-01-11T21:48:51.939Z] be307f383ecc: Download complete [2022-01-11T21:48:52.535Z] be307f383ecc: Pull complete [2022-01-11T21:48:52.535Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T21:48:52.535Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T21:48:52.535Z] ---> 5b8b7b635229 [2022-01-11T21:48:52.535Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T21:48:52.535Z] ---> Running in 75e49de8e78f [2022-01-11T21:48:52.806Z] Removing intermediate container 75e49de8e78f [2022-01-11T21:48:52.806Z] ---> 21c981613441 [2022-01-11T21:48:52.806Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T21:48:53.079Z] ---> Running in 41537e78337a [2022-01-11T21:48:54.516Z] Removing intermediate container 41537e78337a [2022-01-11T21:48:54.516Z] ---> a918164df7cf [2022-01-11T21:48:54.516Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T21:48:54.516Z] ---> Running in d3fe051af6af [2022-01-11T21:48:55.493Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T21:48:56.471Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T21:48:57.450Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T21:48:57.450Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T21:48:57.450Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T21:48:57.726Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T21:48:57.726Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T21:48:57.726Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T21:48:57.726Z] OK: 8 MiB in 19 packages [2022-01-11T21:48:58.705Z] Removing intermediate container d3fe051af6af [2022-01-11T21:48:58.705Z] ---> c0fc89b133ae [2022-01-11T21:48:58.705Z] Step 15/24 : WORKDIR / [2022-01-11T21:48:58.705Z] ---> Running in bcedb98cea00 [2022-01-11T21:48:59.299Z] Removing intermediate container bcedb98cea00 [2022-01-11T21:48:59.299Z] ---> 5b4b9a42b133 [2022-01-11T21:48:59.299Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T21:48:59.895Z] ---> 2ba068bccb6b [2022-01-11T21:48:59.895Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T21:49:00.877Z] ---> 84696ead08bf [2022-01-11T21:49:00.878Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T21:49:01.150Z] ---> 8373c7ba6199 [2022-01-11T21:49:01.150Z] Step 19/24 : EXPOSE 59999 [2022-01-11T21:49:01.421Z] ---> Running in d5183d06f055 [2022-01-11T21:49:01.694Z] Removing intermediate container d5183d06f055 [2022-01-11T21:49:01.694Z] ---> 89b9ae81fe23 [2022-01-11T21:49:01.694Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T21:49:01.694Z] ---> Running in 7f65a5be2a5f [2022-01-11T21:49:01.970Z] Removing intermediate container 7f65a5be2a5f [2022-01-11T21:49:01.970Z] ---> 00eaaa3163ef [2022-01-11T21:49:01.970Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T21:49:02.243Z] ---> Running in 3f5aae52aaa5 [2022-01-11T21:49:02.515Z] Removing intermediate container 3f5aae52aaa5 [2022-01-11T21:49:02.515Z] ---> 3bcca28b1495 [2022-01-11T21:49:02.515Z] Step 22/24 : LABEL arch=arm64 [2022-01-11T21:49:02.515Z] ---> Running in f733148bef69 [2022-01-11T21:49:03.123Z] Removing intermediate container f733148bef69 [2022-01-11T21:49:03.123Z] ---> cf5f491c4693 [2022-01-11T21:49:03.123Z] Step 23/24 : LABEL git_sha=5ad40cc097c3d24883087e08febb0400b354884e [2022-01-11T21:49:03.123Z] ---> Running in 4574ec49c0fd [2022-01-11T21:49:03.405Z] Removing intermediate container 4574ec49c0fd [2022-01-11T21:49:03.405Z] ---> fd360944a6c6 [2022-01-11T21:49:03.405Z] Step 24/24 : LABEL version=0.0.0 [2022-01-11T21:49:03.405Z] ---> Running in c4a056a5c8e0 [2022-01-11T21:49:04.002Z] Removing intermediate container c4a056a5c8e0 [2022-01-11T21:49:04.002Z] ---> c3d8125a0c8e [2022-01-11T21:49:04.002Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T21:49:04.002Z] Successfully built c3d8125a0c8e [2022-01-11T21:49:04.002Z] 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-01-11T21:49:04.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:49:04.697Z] [2022-01-11T21:49:04.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:49:05.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:49:05.074Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T21:49:05.074Z] 448f6bf000e3: Pulling fs layer [2022-01-11T21:49:05.074Z] f757da607395: Pulling fs layer [2022-01-11T21:49:05.074Z] 05883995daec: Pulling fs layer [2022-01-11T21:49:05.074Z] 8603b9c90790: Pulling fs layer [2022-01-11T21:49:05.074Z] 1560dd03e051: Pulling fs layer [2022-01-11T21:49:05.074Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T21:49:05.074Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T21:49:05.074Z] 1560dd03e051: Waiting [2022-01-11T21:49:05.074Z] 8603b9c90790: Waiting [2022-01-11T21:49:05.074Z] 27f5ce0e4adf: Waiting [2022-01-11T21:49:05.074Z] c2d8d7efcc4b: Waiting [2022-01-11T21:49:05.347Z] f757da607395: Verifying Checksum [2022-01-11T21:49:05.348Z] f757da607395: Download complete [2022-01-11T21:49:05.348Z] 8603b9c90790: Verifying Checksum [2022-01-11T21:49:05.348Z] 8603b9c90790: Download complete [2022-01-11T21:49:05.348Z] 1560dd03e051: Verifying Checksum [2022-01-11T21:49:05.348Z] 1560dd03e051: Download complete [2022-01-11T21:49:05.348Z] 27f5ce0e4adf: Download complete [2022-01-11T21:49:05.348Z] 05883995daec: Verifying Checksum [2022-01-11T21:49:05.348Z] 05883995daec: Download complete [2022-01-11T21:49:05.942Z] 448f6bf000e3: Verifying Checksum [2022-01-11T21:49:05.942Z] 448f6bf000e3: Download complete [2022-01-11T21:49:07.915Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T21:49:07.915Z] c2d8d7efcc4b: Download complete [2022-01-11T21:49:09.345Z] 448f6bf000e3: Pull complete [2022-01-11T21:49:09.938Z] f757da607395: Pull complete [2022-01-11T21:49:11.365Z] 05883995daec: Pull complete [2022-01-11T21:49:11.636Z] 8603b9c90790: Pull complete [2022-01-11T21:49:12.231Z] 1560dd03e051: Pull complete [2022-01-11T21:49:12.501Z] 27f5ce0e4adf: Pull complete [2022-01-11T21:49:27.564Z] c2d8d7efcc4b: Pull complete [2022-01-11T21:49:27.564Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T21:49:27.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:49:27.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T21:49:27.810Z] prd-ubuntu18.04-docker-arm64-4c-16g-1277 does not seem to be running inside a container [2022-01-11T21:49:27.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T21:49:30.545Z] $ docker top a9fc60187b726b7cd5afd183cf88f543621e6817072a9f4f1bddc3e815711dda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:31.529Z] ---> job-cost.sh [2022-01-11T21:49:31.529Z] lf-activate-venv: SKIPPING [2022-01-11T21:49:31.529Z] INFO: No Stack... [2022-01-11T21:49:31.803Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T21:49:32.076Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T21:49:32.763Z] + cut -d, -f6 [2022-01-11T21:49:32.763Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-01-11T21:49:32.853Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [2022-01-11T21:49:32.858Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] did not exist. Created. [2022-01-11T21:49:32.858Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T21:49:33.611Z] /w/workspace/device-sdk-go/1@tmp/durable-5e037d2b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-5e037d2b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T21:49:34.309Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T21:49:34.349Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T21:49:34.410Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T21:49:34.426Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T21:49:34.504Z] $ docker stop --time=1 a9fc60187b726b7cd5afd183cf88f543621e6817072a9f4f1bddc3e815711dda [2022-01-11T21:49:36.039Z] $ docker rm -f a9fc60187b726b7cd5afd183cf88f543621e6817072a9f4f1bddc3e815711dda [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-01-11T21:49:37.092Z] provisioning config files... [2022-01-11T21:49:37.106Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config3877617197955219566tmp [Pipeline] { [Pipeline] sh [2022-01-11T21:49:37.444Z] + set +x [2022-01-11T21:49:37.444Z] + curl -s https://codecov.io/bash [2022-01-11T21:49:37.444Z] + bash -s -- [2022-01-11T21:49:37.444Z] [2022-01-11T21:49:37.444Z] _____ _ [2022-01-11T21:49:37.444Z] / ____| | | [2022-01-11T21:49:37.444Z] | | ___ __| | ___ ___ _____ __ [2022-01-11T21:49:37.444Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-11T21:49:37.444Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-11T21:49:37.444Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-11T21:49:37.444Z] Bash-1.0.6 [2022-01-11T21:49:37.444Z] [2022-01-11T21:49:37.444Z] [2022-01-11T21:49:37.444Z] ==> git version 2.24.4 found [2022-01-11T21:49:37.444Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-11T21:49:37.444Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-11T21:49:37.444Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-11T21:49:37.444Z] ==> Jenkins CI detected. [2022-01-11T21:49:37.444Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1080 [2022-01-11T21:49:37.444Z] project root: . [2022-01-11T21:49:37.444Z] --> token set from env [2022-01-11T21:49:37.444Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-11T21:49:37.707Z] ==> Running gcov in . (disable via -X gcov) [2022-01-11T21:49:37.707Z] ==> Python coveragepy not found [2022-01-11T21:49:37.707Z] ==> Searching for coverage reports in: [2022-01-11T21:49:37.707Z] + . [2022-01-11T21:49:37.707Z] -> Found 1 reports [2022-01-11T21:49:37.707Z] ==> Detecting git/mercurial file structure [2022-01-11T21:49:37.707Z] ==> Reading reports [2022-01-11T21:49:37.707Z] + ./coverage.out bytes=128668 [2022-01-11T21:49:37.707Z] ==> Appending adjustments [2022-01-11T21:49:37.707Z] https://docs.codecov.io/docs/fixing-reports [2022-01-11T21:49:37.707Z] + Found adjustments [2022-01-11T21:49:37.707Z] ==> Gzipping contents [2022-01-11T21:49:37.707Z] 16K /tmp/codecov.AX0bIt.gz [2022-01-11T21:49:37.707Z] ==> Uploading reports [2022-01-11T21:49:37.707Z] url: https://codecov.io [2022-01-11T21:49:37.707Z] query: branch=PR-1080&commit=5ad40cc097c3d24883087e08febb0400b354884e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1080%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1080&job=&cmd_args= [2022-01-11T21:49:37.707Z] -> Pinging Codecov [2022-01-11T21:49:37.707Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1080&commit=5ad40cc097c3d24883087e08febb0400b354884e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1080%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1080&job=&cmd_args= [2022-01-11T21:49:38.276Z] -> Uploading to [2022-01-11T21:49:38.276Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-11/7E55EF52A471D76F132DFD9A03CDDE97/5ad40cc097c3d24883087e08febb0400b354884e/e6427068-02be-4430-8c63-0eb5c1d6995a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T214938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a221d20b37e3677de92c275b1b6d4a4f86872998a1d8498e6280642d2842b30 [2022-01-11T21:49:38.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T21:49:38.276Z] Dload Upload Total Spent Left Speed [2022-01-11T21:49:38.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16374 0 0 100 16374 0 49554 --:--:-- --:--:-- --:--:-- 49618 [2022-01-11T21:49:38.536Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] } [2022-01-11T21:49:38.561Z] 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-01-11T21:49:40.285Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives ']' [2022-01-11T21:49:40.285Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives [2022-01-11T21:49:40.285Z] total 8 [2022-01-11T21:49:40.285Z] drwxr-xr-x. 3 root root 34 Jan 11 21:43 . [2022-01-11T21:49:40.285Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 21:43 .. [2022-01-11T21:49:40.285Z] drwxr-xr-x. 2 root root 6 Jan 11 21:43 cost [2022-01-11T21:49:40.285Z] -rw-r--r--. 1 root root 85 Jan 11 21:43 cost.csv [2022-01-11T21:49:40.285Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives [2022-01-11T21:49:40.285Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives [2022-01-11T21:49:40.285Z] total 8 [2022-01-11T21:49:40.285Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 21:43 . [2022-01-11T21:49:40.285Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 21:43 .. [2022-01-11T21:49:40.285Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 21:43 cost [2022-01-11T21:49:40.285Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 11 21:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:40.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:41.207Z] ---> package-listing.sh [2022-01-11T21:49:41.208Z] ++ facter osfamily [2022-01-11T21:49:41.208Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T21:49:41.472Z] + OS_FAMILY=redhat [2022-01-11T21:49:41.472Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1080 [2022-01-11T21:49:41.472Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T21:49:41.472Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T21:49:41.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T21:49:41.472Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T21:49:41.472Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1080 ']' [2022-01-11T21:49:41.472Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T21:49:41.472Z] + case "${OS_FAMILY}" in [2022-01-11T21:49:41.472Z] + rpm -qa [2022-01-11T21:49:41.472Z] + sort [2022-01-11T21:49:42.042Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T21:49:42.042Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T21:49:42.042Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T21:49:42.042Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1080 ']' [2022-01-11T21:49:42.042Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives/ [2022-01-11T21:49:42.042Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives/ [Pipeline] echo [2022-01-11T21:49:42.074Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1080/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T21:49:42.370Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:49:42.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:49:42.954Z] . [Pipeline] withDockerContainer [2022-01-11T21:49:43.042Z] prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container [2022-01-11T21:49:43.075Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1080/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-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T21:49:43.288Z] $ docker top d5abb6ec67e34688e2dade42797c34d81ed1e3f73cf71f475660fdd2ba577788 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:49:43.695Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T21:49:44.015Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T21:49:44.326Z] + ls /var/log/sa-host [2022-01-11T21:49:44.326Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T21:49:44.326Z] file_magic: OK [2022-01-11T21:49:44.326Z] HZ: Using current value: 100 [2022-01-11T21:49:44.326Z] file_header: OK [2022-01-11T21:49:44.326Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T21:49:44.326Z] Statistics: [2022-01-11T21:49:44.326Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T21:49:44.326Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T21:49:44.326Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T21:49:44.326Z] file_magic: OK [2022-01-11T21:49:44.326Z] HZ: Using current value: 100 [2022-01-11T21:49:44.326Z] file_header: OK [2022-01-11T21:49:44.326Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T21:49:44.326Z] Statistics: [2022-01-11T21:49:44.326Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T21:49:44.326Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T21:49:44.606Z] provisioning config files... [2022-01-11T21:49:44.617Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config4610223371318358465tmp [Pipeline] { [Pipeline] echo [2022-01-11T21:49:44.671Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:44.984Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T21:49:45.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:45.431Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T21:49:45.463Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:45.778Z] ---> sudo-logs.sh [2022-01-11T21:49:45.778Z] Archiving 'sudo' log.. [2022-01-11T21:49:45.778Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1276.novalocal: Name or service not known [2022-01-11T21:49:45.778Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1276.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T21:49:45.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:46.189Z] ---> job-cost.sh [2022-01-11T21:49:46.189Z] lf-activate-venv: SKIPPING [2022-01-11T21:49:46.189Z] DEBUG: total: 0.05999999865889549 [2022-01-11T21:49:46.189Z] INFO: Retrieving Stack Cost... [2022-01-11T21:49:46.453Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T21:49:46.714Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T21:49:46.749Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:49:47.083Z] ---> logs-deploy.sh [2022-01-11T21:49:47.083Z] lf-activate-venv: SKIPPING [2022-01-11T21:49:47.083Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1080/1 [2022-01-11T21:49:47.083Z] INFO: archiving workspace using pattern(s): [2022-01-11T21:49:47.656Z] Archives upload complete. [2022-01-11T21:49:47.922Z] INFO: archiving logs to Nexus