Pull request #1213 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db272883df24a68749bc00c0966855817df8567a+e5efdee9dd9df15b49fe73e0060b5d971241be0d (e7725aff584bd0a9d0bd3d828e9af07f86f70d82) 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-ssh15657675587055133637.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3913923603219595477.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16497910170807031512.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18271687792763296701.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7239727946188067422.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14411817567448381134.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-525 in /w/workspace/gexfoundry_device-sdk-go_PR-1213 [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-1213 # 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/1213/head:refs/remotes/origin/PR-1213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit db272883df24a68749bc00c0966855817df8567a Merge succeeded, producing db272883df24a68749bc00c0966855817df8567a Checking out Revision db272883df24a68749bc00c0966855817df8567a (PR-1213) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T04:06:10.897Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f db272883df24a68749bc00c0966855817df8567a # 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 e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db272883df24a68749bc00c0966855817df8567a # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T04:06:11.069Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T04:06:11.166Z] ========================================================= [2022-09-22T04:06:11.166Z] EdgeX Global Pipelines Version Info [2022-09-22T04:06:11.166Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:06:11.923Z] ------------------- [2022-09-22T04:06:11.923Z] stable info: [2022-09-22T04:06:11.923Z] ------------------- [2022-09-22T04:06:11.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T04:06:11.923Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T04:06:11.923Z] Message: update stable to v1.0.239 [2022-09-22T04:06:12.495Z] ------------------- [2022-09-22T04:06:12.495Z] experimental info: [2022-09-22T04:06:12.495Z] ------------------- [2022-09-22T04:06:12.495Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T04:06:12.495Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T04:06:12.495Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T04:06:12.778Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-22T04:06:12.819Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-22T04:06:12.861Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T04:06:12.904Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T04:06:12.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T04:06:12.980Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T04:06:13.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T04:06:13.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-22T04:06:13.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T04:06:13.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T04:06:13.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T04:06:13.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-22T04:06:13.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T04:06:13.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T04:06:13.362Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T04:06:13.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T04:06:13.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T04:06:13.478Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T04:06:13.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T04:06:13.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T04:06:13.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T04:06:13.638Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T04:06:13.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T04:06:13.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T04:06:13.761Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T04:06:13.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T04:06:13.842Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T04:06:13.880Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1213 [Pipeline] echo [2022-09-22T04:06:13.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1213 [Pipeline] echo [2022-09-22T04:06:13.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1213 [Pipeline] echo [2022-09-22T04:06:14.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db272883df24a68749bc00c0966855817df8567a [Pipeline] echo [2022-09-22T04:06:14.040Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db27288 [Pipeline] echo [2022-09-22T04:06:14.080Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:06:14.196Z] provisioning config files... [2022-09-22T04:06:14.211Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/config7480051695855161176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:06:14.576Z] ---> docker-login.sh [2022-09-22T04:06:14.576Z] nexus3.edgexfoundry.org:10001 [2022-09-22T04:06:14.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:15.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:15.102Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:15.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:15.102Z] [2022-09-22T04:06:15.102Z] Login Succeeded [2022-09-22T04:06:15.102Z] nexus3.edgexfoundry.org:10002 [2022-09-22T04:06:15.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:15.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:15.102Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:15.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:15.102Z] [2022-09-22T04:06:15.102Z] Login Succeeded [2022-09-22T04:06:15.102Z] nexus3.edgexfoundry.org:10003 [2022-09-22T04:06:15.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:15.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:15.363Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:15.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:15.363Z] [2022-09-22T04:06:15.363Z] Login Succeeded [2022-09-22T04:06:15.363Z] nexus3.edgexfoundry.org:10004 [2022-09-22T04:06:15.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:15.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:15.363Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:15.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:15.363Z] [2022-09-22T04:06:15.363Z] Login Succeeded [2022-09-22T04:06:15.363Z] docker.io [2022-09-22T04:06:15.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:15.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:15.936Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:15.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:15.936Z] [2022-09-22T04:06:15.936Z] Login Succeeded [2022-09-22T04:06:15.936Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T04:06:15.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T04:06:16.592Z] + git rev-list -1 --merges db272883df24a68749bc00c0966855817df8567a~1..db272883df24a68749bc00c0966855817df8567a [Pipeline] echo [2022-09-22T04:06:16.644Z] -----------> git rev-list -1 --merges db272883df24a68749bc00c0966855817df8567a~1..db272883df24a68749bc00c0966855817df8567a db272883df24a68749bc00c0966855817df8567a [false] [Pipeline] sh [2022-09-22T04:06:16.956Z] + git log --format=format:%s -1 db272883df24a68749bc00c0966855817df8567a [Pipeline] echo [2022-09-22T04:06:16.996Z] ========================================================= [2022-09-22T04:06:16.996Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T04:06:16.996Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T04:06:17.432Z] + git log --format=format:%s -1 db272883df24a68749bc00c0966855817df8567a [Pipeline] echo [2022-09-22T04:06:17.466Z] [semverPrep] GIT_COMMIT: db272883df24a68749bc00c0966855817df8567a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-09-22T04:06:17.496Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T04:06:17.886Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T04:06:17.886Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T04:06:17.886Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T04:06:17.886Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T04:06:17.886Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T04:06:17.886Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T04:06:17.886Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:06:18.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T04:06:18.364Z] [2022-09-22T04:06:18.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:06:18.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T04:06:18.738Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T04:06:18.738Z] b85a868b505f: Pulling fs layer [2022-09-22T04:06:18.738Z] e2be974225ed: Pulling fs layer [2022-09-22T04:06:18.738Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T04:06:18.738Z] 988bab9f4d93: Pulling fs layer [2022-09-22T04:06:18.738Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T04:06:18.738Z] eaf3925da568: Pulling fs layer [2022-09-22T04:06:18.738Z] bab4dde63d76: Pulling fs layer [2022-09-22T04:06:18.738Z] bde34c3a00c8: Pulling fs layer [2022-09-22T04:06:18.738Z] b352a97aabf1: Pulling fs layer [2022-09-22T04:06:18.738Z] 4872d77fe225: Pulling fs layer [2022-09-22T04:06:18.738Z] 5851b861e8e6: Pulling fs layer [2022-09-22T04:06:18.738Z] eaf3925da568: Waiting [2022-09-22T04:06:18.738Z] bab4dde63d76: Waiting [2022-09-22T04:06:18.738Z] b352a97aabf1: Waiting [2022-09-22T04:06:18.738Z] 988bab9f4d93: Waiting [2022-09-22T04:06:18.738Z] bde34c3a00c8: Waiting [2022-09-22T04:06:18.738Z] 1469e6f7b9e6: Waiting [2022-09-22T04:06:18.738Z] 5851b861e8e6: Waiting [2022-09-22T04:06:18.738Z] e2be974225ed: Verifying Checksum [2022-09-22T04:06:18.738Z] e2be974225ed: Download complete [2022-09-22T04:06:18.738Z] 988bab9f4d93: Verifying Checksum [2022-09-22T04:06:18.738Z] 988bab9f4d93: Download complete [2022-09-22T04:06:18.999Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T04:06:18.999Z] 339a4e72a1f5: Download complete [2022-09-22T04:06:18.999Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T04:06:18.999Z] 1469e6f7b9e6: Download complete [2022-09-22T04:06:18.999Z] eaf3925da568: Verifying Checksum [2022-09-22T04:06:18.999Z] eaf3925da568: Download complete [2022-09-22T04:06:18.999Z] bde34c3a00c8: Download complete [2022-09-22T04:06:18.999Z] b352a97aabf1: Download complete [2022-09-22T04:06:18.999Z] 4872d77fe225: Verifying Checksum [2022-09-22T04:06:18.999Z] 4872d77fe225: Download complete [2022-09-22T04:06:18.999Z] 5851b861e8e6: Download complete [2022-09-22T04:06:18.999Z] b85a868b505f: Download complete [2022-09-22T04:06:19.258Z] bab4dde63d76: Verifying Checksum [2022-09-22T04:06:19.258Z] bab4dde63d76: Download complete [2022-09-22T04:06:20.678Z] b85a868b505f: Pull complete [2022-09-22T04:06:20.678Z] e2be974225ed: Pull complete [2022-09-22T04:06:20.939Z] 339a4e72a1f5: Pull complete [2022-09-22T04:06:20.939Z] 988bab9f4d93: Pull complete [2022-09-22T04:06:21.202Z] 1469e6f7b9e6: Pull complete [2022-09-22T04:06:21.462Z] eaf3925da568: Pull complete [2022-09-22T04:06:23.368Z] bab4dde63d76: Pull complete [2022-09-22T04:06:23.368Z] bde34c3a00c8: Pull complete [2022-09-22T04:06:23.368Z] b352a97aabf1: Pull complete [2022-09-22T04:06:23.368Z] 4872d77fe225: Pull complete [2022-09-22T04:06:23.368Z] 5851b861e8e6: Pull complete [2022-09-22T04:06:23.368Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T04:06:23.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T04:06:23.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:06:23.587Z] prd-ubuntu20.04-docker-8c-8g-525 does not seem to be running inside a container [2022-09-22T04:06:23.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1213 -v /w/workspace/gexfoundry_device-sdk-go_PR-1213:/w/workspace/gexfoundry_device-sdk-go_PR-1213:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T04:06:25.964Z] $ docker top 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 -eo pid,comm [2022-09-22T04:06:26.015Z] 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-09-22T04:06:26.015Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T04:06:26.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T04:06:26.134Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T04:06:26.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T04:06:26.249Z] $ docker exec 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 ssh-agent [2022-09-22T04:06:26.355Z] SSH_AUTH_SOCK=/tmp/ssh-opGcVeyM5wqn/agent.32 [2022-09-22T04:06:26.355Z] SSH_AGENT_PID=38 [2022-09-22T04:06:26.361Z] Running ssh-add (command line suppressed) [2022-09-22T04:06:26.457Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/private_key_1816870013432154639.key (/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/private_key_1816870013432154639.key) [2022-09-22T04:06:26.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T04:06:26.792Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T04:06:26.820Z] $ docker exec --env ******** --env ******** 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 ssh-agent -k [2022-09-22T04:06:26.919Z] unset SSH_AUTH_SOCK; [2022-09-22T04:06:26.919Z] unset SSH_AGENT_PID; [2022-09-22T04:06:26.920Z] echo Agent pid 38 killed; [2022-09-22T04:06:26.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T04:06:27.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T04:06:27.016Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T04:06:27.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T04:06:27.130Z] $ docker exec 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 ssh-agent [2022-09-22T04:06:27.225Z] SSH_AUTH_SOCK=/tmp/ssh-I0krxfWSPhl5/agent.70 [2022-09-22T04:06:27.225Z] SSH_AGENT_PID=77 [2022-09-22T04:06:27.229Z] Running ssh-add (command line suppressed) [2022-09-22T04:06:27.335Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/private_key_17927783635878751032.key (/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/private_key_17927783635878751032.key) [2022-09-22T04:06:27.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T04:06:27.678Z] + git semver init [2022-09-22T04:06:27.936Z] 2022-09-22 04:06:27,870 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T04:06:27.936Z] 2022-09-22 04:06:27,870 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver [2022-09-22T04:06:27.936Z] 2022-09-22 04:06:27,871 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver [2022-09-22T04:06:27.936Z] 2022-09-22 04:06:27,871 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1213, universal_newlines=False, shell=None, istream=None) [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,874 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1213/.git/info/exclude [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver/PR-1213 with force:False [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,875 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver/PR-1213 [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,879 [execute] INFO git cat-file --batch-check [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,885 [execute] INFO git cat-file --batch [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T04:06:29.314Z] 2022-09-22 04:06:28,891 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1213/.semver/PR-1213 [2022-09-22T04:06:29.314Z] 0.0.0 [Pipeline] } [2022-09-22T04:06:29.344Z] $ docker exec --env ******** --env ******** 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 ssh-agent -k [2022-09-22T04:06:29.438Z] unset SSH_AUTH_SOCK; [2022-09-22T04:06:29.439Z] unset SSH_AGENT_PID; [2022-09-22T04:06:29.439Z] echo Agent pid 77 killed; [2022-09-22T04:06:29.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T04:06:29.877Z] + git semver [Pipeline] } [2022-09-22T04:06:30.166Z] $ docker stop --time=1 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 [2022-09-22T04:06:31.451Z] $ docker rm -f 1399dc0a87d11e1243f085f6cd6e1fe7e2b12aad8a7d8adf2c05f627a9ffdfe1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T04:06:31.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T04:06:32.090Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T04:06:32.105Z] [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-09-22T04:06:32.629Z] provisioning config files... [2022-09-22T04:06:32.641Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/config1187444666010650496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:06:32.974Z] ---> docker-login.sh [2022-09-22T04:06:32.974Z] nexus3.edgexfoundry.org:10001 [2022-09-22T04:06:32.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:32.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:32.974Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:32.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:32.974Z] [2022-09-22T04:06:32.974Z] Login Succeeded [2022-09-22T04:06:32.974Z] nexus3.edgexfoundry.org:10002 [2022-09-22T04:06:32.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:33.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:33.239Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:33.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:33.239Z] [2022-09-22T04:06:33.239Z] Login Succeeded [2022-09-22T04:06:33.239Z] nexus3.edgexfoundry.org:10003 [2022-09-22T04:06:33.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:33.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:33.239Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:33.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:33.239Z] [2022-09-22T04:06:33.239Z] Login Succeeded [2022-09-22T04:06:33.239Z] nexus3.edgexfoundry.org:10004 [2022-09-22T04:06:33.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:33.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:33.239Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:33.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:33.239Z] [2022-09-22T04:06:33.239Z] Login Succeeded [2022-09-22T04:06:33.239Z] docker.io [2022-09-22T04:06:33.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:06:33.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:06:33.760Z] Configure a credential helper to remove this warning. See [2022-09-22T04:06:33.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:06:33.760Z] [2022-09-22T04:06:33.760Z] Login Succeeded [2022-09-22T04:06:33.760Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T04:06:33.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T04:06:33.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:06:34.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:06:34.051Z] ========================================================= [2022-09-22T04:06:34.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T04:06:34.051Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:06:34.525Z] + 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-09-22T04:06:34.525Z] Sending build context to Docker daemon 9.853MB [2022-09-22T04:06:34.525Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:06:34.525Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T04:06:34.525Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T04:06:34.525Z] 2408cc74d12b: Pulling fs layer [2022-09-22T04:06:34.525Z] ea60b727a1ce: Pulling fs layer [2022-09-22T04:06:34.525Z] 30c4a7721957: Pulling fs layer [2022-09-22T04:06:34.525Z] 370296b7ddb6: Pulling fs layer [2022-09-22T04:06:34.525Z] 7c6cee850709: Pulling fs layer [2022-09-22T04:06:34.525Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T04:06:34.525Z] d94ebbe4e438: Pulling fs layer [2022-09-22T04:06:34.525Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T04:06:34.525Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T04:06:34.525Z] 370296b7ddb6: Waiting [2022-09-22T04:06:34.525Z] 39a5fcdaea64: Waiting [2022-09-22T04:06:34.525Z] bcfd1f05c69d: Waiting [2022-09-22T04:06:34.525Z] 7c6cee850709: Waiting [2022-09-22T04:06:34.525Z] 59ccb84bbe0f: Waiting [2022-09-22T04:06:34.525Z] 30c4a7721957: Verifying Checksum [2022-09-22T04:06:34.525Z] 30c4a7721957: Download complete [2022-09-22T04:06:34.525Z] ea60b727a1ce: Download complete [2022-09-22T04:06:34.790Z] 7c6cee850709: Download complete [2022-09-22T04:06:34.790Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T04:06:34.790Z] 39a5fcdaea64: Download complete [2022-09-22T04:06:34.790Z] 2408cc74d12b: Verifying Checksum [2022-09-22T04:06:34.790Z] 2408cc74d12b: Download complete [2022-09-22T04:06:34.790Z] d94ebbe4e438: Verifying Checksum [2022-09-22T04:06:34.790Z] d94ebbe4e438: Download complete [2022-09-22T04:06:34.790Z] 2408cc74d12b: Pull complete [2022-09-22T04:06:35.067Z] ea60b727a1ce: Pull complete [2022-09-22T04:06:35.067Z] 30c4a7721957: Pull complete [2022-09-22T04:06:35.343Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T04:06:35.343Z] 59ccb84bbe0f: Download complete [2022-09-22T04:06:35.613Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T04:06:35.613Z] bcfd1f05c69d: Download complete [2022-09-22T04:06:35.873Z] 370296b7ddb6: Download complete [2022-09-22T04:06:39.157Z] 370296b7ddb6: Pull complete [2022-09-22T04:06:39.415Z] 7c6cee850709: Pull complete [2022-09-22T04:06:39.415Z] 39a5fcdaea64: Pull complete [2022-09-22T04:06:39.415Z] d94ebbe4e438: Pull complete [2022-09-22T04:06:41.312Z] bcfd1f05c69d: Pull complete [2022-09-22T04:06:41.879Z] 59ccb84bbe0f: Pull complete [2022-09-22T04:06:41.879Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T04:06:41.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T04:06:41.879Z] ---> a4fb48ad2a94 [2022-09-22T04:06:41.879Z] Step 3/11 : ARG MAKE=make build [2022-09-22T04:06:46.072Z] ---> Running in e192e1ea6025 [2022-09-22T04:06:46.072Z] Removing intermediate container e192e1ea6025 [2022-09-22T04:06:46.072Z] ---> 6c1a2363e947 [2022-09-22T04:06:46.072Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T04:06:46.072Z] ---> Running in f56c23c46f78 [2022-09-22T04:06:46.072Z] Removing intermediate container f56c23c46f78 [2022-09-22T04:06:46.072Z] ---> e639f4b65fbe [2022-09-22T04:06:46.072Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:06:46.072Z] ---> Running in addf8f946d9e [2022-09-22T04:06:46.072Z] Removing intermediate container addf8f946d9e [2022-09-22T04:06:46.072Z] ---> cad17d1fe268 [2022-09-22T04:06:46.072Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:06:46.072Z] ---> Running in 2d17ab6fb10b [2022-09-22T04:06:46.339Z] Removing intermediate container 2d17ab6fb10b [2022-09-22T04:06:46.339Z] ---> d3e647afb2b4 [2022-09-22T04:06:46.339Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:06:46.339Z] ---> Running in 3168cb82b376 [2022-09-22T04:06:46.598Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T04:06:47.470Z] Still waiting to schedule task [2022-09-22T04:06:47.470Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T04:06:47.536Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T04:06:48.105Z] OK: 211 MiB in 51 packages [2022-09-22T04:06:48.363Z] Removing intermediate container 3168cb82b376 [2022-09-22T04:06:48.363Z] ---> e6c89274af6a [2022-09-22T04:06:48.363Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T04:06:48.363Z] ---> cf80a2b908e0 [2022-09-22T04:06:48.363Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:06:48.363Z] ---> Running in 22efbaeb3322 [2022-09-22T04:07:15.140Z] Removing intermediate container 22efbaeb3322 [2022-09-22T04:07:15.140Z] ---> 94df065dd33a [2022-09-22T04:07:15.140Z] Step 10/11 : COPY . . [2022-09-22T04:07:15.140Z] ---> 57ccab391d66 [2022-09-22T04:07:15.140Z] Step 11/11 : RUN ${MAKE} [2022-09-22T04:07:15.140Z] ---> Running in 5c1b8467539c [2022-09-22T04:07:15.140Z] noop [2022-09-22T04:07:15.140Z] Removing intermediate container 5c1b8467539c [2022-09-22T04:07:15.140Z] ---> 067d9024195b [2022-09-22T04:07:15.140Z] Successfully built 067d9024195b [2022-09-22T04:07:15.140Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:07:15.596Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T04:07:15.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:07:15.743Z] prd-ubuntu20.04-docker-8c-8g-525 does not seem to be running inside a container [2022-09-22T04:07:15.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1213 -v /w/workspace/gexfoundry_device-sdk-go_PR-1213:/w/workspace/gexfoundry_device-sdk-go_PR-1213:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T04:07:16.126Z] $ docker top 3901d81a8347dcbc5202b777220ae8037b060e2357ada3eceb76ca0b3c980e79 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:07:16.628Z] + go version [2022-09-22T04:07:16.628Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T04:07:16.665Z] $ docker stop --time=1 3901d81a8347dcbc5202b777220ae8037b060e2357ada3eceb76ca0b3c980e79 [2022-09-22T04:07:17.966Z] $ docker rm -f 3901d81a8347dcbc5202b777220ae8037b060e2357ada3eceb76ca0b3c980e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:07:18.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T04:07:18.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:07:18.814Z] prd-ubuntu20.04-docker-8c-8g-525 does not seem to be running inside a container [2022-09-22T04:07:18.851Z] $ 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-1213 -v /w/workspace/gexfoundry_device-sdk-go_PR-1213:/w/workspace/gexfoundry_device-sdk-go_PR-1213:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T04:07:19.224Z] $ docker top 5a0066a159dd1bee78152e96a9691e16fdc11377be7efa9811fcdd5502a168aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:07:19.612Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1213 [Pipeline] fileExists [Pipeline] sh [2022-09-22T04:07:19.968Z] + make test [2022-09-22T04:07:19.968Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T04:07:26.527Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T04:07:41.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements [2022-09-22T04:07:41.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T04:07:41.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.073s coverage: 60.0% of statements [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T04:07:41.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T04:07:41.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T04:07:41.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T04:07:41.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.824s coverage: 89.2% of statements [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T04:07:41.666Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.5% of statements [2022-09-22T04:07:41.666Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T04:07:59.799Z] 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-09-22T04:07:59.799Z] GO111MODULE=on go vet ./... [2022-09-22T04:08:00.733Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T04:08:00.733Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T04:08:00.733Z] ./bin/test-attribution-txt.sh [2022-09-22T04:08:00.733Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T04:08:00.733Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T04:08:00.733Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T04:08:00.733Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T04:08:00.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T04:08:00.791Z] $ docker stop --time=1 5a0066a159dd1bee78152e96a9691e16fdc11377be7efa9811fcdd5502a168aa [2022-09-22T04:08:04.361Z] $ docker rm -f 5a0066a159dd1bee78152e96a9691e16fdc11377be7efa9811fcdd5502a168aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T04:08:04.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T04:08:05.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T04:08:05.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T04:08:06.014Z] + ls -al . [2022-09-22T04:08:06.014Z] total 276 [2022-09-22T04:08:06.014Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 04:07 . [2022-09-22T04:08:06.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:06 .. [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:06 .dockerignore [2022-09-22T04:08:06.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:07 .git [2022-09-22T04:08:06.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:06 .github [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 04:06 .gitignore [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 04:06 .golangci.yml [2022-09-22T04:08:06.014Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 04:06 .semver [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 04:06 CHANGELOG.md [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 04:06 GOVERNANCE.md [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 04:06 Jenkinsfile [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:06 LICENSE [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 04:06 Makefile [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 04:06 OWNERS.md [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 04:06 README.md [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:06 VERSION [2022-09-22T04:08:06.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:06 bin [2022-09-22T04:08:06.014Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 22 04:07 coverage.out [2022-09-22T04:08:06.014Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:06 example [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 22 04:06 go.mod [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 22 04:06 go.sum [2022-09-22T04:08:06.014Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 04:06 internal [2022-09-22T04:08:06.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:06 openapi [2022-09-22T04:08:06.014Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 04:06 pkg [2022-09-22T04:08:06.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:06 snap [2022-09-22T04:08:06.014Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:08:06.410Z] + 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=db272883df24a68749bc00c0966855817df8567a --label arch=amd64 --label version=0.0.0 . [2022-09-22T04:08:06.410Z] Sending build context to Docker daemon 9.956MB [2022-09-22T04:08:06.410Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:08:06.410Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T04:08:06.410Z] ---> 067d9024195b [2022-09-22T04:08:06.410Z] Step 3/25 : ARG MAKE=make build [2022-09-22T04:08:06.670Z] ---> Running in ca0c7fa4718c [2022-09-22T04:08:06.670Z] Removing intermediate container ca0c7fa4718c [2022-09-22T04:08:06.670Z] ---> 31c3c729ecdc [2022-09-22T04:08:06.670Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T04:08:06.670Z] ---> Running in 91db81d1a31d [2022-09-22T04:08:06.670Z] Removing intermediate container 91db81d1a31d [2022-09-22T04:08:06.670Z] ---> 5909bf17e66b [2022-09-22T04:08:06.670Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:08:06.929Z] ---> Running in 6476ab269fd6 [2022-09-22T04:08:06.929Z] Removing intermediate container 6476ab269fd6 [2022-09-22T04:08:06.929Z] ---> 5d87e0c28ec4 [2022-09-22T04:08:06.929Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:08:06.929Z] ---> Running in 2659046cb7e9 [2022-09-22T04:08:07.497Z] Removing intermediate container 2659046cb7e9 [2022-09-22T04:08:07.497Z] ---> 56e3d7baf4ab [2022-09-22T04:08:07.497Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:08:07.497Z] ---> Running in f19980120743 [2022-09-22T04:08:07.756Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T04:08:08.693Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T04:08:08.950Z] OK: 211 MiB in 51 packages [2022-09-22T04:08:09.208Z] Removing intermediate container f19980120743 [2022-09-22T04:08:09.208Z] ---> 0f7d36d68446 [2022-09-22T04:08:09.208Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T04:08:09.208Z] ---> 6814f457c7de [2022-09-22T04:08:09.208Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:08:09.208Z] ---> Running in d95ffde3aeb5 [2022-09-22T04:08:10.159Z] Removing intermediate container d95ffde3aeb5 [2022-09-22T04:08:10.159Z] ---> 66579bc629f0 [2022-09-22T04:08:10.159Z] Step 10/25 : COPY . . [2022-09-22T04:08:10.417Z] ---> 422a13ab145d [2022-09-22T04:08:10.417Z] Step 11/25 : RUN ${MAKE} [2022-09-22T04:08:10.417Z] ---> Running in 160c756159bf [2022-09-22T04:08:10.675Z] 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-09-22T04:08:28.963Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T04:08:32.304Z] Removing intermediate container 160c756159bf [2022-09-22T04:08:32.304Z] ---> 353cf4c80bb0 [2022-09-22T04:08:32.304Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T04:08:32.562Z] 3.16: Pulling from library/alpine [2022-09-22T04:08:32.821Z] 213ec9aee27d: Pulling fs layer [2022-09-22T04:08:33.094Z] 213ec9aee27d: Verifying Checksum [2022-09-22T04:08:33.094Z] 213ec9aee27d: Download complete [2022-09-22T04:08:33.094Z] 213ec9aee27d: Pull complete [2022-09-22T04:08:33.094Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T04:08:33.094Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T04:08:33.094Z] ---> 9c6f07244728 [2022-09-22T04:08:33.094Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:08:33.352Z] ---> Running in 4261b987a509 [2022-09-22T04:08:33.352Z] Removing intermediate container 4261b987a509 [2022-09-22T04:08:33.352Z] ---> af27af2ebb6d [2022-09-22T04:08:33.352Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:08:33.352Z] ---> Running in 7d875a1b6baa [2022-09-22T04:08:33.917Z] Removing intermediate container 7d875a1b6baa [2022-09-22T04:08:33.917Z] ---> 5b00c90ed29b [2022-09-22T04:08:33.917Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T04:08:33.917Z] ---> Running in 924b9836045e [2022-09-22T04:08:34.175Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T04:08:35.110Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T04:08:35.368Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T04:08:35.368Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T04:08:35.627Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T04:08:35.627Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T04:08:35.627Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T04:08:35.885Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T04:08:35.885Z] OK: 8 MiB in 19 packages [2022-09-22T04:08:36.452Z] Removing intermediate container 924b9836045e [2022-09-22T04:08:36.452Z] ---> 887bc4656983 [2022-09-22T04:08:36.452Z] Step 16/25 : WORKDIR / [2022-09-22T04:08:36.452Z] ---> Running in d5ed091464c0 [2022-09-22T04:08:36.452Z] Removing intermediate container d5ed091464c0 [2022-09-22T04:08:36.452Z] ---> cbe409f26149 [2022-09-22T04:08:36.452Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T04:08:36.452Z] ---> 0bea14923a22 [2022-09-22T04:08:36.452Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T04:08:37.385Z] ---> 59769b8d4a2d [2022-09-22T04:08:37.385Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T04:08:37.385Z] ---> 2559d09be94e [2022-09-22T04:08:37.385Z] Step 20/25 : EXPOSE 59999 [2022-09-22T04:08:37.385Z] ---> Running in 2c1cda1c18cb [2022-09-22T04:08:37.385Z] Removing intermediate container 2c1cda1c18cb [2022-09-22T04:08:37.385Z] ---> 8ab6fa344209 [2022-09-22T04:08:37.385Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T04:08:37.385Z] ---> Running in 45b9d439085d [2022-09-22T04:08:37.385Z] Removing intermediate container 45b9d439085d [2022-09-22T04:08:37.385Z] ---> d9fde703f5d8 [2022-09-22T04:08:37.385Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T04:08:37.475Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-530 in /w/workspace/gexfoundry_device-sdk-go_PR-1213 [Pipeline] { [Pipeline] ws [2022-09-22T04:08:37.519Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T04:08:37.596Z] The recommended git tool is: git [2022-09-22T04:08:37.643Z] ---> Running in 45573305ae65 [2022-09-22T04:08:37.643Z] Removing intermediate container 45573305ae65 [2022-09-22T04:08:37.643Z] ---> 543d73d39f04 [2022-09-22T04:08:37.643Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T04:08:37.643Z] ---> Running in 0cfa50e742c0 [2022-09-22T04:08:37.643Z] Removing intermediate container 0cfa50e742c0 [2022-09-22T04:08:37.643Z] ---> ad16e1e6fa91 [2022-09-22T04:08:37.643Z] Step 24/25 : LABEL git_sha=db272883df24a68749bc00c0966855817df8567a [2022-09-22T04:08:37.643Z] ---> Running in cdc5b1a9bf1c [2022-09-22T04:08:37.900Z] Removing intermediate container cdc5b1a9bf1c [2022-09-22T04:08:37.900Z] ---> 75747f29c3e7 [2022-09-22T04:08:37.900Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T04:08:37.900Z] ---> Running in 85e00ac01e0c [2022-09-22T04:08:37.900Z] Removing intermediate container 85e00ac01e0c [2022-09-22T04:08:37.900Z] ---> 372ed722661a [2022-09-22T04:08:37.900Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T04:08:37.900Z] Successfully built 372ed722661a [2022-09-22T04:08:37.900Z] 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-09-22T04:08:38.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:08:38.773Z] [2022-09-22T04:08:38.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:08:39.144Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:08:39.144Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T04:08:39.144Z] 5eb5b503b376: Pulling fs layer [2022-09-22T04:08:39.144Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T04:08:39.144Z] ec43610c2a17: Pulling fs layer [2022-09-22T04:08:39.144Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T04:08:39.144Z] 33b1e0a273af: Pulling fs layer [2022-09-22T04:08:39.144Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T04:08:39.144Z] 2f39f015ded8: Pulling fs layer [2022-09-22T04:08:39.144Z] 3a2ae6a8a46f: Waiting [2022-09-22T04:08:39.144Z] 2f39f015ded8: Waiting [2022-09-22T04:08:39.144Z] 5d3b04190fa2: Waiting [2022-09-22T04:08:39.144Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T04:08:39.144Z] 5c69ac0246d0: Download complete [2022-09-22T04:08:39.144Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T04:08:39.144Z] 3a2ae6a8a46f: Download complete [2022-09-22T04:08:39.405Z] 33b1e0a273af: Verifying Checksum [2022-09-22T04:08:39.405Z] 33b1e0a273af: Download complete [2022-09-22T04:08:39.405Z] ec43610c2a17: Verifying Checksum [2022-09-22T04:08:39.405Z] ec43610c2a17: Download complete [2022-09-22T04:08:39.405Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T04:08:39.405Z] 5d3b04190fa2: Download complete [2022-09-22T04:08:39.405Z] 5eb5b503b376: Verifying Checksum [2022-09-22T04:08:39.405Z] 5eb5b503b376: Download complete [2022-09-22T04:08:39.970Z] 2f39f015ded8: Download complete [2022-09-22T04:08:40.536Z] 5eb5b503b376: Pull complete [2022-09-22T04:08:40.796Z] 5c69ac0246d0: Pull complete [2022-09-22T04:08:41.054Z] ec43610c2a17: Pull complete [2022-09-22T04:08:41.312Z] 3a2ae6a8a46f: Pull complete [2022-09-22T04:08:41.312Z] 33b1e0a273af: Pull complete [2022-09-22T04:08:41.569Z] 5d3b04190fa2: Pull complete [2022-09-22T04:08:42.557Z] using credential edgex-jenkins-ssh [2022-09-22T04:08:42.571Z] Cloning the remote Git repository [2022-09-22T04:08:42.611Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T04:08:42.676Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-22T04:08:42.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T04:08:42.809Z] > git --version # timeout=10 [2022-09-22T04:08:42.828Z] > git --version # 'git version 2.25.1' [2022-09-22T04:08:42.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T04:08:42.875Z] Verifying host key using known hosts file [2022-09-22T04:08:43.058Z] 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-09-22T04:08:43.068Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T04:08:44.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T04:08:44.632Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T04:08:45.745Z] 2f39f015ded8: Pull complete [2022-09-22T04:08:45.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T04:08:45.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:08:45.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:08:45.969Z] prd-ubuntu20.04-docker-8c-8g-525 does not seem to be running inside a container [2022-09-22T04:08:45.983Z] $ 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-1213 -v /w/workspace/gexfoundry_device-sdk-go_PR-1213:/w/workspace/gexfoundry_device-sdk-go_PR-1213:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T04:08:46.025Z] Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit db272883df24a68749bc00c0966855817df8567a [2022-09-22T04:08:46.295Z] Merge succeeded, producing db272883df24a68749bc00c0966855817df8567a [2022-09-22T04:08:46.296Z] Checking out Revision db272883df24a68749bc00c0966855817df8567a (PR-1213) [2022-09-22T04:08:45.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T04:08:45.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T04:08:45.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T04:08:45.452Z] Verifying host key using known hosts file [2022-09-22T04:08:45.458Z] 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-09-22T04:08:45.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1213/head:refs/remotes/origin/PR-1213 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T04:08:46.044Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T04:08:46.062Z] > git checkout -f db272883df24a68749bc00c0966855817df8567a # timeout=10 [2022-09-22T04:08:46.176Z] > git remote # timeout=10 [2022-09-22T04:08:46.197Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T04:08:46.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T04:08:46.234Z] Verifying host key using known hosts file [2022-09-22T04:08:46.239Z] 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-09-22T04:08:46.249Z] > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 [2022-09-22T04:08:46.278Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T04:08:46.304Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T04:08:46.815Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-09-22T04:08:46.869Z] > git --version # timeout=10 [2022-09-22T04:08:46.881Z] > git --version # 'git version 2.25.1' [2022-09-22T04:08:46.915Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T04:08:47.177Z] [2022-09-22T04:08:47.177Z] GitHub has been notified of this commit’s build result [2022-09-22T04:08:47.177Z] [2022-09-22T04:08:46.327Z] > git checkout -f db272883df24a68749bc00c0966855817df8567a # timeout=10 [2022-09-22T04:08:50.599Z] $ docker top 22d476ab9c9ba8140a0f27cf3e5bd44f06fe68e14f3b660363747c4f3ae08065 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T04:08:51.071Z] ---> job-cost.sh [2022-09-22T04:08:51.071Z] lf-activate-venv: SKIPPING [2022-09-22T04:08:51.071Z] INFO: No Stack... [2022-09-22T04:08:51.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T04:08:51.524Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T04:08:51.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T04:08:51.524Z] Dload Upload Total Spent Left Speed [2022-09-22T04:08:51.524Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh [2022-09-22T04:08:51.900Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T04:08:52.118Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T04:08:52.213Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives/cost.csv [2022-09-22T04:08:52.213Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T04:08:52.272Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] [2022-09-22T04:08:52.277Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] did not exist. Created. [2022-09-22T04:08:52.277Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T04:08:52.462Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T04:08:52.462Z] + sudo tee /etc/docker/daemon.new [2022-09-22T04:08:52.462Z] { [2022-09-22T04:08:52.462Z] "registry-mirrors": [ [2022-09-22T04:08:52.462Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T04:08:52.462Z] ], [2022-09-22T04:08:52.462Z] "bip": "10.250.0.254/24", [2022-09-22T04:08:52.462Z] "hosts": [ [2022-09-22T04:08:52.462Z] "tcp://0.0.0.0:5555", [2022-09-22T04:08:52.462Z] "unix:///var/run/docker.sock" [2022-09-22T04:08:52.462Z] ], [2022-09-22T04:08:52.462Z] "mtu": 1458, [2022-09-22T04:08:52.462Z] "selinux-enabled": true, [2022-09-22T04:08:52.462Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T04:08:52.462Z] } [Pipeline] sh [2022-09-22T04:08:52.671Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T04:08:52.722Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T04:08:52.752Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] [Pipeline] // lock [2022-09-22T04:08:52.805Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } [2022-09-22T04:08:52.815Z] $ docker stop --time=1 22d476ab9c9ba8140a0f27cf3e5bd44f06fe68e14f3b660363747c4f3ae08065 [2022-09-22T04:08:53.974Z] $ docker rm -f 22d476ab9c9ba8140a0f27cf3e5bd44f06fe68e14f3b660363747c4f3ae08065 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T04:08:54.416Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:09:12.734Z] provisioning config files... [2022-09-22T04:09:12.763Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11329366358435840082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:09:13.146Z] ---> docker-login.sh [2022-09-22T04:09:13.146Z] nexus3.edgexfoundry.org:10001 [2022-09-22T04:09:13.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:09:13.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:09:13.686Z] Configure a credential helper to remove this warning. See [2022-09-22T04:09:13.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:09:13.686Z] [2022-09-22T04:09:13.686Z] Login Succeeded [2022-09-22T04:09:13.686Z] nexus3.edgexfoundry.org:10002 [2022-09-22T04:09:13.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:09:13.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:09:13.956Z] Configure a credential helper to remove this warning. See [2022-09-22T04:09:13.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:09:13.956Z] [2022-09-22T04:09:13.956Z] Login Succeeded [2022-09-22T04:09:14.228Z] nexus3.edgexfoundry.org:10003 [2022-09-22T04:09:14.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:09:14.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:09:14.502Z] Configure a credential helper to remove this warning. See [2022-09-22T04:09:14.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:09:14.502Z] [2022-09-22T04:09:14.502Z] Login Succeeded [2022-09-22T04:09:14.502Z] nexus3.edgexfoundry.org:10004 [2022-09-22T04:09:14.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:09:14.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:09:14.775Z] Configure a credential helper to remove this warning. See [2022-09-22T04:09:14.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:09:14.775Z] [2022-09-22T04:09:14.775Z] Login Succeeded [2022-09-22T04:09:14.775Z] docker.io [2022-09-22T04:09:15.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:09:15.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:09:15.314Z] Configure a credential helper to remove this warning. See [2022-09-22T04:09:15.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:09:15.314Z] [2022-09-22T04:09:15.314Z] Login Succeeded [2022-09-22T04:09:15.314Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T04:09:15.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T04:09:15.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:09:15.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:09:15.693Z] ========================================================= [2022-09-22T04:09:15.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T04:09:15.693Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:09:16.199Z] + 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-09-22T04:09:16.468Z] Sending build context to Docker daemon 5.287MB [2022-09-22T04:09:16.468Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:09:16.468Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T04:09:16.739Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T04:09:16.739Z] b3c136eddcbf: Pulling fs layer [2022-09-22T04:09:16.739Z] c0a3192eca97: Pulling fs layer [2022-09-22T04:09:16.739Z] a050256f5b6f: Pulling fs layer [2022-09-22T04:09:16.739Z] 656be50a0ddc: Pulling fs layer [2022-09-22T04:09:16.739Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T04:09:16.739Z] 46d945488cbd: Pulling fs layer [2022-09-22T04:09:16.739Z] 8a5474983e97: Pulling fs layer [2022-09-22T04:09:16.739Z] 329c88fbcd65: Pulling fs layer [2022-09-22T04:09:16.739Z] 2bbca73fdf42: Waiting [2022-09-22T04:09:16.739Z] 46d945488cbd: Waiting [2022-09-22T04:09:16.739Z] 8a5474983e97: Waiting [2022-09-22T04:09:16.739Z] 329c88fbcd65: Waiting [2022-09-22T04:09:16.739Z] 656be50a0ddc: Waiting [2022-09-22T04:09:16.739Z] a050256f5b6f: Verifying Checksum [2022-09-22T04:09:16.739Z] a050256f5b6f: Download complete [2022-09-22T04:09:16.739Z] c0a3192eca97: Download complete [2022-09-22T04:09:16.739Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T04:09:16.739Z] 2bbca73fdf42: Download complete [2022-09-22T04:09:16.739Z] 46d945488cbd: Verifying Checksum [2022-09-22T04:09:16.739Z] 46d945488cbd: Download complete [2022-09-22T04:09:16.739Z] b3c136eddcbf: Verifying Checksum [2022-09-22T04:09:17.712Z] b3c136eddcbf: Pull complete [2022-09-22T04:09:17.712Z] 329c88fbcd65: Verifying Checksum [2022-09-22T04:09:17.712Z] 329c88fbcd65: Download complete [2022-09-22T04:09:18.303Z] c0a3192eca97: Pull complete [2022-09-22T04:09:18.586Z] a050256f5b6f: Pull complete [2022-09-22T04:09:18.856Z] 8a5474983e97: Verifying Checksum [2022-09-22T04:09:18.856Z] 8a5474983e97: Download complete [2022-09-22T04:09:19.443Z] 656be50a0ddc: Verifying Checksum [2022-09-22T04:09:19.443Z] 656be50a0ddc: Download complete [2022-09-22T04:09:31.911Z] 656be50a0ddc: Pull complete [2022-09-22T04:09:31.911Z] 2bbca73fdf42: Pull complete [2022-09-22T04:09:31.911Z] 46d945488cbd: Pull complete [2022-09-22T04:09:38.586Z] 8a5474983e97: Pull complete [2022-09-22T04:09:39.551Z] 329c88fbcd65: Pull complete [2022-09-22T04:09:39.551Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T04:09:39.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T04:09:39.551Z] ---> ff4287adb874 [2022-09-22T04:09:39.551Z] Step 3/11 : ARG MAKE=make build [2022-09-22T04:09:41.583Z] ---> Running in 2aa28990cbd6 [2022-09-22T04:09:41.583Z] Removing intermediate container 2aa28990cbd6 [2022-09-22T04:09:41.583Z] ---> 32bd7e07ab0f [2022-09-22T04:09:41.583Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T04:09:41.583Z] ---> Running in ae42596393ae [2022-09-22T04:09:42.165Z] Removing intermediate container ae42596393ae [2022-09-22T04:09:42.165Z] ---> 806f1d4f3856 [2022-09-22T04:09:42.165Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:09:42.165Z] ---> Running in c556c1b55c5d [2022-09-22T04:09:42.432Z] Removing intermediate container c556c1b55c5d [2022-09-22T04:09:42.432Z] ---> 8013bb484984 [2022-09-22T04:09:42.432Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:09:42.432Z] ---> Running in ec5ea152eee9 [2022-09-22T04:09:44.384Z] Removing intermediate container ec5ea152eee9 [2022-09-22T04:09:44.384Z] ---> 7146a9733af8 [2022-09-22T04:09:44.384Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:09:44.384Z] ---> Running in f37e69b655e8 [2022-09-22T04:09:45.347Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T04:09:46.305Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T04:09:47.271Z] OK: 221 MiB in 51 packages [2022-09-22T04:09:48.236Z] Removing intermediate container f37e69b655e8 [2022-09-22T04:09:48.236Z] ---> b59571fb8402 [2022-09-22T04:09:48.236Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T04:09:48.560Z] ---> 34e8d9f63bc0 [2022-09-22T04:09:48.560Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:09:48.831Z] ---> Running in 9a2b7a92d7c2 [2022-09-22T04:10:35.722Z] Removing intermediate container 9a2b7a92d7c2 [2022-09-22T04:10:35.722Z] ---> 3cf8e6570e13 [2022-09-22T04:10:35.722Z] Step 10/11 : COPY . . [2022-09-22T04:10:35.992Z] ---> 371ec789a825 [2022-09-22T04:10:35.992Z] Step 11/11 : RUN ${MAKE} [2022-09-22T04:10:35.992Z] ---> Running in abc0f5891fdf [2022-09-22T04:10:36.961Z] noop [2022-09-22T04:10:37.545Z] Removing intermediate container abc0f5891fdf [2022-09-22T04:10:37.545Z] ---> fc40ae8a9fb8 [2022-09-22T04:10:37.545Z] Successfully built fc40ae8a9fb8 [2022-09-22T04:10:37.545Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:10:38.037Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T04:10:38.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:10:38.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-530 does not seem to be running inside a container [2022-09-22T04:10:38.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T04:10:39.514Z] $ docker top aba61b4bca475edf2209d618d192b617387d160e1ebe82b42b730bd3ccf886bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:10:40.388Z] + go version [2022-09-22T04:10:40.388Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T04:10:40.420Z] $ docker stop --time=1 aba61b4bca475edf2209d618d192b617387d160e1ebe82b42b730bd3ccf886bf [2022-09-22T04:10:42.045Z] $ docker rm -f aba61b4bca475edf2209d618d192b617387d160e1ebe82b42b730bd3ccf886bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:10:42.882Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T04:10:42.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:10:43.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-530 does not seem to be running inside a container [2022-09-22T04:10:43.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T04:10:44.347Z] $ docker top ec7e835639f9dcd619e69067c84e0c136a5865eb2d22b36f6f411605624fb1cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:10:44.894Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-22T04:10:45.274Z] + make test [2022-09-22T04:10:45.275Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T04:11:17.484Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T04:13:24.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T04:13:24.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T04:13:24.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T04:13:24.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T04:13:24.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T04:13:24.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.480s coverage: 27.6% of statements [2022-09-22T04:13:26.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.724s coverage: 78.9% of statements [2022-09-22T04:13:26.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T04:13:31.479Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.631s coverage: 60.0% of statements [2022-09-22T04:13:31.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T04:13:31.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T04:13:36.825Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.636s coverage: 54.4% of statements [2022-09-22T04:13:36.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T04:13:36.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T04:13:36.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T04:13:37.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.629s coverage: 65.1% of statements [2022-09-22T04:13:37.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T04:13:37.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T04:13:37.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.724s coverage: 89.2% of statements [2022-09-22T04:13:37.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T04:13:40.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.262s coverage: 4.5% of statements [2022-09-22T04:13:40.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T04:13:41.354Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T04:13:41.354Z] GO111MODULE=on go vet ./... [2022-09-22T04:15:33.056Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T04:15:33.056Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T04:15:33.056Z] ./bin/test-attribution-txt.sh [2022-09-22T04:15:33.056Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T04:15:33.056Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T04:15:33.056Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T04:15:33.056Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T04:15:33.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T04:15:33.130Z] $ docker stop --time=1 ec7e835639f9dcd619e69067c84e0c136a5865eb2d22b36f6f411605624fb1cb [2022-09-22T04:15:34.989Z] $ docker rm -f ec7e835639f9dcd619e69067c84e0c136a5865eb2d22b36f6f411605624fb1cb [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T04:15:36.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T04:15:36.545Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T04:15:37.089Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T04:15:37.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T04:15:38.009Z] + ls -al . [2022-09-22T04:15:38.009Z] total 272 [2022-09-22T04:15:38.009Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 04:10 . [2022-09-22T04:15:38.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:08 .. [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:08 .dockerignore [2022-09-22T04:15:38.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:08 .git [2022-09-22T04:15:38.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:08 .github [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 04:08 .gitignore [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 04:08 .golangci.yml [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 04:08 CHANGELOG.md [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 04:08 GOVERNANCE.md [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 04:08 Jenkinsfile [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:08 LICENSE [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 04:08 Makefile [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 04:08 OWNERS.md [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 04:08 README.md [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:06 VERSION [2022-09-22T04:15:38.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:08 bin [2022-09-22T04:15:38.009Z] -rw-r--r-- 1 jenkins jenkins 101643 Sep 22 04:13 coverage.out [2022-09-22T04:15:38.009Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:08 example [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 22 04:08 go.mod [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 22 04:08 go.sum [2022-09-22T04:15:38.009Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 04:08 internal [2022-09-22T04:15:38.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:08 openapi [2022-09-22T04:15:38.009Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 04:08 pkg [2022-09-22T04:15:38.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:08 snap [2022-09-22T04:15:38.009Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:15:38.437Z] + 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=db272883df24a68749bc00c0966855817df8567a --label arch=arm64 --label version=0.0.0 . [2022-09-22T04:15:39.024Z] Sending build context to Docker daemon 5.39MB [2022-09-22T04:15:39.024Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:15:39.024Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T04:15:39.024Z] ---> fc40ae8a9fb8 [2022-09-22T04:15:39.024Z] Step 3/25 : ARG MAKE=make build [2022-09-22T04:15:39.024Z] ---> Running in aff4147fce49 [2022-09-22T04:15:39.294Z] Removing intermediate container aff4147fce49 [2022-09-22T04:15:39.294Z] ---> 001a2908a964 [2022-09-22T04:15:39.294Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T04:15:39.294Z] ---> Running in f54b8a64268c [2022-09-22T04:15:39.881Z] Removing intermediate container f54b8a64268c [2022-09-22T04:15:39.881Z] ---> ebbc72caaee9 [2022-09-22T04:15:39.881Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:15:39.881Z] ---> Running in f5aaf8425c5f [2022-09-22T04:15:40.154Z] Removing intermediate container f5aaf8425c5f [2022-09-22T04:15:40.154Z] ---> 269370b471f5 [2022-09-22T04:15:40.155Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:15:40.155Z] ---> Running in 799dc97323da [2022-09-22T04:15:42.111Z] Removing intermediate container 799dc97323da [2022-09-22T04:15:42.111Z] ---> 893c92c2cf0a [2022-09-22T04:15:42.111Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:15:42.111Z] ---> Running in dc8920b6fc07 [2022-09-22T04:15:43.082Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T04:15:44.046Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T04:15:45.017Z] OK: 221 MiB in 51 packages [2022-09-22T04:15:45.979Z] Removing intermediate container dc8920b6fc07 [2022-09-22T04:15:45.979Z] ---> c249e8c428f9 [2022-09-22T04:15:45.979Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T04:15:46.569Z] ---> e101d2bc8dca [2022-09-22T04:15:46.569Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:15:46.569Z] ---> Running in 59abe2b7f600 [2022-09-22T04:15:48.524Z] Removing intermediate container 59abe2b7f600 [2022-09-22T04:15:48.524Z] ---> 6839a552f9b1 [2022-09-22T04:15:48.524Z] Step 10/25 : COPY . . [2022-09-22T04:15:49.502Z] ---> 6496f5a7e75d [2022-09-22T04:15:49.502Z] Step 11/25 : RUN ${MAKE} [2022-09-22T04:15:49.771Z] ---> Running in 3695c0e6fb41 [2022-09-22T04:15:50.735Z] 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-09-22T04:18:12.610Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T04:18:13.590Z] Removing intermediate container 3695c0e6fb41 [2022-09-22T04:18:13.590Z] ---> 03c139121910 [2022-09-22T04:18:13.590Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T04:18:14.561Z] 3.16: Pulling from library/alpine [2022-09-22T04:18:14.830Z] 9b18e9b68314: Pulling fs layer [2022-09-22T04:18:14.830Z] 9b18e9b68314: Verifying Checksum [2022-09-22T04:18:14.830Z] 9b18e9b68314: Download complete [2022-09-22T04:18:15.411Z] 9b18e9b68314: Pull complete [2022-09-22T04:18:15.411Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T04:18:15.411Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T04:18:15.411Z] ---> a6215f271958 [2022-09-22T04:18:15.411Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:18:15.411Z] ---> Running in 84e868bd6247 [2022-09-22T04:18:15.999Z] Removing intermediate container 84e868bd6247 [2022-09-22T04:18:15.999Z] ---> e584bf561841 [2022-09-22T04:18:15.999Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:18:15.999Z] ---> Running in 8510a65d077c [2022-09-22T04:18:17.413Z] Removing intermediate container 8510a65d077c [2022-09-22T04:18:17.413Z] ---> 8611dbac1250 [2022-09-22T04:18:17.413Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T04:18:17.413Z] ---> Running in ebf52b37bd1c [2022-09-22T04:18:18.374Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T04:18:19.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T04:18:20.297Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T04:18:20.297Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T04:18:20.563Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T04:18:20.563Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T04:18:20.830Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T04:18:20.830Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T04:18:20.830Z] OK: 8 MiB in 19 packages [2022-09-22T04:18:21.791Z] Removing intermediate container ebf52b37bd1c [2022-09-22T04:18:21.791Z] ---> 9d0f544b84a9 [2022-09-22T04:18:21.791Z] Step 16/25 : WORKDIR / [2022-09-22T04:18:21.791Z] ---> Running in 3572638442c5 [2022-09-22T04:18:22.058Z] Removing intermediate container 3572638442c5 [2022-09-22T04:18:22.058Z] ---> 530215297182 [2022-09-22T04:18:22.058Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T04:18:22.641Z] ---> d51b64ec39cb [2022-09-22T04:18:22.641Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T04:18:24.051Z] ---> 070c6a49cffe [2022-09-22T04:18:24.051Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T04:18:24.319Z] ---> fe2366c5c552 [2022-09-22T04:18:24.319Z] Step 20/25 : EXPOSE 59999 [2022-09-22T04:18:24.590Z] ---> Running in bbfe7eb02d94 [2022-09-22T04:18:24.862Z] Removing intermediate container bbfe7eb02d94 [2022-09-22T04:18:24.862Z] ---> 29f4d189499e [2022-09-22T04:18:24.862Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T04:18:24.862Z] ---> Running in bd89c8318fe1 [2022-09-22T04:18:25.132Z] Removing intermediate container bd89c8318fe1 [2022-09-22T04:18:25.132Z] ---> 40892d3abd53 [2022-09-22T04:18:25.132Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T04:18:25.132Z] ---> Running in fceb0cb9d4f1 [2022-09-22T04:18:25.401Z] Removing intermediate container fceb0cb9d4f1 [2022-09-22T04:18:25.401Z] ---> 87599f23a2de [2022-09-22T04:18:25.401Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T04:18:25.668Z] ---> Running in 493df0457d71 [2022-09-22T04:18:25.938Z] Removing intermediate container 493df0457d71 [2022-09-22T04:18:25.938Z] ---> b3fab1764659 [2022-09-22T04:18:25.938Z] Step 24/25 : LABEL git_sha=db272883df24a68749bc00c0966855817df8567a [2022-09-22T04:18:25.938Z] ---> Running in 592c8cc698de [2022-09-22T04:18:26.205Z] Removing intermediate container 592c8cc698de [2022-09-22T04:18:26.205Z] ---> fadc3a51c10d [2022-09-22T04:18:26.205Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T04:18:26.205Z] ---> Running in df891a9a1027 [2022-09-22T04:18:26.476Z] Removing intermediate container df891a9a1027 [2022-09-22T04:18:26.476Z] ---> 4813a9731f55 [2022-09-22T04:18:26.476Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T04:18:26.744Z] Successfully built 4813a9731f55 [2022-09-22T04:18:26.744Z] 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-09-22T04:18:27.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T04:18:27.552Z] [2022-09-22T04:18:27.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:18:27.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T04:18:27.948Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T04:18:27.948Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T04:18:27.948Z] 04944245beec: Pulling fs layer [2022-09-22T04:18:27.948Z] 699f458cf7ca: Pulling fs layer [2022-09-22T04:18:27.948Z] 765212b225bb: Pulling fs layer [2022-09-22T04:18:27.948Z] f23df028b6ca: Pulling fs layer [2022-09-22T04:18:27.948Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T04:18:27.948Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T04:18:27.948Z] f23df028b6ca: Waiting [2022-09-22T04:18:27.948Z] d65c8cfc05b1: Waiting [2022-09-22T04:18:27.948Z] 2437ff75d9bd: Waiting [2022-09-22T04:18:27.948Z] 765212b225bb: Waiting [2022-09-22T04:18:28.218Z] 04944245beec: Verifying Checksum [2022-09-22T04:18:28.218Z] 04944245beec: Download complete [2022-09-22T04:18:28.218Z] 765212b225bb: Verifying Checksum [2022-09-22T04:18:28.218Z] 765212b225bb: Download complete [2022-09-22T04:18:28.218Z] f23df028b6ca: Verifying Checksum [2022-09-22T04:18:28.218Z] f23df028b6ca: Download complete [2022-09-22T04:18:28.218Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T04:18:28.218Z] d65c8cfc05b1: Download complete [2022-09-22T04:18:28.488Z] 699f458cf7ca: Verifying Checksum [2022-09-22T04:18:28.488Z] 699f458cf7ca: Download complete [2022-09-22T04:18:28.769Z] 8998bd30e6a1: Download complete [2022-09-22T04:18:31.356Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T04:18:31.356Z] 2437ff75d9bd: Download complete [2022-09-22T04:18:32.768Z] 8998bd30e6a1: Pull complete [2022-09-22T04:18:33.353Z] 04944245beec: Pull complete [2022-09-22T04:18:34.763Z] 699f458cf7ca: Pull complete [2022-09-22T04:18:35.030Z] 765212b225bb: Pull complete [2022-09-22T04:18:35.616Z] f23df028b6ca: Pull complete [2022-09-22T04:18:35.884Z] d65c8cfc05b1: Pull complete [2022-09-22T04:18:50.882Z] 2437ff75d9bd: Pull complete [2022-09-22T04:18:50.882Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T04:18:50.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T04:18:50.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:18:51.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-530 does not seem to be running inside a container [2022-09-22T04:18:51.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T04:18:54.176Z] $ docker top 37a5d649267e5dbfea8d8ae6945a6587679fddfaad896cd33a3eef9d9d8abb6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:18:55.078Z] ---> job-cost.sh [2022-09-22T04:18:55.078Z] lf-activate-venv: SKIPPING [2022-09-22T04:18:55.078Z] INFO: No Stack... [2022-09-22T04:18:55.345Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T04:18:56.304Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T04:18:56.642Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-09-22T04:18:56.642Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T04:18:56.719Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] [2022-09-22T04:18:56.724Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] did not exist. Created. [2022-09-22T04:18:56.724Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T04:18:57.133Z] /w/workspace/device-sdk-go/1@tmp/durable-fe148544/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T04:18:57.808Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T04:18:57.842Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T04:18:57.905Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T04:18:57.922Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1213-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T04:18:58.000Z] $ docker stop --time=1 37a5d649267e5dbfea8d8ae6945a6587679fddfaad896cd33a3eef9d9d8abb6e [2022-09-22T04:18:59.497Z] $ docker rm -f 37a5d649267e5dbfea8d8ae6945a6587679fddfaad896cd33a3eef9d9d8abb6e [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-09-22T04:19:00.526Z] provisioning config files... [2022-09-22T04:19:00.536Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/config5944564919574406011tmp [Pipeline] { [Pipeline] sh [2022-09-22T04:19:00.865Z] + set +x [2022-09-22T04:19:00.865Z] + bash -s -- [2022-09-22T04:19:00.865Z] + curl -s https://codecov.io/bash [2022-09-22T04:19:00.865Z] [2022-09-22T04:19:00.865Z] _____ _ [2022-09-22T04:19:00.865Z] / ____| | | [2022-09-22T04:19:00.865Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T04:19:00.865Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T04:19:00.865Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T04:19:00.865Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T04:19:00.865Z] Bash-1.0.6 [2022-09-22T04:19:00.865Z] [2022-09-22T04:19:00.865Z] [2022-09-22T04:19:00.865Z] ==> git version 2.25.1 found [2022-09-22T04:19:00.865Z] ==> 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-09-22T04:19:00.865Z] Release-Date: 2020-01-08 [2022-09-22T04:19:00.865Z] 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-09-22T04:19:00.865Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T04:19:00.865Z] ==> Jenkins CI detected. [2022-09-22T04:19:00.865Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1213 [2022-09-22T04:19:00.865Z] project root: . [2022-09-22T04:19:00.865Z] --> token set from env [2022-09-22T04:19:00.865Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T04:19:00.865Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T04:19:00.865Z] ==> Python coveragepy not found [2022-09-22T04:19:00.865Z] ==> Searching for coverage reports in: [2022-09-22T04:19:00.865Z] + . [2022-09-22T04:19:00.865Z] -> Found 1 reports [2022-09-22T04:19:00.865Z] ==> Detecting git/mercurial file structure [2022-09-22T04:19:00.865Z] ==> Reading reports [2022-09-22T04:19:01.121Z] + ./coverage.out bytes=101643 [2022-09-22T04:19:01.121Z] ==> Appending adjustments [2022-09-22T04:19:01.121Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T04:19:01.378Z] + Found adjustments [2022-09-22T04:19:01.378Z] ==> Gzipping contents [2022-09-22T04:19:01.378Z] 16K /tmp/codecov.GFpOgx.gz [2022-09-22T04:19:01.378Z] ==> Uploading reports [2022-09-22T04:19:01.378Z] url: https://codecov.io [2022-09-22T04:19:01.378Z] query: branch=PR-1213&commit=db272883df24a68749bc00c0966855817df8567a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1213&job=&cmd_args= [2022-09-22T04:19:01.378Z] -> Pinging Codecov [2022-09-22T04:19:01.378Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1213&commit=db272883df24a68749bc00c0966855817df8567a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1213&job=&cmd_args= [2022-09-22T04:19:01.637Z] -> Uploading to [2022-09-22T04:19:01.637Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/db272883df24a68749bc00c0966855817df8567a/7702f12a-f0c3-4649-bee4-afe0277adba3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T041901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=837b5de792e722aa6ea4b7b29d6401451c67651de1ffc82327d9f8447d777b06 [2022-09-22T04:19:01.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T04:19:01.637Z] Dload Upload Total Spent Left Speed [2022-09-22T04:19:01.895Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14490 0 0 100 14490 0 60375 --:--:-- --:--:-- --:--:-- 60375 [2022-09-22T04:19:01.895Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/db272883df24a68749bc00c0966855817df8567a [Pipeline] } [2022-09-22T04:19:01.925Z] 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-09-22T04:19:03.615Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives ] [2022-09-22T04:19:03.615Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives [2022-09-22T04:19:03.615Z] total 16 [2022-09-22T04:19:03.615Z] drwxr-xr-x 3 root root 4096 Sep 22 04:08 . [2022-09-22T04:19:03.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 04:08 .. [2022-09-22T04:19:03.615Z] drwxr-xr-x 2 root root 4096 Sep 22 04:08 cost [2022-09-22T04:19:03.615Z] -rw-r--r-- 1 root root 86 Sep 22 04:08 cost.csv [2022-09-22T04:19:03.615Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives [2022-09-22T04:19:03.615Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives [2022-09-22T04:19:03.615Z] total 16 [2022-09-22T04:19:03.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 04:08 . [2022-09-22T04:19:03.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 04:08 .. [2022-09-22T04:19:03.615Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 04:08 cost [2022-09-22T04:19:03.615Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:03.937Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:04.815Z] ---> package-listing.sh [2022-09-22T04:19:04.815Z] ++ facter osfamily [2022-09-22T04:19:04.815Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T04:19:04.815Z] + OS_FAMILY=debian [2022-09-22T04:19:04.815Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1213 [2022-09-22T04:19:04.815Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T04:19:04.815Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T04:19:04.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T04:19:04.815Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T04:19:04.815Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1213 ']' [2022-09-22T04:19:04.815Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T04:19:04.815Z] + case "${OS_FAMILY}" in [2022-09-22T04:19:04.815Z] + grep '^ii' [2022-09-22T04:19:04.815Z] + dpkg -l [2022-09-22T04:19:05.073Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T04:19:05.073Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T04:19:05.073Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T04:19:05.073Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1213 ']' [2022-09-22T04:19:05.073Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives/ [2022-09-22T04:19:05.073Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1213/archives/ [Pipeline] echo [2022-09-22T04:19:05.110Z] 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-1213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T04:19:05.402Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:19:06.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:19:06.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:19:06.171Z] prd-ubuntu20.04-docker-8c-8g-525 does not seem to be running inside a container [2022-09-22T04:19:06.190Z] $ 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-1213/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-1213 -v /w/workspace/gexfoundry_device-sdk-go_PR-1213:/w/workspace/gexfoundry_device-sdk-go_PR-1213:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T04:19:06.406Z] $ docker top b830569c1b9dbfe66e3bc5309f982df12bd831ccae112817c61db5571fa493f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:19:06.807Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T04:19:07.115Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T04:19:07.421Z] + ls /var/log/sa-host [2022-09-22T04:19:07.421Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:19:07.636Z] provisioning config files... [2022-09-22T04:19:07.645Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1213@tmp/config380108770295458825tmp [Pipeline] { [Pipeline] echo [2022-09-22T04:19:07.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:08.006Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T04:19:08.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:08.435Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T04:19:08.466Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:08.779Z] ---> sudo-logs.sh [2022-09-22T04:19:08.779Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T04:19:08.859Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:09.171Z] ---> job-cost.sh [2022-09-22T04:19:09.171Z] lf-activate-venv: SKIPPING [2022-09-22T04:19:09.171Z] DEBUG: total: 0.2199999988079071 [2022-09-22T04:19:09.171Z] INFO: Retrieving Stack Cost... [2022-09-22T04:19:09.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T04:19:09.999Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T04:19:10.035Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:19:10.348Z] ---> logs-deploy.sh [2022-09-22T04:19:10.348Z] lf-activate-venv: SKIPPING [2022-09-22T04:19:10.348Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1213/1 [2022-09-22T04:19:10.348Z] INFO: archiving workspace using pattern(s): [2022-09-22T04:19:11.285Z] Archives upload complete. [2022-09-22T04:19:11.545Z] INFO: archiving logs to Nexus