Pull request #1201 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1260925e1e6f2ee43685c1be7f2616c39f0ee71+20346f720feaa6bc50598f6f64a20743a4313f47 (e9af1f937651228e0eeae345388520d0146c11a5) 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-ssh3649341104868863775.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh17715423693821385404.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11857713429659695932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9005318103606188985.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15310282109353521770.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15894466585742044975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21200 in /w/workspace/gexfoundry_device-sdk-go_PR-1201 [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-1201 # 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 20346f720feaa6bc50598f6f64a20743a4313f47 into PR head commit b1260925e1e6f2ee43685c1be7f2616c39f0ee71 Merge succeeded, producing b1260925e1e6f2ee43685c1be7f2616c39f0ee71 Checking out Revision b1260925e1e6f2ee43685c1be7f2616c39f0ee71 (PR-1201) > 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/1201/head:refs/remotes/origin/PR-1201 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # 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 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-27T04:05:17.067Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-27T04:05:17.221Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-27T04:05:17.307Z] ========================================================= [2022-07-27T04:05:17.307Z] EdgeX Global Pipelines Version Info [2022-07-27T04:05:17.307Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:05:18.130Z] ------------------- [2022-07-27T04:05:18.130Z] stable info: [2022-07-27T04:05:18.130Z] ------------------- [2022-07-27T04:05:18.130Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T04:05:18.130Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T04:05:18.130Z] Message: update stable to v1.0.238 [2022-07-27T04:05:18.703Z] ------------------- [2022-07-27T04:05:18.703Z] experimental info: [2022-07-27T04:05:18.703Z] ------------------- [2022-07-27T04:05:18.703Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T04:05:18.703Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T04:05:18.704Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-27T04:05:19.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-27T04:05:19.104Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-27T04:05:19.144Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-27T04:05:19.181Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-27T04:05:19.219Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-27T04:05:19.253Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-27T04:05:19.293Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-27T04:05:19.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-27T04:05:19.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-27T04:05:19.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-27T04:05:19.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-27T04:05:19.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-27T04:05:19.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-27T04:05:19.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-27T04:05:19.602Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T04:05:19.637Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T04:05:19.672Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T04:05:19.715Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T04:05:19.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-27T04:05:19.791Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-27T04:05:19.830Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-27T04:05:19.871Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-27T04:05:19.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-27T04:05:19.943Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-27T04:05:19.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-27T04:05:20.019Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-27T04:05:20.058Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-27T04:05:20.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1201 [Pipeline] echo [2022-07-27T04:05:20.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1201 [Pipeline] echo [2022-07-27T04:05:20.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1201 [Pipeline] echo [2022-07-27T04:05:20.209Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo [2022-07-27T04:05:20.249Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b126092 [Pipeline] echo [2022-07-27T04:05:20.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T04:05:20.401Z] provisioning config files... [2022-07-27T04:05:20.416Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config1718437210388012541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:05:20.769Z] ---> docker-login.sh [2022-07-27T04:05:20.769Z] nexus3.edgexfoundry.org:10001 [2022-07-27T04:05:21.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:21.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:21.295Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:21.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:21.295Z] [2022-07-27T04:05:21.295Z] Login Succeeded [2022-07-27T04:05:21.295Z] nexus3.edgexfoundry.org:10002 [2022-07-27T04:05:21.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:21.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:21.295Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:21.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:21.295Z] [2022-07-27T04:05:21.295Z] Login Succeeded [2022-07-27T04:05:21.295Z] nexus3.edgexfoundry.org:10003 [2022-07-27T04:05:21.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:21.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:21.557Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:21.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:21.557Z] [2022-07-27T04:05:21.557Z] Login Succeeded [2022-07-27T04:05:21.557Z] nexus3.edgexfoundry.org:10004 [2022-07-27T04:05:21.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:21.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:21.819Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:21.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:21.819Z] [2022-07-27T04:05:21.819Z] Login Succeeded [2022-07-27T04:05:21.819Z] docker.io [2022-07-27T04:05:21.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:22.080Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:22.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:22.080Z] [2022-07-27T04:05:22.080Z] Login Succeeded [2022-07-27T04:05:22.080Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T04:05:22.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-27T04:05:22.755Z] + git rev-list -1 --merges b1260925e1e6f2ee43685c1be7f2616c39f0ee71~1..b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo [2022-07-27T04:05:22.811Z] -----------> git rev-list -1 --merges b1260925e1e6f2ee43685c1be7f2616c39f0ee71~1..b1260925e1e6f2ee43685c1be7f2616c39f0ee71 b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [false] [Pipeline] sh [2022-07-27T04:05:23.132Z] + git log --format=format:%s -1 b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo [2022-07-27T04:05:23.170Z] ========================================================= [2022-07-27T04:05:23.170Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-27T04:05:23.170Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T04:05:23.596Z] + git log --format=format:%s -1 b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo [2022-07-27T04:05:23.627Z] [semverPrep] GIT_COMMIT: b1260925e1e6f2ee43685c1be7f2616c39f0ee71, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-07-27T04:05:23.657Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-27T04:05:24.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-27T04:05:24.064Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-27T04:05:24.064Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-27T04:05:24.064Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-27T04:05:24.064Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-27T04:05:24.064Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-27T04:05:24.064Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:05:24.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T04:05:24.570Z] [2022-07-27T04:05:24.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:05:24.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T04:05:24.951Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-27T04:05:24.951Z] b85a868b505f: Pulling fs layer [2022-07-27T04:05:24.951Z] e2be974225ed: Pulling fs layer [2022-07-27T04:05:24.951Z] 339a4e72a1f5: Pulling fs layer [2022-07-27T04:05:24.951Z] 988bab9f4d93: Pulling fs layer [2022-07-27T04:05:24.951Z] 1469e6f7b9e6: Pulling fs layer [2022-07-27T04:05:24.951Z] 988bab9f4d93: Waiting [2022-07-27T04:05:24.951Z] eaf3925da568: Pulling fs layer [2022-07-27T04:05:24.951Z] bab4dde63d76: Pulling fs layer [2022-07-27T04:05:24.951Z] 1469e6f7b9e6: Waiting [2022-07-27T04:05:24.951Z] eaf3925da568: Waiting [2022-07-27T04:05:24.951Z] bde34c3a00c8: Pulling fs layer [2022-07-27T04:05:24.951Z] b352a97aabf1: Pulling fs layer [2022-07-27T04:05:24.951Z] bde34c3a00c8: Waiting [2022-07-27T04:05:24.951Z] bab4dde63d76: Waiting [2022-07-27T04:05:24.951Z] b352a97aabf1: Waiting [2022-07-27T04:05:24.951Z] 4872d77fe225: Pulling fs layer [2022-07-27T04:05:24.951Z] 5851b861e8e6: Pulling fs layer [2022-07-27T04:05:24.951Z] 5851b861e8e6: Waiting [2022-07-27T04:05:24.951Z] 4872d77fe225: Waiting [2022-07-27T04:05:24.951Z] e2be974225ed: Verifying Checksum [2022-07-27T04:05:24.951Z] e2be974225ed: Download complete [2022-07-27T04:05:24.951Z] 988bab9f4d93: Download complete [2022-07-27T04:05:25.211Z] 1469e6f7b9e6: Verifying Checksum [2022-07-27T04:05:25.211Z] 1469e6f7b9e6: Download complete [2022-07-27T04:05:25.211Z] 339a4e72a1f5: Verifying Checksum [2022-07-27T04:05:25.211Z] 339a4e72a1f5: Download complete [2022-07-27T04:05:25.211Z] eaf3925da568: Verifying Checksum [2022-07-27T04:05:25.211Z] eaf3925da568: Download complete [2022-07-27T04:05:25.211Z] bde34c3a00c8: Verifying Checksum [2022-07-27T04:05:25.211Z] bde34c3a00c8: Download complete [2022-07-27T04:05:25.211Z] b352a97aabf1: Verifying Checksum [2022-07-27T04:05:25.211Z] 4872d77fe225: Verifying Checksum [2022-07-27T04:05:25.211Z] 4872d77fe225: Download complete [2022-07-27T04:05:25.211Z] 5851b861e8e6: Verifying Checksum [2022-07-27T04:05:25.211Z] 5851b861e8e6: Download complete [2022-07-27T04:05:25.211Z] b85a868b505f: Verifying Checksum [2022-07-27T04:05:25.211Z] b85a868b505f: Download complete [2022-07-27T04:05:25.471Z] bab4dde63d76: Verifying Checksum [2022-07-27T04:05:25.471Z] bab4dde63d76: Download complete [2022-07-27T04:05:26.859Z] b85a868b505f: Pull complete [2022-07-27T04:05:26.859Z] e2be974225ed: Pull complete [2022-07-27T04:05:27.430Z] 339a4e72a1f5: Pull complete [2022-07-27T04:05:27.430Z] 988bab9f4d93: Pull complete [2022-07-27T04:05:27.693Z] 1469e6f7b9e6: Pull complete [2022-07-27T04:05:27.693Z] eaf3925da568: Pull complete [2022-07-27T04:05:30.242Z] bab4dde63d76: Pull complete [2022-07-27T04:05:30.242Z] bde34c3a00c8: Pull complete [2022-07-27T04:05:30.242Z] b352a97aabf1: Pull complete [2022-07-27T04:05:30.242Z] 4872d77fe225: Pull complete [2022-07-27T04:05:30.242Z] 5851b861e8e6: Pull complete [2022-07-27T04:05:30.242Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-27T04:05:30.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T04:05:30.242Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:05:30.473Z] prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container [2022-07-27T04:05:30.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-27T04:05:31.973Z] $ docker top 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 -eo pid,comm [2022-07-27T04:05:32.039Z] 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-07-27T04:05:32.039Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-27T04:05:32.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T04:05:32.169Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T04:05:32.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T04:05:32.304Z] $ docker exec 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent [2022-07-27T04:05:32.453Z] SSH_AUTH_SOCK=/tmp/ssh-qfzJQRTQXwu2/agent.33 [2022-07-27T04:05:32.453Z] SSH_AGENT_PID=40 [2022-07-27T04:05:32.459Z] Running ssh-add (command line suppressed) [2022-07-27T04:05:32.581Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_1984864846360179484.key (/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_1984864846360179484.key) [2022-07-27T04:05:32.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T04:05:32.925Z] + git tag --points-at HEAD [Pipeline] } [2022-07-27T04:05:32.950Z] $ docker exec --env ******** --env ******** 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent -k [2022-07-27T04:05:33.074Z] unset SSH_AUTH_SOCK; [2022-07-27T04:05:33.075Z] unset SSH_AGENT_PID; [2022-07-27T04:05:33.075Z] echo Agent pid 40 killed; [2022-07-27T04:05:33.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-27T04:05:33.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T04:05:33.163Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T04:05:33.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T04:05:33.306Z] $ docker exec 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent [2022-07-27T04:05:33.432Z] SSH_AUTH_SOCK=/tmp/ssh-4JdnVYhuuGA0/agent.73 [2022-07-27T04:05:33.432Z] SSH_AGENT_PID=80 [2022-07-27T04:05:33.439Z] Running ssh-add (command line suppressed) [2022-07-27T04:05:33.567Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_8502573866714548080.key (/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_8502573866714548080.key) [2022-07-27T04:05:33.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T04:05:33.922Z] + git semver init [2022-07-27T04:05:34.183Z] 2022-07-27 04:05:34,156 [run_init] DEBUG init version:0.0.0 force:False [2022-07-27T04:05:34.183Z] 2022-07-27 04:05:34,157 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver [2022-07-27T04:05:34.183Z] 2022-07-27 04:05:34,157 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver [2022-07-27T04:05:34.183Z] 2022-07-27 04:05:34,157 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1201, universal_newlines=False, shell=None, istream=None) [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,155 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.git/info/exclude [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,156 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver/PR-1201 with force:False [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,156 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver/PR-1201 [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,161 [execute] INFO git cat-file --batch-check [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,168 [execute] INFO git cat-file --batch [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T04:05:35.572Z] 2022-07-27 04:05:35,175 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver/PR-1201 [2022-07-27T04:05:35.572Z] 0.0.0 [Pipeline] } [2022-07-27T04:05:35.604Z] $ docker exec --env ******** --env ******** 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent -k [2022-07-27T04:05:35.715Z] unset SSH_AUTH_SOCK; [2022-07-27T04:05:35.716Z] unset SSH_AGENT_PID; [2022-07-27T04:05:35.716Z] echo Agent pid 80 killed; [2022-07-27T04:05:35.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-27T04:05:36.157Z] + git semver [Pipeline] } [2022-07-27T04:05:36.448Z] $ docker stop --time=1 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 [2022-07-27T04:05:37.801Z] $ docker rm -f 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T04:05:38.218Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-27T04:05:38.558Z] Stashed 1 file(s) [Pipeline] echo [2022-07-27T04:05:38.576Z] [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-07-27T04:05:39.152Z] provisioning config files... [2022-07-27T04:05:39.164Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config3046626034122996072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:05:39.512Z] ---> docker-login.sh [2022-07-27T04:05:39.512Z] nexus3.edgexfoundry.org:10001 [2022-07-27T04:05:39.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:39.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:39.512Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:39.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:39.512Z] [2022-07-27T04:05:39.512Z] Login Succeeded [2022-07-27T04:05:39.512Z] nexus3.edgexfoundry.org:10002 [2022-07-27T04:05:39.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:39.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:39.775Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:39.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:39.775Z] [2022-07-27T04:05:39.775Z] Login Succeeded [2022-07-27T04:05:39.775Z] nexus3.edgexfoundry.org:10003 [2022-07-27T04:05:39.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:39.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:39.775Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:39.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:39.775Z] [2022-07-27T04:05:39.775Z] Login Succeeded [2022-07-27T04:05:39.775Z] nexus3.edgexfoundry.org:10004 [2022-07-27T04:05:40.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:40.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:40.039Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:40.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:40.039Z] [2022-07-27T04:05:40.039Z] Login Succeeded [2022-07-27T04:05:40.039Z] docker.io [2022-07-27T04:05:40.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:05:40.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:05:40.304Z] Configure a credential helper to remove this warning. See [2022-07-27T04:05:40.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:05:40.304Z] [2022-07-27T04:05:40.304Z] Login Succeeded [2022-07-27T04:05:40.304Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T04:05:40.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T04:05:40.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T04:05:40.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T04:05:40.590Z] ========================================================= [2022-07-27T04:05:40.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-27T04:05:40.590Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:05:41.035Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-27T04:05:41.035Z] Sending build context to Docker daemon 9.755MB [2022-07-27T04:05:41.035Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T04:05:41.035Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T04:05:41.035Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-27T04:05:41.035Z] 2408cc74d12b: Pulling fs layer [2022-07-27T04:05:41.035Z] ea60b727a1ce: Pulling fs layer [2022-07-27T04:05:41.035Z] 30c4a7721957: Pulling fs layer [2022-07-27T04:05:41.035Z] 370296b7ddb6: Pulling fs layer [2022-07-27T04:05:41.035Z] 7c6cee850709: Pulling fs layer [2022-07-27T04:05:41.035Z] 39a5fcdaea64: Pulling fs layer [2022-07-27T04:05:41.035Z] d94ebbe4e438: Pulling fs layer [2022-07-27T04:05:41.035Z] bcfd1f05c69d: Pulling fs layer [2022-07-27T04:05:41.036Z] 59ccb84bbe0f: Pulling fs layer [2022-07-27T04:05:41.036Z] d94ebbe4e438: Waiting [2022-07-27T04:05:41.036Z] bcfd1f05c69d: Waiting [2022-07-27T04:05:41.036Z] 59ccb84bbe0f: Waiting [2022-07-27T04:05:41.036Z] 7c6cee850709: Waiting [2022-07-27T04:05:41.036Z] 39a5fcdaea64: Waiting [2022-07-27T04:05:41.296Z] 30c4a7721957: Download complete [2022-07-27T04:05:41.296Z] ea60b727a1ce: Verifying Checksum [2022-07-27T04:05:41.296Z] ea60b727a1ce: Download complete [2022-07-27T04:05:41.296Z] 7c6cee850709: Verifying Checksum [2022-07-27T04:05:41.296Z] 7c6cee850709: Download complete [2022-07-27T04:05:41.296Z] 39a5fcdaea64: Download complete [2022-07-27T04:05:41.296Z] 2408cc74d12b: Verifying Checksum [2022-07-27T04:05:41.296Z] 2408cc74d12b: Download complete [2022-07-27T04:05:41.296Z] d94ebbe4e438: Verifying Checksum [2022-07-27T04:05:41.296Z] d94ebbe4e438: Download complete [2022-07-27T04:05:41.296Z] 2408cc74d12b: Pull complete [2022-07-27T04:05:41.558Z] ea60b727a1ce: Pull complete [2022-07-27T04:05:41.558Z] 30c4a7721957: Pull complete [2022-07-27T04:05:42.138Z] 370296b7ddb6: Download complete [2022-07-27T04:05:42.138Z] 59ccb84bbe0f: Verifying Checksum [2022-07-27T04:05:42.138Z] 59ccb84bbe0f: Download complete [2022-07-27T04:05:42.138Z] bcfd1f05c69d: Verifying Checksum [2022-07-27T04:05:42.138Z] bcfd1f05c69d: Download complete [2022-07-27T04:05:46.355Z] 370296b7ddb6: Pull complete [2022-07-27T04:05:46.355Z] 7c6cee850709: Pull complete [2022-07-27T04:05:46.355Z] 39a5fcdaea64: Pull complete [2022-07-27T04:05:46.355Z] d94ebbe4e438: Pull complete [2022-07-27T04:05:48.900Z] bcfd1f05c69d: Pull complete [2022-07-27T04:05:49.160Z] 59ccb84bbe0f: Pull complete [2022-07-27T04:05:49.160Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-27T04:05:49.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-27T04:05:49.160Z] ---> a4fb48ad2a94 [2022-07-27T04:05:49.160Z] Step 3/11 : ARG MAKE=make build [2022-07-27T04:05:51.085Z] ---> Running in 60ed90ea6719 [2022-07-27T04:05:51.085Z] Removing intermediate container 60ed90ea6719 [2022-07-27T04:05:51.085Z] ---> ace15a38f1c1 [2022-07-27T04:05:51.085Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T04:05:51.085Z] ---> Running in 35bc918d6afe [2022-07-27T04:05:51.085Z] Removing intermediate container 35bc918d6afe [2022-07-27T04:05:51.085Z] ---> 3e6d27c387b6 [2022-07-27T04:05:51.085Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T04:05:51.345Z] ---> Running in e0f40ecea01c [2022-07-27T04:05:51.345Z] Removing intermediate container e0f40ecea01c [2022-07-27T04:05:51.345Z] ---> fd4b19676ad0 [2022-07-27T04:05:51.345Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T04:05:51.345Z] ---> Running in c3416412b7e3 [2022-07-27T04:05:51.916Z] Removing intermediate container c3416412b7e3 [2022-07-27T04:05:51.916Z] ---> 5d453b81eb87 [2022-07-27T04:05:51.916Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T04:05:51.916Z] ---> Running in 71b443ee074c [2022-07-27T04:05:52.176Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T04:05:53.118Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T04:05:53.692Z] OK: 211 MiB in 51 packages [2022-07-27T04:05:53.956Z] Removing intermediate container 71b443ee074c [2022-07-27T04:05:53.956Z] ---> f1483feeec7c [2022-07-27T04:05:53.956Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T04:05:53.956Z] ---> 2391d1d8f22d [2022-07-27T04:05:53.956Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T04:05:53.956Z] ---> Running in bdf7b0379284 [2022-07-27T04:05:53.974Z] Still waiting to schedule task [2022-07-27T04:05:53.974Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-27T04:06:12.083Z] Removing intermediate container bdf7b0379284 [2022-07-27T04:06:12.083Z] ---> da3cad9a5da7 [2022-07-27T04:06:12.083Z] Step 10/11 : COPY . . [2022-07-27T04:06:12.347Z] ---> 51f77dbf6302 [2022-07-27T04:06:12.347Z] Step 11/11 : RUN ${MAKE} [2022-07-27T04:06:12.347Z] ---> Running in 895a5a2d6ac7 [2022-07-27T04:06:12.607Z] noop [2022-07-27T04:06:12.869Z] Removing intermediate container 895a5a2d6ac7 [2022-07-27T04:06:12.869Z] ---> 9f9859cf3e76 [2022-07-27T04:06:12.869Z] Successfully built 9f9859cf3e76 [2022-07-27T04:06:12.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:06:13.565Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T04:06:13.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:06:13.734Z] prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container [2022-07-27T04:06:13.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T04:06:14.196Z] $ docker top 4a9425df419b612d0e531c89be4e33fc795d134d11fcc147904c3bcd1d329c74 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T04:06:14.664Z] + go version [2022-07-27T04:06:14.664Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-27T04:06:14.718Z] $ docker stop --time=1 4a9425df419b612d0e531c89be4e33fc795d134d11fcc147904c3bcd1d329c74 [2022-07-27T04:06:16.031Z] $ docker rm -f 4a9425df419b612d0e531c89be4e33fc795d134d11fcc147904c3bcd1d329c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:06:16.751Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T04:06:16.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:06:16.919Z] prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container [2022-07-27T04:06:16.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T04:06:17.348Z] $ docker top d551a1329e3e309400ac94a80c440b85737b8413a4692bb452cb9490e0d3826e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T04:06:17.748Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1201 [Pipeline] fileExists [Pipeline] sh [2022-07-27T04:06:18.103Z] + make test [2022-07-27T04:06:18.103Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T04:06:24.681Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.7% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 10.8% of statements [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 60.0% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.8% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.084s coverage: 85.4% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.749s coverage: 89.2% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T04:06:39.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-07-27T04:06:39.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T04:06:54.526Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-27T04:06:54.526Z] GO111MODULE=on go vet ./... [2022-07-27T04:06:57.834Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T04:06:57.834Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T04:06:57.834Z] ./bin/test-attribution-txt.sh [2022-07-27T04:06:57.834Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T04:06:57.834Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T04:06:57.834Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T04:06:57.834Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T04:06:57.834Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T04:06:57.834Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T04:06:57.834Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T04:06:57.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T04:06:57.901Z] $ docker stop --time=1 d551a1329e3e309400ac94a80c440b85737b8413a4692bb452cb9490e0d3826e [2022-07-27T04:07:00.037Z] $ docker rm -f d551a1329e3e309400ac94a80c440b85737b8413a4692bb452cb9490e0d3826e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T04:07:00.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T04:07:00.717Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-27T04:07:01.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T04:07:01.739Z] + ls -al . [2022-07-27T04:07:01.739Z] total 304 [2022-07-27T04:07:01.739Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 04:06 . [2022-07-27T04:07:01.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:05 .. [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 04:05 .dockerignore [2022-07-27T04:07:01.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 04:06 .git [2022-07-27T04:07:01.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:05 .github [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 04:05 .gitignore [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 04:05 .golangci.yml [2022-07-27T04:07:01.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 04:05 .semver [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 04:05 CHANGELOG.md [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 04:05 GOVERNANCE.md [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 04:05 Jenkinsfile [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 04:05 LICENSE [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 04:05 Makefile [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 04:05 OWNERS.md [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 04:05 README.md [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 04:05 VERSION [2022-07-27T04:07:01.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:05 bin [2022-07-27T04:07:01.739Z] -rw-r--r-- 1 jenkins jenkins 131352 Jul 27 04:06 coverage.out [2022-07-27T04:07:01.739Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 04:05 example [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 04:05 go.mod [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 04:05 go.sum [2022-07-27T04:07:01.739Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 04:05 internal [2022-07-27T04:07:01.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 04:05 openapi [2022-07-27T04:07:01.739Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 04:05 pkg [2022-07-27T04:07:01.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:05 snap [2022-07-27T04:07:01.739Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:07:02.151Z] + 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=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 --label arch=amd64 --label version=0.0.0 . [2022-07-27T04:07:02.151Z] Sending build context to Docker daemon 9.887MB [2022-07-27T04:07:02.151Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T04:07:02.151Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T04:07:02.151Z] ---> 9f9859cf3e76 [2022-07-27T04:07:02.151Z] Step 3/25 : ARG MAKE=make build [2022-07-27T04:07:02.412Z] ---> Running in 59f698aa798e [2022-07-27T04:07:02.412Z] Removing intermediate container 59f698aa798e [2022-07-27T04:07:02.412Z] ---> 02b87d5aa12d [2022-07-27T04:07:02.412Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T04:07:02.412Z] ---> Running in abf6a2b5afac [2022-07-27T04:07:02.674Z] Removing intermediate container abf6a2b5afac [2022-07-27T04:07:02.674Z] ---> 8ae57d4270df [2022-07-27T04:07:02.674Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T04:07:02.674Z] ---> Running in ed1e45c696f6 [2022-07-27T04:07:02.674Z] Removing intermediate container ed1e45c696f6 [2022-07-27T04:07:02.674Z] ---> f36e55746edf [2022-07-27T04:07:02.674Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T04:07:02.674Z] ---> Running in 6a26c2d157c3 [2022-07-27T04:07:03.250Z] Removing intermediate container 6a26c2d157c3 [2022-07-27T04:07:03.250Z] ---> 3e90a2a7fd7e [2022-07-27T04:07:03.250Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T04:07:03.513Z] ---> Running in 3ae6912596ee [2022-07-27T04:07:03.776Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T04:07:04.719Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T04:07:04.719Z] OK: 211 MiB in 51 packages [2022-07-27T04:07:05.290Z] Removing intermediate container 3ae6912596ee [2022-07-27T04:07:05.290Z] ---> 29844b8dd6e5 [2022-07-27T04:07:05.290Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T04:07:05.290Z] ---> bf298f0c3307 [2022-07-27T04:07:05.290Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T04:07:05.290Z] ---> Running in eeca8ae651dc [2022-07-27T04:07:06.227Z] Removing intermediate container eeca8ae651dc [2022-07-27T04:07:06.227Z] ---> f84451f13efa [2022-07-27T04:07:06.227Z] Step 10/25 : COPY . . [2022-07-27T04:07:06.488Z] ---> 0db50bf51c02 [2022-07-27T04:07:06.488Z] Step 11/25 : RUN ${MAKE} [2022-07-27T04:07:06.488Z] ---> Running in b0d8efb54c64 [2022-07-27T04:07:07.060Z] 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-07-27T04:07:25.151Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T04:07:26.092Z] Removing intermediate container b0d8efb54c64 [2022-07-27T04:07:26.092Z] ---> b9ab91dc92b8 [2022-07-27T04:07:26.092Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T04:07:26.664Z] 3.16: Pulling from library/alpine [2022-07-27T04:07:26.664Z] 530afca65e2e: Pulling fs layer [2022-07-27T04:07:26.929Z] 530afca65e2e: Verifying Checksum [2022-07-27T04:07:26.929Z] 530afca65e2e: Download complete [2022-07-27T04:07:26.929Z] 530afca65e2e: Pull complete [2022-07-27T04:07:26.929Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T04:07:26.929Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T04:07:26.929Z] ---> d7d3d98c851f [2022-07-27T04:07:26.929Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T04:07:27.189Z] ---> Running in 1ce56446a1fc [2022-07-27T04:07:27.189Z] Removing intermediate container 1ce56446a1fc [2022-07-27T04:07:27.189Z] ---> 44de8e5389d8 [2022-07-27T04:07:27.189Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T04:07:27.189Z] ---> Running in 5b8fb93eaf7a [2022-07-27T04:07:27.766Z] Removing intermediate container 5b8fb93eaf7a [2022-07-27T04:07:27.766Z] ---> d62e6bfd501a [2022-07-27T04:07:27.766Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T04:07:28.026Z] ---> Running in 8bbfd0c4dd7c [2022-07-27T04:07:28.112Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21202 in /w/workspace/gexfoundry_device-sdk-go_PR-1201 [Pipeline] { [Pipeline] ws [2022-07-27T04:07:28.151Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-27T04:07:28.239Z] The recommended git tool is: git [2022-07-27T04:07:28.286Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T04:07:29.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T04:07:29.489Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T04:07:29.489Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T04:07:29.489Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T04:07:29.751Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T04:07:29.751Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T04:07:30.013Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T04:07:30.013Z] OK: 8 MiB in 19 packages [2022-07-27T04:07:30.279Z] Removing intermediate container 8bbfd0c4dd7c [2022-07-27T04:07:30.279Z] ---> 0b0f19632130 [2022-07-27T04:07:30.279Z] Step 16/25 : WORKDIR / [2022-07-27T04:07:30.279Z] ---> Running in a29c52dbf271 [2022-07-27T04:07:30.538Z] Removing intermediate container a29c52dbf271 [2022-07-27T04:07:30.538Z] ---> 17d0bf36fb51 [2022-07-27T04:07:30.538Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T04:07:30.538Z] ---> 94cb7b815329 [2022-07-27T04:07:30.538Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T04:07:31.106Z] ---> 9e33df071a7c [2022-07-27T04:07:31.106Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T04:07:31.365Z] ---> 17fa014ca5e0 [2022-07-27T04:07:31.366Z] Step 20/25 : EXPOSE 59999 [2022-07-27T04:07:31.366Z] ---> Running in 278871f2736c [2022-07-27T04:07:31.366Z] Removing intermediate container 278871f2736c [2022-07-27T04:07:31.366Z] ---> 14c307bd0803 [2022-07-27T04:07:31.366Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T04:07:31.366Z] ---> Running in 0ee2015cd35e [2022-07-27T04:07:31.633Z] Removing intermediate container 0ee2015cd35e [2022-07-27T04:07:31.633Z] ---> 248551e9bf61 [2022-07-27T04:07:31.633Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T04:07:31.633Z] ---> Running in 47b79eb19eaf [2022-07-27T04:07:31.633Z] Removing intermediate container 47b79eb19eaf [2022-07-27T04:07:31.633Z] ---> 3c563753cceb [2022-07-27T04:07:31.633Z] Step 23/25 : LABEL arch=amd64 [2022-07-27T04:07:31.893Z] ---> Running in 4b19921111b0 [2022-07-27T04:07:31.893Z] Removing intermediate container 4b19921111b0 [2022-07-27T04:07:31.893Z] ---> 700d080fa574 [2022-07-27T04:07:31.893Z] Step 24/25 : LABEL git_sha=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [2022-07-27T04:07:31.893Z] ---> Running in 0d6a226d8d7a [2022-07-27T04:07:32.154Z] Removing intermediate container 0d6a226d8d7a [2022-07-27T04:07:32.154Z] ---> 27a532e1f3a2 [2022-07-27T04:07:32.154Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T04:07:32.154Z] ---> Running in aacced345b9c [2022-07-27T04:07:32.154Z] Removing intermediate container aacced345b9c [2022-07-27T04:07:32.154Z] ---> e52388760898 [2022-07-27T04:07:32.154Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T04:07:32.154Z] Successfully built e52388760898 [2022-07-27T04:07:32.154Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:07:33.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T04:07:33.037Z] [2022-07-27T04:07:33.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:07:33.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T04:07:33.418Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-27T04:07:33.418Z] 5eb5b503b376: Pulling fs layer [2022-07-27T04:07:33.418Z] 5c69ac0246d0: Pulling fs layer [2022-07-27T04:07:33.418Z] ec43610c2a17: Pulling fs layer [2022-07-27T04:07:33.418Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-27T04:07:33.418Z] 33b1e0a273af: Pulling fs layer [2022-07-27T04:07:33.418Z] 5d3b04190fa2: Pulling fs layer [2022-07-27T04:07:33.418Z] 2f39f015ded8: Pulling fs layer [2022-07-27T04:07:33.418Z] 5d3b04190fa2: Waiting [2022-07-27T04:07:33.418Z] 33b1e0a273af: Waiting [2022-07-27T04:07:33.418Z] 3a2ae6a8a46f: Waiting [2022-07-27T04:07:33.418Z] 2f39f015ded8: Waiting [2022-07-27T04:07:33.418Z] 5c69ac0246d0: Verifying Checksum [2022-07-27T04:07:33.418Z] 5c69ac0246d0: Download complete [2022-07-27T04:07:33.418Z] 3a2ae6a8a46f: Download complete [2022-07-27T04:07:33.418Z] ec43610c2a17: Verifying Checksum [2022-07-27T04:07:33.418Z] ec43610c2a17: Download complete [2022-07-27T04:07:33.418Z] 33b1e0a273af: Verifying Checksum [2022-07-27T04:07:33.418Z] 33b1e0a273af: Download complete [2022-07-27T04:07:33.679Z] 5d3b04190fa2: Verifying Checksum [2022-07-27T04:07:33.679Z] 5d3b04190fa2: Download complete [2022-07-27T04:07:33.679Z] 5eb5b503b376: Verifying Checksum [2022-07-27T04:07:33.679Z] 5eb5b503b376: Download complete [2022-07-27T04:07:34.248Z] 2f39f015ded8: Verifying Checksum [2022-07-27T04:07:34.248Z] 2f39f015ded8: Download complete [2022-07-27T04:07:34.545Z] using credential edgex-jenkins-ssh [2022-07-27T04:07:34.562Z] Cloning the remote Git repository [2022-07-27T04:07:35.192Z] 5eb5b503b376: Pull complete [2022-07-27T04:07:35.192Z] 5c69ac0246d0: Pull complete [2022-07-27T04:07:34.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T04:07:34.705Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-27T04:07:34.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T04:07:34.860Z] > git --version # timeout=10 [2022-07-27T04:07:34.894Z] > git --version # 'git version 2.25.1' [2022-07-27T04:07:34.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T04:07:35.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T04:07:35.762Z] ec43610c2a17: Pull complete [2022-07-27T04:07:35.762Z] 3a2ae6a8a46f: Pull complete [2022-07-27T04:07:36.022Z] 33b1e0a273af: Pull complete [2022-07-27T04:07:36.022Z] 5d3b04190fa2: Pull complete [2022-07-27T04:07:36.981Z] Merging remotes/origin/main commit 20346f720feaa6bc50598f6f64a20743a4313f47 into PR head commit b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [2022-07-27T04:07:36.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T04:07:36.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T04:07:36.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T04:07:36.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T04:07:36.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T04:07:36.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1201/head:refs/remotes/origin/PR-1201 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-27T04:07:37.002Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T04:07:37.016Z] > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # timeout=10 [2022-07-27T04:07:37.238Z] Merge succeeded, producing b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [2022-07-27T04:07:37.239Z] Checking out Revision b1260925e1e6f2ee43685c1be7f2616c39f0ee71 (PR-1201) [2022-07-27T04:07:37.147Z] > git remote # timeout=10 [2022-07-27T04:07:37.165Z] > git config --get remote.origin.url # timeout=10 [2022-07-27T04:07:37.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T04:07:37.203Z] > git merge 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 [2022-07-27T04:07:37.227Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-27T04:07:37.248Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T04:07:37.278Z] > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # timeout=10 [2022-07-27T04:07:41.305Z] 2f39f015ded8: Pull complete [2022-07-27T04:07:41.305Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-27T04:07:41.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T04:07:41.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:07:41.512Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-07-27T04:07:41.572Z] > git --version # timeout=10 [2022-07-27T04:07:41.582Z] > git --version # 'git version 2.25.1' [2022-07-27T04:07:41.595Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T04:07:41.599Z] prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container [2022-07-27T04:07:41.692Z] $ 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-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@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-07-27T04:07:41.873Z] [2022-07-27T04:07:41.873Z] GitHub has been notified of this commit’s build result [2022-07-27T04:07:41.873Z] [2022-07-27T04:07:43.631Z] $ docker top 76c14f07581e5fdad4b10767aea4c78d8ecdd0275b1314fa8ff0cd4600dd033d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T04:07:44.111Z] ---> job-cost.sh [2022-07-27T04:07:44.111Z] lf-activate-venv: SKIPPING [2022-07-27T04:07:44.111Z] INFO: No Stack... [2022-07-27T04:07:44.370Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T04:07:44.593Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-27T04:07:44.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T04:07:44.593Z] Dload Upload Total Spent Left Speed [2022-07-27T04:07:44.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 96343 [2022-07-27T04:07:44.940Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-07-27T04:07:45.258Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives/cost.csv [2022-07-27T04:07:45.258Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T04:07:45.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [2022-07-27T04:07:45.334Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] did not exist. Created. [2022-07-27T04:07:45.334Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T04:07:45.526Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-27T04:07:45.732Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-27T04:07:45.791Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T04:07:45.817Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] // lock [2022-07-27T04:07:45.882Z] + sudo tee /etc/docker/daemon.new [2022-07-27T04:07:45.882Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-27T04:07:45.882Z] { [2022-07-27T04:07:45.882Z] "registry-mirrors": [ [2022-07-27T04:07:45.882Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-27T04:07:45.882Z] ], [2022-07-27T04:07:45.882Z] "bip": "10.250.0.254/24", [2022-07-27T04:07:45.882Z] "hosts": [ [2022-07-27T04:07:45.882Z] "tcp://0.0.0.0:5555", [2022-07-27T04:07:45.882Z] "unix:///var/run/docker.sock" [2022-07-27T04:07:45.882Z] ], [2022-07-27T04:07:45.882Z] "mtu": 1458, [2022-07-27T04:07:45.882Z] "selinux-enabled": true, [2022-07-27T04:07:45.882Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-27T04:07:45.882Z] } [Pipeline] } [2022-07-27T04:07:45.903Z] $ docker stop --time=1 76c14f07581e5fdad4b10767aea4c78d8ecdd0275b1314fa8ff0cd4600dd033d [2022-07-27T04:07:47.081Z] $ docker rm -f 76c14f07581e5fdad4b10767aea4c78d8ecdd0275b1314fa8ff0cd4600dd033d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-27T04:07:47.551Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-27T04:07:47.901Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T04:08:06.296Z] provisioning config files... [2022-07-27T04:08:06.321Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8552496703505974303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:08:06.717Z] ---> docker-login.sh [2022-07-27T04:08:06.717Z] nexus3.edgexfoundry.org:10001 [2022-07-27T04:08:07.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:08:07.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:08:07.591Z] Configure a credential helper to remove this warning. See [2022-07-27T04:08:07.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:08:07.591Z] [2022-07-27T04:08:07.591Z] Login Succeeded [2022-07-27T04:08:07.591Z] nexus3.edgexfoundry.org:10002 [2022-07-27T04:08:07.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:08:08.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:08:08.142Z] Configure a credential helper to remove this warning. See [2022-07-27T04:08:08.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:08:08.142Z] [2022-07-27T04:08:08.142Z] Login Succeeded [2022-07-27T04:08:08.142Z] nexus3.edgexfoundry.org:10003 [2022-07-27T04:08:08.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:08:08.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:08:08.424Z] Configure a credential helper to remove this warning. See [2022-07-27T04:08:08.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:08:08.424Z] [2022-07-27T04:08:08.424Z] Login Succeeded [2022-07-27T04:08:08.424Z] nexus3.edgexfoundry.org:10004 [2022-07-27T04:08:09.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:08:09.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:08:09.028Z] Configure a credential helper to remove this warning. See [2022-07-27T04:08:09.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:08:09.028Z] [2022-07-27T04:08:09.028Z] Login Succeeded [2022-07-27T04:08:09.028Z] docker.io [2022-07-27T04:08:09.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T04:08:09.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T04:08:09.577Z] Configure a credential helper to remove this warning. See [2022-07-27T04:08:09.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T04:08:09.577Z] [2022-07-27T04:08:09.577Z] Login Succeeded [2022-07-27T04:08:09.850Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T04:08:09.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T04:08:10.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T04:08:10.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T04:08:10.352Z] ========================================================= [2022-07-27T04:08:10.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-27T04:08:10.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:08:10.851Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-27T04:08:11.459Z] Sending build context to Docker daemon 5.238MB [2022-07-27T04:08:11.459Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T04:08:11.459Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T04:08:11.459Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-27T04:08:11.459Z] b3c136eddcbf: Pulling fs layer [2022-07-27T04:08:11.459Z] c0a3192eca97: Pulling fs layer [2022-07-27T04:08:11.459Z] a050256f5b6f: Pulling fs layer [2022-07-27T04:08:11.459Z] 656be50a0ddc: Pulling fs layer [2022-07-27T04:08:11.459Z] 2bbca73fdf42: Pulling fs layer [2022-07-27T04:08:11.459Z] 46d945488cbd: Pulling fs layer [2022-07-27T04:08:11.459Z] 8a5474983e97: Pulling fs layer [2022-07-27T04:08:11.459Z] 329c88fbcd65: Pulling fs layer [2022-07-27T04:08:11.459Z] 656be50a0ddc: Waiting [2022-07-27T04:08:11.459Z] 2bbca73fdf42: Waiting [2022-07-27T04:08:11.459Z] 46d945488cbd: Waiting [2022-07-27T04:08:11.459Z] 329c88fbcd65: Waiting [2022-07-27T04:08:11.459Z] 8a5474983e97: Waiting [2022-07-27T04:08:11.459Z] a050256f5b6f: Verifying Checksum [2022-07-27T04:08:11.459Z] a050256f5b6f: Download complete [2022-07-27T04:08:11.459Z] c0a3192eca97: Verifying Checksum [2022-07-27T04:08:11.459Z] c0a3192eca97: Download complete [2022-07-27T04:08:11.460Z] 2bbca73fdf42: Verifying Checksum [2022-07-27T04:08:11.460Z] 2bbca73fdf42: Download complete [2022-07-27T04:08:11.743Z] 46d945488cbd: Verifying Checksum [2022-07-27T04:08:11.743Z] 46d945488cbd: Download complete [2022-07-27T04:08:11.743Z] b3c136eddcbf: Verifying Checksum [2022-07-27T04:08:11.743Z] b3c136eddcbf: Download complete [2022-07-27T04:08:12.728Z] 329c88fbcd65: Verifying Checksum [2022-07-27T04:08:12.728Z] 329c88fbcd65: Download complete [2022-07-27T04:08:12.728Z] b3c136eddcbf: Pull complete [2022-07-27T04:08:13.008Z] c0a3192eca97: Pull complete [2022-07-27T04:08:13.611Z] a050256f5b6f: Pull complete [2022-07-27T04:08:13.886Z] 8a5474983e97: Verifying Checksum [2022-07-27T04:08:13.886Z] 8a5474983e97: Download complete [2022-07-27T04:08:14.502Z] 656be50a0ddc: Verifying Checksum [2022-07-27T04:08:14.502Z] 656be50a0ddc: Download complete [2022-07-27T04:08:29.614Z] 656be50a0ddc: Pull complete [2022-07-27T04:08:29.614Z] 2bbca73fdf42: Pull complete [2022-07-27T04:08:29.614Z] 46d945488cbd: Pull complete [2022-07-27T04:08:33.951Z] 8a5474983e97: Pull complete [2022-07-27T04:08:35.942Z] 329c88fbcd65: Pull complete [2022-07-27T04:08:35.942Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-27T04:08:35.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-27T04:08:35.942Z] ---> ff4287adb874 [2022-07-27T04:08:35.942Z] Step 3/11 : ARG MAKE=make build [2022-07-27T04:08:37.936Z] ---> Running in d7a070ff7755 [2022-07-27T04:08:38.212Z] Removing intermediate container d7a070ff7755 [2022-07-27T04:08:38.212Z] ---> 985f163996ed [2022-07-27T04:08:38.212Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T04:08:38.212Z] ---> Running in d3c220876344 [2022-07-27T04:08:38.832Z] Removing intermediate container d3c220876344 [2022-07-27T04:08:38.832Z] ---> 8b409acdbb07 [2022-07-27T04:08:38.832Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T04:08:38.832Z] ---> Running in 661b0286ddcb [2022-07-27T04:08:39.114Z] Removing intermediate container 661b0286ddcb [2022-07-27T04:08:39.114Z] ---> 3da52d1e47de [2022-07-27T04:08:39.114Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T04:08:39.114Z] ---> Running in 422a54934e1b [2022-07-27T04:08:41.109Z] Removing intermediate container 422a54934e1b [2022-07-27T04:08:41.109Z] ---> ad92b907d03a [2022-07-27T04:08:41.109Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T04:08:41.393Z] ---> Running in c63a3a5bc631 [2022-07-27T04:08:42.400Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T04:08:43.381Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T04:08:44.361Z] OK: 221 MiB in 51 packages [2022-07-27T04:08:45.358Z] Removing intermediate container c63a3a5bc631 [2022-07-27T04:08:45.358Z] ---> d9b91e9f9b34 [2022-07-27T04:08:45.358Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T04:08:45.968Z] ---> 2d1821dc7700 [2022-07-27T04:08:45.968Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T04:08:45.968Z] ---> Running in 0eb9c269a231 [2022-07-27T04:09:42.555Z] Removing intermediate container 0eb9c269a231 [2022-07-27T04:09:42.555Z] ---> 765627654328 [2022-07-27T04:09:42.555Z] Step 10/11 : COPY . . [2022-07-27T04:09:42.555Z] ---> 4bb8f8c01450 [2022-07-27T04:09:42.555Z] Step 11/11 : RUN ${MAKE} [2022-07-27T04:09:42.555Z] ---> Running in 3f8071da927c [2022-07-27T04:09:42.555Z] noop [2022-07-27T04:09:42.555Z] Removing intermediate container 3f8071da927c [2022-07-27T04:09:42.555Z] ---> 24d20724f706 [2022-07-27T04:09:42.555Z] Successfully built 24d20724f706 [2022-07-27T04:09:42.555Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:09:43.030Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T04:09:43.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:09:43.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-21202 does not seem to be running inside a container [2022-07-27T04:09:43.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T04:09:44.976Z] $ docker top fed8feb9acc0a0783e2b3f8731530125ed9f6d6970fd96f67b69592ee9138d80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T04:09:45.984Z] + go version [2022-07-27T04:09:45.984Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-27T04:09:46.028Z] $ docker stop --time=1 fed8feb9acc0a0783e2b3f8731530125ed9f6d6970fd96f67b69592ee9138d80 [2022-07-27T04:09:47.718Z] $ docker rm -f fed8feb9acc0a0783e2b3f8731530125ed9f6d6970fd96f67b69592ee9138d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:09:48.647Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T04:09:48.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:09:48.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-21202 does not seem to be running inside a container [2022-07-27T04:09:49.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T04:09:50.424Z] $ docker top b47b05bc260af631df3d6a3c466c3e0ebea14a9ca2143ac170454ffb5f3f840f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T04:09:51.406Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-27T04:09:52.135Z] + make test [2022-07-27T04:09:52.136Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T04:10:31.180Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T04:12:23.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T04:12:23.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T04:12:23.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T04:12:31.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.382s coverage: 23.7% of statements [2022-07-27T04:12:31.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T04:12:31.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.262s coverage: 27.6% of statements [2022-07-27T04:12:31.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.303s coverage: 78.9% of statements [2022-07-27T04:12:31.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.271s coverage: 10.8% of statements [2022-07-27T04:12:33.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.444s coverage: 60.0% of statements [2022-07-27T04:12:33.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T04:12:33.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T04:12:36.893Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.457s coverage: 34.8% of statements [2022-07-27T04:12:36.894Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T04:12:38.358Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.459s coverage: 85.4% of statements [2022-07-27T04:12:38.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T04:12:38.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T04:12:38.358Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 65.1% of statements [2022-07-27T04:12:38.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T04:12:38.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T04:12:42.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.040s coverage: 89.2% of statements [2022-07-27T04:12:42.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T04:12:44.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.255s coverage: 4.7% of statements [2022-07-27T04:12:44.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T04:12:44.709Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-27T04:12:44.709Z] GO111MODULE=on go vet ./... [2022-07-27T04:14:21.604Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T04:14:21.604Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T04:14:21.604Z] ./bin/test-attribution-txt.sh [2022-07-27T04:14:21.604Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T04:14:21.604Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T04:14:21.604Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T04:14:21.604Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T04:14:21.604Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T04:14:21.604Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T04:14:21.604Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T04:14:21.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T04:14:21.688Z] $ docker stop --time=1 b47b05bc260af631df3d6a3c466c3e0ebea14a9ca2143ac170454ffb5f3f840f [2022-07-27T04:14:23.491Z] $ docker rm -f b47b05bc260af631df3d6a3c466c3e0ebea14a9ca2143ac170454ffb5f3f840f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T04:14:24.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T04:14:24.994Z] Warning: overwriting stash ‘coverage-report’ [2022-07-27T04:14:25.627Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T04:14:26.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T04:14:26.561Z] + ls -al . [2022-07-27T04:14:26.561Z] total 300 [2022-07-27T04:14:26.561Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 04:09 . [2022-07-27T04:14:26.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:07 .. [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 04:07 .dockerignore [2022-07-27T04:14:26.561Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 04:07 .git [2022-07-27T04:14:26.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:07 .github [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 04:07 .gitignore [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 04:07 .golangci.yml [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 04:07 CHANGELOG.md [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 04:07 GOVERNANCE.md [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 04:07 Jenkinsfile [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 04:07 LICENSE [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 04:07 Makefile [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 04:07 OWNERS.md [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 04:07 README.md [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 04:05 VERSION [2022-07-27T04:14:26.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:07 bin [2022-07-27T04:14:26.561Z] -rw-r--r-- 1 jenkins jenkins 131353 Jul 27 04:12 coverage.out [2022-07-27T04:14:26.561Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 04:07 example [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 04:07 go.mod [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 04:07 go.sum [2022-07-27T04:14:26.561Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 04:07 internal [2022-07-27T04:14:26.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 04:07 openapi [2022-07-27T04:14:26.561Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 04:07 pkg [2022-07-27T04:14:26.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:07 snap [2022-07-27T04:14:26.561Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:14:26.985Z] + 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=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 --label arch=arm64 --label version=0.0.0 . [2022-07-27T04:14:27.257Z] Sending build context to Docker daemon 5.37MB [2022-07-27T04:14:27.535Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T04:14:27.535Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T04:14:27.535Z] ---> 24d20724f706 [2022-07-27T04:14:27.535Z] Step 3/25 : ARG MAKE=make build [2022-07-27T04:14:27.535Z] ---> Running in 1e1ba3b86269 [2022-07-27T04:14:27.812Z] Removing intermediate container 1e1ba3b86269 [2022-07-27T04:14:27.812Z] ---> a456cb760362 [2022-07-27T04:14:27.812Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T04:14:27.812Z] ---> Running in 0b589c65f4e1 [2022-07-27T04:14:28.412Z] Removing intermediate container 0b589c65f4e1 [2022-07-27T04:14:28.412Z] ---> 4bf56155131a [2022-07-27T04:14:28.412Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T04:14:28.412Z] ---> Running in 2a22c67569d6 [2022-07-27T04:14:28.684Z] Removing intermediate container 2a22c67569d6 [2022-07-27T04:14:28.684Z] ---> 592d4f7a7620 [2022-07-27T04:14:28.684Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T04:14:28.684Z] ---> Running in d56c9af6ce52 [2022-07-27T04:14:30.123Z] Removing intermediate container d56c9af6ce52 [2022-07-27T04:14:30.123Z] ---> 9a12e4706529 [2022-07-27T04:14:30.123Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T04:14:30.405Z] ---> Running in dea8f8ec0963 [2022-07-27T04:14:31.385Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T04:14:32.369Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T04:14:33.364Z] OK: 221 MiB in 51 packages [2022-07-27T04:14:33.969Z] Removing intermediate container dea8f8ec0963 [2022-07-27T04:14:33.969Z] ---> a2afc3d6079a [2022-07-27T04:14:33.969Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T04:14:34.572Z] ---> 2bae6e839a7c [2022-07-27T04:14:34.572Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T04:14:34.572Z] ---> Running in b35638717160 [2022-07-27T04:14:36.564Z] Removing intermediate container b35638717160 [2022-07-27T04:14:36.564Z] ---> ec88cca2f29c [2022-07-27T04:14:36.564Z] Step 10/25 : COPY . . [2022-07-27T04:14:38.005Z] ---> 38772575d66c [2022-07-27T04:14:38.005Z] Step 11/25 : RUN ${MAKE} [2022-07-27T04:14:38.005Z] ---> Running in 24cc96075cc8 [2022-07-27T04:14:38.993Z] 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-07-27T04:17:00.951Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T04:17:00.951Z] Removing intermediate container 24cc96075cc8 [2022-07-27T04:17:00.951Z] ---> d0d8309f823f [2022-07-27T04:17:00.951Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T04:17:00.951Z] 3.16: Pulling from library/alpine [2022-07-27T04:17:00.951Z] f97344484467: Pulling fs layer [2022-07-27T04:17:00.951Z] f97344484467: Verifying Checksum [2022-07-27T04:17:00.951Z] f97344484467: Download complete [2022-07-27T04:17:00.951Z] f97344484467: Pull complete [2022-07-27T04:17:00.951Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T04:17:00.951Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T04:17:00.951Z] ---> 3d81c46cd875 [2022-07-27T04:17:00.951Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T04:17:00.951Z] ---> Running in 59facd8f598c [2022-07-27T04:17:00.951Z] Removing intermediate container 59facd8f598c [2022-07-27T04:17:00.951Z] ---> 24c200d82f4c [2022-07-27T04:17:00.951Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T04:17:00.951Z] ---> Running in 8b09db768790 [2022-07-27T04:17:00.951Z] Removing intermediate container 8b09db768790 [2022-07-27T04:17:00.951Z] ---> 67816efc9a2e [2022-07-27T04:17:00.951Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T04:17:01.227Z] ---> Running in 0e3200fea1be [2022-07-27T04:17:02.213Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T04:17:03.215Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T04:17:04.200Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T04:17:04.200Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T04:17:04.200Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T04:17:04.476Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T04:17:04.476Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T04:17:04.750Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T04:17:04.750Z] OK: 8 MiB in 19 packages [2022-07-27T04:17:05.734Z] Removing intermediate container 0e3200fea1be [2022-07-27T04:17:05.734Z] ---> 63a31fe92bad [2022-07-27T04:17:05.734Z] Step 16/25 : WORKDIR / [2022-07-27T04:17:05.734Z] ---> Running in 3a96c601f5c7 [2022-07-27T04:17:06.006Z] Removing intermediate container 3a96c601f5c7 [2022-07-27T04:17:06.006Z] ---> 5147070b2a67 [2022-07-27T04:17:06.006Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T04:17:06.608Z] ---> b43a621082a9 [2022-07-27T04:17:06.608Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T04:17:08.053Z] ---> 810917342975 [2022-07-27T04:17:08.053Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T04:17:08.655Z] ---> 33dc2e85698f [2022-07-27T04:17:08.655Z] Step 20/25 : EXPOSE 59999 [2022-07-27T04:17:08.930Z] ---> Running in df92b6354933 [2022-07-27T04:17:09.202Z] Removing intermediate container df92b6354933 [2022-07-27T04:17:09.202Z] ---> 51cd8cb32b10 [2022-07-27T04:17:09.202Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T04:17:09.202Z] ---> Running in 2b58c52e20cc [2022-07-27T04:17:09.477Z] Removing intermediate container 2b58c52e20cc [2022-07-27T04:17:09.477Z] ---> d10fc96e605f [2022-07-27T04:17:09.477Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T04:17:09.477Z] ---> Running in ee7fac7d7f5e [2022-07-27T04:17:09.758Z] Removing intermediate container ee7fac7d7f5e [2022-07-27T04:17:09.758Z] ---> 3527bde3ef9a [2022-07-27T04:17:09.758Z] Step 23/25 : LABEL arch=arm64 [2022-07-27T04:17:10.032Z] ---> Running in 0766ee4a493b [2022-07-27T04:17:10.306Z] Removing intermediate container 0766ee4a493b [2022-07-27T04:17:10.306Z] ---> 0a3b2d6dc33a [2022-07-27T04:17:10.306Z] Step 24/25 : LABEL git_sha=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [2022-07-27T04:17:10.306Z] ---> Running in 7e2e21eac6f2 [2022-07-27T04:17:10.578Z] Removing intermediate container 7e2e21eac6f2 [2022-07-27T04:17:10.578Z] ---> 4f73a72852f2 [2022-07-27T04:17:10.578Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T04:17:10.578Z] ---> Running in 622c62b20d00 [2022-07-27T04:17:11.173Z] Removing intermediate container 622c62b20d00 [2022-07-27T04:17:11.173Z] ---> b389858ca79c [2022-07-27T04:17:11.173Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T04:17:11.173Z] Successfully built b389858ca79c [2022-07-27T04:17:11.173Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:17:11.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T04:17:11.989Z] [2022-07-27T04:17:11.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:17:12.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T04:17:12.686Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-27T04:17:12.686Z] 8998bd30e6a1: Pulling fs layer [2022-07-27T04:17:12.686Z] 04944245beec: Pulling fs layer [2022-07-27T04:17:12.686Z] 699f458cf7ca: Pulling fs layer [2022-07-27T04:17:12.687Z] 765212b225bb: Pulling fs layer [2022-07-27T04:17:12.687Z] f23df028b6ca: Pulling fs layer [2022-07-27T04:17:12.687Z] d65c8cfc05b1: Pulling fs layer [2022-07-27T04:17:12.687Z] 2437ff75d9bd: Pulling fs layer [2022-07-27T04:17:12.687Z] f23df028b6ca: Waiting [2022-07-27T04:17:12.687Z] d65c8cfc05b1: Waiting [2022-07-27T04:17:12.687Z] 2437ff75d9bd: Waiting [2022-07-27T04:17:12.687Z] 765212b225bb: Waiting [2022-07-27T04:17:12.687Z] 04944245beec: Verifying Checksum [2022-07-27T04:17:12.687Z] 04944245beec: Download complete [2022-07-27T04:17:12.687Z] 765212b225bb: Verifying Checksum [2022-07-27T04:17:12.687Z] 765212b225bb: Download complete [2022-07-27T04:17:12.687Z] f23df028b6ca: Verifying Checksum [2022-07-27T04:17:12.687Z] f23df028b6ca: Download complete [2022-07-27T04:17:12.687Z] d65c8cfc05b1: Verifying Checksum [2022-07-27T04:17:12.687Z] d65c8cfc05b1: Download complete [2022-07-27T04:17:12.963Z] 699f458cf7ca: Verifying Checksum [2022-07-27T04:17:12.963Z] 699f458cf7ca: Download complete [2022-07-27T04:17:13.238Z] 8998bd30e6a1: Download complete [2022-07-27T04:17:15.860Z] 2437ff75d9bd: Verifying Checksum [2022-07-27T04:17:15.860Z] 2437ff75d9bd: Download complete [2022-07-27T04:17:17.299Z] 8998bd30e6a1: Pull complete [2022-07-27T04:17:17.897Z] 04944245beec: Pull complete [2022-07-27T04:17:19.355Z] 699f458cf7ca: Pull complete [2022-07-27T04:17:19.355Z] 765212b225bb: Pull complete [2022-07-27T04:17:20.336Z] f23df028b6ca: Pull complete [2022-07-27T04:17:20.609Z] d65c8cfc05b1: Pull complete [2022-07-27T04:17:35.685Z] 2437ff75d9bd: Pull complete [2022-07-27T04:17:35.685Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-27T04:17:35.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T04:17:35.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:17:36.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-21202 does not seem to be running inside a container [2022-07-27T04:17:36.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-27T04:17:39.110Z] $ docker top 3600439eec44e3c92b192844749f678a79d611bd563c944814b88d2f7741e714 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:40.128Z] ---> job-cost.sh [2022-07-27T04:17:40.128Z] lf-activate-venv: SKIPPING [2022-07-27T04:17:40.128Z] INFO: No Stack... [2022-07-27T04:17:40.724Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-27T04:17:41.702Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T04:17:42.404Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2022-07-27T04:17:42.404Z] -f6 [Pipeline] lock [2022-07-27T04:17:42.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [2022-07-27T04:17:42.549Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] did not exist. Created. [2022-07-27T04:17:42.549Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T04:17:43.436Z] /w/workspace/device-sdk-go/1@tmp/durable-1fa094b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-27T04:17:44.154Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-27T04:17:44.195Z] Warning: overwriting stash ‘stack-cost’ [2022-07-27T04:17:44.265Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T04:17:44.279Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T04:17:44.365Z] $ docker stop --time=1 3600439eec44e3c92b192844749f678a79d611bd563c944814b88d2f7741e714 [2022-07-27T04:17:46.016Z] $ docker rm -f 3600439eec44e3c92b192844749f678a79d611bd563c944814b88d2f7741e714 [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-07-27T04:17:47.089Z] provisioning config files... [2022-07-27T04:17:47.099Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config4533213639537521705tmp [Pipeline] { [Pipeline] sh [2022-07-27T04:17:47.426Z] + set +x [2022-07-27T04:17:47.426Z] + curl -s https://codecov.io/bash [2022-07-27T04:17:47.426Z] + bash -s -- [2022-07-27T04:17:47.426Z] [2022-07-27T04:17:47.426Z] _____ _ [2022-07-27T04:17:47.426Z] / ____| | | [2022-07-27T04:17:47.426Z] | | ___ __| | ___ ___ _____ __ [2022-07-27T04:17:47.426Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-27T04:17:47.426Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-27T04:17:47.426Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-27T04:17:47.426Z] Bash-1.0.6 [2022-07-27T04:17:47.426Z] [2022-07-27T04:17:47.426Z] [2022-07-27T04:17:47.426Z] ==> git version 2.25.1 found [2022-07-27T04:17:47.426Z] ==> 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-07-27T04:17:47.426Z] Release-Date: 2020-01-08 [2022-07-27T04:17:47.426Z] 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-07-27T04:17:47.426Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-27T04:17:47.426Z] ==> Jenkins CI detected. [2022-07-27T04:17:47.426Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1201 [2022-07-27T04:17:47.426Z] project root: . [2022-07-27T04:17:47.426Z] --> token set from env [2022-07-27T04:17:47.426Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-27T04:17:47.426Z] ==> Running gcov in . (disable via -X gcov) [2022-07-27T04:17:47.426Z] ==> Python coveragepy not found [2022-07-27T04:17:47.426Z] ==> Searching for coverage reports in: [2022-07-27T04:17:47.426Z] + . [2022-07-27T04:17:47.426Z] -> Found 1 reports [2022-07-27T04:17:47.426Z] ==> Detecting git/mercurial file structure [2022-07-27T04:17:47.687Z] ==> Reading reports [2022-07-27T04:17:47.687Z] + ./coverage.out bytes=131353 [2022-07-27T04:17:47.687Z] ==> Appending adjustments [2022-07-27T04:17:47.687Z] https://docs.codecov.io/docs/fixing-reports [2022-07-27T04:17:47.947Z] + Found adjustments [2022-07-27T04:17:47.947Z] ==> Gzipping contents [2022-07-27T04:17:47.947Z] 20K /tmp/codecov.7hlV8Y.gz [2022-07-27T04:17:47.947Z] ==> Uploading reports [2022-07-27T04:17:47.947Z] url: https://codecov.io [2022-07-27T04:17:47.947Z] query: branch=PR-1201&commit=b1260925e1e6f2ee43685c1be7f2616c39f0ee71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1201&job=&cmd_args= [2022-07-27T04:17:47.947Z] -> Pinging Codecov [2022-07-27T04:17:47.948Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1201&commit=b1260925e1e6f2ee43685c1be7f2616c39f0ee71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1201&job=&cmd_args= [2022-07-27T04:17:48.207Z] -> Uploading to [2022-07-27T04:17:48.207Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/b1260925e1e6f2ee43685c1be7f2616c39f0ee71/b0bbac4e-f97e-46e2-a9ca-8d94e695919f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T041748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea80826dec4bbaef55007c3eec9f5151ac21e1bc3971a3ed9ccb7988d805a27d [2022-07-27T04:17:48.207Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T04:17:48.207Z] Dload Upload Total Spent Left Speed [2022-07-27T04:17:48.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17294 0 0 100 17294 0 72663 --:--:-- --:--:-- --:--:-- 72663 [2022-07-27T04:17:48.467Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] } [2022-07-27T04:17:48.493Z] 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-07-27T04:17:50.173Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives ] [2022-07-27T04:17:50.173Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives [2022-07-27T04:17:50.173Z] total 16 [2022-07-27T04:17:50.173Z] drwxr-xr-x 3 root root 4096 Jul 27 04:07 . [2022-07-27T04:17:50.173Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 04:07 .. [2022-07-27T04:17:50.173Z] drwxr-xr-x 2 root root 4096 Jul 27 04:07 cost [2022-07-27T04:17:50.173Z] -rw-r--r-- 1 root root 86 Jul 27 04:07 cost.csv [2022-07-27T04:17:50.173Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives [2022-07-27T04:17:50.173Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives [2022-07-27T04:17:50.173Z] total 16 [2022-07-27T04:17:50.173Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 04:07 . [2022-07-27T04:17:50.173Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 04:07 .. [2022-07-27T04:17:50.173Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 04:07 cost [2022-07-27T04:17:50.173Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 27 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:50.501Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:51.394Z] ---> package-listing.sh [2022-07-27T04:17:51.395Z] ++ facter osfamily [2022-07-27T04:17:51.395Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-27T04:17:51.654Z] + OS_FAMILY=debian [2022-07-27T04:17:51.654Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1201 [2022-07-27T04:17:51.654Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-27T04:17:51.654Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-27T04:17:51.654Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-27T04:17:51.654Z] + PACKAGES=/tmp/packages_start.txt [2022-07-27T04:17:51.654Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1201 ']' [2022-07-27T04:17:51.654Z] + PACKAGES=/tmp/packages_end.txt [2022-07-27T04:17:51.654Z] + case "${OS_FAMILY}" in [2022-07-27T04:17:51.654Z] + dpkg -l [2022-07-27T04:17:51.654Z] + grep '^ii' [2022-07-27T04:17:51.654Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-27T04:17:51.654Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-27T04:17:51.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-27T04:17:51.654Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1201 ']' [2022-07-27T04:17:51.654Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives/ [2022-07-27T04:17:51.654Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives/ [Pipeline] echo [2022-07-27T04:17:51.686Z] 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-1201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-27T04:17:51.981Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T04:17:52.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T04:17:52.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T04:17:52.770Z] prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container [2022-07-27T04:17:52.806Z] $ 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-1201/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-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T04:17:53.030Z] $ docker top c5a33f35f5fe90905918680554cf6124b6ccbfa1f09441b9dd87be4d329f75b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T04:17:53.426Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-27T04:17:53.744Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-27T04:17:54.058Z] + ls /var/log/sa-host [2022-07-27T04:17:54.058Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T04:17:54.241Z] provisioning config files... [2022-07-27T04:17:54.250Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config5162403690827841526tmp [Pipeline] { [Pipeline] echo [2022-07-27T04:17:54.292Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:54.611Z] ---> create-netrc.sh [Pipeline] } [2022-07-27T04:17:54.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:55.038Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-27T04:17:55.066Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:55.380Z] ---> sudo-logs.sh [2022-07-27T04:17:55.380Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-27T04:17:55.460Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:55.770Z] ---> job-cost.sh [2022-07-27T04:17:55.770Z] lf-activate-venv: SKIPPING [2022-07-27T04:17:55.770Z] DEBUG: total: 0.2199999988079071 [2022-07-27T04:17:55.770Z] INFO: Retrieving Stack Cost... [2022-07-27T04:17:56.030Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T04:17:56.600Z] INFO: Archiving Costs [Pipeline] echo [2022-07-27T04:17:56.634Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T04:17:56.953Z] ---> logs-deploy.sh [2022-07-27T04:17:56.953Z] lf-activate-venv: SKIPPING [2022-07-27T04:17:56.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1201/1 [2022-07-27T04:17:56.953Z] INFO: archiving workspace using pattern(s): [2022-07-27T04:17:57.891Z] Archives upload complete. [2022-07-27T04:17:57.891Z] INFO: archiving logs to Nexus