Pull request #1203 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ff1b5b02c8f314790bf5be564bfc978a145e3053+ad939af23b2d854541ed37c0929478efa4c7d7f6 (8d42cf6b8470c7c200674a225f37b8469896e886) 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-ssh9432437237174913765.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-ssh16041950944411607239.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-1203/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-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7433698609547588514.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-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8619365016074875671.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-ssh13144790031002407444.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-1203/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-1203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2100573575212610466.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 ‘prd-ubuntu18.04-docker-8c-8g-21331’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-21359’ is offline ‘prd-ubuntu20.04-docker-8c-8g-21361’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-21358’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-21360’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21362 in /w/workspace/gexfoundry_device-sdk-go_PR-1203 [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-1203 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit ff1b5b02c8f314790bf5be564bfc978a145e3053 Merge succeeded, producing ff1b5b02c8f314790bf5be564bfc978a145e3053 Checking out Revision ff1b5b02c8f314790bf5be564bfc978a145e3053 (PR-1203) > 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/1203/head:refs/remotes/origin/PR-1203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 Commit message: "fix: fix empty device name when updating device's serviceName" 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-28T07:33:17.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-28T07:33:17.744Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-28T07:33:17.846Z] ========================================================= [2022-07-28T07:33:17.846Z] EdgeX Global Pipelines Version Info [2022-07-28T07:33:17.846Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:33:18.661Z] ------------------- [2022-07-28T07:33:18.661Z] stable info: [2022-07-28T07:33:18.661Z] ------------------- [2022-07-28T07:33:18.661Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T07:33:18.661Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T07:33:18.661Z] Message: update stable to v1.0.238 [2022-07-28T07:33:19.234Z] ------------------- [2022-07-28T07:33:19.234Z] experimental info: [2022-07-28T07:33:19.234Z] ------------------- [2022-07-28T07:33:19.234Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T07:33:19.234Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T07:33:19.234Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-28T07:33:19.636Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-28T07:33:19.684Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-28T07:33:19.726Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-28T07:33:19.769Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-28T07:33:19.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-28T07:33:19.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-28T07:33:19.890Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-28T07:33:19.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-28T07:33:19.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-28T07:33:20.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-28T07:33:20.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-28T07:33:20.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-28T07:33:20.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-28T07:33:20.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-28T07:33:20.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T07:33:20.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T07:33:20.294Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T07:33:20.332Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T07:33:20.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-28T07:33:20.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-28T07:33:20.464Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-28T07:33:20.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-28T07:33:20.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-28T07:33:20.599Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-28T07:33:20.638Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-28T07:33:20.679Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-28T07:33:20.724Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-28T07:33:20.768Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1203 [Pipeline] echo [2022-07-28T07:33:20.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1203 [Pipeline] echo [2022-07-28T07:33:20.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1203 [Pipeline] echo [2022-07-28T07:33:20.914Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo [2022-07-28T07:33:20.960Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff1b5b0 [Pipeline] echo [2022-07-28T07:33:21.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T07:33:21.114Z] provisioning config files... [2022-07-28T07:33:21.129Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config7759284858485477719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:33:21.474Z] ---> docker-login.sh [2022-07-28T07:33:21.474Z] nexus3.edgexfoundry.org:10001 [2022-07-28T07:33:21.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:21.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:21.737Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:21.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:21.737Z] [2022-07-28T07:33:21.737Z] Login Succeeded [2022-07-28T07:33:21.737Z] nexus3.edgexfoundry.org:10002 [2022-07-28T07:33:21.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:21.999Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:21.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:21.999Z] [2022-07-28T07:33:21.999Z] Login Succeeded [2022-07-28T07:33:21.999Z] nexus3.edgexfoundry.org:10003 [2022-07-28T07:33:21.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:22.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:22.261Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:22.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:22.261Z] [2022-07-28T07:33:22.261Z] Login Succeeded [2022-07-28T07:33:22.261Z] nexus3.edgexfoundry.org:10004 [2022-07-28T07:33:22.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:22.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:22.261Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:22.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:22.261Z] [2022-07-28T07:33:22.261Z] Login Succeeded [2022-07-28T07:33:22.261Z] docker.io [2022-07-28T07:33:22.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:22.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:22.784Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:22.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:22.784Z] [2022-07-28T07:33:22.784Z] Login Succeeded [2022-07-28T07:33:22.784Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T07:33:22.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-28T07:33:23.455Z] + git rev-list -1 --merges ff1b5b02c8f314790bf5be564bfc978a145e3053~1..ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo [2022-07-28T07:33:23.507Z] -----------> git rev-list -1 --merges ff1b5b02c8f314790bf5be564bfc978a145e3053~1..ff1b5b02c8f314790bf5be564bfc978a145e3053 ff1b5b02c8f314790bf5be564bfc978a145e3053 [false] [Pipeline] sh [2022-07-28T07:33:23.822Z] + git log --format=format:%s -1 ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo [2022-07-28T07:33:23.862Z] ========================================================= [2022-07-28T07:33:23.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-28T07:33:23.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T07:33:24.317Z] + git log --format=format:%s -1 ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo [2022-07-28T07:33:24.354Z] [semverPrep] GIT_COMMIT: ff1b5b02c8f314790bf5be564bfc978a145e3053, Commit Message: fix: fix empty device name when updating device's serviceName [Pipeline] echo [2022-07-28T07:33:24.387Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-28T07:33:24.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-28T07:33:24.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-28T07:33:24.790Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-28T07:33:24.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-28T07:33:24.790Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-28T07:33:24.790Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-28T07:33:24.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:33:25.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T07:33:25.306Z] [2022-07-28T07:33:25.306Z] 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-28T07:33:25.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T07:33:25.705Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-28T07:33:25.705Z] b85a868b505f: Pulling fs layer [2022-07-28T07:33:25.705Z] e2be974225ed: Pulling fs layer [2022-07-28T07:33:25.705Z] 339a4e72a1f5: Pulling fs layer [2022-07-28T07:33:25.705Z] 988bab9f4d93: Pulling fs layer [2022-07-28T07:33:25.705Z] 1469e6f7b9e6: Pulling fs layer [2022-07-28T07:33:25.705Z] eaf3925da568: Pulling fs layer [2022-07-28T07:33:25.705Z] bab4dde63d76: Pulling fs layer [2022-07-28T07:33:25.705Z] bde34c3a00c8: Pulling fs layer [2022-07-28T07:33:25.706Z] b352a97aabf1: Pulling fs layer [2022-07-28T07:33:25.706Z] 4872d77fe225: Pulling fs layer [2022-07-28T07:33:25.706Z] 5851b861e8e6: Pulling fs layer [2022-07-28T07:33:25.706Z] 988bab9f4d93: Waiting [2022-07-28T07:33:25.706Z] 1469e6f7b9e6: Waiting [2022-07-28T07:33:25.706Z] b352a97aabf1: Waiting [2022-07-28T07:33:25.706Z] 4872d77fe225: Waiting [2022-07-28T07:33:25.706Z] eaf3925da568: Waiting [2022-07-28T07:33:25.706Z] 5851b861e8e6: Waiting [2022-07-28T07:33:25.706Z] bab4dde63d76: Waiting [2022-07-28T07:33:25.706Z] bde34c3a00c8: Waiting [2022-07-28T07:33:25.706Z] e2be974225ed: Verifying Checksum [2022-07-28T07:33:25.706Z] e2be974225ed: Download complete [2022-07-28T07:33:25.706Z] 988bab9f4d93: Download complete [2022-07-28T07:33:25.706Z] 1469e6f7b9e6: Verifying Checksum [2022-07-28T07:33:25.706Z] 1469e6f7b9e6: Download complete [2022-07-28T07:33:25.706Z] 339a4e72a1f5: Verifying Checksum [2022-07-28T07:33:25.706Z] 339a4e72a1f5: Download complete [2022-07-28T07:33:25.706Z] eaf3925da568: Verifying Checksum [2022-07-28T07:33:25.706Z] eaf3925da568: Download complete [2022-07-28T07:33:25.966Z] bde34c3a00c8: Download complete [2022-07-28T07:33:25.966Z] b352a97aabf1: Download complete [2022-07-28T07:33:25.966Z] 4872d77fe225: Verifying Checksum [2022-07-28T07:33:25.966Z] 4872d77fe225: Download complete [2022-07-28T07:33:25.966Z] 5851b861e8e6: Verifying Checksum [2022-07-28T07:33:25.966Z] 5851b861e8e6: Download complete [2022-07-28T07:33:25.966Z] b85a868b505f: Verifying Checksum [2022-07-28T07:33:25.966Z] b85a868b505f: Download complete [2022-07-28T07:33:26.225Z] bab4dde63d76: Verifying Checksum [2022-07-28T07:33:26.225Z] bab4dde63d76: Download complete [2022-07-28T07:33:27.168Z] b85a868b505f: Pull complete [2022-07-28T07:33:27.430Z] e2be974225ed: Pull complete [2022-07-28T07:33:28.010Z] 339a4e72a1f5: Pull complete [2022-07-28T07:33:28.010Z] 988bab9f4d93: Pull complete [2022-07-28T07:33:28.272Z] 1469e6f7b9e6: Pull complete [2022-07-28T07:33:28.535Z] eaf3925da568: Pull complete [2022-07-28T07:33:30.456Z] bab4dde63d76: Pull complete [2022-07-28T07:33:30.456Z] bde34c3a00c8: Pull complete [2022-07-28T07:33:30.720Z] b352a97aabf1: Pull complete [2022-07-28T07:33:30.720Z] 4872d77fe225: Pull complete [2022-07-28T07:33:30.720Z] 5851b861e8e6: Pull complete [2022-07-28T07:33:30.720Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-28T07:33:30.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T07:33:30.982Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:33:31.227Z] prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container [2022-07-28T07:33:31.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@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-devops/py-git-semver:0.1.4 cat [2022-07-28T07:33:33.630Z] $ docker top dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 -eo pid,comm [2022-07-28T07:33:33.699Z] 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-28T07:33:33.699Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-28T07:33:33.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T07:33:33.832Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T07:33:33.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T07:33:33.970Z] $ docker exec dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent [2022-07-28T07:33:34.103Z] SSH_AUTH_SOCK=/tmp/ssh-jyXxKZcN6E72/agent.32 [2022-07-28T07:33:34.103Z] SSH_AGENT_PID=38 [2022-07-28T07:33:34.110Z] Running ssh-add (command line suppressed) [2022-07-28T07:33:34.242Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_8468093619068910296.key (/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_8468093619068910296.key) [2022-07-28T07:33:34.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T07:33:34.594Z] + git tag --points-at HEAD [Pipeline] } [2022-07-28T07:33:34.626Z] $ docker exec --env ******** --env ******** dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent -k [2022-07-28T07:33:34.749Z] unset SSH_AUTH_SOCK; [2022-07-28T07:33:34.750Z] unset SSH_AGENT_PID; [2022-07-28T07:33:34.750Z] echo Agent pid 38 killed; [2022-07-28T07:33:34.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-28T07:33:34.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T07:33:34.853Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T07:33:34.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T07:33:35.005Z] $ docker exec dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent [2022-07-28T07:33:35.141Z] SSH_AUTH_SOCK=/tmp/ssh-SYD7l3YvMaNI/agent.71 [2022-07-28T07:33:35.141Z] SSH_AGENT_PID=78 [2022-07-28T07:33:35.147Z] Running ssh-add (command line suppressed) [2022-07-28T07:33:35.259Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_7616016416485054983.key (/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_7616016416485054983.key) [2022-07-28T07:33:35.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T07:33:35.615Z] + git semver init [2022-07-28T07:33:35.877Z] 2022-07-28 07:33:35,803 [run_init] DEBUG init version:0.0.0 force:False [2022-07-28T07:33:35.877Z] 2022-07-28 07:33:35,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver [2022-07-28T07:33:35.877Z] 2022-07-28 07:33:35,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver [2022-07-28T07:33:35.877Z] 2022-07-28 07:33:35,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203, universal_newlines=False, shell=None, istream=None) [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,612 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.git/info/exclude [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 with force:False [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,613 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,617 [execute] INFO git cat-file --batch-check [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,624 [execute] INFO git cat-file --batch [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T07:33:36.825Z] 2022-07-28 07:33:36,630 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 [2022-07-28T07:33:36.825Z] 0.0.0 [Pipeline] } [2022-07-28T07:33:36.856Z] $ docker exec --env ******** --env ******** dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent -k [2022-07-28T07:33:36.972Z] unset SSH_AUTH_SOCK; [2022-07-28T07:33:36.972Z] unset SSH_AGENT_PID; [2022-07-28T07:33:36.972Z] echo Agent pid 78 killed; [2022-07-28T07:33:36.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-28T07:33:37.424Z] + git semver [Pipeline] } [2022-07-28T07:33:37.712Z] $ docker stop --time=1 dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 [2022-07-28T07:33:39.088Z] $ docker rm -f dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T07:33:39.513Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-28T07:33:39.830Z] Stashed 1 file(s) [Pipeline] echo [2022-07-28T07:33:39.849Z] [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-28T07:33:40.453Z] provisioning config files... [2022-07-28T07:33:40.464Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config2071797192370542940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:33:40.816Z] ---> docker-login.sh [2022-07-28T07:33:40.816Z] nexus3.edgexfoundry.org:10001 [2022-07-28T07:33:40.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:40.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:40.816Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:40.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:40.816Z] [2022-07-28T07:33:40.816Z] Login Succeeded [2022-07-28T07:33:40.816Z] nexus3.edgexfoundry.org:10002 [2022-07-28T07:33:40.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:41.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:41.077Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:41.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:41.077Z] [2022-07-28T07:33:41.077Z] Login Succeeded [2022-07-28T07:33:41.077Z] nexus3.edgexfoundry.org:10003 [2022-07-28T07:33:41.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:41.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:41.077Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:41.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:41.077Z] [2022-07-28T07:33:41.077Z] Login Succeeded [2022-07-28T07:33:41.077Z] nexus3.edgexfoundry.org:10004 [2022-07-28T07:33:41.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:41.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:41.338Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:41.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:41.338Z] [2022-07-28T07:33:41.338Z] Login Succeeded [2022-07-28T07:33:41.338Z] docker.io [2022-07-28T07:33:41.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:33:41.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:33:41.599Z] Configure a credential helper to remove this warning. See [2022-07-28T07:33:41.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:33:41.599Z] [2022-07-28T07:33:41.599Z] Login Succeeded [2022-07-28T07:33:41.599Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T07:33:41.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T07:33:41.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T07:33:41.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T07:33:41.900Z] ========================================================= [2022-07-28T07:33:41.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-28T07:33:41.900Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:33:42.388Z] + 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-28T07:33:42.388Z] Sending build context to Docker daemon 9.776MB [2022-07-28T07:33:42.388Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T07:33:42.388Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T07:33:42.388Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-28T07:33:42.388Z] 2408cc74d12b: Pulling fs layer [2022-07-28T07:33:42.388Z] ea60b727a1ce: Pulling fs layer [2022-07-28T07:33:42.388Z] 30c4a7721957: Pulling fs layer [2022-07-28T07:33:42.388Z] 370296b7ddb6: Pulling fs layer [2022-07-28T07:33:42.388Z] 370296b7ddb6: Waiting [2022-07-28T07:33:42.388Z] 7c6cee850709: Pulling fs layer [2022-07-28T07:33:42.388Z] 39a5fcdaea64: Pulling fs layer [2022-07-28T07:33:42.388Z] 7c6cee850709: Waiting [2022-07-28T07:33:42.388Z] 39a5fcdaea64: Waiting [2022-07-28T07:33:42.388Z] d94ebbe4e438: Pulling fs layer [2022-07-28T07:33:42.388Z] bcfd1f05c69d: Pulling fs layer [2022-07-28T07:33:42.388Z] bcfd1f05c69d: Waiting [2022-07-28T07:33:42.652Z] 59ccb84bbe0f: Pulling fs layer [2022-07-28T07:33:42.652Z] 59ccb84bbe0f: Waiting [2022-07-28T07:33:42.652Z] 30c4a7721957: Verifying Checksum [2022-07-28T07:33:42.652Z] 30c4a7721957: Download complete [2022-07-28T07:33:42.652Z] ea60b727a1ce: Verifying Checksum [2022-07-28T07:33:42.652Z] ea60b727a1ce: Download complete [2022-07-28T07:33:42.652Z] 7c6cee850709: Download complete [2022-07-28T07:33:42.652Z] 39a5fcdaea64: Verifying Checksum [2022-07-28T07:33:42.652Z] 39a5fcdaea64: Download complete [2022-07-28T07:33:42.652Z] 2408cc74d12b: Verifying Checksum [2022-07-28T07:33:42.652Z] 2408cc74d12b: Download complete [2022-07-28T07:33:42.652Z] d94ebbe4e438: Verifying Checksum [2022-07-28T07:33:42.652Z] d94ebbe4e438: Download complete [2022-07-28T07:33:42.652Z] 2408cc74d12b: Pull complete [2022-07-28T07:33:42.915Z] ea60b727a1ce: Pull complete [2022-07-28T07:33:43.176Z] 30c4a7721957: Pull complete [2022-07-28T07:33:43.176Z] 59ccb84bbe0f: Verifying Checksum [2022-07-28T07:33:43.176Z] 59ccb84bbe0f: Download complete [2022-07-28T07:33:43.436Z] bcfd1f05c69d: Verifying Checksum [2022-07-28T07:33:43.436Z] bcfd1f05c69d: Download complete [2022-07-28T07:33:43.436Z] 370296b7ddb6: Verifying Checksum [2022-07-28T07:33:43.436Z] 370296b7ddb6: Download complete [2022-07-28T07:33:47.631Z] 370296b7ddb6: Pull complete [2022-07-28T07:33:47.892Z] 7c6cee850709: Pull complete [2022-07-28T07:33:47.892Z] 39a5fcdaea64: Pull complete [2022-07-28T07:33:47.892Z] d94ebbe4e438: Pull complete [2022-07-28T07:33:50.439Z] bcfd1f05c69d: Pull complete [2022-07-28T07:33:51.009Z] 59ccb84bbe0f: Pull complete [2022-07-28T07:33:51.009Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-28T07:33:51.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-28T07:33:51.009Z] ---> a4fb48ad2a94 [2022-07-28T07:33:51.009Z] Step 3/11 : ARG MAKE=make build [2022-07-28T07:33:54.315Z] ---> Running in d0d73b1b08fc [2022-07-28T07:33:54.315Z] Removing intermediate container d0d73b1b08fc [2022-07-28T07:33:54.315Z] ---> 6e3521a99a8b [2022-07-28T07:33:54.315Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T07:33:54.315Z] ---> Running in b1ae8d6ba5fc [2022-07-28T07:33:54.576Z] Removing intermediate container b1ae8d6ba5fc [2022-07-28T07:33:54.576Z] ---> 6e44a9e4f6f7 [2022-07-28T07:33:54.576Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T07:33:54.576Z] ---> Running in 8d94e35f111a [2022-07-28T07:33:54.576Z] Removing intermediate container 8d94e35f111a [2022-07-28T07:33:54.576Z] ---> 8a3e223de43c [2022-07-28T07:33:54.576Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T07:33:54.576Z] ---> Running in 1ac53d955357 [2022-07-28T07:33:55.150Z] Removing intermediate container 1ac53d955357 [2022-07-28T07:33:55.150Z] ---> 8af306c60ca2 [2022-07-28T07:33:55.150Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T07:33:55.150Z] ---> Running in 0ac0288b7060 [2022-07-28T07:33:55.263Z] Still waiting to schedule task [2022-07-28T07:33:55.264Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21360’ [2022-07-28T07:33:55.722Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T07:33:56.296Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T07:33:56.877Z] OK: 211 MiB in 51 packages [2022-07-28T07:33:57.140Z] Removing intermediate container 0ac0288b7060 [2022-07-28T07:33:57.140Z] ---> 473b1fcc0211 [2022-07-28T07:33:57.140Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T07:33:57.140Z] ---> 29e3b9e29c6b [2022-07-28T07:33:57.140Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T07:33:57.140Z] ---> Running in 9fb26ab546cb [2022-07-28T07:34:23.731Z] Removing intermediate container 9fb26ab546cb [2022-07-28T07:34:23.731Z] ---> eb1d9092f803 [2022-07-28T07:34:23.731Z] Step 10/11 : COPY . . [2022-07-28T07:34:23.731Z] ---> 7144f336473f [2022-07-28T07:34:23.731Z] Step 11/11 : RUN ${MAKE} [2022-07-28T07:34:23.731Z] ---> Running in 7f6675c7f7cc [2022-07-28T07:34:23.731Z] noop [2022-07-28T07:34:23.731Z] Removing intermediate container 7f6675c7f7cc [2022-07-28T07:34:23.731Z] ---> 7418353cd111 [2022-07-28T07:34:23.731Z] Successfully built 7418353cd111 [2022-07-28T07:34:23.731Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:34:24.197Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T07:34:24.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:34:24.370Z] prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container [2022-07-28T07:34:24.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T07:34:24.860Z] $ docker top 55c84b591a82d93b0f34b7ae40445056ab302386bc70f30de8225e2e8b34337f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T07:34:25.268Z] + go version [2022-07-28T07:34:25.268Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-28T07:34:25.302Z] $ docker stop --time=1 55c84b591a82d93b0f34b7ae40445056ab302386bc70f30de8225e2e8b34337f [2022-07-28T07:34:26.600Z] $ docker rm -f 55c84b591a82d93b0f34b7ae40445056ab302386bc70f30de8225e2e8b34337f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:34:27.322Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T07:34:27.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:34:27.491Z] prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container [2022-07-28T07:34:27.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T07:34:27.980Z] $ docker top 25c37b22da3efe379d88a9eec9cafeb74e48a3d8c0ee30146aa20ee864093455 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T07:34:28.393Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1203 [Pipeline] fileExists [Pipeline] sh [2022-07-28T07:34:28.764Z] + make test [2022-07-28T07:34:28.764Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T07:34:35.349Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T07:34:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.6% of statements [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T07:34:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-07-28T07:34:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-07-28T07:34:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.130s coverage: 10.8% of statements [2022-07-28T07:34:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T07:34:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 34.8% of statements [2022-07-28T07:34:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T07:34:50.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.075s coverage: 85.4% of statements [2022-07-28T07:34:50.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T07:34:50.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T07:34:50.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements [2022-07-28T07:34:50.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T07:34:50.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T07:34:50.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.776s coverage: 89.2% of statements [2022-07-28T07:34:50.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T07:34:50.776Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-07-28T07:34:50.776Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T07:35:08.925Z] 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-28T07:35:08.925Z] GO111MODULE=on go vet ./... [2022-07-28T07:35:10.831Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T07:35:10.831Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T07:35:10.831Z] ./bin/test-attribution-txt.sh [2022-07-28T07:35:10.831Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T07:35:10.831Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T07:35:10.831Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T07:35:10.831Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T07:35:10.831Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T07:35:10.831Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T07:35:10.831Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T07:35:10.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T07:35:10.899Z] $ docker stop --time=1 25c37b22da3efe379d88a9eec9cafeb74e48a3d8c0ee30146aa20ee864093455 [2022-07-28T07:35:14.001Z] $ docker rm -f 25c37b22da3efe379d88a9eec9cafeb74e48a3d8c0ee30146aa20ee864093455 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T07:35:14.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T07:35:14.667Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-28T07:35:15.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T07:35:15.649Z] + ls -al . [2022-07-28T07:35:15.649Z] total 304 [2022-07-28T07:35:15.649Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 07:34 . [2022-07-28T07:35:15.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:33 .. [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 07:33 .dockerignore [2022-07-28T07:35:15.649Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 07:34 .git [2022-07-28T07:35:15.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:33 .github [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 07:33 .gitignore [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 07:33 .golangci.yml [2022-07-28T07:35:15.649Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 07:33 .semver [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 07:33 CHANGELOG.md [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 07:33 GOVERNANCE.md [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 07:33 Jenkinsfile [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 07:33 LICENSE [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 07:33 Makefile [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 07:33 OWNERS.md [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 07:33 README.md [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 07:33 VERSION [2022-07-28T07:35:15.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:33 bin [2022-07-28T07:35:15.649Z] -rw-r--r-- 1 jenkins jenkins 131678 Jul 28 07:34 coverage.out [2022-07-28T07:35:15.649Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 07:33 example [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 07:33 go.mod [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 07:33 go.sum [2022-07-28T07:35:15.649Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 07:33 internal [2022-07-28T07:35:15.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 07:33 openapi [2022-07-28T07:35:15.649Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 07:33 pkg [2022-07-28T07:35:15.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:33 snap [2022-07-28T07:35:15.649Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 07:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:35:16.056Z] + 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=ff1b5b02c8f314790bf5be564bfc978a145e3053 --label arch=amd64 --label version=0.0.0 . [2022-07-28T07:35:16.056Z] Sending build context to Docker daemon 9.908MB [2022-07-28T07:35:16.056Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T07:35:16.056Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T07:35:16.056Z] ---> 7418353cd111 [2022-07-28T07:35:16.056Z] Step 3/25 : ARG MAKE=make build [2022-07-28T07:35:16.318Z] ---> Running in 4f4fb69c7913 [2022-07-28T07:35:16.318Z] Removing intermediate container 4f4fb69c7913 [2022-07-28T07:35:16.318Z] ---> 82f092188312 [2022-07-28T07:35:16.318Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T07:35:16.318Z] ---> Running in 8a30ef7ec36b [2022-07-28T07:35:16.318Z] Removing intermediate container 8a30ef7ec36b [2022-07-28T07:35:16.318Z] ---> ead945d9a713 [2022-07-28T07:35:16.318Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T07:35:16.578Z] ---> Running in 7678ce77b957 [2022-07-28T07:35:16.578Z] Removing intermediate container 7678ce77b957 [2022-07-28T07:35:16.578Z] ---> f0a6d5835fed [2022-07-28T07:35:16.578Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T07:35:16.578Z] ---> Running in 1f3abadb51fd [2022-07-28T07:35:17.150Z] Removing intermediate container 1f3abadb51fd [2022-07-28T07:35:17.150Z] ---> 51b3c8d340f2 [2022-07-28T07:35:17.150Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T07:35:17.150Z] ---> Running in 6e3fa5c44e8d [2022-07-28T07:35:17.412Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T07:35:18.361Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T07:35:18.624Z] OK: 211 MiB in 51 packages [2022-07-28T07:35:18.891Z] Removing intermediate container 6e3fa5c44e8d [2022-07-28T07:35:18.891Z] ---> b92d761c5c63 [2022-07-28T07:35:18.891Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T07:35:18.891Z] ---> 7001826ca28e [2022-07-28T07:35:18.891Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T07:35:18.891Z] ---> Running in 4c9a2f8bf001 [2022-07-28T07:35:19.465Z] Removing intermediate container 4c9a2f8bf001 [2022-07-28T07:35:19.465Z] ---> 2f99803c1d48 [2022-07-28T07:35:19.465Z] Step 10/25 : COPY . . [2022-07-28T07:35:20.034Z] ---> 811305d64249 [2022-07-28T07:35:20.034Z] Step 11/25 : RUN ${MAKE} [2022-07-28T07:35:20.034Z] ---> Running in 281cbcd685a5 [2022-07-28T07:35:20.294Z] 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-28T07:35:38.412Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T07:35:42.618Z] Removing intermediate container 281cbcd685a5 [2022-07-28T07:35:42.618Z] ---> 327d3ec6ed78 [2022-07-28T07:35:42.618Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T07:35:42.618Z] 3.16: Pulling from library/alpine [2022-07-28T07:35:42.618Z] 530afca65e2e: Pulling fs layer [2022-07-28T07:35:42.876Z] 530afca65e2e: Verifying Checksum [2022-07-28T07:35:42.876Z] 530afca65e2e: Download complete [2022-07-28T07:35:43.137Z] 530afca65e2e: Pull complete [2022-07-28T07:35:43.137Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T07:35:43.137Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T07:35:43.137Z] ---> d7d3d98c851f [2022-07-28T07:35:43.137Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T07:35:43.137Z] ---> Running in 884094e2de66 [2022-07-28T07:35:43.137Z] Removing intermediate container 884094e2de66 [2022-07-28T07:35:43.137Z] ---> 8e0abcf3a807 [2022-07-28T07:35:43.137Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T07:35:43.137Z] ---> Running in 91f13f777078 [2022-07-28T07:35:43.709Z] Removing intermediate container 91f13f777078 [2022-07-28T07:35:43.709Z] ---> 278992e28fff [2022-07-28T07:35:43.709Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T07:35:43.709Z] ---> Running in b0e77e2e18b4 [2022-07-28T07:35:44.287Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T07:35:45.231Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T07:35:45.492Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T07:35:45.492Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T07:35:45.492Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T07:35:45.754Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T07:35:45.754Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T07:35:46.015Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T07:35:46.015Z] OK: 8 MiB in 19 packages [2022-07-28T07:35:46.276Z] Removing intermediate container b0e77e2e18b4 [2022-07-28T07:35:46.276Z] ---> 9e326ac82bea [2022-07-28T07:35:46.276Z] Step 16/25 : WORKDIR / [2022-07-28T07:35:46.276Z] ---> Running in 16343ae9f415 [2022-07-28T07:35:46.538Z] Removing intermediate container 16343ae9f415 [2022-07-28T07:35:46.538Z] ---> 651f89e17efe [2022-07-28T07:35:46.538Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T07:35:46.538Z] ---> ed62a9c9a5c7 [2022-07-28T07:35:46.538Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T07:35:47.482Z] ---> 2f43772fb133 [2022-07-28T07:35:47.482Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T07:35:47.482Z] ---> 53d078d1ccd8 [2022-07-28T07:35:47.482Z] Step 20/25 : EXPOSE 59999 [2022-07-28T07:35:47.482Z] ---> Running in 4f92f656defc [2022-07-28T07:35:47.482Z] Removing intermediate container 4f92f656defc [2022-07-28T07:35:47.482Z] ---> f7153a5bb7aa [2022-07-28T07:35:47.482Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T07:35:47.482Z] ---> Running in 332e1152113a [2022-07-28T07:35:47.744Z] Removing intermediate container 332e1152113a [2022-07-28T07:35:47.744Z] ---> c5bccae4d926 [2022-07-28T07:35:47.744Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T07:35:47.744Z] ---> Running in d7d69c42d275 [2022-07-28T07:35:47.744Z] Removing intermediate container d7d69c42d275 [2022-07-28T07:35:47.744Z] ---> 73685819d256 [2022-07-28T07:35:47.744Z] Step 23/25 : LABEL arch=amd64 [2022-07-28T07:35:47.744Z] ---> Running in e76c19db6192 [2022-07-28T07:35:47.744Z] Removing intermediate container e76c19db6192 [2022-07-28T07:35:47.744Z] ---> a97282b8fcb3 [2022-07-28T07:35:47.744Z] Step 24/25 : LABEL git_sha=ff1b5b02c8f314790bf5be564bfc978a145e3053 [2022-07-28T07:35:47.744Z] ---> Running in 0e78f3a9b628 [2022-07-28T07:35:48.005Z] Removing intermediate container 0e78f3a9b628 [2022-07-28T07:35:48.005Z] ---> ed6e636d156e [2022-07-28T07:35:48.005Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T07:35:48.005Z] ---> Running in f51bbe9ca14e [2022-07-28T07:35:48.005Z] Removing intermediate container f51bbe9ca14e [2022-07-28T07:35:48.005Z] ---> ecc091ffb8dd [2022-07-28T07:35:48.005Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T07:35:48.005Z] Successfully built ecc091ffb8dd [2022-07-28T07:35:48.005Z] 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-28T07:35:48.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T07:35:48.880Z] [2022-07-28T07:35:48.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:35:49.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T07:35:49.263Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-28T07:35:49.263Z] 5eb5b503b376: Pulling fs layer [2022-07-28T07:35:49.263Z] 5c69ac0246d0: Pulling fs layer [2022-07-28T07:35:49.263Z] ec43610c2a17: Pulling fs layer [2022-07-28T07:35:49.263Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-28T07:35:49.263Z] 33b1e0a273af: Pulling fs layer [2022-07-28T07:35:49.263Z] 5d3b04190fa2: Pulling fs layer [2022-07-28T07:35:49.263Z] 2f39f015ded8: Pulling fs layer [2022-07-28T07:35:49.263Z] 5d3b04190fa2: Waiting [2022-07-28T07:35:49.263Z] 2f39f015ded8: Waiting [2022-07-28T07:35:49.263Z] 3a2ae6a8a46f: Waiting [2022-07-28T07:35:49.263Z] 5c69ac0246d0: Verifying Checksum [2022-07-28T07:35:49.263Z] 5c69ac0246d0: Download complete [2022-07-28T07:35:49.263Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-28T07:35:49.263Z] 3a2ae6a8a46f: Download complete [2022-07-28T07:35:49.263Z] 33b1e0a273af: Verifying Checksum [2022-07-28T07:35:49.263Z] 33b1e0a273af: Download complete [2022-07-28T07:35:49.523Z] 5d3b04190fa2: Verifying Checksum [2022-07-28T07:35:49.523Z] 5d3b04190fa2: Download complete [2022-07-28T07:35:49.523Z] ec43610c2a17: Verifying Checksum [2022-07-28T07:35:49.523Z] ec43610c2a17: Download complete [2022-07-28T07:35:49.523Z] 5eb5b503b376: Verifying Checksum [2022-07-28T07:35:49.523Z] 5eb5b503b376: Download complete [2022-07-28T07:35:50.091Z] 2f39f015ded8: Download complete [2022-07-28T07:35:51.028Z] 5eb5b503b376: Pull complete [2022-07-28T07:35:51.028Z] 5c69ac0246d0: Pull complete [2022-07-28T07:35:51.596Z] ec43610c2a17: Pull complete [2022-07-28T07:35:51.596Z] 3a2ae6a8a46f: Pull complete [2022-07-28T07:35:51.855Z] 33b1e0a273af: Pull complete [2022-07-28T07:35:51.855Z] 5d3b04190fa2: Pull complete [2022-07-28T07:35:57.138Z] 2f39f015ded8: Pull complete [2022-07-28T07:35:57.138Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-28T07:35:57.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T07:35:57.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:35:57.372Z] prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container [2022-07-28T07:35:57.410Z] $ 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-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T07:36:00.257Z] $ docker top 0923a84fe420e65a0fb7273e8788dcc3e5dffbd41ad9e74a2a177488ca38d760 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:36:00.773Z] ---> job-cost.sh [2022-07-28T07:36:00.773Z] lf-activate-venv: SKIPPING [2022-07-28T07:36:00.773Z] INFO: No Stack... [2022-07-28T07:36:01.043Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T07:36:01.611Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T07:36:01.935Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/cost.csv [2022-07-28T07:36:01.935Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T07:36:01.977Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [2022-07-28T07:36:01.981Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] did not exist. Created. [2022-07-28T07:36:01.981Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T07:36:02.379Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-28T07:36:02.434Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T07:36:02.456Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T07:36:02.545Z] $ docker stop --time=1 0923a84fe420e65a0fb7273e8788dcc3e5dffbd41ad9e74a2a177488ca38d760 [2022-07-28T07:36:03.728Z] $ docker rm -f 0923a84fe420e65a0fb7273e8788dcc3e5dffbd41ad9e74a2a177488ca38d760 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-28T07:37:00.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21363 in /w/workspace/gexfoundry_device-sdk-go_PR-1203 [Pipeline] { [Pipeline] ws [2022-07-28T07:37:00.728Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-28T07:37:00.892Z] The recommended git tool is: git [2022-07-28T07:37:05.427Z] using credential edgex-jenkins-ssh [2022-07-28T07:37:05.445Z] Cloning the remote Git repository [2022-07-28T07:37:05.497Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T07:37:05.572Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-28T07:37:05.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T07:37:05.668Z] > git --version # timeout=10 [2022-07-28T07:37:05.687Z] > git --version # 'git version 2.25.1' [2022-07-28T07:37:05.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T07:37:05.783Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T07:37:07.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T07:37:07.117Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T07:37:07.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T07:37:07.772Z] Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit ff1b5b02c8f314790bf5be564bfc978a145e3053 [2022-07-28T07:37:08.029Z] Merge succeeded, producing ff1b5b02c8f314790bf5be564bfc978a145e3053 [2022-07-28T07:37:08.030Z] Checking out Revision ff1b5b02c8f314790bf5be564bfc978a145e3053 (PR-1203) [2022-07-28T07:37:07.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T07:37:07.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T07:37:07.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1203/head:refs/remotes/origin/PR-1203 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-28T07:37:07.789Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T07:37:07.812Z] > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 [2022-07-28T07:37:07.929Z] > git remote # timeout=10 [2022-07-28T07:37:07.946Z] > git config --get remote.origin.url # timeout=10 [2022-07-28T07:37:07.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T07:37:07.973Z] > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 [2022-07-28T07:37:08.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-28T07:37:08.035Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T07:37:08.055Z] > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 [2022-07-28T07:37:12.257Z] Commit message: "fix: fix empty device name when updating device's serviceName" [2022-07-28T07:37:12.313Z] > git --version # timeout=10 [2022-07-28T07:37:12.324Z] > git --version # 'git version 2.25.1' [2022-07-28T07:37:12.335Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T07:37:13.529Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-28T07:37:13.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T07:37:13.529Z] Dload Upload Total Spent Left Speed [2022-07-28T07:37:13.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 78050 0 --:--:-- --:--:-- --:--:-- 78547 [Pipeline] sh [2022-07-28T07:37:14.247Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-28T07:37:14.608Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-28T07:37:14.608Z] + sudo tee /etc/docker/daemon.new [2022-07-28T07:37:14.608Z] { [2022-07-28T07:37:14.608Z] "registry-mirrors": [ [2022-07-28T07:37:14.608Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-28T07:37:14.608Z] ], [2022-07-28T07:37:14.608Z] "bip": "10.250.0.254/24", [2022-07-28T07:37:14.608Z] "hosts": [ [2022-07-28T07:37:14.608Z] "tcp://0.0.0.0:5555", [2022-07-28T07:37:14.608Z] "unix:///var/run/docker.sock" [2022-07-28T07:37:14.608Z] ], [2022-07-28T07:37:14.608Z] "mtu": 1458, [2022-07-28T07:37:14.608Z] "selinux-enabled": true, [2022-07-28T07:37:14.608Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-28T07:37:14.608Z] } [Pipeline] sh [2022-07-28T07:37:14.976Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-28T07:37:15.349Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T07:37:33.770Z] provisioning config files... [2022-07-28T07:37:33.986Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4609330506486275025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:37:34.472Z] ---> docker-login.sh [2022-07-28T07:37:34.472Z] nexus3.edgexfoundry.org:10001 [2022-07-28T07:37:35.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:37:35.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:37:35.678Z] Configure a credential helper to remove this warning. See [2022-07-28T07:37:35.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:37:35.678Z] [2022-07-28T07:37:35.678Z] Login Succeeded [2022-07-28T07:37:35.678Z] nexus3.edgexfoundry.org:10002 [2022-07-28T07:37:35.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:37:35.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:37:35.956Z] Configure a credential helper to remove this warning. See [2022-07-28T07:37:35.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:37:35.956Z] [2022-07-28T07:37:35.956Z] Login Succeeded [2022-07-28T07:37:36.235Z] nexus3.edgexfoundry.org:10003 [2022-07-28T07:37:36.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:37:36.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:37:36.517Z] Configure a credential helper to remove this warning. See [2022-07-28T07:37:36.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:37:36.517Z] [2022-07-28T07:37:36.517Z] Login Succeeded [2022-07-28T07:37:36.517Z] nexus3.edgexfoundry.org:10004 [2022-07-28T07:37:37.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:37:37.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:37:37.123Z] Configure a credential helper to remove this warning. See [2022-07-28T07:37:37.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:37:37.123Z] [2022-07-28T07:37:37.123Z] Login Succeeded [2022-07-28T07:37:37.123Z] docker.io [2022-07-28T07:37:37.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T07:37:37.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T07:37:37.677Z] Configure a credential helper to remove this warning. See [2022-07-28T07:37:37.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T07:37:37.677Z] [2022-07-28T07:37:37.677Z] Login Succeeded [2022-07-28T07:37:37.703Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T07:37:37.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T07:37:38.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T07:37:38.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T07:37:38.171Z] ========================================================= [2022-07-28T07:37:38.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-28T07:37:38.171Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:37:38.675Z] + 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-28T07:37:38.956Z] Sending build context to Docker daemon 5.25MB [2022-07-28T07:37:39.240Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T07:37:39.240Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T07:37:39.240Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-28T07:37:39.240Z] b3c136eddcbf: Pulling fs layer [2022-07-28T07:37:39.240Z] c0a3192eca97: Pulling fs layer [2022-07-28T07:37:39.240Z] a050256f5b6f: Pulling fs layer [2022-07-28T07:37:39.240Z] 656be50a0ddc: Pulling fs layer [2022-07-28T07:37:39.240Z] 2bbca73fdf42: Pulling fs layer [2022-07-28T07:37:39.240Z] 46d945488cbd: Pulling fs layer [2022-07-28T07:37:39.240Z] 8a5474983e97: Pulling fs layer [2022-07-28T07:37:39.240Z] 329c88fbcd65: Pulling fs layer [2022-07-28T07:37:39.240Z] 656be50a0ddc: Waiting [2022-07-28T07:37:39.240Z] 2bbca73fdf42: Waiting [2022-07-28T07:37:39.240Z] 46d945488cbd: Waiting [2022-07-28T07:37:39.240Z] 8a5474983e97: Waiting [2022-07-28T07:37:39.240Z] 329c88fbcd65: Waiting [2022-07-28T07:37:39.240Z] a050256f5b6f: Verifying Checksum [2022-07-28T07:37:39.240Z] a050256f5b6f: Download complete [2022-07-28T07:37:39.240Z] c0a3192eca97: Verifying Checksum [2022-07-28T07:37:39.240Z] c0a3192eca97: Download complete [2022-07-28T07:37:39.240Z] 2bbca73fdf42: Verifying Checksum [2022-07-28T07:37:39.240Z] 2bbca73fdf42: Download complete [2022-07-28T07:37:39.524Z] b3c136eddcbf: Download complete [2022-07-28T07:37:39.524Z] 46d945488cbd: Verifying Checksum [2022-07-28T07:37:39.524Z] 46d945488cbd: Download complete [2022-07-28T07:37:40.521Z] b3c136eddcbf: Pull complete [2022-07-28T07:37:40.521Z] 329c88fbcd65: Verifying Checksum [2022-07-28T07:37:40.521Z] 329c88fbcd65: Download complete [2022-07-28T07:37:41.128Z] c0a3192eca97: Pull complete [2022-07-28T07:37:41.405Z] a050256f5b6f: Pull complete [2022-07-28T07:37:41.691Z] 8a5474983e97: Verifying Checksum [2022-07-28T07:37:41.691Z] 8a5474983e97: Download complete [2022-07-28T07:37:42.295Z] 656be50a0ddc: Verifying Checksum [2022-07-28T07:37:42.295Z] 656be50a0ddc: Download complete [2022-07-28T07:37:57.390Z] 656be50a0ddc: Pull complete [2022-07-28T07:37:57.390Z] 2bbca73fdf42: Pull complete [2022-07-28T07:37:57.390Z] 46d945488cbd: Pull complete [2022-07-28T07:38:02.814Z] 8a5474983e97: Pull complete [2022-07-28T07:38:04.912Z] 329c88fbcd65: Pull complete [2022-07-28T07:38:04.912Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-28T07:38:04.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T07:38:04.912Z] ---> ff4287adb874 [2022-07-28T07:38:04.912Z] Step 3/11 : ARG MAKE=make build [2022-07-28T07:38:05.512Z] ---> Running in 2cec8459edbc [2022-07-28T07:38:05.795Z] Removing intermediate container 2cec8459edbc [2022-07-28T07:38:05.795Z] ---> 9852b78db7e0 [2022-07-28T07:38:05.795Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T07:38:06.069Z] ---> Running in 77708a2b1588 [2022-07-28T07:38:06.342Z] Removing intermediate container 77708a2b1588 [2022-07-28T07:38:06.342Z] ---> 7e7b4751540d [2022-07-28T07:38:06.342Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T07:38:06.342Z] ---> Running in 8dbcbea6bdb1 [2022-07-28T07:38:06.943Z] Removing intermediate container 8dbcbea6bdb1 [2022-07-28T07:38:06.943Z] ---> ccfbe9f33a71 [2022-07-28T07:38:06.943Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T07:38:06.943Z] ---> Running in 02820355483a [2022-07-28T07:38:08.939Z] Removing intermediate container 02820355483a [2022-07-28T07:38:08.939Z] ---> 6b32263443fa [2022-07-28T07:38:08.939Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T07:38:08.939Z] ---> Running in 7bd028a74773 [2022-07-28T07:38:09.931Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T07:38:12.271Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T07:38:12.271Z] OK: 221 MiB in 51 packages [2022-07-28T07:38:12.547Z] Removing intermediate container 7bd028a74773 [2022-07-28T07:38:12.547Z] ---> d26942886fc6 [2022-07-28T07:38:12.547Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T07:38:13.144Z] ---> 386187055a5f [2022-07-28T07:38:13.145Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T07:38:13.444Z] ---> Running in 9df7c4d6e941 [2022-07-28T07:39:00.445Z] Removing intermediate container 9df7c4d6e941 [2022-07-28T07:39:00.445Z] ---> c6f5906a5a6d [2022-07-28T07:39:00.445Z] Step 10/11 : COPY . . [2022-07-28T07:39:01.050Z] ---> d32992b38f02 [2022-07-28T07:39:01.050Z] Step 11/11 : RUN ${MAKE} [2022-07-28T07:39:01.050Z] ---> Running in 9c42dc52c692 [2022-07-28T07:39:02.038Z] noop [2022-07-28T07:39:02.649Z] Removing intermediate container 9c42dc52c692 [2022-07-28T07:39:02.649Z] ---> 09894de8b4f9 [2022-07-28T07:39:02.649Z] Successfully built 09894de8b4f9 [2022-07-28T07:39:02.649Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:39:03.150Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T07:39:03.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:39:03.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-21363 does not seem to be running inside a container [2022-07-28T07:39:03.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T07:39:04.854Z] $ docker top bf7b2c58b281d3089516125385aba954d16c58f448eebb7f494b00d25c67e544 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T07:39:05.832Z] + go version [2022-07-28T07:39:05.832Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-28T07:39:05.874Z] $ docker stop --time=1 bf7b2c58b281d3089516125385aba954d16c58f448eebb7f494b00d25c67e544 [2022-07-28T07:39:07.568Z] $ docker rm -f bf7b2c58b281d3089516125385aba954d16c58f448eebb7f494b00d25c67e544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:39:08.519Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T07:39:08.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:39:08.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-21363 does not seem to be running inside a container [2022-07-28T07:39:08.955Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T07:39:10.257Z] $ docker top 990cb3d2b84ae5c567b45d117a4d48b9abd50e0f40205f6e85432b84f5886249 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T07:39:11.243Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-28T07:39:11.980Z] + make test [2022-07-28T07:39:11.980Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T07:39:44.451Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T07:41:36.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T07:41:36.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T07:41:36.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T07:41:38.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.393s coverage: 23.6% of statements [2022-07-28T07:41:38.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T07:41:38.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements [2022-07-28T07:41:38.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.295s coverage: 78.9% of statements [2022-07-28T07:41:38.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 10.8% of statements [2022-07-28T07:41:40.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.486s coverage: 60.0% of statements [2022-07-28T07:41:40.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T07:41:40.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T07:41:42.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.484s coverage: 34.8% of statements [2022-07-28T07:41:42.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T07:41:45.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.258s coverage: 85.4% of statements [2022-07-28T07:41:45.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T07:41:45.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T07:41:45.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.449s coverage: 65.1% of statements [2022-07-28T07:41:45.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T07:41:45.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T07:41:49.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.991s coverage: 89.2% of statements [2022-07-28T07:41:49.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T07:41:50.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.215s coverage: 4.7% of statements [2022-07-28T07:41:50.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T07:41:50.614Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-28T07:41:50.614Z] GO111MODULE=on go vet ./... [2022-07-28T07:43:12.439Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T07:43:12.439Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T07:43:12.439Z] ./bin/test-attribution-txt.sh [2022-07-28T07:43:12.439Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T07:43:12.439Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T07:43:12.439Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T07:43:12.439Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T07:43:12.439Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T07:43:12.439Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T07:43:12.439Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T07:43:12.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T07:43:12.515Z] $ docker stop --time=1 990cb3d2b84ae5c567b45d117a4d48b9abd50e0f40205f6e85432b84f5886249 [2022-07-28T07:43:14.393Z] $ docker rm -f 990cb3d2b84ae5c567b45d117a4d48b9abd50e0f40205f6e85432b84f5886249 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T07:43:15.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T07:43:15.873Z] Warning: overwriting stash ‘coverage-report’ [2022-07-28T07:43:16.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T07:43:17.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T07:43:17.367Z] + ls -al . [2022-07-28T07:43:17.367Z] total 300 [2022-07-28T07:43:17.367Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 07:39 . [2022-07-28T07:43:17.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:37 .. [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 07:37 .dockerignore [2022-07-28T07:43:17.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 07:37 .git [2022-07-28T07:43:17.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:37 .github [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 07:37 .gitignore [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 07:37 .golangci.yml [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 07:37 CHANGELOG.md [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 07:37 GOVERNANCE.md [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 07:37 Jenkinsfile [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 07:37 LICENSE [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 07:37 Makefile [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 07:37 OWNERS.md [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 07:37 README.md [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 07:33 VERSION [2022-07-28T07:43:17.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:37 bin [2022-07-28T07:43:17.367Z] -rw-r--r-- 1 jenkins jenkins 131678 Jul 28 07:41 coverage.out [2022-07-28T07:43:17.367Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 07:37 example [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 07:37 go.mod [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 07:37 go.sum [2022-07-28T07:43:17.367Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 07:37 internal [2022-07-28T07:43:17.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 07:37 openapi [2022-07-28T07:43:17.367Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 07:37 pkg [2022-07-28T07:43:17.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:37 snap [2022-07-28T07:43:17.367Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:43:17.806Z] + 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=ff1b5b02c8f314790bf5be564bfc978a145e3053 --label arch=arm64 --label version=0.0.0 . [2022-07-28T07:43:18.080Z] Sending build context to Docker daemon 5.383MB [2022-07-28T07:43:18.354Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T07:43:18.354Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T07:43:18.354Z] ---> 09894de8b4f9 [2022-07-28T07:43:18.354Z] Step 3/25 : ARG MAKE=make build [2022-07-28T07:43:18.354Z] ---> Running in 8f3cf7faf19a [2022-07-28T07:43:18.630Z] Removing intermediate container 8f3cf7faf19a [2022-07-28T07:43:18.630Z] ---> 328133bc0c78 [2022-07-28T07:43:18.630Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T07:43:18.630Z] ---> Running in d88bb9b25659 [2022-07-28T07:43:18.908Z] Removing intermediate container d88bb9b25659 [2022-07-28T07:43:18.909Z] ---> 4925c33f76d3 [2022-07-28T07:43:18.909Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T07:43:19.183Z] ---> Running in 74a0192ce02e [2022-07-28T07:43:19.457Z] Removing intermediate container 74a0192ce02e [2022-07-28T07:43:19.457Z] ---> bf0ca3288877 [2022-07-28T07:43:19.457Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T07:43:19.457Z] ---> Running in 72ac1eee32dc [2022-07-28T07:43:20.897Z] Removing intermediate container 72ac1eee32dc [2022-07-28T07:43:20.897Z] ---> 5ad591ecf81e [2022-07-28T07:43:20.897Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T07:43:21.173Z] ---> Running in 8955bc8874b1 [2022-07-28T07:43:22.151Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T07:43:23.128Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T07:43:23.730Z] OK: 221 MiB in 51 packages [2022-07-28T07:43:24.720Z] Removing intermediate container 8955bc8874b1 [2022-07-28T07:43:24.720Z] ---> 3016a3d878ad [2022-07-28T07:43:24.720Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T07:43:24.999Z] ---> 0631ef0a6251 [2022-07-28T07:43:24.999Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T07:43:25.276Z] ---> Running in cee42c603e1f [2022-07-28T07:43:27.257Z] Removing intermediate container cee42c603e1f [2022-07-28T07:43:27.257Z] ---> 30c5b93eee12 [2022-07-28T07:43:27.257Z] Step 10/25 : COPY . . [2022-07-28T07:43:28.237Z] ---> b4d2be8db4ba [2022-07-28T07:43:28.237Z] Step 11/25 : RUN ${MAKE} [2022-07-28T07:43:28.237Z] ---> Running in 2705a28dbe6e [2022-07-28T07:43:29.219Z] 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-28T07:45:36.117Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T07:45:36.117Z] Removing intermediate container 2705a28dbe6e [2022-07-28T07:45:36.117Z] ---> 21a80295b97b [2022-07-28T07:45:36.117Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T07:45:36.117Z] 3.16: Pulling from library/alpine [2022-07-28T07:45:36.117Z] f97344484467: Pulling fs layer [2022-07-28T07:45:36.117Z] f97344484467: Download complete [2022-07-28T07:45:36.117Z] f97344484467: Pull complete [2022-07-28T07:45:36.117Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T07:45:36.117Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T07:45:36.117Z] ---> 3d81c46cd875 [2022-07-28T07:45:36.117Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T07:45:36.117Z] ---> Running in f72397dc65b0 [2022-07-28T07:45:36.117Z] Removing intermediate container f72397dc65b0 [2022-07-28T07:45:36.117Z] ---> 649bacf75a0f [2022-07-28T07:45:36.117Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T07:45:36.117Z] ---> Running in dbd40a8ccc09 [2022-07-28T07:45:36.117Z] Removing intermediate container dbd40a8ccc09 [2022-07-28T07:45:36.117Z] ---> 41b4ceb9e754 [2022-07-28T07:45:36.117Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T07:45:36.117Z] ---> Running in 75da89e143a5 [2022-07-28T07:45:36.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T07:45:36.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T07:45:36.117Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T07:45:36.117Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T07:45:36.117Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T07:45:36.117Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T07:45:36.117Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T07:45:36.117Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T07:45:36.117Z] OK: 8 MiB in 19 packages [2022-07-28T07:45:36.398Z] Removing intermediate container 75da89e143a5 [2022-07-28T07:45:36.398Z] ---> 210d5728a02c [2022-07-28T07:45:36.398Z] Step 16/25 : WORKDIR / [2022-07-28T07:45:36.398Z] ---> Running in 3600445fce24 [2022-07-28T07:45:36.688Z] Removing intermediate container 3600445fce24 [2022-07-28T07:45:36.688Z] ---> cad28cfc980e [2022-07-28T07:45:36.688Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T07:45:37.308Z] ---> 42e89bdfc05b [2022-07-28T07:45:37.308Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T07:45:38.743Z] ---> 6067d7ddc612 [2022-07-28T07:45:38.743Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T07:45:39.019Z] ---> 6b2446cda367 [2022-07-28T07:45:39.019Z] Step 20/25 : EXPOSE 59999 [2022-07-28T07:45:39.297Z] ---> Running in f063deee4b91 [2022-07-28T07:45:39.570Z] Removing intermediate container f063deee4b91 [2022-07-28T07:45:39.570Z] ---> af45b693225f [2022-07-28T07:45:39.570Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T07:45:39.570Z] ---> Running in 672a39c15363 [2022-07-28T07:45:39.845Z] Removing intermediate container 672a39c15363 [2022-07-28T07:45:39.845Z] ---> d57e8813e230 [2022-07-28T07:45:39.845Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T07:45:39.845Z] ---> Running in 1bca9c8b4a43 [2022-07-28T07:45:40.123Z] Removing intermediate container 1bca9c8b4a43 [2022-07-28T07:45:40.123Z] ---> f5e527ca156a [2022-07-28T07:45:40.123Z] Step 23/25 : LABEL arch=arm64 [2022-07-28T07:45:40.396Z] ---> Running in ed4cac45176a [2022-07-28T07:45:40.667Z] Removing intermediate container ed4cac45176a [2022-07-28T07:45:40.667Z] ---> b1188e1aba24 [2022-07-28T07:45:40.667Z] Step 24/25 : LABEL git_sha=ff1b5b02c8f314790bf5be564bfc978a145e3053 [2022-07-28T07:45:40.667Z] ---> Running in d364a940cd82 [2022-07-28T07:45:40.939Z] Removing intermediate container d364a940cd82 [2022-07-28T07:45:40.939Z] ---> 3616fafeaaed [2022-07-28T07:45:40.939Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T07:45:40.939Z] ---> Running in 4f3570fb3c0d [2022-07-28T07:45:41.211Z] Removing intermediate container 4f3570fb3c0d [2022-07-28T07:45:41.211Z] ---> 8eb1bca87b85 [2022-07-28T07:45:41.211Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T07:45:41.211Z] Successfully built 8eb1bca87b85 [2022-07-28T07:45:41.211Z] 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-28T07:45:42.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T07:45:42.039Z] [2022-07-28T07:45:42.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:45:42.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T07:45:42.731Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-28T07:45:42.731Z] 8998bd30e6a1: Pulling fs layer [2022-07-28T07:45:42.731Z] 04944245beec: Pulling fs layer [2022-07-28T07:45:42.731Z] 699f458cf7ca: Pulling fs layer [2022-07-28T07:45:42.731Z] 765212b225bb: Pulling fs layer [2022-07-28T07:45:42.731Z] f23df028b6ca: Pulling fs layer [2022-07-28T07:45:42.731Z] d65c8cfc05b1: Pulling fs layer [2022-07-28T07:45:42.731Z] 2437ff75d9bd: Pulling fs layer [2022-07-28T07:45:42.731Z] 765212b225bb: Waiting [2022-07-28T07:45:42.731Z] f23df028b6ca: Waiting [2022-07-28T07:45:42.731Z] d65c8cfc05b1: Waiting [2022-07-28T07:45:42.731Z] 2437ff75d9bd: Waiting [2022-07-28T07:45:42.731Z] 04944245beec: Verifying Checksum [2022-07-28T07:45:42.731Z] 04944245beec: Download complete [2022-07-28T07:45:42.731Z] 765212b225bb: Verifying Checksum [2022-07-28T07:45:42.731Z] 765212b225bb: Download complete [2022-07-28T07:45:42.731Z] f23df028b6ca: Verifying Checksum [2022-07-28T07:45:42.731Z] f23df028b6ca: Download complete [2022-07-28T07:45:42.731Z] d65c8cfc05b1: Verifying Checksum [2022-07-28T07:45:42.731Z] d65c8cfc05b1: Download complete [2022-07-28T07:45:43.008Z] 699f458cf7ca: Verifying Checksum [2022-07-28T07:45:43.008Z] 699f458cf7ca: Download complete [2022-07-28T07:45:43.283Z] 8998bd30e6a1: Verifying Checksum [2022-07-28T07:45:43.283Z] 8998bd30e6a1: Download complete [2022-07-28T07:45:45.906Z] 2437ff75d9bd: Verifying Checksum [2022-07-28T07:45:45.906Z] 2437ff75d9bd: Download complete [2022-07-28T07:45:47.887Z] 8998bd30e6a1: Pull complete [2022-07-28T07:45:47.887Z] 04944245beec: Pull complete [2022-07-28T07:45:49.865Z] 699f458cf7ca: Pull complete [2022-07-28T07:45:49.865Z] 765212b225bb: Pull complete [2022-07-28T07:45:50.463Z] f23df028b6ca: Pull complete [2022-07-28T07:45:50.740Z] d65c8cfc05b1: Pull complete [2022-07-28T07:46:05.850Z] 2437ff75d9bd: Pull complete [2022-07-28T07:46:05.850Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-28T07:46:05.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T07:46:05.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:46:06.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-21363 does not seem to be running inside a container [2022-07-28T07:46:06.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-28T07:46:08.882Z] $ docker top 6387dce5351b1f50b4bb98006f9bd531fd279bf03da83bbf5b3348f8b3528abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:09.854Z] ---> job-cost.sh [2022-07-28T07:46:09.854Z] lf-activate-venv: SKIPPING [2022-07-28T07:46:09.854Z] INFO: No Stack... [2022-07-28T07:46:10.449Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-28T07:46:11.047Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T07:46:11.719Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv+ cut -d, -f6 [2022-07-28T07:46:11.719Z] [Pipeline] lock [2022-07-28T07:46:11.770Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [2022-07-28T07:46:11.775Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] did not exist. Created. [2022-07-28T07:46:11.775Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T07:46:12.508Z] /w/workspace/device-sdk-go/1@tmp/durable-7f06e36a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-28T07:46:13.209Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-28T07:46:13.246Z] Warning: overwriting stash ‘stack-cost’ [2022-07-28T07:46:13.306Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T07:46:13.321Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T07:46:13.407Z] $ docker stop --time=1 6387dce5351b1f50b4bb98006f9bd531fd279bf03da83bbf5b3348f8b3528abe [2022-07-28T07:46:14.921Z] $ docker rm -f 6387dce5351b1f50b4bb98006f9bd531fd279bf03da83bbf5b3348f8b3528abe [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-28T07:46:15.969Z] provisioning config files... [2022-07-28T07:46:15.977Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config4581429532532430203tmp [Pipeline] { [Pipeline] sh [2022-07-28T07:46:16.323Z] + set +x [2022-07-28T07:46:16.323Z] + curl -s https://codecov.io/bash [2022-07-28T07:46:16.323Z] + bash -s -- [2022-07-28T07:46:16.584Z] [2022-07-28T07:46:16.584Z] _____ _ [2022-07-28T07:46:16.584Z] / ____| | | [2022-07-28T07:46:16.584Z] | | ___ __| | ___ ___ _____ __ [2022-07-28T07:46:16.584Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-28T07:46:16.584Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-28T07:46:16.584Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-28T07:46:16.584Z] Bash-1.0.6 [2022-07-28T07:46:16.584Z] [2022-07-28T07:46:16.584Z] [2022-07-28T07:46:16.584Z] ==> git version 2.25.1 found [2022-07-28T07:46:16.584Z] ==> 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-28T07:46:16.584Z] Release-Date: 2020-01-08 [2022-07-28T07:46:16.584Z] 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-28T07:46:16.584Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-28T07:46:16.584Z] ==> Jenkins CI detected. [2022-07-28T07:46:16.584Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1203 [2022-07-28T07:46:16.584Z] project root: . [2022-07-28T07:46:16.584Z] --> token set from env [2022-07-28T07:46:16.584Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-28T07:46:16.584Z] ==> Running gcov in . (disable via -X gcov) [2022-07-28T07:46:16.584Z] ==> Python coveragepy not found [2022-07-28T07:46:16.584Z] ==> Searching for coverage reports in: [2022-07-28T07:46:16.584Z] + . [2022-07-28T07:46:16.584Z] -> Found 1 reports [2022-07-28T07:46:16.584Z] ==> Detecting git/mercurial file structure [2022-07-28T07:46:16.584Z] ==> Reading reports [2022-07-28T07:46:16.584Z] + ./coverage.out bytes=131678 [2022-07-28T07:46:16.584Z] ==> Appending adjustments [2022-07-28T07:46:16.584Z] https://docs.codecov.io/docs/fixing-reports [2022-07-28T07:46:16.844Z] + Found adjustments [2022-07-28T07:46:16.844Z] ==> Gzipping contents [2022-07-28T07:46:16.844Z] 20K /tmp/codecov.j78Fxs.gz [2022-07-28T07:46:16.844Z] ==> Uploading reports [2022-07-28T07:46:16.844Z] url: https://codecov.io [2022-07-28T07:46:16.844Z] query: branch=PR-1203&commit=ff1b5b02c8f314790bf5be564bfc978a145e3053&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1203&job=&cmd_args= [2022-07-28T07:46:16.844Z] -> Pinging Codecov [2022-07-28T07:46:16.844Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1203&commit=ff1b5b02c8f314790bf5be564bfc978a145e3053&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1203&job=&cmd_args= [2022-07-28T07:46:17.105Z] -> Uploading to [2022-07-28T07:46:17.105Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/ff1b5b02c8f314790bf5be564bfc978a145e3053/3ad86909-a6d9-4c69-ab40-50aa5d60b3f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T074617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c5258d38f1133aa8feae910ba622580bdd5e8b9cc52f38c78ed4de437274449 [2022-07-28T07:46:17.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T07:46:17.105Z] Dload Upload Total Spent Left Speed [2022-07-28T07:46:17.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17306 0 0 100 17306 0 59470 --:--:-- --:--:-- --:--:-- 59470 [2022-07-28T07:46:17.630Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] } [2022-07-28T07:46:17.658Z] 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-28T07:46:19.440Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives ] [2022-07-28T07:46:19.440Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives [2022-07-28T07:46:19.440Z] total 16 [2022-07-28T07:46:19.440Z] drwxr-xr-x 3 root root 4096 Jul 28 07:36 . [2022-07-28T07:46:19.441Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 07:36 .. [2022-07-28T07:46:19.441Z] drwxr-xr-x 2 root root 4096 Jul 28 07:36 cost [2022-07-28T07:46:19.441Z] -rw-r--r-- 1 root root 86 Jul 28 07:36 cost.csv [2022-07-28T07:46:19.441Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives [2022-07-28T07:46:19.441Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives [2022-07-28T07:46:19.441Z] total 16 [2022-07-28T07:46:19.441Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 07:36 . [2022-07-28T07:46:19.441Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 07:36 .. [2022-07-28T07:46:19.441Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 07:36 cost [2022-07-28T07:46:19.441Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 28 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:19.772Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:20.666Z] ---> package-listing.sh [2022-07-28T07:46:20.666Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-28T07:46:20.666Z] ++ facter osfamily [2022-07-28T07:46:20.930Z] + OS_FAMILY=debian [2022-07-28T07:46:20.930Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1203 [2022-07-28T07:46:20.930Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-28T07:46:20.930Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-28T07:46:20.930Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-28T07:46:20.930Z] + PACKAGES=/tmp/packages_start.txt [2022-07-28T07:46:20.930Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1203 ']' [2022-07-28T07:46:20.930Z] + PACKAGES=/tmp/packages_end.txt [2022-07-28T07:46:20.930Z] + case "${OS_FAMILY}" in [2022-07-28T07:46:20.930Z] + dpkg -l [2022-07-28T07:46:20.930Z] + grep '^ii' [2022-07-28T07:46:20.930Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-28T07:46:20.930Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-28T07:46:20.930Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-28T07:46:20.930Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1203 ']' [2022-07-28T07:46:20.930Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/ [2022-07-28T07:46:20.930Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/ [Pipeline] echo [2022-07-28T07:46:20.966Z] 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-1203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-28T07:46:21.260Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T07:46:21.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T07:46:21.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T07:46:22.054Z] prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container [2022-07-28T07:46:22.096Z] $ 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-1203/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-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T07:46:22.322Z] $ docker top dfbf45f5307452e62ebc248595c4a10f6c770242efbedf4ab0bfafd800571cb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T07:46:22.732Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-28T07:46:23.043Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-28T07:46:23.361Z] + ls /var/log/sa-host [2022-07-28T07:46:23.361Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T07:46:23.571Z] provisioning config files... [2022-07-28T07:46:23.581Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config410311994087328726tmp [Pipeline] { [Pipeline] echo [2022-07-28T07:46:23.633Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:23.951Z] ---> create-netrc.sh [Pipeline] } [2022-07-28T07:46:23.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:24.384Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-28T07:46:24.419Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:24.742Z] ---> sudo-logs.sh [2022-07-28T07:46:24.742Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-28T07:46:24.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:25.137Z] ---> job-cost.sh [2022-07-28T07:46:25.137Z] lf-activate-venv: SKIPPING [2022-07-28T07:46:25.137Z] DEBUG: total: 0.2199999988079071 [2022-07-28T07:46:25.137Z] INFO: Retrieving Stack Cost... [2022-07-28T07:46:25.399Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T07:46:25.972Z] INFO: Archiving Costs [Pipeline] echo [2022-07-28T07:46:26.005Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T07:46:26.324Z] ---> logs-deploy.sh [2022-07-28T07:46:26.324Z] lf-activate-venv: SKIPPING [2022-07-28T07:46:26.324Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1203/1 [2022-07-28T07:46:26.324Z] INFO: archiving workspace using pattern(s): [2022-07-28T07:46:27.268Z] Archives upload complete. [2022-07-28T07:46:27.531Z] INFO: archiving logs to Nexus [2022-07-28T07:46:28.103Z] ---> uname -a: [2022-07-28T07:46:28.103Z] Linux prd-ubuntu20-04-docker-8c-8g-21362 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-28T07:46:28.103Z] [2022-07-28T07:46:28.103Z]