Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+8440b6e6a0b4fbc11eae3accc59dfe046b726d13 (36c3ae8297afecc4a69151e69b06660521ef5780) 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-ssh13098629339984631565.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8154058590624299839.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5046143410124733853.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3249843823061063608.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9223482167769502021.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22648 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b Checking out Revision ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b (PR-1196) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b # timeout=10 Commit message: "Merge commit '8440b6e6a0b4fbc11eae3accc59dfe046b726d13' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e3db5d35a07165cdee6026088026e2f280ec336d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T22:41:20.209Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T22:41:20.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T22:41:20.263Z] ========================================================= [2022-08-12T22:41:20.263Z] EdgeX Global Pipelines Version Info [2022-08-12T22:41:20.263Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:41:21.382Z] ------------------- [2022-08-12T22:41:21.382Z] stable info: [2022-08-12T22:41:21.382Z] ------------------- [2022-08-12T22:41:21.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T22:41:21.382Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T22:41:21.382Z] Message: update stable to v1.0.238 [2022-08-12T22:41:21.644Z] ------------------- [2022-08-12T22:41:21.644Z] experimental info: [2022-08-12T22:41:21.644Z] ------------------- [2022-08-12T22:41:21.644Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T22:41:21.644Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T22:41:21.644Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T22:41:21.860Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-08-12T22:41:21.873Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-08-12T22:41:21.888Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T22:41:21.899Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T22:41:21.908Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T22:41:21.918Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T22:41:21.927Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T22:41:21.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-08-12T22:41:21.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T22:41:21.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T22:41:21.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T22:41:21.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-08-12T22:41:21.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T22:41:21.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T22:41:21.998Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T22:41:22.008Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T22:41:22.018Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T22:41:22.102Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T22:41:22.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T22:41:22.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T22:41:22.134Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-12T22:41:22.145Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-08-12T22:41:22.153Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T22:41:22.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T22:41:22.169Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T22:41:22.179Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T22:41:22.189Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T22:41:22.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-08-12T22:41:22.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-08-12T22:41:22.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-08-12T22:41:22.234Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [Pipeline] echo [2022-08-12T22:41:22.249Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce5b1e3 [Pipeline] echo [2022-08-12T22:41:22.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T22:41:22.301Z] provisioning config files... [2022-08-12T22:41:22.329Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config5118403517335889135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:41:22.637Z] ---> docker-login.sh [2022-08-12T22:41:22.637Z] nexus3.edgexfoundry.org:10001 [2022-08-12T22:41:22.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:23.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:23.161Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:23.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:23.161Z] [2022-08-12T22:41:23.161Z] Login Succeeded [2022-08-12T22:41:23.161Z] nexus3.edgexfoundry.org:10002 [2022-08-12T22:41:23.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:23.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:23.424Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:23.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:23.424Z] [2022-08-12T22:41:23.424Z] Login Succeeded [2022-08-12T22:41:23.424Z] nexus3.edgexfoundry.org:10003 [2022-08-12T22:41:23.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:23.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:23.424Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:23.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:23.424Z] [2022-08-12T22:41:23.424Z] Login Succeeded [2022-08-12T22:41:23.424Z] nexus3.edgexfoundry.org:10004 [2022-08-12T22:41:23.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:23.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:23.685Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:23.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:23.685Z] [2022-08-12T22:41:23.685Z] Login Succeeded [2022-08-12T22:41:23.685Z] docker.io [2022-08-12T22:41:23.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:23.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:23.947Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:23.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:23.947Z] [2022-08-12T22:41:23.947Z] Login Succeeded [2022-08-12T22:41:24.209Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T22:41:24.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T22:41:24.603Z] + git rev-list -1 --merges ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b~1..ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [Pipeline] echo [2022-08-12T22:41:24.632Z] -----------> git rev-list -1 --merges ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b~1..ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [2022-08-12T22:41:24.632Z] ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [false] [Pipeline] sh [2022-08-12T22:41:24.946Z] + git log --format=format:%s -1 ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [Pipeline] echo [2022-08-12T22:41:24.961Z] ========================================================= [2022-08-12T22:41:24.961Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T22:41:24.961Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T22:41:25.303Z] + git log --format=format:%s -1 ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [Pipeline] echo [2022-08-12T22:41:25.316Z] [semverPrep] GIT_COMMIT: ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b, Commit Message: Merge commit '8440b6e6a0b4fbc11eae3accc59dfe046b726d13' into HEAD [Pipeline] echo [2022-08-12T22:41:25.327Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T22:41:25.697Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T22:41:25.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T22:41:25.697Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T22:41:25.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T22:41:25.697Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T22:41:25.697Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T22:41:25.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:41:26.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T22:41:26.114Z] [2022-08-12T22:41:26.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:41:26.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T22:41:26.425Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T22:41:26.425Z] b85a868b505f: Pulling fs layer [2022-08-12T22:41:26.425Z] e2be974225ed: Pulling fs layer [2022-08-12T22:41:26.425Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T22:41:26.425Z] 988bab9f4d93: Pulling fs layer [2022-08-12T22:41:26.425Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T22:41:26.425Z] eaf3925da568: Pulling fs layer [2022-08-12T22:41:26.425Z] bab4dde63d76: Pulling fs layer [2022-08-12T22:41:26.425Z] bde34c3a00c8: Pulling fs layer [2022-08-12T22:41:26.425Z] b352a97aabf1: Pulling fs layer [2022-08-12T22:41:26.425Z] 4872d77fe225: Pulling fs layer [2022-08-12T22:41:26.425Z] 5851b861e8e6: Pulling fs layer [2022-08-12T22:41:26.425Z] 4872d77fe225: Waiting [2022-08-12T22:41:26.425Z] bab4dde63d76: Waiting [2022-08-12T22:41:26.425Z] 5851b861e8e6: Waiting [2022-08-12T22:41:26.425Z] bde34c3a00c8: Waiting [2022-08-12T22:41:26.425Z] 988bab9f4d93: Waiting [2022-08-12T22:41:26.425Z] 1469e6f7b9e6: Waiting [2022-08-12T22:41:26.425Z] eaf3925da568: Waiting [2022-08-12T22:41:26.425Z] b352a97aabf1: Waiting [2022-08-12T22:41:26.425Z] e2be974225ed: Verifying Checksum [2022-08-12T22:41:26.425Z] e2be974225ed: Download complete [2022-08-12T22:41:26.425Z] 988bab9f4d93: Download complete [2022-08-12T22:41:26.684Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T22:41:26.684Z] 1469e6f7b9e6: Download complete [2022-08-12T22:41:26.684Z] eaf3925da568: Verifying Checksum [2022-08-12T22:41:26.684Z] eaf3925da568: Download complete [2022-08-12T22:41:26.684Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T22:41:26.684Z] 339a4e72a1f5: Download complete [2022-08-12T22:41:26.684Z] bde34c3a00c8: Verifying Checksum [2022-08-12T22:41:26.684Z] bde34c3a00c8: Download complete [2022-08-12T22:41:26.684Z] b352a97aabf1: Download complete [2022-08-12T22:41:26.684Z] 4872d77fe225: Verifying Checksum [2022-08-12T22:41:26.684Z] 4872d77fe225: Download complete [2022-08-12T22:41:26.684Z] 5851b861e8e6: Verifying Checksum [2022-08-12T22:41:26.684Z] 5851b861e8e6: Download complete [2022-08-12T22:41:26.684Z] b85a868b505f: Verifying Checksum [2022-08-12T22:41:26.684Z] b85a868b505f: Download complete [2022-08-12T22:41:26.944Z] bab4dde63d76: Verifying Checksum [2022-08-12T22:41:26.944Z] bab4dde63d76: Download complete [2022-08-12T22:41:28.327Z] b85a868b505f: Pull complete [2022-08-12T22:41:28.327Z] e2be974225ed: Pull complete [2022-08-12T22:41:28.587Z] 339a4e72a1f5: Pull complete [2022-08-12T22:41:28.855Z] 988bab9f4d93: Pull complete [2022-08-12T22:41:29.133Z] 1469e6f7b9e6: Pull complete [2022-08-12T22:41:29.134Z] eaf3925da568: Pull complete [2022-08-12T22:41:31.678Z] bab4dde63d76: Pull complete [2022-08-12T22:41:31.678Z] bde34c3a00c8: Pull complete [2022-08-12T22:41:31.678Z] b352a97aabf1: Pull complete [2022-08-12T22:41:31.678Z] 4872d77fe225: Pull complete [2022-08-12T22:41:31.678Z] 5851b861e8e6: Pull complete [2022-08-12T22:41:31.678Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T22:41:31.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T22:41:31.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:41:31.782Z] prd-ubuntu20.04-docker-8c-8g-22648 does not seem to be running inside a container [2022-08-12T22:41:31.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-12T22:41:33.092Z] $ docker top 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a -eo pid,comm [2022-08-12T22:41:33.166Z] 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-08-12T22:41:33.166Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T22:41:33.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T22:41:33.205Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T22:41:33.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T22:41:33.336Z] $ docker exec 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a ssh-agent [2022-08-12T22:41:33.473Z] SSH_AUTH_SOCK=/tmp/ssh-CicTsx6P4jDW/agent.32 [2022-08-12T22:41:33.473Z] SSH_AGENT_PID=38 [2022-08-12T22:41:33.481Z] Running ssh-add (command line suppressed) [2022-08-12T22:41:33.599Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_744646336625235822.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_744646336625235822.key) [2022-08-12T22:41:33.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T22:41:33.908Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T22:41:33.928Z] $ docker exec --env ******** --env ******** 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a ssh-agent -k [2022-08-12T22:41:34.053Z] unset SSH_AUTH_SOCK; [2022-08-12T22:41:34.054Z] unset SSH_AGENT_PID; [2022-08-12T22:41:34.054Z] echo Agent pid 38 killed; [2022-08-12T22:41:34.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T22:41:34.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T22:41:34.093Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T22:41:34.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T22:41:34.233Z] $ docker exec 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a ssh-agent [2022-08-12T22:41:34.354Z] SSH_AUTH_SOCK=/tmp/ssh-R15pD7cEiPVF/agent.70 [2022-08-12T22:41:34.354Z] SSH_AGENT_PID=77 [2022-08-12T22:41:34.361Z] Running ssh-add (command line suppressed) [2022-08-12T22:41:34.487Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_3609015027813565693.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_3609015027813565693.key) [2022-08-12T22:41:34.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T22:41:34.802Z] + git semver init [2022-08-12T22:41:35.063Z] 2022-08-12 22:41:35,042 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T22:41:35.063Z] 2022-08-12 22:41:35,043 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-08-12T22:41:35.063Z] 2022-08-12 22:41:35,043 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-08-12T22:41:35.063Z] 2022-08-12 22:41:35,043 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) [2022-08-12T22:41:36.006Z] 2022-08-12 22:41:35,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,810 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,815 [execute] INFO git cat-file --batch-check [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,822 [execute] INFO git cat-file --batch [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T22:41:36.007Z] 2022-08-12 22:41:35,828 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-08-12T22:41:36.007Z] 0.0.0 [Pipeline] } [2022-08-12T22:41:36.019Z] $ docker exec --env ******** --env ******** 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a ssh-agent -k [2022-08-12T22:41:36.141Z] unset SSH_AUTH_SOCK; [2022-08-12T22:41:36.142Z] unset SSH_AGENT_PID; [2022-08-12T22:41:36.142Z] echo Agent pid 77 killed; [2022-08-12T22:41:36.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T22:41:36.461Z] + git semver [Pipeline] } [2022-08-12T22:41:36.744Z] $ docker stop --time=1 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a [2022-08-12T22:41:38.051Z] $ docker rm -f 5cf0ac295daa3d1e17238e5a69538e6430a3b15219a829f9a8f4d6b53fff238a [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T22:41:38.408Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T22:41:38.656Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T22:41:38.659Z] [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-08-12T22:41:38.805Z] provisioning config files... [2022-08-12T22:41:38.815Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config5178153063379289432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:41:39.110Z] ---> docker-login.sh [2022-08-12T22:41:39.110Z] nexus3.edgexfoundry.org:10001 [2022-08-12T22:41:39.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:39.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:39.110Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:39.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:39.110Z] [2022-08-12T22:41:39.110Z] Login Succeeded [2022-08-12T22:41:39.110Z] nexus3.edgexfoundry.org:10002 [2022-08-12T22:41:39.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:39.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:39.371Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:39.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:39.371Z] [2022-08-12T22:41:39.372Z] Login Succeeded [2022-08-12T22:41:39.372Z] nexus3.edgexfoundry.org:10003 [2022-08-12T22:41:39.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:39.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:39.372Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:39.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:39.372Z] [2022-08-12T22:41:39.372Z] Login Succeeded [2022-08-12T22:41:39.372Z] nexus3.edgexfoundry.org:10004 [2022-08-12T22:41:39.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:39.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:39.633Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:39.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:39.633Z] [2022-08-12T22:41:39.633Z] Login Succeeded [2022-08-12T22:41:39.633Z] docker.io [2022-08-12T22:41:39.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:41:39.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:41:39.893Z] Configure a credential helper to remove this warning. See [2022-08-12T22:41:39.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:41:39.893Z] [2022-08-12T22:41:39.893Z] Login Succeeded [2022-08-12T22:41:39.893Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T22:41:39.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T22:41:39.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T22:41:39.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T22:41:39.981Z] ========================================================= [2022-08-12T22:41:39.981Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T22:41:39.981Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:41:40.308Z] + 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-08-12T22:41:40.308Z] Sending build context to Docker daemon 9.806MB [2022-08-12T22:41:40.308Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T22:41:40.308Z] Step 2/11 : FROM ${BASE} AS builder [2022-08-12T22:41:40.570Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T22:41:40.570Z] 2408cc74d12b: Pulling fs layer [2022-08-12T22:41:40.570Z] ea60b727a1ce: Pulling fs layer [2022-08-12T22:41:40.570Z] 30c4a7721957: Pulling fs layer [2022-08-12T22:41:40.570Z] 370296b7ddb6: Pulling fs layer [2022-08-12T22:41:40.570Z] 7c6cee850709: Pulling fs layer [2022-08-12T22:41:40.570Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T22:41:40.570Z] d94ebbe4e438: Pulling fs layer [2022-08-12T22:41:40.570Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T22:41:40.570Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T22:41:40.570Z] 39a5fcdaea64: Waiting [2022-08-12T22:41:40.570Z] d94ebbe4e438: Waiting [2022-08-12T22:41:40.570Z] bcfd1f05c69d: Waiting [2022-08-12T22:41:40.570Z] 59ccb84bbe0f: Waiting [2022-08-12T22:41:40.570Z] 370296b7ddb6: Waiting [2022-08-12T22:41:40.570Z] 7c6cee850709: Waiting [2022-08-12T22:41:40.570Z] 30c4a7721957: Download complete [2022-08-12T22:41:40.570Z] ea60b727a1ce: Download complete [2022-08-12T22:41:40.570Z] 7c6cee850709: Verifying Checksum [2022-08-12T22:41:40.570Z] 7c6cee850709: Download complete [2022-08-12T22:41:40.570Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T22:41:40.570Z] 39a5fcdaea64: Download complete [2022-08-12T22:41:40.570Z] 2408cc74d12b: Verifying Checksum [2022-08-12T22:41:40.570Z] 2408cc74d12b: Download complete [2022-08-12T22:41:40.570Z] d94ebbe4e438: Verifying Checksum [2022-08-12T22:41:40.570Z] d94ebbe4e438: Download complete [2022-08-12T22:41:40.834Z] 2408cc74d12b: Pull complete [2022-08-12T22:41:40.834Z] ea60b727a1ce: Pull complete [2022-08-12T22:41:40.834Z] 30c4a7721957: Pull complete [2022-08-12T22:41:41.099Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T22:41:41.099Z] 59ccb84bbe0f: Download complete [2022-08-12T22:41:41.099Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T22:41:41.099Z] bcfd1f05c69d: Download complete [2022-08-12T22:41:41.359Z] 370296b7ddb6: Verifying Checksum [2022-08-12T22:41:41.359Z] 370296b7ddb6: Download complete [2022-08-12T22:41:45.553Z] 370296b7ddb6: Pull complete [2022-08-12T22:41:45.553Z] 7c6cee850709: Pull complete [2022-08-12T22:41:45.816Z] 39a5fcdaea64: Pull complete [2022-08-12T22:41:45.816Z] d94ebbe4e438: Pull complete [2022-08-12T22:41:48.356Z] bcfd1f05c69d: Pull complete [2022-08-12T22:41:48.926Z] 59ccb84bbe0f: Pull complete [2022-08-12T22:41:48.926Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T22:41:48.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T22:41:48.926Z] ---> a4fb48ad2a94 [2022-08-12T22:41:48.926Z] Step 3/11 : ARG MAKE=make build [2022-08-12T22:41:50.314Z] ---> Running in 6373e874f328 [2022-08-12T22:41:50.314Z] Removing intermediate container 6373e874f328 [2022-08-12T22:41:50.314Z] ---> 070efdd78e51 [2022-08-12T22:41:50.314Z] Step 4/11 : WORKDIR /device-sdk-go [2022-08-12T22:41:50.314Z] ---> Running in fad9b1aeb1b7 [2022-08-12T22:41:50.314Z] Removing intermediate container fad9b1aeb1b7 [2022-08-12T22:41:50.314Z] ---> a949878ac6ca [2022-08-12T22:41:50.314Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T22:41:50.314Z] ---> Running in cc272c727cb0 [2022-08-12T22:41:50.574Z] Removing intermediate container cc272c727cb0 [2022-08-12T22:41:50.574Z] ---> 8ea1bd4953ed [2022-08-12T22:41:50.574Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T22:41:50.574Z] ---> Running in 9d897af7ebcb [2022-08-12T22:41:51.146Z] Removing intermediate container 9d897af7ebcb [2022-08-12T22:41:51.146Z] ---> b321d3ad3543 [2022-08-12T22:41:51.146Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T22:41:51.146Z] ---> Running in 5f8a7f684920 [2022-08-12T22:41:51.406Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T22:41:52.358Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T22:41:52.932Z] OK: 211 MiB in 51 packages [2022-08-12T22:41:53.193Z] Removing intermediate container 5f8a7f684920 [2022-08-12T22:41:53.193Z] ---> 0fd0e1f855b0 [2022-08-12T22:41:53.193Z] Step 8/11 : COPY go.mod vendor* ./ [2022-08-12T22:41:53.193Z] ---> b3014a7a8db1 [2022-08-12T22:41:53.193Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T22:41:53.193Z] ---> Running in 0ba3aab08bab [2022-08-12T22:41:53.772Z] Still waiting to schedule task [2022-08-12T22:41:53.772Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-12T22:42:15.206Z] Removing intermediate container 0ba3aab08bab [2022-08-12T22:42:15.206Z] ---> 370c36dd2e34 [2022-08-12T22:42:15.206Z] Step 10/11 : COPY . . [2022-08-12T22:42:15.466Z] ---> 41e27f8788c8 [2022-08-12T22:42:15.466Z] Step 11/11 : RUN ${MAKE} [2022-08-12T22:42:15.466Z] ---> Running in e20349eef154 [2022-08-12T22:42:15.727Z] noop [2022-08-12T22:42:15.988Z] Removing intermediate container e20349eef154 [2022-08-12T22:42:15.988Z] ---> c09cb297fe0f [2022-08-12T22:42:15.988Z] Successfully built c09cb297fe0f [2022-08-12T22:42:15.988Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:42:16.309Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T22:42:16.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:42:16.401Z] prd-ubuntu20.04-docker-8c-8g-22648 does not seem to be running inside a container [2022-08-12T22:42:16.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T22:42:16.841Z] $ docker top dd82f92a5936628d9d099a2d56b33cb3841a94269b7bfaa8b50402e096f61fa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T22:42:17.204Z] + go version [2022-08-12T22:42:17.204Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T22:42:17.216Z] $ docker stop --time=1 dd82f92a5936628d9d099a2d56b33cb3841a94269b7bfaa8b50402e096f61fa4 [2022-08-12T22:42:18.519Z] $ docker rm -f dd82f92a5936628d9d099a2d56b33cb3841a94269b7bfaa8b50402e096f61fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:42:18.979Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T22:42:18.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:42:19.064Z] prd-ubuntu20.04-docker-8c-8g-22648 does not seem to be running inside a container [2022-08-12T22:42:19.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T22:42:19.479Z] $ docker top 717cf59236f89a938e6741af79c927f4abc574fe3d0cc64021c86fab8afaf968 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T22:42:19.851Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-08-12T22:42:20.158Z] + make test [2022-08-12T22:42:20.158Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-12T22:42:26.738Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.095s coverage: 23.6% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.096s coverage: 78.9% of statements [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 10.8% of statements [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.096s coverage: 60.0% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 34.8% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.094s coverage: 85.4% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 65.1% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.753s coverage: 89.2% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-08-12T22:42:41.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 4.9% of statements [2022-08-12T22:42:41.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-08-12T22:42:56.531Z] 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-08-12T22:42:56.531Z] GO111MODULE=on go vet ./... [2022-08-12T22:42:59.824Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T22:43:00.084Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T22:43:00.084Z] ./bin/test-attribution-txt.sh [2022-08-12T22:43:00.084Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-08-12T22:43:00.084Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-08-12T22:43:00.084Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-08-12T22:43:00.084Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T22:43:00.084Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T22:43:00.084Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-12T22:43:00.084Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T22:43:00.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T22:43:00.114Z] $ docker stop --time=1 717cf59236f89a938e6741af79c927f4abc574fe3d0cc64021c86fab8afaf968 [2022-08-12T22:43:02.040Z] $ docker rm -f 717cf59236f89a938e6741af79c927f4abc574fe3d0cc64021c86fab8afaf968 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T22:43:02.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T22:43:02.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T22:43:03.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T22:43:03.438Z] + ls -al . [2022-08-12T22:43:03.438Z] total 300 [2022-08-12T22:43:03.438Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 22:42 . [2022-08-12T22:43:03.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 22:41 .. [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 22:41 .dockerignore [2022-08-12T22:43:03.438Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 22:42 .git [2022-08-12T22:43:03.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 22:41 .github [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 131 Aug 12 22:41 .gitignore [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 22:41 .golangci.yml [2022-08-12T22:43:03.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 22:41 .semver [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 29536 Aug 12 22:41 CHANGELOG.md [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 22:41 GOVERNANCE.md [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 12 22:41 Jenkinsfile [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 22:41 LICENSE [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 2002 Aug 12 22:41 Makefile [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 12 22:41 OWNERS.md [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 4881 Aug 12 22:41 README.md [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 22:41 VERSION [2022-08-12T22:43:03.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 22:41 bin [2022-08-12T22:43:03.438Z] -rw-r--r-- 1 jenkins jenkins 130804 Aug 12 22:42 coverage.out [2022-08-12T22:43:03.438Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 22:41 example [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 3553 Aug 12 22:41 go.mod [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 36743 Aug 12 22:41 go.sum [2022-08-12T22:43:03.438Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 12 22:41 internal [2022-08-12T22:43:03.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 22:41 openapi [2022-08-12T22:43:03.438Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 22:41 pkg [2022-08-12T22:43:03.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 22:41 snap [2022-08-12T22:43:03.438Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:43:03.754Z] + 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=ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b --label arch=amd64 --label version=0.0.0 . [2022-08-12T22:43:03.754Z] Sending build context to Docker daemon 9.938MB [2022-08-12T22:43:03.754Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T22:43:03.754Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T22:43:03.754Z] ---> c09cb297fe0f [2022-08-12T22:43:03.754Z] Step 3/25 : ARG MAKE=make build [2022-08-12T22:43:03.754Z] ---> Running in 8ff864d80bab [2022-08-12T22:43:04.014Z] Removing intermediate container 8ff864d80bab [2022-08-12T22:43:04.014Z] ---> 0f2247feed43 [2022-08-12T22:43:04.014Z] Step 4/25 : WORKDIR /device-sdk-go [2022-08-12T22:43:04.014Z] ---> Running in 1f3137dad74a [2022-08-12T22:43:04.014Z] Removing intermediate container 1f3137dad74a [2022-08-12T22:43:04.014Z] ---> 3994d383f993 [2022-08-12T22:43:04.014Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T22:43:04.014Z] ---> Running in 2ee153f90210 [2022-08-12T22:43:04.273Z] Removing intermediate container 2ee153f90210 [2022-08-12T22:43:04.273Z] ---> e4ae046f4aa9 [2022-08-12T22:43:04.273Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T22:43:04.273Z] ---> Running in c7fb34a82c1e [2022-08-12T22:43:04.843Z] Removing intermediate container c7fb34a82c1e [2022-08-12T22:43:04.843Z] ---> d665a224f4b5 [2022-08-12T22:43:04.843Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T22:43:04.843Z] ---> Running in 7b3667419e96 [2022-08-12T22:43:05.104Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T22:43:06.044Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T22:43:06.306Z] OK: 211 MiB in 51 packages [2022-08-12T22:43:06.566Z] Removing intermediate container 7b3667419e96 [2022-08-12T22:43:06.566Z] ---> b2824b0c9259 [2022-08-12T22:43:06.566Z] Step 8/25 : COPY go.mod vendor* ./ [2022-08-12T22:43:06.828Z] ---> f0dbfe708523 [2022-08-12T22:43:06.828Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T22:43:06.828Z] ---> Running in bf292b666079 [2022-08-12T22:43:07.399Z] Removing intermediate container bf292b666079 [2022-08-12T22:43:07.399Z] ---> 364fa789e04b [2022-08-12T22:43:07.399Z] Step 10/25 : COPY . . [2022-08-12T22:43:07.971Z] ---> 1fdeed43ac3d [2022-08-12T22:43:07.971Z] Step 11/25 : RUN ${MAKE} [2022-08-12T22:43:07.971Z] ---> Running in 6c15f4fa71a1 [2022-08-12T22:43:08.230Z] 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-08-12T22:43:25.232Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22649 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-08-12T22:43:25.247Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-08-12T22:43:25.311Z] The recommended git tool is: git [2022-08-12T22:43:26.332Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-08-12T22:43:26.332Z] Removing intermediate container 6c15f4fa71a1 [2022-08-12T22:43:26.332Z] ---> cb71ec0318f0 [2022-08-12T22:43:26.332Z] Step 12/25 : FROM alpine:3.16 [2022-08-12T22:43:26.907Z] 3.16: Pulling from library/alpine [2022-08-12T22:43:27.168Z] 213ec9aee27d: Pulling fs layer [2022-08-12T22:43:27.428Z] 213ec9aee27d: Verifying Checksum [2022-08-12T22:43:27.428Z] 213ec9aee27d: Download complete [2022-08-12T22:43:27.428Z] 213ec9aee27d: Pull complete [2022-08-12T22:43:27.428Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T22:43:27.428Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T22:43:27.428Z] ---> 9c6f07244728 [2022-08-12T22:43:27.428Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T22:43:27.428Z] ---> Running in 37f1bb65fb34 [2022-08-12T22:43:27.689Z] Removing intermediate container 37f1bb65fb34 [2022-08-12T22:43:27.689Z] ---> 653dee8847be [2022-08-12T22:43:27.689Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T22:43:27.689Z] ---> Running in d2519464f3d6 [2022-08-12T22:43:28.259Z] Removing intermediate container d2519464f3d6 [2022-08-12T22:43:28.259Z] ---> 2b40f830f007 [2022-08-12T22:43:28.259Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-08-12T22:43:28.259Z] ---> Running in f8b4fa9a9ba3 [2022-08-12T22:43:28.518Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T22:43:29.462Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T22:43:29.731Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T22:43:29.731Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-12T22:43:29.992Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T22:43:29.992Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-12T22:43:29.992Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-12T22:43:30.253Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T22:43:30.253Z] OK: 8 MiB in 19 packages [2022-08-12T22:43:30.513Z] Removing intermediate container f8b4fa9a9ba3 [2022-08-12T22:43:30.513Z] ---> c2a5572b049e [2022-08-12T22:43:30.513Z] Step 16/25 : WORKDIR / [2022-08-12T22:43:30.513Z] ---> Running in e4de0451df38 [2022-08-12T22:43:30.773Z] Removing intermediate container e4de0451df38 [2022-08-12T22:43:30.773Z] ---> 20da3d8d7176 [2022-08-12T22:43:30.773Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-08-12T22:43:30.773Z] ---> 08a558f498b6 [2022-08-12T22:43:30.773Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-08-12T22:43:31.341Z] ---> 72b5fcc49328 [2022-08-12T22:43:31.341Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-08-12T22:43:31.341Z] ---> f60fdbeeb6d2 [2022-08-12T22:43:31.341Z] Step 20/25 : EXPOSE 59999 [2022-08-12T22:43:31.601Z] ---> Running in 6fbe99bccd7f [2022-08-12T22:43:31.601Z] Removing intermediate container 6fbe99bccd7f [2022-08-12T22:43:31.601Z] ---> 1d8b361d28ce [2022-08-12T22:43:31.601Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-08-12T22:43:31.601Z] ---> Running in 4cd93a5bbe06 [2022-08-12T22:43:31.601Z] Removing intermediate container 4cd93a5bbe06 [2022-08-12T22:43:31.601Z] ---> 2efe77023cf9 [2022-08-12T22:43:31.601Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T22:43:31.601Z] ---> Running in b9e49dc0db2d [2022-08-12T22:43:31.862Z] Removing intermediate container b9e49dc0db2d [2022-08-12T22:43:31.862Z] ---> f3fda4649459 [2022-08-12T22:43:31.862Z] Step 23/25 : LABEL arch=amd64 [2022-08-12T22:43:31.862Z] ---> Running in aacc14339587 [2022-08-12T22:43:31.862Z] Removing intermediate container aacc14339587 [2022-08-12T22:43:31.862Z] ---> 07e8022ccc9a [2022-08-12T22:43:31.862Z] Step 24/25 : LABEL git_sha=ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [2022-08-12T22:43:31.862Z] ---> Running in e1e351faa853 [2022-08-12T22:43:32.128Z] Removing intermediate container e1e351faa853 [2022-08-12T22:43:32.128Z] ---> 533231b6c114 [2022-08-12T22:43:32.128Z] Step 25/25 : LABEL version=0.0.0 [2022-08-12T22:43:32.128Z] ---> Running in 06c59eb8d3ff [2022-08-12T22:43:32.128Z] Removing intermediate container 06c59eb8d3ff [2022-08-12T22:43:32.128Z] ---> 2d7510c92c73 [2022-08-12T22:43:32.128Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T22:43:32.128Z] Successfully built 2d7510c92c73 [2022-08-12T22:43:32.128Z] 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] } [2022-08-12T22:43:32.241Z] using credential edgex-jenkins-ssh [Pipeline] // stage Post stage [2022-08-12T22:43:32.259Z] Cloning the remote Git repository [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:43:32.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T22:43:32.559Z] [2022-08-12T22:43:32.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:43:32.318Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-08-12T22:43:32.394Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-08-12T22:43:32.482Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-08-12T22:43:32.483Z] > git --version # timeout=10 [2022-08-12T22:43:32.508Z] > git --version # 'git version 2.25.1' [2022-08-12T22:43:32.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T22:43:32.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T22:43:32.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T22:43:32.860Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T22:43:32.860Z] 5eb5b503b376: Pulling fs layer [2022-08-12T22:43:32.860Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T22:43:32.860Z] ec43610c2a17: Pulling fs layer [2022-08-12T22:43:32.860Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T22:43:32.860Z] 33b1e0a273af: Pulling fs layer [2022-08-12T22:43:32.860Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T22:43:32.860Z] 2f39f015ded8: Pulling fs layer [2022-08-12T22:43:32.860Z] 5d3b04190fa2: Waiting [2022-08-12T22:43:32.860Z] 33b1e0a273af: Waiting [2022-08-12T22:43:32.860Z] 2f39f015ded8: Waiting [2022-08-12T22:43:32.860Z] 3a2ae6a8a46f: Waiting [2022-08-12T22:43:32.860Z] 5c69ac0246d0: Download complete [2022-08-12T22:43:32.860Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-12T22:43:32.860Z] 3a2ae6a8a46f: Download complete [2022-08-12T22:43:32.860Z] 33b1e0a273af: Verifying Checksum [2022-08-12T22:43:32.860Z] 33b1e0a273af: Download complete [2022-08-12T22:43:32.860Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T22:43:32.860Z] 5d3b04190fa2: Download complete [2022-08-12T22:43:33.119Z] ec43610c2a17: Verifying Checksum [2022-08-12T22:43:33.119Z] ec43610c2a17: Download complete [2022-08-12T22:43:33.119Z] 5eb5b503b376: Verifying Checksum [2022-08-12T22:43:33.119Z] 5eb5b503b376: Download complete [2022-08-12T22:43:33.686Z] 2f39f015ded8: Download complete [2022-08-12T22:43:33.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-08-12T22:43:33.970Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T22:43:33.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-08-12T22:43:34.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-08-12T22:43:34.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T22:43:34.102Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T22:43:34.255Z] 5eb5b503b376: Pull complete [2022-08-12T22:43:34.516Z] 5c69ac0246d0: Pull complete [2022-08-12T22:43:34.815Z] Merging remotes/origin/main commit 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-08-12T22:43:35.086Z] ec43610c2a17: Pull complete [2022-08-12T22:43:35.086Z] 3a2ae6a8a46f: Pull complete [2022-08-12T22:43:35.114Z] Merge succeeded, producing 9ca43d4e07228127a445416ee2103b68cbbf287a [2022-08-12T22:43:35.114Z] Checking out Revision 9ca43d4e07228127a445416ee2103b68cbbf287a (PR-1196) [2022-08-12T22:43:35.345Z] 33b1e0a273af: Pull complete [2022-08-12T22:43:35.345Z] 5d3b04190fa2: Pull complete [2022-08-12T22:43:34.835Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T22:43:34.850Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-08-12T22:43:34.965Z] > git remote # timeout=10 [2022-08-12T22:43:34.981Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T22:43:35.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T22:43:35.023Z] > git merge 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 # timeout=10 [2022-08-12T22:43:35.100Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T22:43:35.123Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T22:43:35.136Z] > git checkout -f 9ca43d4e07228127a445416ee2103b68cbbf287a # timeout=10 [2022-08-12T22:43:39.285Z] Commit message: "Merge commit '8440b6e6a0b4fbc11eae3accc59dfe046b726d13' into HEAD" [2022-08-12T22:43:39.312Z] First time build. Skipping changelog. [2022-08-12T22:43:39.753Z] [2022-08-12T22:43:39.753Z] GitHub has been notified of this commit’s build result [2022-08-12T22:43:39.753Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T22:43:39.296Z] > git rev-list --no-walk e3db5d35a07165cdee6026088026e2f280ec336d # timeout=10 [2022-08-12T22:43:40.316Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T22:43:40.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T22:43:40.316Z] Dload Upload Total Spent Left Speed [2022-08-12T22:43:40.316Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99451 0 --:--:-- --:--:-- --:--:-- 98656 [2022-08-12T22:43:40.624Z] 2f39f015ded8: Pull complete [2022-08-12T22:43:40.624Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T22:43:40.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T22:43:40.624Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:43:40.729Z] prd-ubuntu20.04-docker-8c-8g-22648 does not seem to be running inside a container [2022-08-12T22:43:40.762Z] $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T22:43:42.107Z] $ docker top aa2f58140ddef133023d78843e77fe4f3e29869abe698b4f7da031709d6f7409 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:43:42.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T22:43:42.578Z] ---> job-cost.sh [2022-08-12T22:43:42.579Z] lf-activate-venv: SKIPPING [2022-08-12T22:43:42.579Z] INFO: No Stack... [2022-08-12T22:43:42.846Z] + + sudo tee /etc/docker/daemon.new [2022-08-12T22:43:42.846Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T22:43:42.846Z] { [2022-08-12T22:43:42.846Z] "registry-mirrors": [ [2022-08-12T22:43:42.846Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T22:43:42.846Z] ], [2022-08-12T22:43:42.846Z] "bip": "10.250.0.254/24", [2022-08-12T22:43:42.846Z] "hosts": [ [2022-08-12T22:43:42.846Z] "tcp://0.0.0.0:5555", [2022-08-12T22:43:42.846Z] "unix:///var/run/docker.sock" [2022-08-12T22:43:42.846Z] ], [2022-08-12T22:43:42.846Z] "mtu": 1458, [2022-08-12T22:43:42.846Z] "selinux-enabled": true, [2022-08-12T22:43:42.846Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T22:43:42.846Z] } [Pipeline] sh [2022-08-12T22:43:43.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T22:43:43.241Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T22:43:43.407Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T22:43:43.577Z] + sudo service docker restart [2022-08-12T22:43:43.697Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-08-12T22:43:43.697Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T22:43:43.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] [2022-08-12T22:43:43.719Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] did not exist. Created. [2022-08-12T22:43:43.719Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T22:43:44.087Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T22:43:44.130Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T22:43:44.136Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T22:43:44.155Z] $ docker stop --time=1 aa2f58140ddef133023d78843e77fe4f3e29869abe698b4f7da031709d6f7409 [2022-08-12T22:43:45.354Z] $ docker rm -f aa2f58140ddef133023d78843e77fe4f3e29869abe698b4f7da031709d6f7409 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T22:44:01.925Z] provisioning config files... [2022-08-12T22:44:01.947Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config978909101782872347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:44:02.302Z] ---> docker-login.sh [2022-08-12T22:44:02.302Z] nexus3.edgexfoundry.org:10001 [2022-08-12T22:44:02.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:44:03.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:44:03.178Z] Configure a credential helper to remove this warning. See [2022-08-12T22:44:03.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:44:03.178Z] [2022-08-12T22:44:03.178Z] Login Succeeded [2022-08-12T22:44:03.178Z] nexus3.edgexfoundry.org:10002 [2022-08-12T22:44:03.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:44:03.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:44:03.452Z] Configure a credential helper to remove this warning. See [2022-08-12T22:44:03.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:44:03.452Z] [2022-08-12T22:44:03.452Z] Login Succeeded [2022-08-12T22:44:03.452Z] nexus3.edgexfoundry.org:10003 [2022-08-12T22:44:03.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:44:04.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:44:04.011Z] Configure a credential helper to remove this warning. See [2022-08-12T22:44:04.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:44:04.011Z] [2022-08-12T22:44:04.011Z] Login Succeeded [2022-08-12T22:44:04.011Z] nexus3.edgexfoundry.org:10004 [2022-08-12T22:44:04.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:44:04.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:44:04.294Z] Configure a credential helper to remove this warning. See [2022-08-12T22:44:04.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:44:04.294Z] [2022-08-12T22:44:04.294Z] Login Succeeded [2022-08-12T22:44:04.294Z] docker.io [2022-08-12T22:44:04.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T22:44:05.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T22:44:05.161Z] Configure a credential helper to remove this warning. See [2022-08-12T22:44:05.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T22:44:05.161Z] [2022-08-12T22:44:05.161Z] Login Succeeded [2022-08-12T22:44:05.161Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T22:44:05.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T22:44:05.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T22:44:05.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T22:44:05.668Z] ========================================================= [2022-08-12T22:44:05.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T22:44:05.669Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:44:06.036Z] + 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-08-12T22:44:06.313Z] Sending build context to Docker daemon 5.27MB [2022-08-12T22:44:06.588Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T22:44:06.588Z] Step 2/11 : FROM ${BASE} AS builder [2022-08-12T22:44:06.588Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T22:44:06.588Z] b3c136eddcbf: Pulling fs layer [2022-08-12T22:44:06.588Z] c0a3192eca97: Pulling fs layer [2022-08-12T22:44:06.588Z] a050256f5b6f: Pulling fs layer [2022-08-12T22:44:06.588Z] 656be50a0ddc: Pulling fs layer [2022-08-12T22:44:06.588Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T22:44:06.588Z] 656be50a0ddc: Waiting [2022-08-12T22:44:06.588Z] 46d945488cbd: Pulling fs layer [2022-08-12T22:44:06.588Z] 2bbca73fdf42: Waiting [2022-08-12T22:44:06.588Z] 8a5474983e97: Pulling fs layer [2022-08-12T22:44:06.588Z] 329c88fbcd65: Pulling fs layer [2022-08-12T22:44:06.588Z] 46d945488cbd: Waiting [2022-08-12T22:44:06.588Z] 329c88fbcd65: Waiting [2022-08-12T22:44:06.588Z] 8a5474983e97: Waiting [2022-08-12T22:44:06.588Z] a050256f5b6f: Verifying Checksum [2022-08-12T22:44:06.588Z] a050256f5b6f: Download complete [2022-08-12T22:44:06.588Z] c0a3192eca97: Verifying Checksum [2022-08-12T22:44:06.588Z] c0a3192eca97: Download complete [2022-08-12T22:44:06.588Z] 2bbca73fdf42: Verifying Checksum [2022-08-12T22:44:06.588Z] 2bbca73fdf42: Download complete [2022-08-12T22:44:06.588Z] 46d945488cbd: Verifying Checksum [2022-08-12T22:44:06.588Z] 46d945488cbd: Download complete [2022-08-12T22:44:06.883Z] b3c136eddcbf: Verifying Checksum [2022-08-12T22:44:06.883Z] b3c136eddcbf: Download complete [2022-08-12T22:44:07.502Z] b3c136eddcbf: Pull complete [2022-08-12T22:44:07.779Z] 329c88fbcd65: Verifying Checksum [2022-08-12T22:44:07.780Z] 329c88fbcd65: Download complete [2022-08-12T22:44:08.384Z] c0a3192eca97: Pull complete [2022-08-12T22:44:08.658Z] a050256f5b6f: Pull complete [2022-08-12T22:44:08.931Z] 8a5474983e97: Verifying Checksum [2022-08-12T22:44:08.931Z] 8a5474983e97: Download complete [2022-08-12T22:44:09.528Z] 656be50a0ddc: Verifying Checksum [2022-08-12T22:44:09.528Z] 656be50a0ddc: Download complete [2022-08-12T22:44:24.614Z] 656be50a0ddc: Pull complete [2022-08-12T22:44:24.614Z] 2bbca73fdf42: Pull complete [2022-08-12T22:44:24.614Z] 46d945488cbd: Pull complete [2022-08-12T22:44:30.025Z] 8a5474983e97: Pull complete [2022-08-12T22:44:31.464Z] 329c88fbcd65: Pull complete [2022-08-12T22:44:31.464Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T22:44:31.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T22:44:31.464Z] ---> ff4287adb874 [2022-08-12T22:44:31.464Z] Step 3/11 : ARG MAKE=make build [2022-08-12T22:44:32.074Z] ---> Running in e4b6c2d8bf3d [2022-08-12T22:44:32.351Z] Removing intermediate container e4b6c2d8bf3d [2022-08-12T22:44:32.351Z] ---> e8cb6be03e29 [2022-08-12T22:44:32.351Z] Step 4/11 : WORKDIR /device-sdk-go [2022-08-12T22:44:32.351Z] ---> Running in ff0094e459c5 [2022-08-12T22:44:32.635Z] Removing intermediate container ff0094e459c5 [2022-08-12T22:44:32.635Z] ---> 2bedc2acfb47 [2022-08-12T22:44:32.635Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T22:44:32.913Z] ---> Running in 479c0748f9cd [2022-08-12T22:44:33.192Z] Removing intermediate container 479c0748f9cd [2022-08-12T22:44:33.192Z] ---> 28d5cb635bed [2022-08-12T22:44:33.192Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T22:44:33.192Z] ---> Running in d303dbf67a9f [2022-08-12T22:44:35.831Z] Removing intermediate container d303dbf67a9f [2022-08-12T22:44:35.831Z] ---> 70d509477df4 [2022-08-12T22:44:35.831Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T22:44:36.113Z] ---> Running in 644db7bcf10d [2022-08-12T22:44:37.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T22:44:37.690Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T22:44:38.672Z] OK: 221 MiB in 51 packages [2022-08-12T22:44:39.664Z] Removing intermediate container 644db7bcf10d [2022-08-12T22:44:39.664Z] ---> cbb29d9c6d03 [2022-08-12T22:44:39.664Z] Step 8/11 : COPY go.mod vendor* ./ [2022-08-12T22:44:39.941Z] ---> 599858402724 [2022-08-12T22:44:39.941Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T22:44:40.223Z] ---> Running in f0cb81e40818 [2022-08-12T22:45:27.248Z] Removing intermediate container f0cb81e40818 [2022-08-12T22:45:27.248Z] ---> 24da62e8aa99 [2022-08-12T22:45:27.248Z] Step 10/11 : COPY . . [2022-08-12T22:45:27.849Z] ---> 1834b327f6fb [2022-08-12T22:45:27.849Z] Step 11/11 : RUN ${MAKE} [2022-08-12T22:45:27.849Z] ---> Running in 8881bda5d685 [2022-08-12T22:45:28.838Z] noop [2022-08-12T22:45:29.431Z] Removing intermediate container 8881bda5d685 [2022-08-12T22:45:29.431Z] ---> 526284b08b73 [2022-08-12T22:45:29.703Z] Successfully built 526284b08b73 [2022-08-12T22:45:29.703Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:45:30.072Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T22:45:30.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:45:30.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-22649 does not seem to be running inside a container [2022-08-12T22:45:30.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T22:45:31.641Z] $ docker top 39e6b09f766b86f1cf94c1e52c996b57d4459a8135c91f83fbf8f9b6d664ed5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T22:45:32.535Z] + go version [2022-08-12T22:45:32.535Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T22:45:32.563Z] $ docker stop --time=1 39e6b09f766b86f1cf94c1e52c996b57d4459a8135c91f83fbf8f9b6d664ed5d [2022-08-12T22:45:34.210Z] $ docker rm -f 39e6b09f766b86f1cf94c1e52c996b57d4459a8135c91f83fbf8f9b6d664ed5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:45:34.801Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T22:45:34.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:45:35.042Z] prd-ubuntu20.04-docker-arm64-4c-16g-22649 does not seem to be running inside a container [2022-08-12T22:45:35.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T22:45:36.354Z] $ docker top a28b93c9e7c61f4908c210a821e910e51c025801611ce170549650e24cfa00d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T22:45:37.249Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2022-08-12T22:45:37.923Z] + make test [2022-08-12T22:45:37.923Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-12T22:46:10.301Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-08-12T22:47:47.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-08-12T22:47:47.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-08-12T22:47:47.172Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-08-12T22:47:57.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.354s coverage: 23.6% of statements [2022-08-12T22:47:57.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-08-12T22:47:57.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.239s coverage: 27.6% of statements [2022-08-12T22:47:57.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.260s coverage: 78.9% of statements [2022-08-12T22:47:57.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.235s coverage: 10.8% of statements [2022-08-12T22:47:58.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.411s coverage: 60.0% of statements [2022-08-12T22:47:58.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-08-12T22:47:58.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-08-12T22:48:01.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.447s coverage: 34.8% of statements [2022-08-12T22:48:01.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-08-12T22:48:04.089Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.333s coverage: 85.4% of statements [2022-08-12T22:48:04.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-08-12T22:48:04.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-08-12T22:48:04.089Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.456s coverage: 65.1% of statements [2022-08-12T22:48:04.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-08-12T22:48:04.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-12T22:48:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.986s coverage: 89.2% of statements [2022-08-12T22:48:07.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-08-12T22:48:08.467Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.215s coverage: 4.9% of statements [2022-08-12T22:48:08.467Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-08-12T22:48:09.447Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T22:48:09.447Z] GO111MODULE=on go vet ./... [2022-08-12T22:49:31.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T22:49:31.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T22:49:31.456Z] ./bin/test-attribution-txt.sh [2022-08-12T22:49:31.456Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-08-12T22:49:31.456Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-08-12T22:49:31.456Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-08-12T22:49:31.456Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T22:49:31.456Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T22:49:31.456Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-12T22:49:31.456Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T22:49:31.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T22:49:31.499Z] $ docker stop --time=1 a28b93c9e7c61f4908c210a821e910e51c025801611ce170549650e24cfa00d8 [2022-08-12T22:49:33.317Z] $ docker rm -f a28b93c9e7c61f4908c210a821e910e51c025801611ce170549650e24cfa00d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T22:49:34.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T22:49:34.649Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T22:49:35.205Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T22:49:35.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T22:49:35.924Z] + ls -al . [2022-08-12T22:49:35.924Z] total 296 [2022-08-12T22:49:35.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 22:45 . [2022-08-12T22:49:35.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 22:43 .. [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 22:43 .dockerignore [2022-08-12T22:49:35.924Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 22:43 .git [2022-08-12T22:49:35.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 22:43 .github [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 131 Aug 12 22:43 .gitignore [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 22:43 .golangci.yml [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 29536 Aug 12 22:43 CHANGELOG.md [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 22:43 GOVERNANCE.md [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 12 22:43 Jenkinsfile [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 22:43 LICENSE [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 2002 Aug 12 22:43 Makefile [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 12 22:43 OWNERS.md [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 4881 Aug 12 22:43 README.md [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 22:41 VERSION [2022-08-12T22:49:35.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 22:43 bin [2022-08-12T22:49:35.924Z] -rw-r--r-- 1 jenkins jenkins 130804 Aug 12 22:48 coverage.out [2022-08-12T22:49:35.924Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 22:43 example [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 3553 Aug 12 22:43 go.mod [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 36743 Aug 12 22:43 go.sum [2022-08-12T22:49:35.924Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 12 22:43 internal [2022-08-12T22:49:35.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 22:43 openapi [2022-08-12T22:49:35.924Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 22:43 pkg [2022-08-12T22:49:35.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 22:43 snap [2022-08-12T22:49:35.924Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:49:36.282Z] + 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=9ca43d4e07228127a445416ee2103b68cbbf287a --label arch=arm64 --label version=0.0.0 . [2022-08-12T22:49:36.561Z] Sending build context to Docker daemon 5.402MB [2022-08-12T22:49:36.833Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T22:49:36.833Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T22:49:36.833Z] ---> 526284b08b73 [2022-08-12T22:49:36.833Z] Step 3/25 : ARG MAKE=make build [2022-08-12T22:49:36.833Z] ---> Running in 3f7834f3c520 [2022-08-12T22:49:37.106Z] Removing intermediate container 3f7834f3c520 [2022-08-12T22:49:37.106Z] ---> c21b1879e06c [2022-08-12T22:49:37.106Z] Step 4/25 : WORKDIR /device-sdk-go [2022-08-12T22:49:37.106Z] ---> Running in 1da62a93074f [2022-08-12T22:49:37.706Z] Removing intermediate container 1da62a93074f [2022-08-12T22:49:37.706Z] ---> 597d2ce60c8e [2022-08-12T22:49:37.706Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T22:49:37.706Z] ---> Running in 4e21b96e57c0 [2022-08-12T22:49:37.978Z] Removing intermediate container 4e21b96e57c0 [2022-08-12T22:49:37.978Z] ---> 9e3550c86269 [2022-08-12T22:49:37.978Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T22:49:37.978Z] ---> Running in 6d6c6d07e140 [2022-08-12T22:49:39.961Z] Removing intermediate container 6d6c6d07e140 [2022-08-12T22:49:39.961Z] ---> 597a0366ff73 [2022-08-12T22:49:39.961Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T22:49:39.961Z] ---> Running in 6409256f76b8 [2022-08-12T22:49:40.942Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T22:49:41.537Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T22:49:42.514Z] OK: 221 MiB in 51 packages [2022-08-12T22:49:43.502Z] Removing intermediate container 6409256f76b8 [2022-08-12T22:49:43.502Z] ---> 10c579b4f127 [2022-08-12T22:49:43.502Z] Step 8/25 : COPY go.mod vendor* ./ [2022-08-12T22:49:43.777Z] ---> f169950a2bd9 [2022-08-12T22:49:43.777Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T22:49:44.057Z] ---> Running in 8ce2786784ba [2022-08-12T22:49:46.039Z] Removing intermediate container 8ce2786784ba [2022-08-12T22:49:46.039Z] ---> f7c7d71a4311 [2022-08-12T22:49:46.039Z] Step 10/25 : COPY . . [2022-08-12T22:49:47.029Z] ---> 21cfb4db7b3f [2022-08-12T22:49:47.029Z] Step 11/25 : RUN ${MAKE} [2022-08-12T22:49:47.029Z] ---> Running in a2347fdc6cef [2022-08-12T22:49:48.026Z] 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-08-12T22:51:54.869Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-08-12T22:51:54.869Z] Removing intermediate container a2347fdc6cef [2022-08-12T22:51:54.869Z] ---> 49e14b646912 [2022-08-12T22:51:54.869Z] Step 12/25 : FROM alpine:3.16 [2022-08-12T22:51:54.869Z] 3.16: Pulling from library/alpine [2022-08-12T22:51:54.869Z] 9b18e9b68314: Pulling fs layer [2022-08-12T22:51:54.869Z] 9b18e9b68314: Download complete [2022-08-12T22:51:54.869Z] 9b18e9b68314: Pull complete [2022-08-12T22:51:54.869Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T22:51:54.869Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T22:51:54.869Z] ---> a6215f271958 [2022-08-12T22:51:54.869Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T22:51:54.869Z] ---> Running in ebc2bb096119 [2022-08-12T22:51:54.869Z] Removing intermediate container ebc2bb096119 [2022-08-12T22:51:54.869Z] ---> acea1096346e [2022-08-12T22:51:54.869Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T22:51:54.869Z] ---> Running in 7582e0dc8111 [2022-08-12T22:51:54.869Z] Removing intermediate container 7582e0dc8111 [2022-08-12T22:51:54.869Z] ---> 60c1ced11a52 [2022-08-12T22:51:54.869Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-08-12T22:51:54.869Z] ---> Running in 18cfa679c05b [2022-08-12T22:51:54.869Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T22:51:54.869Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T22:51:54.869Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T22:51:54.869Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-12T22:51:54.869Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T22:51:54.869Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-12T22:51:54.869Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-12T22:51:54.869Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T22:51:54.869Z] OK: 8 MiB in 19 packages [2022-08-12T22:51:55.849Z] Removing intermediate container 18cfa679c05b [2022-08-12T22:51:55.849Z] ---> 28abeb73aa90 [2022-08-12T22:51:55.849Z] Step 16/25 : WORKDIR / [2022-08-12T22:51:55.849Z] ---> Running in a5c9c3af10e9 [2022-08-12T22:51:56.122Z] Removing intermediate container a5c9c3af10e9 [2022-08-12T22:51:56.122Z] ---> ae29dbe31706 [2022-08-12T22:51:56.122Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-08-12T22:51:56.719Z] ---> 1315ebe1fa9f [2022-08-12T22:51:56.719Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-08-12T22:51:58.158Z] ---> c6230b180589 [2022-08-12T22:51:58.158Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-08-12T22:51:58.754Z] ---> 53a79a3d1e1f [2022-08-12T22:51:58.754Z] Step 20/25 : EXPOSE 59999 [2022-08-12T22:51:58.754Z] ---> Running in 3a04e1294fdf [2022-08-12T22:51:59.035Z] Removing intermediate container 3a04e1294fdf [2022-08-12T22:51:59.035Z] ---> 3e1a26aaff6b [2022-08-12T22:51:59.035Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-08-12T22:51:59.035Z] ---> Running in e3847aa4f19d [2022-08-12T22:51:59.628Z] Removing intermediate container e3847aa4f19d [2022-08-12T22:51:59.628Z] ---> 8a4634685dc3 [2022-08-12T22:51:59.628Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T22:51:59.628Z] ---> Running in 3a57164f3646 [2022-08-12T22:51:59.901Z] Removing intermediate container 3a57164f3646 [2022-08-12T22:51:59.901Z] ---> af6a9038f463 [2022-08-12T22:51:59.901Z] Step 23/25 : LABEL arch=arm64 [2022-08-12T22:51:59.901Z] ---> Running in f9f93b00a87c [2022-08-12T22:52:00.175Z] Removing intermediate container f9f93b00a87c [2022-08-12T22:52:00.175Z] ---> c3c5b212a3c1 [2022-08-12T22:52:00.175Z] Step 24/25 : LABEL git_sha=9ca43d4e07228127a445416ee2103b68cbbf287a [2022-08-12T22:52:00.175Z] ---> Running in e47a5fa1c381 [2022-08-12T22:52:00.774Z] Removing intermediate container e47a5fa1c381 [2022-08-12T22:52:00.774Z] ---> 110275ddf454 [2022-08-12T22:52:00.774Z] Step 25/25 : LABEL version=0.0.0 [2022-08-12T22:52:00.774Z] ---> Running in 4266f3542bf0 [2022-08-12T22:52:01.045Z] Removing intermediate container 4266f3542bf0 [2022-08-12T22:52:01.045Z] ---> fa69ee623bd7 [2022-08-12T22:52:01.045Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T22:52:01.045Z] Successfully built fa69ee623bd7 [2022-08-12T22:52:01.045Z] 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-08-12T22:52:01.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T22:52:01.485Z] [2022-08-12T22:52:01.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:52:01.833Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T22:52:02.111Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T22:52:02.111Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T22:52:02.111Z] 04944245beec: Pulling fs layer [2022-08-12T22:52:02.111Z] 699f458cf7ca: Pulling fs layer [2022-08-12T22:52:02.111Z] 765212b225bb: Pulling fs layer [2022-08-12T22:52:02.111Z] f23df028b6ca: Pulling fs layer [2022-08-12T22:52:02.111Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T22:52:02.111Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T22:52:02.111Z] 765212b225bb: Waiting [2022-08-12T22:52:02.111Z] f23df028b6ca: Waiting [2022-08-12T22:52:02.111Z] d65c8cfc05b1: Waiting [2022-08-12T22:52:02.111Z] 2437ff75d9bd: Waiting [2022-08-12T22:52:02.111Z] 04944245beec: Verifying Checksum [2022-08-12T22:52:02.111Z] 04944245beec: Download complete [2022-08-12T22:52:02.111Z] 765212b225bb: Verifying Checksum [2022-08-12T22:52:02.111Z] 765212b225bb: Download complete [2022-08-12T22:52:02.111Z] f23df028b6ca: Verifying Checksum [2022-08-12T22:52:02.111Z] f23df028b6ca: Download complete [2022-08-12T22:52:02.111Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T22:52:02.111Z] d65c8cfc05b1: Download complete [2022-08-12T22:52:02.385Z] 699f458cf7ca: Verifying Checksum [2022-08-12T22:52:02.385Z] 699f458cf7ca: Download complete [2022-08-12T22:52:02.658Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T22:52:02.658Z] 8998bd30e6a1: Download complete [2022-08-12T22:52:05.288Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T22:52:05.289Z] 2437ff75d9bd: Download complete [2022-08-12T22:52:06.725Z] 8998bd30e6a1: Pull complete [2022-08-12T22:52:07.325Z] 04944245beec: Pull complete [2022-08-12T22:52:08.762Z] 699f458cf7ca: Pull complete [2022-08-12T22:52:09.039Z] 765212b225bb: Pull complete [2022-08-12T22:52:10.026Z] f23df028b6ca: Pull complete [2022-08-12T22:52:10.026Z] d65c8cfc05b1: Pull complete [2022-08-12T22:52:25.118Z] 2437ff75d9bd: Pull complete [2022-08-12T22:52:25.118Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T22:52:25.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T22:52:25.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:52:25.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-22649 does not seem to be running inside a container [2022-08-12T22:52:25.538Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T22:52:28.116Z] $ docker top 9ba07bd6373a8ef0dbccd73bfda80b3a9519f7360f75e28b60951b6010e33d1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:29.107Z] ---> job-cost.sh [2022-08-12T22:52:29.107Z] lf-activate-venv: SKIPPING [2022-08-12T22:52:29.107Z] INFO: No Stack... [2022-08-12T22:52:29.704Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T22:52:30.677Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T22:52:31.337Z] + cat+ /w/workspace/device-sdk-go/5/archives/cost.csv [2022-08-12T22:52:31.337Z] cut -d, -f6 [Pipeline] lock [2022-08-12T22:52:31.400Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] [2022-08-12T22:52:31.407Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] did not exist. Created. [2022-08-12T22:52:31.407Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T22:52:32.084Z] /w/workspace/device-sdk-go/5@tmp/durable-e50b9272/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T22:52:32.763Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T22:52:32.791Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T22:52:32.853Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T22:52:32.860Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T22:52:32.885Z] $ docker stop --time=1 9ba07bd6373a8ef0dbccd73bfda80b3a9519f7360f75e28b60951b6010e33d1e [2022-08-12T22:52:34.409Z] $ docker rm -f 9ba07bd6373a8ef0dbccd73bfda80b3a9519f7360f75e28b60951b6010e33d1e [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-08-12T22:52:34.863Z] provisioning config files... [2022-08-12T22:52:34.872Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config6260427963232146378tmp [Pipeline] { [Pipeline] sh [2022-08-12T22:52:35.168Z] + set +x [2022-08-12T22:52:35.168Z] + curl -s https://codecov.io/bash [2022-08-12T22:52:35.168Z] + bash -s -- [2022-08-12T22:52:35.428Z] [2022-08-12T22:52:35.428Z] _____ _ [2022-08-12T22:52:35.428Z] / ____| | | [2022-08-12T22:52:35.428Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T22:52:35.428Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T22:52:35.428Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T22:52:35.428Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T22:52:35.428Z] Bash-1.0.6 [2022-08-12T22:52:35.428Z] [2022-08-12T22:52:35.428Z] [2022-08-12T22:52:35.428Z] ==> git version 2.25.1 found [2022-08-12T22:52:35.428Z] ==> 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-08-12T22:52:35.428Z] Release-Date: 2020-01-08 [2022-08-12T22:52:35.428Z] 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-08-12T22:52:35.428Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T22:52:35.428Z] ==> Jenkins CI detected. [2022-08-12T22:52:35.428Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-08-12T22:52:35.428Z] project root: . [2022-08-12T22:52:35.428Z] --> token set from env [2022-08-12T22:52:35.428Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T22:52:35.428Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T22:52:35.428Z] ==> Python coveragepy not found [2022-08-12T22:52:35.428Z] ==> Searching for coverage reports in: [2022-08-12T22:52:35.428Z] + . [2022-08-12T22:52:35.428Z] -> Found 1 reports [2022-08-12T22:52:35.428Z] ==> Detecting git/mercurial file structure [2022-08-12T22:52:35.428Z] ==> Reading reports [2022-08-12T22:52:35.428Z] + ./coverage.out bytes=130804 [2022-08-12T22:52:35.428Z] ==> Appending adjustments [2022-08-12T22:52:35.428Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T22:52:36.001Z] + Found adjustments [2022-08-12T22:52:36.001Z] ==> Gzipping contents [2022-08-12T22:52:36.001Z] 20K /tmp/codecov.F32cqa.gz [2022-08-12T22:52:36.001Z] ==> Uploading reports [2022-08-12T22:52:36.001Z] url: https://codecov.io [2022-08-12T22:52:36.001Z] query: branch=PR-1196&commit=ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-08-12T22:52:36.001Z] -> Pinging Codecov [2022-08-12T22:52:36.001Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-08-12T22:52:36.001Z] -> Uploading to [2022-08-12T22:52:36.001Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/7E55EF52A471D76F132DFD9A03CDDE97/ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b/7ea2e562-1bc3-4d8e-adf4-5dd51c4f831f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T225235Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bd8c3741373d035740dcc9ea08dc46600b8786695ec621fecfe4d81ee5c0b61 [2022-08-12T22:52:36.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T22:52:36.001Z] Dload Upload Total Spent Left Speed [2022-08-12T22:52:36.262Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17222 0 0 100 17222 0 69164 --:--:-- --:--:-- --:--:-- 69164 [2022-08-12T22:52:36.262Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ce5b1e3dfd1a06d190871bbde2de545e87c7ce8b [Pipeline] } [2022-08-12T22:52:36.270Z] 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-08-12T22:52:37.010Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-08-12T22:52:37.010Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-08-12T22:52:37.010Z] total 16 [2022-08-12T22:52:37.010Z] drwxr-xr-x 3 root root 4096 Aug 12 22:43 . [2022-08-12T22:52:37.010Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 12 22:43 .. [2022-08-12T22:52:37.010Z] drwxr-xr-x 2 root root 4096 Aug 12 22:43 cost [2022-08-12T22:52:37.010Z] -rw-r--r-- 1 root root 86 Aug 12 22:43 cost.csv [2022-08-12T22:52:37.010Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-08-12T22:52:37.010Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-08-12T22:52:37.010Z] total 16 [2022-08-12T22:52:37.010Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 22:43 . [2022-08-12T22:52:37.010Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 12 22:43 .. [2022-08-12T22:52:37.010Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 22:43 cost [2022-08-12T22:52:37.010Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 12 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:37.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:38.167Z] ---> package-listing.sh [2022-08-12T22:52:38.167Z] ++ facter osfamily [2022-08-12T22:52:38.167Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T22:52:38.427Z] + OS_FAMILY=debian [2022-08-12T22:52:38.427Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-08-12T22:52:38.427Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T22:52:38.427Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T22:52:38.427Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T22:52:38.427Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T22:52:38.427Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-08-12T22:52:38.427Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T22:52:38.427Z] + case "${OS_FAMILY}" in [2022-08-12T22:52:38.427Z] + dpkg -l [2022-08-12T22:52:38.427Z] + grep '^ii' [2022-08-12T22:52:38.427Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T22:52:38.427Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T22:52:38.427Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T22:52:38.427Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-08-12T22:52:38.427Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-08-12T22:52:38.427Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo [2022-08-12T22:52:38.438Z] 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-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T22:52:38.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T22:52:39.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T22:52:39.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T22:52:39.362Z] prd-ubuntu20.04-docker-8c-8g-22648 does not seem to be running inside a container [2022-08-12T22:52:39.392Z] $ 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-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T22:52:39.605Z] $ docker top 4fb871cf111f3a5833469c800fd752fdf676c032ae84a6d523eaa7d574c0703f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T22:52:39.966Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T22:52:40.253Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T22:52:40.541Z] + ls /var/log/sa-host [2022-08-12T22:52:40.541Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T22:52:40.676Z] provisioning config files... [2022-08-12T22:52:40.683Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config3706837448765718805tmp [Pipeline] { [Pipeline] echo [2022-08-12T22:52:40.701Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:40.983Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T22:52:40.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:41.317Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T22:52:41.328Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:41.615Z] ---> sudo-logs.sh [2022-08-12T22:52:41.615Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T22:52:41.652Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:41.943Z] ---> job-cost.sh [2022-08-12T22:52:41.943Z] lf-activate-venv: SKIPPING [2022-08-12T22:52:41.943Z] DEBUG: total: 0.2199999988079071 [2022-08-12T22:52:41.943Z] INFO: Retrieving Stack Cost... [2022-08-12T22:52:42.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T22:52:42.775Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T22:52:42.788Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T22:52:43.071Z] ---> logs-deploy.sh [2022-08-12T22:52:43.071Z] lf-activate-venv: SKIPPING [2022-08-12T22:52:43.071Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/5 [2022-08-12T22:52:43.071Z] INFO: archiving workspace using pattern(s): [2022-08-12T22:52:44.011Z] Archives upload complete. [2022-08-12T22:52:44.011Z] INFO: archiving logs to Nexus