Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bfcfbcd4b592c3bf6de8e57d339223d935e44f8d+20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b (cc0e4189d60255710bd9f1cc36d5c022dcf1762a) 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-ssh18356883978991464218.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6894920455566634069.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3489499036810912551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh12825165409193795516.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8863842760310311826.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34638 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b into PR head commit bfcfbcd4b592c3bf6de8e57d339223d935e44f8d Merge succeeded, producing bfcfbcd4b592c3bf6de8e57d339223d935e44f8d Checking out Revision bfcfbcd4b592c3bf6de8e57d339223d935e44f8d (PR-1144) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfcfbcd4b592c3bf6de8e57d339223d935e44f8d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfcfbcd4b592c3bf6de8e57d339223d935e44f8d # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. > git rev-list --no-walk e47061ae588dd9220942c8dca743ad110225dd67 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T01:34:21.549Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T01:34:21.621Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T01:34:21.639Z] ========================================================= [2022-05-03T01:34:21.639Z] EdgeX Global Pipelines Version Info [2022-05-03T01:34:21.639Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:34:22.817Z] ------------------- [2022-05-03T01:34:22.817Z] stable info: [2022-05-03T01:34:22.817Z] ------------------- [2022-05-03T01:34:22.817Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T01:34:22.817Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T01:34:22.817Z] Message: update stable to v1.0.227 [2022-05-03T01:34:23.079Z] ------------------- [2022-05-03T01:34:23.079Z] experimental info: [2022-05-03T01:34:23.079Z] ------------------- [2022-05-03T01:34:23.079Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T01:34:23.079Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T01:34:23.079Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T01:34:23.216Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-03T01:34:23.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-03T01:34:23.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T01:34:23.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T01:34:23.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T01:34:23.289Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T01:34:23.302Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T01:34:23.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-03T01:34:23.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T01:34:23.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T01:34:23.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T01:34:23.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-03T01:34:23.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T01:34:23.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T01:34:23.465Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T01:34:23.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T01:34:23.502Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T01:34:23.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T01:34:23.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T01:34:23.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T01:34:23.544Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-03T01:34:23.553Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-03T01:34:23.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T01:34:23.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T01:34:23.603Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T01:34:23.621Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T01:34:23.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-05-03T01:34:23.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-05-03T01:34:23.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-05-03T01:34:23.682Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [Pipeline] echo [2022-05-03T01:34:23.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfcfbcd [Pipeline] echo [2022-05-03T01:34:23.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:34:23.766Z] provisioning config files... [2022-05-03T01:34:23.782Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4387884016622243561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:34:24.087Z] ---> docker-login.sh [2022-05-03T01:34:24.087Z] nexus3.edgexfoundry.org:10001 [2022-05-03T01:34:24.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:24.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:24.610Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:24.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:24.610Z] [2022-05-03T01:34:24.610Z] Login Succeeded [2022-05-03T01:34:24.610Z] nexus3.edgexfoundry.org:10002 [2022-05-03T01:34:24.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:24.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:24.610Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:24.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:24.610Z] [2022-05-03T01:34:24.610Z] Login Succeeded [2022-05-03T01:34:24.610Z] nexus3.edgexfoundry.org:10003 [2022-05-03T01:34:24.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:24.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:24.872Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:24.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:24.872Z] [2022-05-03T01:34:24.872Z] Login Succeeded [2022-05-03T01:34:24.872Z] nexus3.edgexfoundry.org:10004 [2022-05-03T01:34:24.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:24.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:24.872Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:24.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:24.872Z] [2022-05-03T01:34:24.872Z] Login Succeeded [2022-05-03T01:34:24.872Z] docker.io [2022-05-03T01:34:24.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:25.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:25.445Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:25.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:25.445Z] [2022-05-03T01:34:25.445Z] Login Succeeded [2022-05-03T01:34:25.445Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T01:34:25.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T01:34:25.842Z] + git rev-list -1 --merges bfcfbcd4b592c3bf6de8e57d339223d935e44f8d~1..bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [Pipeline] echo [2022-05-03T01:34:25.959Z] -----------> git rev-list -1 --merges bfcfbcd4b592c3bf6de8e57d339223d935e44f8d~1..bfcfbcd4b592c3bf6de8e57d339223d935e44f8d bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [false] [Pipeline] sh [2022-05-03T01:34:26.254Z] + git log --format=format:%s -1 bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [Pipeline] echo [2022-05-03T01:34:26.281Z] ========================================================= [2022-05-03T01:34:26.281Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T01:34:26.281Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T01:34:26.620Z] + git log --format=format:%s -1 bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [Pipeline] echo [2022-05-03T01:34:26.634Z] [semverPrep] GIT_COMMIT: bfcfbcd4b592c3bf6de8e57d339223d935e44f8d, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo [2022-05-03T01:34:26.643Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T01:34:27.021Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T01:34:27.022Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T01:34:27.022Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T01:34:27.022Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T01:34:27.022Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T01:34:27.022Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T01:34:27.022Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:34:27.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T01:34:27.369Z] [2022-05-03T01:34:27.369Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:34:27.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T01:34:27.687Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T01:34:27.687Z] 1fe172e4850f: Pulling fs layer [2022-05-03T01:34:27.687Z] caf521ccaac6: Pulling fs layer [2022-05-03T01:34:27.687Z] 3ead6fa29328: Pulling fs layer [2022-05-03T01:34:27.687Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T01:34:27.687Z] a8d5f1318db7: Pulling fs layer [2022-05-03T01:34:27.687Z] c427282e49a2: Pulling fs layer [2022-05-03T01:34:27.687Z] 1827001aaf11: Pulling fs layer [2022-05-03T01:34:27.687Z] 0714d37db230: Pulling fs layer [2022-05-03T01:34:27.687Z] ac28cf19c067: Pulling fs layer [2022-05-03T01:34:27.687Z] ca983d60f3e2: Pulling fs layer [2022-05-03T01:34:27.687Z] 9f894cec8388: Pulling fs layer [2022-05-03T01:34:27.687Z] 5c2a1cbceb83: Waiting [2022-05-03T01:34:27.687Z] a8d5f1318db7: Waiting [2022-05-03T01:34:27.687Z] c427282e49a2: Waiting [2022-05-03T01:34:27.687Z] 1827001aaf11: Waiting [2022-05-03T01:34:27.687Z] 0714d37db230: Waiting [2022-05-03T01:34:27.687Z] ac28cf19c067: Waiting [2022-05-03T01:34:27.687Z] ca983d60f3e2: Waiting [2022-05-03T01:34:27.687Z] 9f894cec8388: Waiting [2022-05-03T01:34:27.687Z] caf521ccaac6: Verifying Checksum [2022-05-03T01:34:27.687Z] caf521ccaac6: Download complete [2022-05-03T01:34:27.687Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T01:34:27.687Z] 5c2a1cbceb83: Download complete [2022-05-03T01:34:27.687Z] a8d5f1318db7: Verifying Checksum [2022-05-03T01:34:27.687Z] a8d5f1318db7: Download complete [2022-05-03T01:34:27.687Z] c427282e49a2: Verifying Checksum [2022-05-03T01:34:27.687Z] c427282e49a2: Download complete [2022-05-03T01:34:27.947Z] 3ead6fa29328: Download complete [2022-05-03T01:34:27.947Z] 0714d37db230: Verifying Checksum [2022-05-03T01:34:27.947Z] 0714d37db230: Download complete [2022-05-03T01:34:27.947Z] ac28cf19c067: Download complete [2022-05-03T01:34:27.947Z] ca983d60f3e2: Verifying Checksum [2022-05-03T01:34:27.947Z] ca983d60f3e2: Download complete [2022-05-03T01:34:27.947Z] 9f894cec8388: Verifying Checksum [2022-05-03T01:34:27.947Z] 9f894cec8388: Download complete [2022-05-03T01:34:27.947Z] 1fe172e4850f: Verifying Checksum [2022-05-03T01:34:27.947Z] 1fe172e4850f: Download complete [2022-05-03T01:34:28.207Z] 1827001aaf11: Verifying Checksum [2022-05-03T01:34:28.207Z] 1827001aaf11: Download complete [2022-05-03T01:34:29.148Z] 1fe172e4850f: Pull complete [2022-05-03T01:34:29.409Z] caf521ccaac6: Pull complete [2022-05-03T01:34:29.979Z] 3ead6fa29328: Pull complete [2022-05-03T01:34:30.553Z] 5c2a1cbceb83: Pull complete [2022-05-03T01:34:31.128Z] a8d5f1318db7: Pull complete [2022-05-03T01:34:31.704Z] c427282e49a2: Pull complete [2022-05-03T01:34:33.621Z] 1827001aaf11: Pull complete [2022-05-03T01:34:33.621Z] 0714d37db230: Pull complete [2022-05-03T01:34:33.888Z] ac28cf19c067: Pull complete [2022-05-03T01:34:33.888Z] ca983d60f3e2: Pull complete [2022-05-03T01:34:33.888Z] 9f894cec8388: Pull complete [2022-05-03T01:34:33.888Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T01:34:33.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T01:34:33.888Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T01:34:33.959Z] prd-ubuntu20.04-docker-8c-8g-34638 does not seem to be running inside a container [2022-05-03T01:34:33.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-03T01:34:35.649Z] $ docker top 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 -eo pid,comm [2022-05-03T01:34:35.717Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-03T01:34:35.717Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T01:34:35.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T01:34:35.752Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T01:34:35.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T01:34:35.885Z] $ docker exec 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 ssh-agent [2022-05-03T01:34:35.999Z] SSH_AUTH_SOCK=/tmp/ssh-cQfVvXON9YeI/agent.34 [2022-05-03T01:34:35.999Z] SSH_AGENT_PID=40 [2022-05-03T01:34:36.006Z] Running ssh-add (command line suppressed) [2022-05-03T01:34:36.129Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8124837428080647556.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8124837428080647556.key) [2022-05-03T01:34:36.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T01:34:36.437Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T01:34:36.451Z] $ docker exec --env ******** --env ******** 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 ssh-agent -k [2022-05-03T01:34:36.568Z] unset SSH_AUTH_SOCK; [2022-05-03T01:34:36.569Z] unset SSH_AGENT_PID; [2022-05-03T01:34:36.569Z] echo Agent pid 40 killed; [2022-05-03T01:34:36.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T01:34:36.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T01:34:36.604Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T01:34:36.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T01:34:36.731Z] $ docker exec 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 ssh-agent [2022-05-03T01:34:36.860Z] SSH_AUTH_SOCK=/tmp/ssh-VZnshKgbRP7y/agent.75 [2022-05-03T01:34:36.860Z] SSH_AGENT_PID=82 [2022-05-03T01:34:36.865Z] Running ssh-add (command line suppressed) [2022-05-03T01:34:36.983Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8205740866008356038.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8205740866008356038.key) [2022-05-03T01:34:36.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T01:34:37.285Z] + git semver init [2022-05-03T01:34:37.543Z] 2022-05-03 01:34:37,499 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T01:34:37.543Z] 2022-05-03 01:34:37,500 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-03T01:34:37.543Z] 2022-05-03 01:34:37,501 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-03T01:34:37.543Z] 2022-05-03 01:34:37,501 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,366 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,366 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,371 [execute] INFO git cat-file --batch-check [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,377 [execute] INFO git cat-file --batch [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T01:34:38.487Z] 2022-05-03 01:34:38,382 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-03T01:34:38.487Z] 0.0.0 [Pipeline] } [2022-05-03T01:34:38.498Z] $ docker exec --env ******** --env ******** 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 ssh-agent -k [2022-05-03T01:34:38.604Z] unset SSH_AUTH_SOCK; [2022-05-03T01:34:38.605Z] unset SSH_AGENT_PID; [2022-05-03T01:34:38.605Z] echo Agent pid 82 killed; [2022-05-03T01:34:38.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T01:34:38.922Z] + git semver [Pipeline] } [2022-05-03T01:34:39.198Z] $ docker stop --time=1 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 [2022-05-03T01:34:40.521Z] $ docker rm -f 310541d4da3992a1dc1fc4580a5f71dd9ac6140484dee817f3fd1028050a44b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T01:34:40.865Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T01:34:41.114Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T01:34:41.117Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:34:41.276Z] provisioning config files... [2022-05-03T01:34:41.288Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config3361891628761523517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:34:41.591Z] ---> docker-login.sh [2022-05-03T01:34:41.591Z] nexus3.edgexfoundry.org:10001 [2022-05-03T01:34:41.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:41.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:41.591Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:41.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:41.591Z] [2022-05-03T01:34:41.591Z] Login Succeeded [2022-05-03T01:34:41.591Z] nexus3.edgexfoundry.org:10002 [2022-05-03T01:34:41.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:41.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:41.851Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:41.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:41.851Z] [2022-05-03T01:34:41.851Z] Login Succeeded [2022-05-03T01:34:41.851Z] nexus3.edgexfoundry.org:10003 [2022-05-03T01:34:41.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:41.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:41.851Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:41.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:41.851Z] [2022-05-03T01:34:41.851Z] Login Succeeded [2022-05-03T01:34:41.851Z] nexus3.edgexfoundry.org:10004 [2022-05-03T01:34:41.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:42.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:42.111Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:42.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:42.111Z] [2022-05-03T01:34:42.111Z] Login Succeeded [2022-05-03T01:34:42.111Z] docker.io [2022-05-03T01:34:42.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:42.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:42.370Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:42.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:42.370Z] [2022-05-03T01:34:42.370Z] Login Succeeded [2022-05-03T01:34:42.370Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T01:34:42.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T01:34:42.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T01:34:42.459Z] ========================================================= [2022-05-03T01:34:42.459Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T01:34:42.459Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:34:42.778Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-03T01:34:42.778Z] Sending build context to Docker daemon 9.687MB [2022-05-03T01:34:42.778Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:34:42.778Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-03T01:34:42.778Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T01:34:42.778Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T01:34:42.778Z] 666ba61612fd: Pulling fs layer [2022-05-03T01:34:42.778Z] 8ed8ca486205: Pulling fs layer [2022-05-03T01:34:42.778Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T01:34:42.778Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T01:34:42.778Z] ca2b28591e48: Pulling fs layer [2022-05-03T01:34:42.778Z] a51346096db8: Pulling fs layer [2022-05-03T01:34:42.778Z] daebc70d1ce1: Pulling fs layer [2022-05-03T01:34:42.778Z] 0e18a0eac166: Pulling fs layer [2022-05-03T01:34:42.778Z] 4fe6c5a15a65: Waiting [2022-05-03T01:34:42.778Z] 22a0e8bec74d: Waiting [2022-05-03T01:34:42.778Z] ca2b28591e48: Waiting [2022-05-03T01:34:42.778Z] a51346096db8: Waiting [2022-05-03T01:34:42.778Z] daebc70d1ce1: Waiting [2022-05-03T01:34:42.778Z] 0e18a0eac166: Waiting [2022-05-03T01:34:42.778Z] 8ed8ca486205: Verifying Checksum [2022-05-03T01:34:42.778Z] 8ed8ca486205: Download complete [2022-05-03T01:34:42.778Z] 666ba61612fd: Download complete [2022-05-03T01:34:43.037Z] 22a0e8bec74d: Download complete [2022-05-03T01:34:43.037Z] ca2b28591e48: Verifying Checksum [2022-05-03T01:34:43.037Z] ca2b28591e48: Download complete [2022-05-03T01:34:43.037Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T01:34:43.037Z] a51346096db8: Verifying Checksum [2022-05-03T01:34:43.037Z] a51346096db8: Download complete [2022-05-03T01:34:43.037Z] daebc70d1ce1: Verifying Checksum [2022-05-03T01:34:43.037Z] daebc70d1ce1: Download complete [2022-05-03T01:34:43.037Z] 59bf1c3509f3: Pull complete [2022-05-03T01:34:43.297Z] 666ba61612fd: Pull complete [2022-05-03T01:34:43.297Z] 8ed8ca486205: Pull complete [2022-05-03T01:34:43.556Z] 0e18a0eac166: Download complete [2022-05-03T01:34:43.556Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T01:34:43.556Z] 4fe6c5a15a65: Download complete [2022-05-03T01:34:47.754Z] 4fe6c5a15a65: Pull complete [2022-05-03T01:34:47.754Z] 22a0e8bec74d: Pull complete [2022-05-03T01:34:47.754Z] ca2b28591e48: Pull complete [2022-05-03T01:34:47.754Z] a51346096db8: Pull complete [2022-05-03T01:34:47.754Z] daebc70d1ce1: Pull complete [2022-05-03T01:34:49.665Z] 0e18a0eac166: Pull complete [2022-05-03T01:34:49.665Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T01:34:49.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T01:34:49.665Z] ---> f018257e8ee9 [2022-05-03T01:34:49.665Z] Step 3/11 : ARG MAKE=make build [2022-05-03T01:34:51.590Z] ---> Running in 5c19d4439fff [2022-05-03T01:34:51.591Z] Removing intermediate container 5c19d4439fff [2022-05-03T01:34:51.591Z] ---> 2bf2af70bf65 [2022-05-03T01:34:51.591Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-03T01:34:51.591Z] ---> Running in e67505eaa7a5 [2022-05-03T01:34:51.591Z] Removing intermediate container e67505eaa7a5 [2022-05-03T01:34:51.591Z] ---> e9eb6973fc4b [2022-05-03T01:34:51.591Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:34:51.591Z] ---> Running in 57a0172ae3b7 [2022-05-03T01:34:51.852Z] Removing intermediate container 57a0172ae3b7 [2022-05-03T01:34:51.852Z] ---> 378e4888914e [2022-05-03T01:34:51.852Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:34:51.852Z] ---> Running in 41f58dc2bdae [2022-05-03T01:34:52.426Z] Removing intermediate container 41f58dc2bdae [2022-05-03T01:34:52.426Z] ---> 24ae7095d493 [2022-05-03T01:34:52.426Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:34:52.426Z] ---> Running in 63967461b909 [2022-05-03T01:34:52.686Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T01:34:53.627Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T01:34:53.627Z] OK: 221 MiB in 52 packages [2022-05-03T01:34:54.194Z] Removing intermediate container 63967461b909 [2022-05-03T01:34:54.194Z] ---> 0637cb273a51 [2022-05-03T01:34:54.194Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-03T01:34:54.194Z] ---> 7b8281890f4e [2022-05-03T01:34:54.194Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:34:54.194Z] ---> Running in 064029d20eb5 [2022-05-03T01:34:56.222Z] Still waiting to schedule task [2022-05-03T01:34:56.222Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-03T01:35:09.090Z] Removing intermediate container 064029d20eb5 [2022-05-03T01:35:09.090Z] ---> 942a6e051ff2 [2022-05-03T01:35:09.090Z] Step 10/11 : COPY . . [2022-05-03T01:35:09.090Z] ---> c250bf8cca7a [2022-05-03T01:35:09.090Z] Step 11/11 : RUN ${MAKE} [2022-05-03T01:35:09.090Z] ---> Running in 6e1a39f09c4e [2022-05-03T01:35:09.090Z] noop [2022-05-03T01:35:09.090Z] Removing intermediate container 6e1a39f09c4e [2022-05-03T01:35:09.090Z] ---> 59747d6ca82e [2022-05-03T01:35:09.090Z] Successfully built 59747d6ca82e [2022-05-03T01:35:09.350Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:35:09.642Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T01:35:09.642Z] . [Pipeline] withDockerContainer [2022-05-03T01:35:09.710Z] prd-ubuntu20.04-docker-8c-8g-34638 does not seem to be running inside a container [2022-05-03T01:35:09.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-05-03T01:35:10.159Z] $ docker top 3e3741d19a7a77a5de13b03e47af97a56885a29cdc30c75f510d7dda2963f0b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T01:35:10.509Z] + go version [2022-05-03T01:35:10.509Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T01:35:10.530Z] $ docker stop --time=1 3e3741d19a7a77a5de13b03e47af97a56885a29cdc30c75f510d7dda2963f0b5 [2022-05-03T01:35:11.834Z] $ docker rm -f 3e3741d19a7a77a5de13b03e47af97a56885a29cdc30c75f510d7dda2963f0b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:35:12.247Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T01:35:12.248Z] . [Pipeline] withDockerContainer [2022-05-03T01:35:12.313Z] prd-ubuntu20.04-docker-8c-8g-34638 does not seem to be running inside a container [2022-05-03T01:35:12.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-05-03T01:35:12.743Z] $ docker top 184ab45ffb86bd099d86a0dc8e8e93db980ae131867dd21c3684961739a7ba6a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T01:35:13.146Z] + make test [2022-05-03T01:35:13.146Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T01:35:18.428Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.3% of statements [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.6% of statements [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.091s coverage: 60.0% of statements [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 34.8% of statements [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 86.1% of statements [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.119s coverage: 65.1% of statements [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.854s coverage: 89.2% of statements [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-03T01:35:33.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-05-03T01:35:33.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-03T01:35:48.215Z] GO111MODULE=on go vet ./... [2022-05-03T01:35:51.505Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T01:35:51.505Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T01:35:51.505Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T01:35:52.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T01:35:52.111Z] $ docker stop --time=1 184ab45ffb86bd099d86a0dc8e8e93db980ae131867dd21c3684961739a7ba6a [2022-05-03T01:35:54.523Z] $ docker rm -f 184ab45ffb86bd099d86a0dc8e8e93db980ae131867dd21c3684961739a7ba6a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T01:35:55.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T01:35:55.078Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T01:35:55.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T01:35:56.098Z] + ls -al . [2022-05-03T01:35:56.098Z] total 296 [2022-05-03T01:35:56.098Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 01:35 . [2022-05-03T01:35:56.098Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:34 .. [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:34 .dockerignore [2022-05-03T01:35:56.098Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:34 .git [2022-05-03T01:35:56.098Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:34 .github [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:34 .gitignore [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:34 .golangci.yml [2022-05-03T01:35:56.098Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:34 .semver [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 3 01:34 CHANGELOG.md [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:34 GOVERNANCE.md [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 880 May 3 01:34 Jenkinsfile [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:34 LICENSE [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 3 01:34 Makefile [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:34 OWNERS.md [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 3 01:34 README.md [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:34 VERSION [2022-05-03T01:35:56.098Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:34 bin [2022-05-03T01:35:56.098Z] -rw-r--r-- 1 jenkins jenkins 130819 May 3 01:35 coverage.out [2022-05-03T01:35:56.098Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:34 example [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 3 01:34 go.mod [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 35094 May 3 01:34 go.sum [2022-05-03T01:35:56.098Z] drwxrwxr-x 15 jenkins jenkins 4096 May 3 01:34 internal [2022-05-03T01:35:56.098Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:34 openapi [2022-05-03T01:35:56.098Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:34 pkg [2022-05-03T01:35:56.098Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:34 snap [2022-05-03T01:35:56.098Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:35:56.447Z] + 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=bfcfbcd4b592c3bf6de8e57d339223d935e44f8d --label arch=amd64 --label version=0.0.0 . [2022-05-03T01:35:56.447Z] Sending build context to Docker daemon 9.819MB [2022-05-03T01:35:56.447Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:35:56.447Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T01:35:56.447Z] ---> 59747d6ca82e [2022-05-03T01:35:56.447Z] Step 3/25 : ARG MAKE=make build [2022-05-03T01:35:56.714Z] ---> Running in 74e4de65338f [2022-05-03T01:35:56.714Z] Removing intermediate container 74e4de65338f [2022-05-03T01:35:56.714Z] ---> 6d164c04aab5 [2022-05-03T01:35:56.714Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-03T01:35:56.714Z] ---> Running in 1f28d479ed9e [2022-05-03T01:35:56.714Z] Removing intermediate container 1f28d479ed9e [2022-05-03T01:35:56.714Z] ---> 2adcd46e4f4d [2022-05-03T01:35:56.714Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:35:56.974Z] ---> Running in 96e5cb56dc08 [2022-05-03T01:35:56.974Z] Removing intermediate container 96e5cb56dc08 [2022-05-03T01:35:56.974Z] ---> bddcdfda50bc [2022-05-03T01:35:56.974Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:35:56.974Z] ---> Running in 8b2f0de7fddf [2022-05-03T01:35:57.552Z] Removing intermediate container 8b2f0de7fddf [2022-05-03T01:35:57.552Z] ---> 14989ef9f925 [2022-05-03T01:35:57.552Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:35:57.812Z] ---> Running in d6b11de1b2c2 [2022-05-03T01:35:58.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T01:35:59.031Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T01:35:59.031Z] OK: 221 MiB in 52 packages [2022-05-03T01:35:59.601Z] Removing intermediate container d6b11de1b2c2 [2022-05-03T01:35:59.601Z] ---> 82c07b4e76e6 [2022-05-03T01:35:59.601Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-03T01:35:59.862Z] ---> 21ca8803583a [2022-05-03T01:35:59.862Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:35:59.862Z] ---> Running in 3804828ff1a9 [2022-05-03T01:36:00.427Z] Removing intermediate container 3804828ff1a9 [2022-05-03T01:36:00.427Z] ---> bfbca3bc6169 [2022-05-03T01:36:00.427Z] Step 10/25 : COPY . . [2022-05-03T01:36:00.993Z] ---> f0517dfa1c34 [2022-05-03T01:36:00.993Z] Step 11/25 : RUN ${MAKE} [2022-05-03T01:36:00.993Z] ---> Running in 8b757497eab9 [2022-05-03T01:36:01.250Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-03T01:36:19.356Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-03T01:36:20.739Z] Removing intermediate container 8b757497eab9 [2022-05-03T01:36:20.739Z] ---> aecaf677c130 [2022-05-03T01:36:20.739Z] Step 12/25 : FROM alpine:3.14 [2022-05-03T01:36:21.001Z] 3.14: Pulling from library/alpine [2022-05-03T01:36:21.262Z] 8663204ce13b: Pulling fs layer [2022-05-03T01:36:21.550Z] 8663204ce13b: Verifying Checksum [2022-05-03T01:36:21.550Z] 8663204ce13b: Download complete [2022-05-03T01:36:21.550Z] 8663204ce13b: Pull complete [2022-05-03T01:36:21.550Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T01:36:21.550Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T01:36:21.550Z] ---> e04c818066af [2022-05-03T01:36:21.550Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:36:21.813Z] ---> Running in 472a12e13d0b [2022-05-03T01:36:21.813Z] Removing intermediate container 472a12e13d0b [2022-05-03T01:36:21.813Z] ---> 2f0fa2c97c6a [2022-05-03T01:36:21.813Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:36:21.813Z] ---> Running in b8485f580210 [2022-05-03T01:36:22.755Z] Removing intermediate container b8485f580210 [2022-05-03T01:36:22.755Z] ---> 6831bd487342 [2022-05-03T01:36:22.755Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-03T01:36:22.755Z] ---> Running in a61f6c8537a1 [2022-05-03T01:36:23.017Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T01:36:23.963Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T01:36:24.224Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T01:36:24.224Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-03T01:36:24.484Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T01:36:24.484Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-03T01:36:24.484Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-03T01:36:24.744Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T01:36:24.744Z] OK: 8 MiB in 19 packages [2022-05-03T01:36:25.004Z] Removing intermediate container a61f6c8537a1 [2022-05-03T01:36:25.004Z] ---> 58e7780646cc [2022-05-03T01:36:25.004Z] Step 16/25 : WORKDIR / [2022-05-03T01:36:25.265Z] ---> Running in 31a0a1e3a011 [2022-05-03T01:36:25.265Z] Removing intermediate container 31a0a1e3a011 [2022-05-03T01:36:25.265Z] ---> 9beacdd095d4 [2022-05-03T01:36:25.265Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-03T01:36:25.525Z] ---> 6de897ce47d9 [2022-05-03T01:36:25.525Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-03T01:36:26.096Z] ---> b96df5dc490e [2022-05-03T01:36:26.097Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-03T01:36:26.097Z] ---> 576448bfad20 [2022-05-03T01:36:26.097Z] Step 20/25 : EXPOSE 59999 [2022-05-03T01:36:26.356Z] ---> Running in 24d96e6d9201 [2022-05-03T01:36:26.356Z] Removing intermediate container 24d96e6d9201 [2022-05-03T01:36:26.356Z] ---> 0c93b4f947a7 [2022-05-03T01:36:26.356Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-03T01:36:26.356Z] ---> Running in cebd4fc4b58a [2022-05-03T01:36:26.616Z] Removing intermediate container cebd4fc4b58a [2022-05-03T01:36:26.616Z] ---> 1444e31ff4d3 [2022-05-03T01:36:26.616Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T01:36:26.616Z] ---> Running in 226953b835e9 [2022-05-03T01:36:26.616Z] Removing intermediate container 226953b835e9 [2022-05-03T01:36:26.616Z] ---> e40109ea95d1 [2022-05-03T01:36:26.616Z] Step 23/25 : LABEL arch=amd64 [2022-05-03T01:36:26.616Z] ---> Running in 16aab277faea [2022-05-03T01:36:26.877Z] Removing intermediate container 16aab277faea [2022-05-03T01:36:26.877Z] ---> b3168c61f289 [2022-05-03T01:36:26.877Z] Step 24/25 : LABEL git_sha=bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [2022-05-03T01:36:26.877Z] ---> Running in 71136686e7c0 [2022-05-03T01:36:26.877Z] Removing intermediate container 71136686e7c0 [2022-05-03T01:36:26.877Z] ---> 545a2e53fa3b [2022-05-03T01:36:26.877Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T01:36:26.877Z] ---> Running in 352340ce368f [2022-05-03T01:36:27.138Z] Removing intermediate container 352340ce368f [2022-05-03T01:36:27.138Z] ---> 99d4ff5a6ce5 [2022-05-03T01:36:27.138Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T01:36:27.138Z] Successfully built 99d4ff5a6ce5 [2022-05-03T01:36:27.138Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:36:27.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:36:27.549Z] [2022-05-03T01:36:27.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:36:27.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:36:27.852Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T01:36:27.852Z] 5eb5b503b376: Pulling fs layer [2022-05-03T01:36:27.852Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T01:36:27.852Z] ec43610c2a17: Pulling fs layer [2022-05-03T01:36:27.852Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T01:36:27.852Z] 33b1e0a273af: Pulling fs layer [2022-05-03T01:36:27.852Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T01:36:27.852Z] 2f39f015ded8: Pulling fs layer [2022-05-03T01:36:27.852Z] 3a2ae6a8a46f: Waiting [2022-05-03T01:36:27.852Z] 33b1e0a273af: Waiting [2022-05-03T01:36:27.852Z] 5d3b04190fa2: Waiting [2022-05-03T01:36:27.852Z] 2f39f015ded8: Waiting [2022-05-03T01:36:27.852Z] 5c69ac0246d0: Download complete [2022-05-03T01:36:27.852Z] 3a2ae6a8a46f: Download complete [2022-05-03T01:36:27.852Z] ec43610c2a17: Verifying Checksum [2022-05-03T01:36:27.852Z] ec43610c2a17: Download complete [2022-05-03T01:36:27.852Z] 33b1e0a273af: Verifying Checksum [2022-05-03T01:36:27.852Z] 33b1e0a273af: Download complete [2022-05-03T01:36:27.852Z] 5d3b04190fa2: Verifying Checksum [2022-05-03T01:36:27.852Z] 5d3b04190fa2: Download complete [2022-05-03T01:36:28.112Z] 5eb5b503b376: Verifying Checksum [2022-05-03T01:36:28.112Z] 5eb5b503b376: Download complete [2022-05-03T01:36:28.680Z] 2f39f015ded8: Download complete [2022-05-03T01:36:29.618Z] 5eb5b503b376: Pull complete [2022-05-03T01:36:29.618Z] 5c69ac0246d0: Pull complete [2022-05-03T01:36:29.878Z] ec43610c2a17: Pull complete [2022-05-03T01:36:30.138Z] 3a2ae6a8a46f: Pull complete [2022-05-03T01:36:30.138Z] 33b1e0a273af: Pull complete [2022-05-03T01:36:30.396Z] 5d3b04190fa2: Pull complete [2022-05-03T01:36:34.590Z] 2f39f015ded8: Pull complete [2022-05-03T01:36:34.590Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T01:36:34.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:36:34.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T01:36:34.655Z] prd-ubuntu20.04-docker-8c-8g-34638 does not seem to be running inside a container [2022-05-03T01:36:34.698Z] $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-05-03T01:36:36.958Z] $ docker top 95b474fbd408f63714a955efaaf7c4a0c621ed3a3c82cd945271c08b7be9cbb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:36:37.360Z] ---> job-cost.sh [2022-05-03T01:36:37.360Z] lf-activate-venv: SKIPPING [2022-05-03T01:36:37.360Z] INFO: No Stack... [2022-05-03T01:36:37.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T01:36:38.191Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T01:36:38.494Z] + cut -d, -f6 [2022-05-03T01:36:38.494Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [Pipeline] lock [2022-05-03T01:36:38.512Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] [2022-05-03T01:36:38.522Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] did not exist. Created. [2022-05-03T01:36:38.522Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T01:36:38.864Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T01:36:38.924Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T01:36:38.933Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T01:36:38.960Z] $ docker stop --time=1 95b474fbd408f63714a955efaaf7c4a0c621ed3a3c82cd945271c08b7be9cbb1 [2022-05-03T01:36:40.145Z] $ docker rm -f 95b474fbd408f63714a955efaaf7c4a0c621ed3a3c82cd945271c08b7be9cbb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T01:44:57.912Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34764 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-05-03T01:44:57.926Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2022-05-03T01:44:58.251Z] The recommended git tool is: git [2022-05-03T01:45:04.633Z] using credential edgex-jenkins-ssh [2022-05-03T01:45:04.657Z] Cloning the remote Git repository [2022-05-03T01:45:04.736Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T01:45:04.835Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2022-05-03T01:45:04.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T01:45:04.950Z] > git --version # timeout=10 [2022-05-03T01:45:04.970Z] > git --version # 'git version 2.25.1' [2022-05-03T01:45:04.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T01:45:05.061Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T01:45:06.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-03T01:45:06.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T01:45:06.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-03T01:45:06.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T01:45:06.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T01:45:06.771Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-03T01:45:07.379Z] Merging remotes/origin/main commit 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b into PR head commit bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [2022-05-03T01:45:07.751Z] Merge succeeded, producing bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [2022-05-03T01:45:07.751Z] Checking out Revision bfcfbcd4b592c3bf6de8e57d339223d935e44f8d (PR-1144) [2022-05-03T01:45:07.409Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T01:45:07.439Z] > git checkout -f bfcfbcd4b592c3bf6de8e57d339223d935e44f8d # timeout=10 [2022-05-03T01:45:07.578Z] > git remote # timeout=10 [2022-05-03T01:45:07.602Z] > git config --get remote.origin.url # timeout=10 [2022-05-03T01:45:07.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T01:45:07.647Z] > git merge 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 [2022-05-03T01:45:07.730Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-03T01:45:07.766Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T01:45:07.803Z] > git checkout -f bfcfbcd4b592c3bf6de8e57d339223d935e44f8d # timeout=10 [2022-05-03T01:45:12.443Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T01:45:13.372Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T01:45:13.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T01:45:13.372Z] Dload Upload Total Spent Left Speed [2022-05-03T01:45:13.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2022-05-03T01:45:13.993Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T01:45:14.363Z] + sudo tee /etc/docker/daemon.new [2022-05-03T01:45:14.363Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T01:45:14.363Z] { [2022-05-03T01:45:14.363Z] "registry-mirrors": [ [2022-05-03T01:45:14.363Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T01:45:14.363Z] ], [2022-05-03T01:45:14.363Z] "bip": "10.250.0.254/24", [2022-05-03T01:45:14.363Z] "hosts": [ [2022-05-03T01:45:14.363Z] "tcp://0.0.0.0:5555", [2022-05-03T01:45:14.363Z] "unix:///var/run/docker.sock" [2022-05-03T01:45:14.363Z] ], [2022-05-03T01:45:14.363Z] "mtu": 1458, [2022-05-03T01:45:14.363Z] "selinux-enabled": true, [2022-05-03T01:45:14.363Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T01:45:14.363Z] } [Pipeline] sh [2022-05-03T01:45:14.748Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T01:45:15.131Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:45:37.424Z] provisioning config files... [2022-05-03T01:45:37.472Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config2635078910877008017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:45:37.892Z] ---> docker-login.sh [2022-05-03T01:45:37.892Z] nexus3.edgexfoundry.org:10001 [2022-05-03T01:45:38.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:39.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:39.132Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:39.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:39.132Z] [2022-05-03T01:45:39.132Z] Login Succeeded [2022-05-03T01:45:39.132Z] nexus3.edgexfoundry.org:10002 [2022-05-03T01:45:39.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:39.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:39.716Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:39.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:39.716Z] [2022-05-03T01:45:39.716Z] Login Succeeded [2022-05-03T01:45:39.716Z] nexus3.edgexfoundry.org:10003 [2022-05-03T01:45:39.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:40.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:40.274Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:40.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:40.274Z] [2022-05-03T01:45:40.274Z] Login Succeeded [2022-05-03T01:45:40.274Z] nexus3.edgexfoundry.org:10004 [2022-05-03T01:45:40.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:40.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:40.875Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:40.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:40.875Z] [2022-05-03T01:45:40.875Z] Login Succeeded [2022-05-03T01:45:40.875Z] docker.io [2022-05-03T01:45:41.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:41.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:41.763Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:41.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:41.763Z] [2022-05-03T01:45:41.763Z] Login Succeeded [2022-05-03T01:45:41.763Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T01:45:41.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T01:45:42.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T01:45:42.645Z] ========================================================= [2022-05-03T01:45:42.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T01:45:42.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:45:43.140Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-03T01:45:43.782Z] Sending build context to Docker daemon 5.219MB [2022-05-03T01:45:43.782Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:45:43.782Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-03T01:45:44.061Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T01:45:44.061Z] 9b3977197b4f: Pulling fs layer [2022-05-03T01:45:44.061Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T01:45:44.061Z] 94645a83ff95: Pulling fs layer [2022-05-03T01:45:44.061Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T01:45:44.061Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T01:45:44.061Z] 3096ccb668a1: Pulling fs layer [2022-05-03T01:45:44.061Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T01:45:44.061Z] a4caa8a26152: Pulling fs layer [2022-05-03T01:45:44.061Z] 3f3a8bcf1eab: Waiting [2022-05-03T01:45:44.061Z] 0c92f367c5e7: Waiting [2022-05-03T01:45:44.061Z] 3096ccb668a1: Waiting [2022-05-03T01:45:44.061Z] e8cf19c19ddd: Waiting [2022-05-03T01:45:44.061Z] a4caa8a26152: Waiting [2022-05-03T01:45:44.061Z] 94645a83ff95: Verifying Checksum [2022-05-03T01:45:44.061Z] 94645a83ff95: Download complete [2022-05-03T01:45:44.061Z] 1a89e8eeedd5: Download complete [2022-05-03T01:45:44.061Z] 0c92f367c5e7: Verifying Checksum [2022-05-03T01:45:44.061Z] 0c92f367c5e7: Download complete [2022-05-03T01:45:44.061Z] 3096ccb668a1: Verifying Checksum [2022-05-03T01:45:44.061Z] 3096ccb668a1: Download complete [2022-05-03T01:45:44.341Z] e8cf19c19ddd: Verifying Checksum [2022-05-03T01:45:44.341Z] e8cf19c19ddd: Download complete [2022-05-03T01:45:44.341Z] 9b3977197b4f: Verifying Checksum [2022-05-03T01:45:44.341Z] 9b3977197b4f: Download complete [2022-05-03T01:45:45.800Z] 9b3977197b4f: Pull complete [2022-05-03T01:45:46.410Z] 1a89e8eeedd5: Pull complete [2022-05-03T01:45:46.694Z] 94645a83ff95: Pull complete [2022-05-03T01:45:46.978Z] a4caa8a26152: Verifying Checksum [2022-05-03T01:45:46.978Z] a4caa8a26152: Download complete [2022-05-03T01:45:47.588Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T01:45:47.588Z] 3f3a8bcf1eab: Download complete [2022-05-03T01:46:00.039Z] 3f3a8bcf1eab: Pull complete [2022-05-03T01:46:00.039Z] 0c92f367c5e7: Pull complete [2022-05-03T01:46:00.315Z] 3096ccb668a1: Pull complete [2022-05-03T01:46:00.935Z] e8cf19c19ddd: Pull complete [2022-05-03T01:46:07.694Z] a4caa8a26152: Pull complete [2022-05-03T01:46:07.694Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T01:46:07.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T01:46:07.694Z] ---> 725f1c02e7f9 [2022-05-03T01:46:07.694Z] Step 3/11 : ARG MAKE=make build [2022-05-03T01:46:10.335Z] ---> Running in 3e4d611ff30b [2022-05-03T01:46:10.335Z] Removing intermediate container 3e4d611ff30b [2022-05-03T01:46:10.335Z] ---> 7d0a99c94bf7 [2022-05-03T01:46:10.335Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-03T01:46:10.335Z] ---> Running in fef006b59592 [2022-05-03T01:46:10.611Z] Removing intermediate container fef006b59592 [2022-05-03T01:46:10.611Z] ---> 6c9e1cdc3b93 [2022-05-03T01:46:10.611Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:46:10.893Z] ---> Running in 04cc30490aa8 [2022-05-03T01:46:11.172Z] Removing intermediate container 04cc30490aa8 [2022-05-03T01:46:11.172Z] ---> 2381f23d0068 [2022-05-03T01:46:11.172Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:46:11.172Z] ---> Running in e4cba12c838a [2022-05-03T01:46:13.810Z] Removing intermediate container e4cba12c838a [2022-05-03T01:46:13.810Z] ---> 64a176ee3cae [2022-05-03T01:46:13.810Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:46:13.810Z] ---> Running in 21eb67b913c0 [2022-05-03T01:46:14.796Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T01:46:15.396Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T01:46:16.844Z] OK: 220 MiB in 52 packages [2022-05-03T01:46:17.860Z] Removing intermediate container 21eb67b913c0 [2022-05-03T01:46:17.860Z] ---> fc2f9feed49d [2022-05-03T01:46:17.860Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-03T01:46:18.463Z] ---> 66d9b7d9d824 [2022-05-03T01:46:18.463Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:46:18.463Z] ---> Running in 5f7e18ed4278 [2022-05-03T01:47:15.068Z] Removing intermediate container 5f7e18ed4278 [2022-05-03T01:47:15.068Z] ---> bd29bbc4a8dc [2022-05-03T01:47:15.068Z] Step 10/11 : COPY . . [2022-05-03T01:47:15.068Z] ---> 507edb6b4114 [2022-05-03T01:47:15.068Z] Step 11/11 : RUN ${MAKE} [2022-05-03T01:47:15.068Z] ---> Running in 5514a29d2fbf [2022-05-03T01:47:15.068Z] noop [2022-05-03T01:47:15.068Z] Removing intermediate container 5514a29d2fbf [2022-05-03T01:47:15.068Z] ---> 2fe8f3474ba5 [2022-05-03T01:47:15.068Z] Successfully built 2fe8f3474ba5 [2022-05-03T01:47:15.068Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:47:15.420Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T01:47:15.420Z] . [Pipeline] withDockerContainer [2022-05-03T01:47:15.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-34764 does not seem to be running inside a container [2022-05-03T01:47:15.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-03T01:47:17.200Z] $ docker top 30b24781555246bb0b527b65a9aa8ff5fb1e001f8479f341d5c98ca7e6993297 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T01:47:18.172Z] + go version [2022-05-03T01:47:18.172Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T01:47:18.206Z] $ docker stop --time=1 30b24781555246bb0b527b65a9aa8ff5fb1e001f8479f341d5c98ca7e6993297 [2022-05-03T01:47:19.861Z] $ docker rm -f 30b24781555246bb0b527b65a9aa8ff5fb1e001f8479f341d5c98ca7e6993297 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:47:20.521Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T01:47:20.521Z] . [Pipeline] withDockerContainer [2022-05-03T01:47:20.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-34764 does not seem to be running inside a container [2022-05-03T01:47:20.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-03T01:47:22.225Z] $ docker top ed7077aac0e03cef57a44b2fe95b4deeac5d2299c3d5cc72025de7001ab62513 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T01:47:23.148Z] + make test [2022-05-03T01:47:23.148Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T01:48:02.192Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-03T01:49:54.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-03T01:49:54.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-03T01:49:54.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-03T01:49:59.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.464s coverage: 23.3% of statements [2022-05-03T01:49:59.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-03T01:49:59.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.304s coverage: 27.6% of statements [2022-05-03T01:49:59.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.366s coverage: 78.9% of statements [2022-05-03T01:49:59.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.328s coverage: 10.8% of statements [2022-05-03T01:50:06.298Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.463s coverage: 60.0% of statements [2022-05-03T01:50:06.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-03T01:50:06.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-03T01:50:09.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.450s coverage: 34.8% of statements [2022-05-03T01:50:09.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-03T01:50:11.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.293s coverage: 86.1% of statements [2022-05-03T01:50:11.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-03T01:50:11.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-03T01:50:11.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.574s coverage: 65.1% of statements [2022-05-03T01:50:15.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.486s coverage: 89.2% of statements [2022-05-03T01:50:15.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-03T01:50:17.014Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.278s coverage: 4.7% of statements [2022-05-03T01:50:17.014Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-03T01:50:17.635Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T01:50:17.635Z] GO111MODULE=on go vet ./... [2022-05-03T01:51:54.710Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T01:51:54.710Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T01:51:54.710Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T01:51:58.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T01:51:58.155Z] $ docker stop --time=1 ed7077aac0e03cef57a44b2fe95b4deeac5d2299c3d5cc72025de7001ab62513 [2022-05-03T01:52:00.014Z] $ docker rm -f ed7077aac0e03cef57a44b2fe95b4deeac5d2299c3d5cc72025de7001ab62513 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T01:52:01.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T01:52:01.495Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T01:52:02.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T01:52:02.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T01:52:02.837Z] + ls -al . [2022-05-03T01:52:02.837Z] total 292 [2022-05-03T01:52:02.837Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 01:51 . [2022-05-03T01:52:02.837Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:45 .. [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:45 .dockerignore [2022-05-03T01:52:02.837Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:45 .git [2022-05-03T01:52:02.837Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:45 .github [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:45 .gitignore [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:45 .golangci.yml [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 3 01:45 CHANGELOG.md [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:45 GOVERNANCE.md [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 880 May 3 01:45 Jenkinsfile [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:45 LICENSE [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 3 01:45 Makefile [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:45 OWNERS.md [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 3 01:45 README.md [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:34 VERSION [2022-05-03T01:52:02.837Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:45 bin [2022-05-03T01:52:02.837Z] -rw-r--r-- 1 jenkins jenkins 130819 May 3 01:50 coverage.out [2022-05-03T01:52:02.837Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:45 example [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 3 01:45 go.mod [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 35094 May 3 01:45 go.sum [2022-05-03T01:52:02.837Z] drwxrwxr-x 15 jenkins jenkins 4096 May 3 01:45 internal [2022-05-03T01:52:02.837Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:45 openapi [2022-05-03T01:52:02.837Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:45 pkg [2022-05-03T01:52:02.837Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:45 snap [2022-05-03T01:52:02.837Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:52:03.182Z] + 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=bfcfbcd4b592c3bf6de8e57d339223d935e44f8d --label arch=arm64 --label version=0.0.0 . [2022-05-03T01:52:03.783Z] Sending build context to Docker daemon 5.351MB [2022-05-03T01:52:03.783Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:52:03.783Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T01:52:03.783Z] ---> 2fe8f3474ba5 [2022-05-03T01:52:03.783Z] Step 3/25 : ARG MAKE=make build [2022-05-03T01:52:03.783Z] ---> Running in 6ad6f3af13ab [2022-05-03T01:52:04.057Z] Removing intermediate container 6ad6f3af13ab [2022-05-03T01:52:04.057Z] ---> eee0b298fe62 [2022-05-03T01:52:04.057Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-03T01:52:04.057Z] ---> Running in dda640bfb1bc [2022-05-03T01:52:04.664Z] Removing intermediate container dda640bfb1bc [2022-05-03T01:52:04.664Z] ---> 03ff34ad606b [2022-05-03T01:52:04.664Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:52:04.664Z] ---> Running in 4bf35585ff61 [2022-05-03T01:52:04.935Z] Removing intermediate container 4bf35585ff61 [2022-05-03T01:52:04.935Z] ---> 6b9fac8c4738 [2022-05-03T01:52:04.935Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:52:04.935Z] ---> Running in 00fd32ef2023 [2022-05-03T01:52:06.906Z] Removing intermediate container 00fd32ef2023 [2022-05-03T01:52:06.906Z] ---> 49e0db99819d [2022-05-03T01:52:06.906Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:52:06.906Z] ---> Running in 821bf778895b [2022-05-03T01:52:07.884Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T01:52:08.480Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T01:52:09.463Z] OK: 220 MiB in 52 packages [2022-05-03T01:52:10.447Z] Removing intermediate container 821bf778895b [2022-05-03T01:52:10.447Z] ---> 884476e9ee76 [2022-05-03T01:52:10.447Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-03T01:52:11.046Z] ---> 37ce0830d018 [2022-05-03T01:52:11.046Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:52:11.046Z] ---> Running in a2070cc22bfe [2022-05-03T01:52:13.036Z] Removing intermediate container a2070cc22bfe [2022-05-03T01:52:13.036Z] ---> ade9b433aa14 [2022-05-03T01:52:13.036Z] Step 10/25 : COPY . . [2022-05-03T01:52:14.480Z] ---> 0f566ddb5e36 [2022-05-03T01:52:14.480Z] Step 11/25 : RUN ${MAKE} [2022-05-03T01:52:14.480Z] ---> Running in e5830f25e6b0 [2022-05-03T01:52:15.919Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-03T01:54:37.840Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-03T01:54:43.238Z] Removing intermediate container e5830f25e6b0 [2022-05-03T01:54:43.238Z] ---> d7db13969608 [2022-05-03T01:54:43.238Z] Step 12/25 : FROM alpine:3.14 [2022-05-03T01:54:43.514Z] 3.14: Pulling from library/alpine [2022-05-03T01:54:43.514Z] 455c02918c45: Pulling fs layer [2022-05-03T01:54:43.788Z] 455c02918c45: Verifying Checksum [2022-05-03T01:54:43.788Z] 455c02918c45: Download complete [2022-05-03T01:54:44.388Z] 455c02918c45: Pull complete [2022-05-03T01:54:44.388Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T01:54:44.388Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T01:54:44.663Z] ---> ac73e934f311 [2022-05-03T01:54:44.663Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:54:44.663Z] ---> Running in 6969c88defca [2022-05-03T01:54:44.950Z] Removing intermediate container 6969c88defca [2022-05-03T01:54:44.950Z] ---> 2590b4ae77bb [2022-05-03T01:54:44.950Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:54:45.231Z] ---> Running in 4a8866ed42c6 [2022-05-03T01:54:47.214Z] Removing intermediate container 4a8866ed42c6 [2022-05-03T01:54:47.214Z] ---> e5e20e31399e [2022-05-03T01:54:47.214Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-03T01:54:47.214Z] ---> Running in 56791e005937 [2022-05-03T01:54:48.189Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T01:54:48.785Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T01:54:49.762Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T01:54:50.035Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-03T01:54:50.035Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T01:54:50.310Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-03T01:54:50.310Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-03T01:54:50.310Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T01:54:50.589Z] OK: 8 MiB in 19 packages [2022-05-03T01:54:51.570Z] Removing intermediate container 56791e005937 [2022-05-03T01:54:51.570Z] ---> 901a0daff3a2 [2022-05-03T01:54:51.570Z] Step 16/25 : WORKDIR / [2022-05-03T01:54:51.570Z] ---> Running in a05ee38c9bc8 [2022-05-03T01:54:52.170Z] Removing intermediate container a05ee38c9bc8 [2022-05-03T01:54:52.170Z] ---> 0ecb8625fe59 [2022-05-03T01:54:52.170Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-03T01:54:52.771Z] ---> 7f6cbcfb0aa6 [2022-05-03T01:54:52.771Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-03T01:54:54.751Z] ---> 685ffb9e2231 [2022-05-03T01:54:54.751Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-03T01:54:55.027Z] ---> 7f27da74be2f [2022-05-03T01:54:55.027Z] Step 20/25 : EXPOSE 59999 [2022-05-03T01:54:55.027Z] ---> Running in c5a96efc4720 [2022-05-03T01:54:55.651Z] Removing intermediate container c5a96efc4720 [2022-05-03T01:54:55.651Z] ---> 14ddb0a5fa8f [2022-05-03T01:54:55.651Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-03T01:54:55.651Z] ---> Running in 83c4803dfc30 [2022-05-03T01:54:55.925Z] Removing intermediate container 83c4803dfc30 [2022-05-03T01:54:55.926Z] ---> 31d25d1f94cd [2022-05-03T01:54:55.926Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T01:54:55.926Z] ---> Running in 4c5996869d59 [2022-05-03T01:54:56.524Z] Removing intermediate container 4c5996869d59 [2022-05-03T01:54:56.524Z] ---> 567dd6408727 [2022-05-03T01:54:56.524Z] Step 23/25 : LABEL arch=arm64 [2022-05-03T01:54:56.524Z] ---> Running in 35a82d54e70c [2022-05-03T01:54:56.803Z] Removing intermediate container 35a82d54e70c [2022-05-03T01:54:56.803Z] ---> 01dcbd0f19d6 [2022-05-03T01:54:56.803Z] Step 24/25 : LABEL git_sha=bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [2022-05-03T01:54:57.077Z] ---> Running in 8b8c08ba86b2 [2022-05-03T01:54:57.351Z] Removing intermediate container 8b8c08ba86b2 [2022-05-03T01:54:57.351Z] ---> 0cf2964e0557 [2022-05-03T01:54:57.351Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T01:54:57.351Z] ---> Running in 04183df136cf [2022-05-03T01:54:57.629Z] Removing intermediate container 04183df136cf [2022-05-03T01:54:57.630Z] ---> b98ca3cf71d6 [2022-05-03T01:54:57.630Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T01:54:57.630Z] Successfully built b98ca3cf71d6 [2022-05-03T01:54:57.903Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:54:58.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T01:54:58.342Z] [2022-05-03T01:54:58.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:54:58.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T01:54:58.982Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T01:54:58.982Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T01:54:58.982Z] 04944245beec: Pulling fs layer [2022-05-03T01:54:58.982Z] 699f458cf7ca: Pulling fs layer [2022-05-03T01:54:58.982Z] 765212b225bb: Pulling fs layer [2022-05-03T01:54:58.982Z] f23df028b6ca: Pulling fs layer [2022-05-03T01:54:58.982Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T01:54:58.982Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T01:54:58.982Z] 765212b225bb: Waiting [2022-05-03T01:54:58.982Z] f23df028b6ca: Waiting [2022-05-03T01:54:58.982Z] 2437ff75d9bd: Waiting [2022-05-03T01:54:58.982Z] d65c8cfc05b1: Waiting [2022-05-03T01:54:58.982Z] 04944245beec: Verifying Checksum [2022-05-03T01:54:58.982Z] 04944245beec: Download complete [2022-05-03T01:54:58.982Z] 765212b225bb: Download complete [2022-05-03T01:54:58.982Z] f23df028b6ca: Verifying Checksum [2022-05-03T01:54:58.982Z] f23df028b6ca: Download complete [2022-05-03T01:54:59.261Z] d65c8cfc05b1: Download complete [2022-05-03T01:54:59.261Z] 699f458cf7ca: Verifying Checksum [2022-05-03T01:54:59.868Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T01:54:59.868Z] 8998bd30e6a1: Download complete [2022-05-03T01:55:02.501Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T01:55:02.501Z] 2437ff75d9bd: Download complete [2022-05-03T01:55:04.479Z] 8998bd30e6a1: Pull complete [2022-05-03T01:55:05.075Z] 04944245beec: Pull complete [2022-05-03T01:55:06.514Z] 699f458cf7ca: Pull complete [2022-05-03T01:55:06.792Z] 765212b225bb: Pull complete [2022-05-03T01:55:07.781Z] f23df028b6ca: Pull complete [2022-05-03T01:55:08.057Z] d65c8cfc05b1: Pull complete [2022-05-03T01:55:26.397Z] 2437ff75d9bd: Pull complete [2022-05-03T01:55:26.397Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T01:55:26.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T01:55:26.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T01:55:26.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-34764 does not seem to be running inside a container [2022-05-03T01:55:26.772Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-03T01:55:29.903Z] $ docker top 3c473e44129f3f52bc543d10ca104f9b4e4a0e38100a36ca2a5e51bb739a5c5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:30.914Z] ---> job-cost.sh [2022-05-03T01:55:30.914Z] lf-activate-venv: SKIPPING [2022-05-03T01:55:30.914Z] INFO: No Stack... [2022-05-03T01:55:31.516Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T01:55:32.506Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T01:55:33.190Z] + cut -d, -f6 [2022-05-03T01:55:33.190Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock [2022-05-03T01:55:33.275Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] [2022-05-03T01:55:33.281Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] did not exist. Created. [2022-05-03T01:55:33.281Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T01:55:33.977Z] /w/workspace/device-sdk-go/10@tmp/durable-2e5d025e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T01:55:34.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T01:55:34.697Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T01:55:34.770Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T01:55:34.778Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T01:55:34.804Z] $ docker stop --time=1 3c473e44129f3f52bc543d10ca104f9b4e4a0e38100a36ca2a5e51bb739a5c5b [2022-05-03T01:55:36.382Z] $ docker rm -f 3c473e44129f3f52bc543d10ca104f9b4e4a0e38100a36ca2a5e51bb739a5c5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-03T01:55:36.963Z] provisioning config files... [2022-05-03T01:55:36.971Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config3725278032561162570tmp [Pipeline] { [Pipeline] sh [2022-05-03T01:55:37.269Z] + set +x [2022-05-03T01:55:37.269Z] + curl -s https://codecov.io/bash [2022-05-03T01:55:37.269Z] + bash -s -- [2022-05-03T01:55:37.269Z] [2022-05-03T01:55:37.269Z] _____ _ [2022-05-03T01:55:37.269Z] / ____| | | [2022-05-03T01:55:37.269Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T01:55:37.269Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T01:55:37.269Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T01:55:37.269Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T01:55:37.269Z] Bash-1.0.6 [2022-05-03T01:55:37.269Z] [2022-05-03T01:55:37.269Z] [2022-05-03T01:55:37.269Z] ==> git version 2.25.1 found [2022-05-03T01:55:37.269Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-03T01:55:37.269Z] Release-Date: 2020-01-08 [2022-05-03T01:55:37.269Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-03T01:55:37.269Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T01:55:37.269Z] ==> Jenkins CI detected. [2022-05-03T01:55:37.269Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-03T01:55:37.269Z] project root: . [2022-05-03T01:55:37.269Z] --> token set from env [2022-05-03T01:55:37.269Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T01:55:37.269Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T01:55:37.269Z] ==> Python coveragepy not found [2022-05-03T01:55:37.269Z] ==> Searching for coverage reports in: [2022-05-03T01:55:37.269Z] + . [2022-05-03T01:55:37.269Z] -> Found 1 reports [2022-05-03T01:55:37.269Z] ==> Detecting git/mercurial file structure [2022-05-03T01:55:37.269Z] ==> Reading reports [2022-05-03T01:55:37.269Z] + ./coverage.out bytes=130819 [2022-05-03T01:55:37.529Z] ==> Appending adjustments [2022-05-03T01:55:37.529Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T01:55:37.789Z] + Found adjustments [2022-05-03T01:55:37.789Z] ==> Gzipping contents [2022-05-03T01:55:37.789Z] 20K /tmp/codecov.sKFNfA.gz [2022-05-03T01:55:37.789Z] ==> Uploading reports [2022-05-03T01:55:37.789Z] url: https://codecov.io [2022-05-03T01:55:37.789Z] query: branch=PR-1144&commit=bfcfbcd4b592c3bf6de8e57d339223d935e44f8d&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-03T01:55:37.789Z] -> Pinging Codecov [2022-05-03T01:55:37.789Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=bfcfbcd4b592c3bf6de8e57d339223d935e44f8d&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-03T01:55:38.050Z] -> Uploading to [2022-05-03T01:55:38.050Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7E55EF52A471D76F132DFD9A03CDDE97/bfcfbcd4b592c3bf6de8e57d339223d935e44f8d/42c69006-fa09-4d1d-99c2-b1a34af2ae1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T015537Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f13e0be92857a5c924bfcff50d272e61091eaaa106384a4f77901382fbb77ec3 [2022-05-03T01:55:38.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T01:55:38.050Z] Dload Upload Total Spent Left Speed [2022-05-03T01:55:38.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16850 0 0 100 16850 0 70502 --:--:-- --:--:-- --:--:-- 70502 [2022-05-03T01:55:38.310Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bfcfbcd4b592c3bf6de8e57d339223d935e44f8d [Pipeline] } [2022-05-03T01:55:38.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-03T01:55:39.122Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-05-03T01:55:39.122Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-03T01:55:39.122Z] total 16 [2022-05-03T01:55:39.122Z] drwxr-xr-x 3 root root 4096 May 3 01:36 . [2022-05-03T01:55:39.122Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:36 .. [2022-05-03T01:55:39.122Z] drwxr-xr-x 2 root root 4096 May 3 01:36 cost [2022-05-03T01:55:39.122Z] -rw-r--r-- 1 root root 86 May 3 01:36 cost.csv [2022-05-03T01:55:39.122Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-03T01:55:39.122Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-03T01:55:39.122Z] total 16 [2022-05-03T01:55:39.122Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:36 . [2022-05-03T01:55:39.122Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:36 .. [2022-05-03T01:55:39.122Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 01:36 cost [2022-05-03T01:55:39.122Z] -rw-r--r-- 1 jenkins jenkins 86 May 3 01:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:39.419Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:40.283Z] ---> package-listing.sh [2022-05-03T01:55:40.283Z] ++ facter osfamily [2022-05-03T01:55:40.283Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T01:55:40.542Z] + OS_FAMILY=debian [2022-05-03T01:55:40.542Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-03T01:55:40.542Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T01:55:40.542Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T01:55:40.542Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T01:55:40.542Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T01:55:40.542Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-03T01:55:40.542Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T01:55:40.542Z] + case "${OS_FAMILY}" in [2022-05-03T01:55:40.542Z] + dpkg -l [2022-05-03T01:55:40.542Z] + grep '^ii' [2022-05-03T01:55:40.542Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T01:55:40.542Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T01:55:40.542Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T01:55:40.542Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-03T01:55:40.542Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-05-03T01:55:40.542Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-05-03T01:55:40.555Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-03T01:55:40.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:55:41.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:55:41.391Z] . [Pipeline] withDockerContainer [2022-05-03T01:55:41.456Z] prd-ubuntu20.04-docker-8c-8g-34638 does not seem to be running inside a container [2022-05-03T01:55:41.509Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-05-03T01:55:41.739Z] $ docker top 748b2ca7d82ffec7ac7e2fd989ab2fb10372c0377d5cff582343029803733510 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T01:55:42.078Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T01:55:42.373Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T01:55:42.663Z] + ls /var/log/sa-host [2022-05-03T01:55:42.663Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:55:42.910Z] provisioning config files... [2022-05-03T01:55:42.919Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config3834734352606688225tmp [Pipeline] { [Pipeline] echo [2022-05-03T01:55:42.935Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:43.220Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T01:55:43.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:43.575Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T01:55:43.585Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:43.871Z] ---> sudo-logs.sh [2022-05-03T01:55:43.871Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T01:55:43.898Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:44.187Z] ---> job-cost.sh [2022-05-03T01:55:44.187Z] lf-activate-venv: SKIPPING [2022-05-03T01:55:44.187Z] DEBUG: total: 0.2199999988079071 [2022-05-03T01:55:44.187Z] INFO: Retrieving Stack Cost... [2022-05-03T01:55:44.446Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T01:55:45.018Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T01:55:45.032Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:45.321Z] ---> logs-deploy.sh [2022-05-03T01:55:45.321Z] lf-activate-venv: SKIPPING [2022-05-03T01:55:45.321Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/10 [2022-05-03T01:55:45.321Z] INFO: archiving workspace using pattern(s): [2022-05-03T01:55:46.260Z] Archives upload complete. [2022-05-03T01:55:46.521Z] INFO: archiving logs to Nexus