Pull request #1244 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (1da242d00a4bf6746d08dfce9433381060af1493) 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-ssh7158085292211999829.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13481086843497863684.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6623323316317911063.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh5004717160625361395.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3063422887192053464.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 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 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9197 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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 > 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/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing c86f3382c5af20230a0e7f19b8225d91b13900b4 Checking out Revision c86f3382c5af20230a0e7f19b8225d91b13900b4 (PR-1244) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T07:15:19.391Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T07:15:19.429Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T07:15:19.439Z] ========================================================= [2022-10-24T07:15:19.439Z] EdgeX Global Pipelines Version Info [2022-10-24T07:15:19.439Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # 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 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 > git rev-list --no-walk 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 [2022-10-24T07:15:20.139Z] ------------------- [2022-10-24T07:15:20.139Z] stable info: [2022-10-24T07:15:20.139Z] ------------------- [2022-10-24T07:15:20.139Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T07:15:20.139Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T07:15:20.139Z] Message: update stable to v1.0.243 [2022-10-24T07:15:20.706Z] ------------------- [2022-10-24T07:15:20.706Z] experimental info: [2022-10-24T07:15:20.706Z] ------------------- [2022-10-24T07:15:20.706Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T07:15:20.706Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T07:15:20.706Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T07:15:20.856Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-24T07:15:20.868Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-24T07:15:20.879Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T07:15:20.890Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T07:15:20.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T07:15:20.913Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T07:15:20.926Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T07:15:20.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-24T07:15:20.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T07:15:20.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T07:15:20.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T07:15:20.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-24T07:15:21.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T07:15:21.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T07:15:21.043Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T07:15:21.057Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T07:15:21.067Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T07:15:21.078Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T07:15:21.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T07:15:21.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T07:15:21.120Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-24T07:15:21.132Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-24T07:15:21.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T07:15:21.155Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T07:15:21.167Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T07:15:21.181Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T07:15:21.195Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T07:15:21.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo [2022-10-24T07:15:21.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo [2022-10-24T07:15:21.238Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo [2022-10-24T07:15:21.251Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo [2022-10-24T07:15:21.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c86f338 [Pipeline] echo [2022-10-24T07:15:21.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T07:15:21.320Z] provisioning config files... [2022-10-24T07:15:21.332Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config12158675944008433291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:15:21.631Z] ---> docker-login.sh [2022-10-24T07:15:21.631Z] nexus3.edgexfoundry.org:10001 [2022-10-24T07:15:21.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:21.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:21.891Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:21.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:21.891Z] [2022-10-24T07:15:21.891Z] Login Succeeded [2022-10-24T07:15:21.891Z] nexus3.edgexfoundry.org:10002 [2022-10-24T07:15:21.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:22.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:22.152Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:22.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:22.152Z] [2022-10-24T07:15:22.152Z] Login Succeeded [2022-10-24T07:15:22.152Z] nexus3.edgexfoundry.org:10003 [2022-10-24T07:15:22.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:22.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:22.152Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:22.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:22.152Z] [2022-10-24T07:15:22.152Z] Login Succeeded [2022-10-24T07:15:22.152Z] nexus3.edgexfoundry.org:10004 [2022-10-24T07:15:22.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:22.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:22.412Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:22.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:22.412Z] [2022-10-24T07:15:22.412Z] Login Succeeded [2022-10-24T07:15:22.412Z] docker.io [2022-10-24T07:15:22.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:22.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:22.672Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:22.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:22.672Z] [2022-10-24T07:15:22.672Z] Login Succeeded [2022-10-24T07:15:22.672Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T07:15:22.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T07:15:23.050Z] + git rev-list -1 --merges c86f3382c5af20230a0e7f19b8225d91b13900b4~1..c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo [2022-10-24T07:15:23.080Z] -----------> git rev-list -1 --merges c86f3382c5af20230a0e7f19b8225d91b13900b4~1..c86f3382c5af20230a0e7f19b8225d91b13900b4 c86f3382c5af20230a0e7f19b8225d91b13900b4 [false] [Pipeline] sh [2022-10-24T07:15:23.365Z] + git log --format=format:%s -1 c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo [2022-10-24T07:15:23.380Z] ========================================================= [2022-10-24T07:15:23.380Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T07:15:23.380Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T07:15:23.691Z] + git log --format=format:%s -1 c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo [2022-10-24T07:15:23.702Z] [semverPrep] GIT_COMMIT: c86f3382c5af20230a0e7f19b8225d91b13900b4, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T07:15:23.709Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T07:15:24.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T07:15:24.056Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T07:15:24.056Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T07:15:24.056Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T07:15:24.056Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-10-24T07:15:24.056Z] tee -a /etc/ssh/ssh_known_hosts [2022-10-24T07:15:24.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:15:24.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T07:15:24.395Z] [2022-10-24T07:15:24.395Z] 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-24T07:15:24.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T07:15:24.696Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T07:15:24.696Z] b85a868b505f: Pulling fs layer [2022-10-24T07:15:24.696Z] e2be974225ed: Pulling fs layer [2022-10-24T07:15:24.696Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T07:15:24.696Z] 988bab9f4d93: Pulling fs layer [2022-10-24T07:15:24.696Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T07:15:24.696Z] eaf3925da568: Pulling fs layer [2022-10-24T07:15:24.696Z] bab4dde63d76: Pulling fs layer [2022-10-24T07:15:24.696Z] bde34c3a00c8: Pulling fs layer [2022-10-24T07:15:24.696Z] b352a97aabf1: Pulling fs layer [2022-10-24T07:15:24.696Z] 4872d77fe225: Pulling fs layer [2022-10-24T07:15:24.696Z] 5851b861e8e6: Pulling fs layer [2022-10-24T07:15:24.696Z] eaf3925da568: Waiting [2022-10-24T07:15:24.696Z] bab4dde63d76: Waiting [2022-10-24T07:15:24.696Z] 4872d77fe225: Waiting [2022-10-24T07:15:24.696Z] bde34c3a00c8: Waiting [2022-10-24T07:15:24.696Z] 5851b861e8e6: Waiting [2022-10-24T07:15:24.696Z] b352a97aabf1: Waiting [2022-10-24T07:15:24.696Z] 988bab9f4d93: Waiting [2022-10-24T07:15:24.696Z] 1469e6f7b9e6: Waiting [2022-10-24T07:15:24.696Z] e2be974225ed: Download complete [2022-10-24T07:15:24.696Z] 988bab9f4d93: Verifying Checksum [2022-10-24T07:15:24.696Z] 988bab9f4d93: Download complete [2022-10-24T07:15:24.956Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T07:15:24.956Z] 1469e6f7b9e6: Download complete [2022-10-24T07:15:24.956Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T07:15:24.956Z] 339a4e72a1f5: Download complete [2022-10-24T07:15:24.956Z] eaf3925da568: Verifying Checksum [2022-10-24T07:15:24.956Z] eaf3925da568: Download complete [2022-10-24T07:15:24.956Z] bde34c3a00c8: Verifying Checksum [2022-10-24T07:15:24.956Z] bde34c3a00c8: Download complete [2022-10-24T07:15:24.956Z] b352a97aabf1: Verifying Checksum [2022-10-24T07:15:24.956Z] b352a97aabf1: Download complete [2022-10-24T07:15:24.956Z] 4872d77fe225: Verifying Checksum [2022-10-24T07:15:24.956Z] 4872d77fe225: Download complete [2022-10-24T07:15:24.956Z] 5851b861e8e6: Verifying Checksum [2022-10-24T07:15:24.956Z] 5851b861e8e6: Download complete [2022-10-24T07:15:24.956Z] b85a868b505f: Download complete [2022-10-24T07:15:25.524Z] bab4dde63d76: Verifying Checksum [2022-10-24T07:15:25.524Z] bab4dde63d76: Download complete [2022-10-24T07:15:26.460Z] b85a868b505f: Pull complete [2022-10-24T07:15:26.460Z] e2be974225ed: Pull complete [2022-10-24T07:15:27.028Z] 339a4e72a1f5: Pull complete [2022-10-24T07:15:27.028Z] 988bab9f4d93: Pull complete [2022-10-24T07:15:27.287Z] 1469e6f7b9e6: Pull complete [2022-10-24T07:15:27.287Z] eaf3925da568: Pull complete [2022-10-24T07:15:29.224Z] bab4dde63d76: Pull complete [2022-10-24T07:15:29.224Z] bde34c3a00c8: Pull complete [2022-10-24T07:15:29.486Z] b352a97aabf1: Pull complete [2022-10-24T07:15:29.486Z] 4872d77fe225: Pull complete [2022-10-24T07:15:29.486Z] 5851b861e8e6: Pull complete [2022-10-24T07:15:29.486Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T07:15:29.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T07:15:29.486Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:15:29.567Z] prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container [2022-10-24T07:15:29.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-24T07:15:30.855Z] $ docker top 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc -eo pid,comm [2022-10-24T07:15:30.909Z] 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-24T07:15:30.909Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T07:15:30.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T07:15:30.943Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T07:15:31.069Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T07:15:31.075Z] $ docker exec 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent [2022-10-24T07:15:31.184Z] SSH_AUTH_SOCK=/tmp/ssh-qPvKDqglAnQq/agent.33 [2022-10-24T07:15:31.184Z] SSH_AGENT_PID=39 [2022-10-24T07:15:31.189Z] Running ssh-add (command line suppressed) [2022-10-24T07:15:31.302Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7055646037347990487.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7055646037347990487.key) [2022-10-24T07:15:31.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T07:15:31.598Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T07:15:31.612Z] $ docker exec --env ******** --env ******** 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent -k [2022-10-24T07:15:31.707Z] unset SSH_AUTH_SOCK; [2022-10-24T07:15:31.708Z] unset SSH_AGENT_PID; [2022-10-24T07:15:31.708Z] echo Agent pid 39 killed; [2022-10-24T07:15:31.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T07:15:31.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T07:15:31.743Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T07:15:31.856Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T07:15:31.862Z] $ docker exec 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent [2022-10-24T07:15:31.979Z] SSH_AUTH_SOCK=/tmp/ssh-ccEAZMuAwN4S/agent.71 [2022-10-24T07:15:31.979Z] SSH_AGENT_PID=77 [2022-10-24T07:15:31.983Z] Running ssh-add (command line suppressed) [2022-10-24T07:15:32.090Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_15740462021847049022.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_15740462021847049022.key) [2022-10-24T07:15:32.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T07:15:32.389Z] + git semver init [2022-10-24T07:15:32.647Z] 2022-10-24 07:15:32,590 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T07:15:32.647Z] 2022-10-24 07:15:32,591 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-10-24T07:15:32.647Z] 2022-10-24 07:15:32,591 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-10-24T07:15:32.647Z] 2022-10-24 07:15:32,591 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) [2022-10-24T07:15:33.583Z] 2022-10-24 07:15:33,576 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude [2022-10-24T07:15:33.583Z] 2022-10-24 07:15:33,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False [2022-10-24T07:15:33.583Z] 2022-10-24 07:15:33,577 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-10-24T07:15:33.583Z] 2022-10-24 07:15:33,582 [execute] INFO git cat-file --batch-check [2022-10-24T07:15:33.583Z] 2022-10-24 07:15:33,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T07:15:33.843Z] 2022-10-24 07:15:33,588 [execute] INFO git cat-file --batch [2022-10-24T07:15:33.843Z] 2022-10-24 07:15:33,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T07:15:33.843Z] 2022-10-24 07:15:33,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-10-24T07:15:33.843Z] 0.0.0 [Pipeline] } [2022-10-24T07:15:33.855Z] $ docker exec --env ******** --env ******** 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent -k [2022-10-24T07:15:33.957Z] unset SSH_AUTH_SOCK; [2022-10-24T07:15:33.958Z] unset SSH_AGENT_PID; [2022-10-24T07:15:33.958Z] echo Agent pid 77 killed; [2022-10-24T07:15:33.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T07:15:34.261Z] + git semver [Pipeline] } [2022-10-24T07:15:34.563Z] $ docker stop --time=1 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc [2022-10-24T07:15:35.834Z] $ docker rm -f 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T07:15:36.168Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T07:15:36.338Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T07:15:36.341Z] [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-24T07:15:36.488Z] provisioning config files... [2022-10-24T07:15:36.497Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config15986299498523128437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:15:36.792Z] ---> docker-login.sh [2022-10-24T07:15:36.792Z] nexus3.edgexfoundry.org:10001 [2022-10-24T07:15:36.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:36.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:36.792Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:36.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:36.792Z] [2022-10-24T07:15:36.792Z] Login Succeeded [2022-10-24T07:15:36.792Z] nexus3.edgexfoundry.org:10002 [2022-10-24T07:15:36.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:37.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:37.052Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:37.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:37.052Z] [2022-10-24T07:15:37.052Z] Login Succeeded [2022-10-24T07:15:37.052Z] nexus3.edgexfoundry.org:10003 [2022-10-24T07:15:37.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:37.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:37.052Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:37.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:37.052Z] [2022-10-24T07:15:37.052Z] Login Succeeded [2022-10-24T07:15:37.052Z] nexus3.edgexfoundry.org:10004 [2022-10-24T07:15:37.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:37.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:37.052Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:37.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:37.052Z] [2022-10-24T07:15:37.052Z] Login Succeeded [2022-10-24T07:15:37.052Z] docker.io [2022-10-24T07:15:37.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:15:37.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:15:37.570Z] Configure a credential helper to remove this warning. See [2022-10-24T07:15:37.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:15:37.570Z] [2022-10-24T07:15:37.570Z] Login Succeeded [2022-10-24T07:15:37.570Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T07:15:37.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T07:15:37.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T07:15:37.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T07:15:37.652Z] ========================================================= [2022-10-24T07:15:37.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T07:15:37.652Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:15:37.954Z] + 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-24T07:15:37.954Z] Sending build context to Docker daemon 10.04MB [2022-10-24T07:15:37.954Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T07:15:37.954Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T07:15:37.954Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T07:15:37.954Z] 213ec9aee27d: Pulling fs layer [2022-10-24T07:15:37.954Z] 4583459ba037: Pulling fs layer [2022-10-24T07:15:37.954Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T07:15:37.954Z] 53926ce57604: Pulling fs layer [2022-10-24T07:15:37.954Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T07:15:37.954Z] 30f14e443154: Pulling fs layer [2022-10-24T07:15:37.954Z] 801331c1e519: Pulling fs layer [2022-10-24T07:15:37.954Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T07:15:37.954Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T07:15:37.954Z] 30f14e443154: Waiting [2022-10-24T07:15:37.954Z] 801331c1e519: Waiting [2022-10-24T07:15:37.954Z] 99cc6dd402b0: Waiting [2022-10-24T07:15:37.954Z] 7d9ed39f4882: Waiting [2022-10-24T07:15:37.954Z] 53926ce57604: Waiting [2022-10-24T07:15:37.954Z] 21b2b0c7a3f4: Waiting [2022-10-24T07:15:37.954Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T07:15:37.954Z] 93c1e223e6f2: Download complete [2022-10-24T07:15:37.954Z] 4583459ba037: Verifying Checksum [2022-10-24T07:15:37.954Z] 4583459ba037: Download complete [2022-10-24T07:15:37.954Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T07:15:37.954Z] 21b2b0c7a3f4: Download complete [2022-10-24T07:15:38.218Z] 30f14e443154: Download complete [2022-10-24T07:15:38.218Z] 213ec9aee27d: Verifying Checksum [2022-10-24T07:15:38.218Z] 213ec9aee27d: Download complete [2022-10-24T07:15:38.218Z] 801331c1e519: Verifying Checksum [2022-10-24T07:15:38.218Z] 801331c1e519: Download complete [2022-10-24T07:15:38.218Z] 213ec9aee27d: Pull complete [2022-10-24T07:15:38.482Z] 4583459ba037: Pull complete [2022-10-24T07:15:38.482Z] 93c1e223e6f2: Pull complete [2022-10-24T07:15:38.742Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T07:15:38.742Z] 7d9ed39f4882: Download complete [2022-10-24T07:15:38.742Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T07:15:38.742Z] 99cc6dd402b0: Download complete [2022-10-24T07:15:39.002Z] 53926ce57604: Verifying Checksum [2022-10-24T07:15:39.002Z] 53926ce57604: Download complete [2022-10-24T07:15:43.188Z] 53926ce57604: Pull complete [2022-10-24T07:15:43.188Z] 21b2b0c7a3f4: Pull complete [2022-10-24T07:15:43.188Z] 30f14e443154: Pull complete [2022-10-24T07:15:43.188Z] 801331c1e519: Pull complete [2022-10-24T07:15:45.095Z] 99cc6dd402b0: Pull complete [2022-10-24T07:15:46.032Z] 7d9ed39f4882: Pull complete [2022-10-24T07:15:46.032Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T07:15:46.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T07:15:46.032Z] ---> 1dedd983c030 [2022-10-24T07:15:46.032Z] Step 3/11 : ARG MAKE=make build [2022-10-24T07:15:47.966Z] ---> Running in 0c6171269005 [2022-10-24T07:15:47.966Z] Removing intermediate container 0c6171269005 [2022-10-24T07:15:47.966Z] ---> 9346849f215d [2022-10-24T07:15:47.966Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-24T07:15:47.966Z] ---> Running in ee1e70973529 [2022-10-24T07:15:47.966Z] Removing intermediate container ee1e70973529 [2022-10-24T07:15:47.966Z] ---> 767c45076793 [2022-10-24T07:15:47.966Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T07:15:47.966Z] ---> Running in 64e187a21d0d [2022-10-24T07:15:47.966Z] Removing intermediate container 64e187a21d0d [2022-10-24T07:15:47.966Z] ---> cecacf3137f1 [2022-10-24T07:15:47.966Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T07:15:48.225Z] ---> Running in a6046674a63e [2022-10-24T07:15:48.793Z] Removing intermediate container a6046674a63e [2022-10-24T07:15:48.793Z] ---> 825ddfe0a781 [2022-10-24T07:15:48.793Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T07:15:48.793Z] ---> Running in c3a5932d205e [2022-10-24T07:15:49.053Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T07:15:49.987Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T07:15:50.246Z] OK: 211 MiB in 51 packages [2022-10-24T07:15:50.504Z] Removing intermediate container c3a5932d205e [2022-10-24T07:15:50.504Z] ---> 19020da5c539 [2022-10-24T07:15:50.504Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T07:15:50.763Z] ---> 23763600142f [2022-10-24T07:15:50.763Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T07:15:50.763Z] ---> Running in 13d78a77044d [2022-10-24T07:15:51.445Z] Still waiting to schedule task [2022-10-24T07:15:51.445Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9194’ [2022-10-24T07:16:08.846Z] Removing intermediate container 13d78a77044d [2022-10-24T07:16:08.846Z] ---> 1f347a1b72a2 [2022-10-24T07:16:08.846Z] Step 10/11 : COPY . . [2022-10-24T07:16:08.846Z] ---> 0388fa39a171 [2022-10-24T07:16:08.846Z] Step 11/11 : RUN ${MAKE} [2022-10-24T07:16:08.846Z] ---> Running in 84ddd62835dd [2022-10-24T07:16:08.846Z] noop [2022-10-24T07:16:08.846Z] Removing intermediate container 84ddd62835dd [2022-10-24T07:16:08.846Z] ---> 3edcc78515e6 [2022-10-24T07:16:08.846Z] Successfully built 3edcc78515e6 [2022-10-24T07:16:08.846Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:16:09.154Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T07:16:09.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:16:09.223Z] prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container [2022-10-24T07:16:09.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-24T07:16:09.591Z] $ docker top f67fc5692c4acaeea7042548fa512eca1102e706c267f50435a5dde3b7e05e00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T07:16:09.927Z] + go version [2022-10-24T07:16:09.927Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T07:16:09.937Z] $ docker stop --time=1 f67fc5692c4acaeea7042548fa512eca1102e706c267f50435a5dde3b7e05e00 [2022-10-24T07:16:11.219Z] $ docker rm -f f67fc5692c4acaeea7042548fa512eca1102e706c267f50435a5dde3b7e05e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:16:11.620Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T07:16:11.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:16:11.684Z] prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container [2022-10-24T07:16:11.712Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-24T07:16:12.072Z] $ docker top 910b78e11195755386c3c5f764f7e80359dcf12fb310c6c46f0b2b5ef79ed42c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T07:16:12.414Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh [2022-10-24T07:16:12.706Z] + make test [2022-10-24T07:16:12.706Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-24T07:16:19.266Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-24T07:16:34.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-10-24T07:16:34.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-24T07:16:34.130Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 73.1% of statements [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-24T07:16:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-24T07:16:34.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-24T07:16:34.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-24T07:16:34.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.752s coverage: 89.2% of statements [2022-10-24T07:16:34.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-24T07:16:34.646Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-10-24T07:16:34.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-24T07:16:52.717Z] 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-24T07:16:52.717Z] GO111MODULE=on go vet ./... [2022-10-24T07:16:55.243Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T07:16:55.243Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T07:16:55.243Z] ./bin/test-attribution-txt.sh [2022-10-24T07:16:55.243Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-24T07:16:55.243Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-24T07:16:55.243Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-24T07:16:55.243Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-24T07:16:55.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T07:16:55.266Z] $ docker stop --time=1 910b78e11195755386c3c5f764f7e80359dcf12fb310c6c46f0b2b5ef79ed42c [2022-10-24T07:16:57.706Z] $ docker rm -f 910b78e11195755386c3c5f764f7e80359dcf12fb310c6c46f0b2b5ef79ed42c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T07:16:58.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T07:16:58.344Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T07:16:58.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T07:16:59.048Z] + ls -al . [2022-10-24T07:16:59.048Z] total 280 [2022-10-24T07:16:59.048Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:16 . [2022-10-24T07:16:59.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:15 .. [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:15 .dockerignore [2022-10-24T07:16:59.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:16 .git [2022-10-24T07:16:59.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:15 .github [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 07:15 .gitignore [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:15 .golangci.yml [2022-10-24T07:16:59.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:15 .semver [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 07:15 CHANGELOG.md [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:15 GOVERNANCE.md [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 07:15 Jenkinsfile [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 07:15 LICENSE [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 07:15 Makefile [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 07:15 OWNERS.md [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 07:15 README.md [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 07:15 VERSION [2022-10-24T07:16:59.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:15 bin [2022-10-24T07:16:59.048Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 07:16 coverage.out [2022-10-24T07:16:59.048Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 07:15 example [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 07:15 go.mod [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 44682 Oct 24 07:15 go.sum [2022-10-24T07:16:59.048Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 07:15 internal [2022-10-24T07:16:59.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:15 openapi [2022-10-24T07:16:59.048Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:15 pkg [2022-10-24T07:16:59.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:15 snap [2022-10-24T07:16:59.048Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:16:59.352Z] + 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=c86f3382c5af20230a0e7f19b8225d91b13900b4 --label arch=amd64 --label version=0.0.0 . [2022-10-24T07:16:59.352Z] Sending build context to Docker daemon 10.15MB [2022-10-24T07:16:59.352Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T07:16:59.352Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T07:16:59.352Z] ---> 3edcc78515e6 [2022-10-24T07:16:59.352Z] Step 3/25 : ARG MAKE=make build [2022-10-24T07:16:59.352Z] ---> Running in bf31609b3e52 [2022-10-24T07:16:59.610Z] Removing intermediate container bf31609b3e52 [2022-10-24T07:16:59.610Z] ---> 408aefae4c17 [2022-10-24T07:16:59.610Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-24T07:16:59.610Z] ---> Running in 8a19f4d50e6f [2022-10-24T07:16:59.610Z] Removing intermediate container 8a19f4d50e6f [2022-10-24T07:16:59.610Z] ---> 11b8045e9ebd [2022-10-24T07:16:59.610Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T07:16:59.610Z] ---> Running in b4621396730e [2022-10-24T07:16:59.610Z] Removing intermediate container b4621396730e [2022-10-24T07:16:59.610Z] ---> f80e68dede96 [2022-10-24T07:16:59.610Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T07:16:59.869Z] ---> Running in 3fb7514db406 [2022-10-24T07:17:00.436Z] Removing intermediate container 3fb7514db406 [2022-10-24T07:17:00.436Z] ---> f9137aecaca3 [2022-10-24T07:17:00.436Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T07:17:00.436Z] ---> Running in 2e2812feb6f8 [2022-10-24T07:17:00.695Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T07:17:01.636Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T07:17:01.895Z] OK: 211 MiB in 51 packages [2022-10-24T07:17:02.167Z] Removing intermediate container 2e2812feb6f8 [2022-10-24T07:17:02.167Z] ---> 8c22f37c872b [2022-10-24T07:17:02.167Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-24T07:17:02.167Z] ---> 5044f8081544 [2022-10-24T07:17:02.167Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T07:17:02.425Z] ---> Running in 2981cb8ef9ad [2022-10-24T07:17:02.991Z] Removing intermediate container 2981cb8ef9ad [2022-10-24T07:17:02.991Z] ---> 843fd573e72a [2022-10-24T07:17:02.991Z] Step 10/25 : COPY . . [2022-10-24T07:17:03.558Z] ---> f45de0688fcb [2022-10-24T07:17:03.558Z] Step 11/25 : RUN ${MAKE} [2022-10-24T07:17:03.558Z] ---> Running in cd844abc16fd [2022-10-24T07:17:03.816Z] 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-24T07:17:21.919Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-24T07:17:25.209Z] Removing intermediate container cd844abc16fd [2022-10-24T07:17:25.209Z] ---> 35c035244729 [2022-10-24T07:17:25.209Z] Step 12/25 : FROM alpine:3.16 [2022-10-24T07:17:25.468Z] 3.16: Pulling from library/alpine [2022-10-24T07:17:25.730Z] 213ec9aee27d: Already exists [2022-10-24T07:17:25.730Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T07:17:25.730Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T07:17:25.730Z] ---> 9c6f07244728 [2022-10-24T07:17:25.730Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T07:17:25.730Z] ---> Running in 095d9796fa2a [2022-10-24T07:17:25.989Z] Removing intermediate container 095d9796fa2a [2022-10-24T07:17:25.989Z] ---> 569aad9fa519 [2022-10-24T07:17:25.989Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T07:17:25.989Z] ---> Running in a2aa3dda8cf5 [2022-10-24T07:17:26.556Z] Removing intermediate container a2aa3dda8cf5 [2022-10-24T07:17:26.556Z] ---> 64238b792fbb [2022-10-24T07:17:26.556Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-24T07:17:26.814Z] ---> Running in fcdc94a7b733 [2022-10-24T07:17:27.072Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T07:17:28.009Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T07:17:28.009Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T07:17:28.269Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-24T07:17:28.269Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T07:17:28.528Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-24T07:17:28.528Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-24T07:17:28.528Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T07:17:28.528Z] OK: 8 MiB in 19 packages [2022-10-24T07:17:29.095Z] Removing intermediate container fcdc94a7b733 [2022-10-24T07:17:29.095Z] ---> 2ce23645170f [2022-10-24T07:17:29.095Z] Step 16/25 : WORKDIR / [2022-10-24T07:17:29.095Z] ---> Running in e0fd9a2b274b [2022-10-24T07:17:29.095Z] Removing intermediate container e0fd9a2b274b [2022-10-24T07:17:29.095Z] ---> bc74cf7d88ab [2022-10-24T07:17:29.095Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-24T07:17:29.353Z] ---> 290077c5d0e9 [2022-10-24T07:17:29.353Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-24T07:17:29.920Z] ---> 0ab109484fe3 [2022-10-24T07:17:29.920Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-24T07:17:29.920Z] ---> 807ac0093bf5 [2022-10-24T07:17:29.920Z] Step 20/25 : EXPOSE 59999 [2022-10-24T07:17:29.920Z] ---> Running in 8dc3688294bd [2022-10-24T07:17:30.188Z] Removing intermediate container 8dc3688294bd [2022-10-24T07:17:30.188Z] ---> 7e5d0f6c1f93 [2022-10-24T07:17:30.188Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-24T07:17:30.188Z] ---> Running in b2b4d051e887 [2022-10-24T07:17:30.188Z] Removing intermediate container b2b4d051e887 [2022-10-24T07:17:30.188Z] ---> 11182e8ce84b [2022-10-24T07:17:30.188Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T07:17:30.188Z] ---> Running in bbb93e4cce77 [2022-10-24T07:17:30.188Z] Removing intermediate container bbb93e4cce77 [2022-10-24T07:17:30.188Z] ---> f29e064b13aa [2022-10-24T07:17:30.188Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T07:17:30.447Z] ---> Running in 219f58cdfb7d [2022-10-24T07:17:30.447Z] Removing intermediate container 219f58cdfb7d [2022-10-24T07:17:30.447Z] ---> 38d90e9d8421 [2022-10-24T07:17:30.447Z] Step 24/25 : LABEL git_sha=c86f3382c5af20230a0e7f19b8225d91b13900b4 [2022-10-24T07:17:30.447Z] ---> Running in 17243bb0a4d9 [2022-10-24T07:17:30.447Z] Removing intermediate container 17243bb0a4d9 [2022-10-24T07:17:30.447Z] ---> 4061d18c6678 [2022-10-24T07:17:30.447Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T07:17:30.447Z] ---> Running in ba1b4e1e833e [2022-10-24T07:17:30.706Z] Removing intermediate container ba1b4e1e833e [2022-10-24T07:17:30.706Z] ---> dd3c20c17ce6 [2022-10-24T07:17:30.706Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T07:17:30.706Z] Successfully built dd3c20c17ce6 [2022-10-24T07:17:30.706Z] 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-24T07:17:31.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T07:17:31.125Z] [2022-10-24T07:17:31.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:17:31.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T07:17:31.425Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T07:17:31.425Z] 5eb5b503b376: Pulling fs layer [2022-10-24T07:17:31.425Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T07:17:31.425Z] ec43610c2a17: Pulling fs layer [2022-10-24T07:17:31.425Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T07:17:31.425Z] 3a2ae6a8a46f: Waiting [2022-10-24T07:17:31.425Z] 33b1e0a273af: Pulling fs layer [2022-10-24T07:17:31.425Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T07:17:31.425Z] 2f39f015ded8: Pulling fs layer [2022-10-24T07:17:31.425Z] 33b1e0a273af: Waiting [2022-10-24T07:17:31.425Z] 5d3b04190fa2: Waiting [2022-10-24T07:17:31.425Z] 2f39f015ded8: Waiting [2022-10-24T07:17:31.425Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T07:17:31.425Z] 5c69ac0246d0: Download complete [2022-10-24T07:17:31.425Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T07:17:31.425Z] 3a2ae6a8a46f: Download complete [2022-10-24T07:17:31.425Z] 33b1e0a273af: Verifying Checksum [2022-10-24T07:17:31.425Z] 33b1e0a273af: Download complete [2022-10-24T07:17:31.684Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T07:17:31.684Z] 5d3b04190fa2: Download complete [2022-10-24T07:17:31.684Z] ec43610c2a17: Verifying Checksum [2022-10-24T07:17:31.684Z] ec43610c2a17: Download complete [2022-10-24T07:17:31.684Z] 5eb5b503b376: Download complete [2022-10-24T07:17:32.253Z] 2f39f015ded8: Download complete [2022-10-24T07:17:33.187Z] 5eb5b503b376: Pull complete [2022-10-24T07:17:33.187Z] 5c69ac0246d0: Pull complete [2022-10-24T07:17:33.778Z] ec43610c2a17: Pull complete [2022-10-24T07:17:33.778Z] 3a2ae6a8a46f: Pull complete [2022-10-24T07:17:34.036Z] 33b1e0a273af: Pull complete [2022-10-24T07:17:34.036Z] 5d3b04190fa2: Pull complete [2022-10-24T07:17:39.317Z] 2f39f015ded8: Pull complete [2022-10-24T07:17:39.317Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T07:17:39.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T07:17:39.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:17:39.398Z] prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container [2022-10-24T07:17:39.430Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-24T07:17:41.509Z] $ docker top eae4cedb8e6936e5c0f78a44de8fc1f0371bcef5ca2dce596d30b64008fdd1f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:17:41.875Z] ---> job-cost.sh [2022-10-24T07:17:41.875Z] lf-activate-venv: SKIPPING [2022-10-24T07:17:41.875Z] INFO: No Stack... [2022-10-24T07:17:42.134Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T07:17:42.702Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T07:17:42.992Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv [2022-10-24T07:17:42.992Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T07:17:43.006Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [2022-10-24T07:17:43.013Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] did not exist. Created. [2022-10-24T07:17:43.013Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T07:17:43.315Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T07:17:43.347Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T07:17:43.355Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T07:17:43.370Z] $ docker stop --time=1 eae4cedb8e6936e5c0f78a44de8fc1f0371bcef5ca2dce596d30b64008fdd1f1 [2022-10-24T07:17:44.543Z] $ docker rm -f eae4cedb8e6936e5c0f78a44de8fc1f0371bcef5ca2dce596d30b64008fdd1f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T07:18:55.484Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9199 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws [2022-10-24T07:18:55.495Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-10-24T07:18:55.534Z] The recommended git tool is: git [2022-10-24T07:19:01.195Z] using credential edgex-jenkins-ssh [2022-10-24T07:19:01.211Z] Cloning the remote Git repository [2022-10-24T07:19:01.250Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-24T07:19:01.319Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-10-24T07:19:01.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-24T07:19:01.470Z] > git --version # timeout=10 [2022-10-24T07:19:01.492Z] > git --version # 'git version 2.25.1' [2022-10-24T07:19:01.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T07:19:01.542Z] Verifying host key using known hosts file [2022-10-24T07:19:01.750Z] 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-24T07:19:01.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T07:19:03.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-24T07:19:03.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T07:19:04.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-24T07:19:04.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-24T07:19:04.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T07:19:04.470Z] Verifying host key using known hosts file [2022-10-24T07:19:04.478Z] 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-24T07:19:05.143Z] Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 [2022-10-24T07:19:05.422Z] Merge succeeded, producing c86f3382c5af20230a0e7f19b8225d91b13900b4 [2022-10-24T07:19:05.423Z] Checking out Revision c86f3382c5af20230a0e7f19b8225d91b13900b4 (PR-1244) [2022-10-24T07:19:04.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T07:19:05.162Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T07:19:05.190Z] > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 [2022-10-24T07:19:05.310Z] > git remote # timeout=10 [2022-10-24T07:19:05.333Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T07:19:05.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T07:19:05.360Z] Verifying host key using known hosts file [2022-10-24T07:19:05.364Z] 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-24T07:19:05.373Z] > git merge e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 [2022-10-24T07:19:05.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T07:19:05.428Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T07:19:05.451Z] > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 [2022-10-24T07:19:05.953Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T07:19:06.815Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T07:19:06.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T07:19:06.815Z] Dload Upload Total Spent Left Speed [2022-10-24T07:19:06.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-10-24T07:19:07.419Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T07:19:07.760Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T07:19:07.761Z] + sudo tee /etc/docker/daemon.new [2022-10-24T07:19:13.135Z] { [2022-10-24T07:19:13.135Z] "registry-mirrors": [ [2022-10-24T07:19:13.135Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T07:19:13.135Z] ], [2022-10-24T07:19:13.135Z] "bip": "10.250.0.254/24", [2022-10-24T07:19:13.135Z] "hosts": [ [2022-10-24T07:19:13.135Z] "tcp://0.0.0.0:5555", [2022-10-24T07:19:13.135Z] "unix:///var/run/docker.sock" [2022-10-24T07:19:13.135Z] ], [2022-10-24T07:19:13.135Z] "mtu": 1458, [2022-10-24T07:19:13.135Z] "selinux-enabled": true, [2022-10-24T07:19:13.135Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T07:19:13.135Z] } [Pipeline] sh [2022-10-24T07:19:13.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T07:19:13.784Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T07:19:32.042Z] provisioning config files... [2022-10-24T07:19:32.066Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config666551129376143265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:19:32.409Z] ---> docker-login.sh [2022-10-24T07:19:32.409Z] nexus3.edgexfoundry.org:10001 [2022-10-24T07:19:32.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:19:32.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:19:32.993Z] Configure a credential helper to remove this warning. See [2022-10-24T07:19:32.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:19:32.993Z] [2022-10-24T07:19:32.993Z] Login Succeeded [2022-10-24T07:19:32.993Z] nexus3.edgexfoundry.org:10002 [2022-10-24T07:19:33.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:19:33.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:19:33.262Z] Configure a credential helper to remove this warning. See [2022-10-24T07:19:33.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:19:33.262Z] [2022-10-24T07:19:33.262Z] Login Succeeded [2022-10-24T07:19:33.262Z] nexus3.edgexfoundry.org:10003 [2022-10-24T07:19:33.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:19:33.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:19:33.797Z] Configure a credential helper to remove this warning. See [2022-10-24T07:19:33.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:19:33.797Z] [2022-10-24T07:19:33.797Z] Login Succeeded [2022-10-24T07:19:33.797Z] nexus3.edgexfoundry.org:10004 [2022-10-24T07:19:34.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:19:34.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:19:34.066Z] Configure a credential helper to remove this warning. See [2022-10-24T07:19:34.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:19:34.066Z] [2022-10-24T07:19:34.066Z] Login Succeeded [2022-10-24T07:19:34.066Z] docker.io [2022-10-24T07:19:34.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T07:19:34.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T07:19:34.600Z] Configure a credential helper to remove this warning. See [2022-10-24T07:19:34.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T07:19:34.600Z] [2022-10-24T07:19:34.600Z] Login Succeeded [2022-10-24T07:19:34.600Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T07:19:34.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T07:19:34.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T07:19:34.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T07:19:34.789Z] ========================================================= [2022-10-24T07:19:34.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T07:19:34.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:19:35.118Z] + 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-24T07:19:35.386Z] Sending build context to Docker daemon 5.399MB [2022-10-24T07:19:35.386Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T07:19:35.386Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T07:19:35.672Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T07:19:35.672Z] 9b18e9b68314: Pulling fs layer [2022-10-24T07:19:35.672Z] d32db5db7311: Pulling fs layer [2022-10-24T07:19:35.672Z] d0c4b47475fc: Pulling fs layer [2022-10-24T07:19:35.672Z] 5831b945b038: Pulling fs layer [2022-10-24T07:19:35.672Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T07:19:35.672Z] e10730c5d714: Pulling fs layer [2022-10-24T07:19:35.672Z] 5dd5c2283517: Pulling fs layer [2022-10-24T07:19:35.672Z] d5ac0230b979: Pulling fs layer [2022-10-24T07:19:35.672Z] e10730c5d714: Waiting [2022-10-24T07:19:35.672Z] 5dd5c2283517: Waiting [2022-10-24T07:19:35.672Z] d5ac0230b979: Waiting [2022-10-24T07:19:35.672Z] 86bbec2aaacd: Waiting [2022-10-24T07:19:35.672Z] 5831b945b038: Waiting [2022-10-24T07:19:35.672Z] d0c4b47475fc: Verifying Checksum [2022-10-24T07:19:35.672Z] d0c4b47475fc: Download complete [2022-10-24T07:19:35.672Z] d32db5db7311: Verifying Checksum [2022-10-24T07:19:35.672Z] d32db5db7311: Download complete [2022-10-24T07:19:35.672Z] 86bbec2aaacd: Download complete [2022-10-24T07:19:35.672Z] e10730c5d714: Verifying Checksum [2022-10-24T07:19:35.672Z] e10730c5d714: Download complete [2022-10-24T07:19:35.672Z] 9b18e9b68314: Verifying Checksum [2022-10-24T07:19:36.645Z] 9b18e9b68314: Pull complete [2022-10-24T07:19:36.915Z] d5ac0230b979: Verifying Checksum [2022-10-24T07:19:36.915Z] d5ac0230b979: Download complete [2022-10-24T07:19:37.187Z] d32db5db7311: Pull complete [2022-10-24T07:19:37.786Z] d0c4b47475fc: Pull complete [2022-10-24T07:19:38.059Z] 5dd5c2283517: Verifying Checksum [2022-10-24T07:19:38.059Z] 5dd5c2283517: Download complete [2022-10-24T07:19:39.026Z] 5831b945b038: Verifying Checksum [2022-10-24T07:19:39.026Z] 5831b945b038: Download complete [2022-10-24T07:19:51.468Z] 5831b945b038: Pull complete [2022-10-24T07:19:51.468Z] 86bbec2aaacd: Pull complete [2022-10-24T07:19:51.468Z] e10730c5d714: Pull complete [2022-10-24T07:19:58.165Z] 5dd5c2283517: Pull complete [2022-10-24T07:20:00.775Z] d5ac0230b979: Pull complete [2022-10-24T07:20:00.775Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T07:20:00.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T07:20:00.775Z] ---> 59b3b1a385d4 [2022-10-24T07:20:00.775Z] Step 3/11 : ARG MAKE=make build [2022-10-24T07:20:02.734Z] ---> Running in 505c5c17b52a [2022-10-24T07:20:03.002Z] Removing intermediate container 505c5c17b52a [2022-10-24T07:20:03.002Z] ---> 73ed0726b3aa [2022-10-24T07:20:03.002Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-24T07:20:03.269Z] ---> Running in e53c29564f94 [2022-10-24T07:20:03.536Z] Removing intermediate container e53c29564f94 [2022-10-24T07:20:03.536Z] ---> c3e865fdd5bf [2022-10-24T07:20:03.536Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T07:20:03.536Z] ---> Running in 1409d18d5d8d [2022-10-24T07:20:03.807Z] Removing intermediate container 1409d18d5d8d [2022-10-24T07:20:03.807Z] ---> c086214d2ecb [2022-10-24T07:20:03.807Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T07:20:04.080Z] ---> Running in 4e422df1e63e [2022-10-24T07:20:06.039Z] Removing intermediate container 4e422df1e63e [2022-10-24T07:20:06.039Z] ---> d5c28c6a5e54 [2022-10-24T07:20:06.039Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T07:20:06.039Z] ---> Running in 2573143700d1 [2022-10-24T07:20:07.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T07:20:07.967Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T07:20:09.378Z] OK: 221 MiB in 51 packages [2022-10-24T07:20:11.322Z] Removing intermediate container 2573143700d1 [2022-10-24T07:20:11.322Z] ---> 6407fc09248e [2022-10-24T07:20:11.322Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T07:20:11.594Z] ---> 58fd7c738d06 [2022-10-24T07:20:11.594Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T07:20:11.867Z] ---> Running in 70f026de08dd [2022-10-24T07:21:08.294Z] Removing intermediate container 70f026de08dd [2022-10-24T07:21:08.294Z] ---> f9da13ada4e0 [2022-10-24T07:21:08.294Z] Step 10/11 : COPY . . [2022-10-24T07:21:08.294Z] ---> cb649e024637 [2022-10-24T07:21:08.294Z] Step 11/11 : RUN ${MAKE} [2022-10-24T07:21:08.294Z] ---> Running in 0639e13c7971 [2022-10-24T07:21:08.294Z] noop [2022-10-24T07:21:08.294Z] Removing intermediate container 0639e13c7971 [2022-10-24T07:21:08.294Z] ---> dd36b3552db6 [2022-10-24T07:21:08.294Z] Successfully built dd36b3552db6 [2022-10-24T07:21:08.294Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:21:08.651Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T07:21:08.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:21:08.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-9199 does not seem to be running inside a container [2022-10-24T07:21:08.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-24T07:21:10.224Z] $ docker top b5907e7e49ea74350e06c2b52ad496947d721cc66a44fe0ba0c99e98bf653228 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T07:21:11.075Z] + go version [2022-10-24T07:21:11.075Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T07:21:11.108Z] $ docker stop --time=1 b5907e7e49ea74350e06c2b52ad496947d721cc66a44fe0ba0c99e98bf653228 [2022-10-24T07:21:12.802Z] $ docker rm -f b5907e7e49ea74350e06c2b52ad496947d721cc66a44fe0ba0c99e98bf653228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:21:13.330Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T07:21:13.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:21:13.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-9199 does not seem to be running inside a container [2022-10-24T07:21:13.605Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-24T07:21:14.826Z] $ docker top 399d4670cb326f84a1984d649ca60ee21962a0cc7f75c496556e9eacd4e3c192 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T07:21:15.661Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-24T07:21:16.316Z] + make test [2022-10-24T07:21:16.316Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-24T07:21:55.205Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-24T07:24:16.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-24T07:24:16.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-24T07:24:16.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-24T07:24:16.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-24T07:24:16.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-24T07:24:23.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.303s coverage: 27.6% of statements [2022-10-24T07:24:25.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.294s coverage: 78.9% of statements [2022-10-24T07:24:25.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-24T07:24:30.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.489s coverage: 73.1% of statements [2022-10-24T07:24:30.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-24T07:24:30.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-24T07:24:34.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.573s coverage: 54.4% of statements [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-24T07:24:34.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 65.1% of statements [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-24T07:24:34.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.912s coverage: 89.2% of statements [2022-10-24T07:24:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-24T07:24:38.549Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.277s coverage: 4.7% of statements [2022-10-24T07:24:38.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-24T07:24:39.136Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T07:24:39.136Z] GO111MODULE=on go vet ./... [2022-10-24T07:26:15.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T07:26:15.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T07:26:15.830Z] ./bin/test-attribution-txt.sh [2022-10-24T07:26:15.830Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-24T07:26:15.830Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-24T07:26:15.830Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-24T07:26:15.830Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-24T07:26:15.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T07:26:15.878Z] $ docker stop --time=1 399d4670cb326f84a1984d649ca60ee21962a0cc7f75c496556e9eacd4e3c192 [2022-10-24T07:26:17.717Z] $ docker rm -f 399d4670cb326f84a1984d649ca60ee21962a0cc7f75c496556e9eacd4e3c192 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T07:26:19.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T07:26:19.099Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T07:26:19.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T07:26:20.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T07:26:20.332Z] + ls -al . [2022-10-24T07:26:20.332Z] total 276 [2022-10-24T07:26:20.332Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:21 . [2022-10-24T07:26:20.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:19 .. [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:19 .dockerignore [2022-10-24T07:26:20.332Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:19 .git [2022-10-24T07:26:20.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:19 .github [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 07:19 .gitignore [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:19 .golangci.yml [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 07:19 CHANGELOG.md [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:19 GOVERNANCE.md [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 07:19 Jenkinsfile [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 07:19 LICENSE [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 07:19 Makefile [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 07:19 OWNERS.md [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 07:19 README.md [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 07:15 VERSION [2022-10-24T07:26:20.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:19 bin [2022-10-24T07:26:20.332Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 07:24 coverage.out [2022-10-24T07:26:20.332Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 07:19 example [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 07:19 go.mod [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 44682 Oct 24 07:19 go.sum [2022-10-24T07:26:20.332Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 07:19 internal [2022-10-24T07:26:20.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:19 openapi [2022-10-24T07:26:20.332Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:19 pkg [2022-10-24T07:26:20.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:19 snap [2022-10-24T07:26:20.332Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:26:20.673Z] + 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=c86f3382c5af20230a0e7f19b8225d91b13900b4 --label arch=arm64 --label version=0.0.0 . [2022-10-24T07:26:20.940Z] Sending build context to Docker daemon 5.501MB [2022-10-24T07:26:21.208Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T07:26:21.208Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T07:26:21.208Z] ---> dd36b3552db6 [2022-10-24T07:26:21.208Z] Step 3/25 : ARG MAKE=make build [2022-10-24T07:26:21.208Z] ---> Running in 51a4306fdade [2022-10-24T07:26:21.476Z] Removing intermediate container 51a4306fdade [2022-10-24T07:26:21.476Z] ---> 1e8c41a35bb7 [2022-10-24T07:26:21.476Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-24T07:26:21.745Z] ---> Running in 74ecf936c2b2 [2022-10-24T07:26:22.014Z] Removing intermediate container 74ecf936c2b2 [2022-10-24T07:26:22.014Z] ---> add96ece6fd8 [2022-10-24T07:26:22.014Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T07:26:22.014Z] ---> Running in 798888f4b20d [2022-10-24T07:26:22.282Z] Removing intermediate container 798888f4b20d [2022-10-24T07:26:22.282Z] ---> 76e61a82836f [2022-10-24T07:26:22.283Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T07:26:22.283Z] ---> Running in 9499025ee42d [2022-10-24T07:26:24.233Z] Removing intermediate container 9499025ee42d [2022-10-24T07:26:24.233Z] ---> aa05e0775a94 [2022-10-24T07:26:24.233Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T07:26:24.233Z] ---> Running in c3ec1250c686 [2022-10-24T07:26:25.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T07:26:26.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T07:26:27.120Z] OK: 221 MiB in 51 packages [2022-10-24T07:26:28.081Z] Removing intermediate container c3ec1250c686 [2022-10-24T07:26:28.081Z] ---> 0b6ae0efb397 [2022-10-24T07:26:28.081Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-24T07:26:28.351Z] ---> 8a13a84978dd [2022-10-24T07:26:28.351Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T07:26:28.618Z] ---> Running in 343ef23622c2 [2022-10-24T07:26:30.561Z] Removing intermediate container 343ef23622c2 [2022-10-24T07:26:30.561Z] ---> bd46861b8a19 [2022-10-24T07:26:30.561Z] Step 10/25 : COPY . . [2022-10-24T07:26:31.974Z] ---> d6f4dd6a8a31 [2022-10-24T07:26:31.974Z] Step 11/25 : RUN ${MAKE} [2022-10-24T07:26:31.974Z] ---> Running in 59914928e190 [2022-10-24T07:26:32.938Z] 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-24T07:28:54.771Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-24T07:28:54.771Z] Removing intermediate container 59914928e190 [2022-10-24T07:28:54.771Z] ---> d43dcb46d921 [2022-10-24T07:28:54.771Z] Step 12/25 : FROM alpine:3.16 [2022-10-24T07:28:54.771Z] 3.16: Pulling from library/alpine [2022-10-24T07:28:54.771Z] 9b18e9b68314: Already exists [2022-10-24T07:28:54.771Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T07:28:54.771Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T07:28:54.771Z] ---> a6215f271958 [2022-10-24T07:28:54.771Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T07:28:54.771Z] ---> Running in cf9194eddf20 [2022-10-24T07:28:54.771Z] Removing intermediate container cf9194eddf20 [2022-10-24T07:28:54.771Z] ---> 45ae707fe127 [2022-10-24T07:28:54.771Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T07:28:54.771Z] ---> Running in a8905709afe9 [2022-10-24T07:28:54.771Z] Removing intermediate container a8905709afe9 [2022-10-24T07:28:54.771Z] ---> 748641e55811 [2022-10-24T07:28:54.771Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-24T07:28:54.771Z] ---> Running in 6ecb7789c285 [2022-10-24T07:28:54.771Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T07:28:55.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T07:28:56.709Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T07:28:56.709Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-24T07:28:56.975Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T07:28:57.245Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-24T07:28:57.245Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-24T07:28:57.245Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T07:28:57.245Z] OK: 8 MiB in 19 packages [2022-10-24T07:28:58.204Z] Removing intermediate container 6ecb7789c285 [2022-10-24T07:28:58.204Z] ---> f29844619aea [2022-10-24T07:28:58.205Z] Step 16/25 : WORKDIR / [2022-10-24T07:28:58.472Z] ---> Running in 0f569da28d50 [2022-10-24T07:28:58.739Z] Removing intermediate container 0f569da28d50 [2022-10-24T07:28:58.739Z] ---> 258737960f74 [2022-10-24T07:28:58.739Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-24T07:28:59.326Z] ---> 38bb4bb8b1a4 [2022-10-24T07:28:59.326Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-24T07:29:00.734Z] ---> ce58a7b729be [2022-10-24T07:29:00.734Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-24T07:29:01.001Z] ---> 911b0ef14788 [2022-10-24T07:29:01.001Z] Step 20/25 : EXPOSE 59999 [2022-10-24T07:29:01.270Z] ---> Running in 82ef1f04a50e [2022-10-24T07:29:01.537Z] Removing intermediate container 82ef1f04a50e [2022-10-24T07:29:01.537Z] ---> a580defafe26 [2022-10-24T07:29:01.537Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-24T07:29:01.537Z] ---> Running in b1ca699c4e12 [2022-10-24T07:29:01.805Z] Removing intermediate container b1ca699c4e12 [2022-10-24T07:29:01.805Z] ---> 20f874de3930 [2022-10-24T07:29:01.805Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T07:29:01.805Z] ---> Running in 6f6e6fc240c9 [2022-10-24T07:29:02.073Z] Removing intermediate container 6f6e6fc240c9 [2022-10-24T07:29:02.073Z] ---> 308b598b1c18 [2022-10-24T07:29:02.073Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T07:29:02.343Z] ---> Running in 303be51ad539 [2022-10-24T07:29:02.613Z] Removing intermediate container 303be51ad539 [2022-10-24T07:29:02.613Z] ---> 7b0ecb68e44e [2022-10-24T07:29:02.613Z] Step 24/25 : LABEL git_sha=c86f3382c5af20230a0e7f19b8225d91b13900b4 [2022-10-24T07:29:02.613Z] ---> Running in 42a43bb97534 [2022-10-24T07:29:02.885Z] Removing intermediate container 42a43bb97534 [2022-10-24T07:29:02.885Z] ---> 4ca77a6f09c5 [2022-10-24T07:29:02.885Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T07:29:02.885Z] ---> Running in a1b36d965402 [2022-10-24T07:29:03.174Z] Removing intermediate container a1b36d965402 [2022-10-24T07:29:03.174Z] ---> df2e83c6c8b2 [2022-10-24T07:29:03.174Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T07:29:03.174Z] Successfully built df2e83c6c8b2 [2022-10-24T07:29:03.174Z] 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-24T07:29:03.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T07:29:03.585Z] [2022-10-24T07:29:03.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:29:03.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T07:29:03.915Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T07:29:03.915Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T07:29:03.915Z] 04944245beec: Pulling fs layer [2022-10-24T07:29:03.915Z] 699f458cf7ca: Pulling fs layer [2022-10-24T07:29:03.915Z] 765212b225bb: Pulling fs layer [2022-10-24T07:29:03.915Z] f23df028b6ca: Pulling fs layer [2022-10-24T07:29:03.915Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T07:29:03.915Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T07:29:03.915Z] 765212b225bb: Waiting [2022-10-24T07:29:03.916Z] f23df028b6ca: Waiting [2022-10-24T07:29:03.916Z] d65c8cfc05b1: Waiting [2022-10-24T07:29:03.916Z] 2437ff75d9bd: Waiting [2022-10-24T07:29:04.187Z] 04944245beec: Verifying Checksum [2022-10-24T07:29:04.187Z] 04944245beec: Download complete [2022-10-24T07:29:04.187Z] 765212b225bb: Verifying Checksum [2022-10-24T07:29:04.187Z] 765212b225bb: Download complete [2022-10-24T07:29:04.187Z] f23df028b6ca: Download complete [2022-10-24T07:29:04.187Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T07:29:04.187Z] d65c8cfc05b1: Download complete [2022-10-24T07:29:04.454Z] 699f458cf7ca: Verifying Checksum [2022-10-24T07:29:04.454Z] 699f458cf7ca: Download complete [2022-10-24T07:29:04.769Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T07:29:04.769Z] 8998bd30e6a1: Download complete [2022-10-24T07:29:07.353Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T07:29:07.353Z] 2437ff75d9bd: Download complete [2022-10-24T07:29:08.764Z] 8998bd30e6a1: Pull complete [2022-10-24T07:29:09.347Z] 04944245beec: Pull complete [2022-10-24T07:29:10.765Z] 699f458cf7ca: Pull complete [2022-10-24T07:29:10.765Z] 765212b225bb: Pull complete [2022-10-24T07:29:11.727Z] f23df028b6ca: Pull complete [2022-10-24T07:29:11.727Z] d65c8cfc05b1: Pull complete [2022-10-24T07:29:26.707Z] 2437ff75d9bd: Pull complete [2022-10-24T07:29:26.707Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T07:29:26.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T07:29:26.708Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:29:26.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-9199 does not seem to be running inside a container [2022-10-24T07:29:26.939Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-24T07:29:29.314Z] $ docker top 0ea9be493aac252dacc9724a52276f05120dd168d64f57c2850e050beb3c311b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:30.108Z] ---> job-cost.sh [2022-10-24T07:29:30.108Z] lf-activate-venv: SKIPPING [2022-10-24T07:29:30.108Z] INFO: No Stack... [2022-10-24T07:29:30.688Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T07:29:31.640Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T07:29:31.956Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-10-24T07:29:31.956Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T07:29:32.014Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [2022-10-24T07:29:32.024Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] did not exist. Created. [2022-10-24T07:29:32.024Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T07:29:32.357Z] /w/workspace/device-sdk-go/2@tmp/durable-24cae7b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T07:29:32.683Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T07:29:32.704Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T07:29:32.757Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T07:29:32.766Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T07:29:32.801Z] $ docker stop --time=1 0ea9be493aac252dacc9724a52276f05120dd168d64f57c2850e050beb3c311b [2022-10-24T07:29:34.250Z] $ docker rm -f 0ea9be493aac252dacc9724a52276f05120dd168d64f57c2850e050beb3c311b [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-24T07:29:34.612Z] provisioning config files... [2022-10-24T07:29:34.623Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config9889649302596747135tmp [Pipeline] { [Pipeline] sh [2022-10-24T07:29:34.926Z] + set +x [2022-10-24T07:29:34.926Z] + curl -s https://codecov.io/bash [2022-10-24T07:29:34.926Z] + bash -s -- [2022-10-24T07:29:34.926Z] [2022-10-24T07:29:34.926Z] _____ _ [2022-10-24T07:29:34.926Z] / ____| | | [2022-10-24T07:29:34.926Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T07:29:34.926Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T07:29:34.926Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T07:29:34.926Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T07:29:34.926Z] Bash-1.0.6 [2022-10-24T07:29:34.926Z] [2022-10-24T07:29:34.926Z] [2022-10-24T07:29:34.926Z] ==> git version 2.25.1 found [2022-10-24T07:29:34.926Z] ==> 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-24T07:29:34.926Z] Release-Date: 2020-01-08 [2022-10-24T07:29:34.926Z] 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-24T07:29:34.926Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T07:29:34.926Z] ==> Jenkins CI detected. [2022-10-24T07:29:34.926Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-10-24T07:29:34.926Z] project root: . [2022-10-24T07:29:34.926Z] --> token set from env [2022-10-24T07:29:34.926Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T07:29:34.926Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T07:29:34.926Z] ==> Python coveragepy not found [2022-10-24T07:29:34.926Z] ==> Searching for coverage reports in: [2022-10-24T07:29:34.926Z] + . [2022-10-24T07:29:34.926Z] -> Found 1 reports [2022-10-24T07:29:34.926Z] ==> Detecting git/mercurial file structure [2022-10-24T07:29:34.926Z] ==> Reading reports [2022-10-24T07:29:34.926Z] + ./coverage.out bytes=101759 [2022-10-24T07:29:34.927Z] ==> Appending adjustments [2022-10-24T07:29:34.927Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T07:29:35.185Z] + Found adjustments [2022-10-24T07:29:35.185Z] ==> Gzipping contents [2022-10-24T07:29:35.445Z] 16K /tmp/codecov.090iXm.gz [2022-10-24T07:29:35.445Z] ==> Uploading reports [2022-10-24T07:29:35.445Z] url: https://codecov.io [2022-10-24T07:29:35.445Z] query: branch=PR-1244&commit=c86f3382c5af20230a0e7f19b8225d91b13900b4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-10-24T07:29:35.445Z] -> Pinging Codecov [2022-10-24T07:29:35.445Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=c86f3382c5af20230a0e7f19b8225d91b13900b4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-10-24T07:29:35.704Z] -> Uploading to [2022-10-24T07:29:35.704Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7E55EF52A471D76F132DFD9A03CDDE97/c86f3382c5af20230a0e7f19b8225d91b13900b4/b6f1d2c6-1988-4b43-a7d9-e0fc390fc15e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T072935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ce865e3adcbe6065817329a4043222397084219e4f4652988ceeffb0cfd51ed [2022-10-24T07:29:35.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T07:29:35.704Z] Dload Upload Total Spent Left Speed [2022-10-24T07:29:35.964Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14733 0 0 100 14733 0 67582 --:--:-- --:--:-- --:--:-- 67582 [2022-10-24T07:29:35.964Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] } [2022-10-24T07:29:35.972Z] 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-24T07:29:36.632Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] [2022-10-24T07:29:36.632Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-24T07:29:36.632Z] total 16 [2022-10-24T07:29:36.632Z] drwxr-xr-x 3 root root 4096 Oct 24 07:17 . [2022-10-24T07:29:36.632Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 07:17 .. [2022-10-24T07:29:36.632Z] drwxr-xr-x 2 root root 4096 Oct 24 07:17 cost [2022-10-24T07:29:36.632Z] -rw-r--r-- 1 root root 86 Oct 24 07:17 cost.csv [2022-10-24T07:29:36.632Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-24T07:29:36.632Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-24T07:29:36.632Z] total 16 [2022-10-24T07:29:36.632Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:17 . [2022-10-24T07:29:36.632Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 07:17 .. [2022-10-24T07:29:36.632Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 07:17 cost [2022-10-24T07:29:36.632Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 07:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:36.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:37.776Z] ---> package-listing.sh [2022-10-24T07:29:37.776Z] ++ facter osfamily [2022-10-24T07:29:37.776Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T07:29:38.035Z] + OS_FAMILY=debian [2022-10-24T07:29:38.035Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-10-24T07:29:38.035Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T07:29:38.035Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T07:29:38.035Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T07:29:38.035Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T07:29:38.035Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-10-24T07:29:38.036Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T07:29:38.036Z] + case "${OS_FAMILY}" in [2022-10-24T07:29:38.036Z] + dpkg -l [2022-10-24T07:29:38.036Z] + grep '^ii' [2022-10-24T07:29:38.036Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T07:29:38.036Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T07:29:38.036Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T07:29:38.036Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-10-24T07:29:38.036Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [2022-10-24T07:29:38.036Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo [2022-10-24T07:29:38.046Z] 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T07:29:38.324Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T07:29:38.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T07:29:38.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T07:29:38.953Z] prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container [2022-10-24T07:29:38.983Z] $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-24T07:29:39.204Z] $ docker top 60ecad1cb9ae1357e490883cd6f970d3f9ec062fb345467f598aeeb3354ccf36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T07:29:39.545Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T07:29:39.830Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T07:29:40.113Z] + ls /var/log/sa-host [2022-10-24T07:29:40.113Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T07:29:40.171Z] provisioning config files... [2022-10-24T07:29:40.178Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config15628136535359737492tmp [Pipeline] { [Pipeline] echo [2022-10-24T07:29:40.189Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:40.468Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T07:29:40.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:40.798Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T07:29:40.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:41.088Z] ---> sudo-logs.sh [2022-10-24T07:29:41.088Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T07:29:41.118Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:41.402Z] ---> job-cost.sh [2022-10-24T07:29:41.402Z] lf-activate-venv: SKIPPING [2022-10-24T07:29:41.402Z] DEBUG: total: 0.2199999988079071 [2022-10-24T07:29:41.402Z] INFO: Retrieving Stack Cost... [2022-10-24T07:29:41.970Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T07:29:42.228Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T07:29:42.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T07:29:42.519Z] ---> logs-deploy.sh [2022-10-24T07:29:42.519Z] lf-activate-venv: SKIPPING [2022-10-24T07:29:42.519Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/2 [2022-10-24T07:29:42.519Z] INFO: archiving workspace using pattern(s): [2022-10-24T07:29:43.456Z] Archives upload complete. [2022-10-24T07:29:43.456Z] INFO: archiving logs to Nexus