Pull request #1236 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 ad57e9545f0400bbf82677090cd003fd0fb66bd3+09c8a507c77d2bd2f09eb9ac13068a60ef71d0df (0234ac195789ab40b4e9307172b743b04da8da4a) 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-ssh16937520203912352435.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12292563112100118674.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1236/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-1236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1074926123649702578.key Verifying host key using known hosts file > 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-1236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14272679463556251274.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14115927765168663070.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1236/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-1236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8100827429884217961.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7790 in /w/workspace/gexfoundry_device-sdk-go_PR-1236 [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-1236 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit ad57e9545f0400bbf82677090cd003fd0fb66bd3 Merge succeeded, producing ad57e9545f0400bbf82677090cd003fd0fb66bd3 Checking out Revision ad57e9545f0400bbf82677090cd003fd0fb66bd3 (PR-1236) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1236/head:refs/remotes/origin/PR-1236 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 Commit message: "fix: publish envelope with empty payload when ds-returnevent=no" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-13T03:20:25.258Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-13T03:20:25.438Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-13T03:20:25.538Z] ========================================================= [2022-10-13T03:20:25.538Z] EdgeX Global Pipelines Version Info [2022-10-13T03:20:25.538Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:20:26.307Z] ------------------- [2022-10-13T03:20:26.307Z] stable info: [2022-10-13T03:20:26.307Z] ------------------- [2022-10-13T03:20:26.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-13T03:20:26.307Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T03:20:26.307Z] Message: update stable to v1.0.239 [2022-10-13T03:20:26.878Z] ------------------- [2022-10-13T03:20:26.878Z] experimental info: [2022-10-13T03:20:26.878Z] ------------------- [2022-10-13T03:20:26.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-13T03:20:26.878Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T03:20:26.878Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-13T03:20:27.154Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-13T03:20:27.195Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-13T03:20:27.232Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-13T03:20:27.269Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-13T03:20:27.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-13T03:20:27.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-13T03:20:27.388Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-13T03:20:27.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-13T03:20:27.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-13T03:20:27.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-13T03:20:27.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-13T03:20:27.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-13T03:20:27.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-13T03:20:27.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-13T03:20:27.701Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-13T03:20:27.740Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T03:20:27.778Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T03:20:27.816Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T03:20:27.855Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-13T03:20:27.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-13T03:20:27.940Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-13T03:20:27.979Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-13T03:20:28.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-13T03:20:28.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-13T03:20:28.094Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-13T03:20:28.134Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-13T03:20:28.175Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-13T03:20:28.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1236 [Pipeline] echo [2022-10-13T03:20:28.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1236 [Pipeline] echo [2022-10-13T03:20:28.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1236 [Pipeline] echo [2022-10-13T03:20:28.335Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad57e9545f0400bbf82677090cd003fd0fb66bd3 [Pipeline] echo [2022-10-13T03:20:28.381Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad57e95 [Pipeline] echo [2022-10-13T03:20:28.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T03:20:28.539Z] provisioning config files... [2022-10-13T03:20:28.554Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config8424116179060858225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:20:28.893Z] ---> docker-login.sh [2022-10-13T03:20:28.893Z] nexus3.edgexfoundry.org:10001 [2022-10-13T03:20:29.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:29.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:29.412Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:29.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:29.412Z] [2022-10-13T03:20:29.412Z] Login Succeeded [2022-10-13T03:20:29.412Z] nexus3.edgexfoundry.org:10002 [2022-10-13T03:20:29.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:29.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:29.671Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:29.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:29.671Z] [2022-10-13T03:20:29.671Z] Login Succeeded [2022-10-13T03:20:29.671Z] nexus3.edgexfoundry.org:10003 [2022-10-13T03:20:29.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:29.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:29.671Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:29.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:29.671Z] [2022-10-13T03:20:29.671Z] Login Succeeded [2022-10-13T03:20:29.671Z] nexus3.edgexfoundry.org:10004 [2022-10-13T03:20:29.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:29.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:29.671Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:29.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:29.671Z] [2022-10-13T03:20:29.671Z] Login Succeeded [2022-10-13T03:20:29.671Z] docker.io [2022-10-13T03:20:29.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:30.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:30.192Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:30.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:30.192Z] [2022-10-13T03:20:30.192Z] Login Succeeded [2022-10-13T03:20:30.192Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T03:20:30.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-13T03:20:30.864Z] + git rev-list -1 --merges ad57e9545f0400bbf82677090cd003fd0fb66bd3~1..ad57e9545f0400bbf82677090cd003fd0fb66bd3 [Pipeline] echo [2022-10-13T03:20:30.907Z] -----------> git rev-list -1 --merges ad57e9545f0400bbf82677090cd003fd0fb66bd3~1..ad57e9545f0400bbf82677090cd003fd0fb66bd3 ad57e9545f0400bbf82677090cd003fd0fb66bd3 [false] [Pipeline] sh [2022-10-13T03:20:31.220Z] + git log --format=format:%s -1 ad57e9545f0400bbf82677090cd003fd0fb66bd3 [Pipeline] echo [2022-10-13T03:20:31.254Z] ========================================================= [2022-10-13T03:20:31.254Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-13T03:20:31.254Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T03:20:31.692Z] + git log --format=format:%s -1 ad57e9545f0400bbf82677090cd003fd0fb66bd3 [Pipeline] echo [2022-10-13T03:20:31.723Z] [semverPrep] GIT_COMMIT: ad57e9545f0400bbf82677090cd003fd0fb66bd3, Commit Message: fix: publish envelope with empty payload when ds-returnevent=no [Pipeline] echo [2022-10-13T03:20:31.751Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-13T03:20:32.141Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T03:20:32.141Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-13T03:20:32.141Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-13T03:20:32.141Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-13T03:20:32.141Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-13T03:20:32.141Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-13T03:20:32.141Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:20:32.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T03:20:32.627Z] [2022-10-13T03:20:32.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:20:33.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T03:20:33.059Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-13T03:20:33.059Z] b85a868b505f: Pulling fs layer [2022-10-13T03:20:33.059Z] e2be974225ed: Pulling fs layer [2022-10-13T03:20:33.059Z] 339a4e72a1f5: Pulling fs layer [2022-10-13T03:20:33.059Z] 988bab9f4d93: Pulling fs layer [2022-10-13T03:20:33.059Z] 1469e6f7b9e6: Pulling fs layer [2022-10-13T03:20:33.059Z] eaf3925da568: Pulling fs layer [2022-10-13T03:20:33.059Z] bab4dde63d76: Pulling fs layer [2022-10-13T03:20:33.059Z] bde34c3a00c8: Pulling fs layer [2022-10-13T03:20:33.059Z] b352a97aabf1: Pulling fs layer [2022-10-13T03:20:33.059Z] 4872d77fe225: Pulling fs layer [2022-10-13T03:20:33.059Z] bab4dde63d76: Waiting [2022-10-13T03:20:33.059Z] 988bab9f4d93: Waiting [2022-10-13T03:20:33.059Z] 1469e6f7b9e6: Waiting [2022-10-13T03:20:33.059Z] eaf3925da568: Waiting [2022-10-13T03:20:33.059Z] bde34c3a00c8: Waiting [2022-10-13T03:20:33.059Z] b352a97aabf1: Waiting [2022-10-13T03:20:33.059Z] 5851b861e8e6: Pulling fs layer [2022-10-13T03:20:33.059Z] 4872d77fe225: Waiting [2022-10-13T03:20:33.059Z] 5851b861e8e6: Waiting [2022-10-13T03:20:33.059Z] e2be974225ed: Verifying Checksum [2022-10-13T03:20:33.059Z] e2be974225ed: Download complete [2022-10-13T03:20:33.059Z] 988bab9f4d93: Download complete [2022-10-13T03:20:33.342Z] 1469e6f7b9e6: Verifying Checksum [2022-10-13T03:20:33.342Z] 1469e6f7b9e6: Download complete [2022-10-13T03:20:33.342Z] eaf3925da568: Download complete [2022-10-13T03:20:33.342Z] 339a4e72a1f5: Verifying Checksum [2022-10-13T03:20:33.342Z] 339a4e72a1f5: Download complete [2022-10-13T03:20:33.342Z] bde34c3a00c8: Download complete [2022-10-13T03:20:33.342Z] b352a97aabf1: Verifying Checksum [2022-10-13T03:20:33.342Z] b352a97aabf1: Download complete [2022-10-13T03:20:33.342Z] 4872d77fe225: Verifying Checksum [2022-10-13T03:20:33.342Z] 4872d77fe225: Download complete [2022-10-13T03:20:33.342Z] 5851b861e8e6: Verifying Checksum [2022-10-13T03:20:33.342Z] 5851b861e8e6: Download complete [2022-10-13T03:20:33.342Z] b85a868b505f: Verifying Checksum [2022-10-13T03:20:33.342Z] b85a868b505f: Download complete [2022-10-13T03:20:33.604Z] bab4dde63d76: Verifying Checksum [2022-10-13T03:20:33.604Z] bab4dde63d76: Download complete [2022-10-13T03:20:34.995Z] b85a868b505f: Pull complete [2022-10-13T03:20:34.995Z] e2be974225ed: Pull complete [2022-10-13T03:20:35.256Z] 339a4e72a1f5: Pull complete [2022-10-13T03:20:35.516Z] 988bab9f4d93: Pull complete [2022-10-13T03:20:35.775Z] 1469e6f7b9e6: Pull complete [2022-10-13T03:20:35.775Z] eaf3925da568: Pull complete [2022-10-13T03:20:37.678Z] bab4dde63d76: Pull complete [2022-10-13T03:20:37.678Z] bde34c3a00c8: Pull complete [2022-10-13T03:20:37.938Z] b352a97aabf1: Pull complete [2022-10-13T03:20:37.938Z] 4872d77fe225: Pull complete [2022-10-13T03:20:38.198Z] 5851b861e8e6: Pull complete [2022-10-13T03:20:38.198Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-13T03:20:38.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T03:20:38.198Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:20:38.432Z] prd-ubuntu20.04-docker-8c-8g-7790 does not seem to be running inside a container [2022-10-13T03:20:38.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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-10-13T03:20:41.068Z] $ docker top 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b -eo pid,comm [2022-10-13T03:20:41.125Z] 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-10-13T03:20:41.125Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T03:20:41.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T03:20:41.265Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T03:20:41.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T03:20:41.398Z] $ docker exec 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b ssh-agent [2022-10-13T03:20:41.523Z] SSH_AUTH_SOCK=/tmp/ssh-vl1JAFfd0Z75/agent.31 [2022-10-13T03:20:41.523Z] SSH_AGENT_PID=37 [2022-10-13T03:20:41.530Z] Running ssh-add (command line suppressed) [2022-10-13T03:20:41.631Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_8060867116952095689.key (/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_8060867116952095689.key) [2022-10-13T03:20:41.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T03:20:41.978Z] + git tag --points-at HEAD [Pipeline] } [2022-10-13T03:20:42.002Z] $ docker exec --env ******** --env ******** 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b ssh-agent -k [2022-10-13T03:20:42.100Z] unset SSH_AUTH_SOCK; [2022-10-13T03:20:42.100Z] unset SSH_AGENT_PID; [2022-10-13T03:20:42.101Z] echo Agent pid 37 killed; [2022-10-13T03:20:42.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-13T03:20:42.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T03:20:42.196Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T03:20:42.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T03:20:42.311Z] $ docker exec 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b ssh-agent [2022-10-13T03:20:42.420Z] SSH_AUTH_SOCK=/tmp/ssh-6H7Gczlpm3aL/agent.69 [2022-10-13T03:20:42.420Z] SSH_AGENT_PID=75 [2022-10-13T03:20:42.424Z] Running ssh-add (command line suppressed) [2022-10-13T03:20:42.528Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_2314736464332717394.key (/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_2314736464332717394.key) [2022-10-13T03:20:42.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T03:20:42.876Z] + git semver init [2022-10-13T03:20:43.136Z] 2022-10-13 03:20:43,062 [run_init] DEBUG init version:0.0.0 force:False [2022-10-13T03:20:43.136Z] 2022-10-13 03:20:43,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver [2022-10-13T03:20:43.136Z] 2022-10-13 03:20:43,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver [2022-10-13T03:20:43.136Z] 2022-10-13 03:20:43,063 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236, universal_newlines=False, shell=None, istream=None) [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,093 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.git/info/exclude [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 with force:False [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,094 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,098 [execute] INFO git cat-file --batch-check [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,106 [execute] INFO git cat-file --batch [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T03:20:44.516Z] 2022-10-13 03:20:44,112 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 [2022-10-13T03:20:44.516Z] 0.0.0 [Pipeline] } [2022-10-13T03:20:44.540Z] $ docker exec --env ******** --env ******** 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b ssh-agent -k [2022-10-13T03:20:44.648Z] unset SSH_AUTH_SOCK; [2022-10-13T03:20:44.648Z] unset SSH_AGENT_PID; [2022-10-13T03:20:44.649Z] echo Agent pid 75 killed; [2022-10-13T03:20:44.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T03:20:45.073Z] + git semver [Pipeline] } [2022-10-13T03:20:45.355Z] $ docker stop --time=1 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b [2022-10-13T03:20:46.668Z] $ docker rm -f 4578719d3d7a102fb151d7dac9e34c2c0883531315e60da3d48237aa9db5557b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T03:20:47.096Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-13T03:20:47.353Z] Stashed 1 file(s) [Pipeline] echo [2022-10-13T03:20:47.371Z] [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-10-13T03:20:47.941Z] provisioning config files... [2022-10-13T03:20:47.952Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config3577551534374684019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:20:48.298Z] ---> docker-login.sh [2022-10-13T03:20:48.298Z] nexus3.edgexfoundry.org:10001 [2022-10-13T03:20:48.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:48.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:48.298Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:48.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:48.298Z] [2022-10-13T03:20:48.298Z] Login Succeeded [2022-10-13T03:20:48.298Z] nexus3.edgexfoundry.org:10002 [2022-10-13T03:20:48.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:48.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:48.298Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:48.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:48.298Z] [2022-10-13T03:20:48.298Z] Login Succeeded [2022-10-13T03:20:48.298Z] nexus3.edgexfoundry.org:10003 [2022-10-13T03:20:48.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:48.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:48.557Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:48.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:48.558Z] [2022-10-13T03:20:48.558Z] Login Succeeded [2022-10-13T03:20:48.558Z] nexus3.edgexfoundry.org:10004 [2022-10-13T03:20:48.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:48.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:48.558Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:48.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:48.558Z] [2022-10-13T03:20:48.558Z] Login Succeeded [2022-10-13T03:20:48.558Z] docker.io [2022-10-13T03:20:48.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:20:49.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:20:49.078Z] Configure a credential helper to remove this warning. See [2022-10-13T03:20:49.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:20:49.078Z] [2022-10-13T03:20:49.078Z] Login Succeeded [2022-10-13T03:20:49.078Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T03:20:49.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T03:20:49.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T03:20:49.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T03:20:49.375Z] ========================================================= [2022-10-13T03:20:49.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-13T03:20:49.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:20:49.849Z] + 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-10-13T03:20:49.849Z] Sending build context to Docker daemon 10MB [2022-10-13T03:20:49.849Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T03:20:49.849Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T03:20:49.849Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-13T03:20:49.849Z] 213ec9aee27d: Pulling fs layer [2022-10-13T03:20:49.849Z] 4583459ba037: Pulling fs layer [2022-10-13T03:20:49.849Z] 93c1e223e6f2: Pulling fs layer [2022-10-13T03:20:49.849Z] 53926ce57604: Pulling fs layer [2022-10-13T03:20:49.849Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-13T03:20:49.849Z] 30f14e443154: Pulling fs layer [2022-10-13T03:20:49.849Z] 801331c1e519: Pulling fs layer [2022-10-13T03:20:49.849Z] 99cc6dd402b0: Pulling fs layer [2022-10-13T03:20:49.849Z] 7d9ed39f4882: Pulling fs layer [2022-10-13T03:20:49.849Z] 53926ce57604: Waiting [2022-10-13T03:20:49.849Z] 21b2b0c7a3f4: Waiting [2022-10-13T03:20:49.849Z] 30f14e443154: Waiting [2022-10-13T03:20:49.849Z] 801331c1e519: Waiting [2022-10-13T03:20:49.849Z] 99cc6dd402b0: Waiting [2022-10-13T03:20:49.849Z] 7d9ed39f4882: Waiting [2022-10-13T03:20:50.109Z] 93c1e223e6f2: Download complete [2022-10-13T03:20:50.109Z] 4583459ba037: Verifying Checksum [2022-10-13T03:20:50.109Z] 4583459ba037: Download complete [2022-10-13T03:20:50.109Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-13T03:20:50.109Z] 21b2b0c7a3f4: Download complete [2022-10-13T03:20:50.109Z] 30f14e443154: Verifying Checksum [2022-10-13T03:20:50.109Z] 30f14e443154: Download complete [2022-10-13T03:20:50.109Z] 213ec9aee27d: Verifying Checksum [2022-10-13T03:20:50.109Z] 213ec9aee27d: Download complete [2022-10-13T03:20:50.109Z] 801331c1e519: Verifying Checksum [2022-10-13T03:20:50.109Z] 801331c1e519: Download complete [2022-10-13T03:20:50.109Z] 213ec9aee27d: Pull complete [2022-10-13T03:20:50.371Z] 4583459ba037: Pull complete [2022-10-13T03:20:50.371Z] 93c1e223e6f2: Pull complete [2022-10-13T03:20:50.633Z] 7d9ed39f4882: Verifying Checksum [2022-10-13T03:20:50.633Z] 7d9ed39f4882: Download complete [2022-10-13T03:20:50.892Z] 99cc6dd402b0: Verifying Checksum [2022-10-13T03:20:50.892Z] 99cc6dd402b0: Download complete [2022-10-13T03:20:50.892Z] 53926ce57604: Verifying Checksum [2022-10-13T03:20:50.892Z] 53926ce57604: Download complete [2022-10-13T03:20:55.074Z] 53926ce57604: Pull complete [2022-10-13T03:20:55.074Z] 21b2b0c7a3f4: Pull complete [2022-10-13T03:20:55.074Z] 30f14e443154: Pull complete [2022-10-13T03:20:55.074Z] 801331c1e519: Pull complete [2022-10-13T03:20:56.975Z] 99cc6dd402b0: Pull complete [2022-10-13T03:20:57.908Z] 7d9ed39f4882: Pull complete [2022-10-13T03:20:57.908Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-13T03:20:57.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-13T03:20:57.908Z] ---> 1dedd983c030 [2022-10-13T03:20:57.908Z] Step 3/11 : ARG MAKE=make build [2022-10-13T03:21:02.104Z] ---> Running in 86ee70306484 [2022-10-13T03:21:02.104Z] Removing intermediate container 86ee70306484 [2022-10-13T03:21:02.104Z] ---> 43b7cb206f0c [2022-10-13T03:21:02.104Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T03:21:02.104Z] ---> Running in 26fdbdcd5e61 [2022-10-13T03:21:02.104Z] Removing intermediate container 26fdbdcd5e61 [2022-10-13T03:21:02.104Z] ---> 9737262c34a8 [2022-10-13T03:21:02.104Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T03:21:02.104Z] ---> Running in 3f509f5699cb [2022-10-13T03:21:02.104Z] Removing intermediate container 3f509f5699cb [2022-10-13T03:21:02.104Z] ---> a8b00a4b9118 [2022-10-13T03:21:02.104Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T03:21:02.104Z] ---> Running in f83dcca53b23 [2022-10-13T03:21:02.674Z] Removing intermediate container f83dcca53b23 [2022-10-13T03:21:02.674Z] ---> d37946d0f184 [2022-10-13T03:21:02.674Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T03:21:02.674Z] ---> Running in d9cd028c208c [2022-10-13T03:21:02.776Z] Still waiting to schedule task [2022-10-13T03:21:02.777Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-13T03:21:02.934Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T03:21:03.872Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T03:21:04.131Z] OK: 211 MiB in 51 packages [2022-10-13T03:21:04.390Z] Removing intermediate container d9cd028c208c [2022-10-13T03:21:04.390Z] ---> 3d959daa26ab [2022-10-13T03:21:04.390Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T03:21:04.649Z] ---> 6b2dabe83492 [2022-10-13T03:21:04.649Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T03:21:04.649Z] ---> Running in de595b1a464c [2022-10-13T03:21:26.608Z] Removing intermediate container de595b1a464c [2022-10-13T03:21:26.608Z] ---> 096855f978be [2022-10-13T03:21:26.608Z] Step 10/11 : COPY . . [2022-10-13T03:21:26.608Z] ---> 583c57f57923 [2022-10-13T03:21:26.609Z] Step 11/11 : RUN ${MAKE} [2022-10-13T03:21:26.609Z] ---> Running in bb68130a0b61 [2022-10-13T03:21:26.609Z] noop [2022-10-13T03:21:26.609Z] Removing intermediate container bb68130a0b61 [2022-10-13T03:21:26.609Z] ---> cd5dac1be53b [2022-10-13T03:21:26.609Z] Successfully built cd5dac1be53b [2022-10-13T03:21:26.609Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:21:27.050Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T03:21:27.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:21:27.197Z] prd-ubuntu20.04-docker-8c-8g-7790 does not seem to be running inside a container [2022-10-13T03:21:27.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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-10-13T03:21:27.593Z] $ docker top b28ad07a1f5b962aee109cf26e7b0452af453d675d5c7b03caf434d99339570a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T03:21:28.006Z] + go version [2022-10-13T03:21:28.006Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-13T03:21:28.053Z] $ docker stop --time=1 b28ad07a1f5b962aee109cf26e7b0452af453d675d5c7b03caf434d99339570a [2022-10-13T03:21:29.338Z] $ docker rm -f b28ad07a1f5b962aee109cf26e7b0452af453d675d5c7b03caf434d99339570a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:21:30.152Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T03:21:30.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:21:30.297Z] prd-ubuntu20.04-docker-8c-8g-7790 does not seem to be running inside a container [2022-10-13T03:21:30.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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-10-13T03:21:30.688Z] $ docker top 66087c913f8078c3cd91c6e39c2b341e40d04d4e0b568a5b791bfca17f5c2614 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T03:21:31.088Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1236 [Pipeline] fileExists [Pipeline] sh [2022-10-13T03:21:31.445Z] + make test [2022-10-13T03:21:31.445Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T03:21:38.020Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T03:21:52.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 27.6% of statements [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 60.0% of statements [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 65.1% of statements [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.745s coverage: 89.2% of statements [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T03:21:52.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-10-13T03:21:52.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T03:22:10.968Z] 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-10-13T03:22:10.968Z] GO111MODULE=on go vet ./... [2022-10-13T03:22:13.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T03:22:13.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T03:22:13.495Z] ./bin/test-attribution-txt.sh [2022-10-13T03:22:13.495Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T03:22:13.496Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T03:22:13.496Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T03:22:13.496Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T03:22:13.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T03:22:13.566Z] $ docker stop --time=1 66087c913f8078c3cd91c6e39c2b341e40d04d4e0b568a5b791bfca17f5c2614 [2022-10-13T03:22:17.301Z] $ docker rm -f 66087c913f8078c3cd91c6e39c2b341e40d04d4e0b568a5b791bfca17f5c2614 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T03:22:17.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T03:22:17.937Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-13T03:22:18.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T03:22:18.901Z] + ls -al . [2022-10-13T03:22:18.902Z] total 276 [2022-10-13T03:22:18.902Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 03:21 . [2022-10-13T03:22:18.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:20 .. [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 03:20 .dockerignore [2022-10-13T03:22:18.902Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:21 .git [2022-10-13T03:22:18.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:20 .github [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 03:20 .gitignore [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 03:20 .golangci.yml [2022-10-13T03:22:18.902Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:20 .semver [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 03:20 CHANGELOG.md [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:20 GOVERNANCE.md [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 03:20 Jenkinsfile [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 03:20 LICENSE [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 03:20 Makefile [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 03:20 OWNERS.md [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 03:20 README.md [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 03:20 VERSION [2022-10-13T03:22:18.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:20 bin [2022-10-13T03:22:18.902Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 03:21 coverage.out [2022-10-13T03:22:18.902Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 03:20 example [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 03:20 go.mod [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 03:20 go.sum [2022-10-13T03:22:18.902Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 03:20 internal [2022-10-13T03:22:18.902Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:20 openapi [2022-10-13T03:22:18.902Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 03:20 pkg [2022-10-13T03:22:18.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:20 snap [2022-10-13T03:22:18.902Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 03:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:22:19.279Z] + 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=ad57e9545f0400bbf82677090cd003fd0fb66bd3 --label arch=amd64 --label version=0.0.0 . [2022-10-13T03:22:19.280Z] Sending build context to Docker daemon 10.11MB [2022-10-13T03:22:19.280Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T03:22:19.280Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T03:22:19.280Z] ---> cd5dac1be53b [2022-10-13T03:22:19.280Z] Step 3/25 : ARG MAKE=make build [2022-10-13T03:22:19.540Z] ---> Running in 3f1308ef50a2 [2022-10-13T03:22:19.540Z] Removing intermediate container 3f1308ef50a2 [2022-10-13T03:22:19.540Z] ---> 9945514744d2 [2022-10-13T03:22:19.540Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T03:22:19.540Z] ---> Running in a39480c5f327 [2022-10-13T03:22:19.540Z] Removing intermediate container a39480c5f327 [2022-10-13T03:22:19.540Z] ---> 81116998233b [2022-10-13T03:22:19.540Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T03:22:19.540Z] ---> Running in 8bbb18d97581 [2022-10-13T03:22:19.800Z] Removing intermediate container 8bbb18d97581 [2022-10-13T03:22:19.800Z] ---> e8c0e6bafced [2022-10-13T03:22:19.800Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T03:22:19.800Z] ---> Running in 6b4e6cfb6734 [2022-10-13T03:22:20.368Z] Removing intermediate container 6b4e6cfb6734 [2022-10-13T03:22:20.368Z] ---> c4624c1a8808 [2022-10-13T03:22:20.368Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T03:22:20.368Z] ---> Running in bf485c1cf8d4 [2022-10-13T03:22:20.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T03:22:21.565Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T03:22:21.824Z] OK: 211 MiB in 51 packages [2022-10-13T03:22:22.082Z] Removing intermediate container bf485c1cf8d4 [2022-10-13T03:22:22.082Z] ---> 4b9be7b6d5f6 [2022-10-13T03:22:22.082Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T03:22:22.343Z] ---> bd801c5fd9f0 [2022-10-13T03:22:22.343Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T03:22:22.343Z] ---> Running in 60e1b3edd82e [2022-10-13T03:22:22.909Z] Removing intermediate container 60e1b3edd82e [2022-10-13T03:22:22.909Z] ---> 592cf2b49803 [2022-10-13T03:22:22.909Z] Step 10/25 : COPY . . [2022-10-13T03:22:23.477Z] ---> 7f185e9fa52e [2022-10-13T03:22:23.477Z] Step 11/25 : RUN ${MAKE} [2022-10-13T03:22:23.477Z] ---> Running in f46cade14afd [2022-10-13T03:22:23.737Z] 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-10-13T03:22:33.539Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7791 in /w/workspace/gexfoundry_device-sdk-go_PR-1236 [Pipeline] { [Pipeline] ws [2022-10-13T03:22:33.577Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-13T03:22:33.650Z] The recommended git tool is: git [2022-10-13T03:22:38.611Z] using credential edgex-jenkins-ssh [2022-10-13T03:22:38.635Z] Cloning the remote Git repository [2022-10-13T03:22:38.669Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T03:22:38.737Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-13T03:22:38.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T03:22:38.861Z] > git --version # timeout=10 [2022-10-13T03:22:38.878Z] > git --version # 'git version 2.25.1' [2022-10-13T03:22:38.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T03:22:38.925Z] Verifying host key using known hosts file [2022-10-13T03:22:39.113Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T03:22:39.125Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T03:22:40.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T03:22:40.663Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T03:22:41.821Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T03:22:42.189Z] Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit ad57e9545f0400bbf82677090cd003fd0fb66bd3 [2022-10-13T03:22:41.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T03:22:41.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T03:22:41.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T03:22:41.501Z] Verifying host key using known hosts file [2022-10-13T03:22:41.507Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T03:22:41.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1236/head:refs/remotes/origin/PR-1236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-13T03:22:42.203Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T03:22:42.222Z] > git checkout -f ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 [2022-10-13T03:22:42.328Z] > git remote # timeout=10 [2022-10-13T03:22:42.444Z] Merge succeeded, producing ad57e9545f0400bbf82677090cd003fd0fb66bd3 [2022-10-13T03:22:42.445Z] Checking out Revision ad57e9545f0400bbf82677090cd003fd0fb66bd3 (PR-1236) [2022-10-13T03:22:42.349Z] > git config --get remote.origin.url # timeout=10 [2022-10-13T03:22:42.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T03:22:42.378Z] Verifying host key using known hosts file [2022-10-13T03:22:42.385Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T03:22:42.395Z] > git merge 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 [2022-10-13T03:22:42.422Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-13T03:22:42.447Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T03:22:42.463Z] > git checkout -f ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 [2022-10-13T03:22:45.128Z] Removing intermediate container f46cade14afd [2022-10-13T03:22:45.128Z] ---> 005489ecd0db [2022-10-13T03:22:45.128Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T03:22:45.697Z] 3.16: Pulling from library/alpine [2022-10-13T03:22:45.697Z] 213ec9aee27d: Already exists [2022-10-13T03:22:45.945Z] Commit message: "fix: publish envelope with empty payload when ds-returnevent=no" [2022-10-13T03:22:45.958Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T03:22:45.958Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T03:22:45.958Z] ---> 9c6f07244728 [2022-10-13T03:22:45.958Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T03:22:45.958Z] ---> Running in cbfb666562a7 [2022-10-13T03:22:45.958Z] Removing intermediate container cbfb666562a7 [2022-10-13T03:22:45.958Z] ---> d67f8bd07ee2 [2022-10-13T03:22:45.958Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T03:22:45.988Z] > git --version # timeout=10 [2022-10-13T03:22:46.001Z] > git --version # 'git version 2.25.1' [2022-10-13T03:22:46.011Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T03:22:46.217Z] ---> Running in 24c6d50a0bed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T03:22:46.787Z] Removing intermediate container 24c6d50a0bed [2022-10-13T03:22:46.787Z] ---> 73144a89b185 [2022-10-13T03:22:46.787Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T03:22:46.787Z] ---> Running in d2c8a8d44214 [2022-10-13T03:22:47.046Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T03:22:47.059Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-13T03:22:47.060Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T03:22:47.060Z] Dload Upload Total Spent Left Speed [2022-10-13T03:22:47.060Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 51020 0 --:--:-- --:--:-- --:--:-- 50814 [Pipeline] sh [2022-10-13T03:22:47.734Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-13T03:22:47.984Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T03:22:48.077Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-13T03:22:48.077Z] + sudo tee /etc/docker/daemon.new [2022-10-13T03:22:48.077Z] { [2022-10-13T03:22:48.077Z] "registry-mirrors": [ [2022-10-13T03:22:48.077Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-13T03:22:48.077Z] ], [2022-10-13T03:22:48.077Z] "bip": "10.250.0.254/24", [2022-10-13T03:22:48.077Z] "hosts": [ [2022-10-13T03:22:48.077Z] "tcp://0.0.0.0:5555", [2022-10-13T03:22:48.077Z] "unix:///var/run/docker.sock" [2022-10-13T03:22:48.077Z] ], [2022-10-13T03:22:48.077Z] "mtu": 1458, [2022-10-13T03:22:48.077Z] "selinux-enabled": true, [2022-10-13T03:22:48.077Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-13T03:22:48.077Z] } [Pipeline] sh [2022-10-13T03:22:48.243Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T03:22:48.243Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T03:22:48.243Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T03:22:48.422Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-13T03:22:48.502Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T03:22:48.502Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T03:22:48.502Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T03:22:48.502Z] OK: 8 MiB in 19 packages [2022-10-13T03:22:48.760Z] + sudo service docker restart [2022-10-13T03:22:49.438Z] Removing intermediate container d2c8a8d44214 [2022-10-13T03:22:49.439Z] ---> 4d9e748fc9e7 [2022-10-13T03:22:49.439Z] Step 16/25 : WORKDIR / [2022-10-13T03:22:49.439Z] ---> Running in 5f037c618d51 [2022-10-13T03:22:49.439Z] Removing intermediate container 5f037c618d51 [2022-10-13T03:22:49.439Z] ---> 0dc640be7a0d [2022-10-13T03:22:49.439Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T03:22:49.439Z] ---> d486efb05b84 [2022-10-13T03:22:49.439Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T03:22:50.389Z] ---> 1b9fb73d1f1e [2022-10-13T03:22:50.389Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T03:22:50.389Z] ---> f6bd8d8b9479 [2022-10-13T03:22:50.389Z] Step 20/25 : EXPOSE 59999 [2022-10-13T03:22:50.389Z] ---> Running in 5c3bc9c68dd4 [2022-10-13T03:22:50.389Z] Removing intermediate container 5c3bc9c68dd4 [2022-10-13T03:22:50.389Z] ---> b6e298939d5e [2022-10-13T03:22:50.389Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T03:22:50.652Z] ---> Running in 0e984b1861f3 [2022-10-13T03:22:50.652Z] Removing intermediate container 0e984b1861f3 [2022-10-13T03:22:50.652Z] ---> 55c471b69a1d [2022-10-13T03:22:50.652Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T03:22:50.652Z] ---> Running in f9638758fc5a [2022-10-13T03:22:50.652Z] Removing intermediate container f9638758fc5a [2022-10-13T03:22:50.652Z] ---> eab6b79ef2c9 [2022-10-13T03:22:50.652Z] Step 23/25 : LABEL arch=amd64 [2022-10-13T03:22:50.652Z] ---> Running in ecae42c4ae0a [2022-10-13T03:22:50.911Z] Removing intermediate container ecae42c4ae0a [2022-10-13T03:22:50.911Z] ---> 0c8793a942c9 [2022-10-13T03:22:50.911Z] Step 24/25 : LABEL git_sha=ad57e9545f0400bbf82677090cd003fd0fb66bd3 [2022-10-13T03:22:50.911Z] ---> Running in c573edfa9ee6 [2022-10-13T03:22:50.911Z] Removing intermediate container c573edfa9ee6 [2022-10-13T03:22:50.911Z] ---> 24830ac23c09 [2022-10-13T03:22:50.911Z] Step 25/25 : LABEL version=0.0.0 [2022-10-13T03:22:50.911Z] ---> Running in 314c31f8161b [2022-10-13T03:22:50.911Z] Removing intermediate container 314c31f8161b [2022-10-13T03:22:50.911Z] ---> 3056184799a1 [2022-10-13T03:22:50.911Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T03:22:50.911Z] Successfully built 3056184799a1 [2022-10-13T03:22:50.911Z] 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-10-13T03:22:51.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T03:22:51.774Z] [2022-10-13T03:22:51.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:22:52.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T03:22:52.154Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-13T03:22:52.154Z] 5eb5b503b376: Pulling fs layer [2022-10-13T03:22:52.154Z] 5c69ac0246d0: Pulling fs layer [2022-10-13T03:22:52.154Z] ec43610c2a17: Pulling fs layer [2022-10-13T03:22:52.154Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-13T03:22:52.154Z] 33b1e0a273af: Pulling fs layer [2022-10-13T03:22:52.154Z] 5d3b04190fa2: Pulling fs layer [2022-10-13T03:22:52.154Z] 2f39f015ded8: Pulling fs layer [2022-10-13T03:22:52.154Z] 3a2ae6a8a46f: Waiting [2022-10-13T03:22:52.154Z] 33b1e0a273af: Waiting [2022-10-13T03:22:52.154Z] 2f39f015ded8: Waiting [2022-10-13T03:22:52.154Z] 5d3b04190fa2: Waiting [2022-10-13T03:22:52.154Z] 5c69ac0246d0: Verifying Checksum [2022-10-13T03:22:52.154Z] 5c69ac0246d0: Download complete [2022-10-13T03:22:52.154Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-13T03:22:52.154Z] 3a2ae6a8a46f: Download complete [2022-10-13T03:22:52.412Z] 33b1e0a273af: Verifying Checksum [2022-10-13T03:22:52.412Z] 33b1e0a273af: Download complete [2022-10-13T03:22:52.412Z] 5d3b04190fa2: Download complete [2022-10-13T03:22:52.412Z] ec43610c2a17: Verifying Checksum [2022-10-13T03:22:52.412Z] ec43610c2a17: Download complete [2022-10-13T03:22:52.412Z] 5eb5b503b376: Verifying Checksum [2022-10-13T03:22:52.412Z] 5eb5b503b376: Download complete [2022-10-13T03:22:52.977Z] 2f39f015ded8: Download complete [2022-10-13T03:22:53.918Z] 5eb5b503b376: Pull complete [2022-10-13T03:22:53.918Z] 5c69ac0246d0: Pull complete [2022-10-13T03:22:54.175Z] ec43610c2a17: Pull complete [2022-10-13T03:22:54.433Z] 3a2ae6a8a46f: Pull complete [2022-10-13T03:22:54.433Z] 33b1e0a273af: Pull complete [2022-10-13T03:22:54.691Z] 5d3b04190fa2: Pull complete [2022-10-13T03:23:00.000Z] 2f39f015ded8: Pull complete [2022-10-13T03:23:00.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-13T03:23:00.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T03:23:00.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:23:00.221Z] prd-ubuntu20.04-docker-8c-8g-7790 does not seem to be running inside a container [2022-10-13T03:23:00.266Z] $ 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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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-10-13T03:23:03.566Z] $ docker top 8d4880814ff5ad2de325538b031430a0a633a36bffa424a502b2d180935758ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:23:04.044Z] ---> job-cost.sh [2022-10-13T03:23:04.044Z] lf-activate-venv: SKIPPING [2022-10-13T03:23:04.044Z] INFO: No Stack... [2022-10-13T03:23:04.303Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T03:23:04.575Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T03:23:04.896Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/cost.csv [2022-10-13T03:23:04.896Z] + cut -d, -f6 [Pipeline] lock [2022-10-13T03:23:04.935Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] [2022-10-13T03:23:04.940Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] did not exist. Created. [2022-10-13T03:23:04.940Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T03:23:05.348Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-13T03:23:05.404Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T03:23:05.432Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T03:23:05.521Z] $ docker stop --time=1 8d4880814ff5ad2de325538b031430a0a633a36bffa424a502b2d180935758ea [2022-10-13T03:23:06.702Z] $ docker rm -f 8d4880814ff5ad2de325538b031430a0a633a36bffa424a502b2d180935758ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T03:23:07.135Z] provisioning config files... [2022-10-13T03:23:07.161Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3660708126677387718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:23:07.538Z] ---> docker-login.sh [2022-10-13T03:23:07.538Z] nexus3.edgexfoundry.org:10001 [2022-10-13T03:23:07.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:23:08.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:23:08.079Z] Configure a credential helper to remove this warning. See [2022-10-13T03:23:08.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:23:08.079Z] [2022-10-13T03:23:08.079Z] Login Succeeded [2022-10-13T03:23:08.079Z] nexus3.edgexfoundry.org:10002 [2022-10-13T03:23:08.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:23:08.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:23:08.350Z] Configure a credential helper to remove this warning. See [2022-10-13T03:23:08.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:23:08.350Z] [2022-10-13T03:23:08.350Z] Login Succeeded [2022-10-13T03:23:08.350Z] nexus3.edgexfoundry.org:10003 [2022-10-13T03:23:08.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:23:08.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:23:08.889Z] Configure a credential helper to remove this warning. See [2022-10-13T03:23:08.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:23:08.889Z] [2022-10-13T03:23:08.889Z] Login Succeeded [2022-10-13T03:23:08.889Z] nexus3.edgexfoundry.org:10004 [2022-10-13T03:23:09.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:23:09.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:23:09.167Z] Configure a credential helper to remove this warning. See [2022-10-13T03:23:09.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:23:09.167Z] [2022-10-13T03:23:09.167Z] Login Succeeded [2022-10-13T03:23:09.167Z] docker.io [2022-10-13T03:23:09.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T03:23:09.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T03:23:09.699Z] Configure a credential helper to remove this warning. See [2022-10-13T03:23:09.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T03:23:09.700Z] [2022-10-13T03:23:09.700Z] Login Succeeded [2022-10-13T03:23:09.700Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T03:23:09.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T03:23:10.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T03:23:10.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T03:23:10.103Z] ========================================================= [2022-10-13T03:23:10.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-13T03:23:10.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:23:10.595Z] + 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-10-13T03:23:10.865Z] Sending build context to Docker daemon 5.381MB [2022-10-13T03:23:10.865Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T03:23:10.865Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T03:23:11.135Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-13T03:23:11.135Z] 9b18e9b68314: Pulling fs layer [2022-10-13T03:23:11.135Z] d32db5db7311: Pulling fs layer [2022-10-13T03:23:11.135Z] d0c4b47475fc: Pulling fs layer [2022-10-13T03:23:11.135Z] 5831b945b038: Pulling fs layer [2022-10-13T03:23:11.135Z] 86bbec2aaacd: Pulling fs layer [2022-10-13T03:23:11.135Z] e10730c5d714: Pulling fs layer [2022-10-13T03:23:11.135Z] 5dd5c2283517: Pulling fs layer [2022-10-13T03:23:11.135Z] d5ac0230b979: Pulling fs layer [2022-10-13T03:23:11.135Z] 5831b945b038: Waiting [2022-10-13T03:23:11.135Z] 86bbec2aaacd: Waiting [2022-10-13T03:23:11.135Z] e10730c5d714: Waiting [2022-10-13T03:23:11.135Z] 5dd5c2283517: Waiting [2022-10-13T03:23:11.135Z] d5ac0230b979: Waiting [2022-10-13T03:23:11.135Z] d0c4b47475fc: Verifying Checksum [2022-10-13T03:23:11.135Z] d0c4b47475fc: Download complete [2022-10-13T03:23:11.135Z] d32db5db7311: Verifying Checksum [2022-10-13T03:23:11.135Z] d32db5db7311: Download complete [2022-10-13T03:23:11.135Z] 86bbec2aaacd: Verifying Checksum [2022-10-13T03:23:11.135Z] 86bbec2aaacd: Download complete [2022-10-13T03:23:11.135Z] e10730c5d714: Verifying Checksum [2022-10-13T03:23:11.135Z] e10730c5d714: Download complete [2022-10-13T03:23:11.135Z] 9b18e9b68314: Verifying Checksum [2022-10-13T03:23:11.135Z] 9b18e9b68314: Download complete [2022-10-13T03:23:12.131Z] d5ac0230b979: Verifying Checksum [2022-10-13T03:23:12.131Z] d5ac0230b979: Download complete [2022-10-13T03:23:12.719Z] 9b18e9b68314: Pull complete [2022-10-13T03:23:13.308Z] d32db5db7311: Pull complete [2022-10-13T03:23:13.308Z] 5dd5c2283517: Verifying Checksum [2022-10-13T03:23:13.308Z] 5dd5c2283517: Download complete [2022-10-13T03:23:13.577Z] d0c4b47475fc: Pull complete [2022-10-13T03:23:14.166Z] 5831b945b038: Download complete [2022-10-13T03:23:26.486Z] 5831b945b038: Pull complete [2022-10-13T03:23:26.486Z] 86bbec2aaacd: Pull complete [2022-10-13T03:23:26.486Z] e10730c5d714: Pull complete [2022-10-13T03:23:31.844Z] 5dd5c2283517: Pull complete [2022-10-13T03:23:33.268Z] d5ac0230b979: Pull complete [2022-10-13T03:23:33.536Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-13T03:23:33.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-13T03:23:33.536Z] ---> 59b3b1a385d4 [2022-10-13T03:23:33.536Z] Step 3/11 : ARG MAKE=make build [2022-10-13T03:23:35.488Z] ---> Running in c7b04b42f7c4 [2022-10-13T03:23:35.488Z] Removing intermediate container c7b04b42f7c4 [2022-10-13T03:23:35.488Z] ---> ef23c663791b [2022-10-13T03:23:35.488Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T03:23:35.488Z] ---> Running in fc9607612082 [2022-10-13T03:23:35.755Z] Removing intermediate container fc9607612082 [2022-10-13T03:23:35.755Z] ---> 7f3da765cb53 [2022-10-13T03:23:35.755Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T03:23:36.022Z] ---> Running in 8fc69ac36095 [2022-10-13T03:23:36.289Z] Removing intermediate container 8fc69ac36095 [2022-10-13T03:23:36.289Z] ---> 4c7051763ec5 [2022-10-13T03:23:36.289Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T03:23:36.289Z] ---> Running in 05d5db93eb5e [2022-10-13T03:23:38.246Z] Removing intermediate container 05d5db93eb5e [2022-10-13T03:23:38.246Z] ---> ce4c1ddb213e [2022-10-13T03:23:38.246Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T03:23:38.246Z] ---> Running in 7fef660ee883 [2022-10-13T03:23:39.207Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T03:23:39.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T03:23:40.749Z] OK: 221 MiB in 51 packages [2022-10-13T03:23:41.721Z] Removing intermediate container 7fef660ee883 [2022-10-13T03:23:41.721Z] ---> 01e4421b7294 [2022-10-13T03:23:41.721Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T03:23:41.989Z] ---> 62b080708249 [2022-10-13T03:23:41.989Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T03:23:41.989Z] ---> Running in 2c33b3299342 [2022-10-13T03:24:28.849Z] Removing intermediate container 2c33b3299342 [2022-10-13T03:24:28.849Z] ---> cf30369a95d3 [2022-10-13T03:24:28.849Z] Step 10/11 : COPY . . [2022-10-13T03:24:29.434Z] ---> 4d78d4a07338 [2022-10-13T03:24:29.434Z] Step 11/11 : RUN ${MAKE} [2022-10-13T03:24:29.703Z] ---> Running in f4905e2ae180 [2022-10-13T03:24:30.665Z] noop [2022-10-13T03:24:31.249Z] Removing intermediate container f4905e2ae180 [2022-10-13T03:24:31.250Z] ---> f86adc3e9525 [2022-10-13T03:24:31.250Z] Successfully built f86adc3e9525 [2022-10-13T03:24:31.250Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:24:31.726Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T03:24:31.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:24:31.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-7791 does not seem to be running inside a container [2022-10-13T03:24:32.062Z] $ 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-10-13T03:24:33.210Z] $ docker top 2c8c408bff9044ca94dced92166d3c441ad1241971574eab56b82527db042b44 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T03:24:34.080Z] + go version [2022-10-13T03:24:34.080Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-13T03:24:34.118Z] $ docker stop --time=1 2c8c408bff9044ca94dced92166d3c441ad1241971574eab56b82527db042b44 [2022-10-13T03:24:35.744Z] $ docker rm -f 2c8c408bff9044ca94dced92166d3c441ad1241971574eab56b82527db042b44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:24:36.579Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T03:24:36.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:24:36.845Z] prd-ubuntu20.04-docker-arm64-4c-16g-7791 does not seem to be running inside a container [2022-10-13T03:24:36.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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-10-13T03:24:38.077Z] $ docker top 9848c9a25421a20a7dd86de64e039445ea460881caf8188353c784c366a31254 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T03:24:38.635Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-13T03:24:39.024Z] + make test [2022-10-13T03:24:39.024Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T03:25:11.256Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T03:27:02.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T03:27:02.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T03:27:02.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T03:27:02.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T03:27:02.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T03:27:02.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.401s coverage: 27.6% of statements [2022-10-13T03:27:02.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.386s coverage: 78.9% of statements [2022-10-13T03:27:02.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T03:27:06.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.604s coverage: 60.0% of statements [2022-10-13T03:27:06.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T03:27:06.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T03:27:08.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.710s coverage: 54.4% of statements [2022-10-13T03:27:08.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T03:27:08.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T03:27:08.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T03:27:08.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T03:27:12.176Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.497s coverage: 65.1% of statements [2022-10-13T03:27:12.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T03:27:12.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T03:27:12.176Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.974s coverage: 89.2% of statements [2022-10-13T03:27:12.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T03:27:14.770Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.289s coverage: 4.7% of statements [2022-10-13T03:27:14.770Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T03:27:15.730Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-13T03:27:15.730Z] GO111MODULE=on go vet ./... [2022-10-13T03:29:07.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T03:29:07.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T03:29:07.387Z] ./bin/test-attribution-txt.sh [2022-10-13T03:29:07.387Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T03:29:07.387Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T03:29:07.387Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T03:29:07.387Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T03:29:07.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T03:29:07.471Z] $ docker stop --time=1 9848c9a25421a20a7dd86de64e039445ea460881caf8188353c784c366a31254 [2022-10-13T03:29:09.198Z] $ docker rm -f 9848c9a25421a20a7dd86de64e039445ea460881caf8188353c784c366a31254 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T03:29:10.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T03:29:10.561Z] Warning: overwriting stash ‘coverage-report’ [2022-10-13T03:29:11.175Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T03:29:11.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T03:29:12.152Z] + ls -al . [2022-10-13T03:29:12.152Z] total 272 [2022-10-13T03:29:12.152Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 03:24 . [2022-10-13T03:29:12.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:22 .. [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 03:22 .dockerignore [2022-10-13T03:29:12.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:22 .git [2022-10-13T03:29:12.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:22 .github [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 03:22 .gitignore [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 03:22 .golangci.yml [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 03:22 CHANGELOG.md [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:22 GOVERNANCE.md [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 03:22 Jenkinsfile [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 03:22 LICENSE [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 03:22 Makefile [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 03:22 OWNERS.md [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 03:22 README.md [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 03:20 VERSION [2022-10-13T03:29:12.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:22 bin [2022-10-13T03:29:12.152Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 03:27 coverage.out [2022-10-13T03:29:12.152Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 03:22 example [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 03:22 go.mod [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 03:22 go.sum [2022-10-13T03:29:12.152Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 03:22 internal [2022-10-13T03:29:12.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:22 openapi [2022-10-13T03:29:12.152Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 03:22 pkg [2022-10-13T03:29:12.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:22 snap [2022-10-13T03:29:12.152Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:29:12.602Z] + 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=ad57e9545f0400bbf82677090cd003fd0fb66bd3 --label arch=arm64 --label version=0.0.0 . [2022-10-13T03:29:12.877Z] Sending build context to Docker daemon 5.483MB [2022-10-13T03:29:13.156Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T03:29:13.156Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T03:29:13.156Z] ---> f86adc3e9525 [2022-10-13T03:29:13.156Z] Step 3/25 : ARG MAKE=make build [2022-10-13T03:29:13.156Z] ---> Running in 65c46ba64e22 [2022-10-13T03:29:13.433Z] Removing intermediate container 65c46ba64e22 [2022-10-13T03:29:13.433Z] ---> 3601e69161b3 [2022-10-13T03:29:13.433Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T03:29:13.704Z] ---> Running in 5ce395cf1525 [2022-10-13T03:29:13.973Z] Removing intermediate container 5ce395cf1525 [2022-10-13T03:29:13.973Z] ---> fb975d962b87 [2022-10-13T03:29:13.973Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T03:29:13.973Z] ---> Running in 7c0766bb3803 [2022-10-13T03:29:14.244Z] Removing intermediate container 7c0766bb3803 [2022-10-13T03:29:14.244Z] ---> 481e5c0a96ad [2022-10-13T03:29:14.244Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T03:29:14.244Z] ---> Running in 367e40503bc9 [2022-10-13T03:29:16.207Z] Removing intermediate container 367e40503bc9 [2022-10-13T03:29:16.207Z] ---> cd0236d45c1b [2022-10-13T03:29:16.207Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T03:29:16.207Z] ---> Running in 495408ffd4b0 [2022-10-13T03:29:17.171Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T03:29:17.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T03:29:18.709Z] OK: 221 MiB in 51 packages [2022-10-13T03:29:19.672Z] Removing intermediate container 495408ffd4b0 [2022-10-13T03:29:19.672Z] ---> 2cbbf5b12bc5 [2022-10-13T03:29:19.672Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T03:29:20.259Z] ---> 60c4d1076aea [2022-10-13T03:29:20.259Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T03:29:20.259Z] ---> Running in d66964726f6c [2022-10-13T03:29:22.201Z] Removing intermediate container d66964726f6c [2022-10-13T03:29:22.201Z] ---> e33b15548325 [2022-10-13T03:29:22.201Z] Step 10/25 : COPY . . [2022-10-13T03:29:23.165Z] ---> a0cf9e0646a6 [2022-10-13T03:29:23.165Z] Step 11/25 : RUN ${MAKE} [2022-10-13T03:29:23.165Z] ---> Running in 9e4b2377a94c [2022-10-13T03:29:24.125Z] 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-10-13T03:31:30.784Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T03:31:30.784Z] Removing intermediate container 9e4b2377a94c [2022-10-13T03:31:30.784Z] ---> ac2f5eb2b4e2 [2022-10-13T03:31:30.784Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T03:31:30.784Z] 3.16: Pulling from library/alpine [2022-10-13T03:31:30.784Z] 9b18e9b68314: Already exists [2022-10-13T03:31:30.784Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T03:31:30.784Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T03:31:30.784Z] ---> a6215f271958 [2022-10-13T03:31:30.784Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T03:31:30.784Z] ---> Running in 3e00ea4db554 [2022-10-13T03:31:30.784Z] Removing intermediate container 3e00ea4db554 [2022-10-13T03:31:30.784Z] ---> 699e87542bd5 [2022-10-13T03:31:30.784Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T03:31:30.784Z] ---> Running in f1a8c1670633 [2022-10-13T03:31:32.195Z] Removing intermediate container f1a8c1670633 [2022-10-13T03:31:32.195Z] ---> e297817f053b [2022-10-13T03:31:32.195Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T03:31:32.195Z] ---> Running in 48d39e847f3e [2022-10-13T03:31:33.152Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T03:31:34.109Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T03:31:35.066Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T03:31:35.066Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T03:31:35.066Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T03:31:35.332Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T03:31:35.599Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T03:31:35.599Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T03:31:35.599Z] OK: 8 MiB in 19 packages [2022-10-13T03:31:36.557Z] Removing intermediate container 48d39e847f3e [2022-10-13T03:31:36.557Z] ---> a42f1ea9d82b [2022-10-13T03:31:36.557Z] Step 16/25 : WORKDIR / [2022-10-13T03:31:36.557Z] ---> Running in ba4bc11f520c [2022-10-13T03:31:36.827Z] Removing intermediate container ba4bc11f520c [2022-10-13T03:31:36.827Z] ---> b3e935049979 [2022-10-13T03:31:36.827Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T03:31:37.408Z] ---> 877b56b4f89f [2022-10-13T03:31:37.408Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T03:31:38.810Z] ---> c3fd8ed14572 [2022-10-13T03:31:38.810Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T03:31:39.077Z] ---> 5a52e0d0598d [2022-10-13T03:31:39.077Z] Step 20/25 : EXPOSE 59999 [2022-10-13T03:31:39.346Z] ---> Running in 0b3ebebcae4d [2022-10-13T03:31:39.611Z] Removing intermediate container 0b3ebebcae4d [2022-10-13T03:31:39.611Z] ---> d0dc08c825c2 [2022-10-13T03:31:39.611Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T03:31:39.611Z] ---> Running in a1500b57d04c [2022-10-13T03:31:39.877Z] Removing intermediate container a1500b57d04c [2022-10-13T03:31:39.877Z] ---> 7f2ca7ddbab9 [2022-10-13T03:31:39.877Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T03:31:39.877Z] ---> Running in 38c5864306a1 [2022-10-13T03:31:40.143Z] Removing intermediate container 38c5864306a1 [2022-10-13T03:31:40.143Z] ---> 7d4c5b5dad1c [2022-10-13T03:31:40.143Z] Step 23/25 : LABEL arch=arm64 [2022-10-13T03:31:40.411Z] ---> Running in 35ae8e093bb7 [2022-10-13T03:31:40.680Z] Removing intermediate container 35ae8e093bb7 [2022-10-13T03:31:40.680Z] ---> c27aac3f726f [2022-10-13T03:31:40.680Z] Step 24/25 : LABEL git_sha=ad57e9545f0400bbf82677090cd003fd0fb66bd3 [2022-10-13T03:31:40.680Z] ---> Running in 04b43d6e5073 [2022-10-13T03:31:40.946Z] Removing intermediate container 04b43d6e5073 [2022-10-13T03:31:40.946Z] ---> 45a1052c91db [2022-10-13T03:31:40.946Z] Step 25/25 : LABEL version=0.0.0 [2022-10-13T03:31:40.946Z] ---> Running in 69e87aeed102 [2022-10-13T03:31:41.211Z] Removing intermediate container 69e87aeed102 [2022-10-13T03:31:41.211Z] ---> f63898779531 [2022-10-13T03:31:41.211Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T03:31:41.211Z] Successfully built f63898779531 [2022-10-13T03:31: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-10-13T03:31:41.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T03:31:41.996Z] [2022-10-13T03:31:41.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:31:42.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T03:31:42.392Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-13T03:31:42.392Z] 8998bd30e6a1: Pulling fs layer [2022-10-13T03:31:42.392Z] 04944245beec: Pulling fs layer [2022-10-13T03:31:42.392Z] 699f458cf7ca: Pulling fs layer [2022-10-13T03:31:42.392Z] 765212b225bb: Pulling fs layer [2022-10-13T03:31:42.392Z] f23df028b6ca: Pulling fs layer [2022-10-13T03:31:42.392Z] d65c8cfc05b1: Pulling fs layer [2022-10-13T03:31:42.392Z] 2437ff75d9bd: Pulling fs layer [2022-10-13T03:31:42.392Z] f23df028b6ca: Waiting [2022-10-13T03:31:42.392Z] d65c8cfc05b1: Waiting [2022-10-13T03:31:42.392Z] 2437ff75d9bd: Waiting [2022-10-13T03:31:42.392Z] 765212b225bb: Waiting [2022-10-13T03:31:42.663Z] 04944245beec: Verifying Checksum [2022-10-13T03:31:42.663Z] 04944245beec: Download complete [2022-10-13T03:31:42.663Z] 765212b225bb: Verifying Checksum [2022-10-13T03:31:42.663Z] 765212b225bb: Download complete [2022-10-13T03:31:42.663Z] f23df028b6ca: Verifying Checksum [2022-10-13T03:31:42.663Z] f23df028b6ca: Download complete [2022-10-13T03:31:42.663Z] d65c8cfc05b1: Verifying Checksum [2022-10-13T03:31:42.663Z] d65c8cfc05b1: Download complete [2022-10-13T03:31:42.663Z] 699f458cf7ca: Verifying Checksum [2022-10-13T03:31:42.663Z] 699f458cf7ca: Download complete [2022-10-13T03:31:43.248Z] 8998bd30e6a1: Download complete [2022-10-13T03:31:45.192Z] 2437ff75d9bd: Verifying Checksum [2022-10-13T03:31:45.192Z] 2437ff75d9bd: Download complete [2022-10-13T03:31:47.133Z] 8998bd30e6a1: Pull complete [2022-10-13T03:31:47.400Z] 04944245beec: Pull complete [2022-10-13T03:31:48.810Z] 699f458cf7ca: Pull complete [2022-10-13T03:31:48.810Z] 765212b225bb: Pull complete [2022-10-13T03:31:49.768Z] f23df028b6ca: Pull complete [2022-10-13T03:31:49.768Z] d65c8cfc05b1: Pull complete [2022-10-13T03:32:04.756Z] 2437ff75d9bd: Pull complete [2022-10-13T03:32:04.756Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-13T03:32:04.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T03:32:04.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:32:05.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-7791 does not seem to be running inside a container [2022-10-13T03:32:05.127Z] $ 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-10-13T03:32:07.829Z] $ docker top 4529d889b5b835caf516324634c5923e25727cfbda000c4d9ec54febb30f54c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:08.382Z] ---> job-cost.sh [2022-10-13T03:32:08.647Z] lf-activate-venv: SKIPPING [2022-10-13T03:32:08.647Z] INFO: No Stack... [2022-10-13T03:32:09.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-13T03:32:09.803Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T03:32:10.138Z] + cut -d, -f6 [2022-10-13T03:32:10.138Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-10-13T03:32:10.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] [2022-10-13T03:32:10.497Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] did not exist. Created. [2022-10-13T03:32:10.498Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T03:32:11.221Z] /w/workspace/device-sdk-go/1@tmp/durable-acad67d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-13T03:32:11.886Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-13T03:32:11.928Z] Warning: overwriting stash ‘stack-cost’ [2022-10-13T03:32:11.982Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T03:32:12.002Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T03:32:12.094Z] $ docker stop --time=1 4529d889b5b835caf516324634c5923e25727cfbda000c4d9ec54febb30f54c4 [2022-10-13T03:32:15.207Z] $ docker rm -f 4529d889b5b835caf516324634c5923e25727cfbda000c4d9ec54febb30f54c4 [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-10-13T03:32:16.283Z] provisioning config files... [2022-10-13T03:32:16.292Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config13369659667940294413tmp [Pipeline] { [Pipeline] sh [2022-10-13T03:32:16.622Z] + set +x [2022-10-13T03:32:16.622Z] + + curlbash -s -s https://codecov.io/bash -- [2022-10-13T03:32:16.622Z] [2022-10-13T03:32:16.622Z] [2022-10-13T03:32:16.622Z] _____ _ [2022-10-13T03:32:16.622Z] / ____| | | [2022-10-13T03:32:16.622Z] | | ___ __| | ___ ___ _____ __ [2022-10-13T03:32:16.622Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-13T03:32:16.622Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-13T03:32:16.622Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-13T03:32:16.622Z] Bash-1.0.6 [2022-10-13T03:32:16.622Z] [2022-10-13T03:32:16.622Z] [2022-10-13T03:32:16.622Z] ==> git version 2.25.1 found [2022-10-13T03:32:16.622Z] ==> 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-10-13T03:32:16.622Z] Release-Date: 2020-01-08 [2022-10-13T03:32:16.622Z] 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-10-13T03:32:16.622Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-13T03:32:16.622Z] ==> Jenkins CI detected. [2022-10-13T03:32:16.622Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1236 [2022-10-13T03:32:16.622Z] project root: . [2022-10-13T03:32:16.622Z] --> token set from env [2022-10-13T03:32:16.622Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-13T03:32:16.622Z] ==> Running gcov in . (disable via -X gcov) [2022-10-13T03:32:16.622Z] ==> Python coveragepy not found [2022-10-13T03:32:16.622Z] ==> Searching for coverage reports in: [2022-10-13T03:32:16.622Z] + . [2022-10-13T03:32:16.883Z] -> Found 1 reports [2022-10-13T03:32:16.883Z] ==> Detecting git/mercurial file structure [2022-10-13T03:32:16.883Z] ==> Reading reports [2022-10-13T03:32:16.883Z] + ./coverage.out bytes=101009 [2022-10-13T03:32:16.883Z] ==> Appending adjustments [2022-10-13T03:32:16.883Z] https://docs.codecov.io/docs/fixing-reports [2022-10-13T03:32:17.143Z] + Found adjustments [2022-10-13T03:32:17.143Z] ==> Gzipping contents [2022-10-13T03:32:17.143Z] 16K /tmp/codecov.WQTqh5.gz [2022-10-13T03:32:17.143Z] ==> Uploading reports [2022-10-13T03:32:17.143Z] url: https://codecov.io [2022-10-13T03:32:17.143Z] query: branch=PR-1236&commit=ad57e9545f0400bbf82677090cd003fd0fb66bd3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1236&job=&cmd_args= [2022-10-13T03:32:17.143Z] -> Pinging Codecov [2022-10-13T03:32:17.143Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1236&commit=ad57e9545f0400bbf82677090cd003fd0fb66bd3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1236&job=&cmd_args= [2022-10-13T03:32:17.402Z] -> Uploading to [2022-10-13T03:32:17.402Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/ad57e9545f0400bbf82677090cd003fd0fb66bd3/6d71708e-8936-4611-bd87-7721436a56c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T033217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e81ca7212489f1196d550614979a494139bdc82dc6d03d961b7309ae1fdbbac [2022-10-13T03:32:17.402Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T03:32:17.402Z] Dload Upload Total Spent Left Speed [2022-10-13T03:32:17.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14591 0 0 100 14591 0 63995 --:--:-- --:--:-- --:--:-- 63716 100 14591 0 0 100 14591 0 63716 --:--:-- --:--:-- --:--:-- 63439 [2022-10-13T03:32:17.661Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ad57e9545f0400bbf82677090cd003fd0fb66bd3 [Pipeline] } [2022-10-13T03:32:17.690Z] 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-10-13T03:32:19.550Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives ] [2022-10-13T03:32:19.550Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives [2022-10-13T03:32:19.550Z] total 16 [2022-10-13T03:32:19.550Z] drwxr-xr-x 3 root root 4096 Oct 13 03:23 . [2022-10-13T03:32:19.550Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 03:23 .. [2022-10-13T03:32:19.550Z] drwxr-xr-x 2 root root 4096 Oct 13 03:23 cost [2022-10-13T03:32:19.550Z] -rw-r--r-- 1 root root 86 Oct 13 03:23 cost.csv [2022-10-13T03:32:19.550Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives [2022-10-13T03:32:19.550Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives [2022-10-13T03:32:19.550Z] total 16 [2022-10-13T03:32:19.550Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:23 . [2022-10-13T03:32:19.550Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 03:23 .. [2022-10-13T03:32:19.550Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 03:23 cost [2022-10-13T03:32:19.550Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 13 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:19.875Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:20.767Z] ---> package-listing.sh [2022-10-13T03:32:20.767Z] ++ facter osfamily [2022-10-13T03:32:20.767Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-13T03:32:21.025Z] + OS_FAMILY=debian [2022-10-13T03:32:21.025Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1236 [2022-10-13T03:32:21.025Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-13T03:32:21.025Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-13T03:32:21.025Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-13T03:32:21.025Z] + PACKAGES=/tmp/packages_start.txt [2022-10-13T03:32:21.025Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1236 ']' [2022-10-13T03:32:21.025Z] + PACKAGES=/tmp/packages_end.txt [2022-10-13T03:32:21.025Z] + case "${OS_FAMILY}" in [2022-10-13T03:32:21.025Z] + dpkg -l [2022-10-13T03:32:21.025Z] + grep '^ii' [2022-10-13T03:32:21.025Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-13T03:32:21.025Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-13T03:32:21.025Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-13T03:32:21.025Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1236 ']' [2022-10-13T03:32:21.025Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/ [2022-10-13T03:32:21.025Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/ [Pipeline] echo [2022-10-13T03:32:21.056Z] 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-1236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-13T03:32:21.341Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T03:32:21.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T03:32:21.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T03:32:22.100Z] prd-ubuntu20.04-docker-8c-8g-7790 does not seem to be running inside a container [2022-10-13T03:32:22.139Z] $ 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-1236/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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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-10-13T03:32:22.320Z] $ docker top 5d5100cdf72dc086783314de4a9ac02415f5696e7972c7e29b998e4e0b9534e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T03:32:22.703Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-13T03:32:23.007Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-13T03:32:23.318Z] + ls /var/log/sa-host [2022-10-13T03:32:23.318Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T03:32:23.525Z] provisioning config files... [2022-10-13T03:32:23.534Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config16082955582425047947tmp [Pipeline] { [Pipeline] echo [2022-10-13T03:32:23.585Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:23.896Z] ---> create-netrc.sh [Pipeline] } [2022-10-13T03:32:23.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:24.334Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-13T03:32:24.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:24.682Z] ---> sudo-logs.sh [2022-10-13T03:32:24.682Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-13T03:32:24.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:25.086Z] ---> job-cost.sh [2022-10-13T03:32:25.086Z] lf-activate-venv: SKIPPING [2022-10-13T03:32:25.086Z] DEBUG: total: 0.2199999988079071 [2022-10-13T03:32:25.086Z] INFO: Retrieving Stack Cost... [2022-10-13T03:32:25.345Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T03:32:25.913Z] INFO: Archiving Costs [Pipeline] echo [2022-10-13T03:32:25.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T03:32:26.252Z] ---> logs-deploy.sh [2022-10-13T03:32:26.252Z] lf-activate-venv: SKIPPING [2022-10-13T03:32:26.252Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1236/1 [2022-10-13T03:32:26.252Z] INFO: archiving workspace using pattern(s): [2022-10-13T03:32:27.189Z] Archives upload complete. [2022-10-13T03:32:27.189Z] INFO: archiving logs to Nexus