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+e5efdee9dd9df15b49fe73e0060b5d971241be0d (8e0e246af393040e488b7634915c5ae6d43d7bbe) 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-ssh16966726342463952690.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18234896829275621961.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh11544971641164343024.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh4416930212260133718.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-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-ssh4014257560857611232.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-545 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing aa68bb43ba4ba6389006a396e9401756110d6284 Checking out Revision aa68bb43ba4ba6389006a396e9401756110d6284 (PR-1196) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa68bb43ba4ba6389006a396e9401756110d6284 # timeout=10 Commit message: "Merge commit 'e5efdee9dd9df15b49fe73e0060b5d971241be0d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 770e49f98ab9a0319562a8a700f6290beba4a444 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T06:42:03.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T06:42:03.935Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T06:42:03.951Z] ========================================================= [2022-09-22T06:42:03.951Z] EdgeX Global Pipelines Version Info [2022-09-22T06:42:03.951Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:42:04.641Z] ------------------- [2022-09-22T06:42:04.641Z] stable info: [2022-09-22T06:42:04.641Z] ------------------- [2022-09-22T06:42:04.641Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T06:42:04.641Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T06:42:04.641Z] Message: update stable to v1.0.239 [2022-09-22T06:42:05.209Z] ------------------- [2022-09-22T06:42:05.209Z] experimental info: [2022-09-22T06:42:05.209Z] ------------------- [2022-09-22T06:42:05.209Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T06:42:05.209Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T06:42:05.209Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T06:42:05.372Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-22T06:42:05.385Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-22T06:42:05.395Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T06:42:05.405Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T06:42:05.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T06:42:05.427Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T06:42:05.437Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T06:42:05.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-22T06:42:05.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T06:42:05.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T06:42:05.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T06:42:05.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-22T06:42:05.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T06:42:05.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T06:42:05.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T06:42:05.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T06:42:05.554Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T06:42:05.565Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T06:42:05.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T06:42:05.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T06:42:05.599Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T06:42:05.609Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T06:42:05.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T06:42:05.633Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T06:42:05.643Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T06:42:05.654Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T06:42:05.666Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T06:42:05.683Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-09-22T06:42:05.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-09-22T06:42:05.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-09-22T06:42:05.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo [2022-09-22T06:42:05.727Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa68bb4 [Pipeline] echo [2022-09-22T06:42:05.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T06:42:05.783Z] provisioning config files... [2022-09-22T06:42:05.795Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config10769997156871077649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:42:06.102Z] ---> docker-login.sh [2022-09-22T06:42:06.102Z] nexus3.edgexfoundry.org:10001 [2022-09-22T06:42:06.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:06.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:06.623Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:06.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:06.623Z] [2022-09-22T06:42:06.623Z] Login Succeeded [2022-09-22T06:42:06.623Z] nexus3.edgexfoundry.org:10002 [2022-09-22T06:42:06.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:06.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:06.623Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:06.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:06.623Z] [2022-09-22T06:42:06.623Z] Login Succeeded [2022-09-22T06:42:06.623Z] nexus3.edgexfoundry.org:10003 [2022-09-22T06:42:06.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:06.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:06.623Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:06.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:06.623Z] [2022-09-22T06:42:06.623Z] Login Succeeded [2022-09-22T06:42:06.623Z] nexus3.edgexfoundry.org:10004 [2022-09-22T06:42:06.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:06.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:06.882Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:06.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:06.882Z] [2022-09-22T06:42:06.882Z] Login Succeeded [2022-09-22T06:42:06.882Z] docker.io [2022-09-22T06:42:06.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:07.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:07.142Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:07.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:07.142Z] [2022-09-22T06:42:07.142Z] Login Succeeded [2022-09-22T06:42:07.142Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T06:42:07.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T06:42:07.495Z] + git rev-list -1 --merges aa68bb43ba4ba6389006a396e9401756110d6284~1..aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo [2022-09-22T06:42:07.521Z] -----------> git rev-list -1 --merges aa68bb43ba4ba6389006a396e9401756110d6284~1..aa68bb43ba4ba6389006a396e9401756110d6284 aa68bb43ba4ba6389006a396e9401756110d6284 [2022-09-22T06:42:07.521Z] aa68bb43ba4ba6389006a396e9401756110d6284 [false] [Pipeline] sh [2022-09-22T06:42:07.809Z] + git log --format=format:%s -1 aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo [2022-09-22T06:42:07.825Z] ========================================================= [2022-09-22T06:42:07.825Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T06:42:07.825Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T06:42:08.167Z] + git log --format=format:%s -1 aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo [2022-09-22T06:42:08.181Z] [semverPrep] GIT_COMMIT: aa68bb43ba4ba6389006a396e9401756110d6284, Commit Message: Merge commit 'e5efdee9dd9df15b49fe73e0060b5d971241be0d' into HEAD [Pipeline] echo [2022-09-22T06:42:08.192Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T06:42:08.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T06:42:08.609Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T06:42:08.609Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T06:42:08.609Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T06:42:08.609Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T06:42:08.609Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T06:42:08.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:42:09.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T06:42:09.007Z] [2022-09-22T06:42:09.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:42:09.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T06:42:09.299Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T06:42:09.299Z] b85a868b505f: Pulling fs layer [2022-09-22T06:42:09.299Z] e2be974225ed: Pulling fs layer [2022-09-22T06:42:09.299Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T06:42:09.299Z] 988bab9f4d93: Pulling fs layer [2022-09-22T06:42:09.299Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T06:42:09.299Z] eaf3925da568: Pulling fs layer [2022-09-22T06:42:09.299Z] bab4dde63d76: Pulling fs layer [2022-09-22T06:42:09.299Z] bde34c3a00c8: Pulling fs layer [2022-09-22T06:42:09.299Z] b352a97aabf1: Pulling fs layer [2022-09-22T06:42:09.299Z] 4872d77fe225: Pulling fs layer [2022-09-22T06:42:09.299Z] 5851b861e8e6: Pulling fs layer [2022-09-22T06:42:09.299Z] 988bab9f4d93: Waiting [2022-09-22T06:42:09.299Z] bde34c3a00c8: Waiting [2022-09-22T06:42:09.299Z] 1469e6f7b9e6: Waiting [2022-09-22T06:42:09.299Z] b352a97aabf1: Waiting [2022-09-22T06:42:09.299Z] eaf3925da568: Waiting [2022-09-22T06:42:09.299Z] 4872d77fe225: Waiting [2022-09-22T06:42:09.299Z] bab4dde63d76: Waiting [2022-09-22T06:42:09.299Z] 5851b861e8e6: Waiting [2022-09-22T06:42:09.299Z] e2be974225ed: Verifying Checksum [2022-09-22T06:42:09.299Z] e2be974225ed: Download complete [2022-09-22T06:42:09.299Z] 988bab9f4d93: Verifying Checksum [2022-09-22T06:42:09.299Z] 988bab9f4d93: Download complete [2022-09-22T06:42:09.559Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T06:42:09.559Z] 1469e6f7b9e6: Download complete [2022-09-22T06:42:09.559Z] eaf3925da568: Verifying Checksum [2022-09-22T06:42:09.559Z] eaf3925da568: Download complete [2022-09-22T06:42:09.559Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T06:42:09.559Z] 339a4e72a1f5: Download complete [2022-09-22T06:42:09.559Z] bde34c3a00c8: Verifying Checksum [2022-09-22T06:42:09.559Z] bde34c3a00c8: Download complete [2022-09-22T06:42:09.559Z] b352a97aabf1: Download complete [2022-09-22T06:42:09.559Z] 4872d77fe225: Verifying Checksum [2022-09-22T06:42:09.559Z] 4872d77fe225: Download complete [2022-09-22T06:42:09.559Z] 5851b861e8e6: Verifying Checksum [2022-09-22T06:42:09.559Z] 5851b861e8e6: Download complete [2022-09-22T06:42:09.559Z] b85a868b505f: Verifying Checksum [2022-09-22T06:42:09.559Z] b85a868b505f: Download complete [2022-09-22T06:42:09.819Z] bab4dde63d76: Verifying Checksum [2022-09-22T06:42:09.819Z] bab4dde63d76: Download complete [2022-09-22T06:42:10.757Z] b85a868b505f: Pull complete [2022-09-22T06:42:10.757Z] e2be974225ed: Pull complete [2022-09-22T06:42:11.016Z] 339a4e72a1f5: Pull complete [2022-09-22T06:42:11.275Z] 988bab9f4d93: Pull complete [2022-09-22T06:42:11.535Z] 1469e6f7b9e6: Pull complete [2022-09-22T06:42:11.535Z] eaf3925da568: Pull complete [2022-09-22T06:42:12.911Z] bab4dde63d76: Pull complete [2022-09-22T06:42:13.170Z] bde34c3a00c8: Pull complete [2022-09-22T06:42:13.170Z] b352a97aabf1: Pull complete [2022-09-22T06:42:13.170Z] 4872d77fe225: Pull complete [2022-09-22T06:42:13.430Z] 5851b861e8e6: Pull complete [2022-09-22T06:42:13.430Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T06:42:13.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T06:42:13.430Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:42:13.519Z] prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container [2022-09-22T06:42:13.554Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T06:42:14.757Z] $ docker top 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 -eo pid,comm [2022-09-22T06:42:14.810Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-22T06:42:14.810Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T06:42:14.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T06:42:14.850Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T06:42:14.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T06:42:14.971Z] $ docker exec 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent [2022-09-22T06:42:15.076Z] SSH_AUTH_SOCK=/tmp/ssh-dZLDxzSTqASY/agent.33 [2022-09-22T06:42:15.076Z] SSH_AGENT_PID=39 [2022-09-22T06:42:15.082Z] Running ssh-add (command line suppressed) [2022-09-22T06:42:15.183Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_10603447858926877216.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_10603447858926877216.key) [2022-09-22T06:42:15.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T06:42:15.481Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T06:42:15.497Z] $ docker exec --env ******** --env ******** 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent -k [2022-09-22T06:42:15.595Z] unset SSH_AUTH_SOCK; [2022-09-22T06:42:15.595Z] unset SSH_AGENT_PID; [2022-09-22T06:42:15.595Z] echo Agent pid 39 killed; [2022-09-22T06:42:15.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T06:42:15.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T06:42:15.628Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T06:42:15.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T06:42:15.744Z] $ docker exec 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent [2022-09-22T06:42:15.861Z] SSH_AUTH_SOCK=/tmp/ssh-K4kYZb2Fwrtj/agent.71 [2022-09-22T06:42:15.862Z] SSH_AGENT_PID=77 [2022-09-22T06:42:15.866Z] Running ssh-add (command line suppressed) [2022-09-22T06:42:15.967Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7098078741354416441.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7098078741354416441.key) [2022-09-22T06:42:15.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T06:42:16.262Z] + git semver init [2022-09-22T06:42:16.522Z] 2022-09-22 06:42:16,439 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T06:42:16.522Z] 2022-09-22 06:42:16,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-22T06:42:16.522Z] 2022-09-22 06:42:16,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-22T06:42:16.522Z] 2022-09-22 06:42:16,441 [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-09-22T06:42:17.459Z] 2022-09-22 06:42:17,369 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-09-22T06:42:17.459Z] 2022-09-22 06:42:17,370 [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-09-22T06:42:17.459Z] 2022-09-22 06:42:17,370 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-22T06:42:17.459Z] 2022-09-22 06:42:17,374 [execute] INFO git cat-file --batch-check [2022-09-22T06:42:17.459Z] 2022-09-22 06:42:17,374 [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-09-22T06:42:17.459Z] 2022-09-22 06:42:17,381 [execute] INFO git cat-file --batch [2022-09-22T06:42:17.459Z] 2022-09-22 06:42:17,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T06:42:17.459Z] 2022-09-22 06:42:17,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-22T06:42:17.459Z] 0.0.0 [Pipeline] } [2022-09-22T06:42:17.470Z] $ docker exec --env ******** --env ******** 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent -k [2022-09-22T06:42:17.565Z] unset SSH_AUTH_SOCK; [2022-09-22T06:42:17.565Z] unset SSH_AGENT_PID; [2022-09-22T06:42:17.565Z] echo Agent pid 77 killed; [2022-09-22T06:42:17.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T06:42:17.868Z] + git semver [Pipeline] } [2022-09-22T06:42:18.140Z] $ docker stop --time=1 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 [2022-09-22T06:42:19.453Z] $ docker rm -f 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T06:42:19.777Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T06:42:19.926Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T06:42:19.928Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T06:42:20.049Z] provisioning config files... [2022-09-22T06:42:20.057Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8849576483510116818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:42:20.343Z] ---> docker-login.sh [2022-09-22T06:42:20.343Z] nexus3.edgexfoundry.org:10001 [2022-09-22T06:42:20.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:20.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:20.343Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:20.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:20.343Z] [2022-09-22T06:42:20.343Z] Login Succeeded [2022-09-22T06:42:20.343Z] nexus3.edgexfoundry.org:10002 [2022-09-22T06:42:20.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:20.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:20.343Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:20.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:20.343Z] [2022-09-22T06:42:20.343Z] Login Succeeded [2022-09-22T06:42:20.343Z] nexus3.edgexfoundry.org:10003 [2022-09-22T06:42:20.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:20.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:20.602Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:20.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:20.602Z] [2022-09-22T06:42:20.602Z] Login Succeeded [2022-09-22T06:42:20.602Z] nexus3.edgexfoundry.org:10004 [2022-09-22T06:42:20.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:20.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:20.602Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:20.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:20.602Z] [2022-09-22T06:42:20.602Z] Login Succeeded [2022-09-22T06:42:20.602Z] docker.io [2022-09-22T06:42:20.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:42:21.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:42:21.121Z] Configure a credential helper to remove this warning. See [2022-09-22T06:42:21.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:42:21.121Z] [2022-09-22T06:42:21.121Z] Login Succeeded [2022-09-22T06:42:21.121Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T06:42:21.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T06:42:21.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T06:42:21.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T06:42:21.215Z] ========================================================= [2022-09-22T06:42:21.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T06:42:21.215Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:42:21.524Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T06:42:21.524Z] Sending build context to Docker daemon 9.874MB [2022-09-22T06:42:21.524Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T06:42:21.524Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T06:42:21.524Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T06:42:21.524Z] 2408cc74d12b: Pulling fs layer [2022-09-22T06:42:21.524Z] ea60b727a1ce: Pulling fs layer [2022-09-22T06:42:21.524Z] 30c4a7721957: Pulling fs layer [2022-09-22T06:42:21.524Z] 370296b7ddb6: Pulling fs layer [2022-09-22T06:42:21.524Z] 7c6cee850709: Pulling fs layer [2022-09-22T06:42:21.524Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T06:42:21.524Z] d94ebbe4e438: Pulling fs layer [2022-09-22T06:42:21.524Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T06:42:21.524Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T06:42:21.524Z] 370296b7ddb6: Waiting [2022-09-22T06:42:21.524Z] 7c6cee850709: Waiting [2022-09-22T06:42:21.524Z] d94ebbe4e438: Waiting [2022-09-22T06:42:21.524Z] 59ccb84bbe0f: Waiting [2022-09-22T06:42:21.524Z] bcfd1f05c69d: Waiting [2022-09-22T06:42:21.524Z] 30c4a7721957: Verifying Checksum [2022-09-22T06:42:21.524Z] 30c4a7721957: Download complete [2022-09-22T06:42:21.524Z] ea60b727a1ce: Verifying Checksum [2022-09-22T06:42:21.524Z] ea60b727a1ce: Download complete [2022-09-22T06:42:21.524Z] 7c6cee850709: Download complete [2022-09-22T06:42:21.524Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T06:42:21.524Z] 39a5fcdaea64: Download complete [2022-09-22T06:42:21.783Z] 2408cc74d12b: Verifying Checksum [2022-09-22T06:42:21.783Z] 2408cc74d12b: Download complete [2022-09-22T06:42:21.783Z] d94ebbe4e438: Download complete [2022-09-22T06:42:21.783Z] 2408cc74d12b: Pull complete [2022-09-22T06:42:22.042Z] ea60b727a1ce: Pull complete [2022-09-22T06:42:22.042Z] 30c4a7721957: Pull complete [2022-09-22T06:42:22.300Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T06:42:22.300Z] 59ccb84bbe0f: Download complete [2022-09-22T06:42:22.300Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T06:42:22.300Z] bcfd1f05c69d: Download complete [2022-09-22T06:42:22.558Z] 370296b7ddb6: Verifying Checksum [2022-09-22T06:42:22.558Z] 370296b7ddb6: Download complete [2022-09-22T06:42:25.838Z] 370296b7ddb6: Pull complete [2022-09-22T06:42:25.838Z] 7c6cee850709: Pull complete [2022-09-22T06:42:25.838Z] 39a5fcdaea64: Pull complete [2022-09-22T06:42:26.096Z] d94ebbe4e438: Pull complete [2022-09-22T06:42:27.998Z] bcfd1f05c69d: Pull complete [2022-09-22T06:42:28.567Z] 59ccb84bbe0f: Pull complete [2022-09-22T06:42:28.567Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T06:42:28.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T06:42:28.567Z] ---> a4fb48ad2a94 [2022-09-22T06:42:28.567Z] Step 3/11 : ARG MAKE=make build [2022-09-22T06:42:29.949Z] ---> Running in 913ea428a7f8 [2022-09-22T06:42:30.207Z] Removing intermediate container 913ea428a7f8 [2022-09-22T06:42:30.207Z] ---> 7a99dd6b6fd2 [2022-09-22T06:42:30.207Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T06:42:30.207Z] ---> Running in 795ca7e6cb43 [2022-09-22T06:42:30.207Z] Removing intermediate container 795ca7e6cb43 [2022-09-22T06:42:30.207Z] ---> 3f1b85c4b2d8 [2022-09-22T06:42:30.207Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T06:42:30.466Z] ---> Running in 82103c76e96f [2022-09-22T06:42:30.466Z] Removing intermediate container 82103c76e96f [2022-09-22T06:42:30.466Z] ---> 320c21afbb78 [2022-09-22T06:42:30.466Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T06:42:30.466Z] ---> Running in 5f8b10c0d8be [2022-09-22T06:42:31.033Z] Removing intermediate container 5f8b10c0d8be [2022-09-22T06:42:31.033Z] ---> 9e41fad28b0b [2022-09-22T06:42:31.033Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T06:42:31.033Z] ---> Running in 69723402fffc [2022-09-22T06:42:31.294Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T06:42:32.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T06:42:32.489Z] OK: 211 MiB in 51 packages [2022-09-22T06:42:33.058Z] Removing intermediate container 69723402fffc [2022-09-22T06:42:33.058Z] ---> 971bd4c6f574 [2022-09-22T06:42:33.058Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T06:42:33.058Z] ---> 49c9919f47ea [2022-09-22T06:42:33.058Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T06:42:33.058Z] ---> Running in 0b118dcca342 [2022-09-22T06:42:35.010Z] Still waiting to schedule task [2022-09-22T06:42:35.010Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T06:42:47.950Z] Removing intermediate container 0b118dcca342 [2022-09-22T06:42:47.950Z] ---> 12ae32945b9f [2022-09-22T06:42:47.950Z] Step 10/11 : COPY . . [2022-09-22T06:42:47.950Z] ---> 384203ff37ee [2022-09-22T06:42:47.950Z] Step 11/11 : RUN ${MAKE} [2022-09-22T06:42:47.950Z] ---> Running in ff439f986a09 [2022-09-22T06:42:47.950Z] noop [2022-09-22T06:42:47.950Z] Removing intermediate container ff439f986a09 [2022-09-22T06:42:47.950Z] ---> 52cbde5955c1 [2022-09-22T06:42:47.950Z] Successfully built 52cbde5955c1 [2022-09-22T06:42:47.950Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:42:48.250Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T06:42:48.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:42:48.311Z] prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container [2022-09-22T06:42:48.340Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T06:42:48.684Z] $ docker top 858beffea5b27ae9c62cbddd87cbd8f94f81d38afa21a6506c9cffee4db51791 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T06:42:49.027Z] + go version [2022-09-22T06:42:49.027Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T06:42:49.041Z] $ docker stop --time=1 858beffea5b27ae9c62cbddd87cbd8f94f81d38afa21a6506c9cffee4db51791 [2022-09-22T06:42:50.348Z] $ docker rm -f 858beffea5b27ae9c62cbddd87cbd8f94f81d38afa21a6506c9cffee4db51791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:42:50.719Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T06:42:50.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:42:50.783Z] prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container [2022-09-22T06:42:50.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-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 ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T06:42:51.163Z] $ docker top a69254ec5a080f3bc376f98da76feeb00cbedb65d4f3b28d945acb9959eeb70e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T06:42:51.505Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-09-22T06:42:51.801Z] + make test [2022-09-22T06:42:51.801Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T06:42:58.366Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 60.0% of statements [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 65.1% of statements [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T06:43:13.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements [2022-09-22T06:43:13.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T06:43:28.128Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T06:43:28.128Z] GO111MODULE=on go vet ./... [2022-09-22T06:43:29.063Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T06:43:29.322Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T06:43:29.322Z] ./bin/test-attribution-txt.sh [2022-09-22T06:43:29.322Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T06:43:29.322Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T06:43:29.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T06:43:29.347Z] $ docker stop --time=1 a69254ec5a080f3bc376f98da76feeb00cbedb65d4f3b28d945acb9959eeb70e [2022-09-22T06:43:31.412Z] $ docker rm -f a69254ec5a080f3bc376f98da76feeb00cbedb65d4f3b28d945acb9959eeb70e [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T06:43:31.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T06:43:31.951Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T06:43:32.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T06:43:32.737Z] + ls -al . [2022-09-22T06:43:32.737Z] total 276 [2022-09-22T06:43:32.737Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 06:42 . [2022-09-22T06:43:32.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:41 .. [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 06:42 .dockerignore [2022-09-22T06:43:32.737Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 06:43 .git [2022-09-22T06:43:32.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:42 .github [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 06:42 .gitignore [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 06:42 .golangci.yml [2022-09-22T06:43:32.737Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 06:42 .semver [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 06:42 CHANGELOG.md [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 06:42 GOVERNANCE.md [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 06:42 Jenkinsfile [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 06:42 LICENSE [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 06:42 Makefile [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 06:42 OWNERS.md [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 06:42 README.md [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 06:42 VERSION [2022-09-22T06:43:32.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:42 bin [2022-09-22T06:43:32.737Z] -rw-r--r-- 1 jenkins jenkins 100768 Sep 22 06:43 coverage.out [2022-09-22T06:43:32.737Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 06:42 example [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 06:42 go.mod [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 06:42 go.sum [2022-09-22T06:43:32.737Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 06:42 internal [2022-09-22T06:43:32.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:42 openapi [2022-09-22T06:43:32.737Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 06:42 pkg [2022-09-22T06:43:32.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:42 snap [2022-09-22T06:43:32.737Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 06:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:43:33.044Z] + 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=aa68bb43ba4ba6389006a396e9401756110d6284 --label arch=amd64 --label version=0.0.0 . [2022-09-22T06:43:33.044Z] Sending build context to Docker daemon 9.975MB [2022-09-22T06:43:33.044Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T06:43:33.044Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T06:43:33.044Z] ---> 52cbde5955c1 [2022-09-22T06:43:33.044Z] Step 3/25 : ARG MAKE=make build [2022-09-22T06:43:33.044Z] ---> Running in 6c32e95720d0 [2022-09-22T06:43:33.302Z] Removing intermediate container 6c32e95720d0 [2022-09-22T06:43:33.303Z] ---> 6112bff472c5 [2022-09-22T06:43:33.303Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T06:43:33.303Z] ---> Running in 4a4d0ba62212 [2022-09-22T06:43:33.303Z] Removing intermediate container 4a4d0ba62212 [2022-09-22T06:43:33.303Z] ---> 358f34aefe84 [2022-09-22T06:43:33.303Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T06:43:33.303Z] ---> Running in f4125c08fcbb [2022-09-22T06:43:33.562Z] Removing intermediate container f4125c08fcbb [2022-09-22T06:43:33.562Z] ---> eeff46c20ae0 [2022-09-22T06:43:33.562Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T06:43:33.562Z] ---> Running in ee0723668669 [2022-09-22T06:43:34.131Z] Removing intermediate container ee0723668669 [2022-09-22T06:43:34.131Z] ---> 3e400a32f3cc [2022-09-22T06:43:34.131Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T06:43:34.131Z] ---> Running in 69b6ec3b190b [2022-09-22T06:43:34.391Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T06:43:35.331Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T06:43:35.590Z] OK: 211 MiB in 51 packages [2022-09-22T06:43:35.848Z] Removing intermediate container 69b6ec3b190b [2022-09-22T06:43:35.848Z] ---> 6bcaf40000d3 [2022-09-22T06:43:35.848Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T06:43:35.848Z] ---> 109658bd4819 [2022-09-22T06:43:35.848Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T06:43:36.107Z] ---> Running in fae2e7eb9b3a [2022-09-22T06:43:36.675Z] Removing intermediate container fae2e7eb9b3a [2022-09-22T06:43:36.675Z] ---> 3d6ecc8616bd [2022-09-22T06:43:36.675Z] Step 10/25 : COPY . . [2022-09-22T06:43:36.934Z] ---> f8a05ac9bab1 [2022-09-22T06:43:36.934Z] Step 11/25 : RUN ${MAKE} [2022-09-22T06:43:36.934Z] ---> Running in 72ee47d96e92 [2022-09-22T06:43:37.195Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T06:43:55.279Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T06:43:56.654Z] Removing intermediate container 72ee47d96e92 [2022-09-22T06:43:56.654Z] ---> e9b8adb04cd0 [2022-09-22T06:43:56.654Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T06:43:57.219Z] 3.16: Pulling from library/alpine [2022-09-22T06:43:57.475Z] 213ec9aee27d: Pulling fs layer [2022-09-22T06:43:57.476Z] 213ec9aee27d: Verifying Checksum [2022-09-22T06:43:57.476Z] 213ec9aee27d: Download complete [2022-09-22T06:43:57.732Z] 213ec9aee27d: Pull complete [2022-09-22T06:43:57.732Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T06:43:57.732Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T06:43:57.732Z] ---> 9c6f07244728 [2022-09-22T06:43:57.732Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T06:43:57.732Z] ---> Running in 1de2af721d59 [2022-09-22T06:43:57.990Z] Removing intermediate container 1de2af721d59 [2022-09-22T06:43:57.990Z] ---> 144d80455d04 [2022-09-22T06:43:57.990Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T06:43:57.990Z] ---> Running in 92784b558c5b [2022-09-22T06:43:58.555Z] Removing intermediate container 92784b558c5b [2022-09-22T06:43:58.555Z] ---> a440c47771d7 [2022-09-22T06:43:58.555Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T06:43:58.555Z] ---> Running in 92941c5bb6d5 [2022-09-22T06:43:58.813Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T06:43:59.748Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T06:44:00.006Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T06:44:00.006Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T06:44:00.006Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T06:44:00.264Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T06:44:00.264Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T06:44:00.264Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T06:44:00.264Z] OK: 8 MiB in 19 packages [2022-09-22T06:44:00.835Z] Removing intermediate container 92941c5bb6d5 [2022-09-22T06:44:00.835Z] ---> ab58c11479d9 [2022-09-22T06:44:00.835Z] Step 16/25 : WORKDIR / [2022-09-22T06:44:00.835Z] ---> Running in 69d6229cad24 [2022-09-22T06:44:00.835Z] Removing intermediate container 69d6229cad24 [2022-09-22T06:44:00.835Z] ---> b9da84de2b99 [2022-09-22T06:44:00.835Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T06:44:01.094Z] ---> f0b309bda04b [2022-09-22T06:44:01.094Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T06:44:01.666Z] ---> af8b1e18e4ba [2022-09-22T06:44:01.666Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T06:44:01.666Z] ---> f5275c37fb2d [2022-09-22T06:44:01.666Z] Step 20/25 : EXPOSE 59999 [2022-09-22T06:44:01.666Z] ---> Running in 3ddc123d838d [2022-09-22T06:44:01.666Z] Removing intermediate container 3ddc123d838d [2022-09-22T06:44:01.666Z] ---> b5c97bfe320d [2022-09-22T06:44:01.666Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T06:44:01.924Z] ---> Running in 1109ab5f2ab5 [2022-09-22T06:44:01.924Z] Removing intermediate container 1109ab5f2ab5 [2022-09-22T06:44:01.924Z] ---> 1f7a4942f3fe [2022-09-22T06:44:01.924Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T06:44:01.924Z] ---> Running in b9839ca353e7 [2022-09-22T06:44:01.924Z] Removing intermediate container b9839ca353e7 [2022-09-22T06:44:01.924Z] ---> de46650de498 [2022-09-22T06:44:01.924Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T06:44:01.971Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-546 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-09-22T06:44:01.984Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2022-09-22T06:44:02.023Z] The recommended git tool is: git [2022-09-22T06:44:02.183Z] ---> Running in 32b590b09b21 [2022-09-22T06:44:02.183Z] Removing intermediate container 32b590b09b21 [2022-09-22T06:44:02.183Z] ---> fcd92824e746 [2022-09-22T06:44:02.183Z] Step 24/25 : LABEL git_sha=aa68bb43ba4ba6389006a396e9401756110d6284 [2022-09-22T06:44:02.183Z] ---> Running in 779ca313ad02 [2022-09-22T06:44:02.183Z] Removing intermediate container 779ca313ad02 [2022-09-22T06:44:02.183Z] ---> 62bee1274341 [2022-09-22T06:44:02.183Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T06:44:02.183Z] ---> Running in 7ed287c73d05 [2022-09-22T06:44:02.442Z] Removing intermediate container 7ed287c73d05 [2022-09-22T06:44:02.442Z] ---> d64530e10bfd [2022-09-22T06:44:02.442Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T06:44:02.442Z] Successfully built d64530e10bfd [2022-09-22T06:44:02.442Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:44:02.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T06:44:02.883Z] [2022-09-22T06:44:02.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:44:03.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T06:44:03.187Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T06:44:03.187Z] 5eb5b503b376: Pulling fs layer [2022-09-22T06:44:03.187Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T06:44:03.187Z] ec43610c2a17: Pulling fs layer [2022-09-22T06:44:03.187Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T06:44:03.187Z] 33b1e0a273af: Pulling fs layer [2022-09-22T06:44:03.187Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T06:44:03.187Z] 2f39f015ded8: Pulling fs layer [2022-09-22T06:44:03.187Z] 5d3b04190fa2: Waiting [2022-09-22T06:44:03.187Z] 3a2ae6a8a46f: Waiting [2022-09-22T06:44:03.187Z] 33b1e0a273af: Waiting [2022-09-22T06:44:03.187Z] 2f39f015ded8: Waiting [2022-09-22T06:44:03.187Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T06:44:03.187Z] 5c69ac0246d0: Download complete [2022-09-22T06:44:03.187Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T06:44:03.187Z] 3a2ae6a8a46f: Download complete [2022-09-22T06:44:03.187Z] 33b1e0a273af: Verifying Checksum [2022-09-22T06:44:03.187Z] 33b1e0a273af: Download complete [2022-09-22T06:44:03.187Z] 5d3b04190fa2: Download complete [2022-09-22T06:44:03.187Z] ec43610c2a17: Verifying Checksum [2022-09-22T06:44:03.187Z] ec43610c2a17: Download complete [2022-09-22T06:44:03.444Z] 5eb5b503b376: Verifying Checksum [2022-09-22T06:44:03.444Z] 5eb5b503b376: Download complete [2022-09-22T06:44:04.010Z] 2f39f015ded8: Download complete [2022-09-22T06:44:04.577Z] 5eb5b503b376: Pull complete [2022-09-22T06:44:04.577Z] 5c69ac0246d0: Pull complete [2022-09-22T06:44:04.836Z] ec43610c2a17: Pull complete [2022-09-22T06:44:04.836Z] 3a2ae6a8a46f: Pull complete [2022-09-22T06:44:05.095Z] 33b1e0a273af: Pull complete [2022-09-22T06:44:05.095Z] 5d3b04190fa2: Pull complete [2022-09-22T06:44:06.839Z] using credential edgex-jenkins-ssh [2022-09-22T06:44:06.861Z] Cloning the remote Git repository [2022-09-22T06:44:06.902Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T06:44:06.978Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2022-09-22T06:44:07.111Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T06:44:07.111Z] > git --version # timeout=10 [2022-09-22T06:44:07.132Z] > git --version # 'git version 2.25.1' [2022-09-22T06:44:07.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T06:44:07.179Z] Verifying host key using known hosts file [2022-09-22T06:44:07.353Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T06:44:07.365Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T06:44:09.279Z] 2f39f015ded8: Pull complete [2022-09-22T06:44:09.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T06:44:09.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T06:44:09.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:44:09.353Z] prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container [2022-09-22T06:44:09.380Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T06:44:08.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T06:44:08.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T06:44:10.380Z] Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-09-22T06:44:10.722Z] Merge succeeded, producing f01e66227662d25f4833e0cdc3ae44f135655644 [2022-09-22T06:44:10.722Z] Checking out Revision f01e66227662d25f4833e0cdc3ae44f135655644 (PR-1196) [2022-09-22T06:44:09.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T06:44:09.661Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T06:44:09.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T06:44:09.670Z] Verifying host key using known hosts file [2022-09-22T06:44:09.684Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T06:44:09.702Z] > 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-09-22T06:44:10.408Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T06:44:10.438Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-09-22T06:44:10.547Z] > git remote # timeout=10 [2022-09-22T06:44:10.569Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T06:44:10.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T06:44:10.587Z] Verifying host key using known hosts file [2022-09-22T06:44:10.590Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T06:44:10.599Z] > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 [2022-09-22T06:44:10.706Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T06:44:10.729Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T06:44:10.796Z] $ docker top 35785f62dc4f2761f51d7fc31ffeeffbbe3ba9f9c2fa1cacffcabc8af24d7711 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:44:11.188Z] ---> job-cost.sh [2022-09-22T06:44:11.188Z] lf-activate-venv: SKIPPING [2022-09-22T06:44:11.188Z] INFO: No Stack... [2022-09-22T06:44:11.447Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T06:44:12.016Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T06:44:10.743Z] > git checkout -f f01e66227662d25f4833e0cdc3ae44f135655644 # timeout=10 [2022-09-22T06:44:12.305Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-09-22T06:44:12.305Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T06:44:12.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [2022-09-22T06:44:12.323Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] did not exist. Created. [2022-09-22T06:44:12.323Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T06:44:12.625Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T06:44:12.650Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T06:44:12.657Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T06:44:12.678Z] $ docker stop --time=1 35785f62dc4f2761f51d7fc31ffeeffbbe3ba9f9c2fa1cacffcabc8af24d7711 [2022-09-22T06:44:13.843Z] $ docker rm -f 35785f62dc4f2761f51d7fc31ffeeffbbe3ba9f9c2fa1cacffcabc8af24d7711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T06:44:14.219Z] Commit message: "Merge commit 'e5efdee9dd9df15b49fe73e0060b5d971241be0d' into HEAD" [2022-09-22T06:44:14.243Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T06:44:14.229Z] > git rev-list --no-walk 770e49f98ab9a0319562a8a700f6290beba4a444 # timeout=10 [2022-09-22T06:44:15.396Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T06:44:15.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T06:44:15.396Z] Dload Upload Total Spent Left Speed [2022-09-22T06:44:15.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 79759 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh [2022-09-22T06:44:16.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T06:44:16.377Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T06:44:16.378Z] + sudo tee /etc/docker/daemon.new [2022-09-22T06:44:16.378Z] { [2022-09-22T06:44:16.378Z] "registry-mirrors": [ [2022-09-22T06:44:16.378Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T06:44:16.378Z] ], [2022-09-22T06:44:16.378Z] "bip": "10.250.0.254/24", [2022-09-22T06:44:16.378Z] "hosts": [ [2022-09-22T06:44:16.378Z] "tcp://0.0.0.0:5555", [2022-09-22T06:44:16.378Z] "unix:///var/run/docker.sock" [2022-09-22T06:44:16.378Z] ], [2022-09-22T06:44:16.378Z] "mtu": 1458, [2022-09-22T06:44:16.378Z] "selinux-enabled": true, [2022-09-22T06:44:16.378Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T06:44:16.378Z] } [Pipeline] sh [2022-09-22T06:44:16.695Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T06:44:17.021Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T06:44:35.263Z] provisioning config files... [2022-09-22T06:44:35.290Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config6964125833631942234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:44:35.632Z] ---> docker-login.sh [2022-09-22T06:44:35.633Z] nexus3.edgexfoundry.org:10001 [2022-09-22T06:44:35.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:44:36.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:44:36.174Z] Configure a credential helper to remove this warning. See [2022-09-22T06:44:36.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:44:36.174Z] [2022-09-22T06:44:36.174Z] Login Succeeded [2022-09-22T06:44:36.174Z] nexus3.edgexfoundry.org:10002 [2022-09-22T06:44:36.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:44:36.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:44:36.445Z] Configure a credential helper to remove this warning. See [2022-09-22T06:44:36.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:44:36.445Z] [2022-09-22T06:44:36.445Z] Login Succeeded [2022-09-22T06:44:36.445Z] nexus3.edgexfoundry.org:10003 [2022-09-22T06:44:36.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:44:36.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:44:36.984Z] Configure a credential helper to remove this warning. See [2022-09-22T06:44:36.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:44:36.984Z] [2022-09-22T06:44:36.984Z] Login Succeeded [2022-09-22T06:44:36.984Z] nexus3.edgexfoundry.org:10004 [2022-09-22T06:44:36.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:44:37.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:44:37.253Z] Configure a credential helper to remove this warning. See [2022-09-22T06:44:37.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:44:37.253Z] [2022-09-22T06:44:37.253Z] Login Succeeded [2022-09-22T06:44:37.253Z] docker.io [2022-09-22T06:44:37.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T06:44:37.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T06:44:37.790Z] Configure a credential helper to remove this warning. See [2022-09-22T06:44:37.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T06:44:37.790Z] [2022-09-22T06:44:37.790Z] Login Succeeded [2022-09-22T06:44:37.790Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T06:44:37.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T06:44:37.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T06:44:37.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T06:44:37.946Z] ========================================================= [2022-09-22T06:44:37.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T06:44:37.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:44:38.273Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T06:44:38.541Z] Sending build context to Docker daemon 5.307MB [2022-09-22T06:44:38.541Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T06:44:38.541Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T06:44:38.811Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T06:44:38.811Z] b3c136eddcbf: Pulling fs layer [2022-09-22T06:44:38.811Z] c0a3192eca97: Pulling fs layer [2022-09-22T06:44:38.811Z] a050256f5b6f: Pulling fs layer [2022-09-22T06:44:38.811Z] 656be50a0ddc: Pulling fs layer [2022-09-22T06:44:38.811Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T06:44:38.811Z] 46d945488cbd: Pulling fs layer [2022-09-22T06:44:38.811Z] 8a5474983e97: Pulling fs layer [2022-09-22T06:44:38.811Z] 329c88fbcd65: Pulling fs layer [2022-09-22T06:44:38.811Z] 656be50a0ddc: Waiting [2022-09-22T06:44:38.811Z] 2bbca73fdf42: Waiting [2022-09-22T06:44:38.811Z] 8a5474983e97: Waiting [2022-09-22T06:44:38.811Z] 46d945488cbd: Waiting [2022-09-22T06:44:38.811Z] 329c88fbcd65: Waiting [2022-09-22T06:44:38.811Z] a050256f5b6f: Verifying Checksum [2022-09-22T06:44:38.811Z] a050256f5b6f: Download complete [2022-09-22T06:44:38.811Z] c0a3192eca97: Download complete [2022-09-22T06:44:38.811Z] 2bbca73fdf42: Download complete [2022-09-22T06:44:38.811Z] 46d945488cbd: Verifying Checksum [2022-09-22T06:44:38.811Z] 46d945488cbd: Download complete [2022-09-22T06:44:38.811Z] b3c136eddcbf: Verifying Checksum [2022-09-22T06:44:38.811Z] b3c136eddcbf: Download complete [2022-09-22T06:44:39.788Z] b3c136eddcbf: Pull complete [2022-09-22T06:44:40.070Z] 329c88fbcd65: Verifying Checksum [2022-09-22T06:44:40.070Z] 329c88fbcd65: Download complete [2022-09-22T06:44:40.339Z] c0a3192eca97: Pull complete [2022-09-22T06:44:40.612Z] a050256f5b6f: Pull complete [2022-09-22T06:44:40.882Z] 8a5474983e97: Verifying Checksum [2022-09-22T06:44:40.882Z] 8a5474983e97: Download complete [2022-09-22T06:44:41.858Z] 656be50a0ddc: Verifying Checksum [2022-09-22T06:44:41.858Z] 656be50a0ddc: Download complete [2022-09-22T06:44:54.199Z] 656be50a0ddc: Pull complete [2022-09-22T06:44:54.199Z] 2bbca73fdf42: Pull complete [2022-09-22T06:44:54.199Z] 46d945488cbd: Pull complete [2022-09-22T06:44:59.546Z] 8a5474983e97: Pull complete [2022-09-22T06:45:02.173Z] 329c88fbcd65: Pull complete [2022-09-22T06:45:02.173Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T06:45:02.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T06:45:02.173Z] ---> ff4287adb874 [2022-09-22T06:45:02.173Z] Step 3/11 : ARG MAKE=make build [2022-09-22T06:45:03.582Z] ---> Running in bf0126170f3c [2022-09-22T06:45:03.848Z] Removing intermediate container bf0126170f3c [2022-09-22T06:45:03.848Z] ---> 7ac08e1177ef [2022-09-22T06:45:03.848Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T06:45:03.848Z] ---> Running in ef09e0bd2533 [2022-09-22T06:45:04.115Z] Removing intermediate container ef09e0bd2533 [2022-09-22T06:45:04.115Z] ---> 7a71250fe6f2 [2022-09-22T06:45:04.115Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T06:45:04.115Z] ---> Running in ba8492c1b618 [2022-09-22T06:45:04.394Z] Removing intermediate container ba8492c1b618 [2022-09-22T06:45:04.394Z] ---> 3538d0b859e0 [2022-09-22T06:45:04.394Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T06:45:04.662Z] ---> Running in 877500ce5d2c [2022-09-22T06:45:06.617Z] Removing intermediate container 877500ce5d2c [2022-09-22T06:45:06.617Z] ---> ee32e162d04b [2022-09-22T06:45:06.617Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T06:45:06.617Z] ---> Running in d031ec596a6c [2022-09-22T06:45:07.199Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T06:45:08.154Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T06:45:09.113Z] OK: 221 MiB in 51 packages [2022-09-22T06:45:09.704Z] Removing intermediate container d031ec596a6c [2022-09-22T06:45:09.704Z] ---> 54a039b798d5 [2022-09-22T06:45:09.704Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T06:45:10.297Z] ---> 22f0b5394275 [2022-09-22T06:45:10.297Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T06:45:10.298Z] ---> Running in cd4a1eb7b294 [2022-09-22T06:45:57.139Z] Removing intermediate container cd4a1eb7b294 [2022-09-22T06:45:57.139Z] ---> 98700c05e47b [2022-09-22T06:45:57.139Z] Step 10/11 : COPY . . [2022-09-22T06:45:57.139Z] ---> e3048a8c9362 [2022-09-22T06:45:57.139Z] Step 11/11 : RUN ${MAKE} [2022-09-22T06:45:57.139Z] ---> Running in a96d7a91fea7 [2022-09-22T06:45:57.139Z] noop [2022-09-22T06:45:57.406Z] Removing intermediate container a96d7a91fea7 [2022-09-22T06:45:57.406Z] ---> 9675cc2930f9 [2022-09-22T06:45:57.406Z] Successfully built 9675cc2930f9 [2022-09-22T06:45:57.406Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:45:57.752Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T06:45:57.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:45:57.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-546 does not seem to be running inside a container [2022-09-22T06:45:57.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-09-22T06:45:59.188Z] $ docker top dbf810307aa45c88292bb5be85add428358e5eab80c62589da3528166b02de82 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T06:46:00.005Z] + go version [2022-09-22T06:46:00.005Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T06:46:00.024Z] $ docker stop --time=1 dbf810307aa45c88292bb5be85add428358e5eab80c62589da3528166b02de82 [2022-09-22T06:46:01.632Z] $ docker rm -f dbf810307aa45c88292bb5be85add428358e5eab80c62589da3528166b02de82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:46:02.161Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T06:46:02.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:46:02.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-546 does not seem to be running inside a container [2022-09-22T06:46:02.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-09-22T06:46:03.484Z] $ docker top f624a0635494ea974cbfdd440d5f94bb1445f55f2b702c4d528acccced301cac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T06:46:03.973Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh [2022-09-22T06:46:04.318Z] + make test [2022-09-22T06:46:04.318Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T06:46:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T06:48:13.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T06:48:13.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T06:48:13.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T06:48:13.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T06:48:13.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T06:48:17.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.333s coverage: 27.6% of statements [2022-09-22T06:48:19.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.653s coverage: 78.9% of statements [2022-09-22T06:48:19.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T06:48:24.762Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.590s coverage: 60.0% of statements [2022-09-22T06:48:24.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T06:48:24.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T06:48:28.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.837s coverage: 54.4% of statements [2022-09-22T06:48:28.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T06:48:28.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T06:48:28.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T06:48:28.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.795s coverage: 65.1% of statements [2022-09-22T06:48:28.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T06:48:28.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T06:48:29.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.408s coverage: 89.2% of statements [2022-09-22T06:48:29.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T06:48:33.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.256s coverage: 4.8% of statements [2022-09-22T06:48:33.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T06:48:33.535Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T06:48:33.535Z] GO111MODULE=on go vet ./... [2022-09-22T06:50:25.228Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T06:50:25.228Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T06:50:25.228Z] ./bin/test-attribution-txt.sh [2022-09-22T06:50:25.228Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T06:50:25.228Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T06:50:25.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T06:50:25.262Z] $ docker stop --time=1 f624a0635494ea974cbfdd440d5f94bb1445f55f2b702c4d528acccced301cac [2022-09-22T06:50:27.000Z] $ docker rm -f f624a0635494ea974cbfdd440d5f94bb1445f55f2b702c4d528acccced301cac [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T06:50:28.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T06:50:28.304Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T06:50:28.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T06:50:29.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T06:50:29.556Z] + ls -al . [2022-09-22T06:50:29.556Z] total 272 [2022-09-22T06:50:29.556Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 06:46 . [2022-09-22T06:50:29.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:44 .. [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 06:44 .dockerignore [2022-09-22T06:50:29.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 06:44 .git [2022-09-22T06:50:29.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:44 .github [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 06:44 .gitignore [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 06:44 .golangci.yml [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 06:44 CHANGELOG.md [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 06:44 GOVERNANCE.md [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 06:44 Jenkinsfile [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 06:44 LICENSE [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 06:44 Makefile [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 06:44 OWNERS.md [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 06:44 README.md [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 06:42 VERSION [2022-09-22T06:50:29.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:44 bin [2022-09-22T06:50:29.556Z] -rw-r--r-- 1 jenkins jenkins 100768 Sep 22 06:48 coverage.out [2022-09-22T06:50:29.556Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 06:44 example [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 06:44 go.mod [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 06:44 go.sum [2022-09-22T06:50:29.556Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 06:44 internal [2022-09-22T06:50:29.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:44 openapi [2022-09-22T06:50:29.556Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 06:44 pkg [2022-09-22T06:50:29.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:44 snap [2022-09-22T06:50:29.556Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 06:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:50:29.948Z] + 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=f01e66227662d25f4833e0cdc3ae44f135655644 --label arch=arm64 --label version=0.0.0 . [2022-09-22T06:50:31.402Z] Sending build context to Docker daemon 5.409MB [2022-09-22T06:50:31.677Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T06:50:31.677Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T06:50:31.677Z] ---> 9675cc2930f9 [2022-09-22T06:50:31.677Z] Step 3/25 : ARG MAKE=make build [2022-09-22T06:50:31.677Z] ---> Running in 05e9556a27e3 [2022-09-22T06:50:31.947Z] Removing intermediate container 05e9556a27e3 [2022-09-22T06:50:31.947Z] ---> 7c93ef53db15 [2022-09-22T06:50:31.947Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T06:50:31.947Z] ---> Running in 87c3f6d76364 [2022-09-22T06:50:32.530Z] Removing intermediate container 87c3f6d76364 [2022-09-22T06:50:32.530Z] ---> 47a29e58a4a7 [2022-09-22T06:50:32.530Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T06:50:32.530Z] ---> Running in 78e66441b511 [2022-09-22T06:50:32.801Z] Removing intermediate container 78e66441b511 [2022-09-22T06:50:32.801Z] ---> 70b5e9c78822 [2022-09-22T06:50:32.801Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T06:50:32.801Z] ---> Running in 428b6c184da4 [2022-09-22T06:50:34.749Z] Removing intermediate container 428b6c184da4 [2022-09-22T06:50:34.749Z] ---> 57571adb0a9b [2022-09-22T06:50:34.749Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T06:50:34.749Z] ---> Running in bebf237dd2d7 [2022-09-22T06:50:35.330Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T06:50:36.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T06:50:37.248Z] OK: 221 MiB in 51 packages [2022-09-22T06:50:37.829Z] Removing intermediate container bebf237dd2d7 [2022-09-22T06:50:37.829Z] ---> 58b4747c6e50 [2022-09-22T06:50:37.829Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T06:50:38.414Z] ---> 9e3852ef97fa [2022-09-22T06:50:38.414Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T06:50:38.414Z] ---> Running in d5341ba44e96 [2022-09-22T06:50:40.356Z] Removing intermediate container d5341ba44e96 [2022-09-22T06:50:40.356Z] ---> 32f40c0611f7 [2022-09-22T06:50:40.356Z] Step 10/25 : COPY . . [2022-09-22T06:50:41.316Z] ---> 1b958b2b5b6c [2022-09-22T06:50:41.316Z] Step 11/25 : RUN ${MAKE} [2022-09-22T06:50:41.316Z] ---> Running in 10f8615b1d65 [2022-09-22T06:50:42.276Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T06:52:48.939Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T06:52:48.939Z] Removing intermediate container 10f8615b1d65 [2022-09-22T06:52:48.939Z] ---> 688e338f27a0 [2022-09-22T06:52:48.939Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T06:52:48.939Z] 3.16: Pulling from library/alpine [2022-09-22T06:52:48.939Z] 9b18e9b68314: Pulling fs layer [2022-09-22T06:52:48.939Z] 9b18e9b68314: Verifying Checksum [2022-09-22T06:52:48.939Z] 9b18e9b68314: Download complete [2022-09-22T06:52:48.939Z] 9b18e9b68314: Pull complete [2022-09-22T06:52:48.939Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T06:52:48.939Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T06:52:48.939Z] ---> a6215f271958 [2022-09-22T06:52:48.939Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T06:52:48.939Z] ---> Running in 98ddce6ce8b0 [2022-09-22T06:52:48.939Z] Removing intermediate container 98ddce6ce8b0 [2022-09-22T06:52:48.939Z] ---> 867fa6212a99 [2022-09-22T06:52:48.939Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T06:52:48.939Z] ---> Running in 29a87df27d34 [2022-09-22T06:52:48.939Z] Removing intermediate container 29a87df27d34 [2022-09-22T06:52:48.939Z] ---> 241c4426499b [2022-09-22T06:52:48.939Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T06:52:48.939Z] ---> Running in 14b01a54569b [2022-09-22T06:52:49.205Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T06:52:50.164Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T06:52:51.123Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T06:52:51.123Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T06:52:51.388Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T06:52:51.388Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T06:52:51.655Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T06:52:51.655Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T06:52:51.655Z] OK: 8 MiB in 19 packages [2022-09-22T06:52:52.617Z] Removing intermediate container 14b01a54569b [2022-09-22T06:52:52.617Z] ---> b8bd5669a48d [2022-09-22T06:52:52.617Z] Step 16/25 : WORKDIR / [2022-09-22T06:52:52.617Z] ---> Running in a6e54c765499 [2022-09-22T06:52:52.883Z] Removing intermediate container a6e54c765499 [2022-09-22T06:52:52.883Z] ---> 0feef114fe31 [2022-09-22T06:52:52.883Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T06:52:53.465Z] ---> 02266bef9baa [2022-09-22T06:52:53.465Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T06:52:54.873Z] ---> 7c309a8cebc4 [2022-09-22T06:52:54.873Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T06:52:55.454Z] ---> df04d25aae1f [2022-09-22T06:52:55.454Z] Step 20/25 : EXPOSE 59999 [2022-09-22T06:52:55.454Z] ---> Running in 82a83192ce84 [2022-09-22T06:52:55.729Z] Removing intermediate container 82a83192ce84 [2022-09-22T06:52:55.729Z] ---> 5e4876cb81f2 [2022-09-22T06:52:55.729Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T06:52:55.729Z] ---> Running in 983509a1b5d2 [2022-09-22T06:52:55.999Z] Removing intermediate container 983509a1b5d2 [2022-09-22T06:52:55.999Z] ---> 7a18e9205ee4 [2022-09-22T06:52:55.999Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T06:52:56.268Z] ---> Running in f328cdf74ff1 [2022-09-22T06:52:56.540Z] Removing intermediate container f328cdf74ff1 [2022-09-22T06:52:56.540Z] ---> 59717a9bff11 [2022-09-22T06:52:56.540Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T06:52:56.540Z] ---> Running in 0196a0958044 [2022-09-22T06:52:56.808Z] Removing intermediate container 0196a0958044 [2022-09-22T06:52:56.808Z] ---> 7ab524431411 [2022-09-22T06:52:56.808Z] Step 24/25 : LABEL git_sha=f01e66227662d25f4833e0cdc3ae44f135655644 [2022-09-22T06:52:57.074Z] ---> Running in 63388d39fa6d [2022-09-22T06:52:57.340Z] Removing intermediate container 63388d39fa6d [2022-09-22T06:52:57.340Z] ---> b4c4f339bd6c [2022-09-22T06:52:57.340Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T06:52:57.340Z] ---> Running in 4944266b3e23 [2022-09-22T06:52:57.606Z] Removing intermediate container 4944266b3e23 [2022-09-22T06:52:57.606Z] ---> d41dadcc2b7c [2022-09-22T06:52:57.606Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T06:52:57.606Z] Successfully built d41dadcc2b7c [2022-09-22T06:52:57.606Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:52:58.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T06:52:58.062Z] [2022-09-22T06:52:58.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:52:58.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T06:52:58.387Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T06:52:58.387Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T06:52:58.387Z] 04944245beec: Pulling fs layer [2022-09-22T06:52:58.387Z] 699f458cf7ca: Pulling fs layer [2022-09-22T06:52:58.387Z] 765212b225bb: Pulling fs layer [2022-09-22T06:52:58.387Z] f23df028b6ca: Pulling fs layer [2022-09-22T06:52:58.387Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T06:52:58.387Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T06:52:58.387Z] f23df028b6ca: Waiting [2022-09-22T06:52:58.387Z] 2437ff75d9bd: Waiting [2022-09-22T06:52:58.387Z] 765212b225bb: Waiting [2022-09-22T06:52:58.653Z] 04944245beec: Verifying Checksum [2022-09-22T06:52:58.653Z] 04944245beec: Download complete [2022-09-22T06:52:58.653Z] 765212b225bb: Verifying Checksum [2022-09-22T06:52:58.653Z] 765212b225bb: Download complete [2022-09-22T06:52:58.653Z] f23df028b6ca: Verifying Checksum [2022-09-22T06:52:58.653Z] f23df028b6ca: Download complete [2022-09-22T06:52:58.653Z] d65c8cfc05b1: Download complete [2022-09-22T06:52:58.922Z] 699f458cf7ca: Verifying Checksum [2022-09-22T06:52:58.922Z] 699f458cf7ca: Download complete [2022-09-22T06:52:59.188Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T06:52:59.188Z] 8998bd30e6a1: Download complete [2022-09-22T06:53:01.594Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T06:53:01.594Z] 2437ff75d9bd: Download complete [2022-09-22T06:53:03.543Z] 8998bd30e6a1: Pull complete [2022-09-22T06:53:03.811Z] 04944245beec: Pull complete [2022-09-22T06:53:05.219Z] 699f458cf7ca: Pull complete [2022-09-22T06:53:05.219Z] 765212b225bb: Pull complete [2022-09-22T06:53:05.801Z] f23df028b6ca: Pull complete [2022-09-22T06:53:06.067Z] d65c8cfc05b1: Pull complete [2022-09-22T06:53:21.055Z] 2437ff75d9bd: Pull complete [2022-09-22T06:53:21.055Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T06:53:21.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T06:53:21.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:53:21.215Z] prd-ubuntu20.04-docker-arm64-4c-16g-546 does not seem to be running inside a container [2022-09-22T06:53:21.275Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-09-22T06:53:23.711Z] $ docker top 535fc93eb1a653367534bc983ae27a89aff3c653f0ed5236c8ddcac15d26fff7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:24.523Z] ---> job-cost.sh [2022-09-22T06:53:24.523Z] lf-activate-venv: SKIPPING [2022-09-22T06:53:24.523Z] INFO: No Stack... [2022-09-22T06:53:25.104Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T06:53:26.059Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T06:53:26.375Z] + cut -d, -f6 [2022-09-22T06:53:26.375Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [Pipeline] lock [2022-09-22T06:53:26.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [2022-09-22T06:53:26.414Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] did not exist. Created. [2022-09-22T06:53:26.414Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T06:53:27.057Z] /w/workspace/device-sdk-go/9@tmp/durable-6cc58f3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T06:53:27.392Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T06:53:27.414Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T06:53:27.468Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T06:53:27.477Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T06:53:27.495Z] $ docker stop --time=1 535fc93eb1a653367534bc983ae27a89aff3c653f0ed5236c8ddcac15d26fff7 [2022-09-22T06:53:28.940Z] $ docker rm -f 535fc93eb1a653367534bc983ae27a89aff3c653f0ed5236c8ddcac15d26fff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-22T06:53:29.322Z] provisioning config files... [2022-09-22T06:53:29.328Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config16770393458493720425tmp [Pipeline] { [Pipeline] sh [2022-09-22T06:53:29.621Z] + set +x [2022-09-22T06:53:29.621Z] + curl -s https://codecov.io/bash [2022-09-22T06:53:29.621Z] + bash -s -- [2022-09-22T06:53:29.621Z] [2022-09-22T06:53:29.621Z] _____ _ [2022-09-22T06:53:29.621Z] / ____| | | [2022-09-22T06:53:29.621Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T06:53:29.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T06:53:29.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T06:53:29.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T06:53:29.621Z] Bash-1.0.6 [2022-09-22T06:53:29.621Z] [2022-09-22T06:53:29.621Z] [2022-09-22T06:53:29.621Z] ==> git version 2.25.1 found [2022-09-22T06:53:29.621Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-22T06:53:29.621Z] Release-Date: 2020-01-08 [2022-09-22T06:53:29.621Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T06:53:29.621Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T06:53:29.621Z] ==> Jenkins CI detected. [2022-09-22T06:53:29.621Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-22T06:53:29.621Z] project root: . [2022-09-22T06:53:29.621Z] --> token set from env [2022-09-22T06:53:29.621Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T06:53:29.621Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T06:53:29.621Z] ==> Python coveragepy not found [2022-09-22T06:53:29.621Z] ==> Searching for coverage reports in: [2022-09-22T06:53:29.621Z] + . [2022-09-22T06:53:29.621Z] -> Found 1 reports [2022-09-22T06:53:29.621Z] ==> Detecting git/mercurial file structure [2022-09-22T06:53:29.621Z] ==> Reading reports [2022-09-22T06:53:29.621Z] + ./coverage.out bytes=100768 [2022-09-22T06:53:29.621Z] ==> Appending adjustments [2022-09-22T06:53:29.621Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T06:53:29.879Z] + Found adjustments [2022-09-22T06:53:29.879Z] ==> Gzipping contents [2022-09-22T06:53:30.138Z] 16K /tmp/codecov.CSu2AE.gz [2022-09-22T06:53:30.138Z] ==> Uploading reports [2022-09-22T06:53:30.138Z] url: https://codecov.io [2022-09-22T06:53:30.139Z] query: branch=PR-1196&commit=aa68bb43ba4ba6389006a396e9401756110d6284&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-22T06:53:30.139Z] -> Pinging Codecov [2022-09-22T06:53:30.139Z] 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=aa68bb43ba4ba6389006a396e9401756110d6284&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-22T06:53:30.399Z] -> Uploading to [2022-09-22T06:53:30.399Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/aa68bb43ba4ba6389006a396e9401756110d6284/9413b21f-9584-4df4-ba1a-aedfb19d0f10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T065330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83842fc576733c361f7ac6e44c3087d8bcb7044f8522732aa7f00a5db83668f6 [2022-09-22T06:53:30.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T06:53:30.399Z] Dload Upload Total Spent Left Speed [2022-09-22T06:53:30.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14421 0 0 100 14421 0 62973 --:--:-- --:--:-- --:--:-- 62973 [2022-09-22T06:53:30.658Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] } [2022-09-22T06:53:30.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-22T06:53:31.369Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-09-22T06:53:31.369Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-22T06:53:31.369Z] total 16 [2022-09-22T06:53:31.369Z] drwxr-xr-x 3 root root 4096 Sep 22 06:44 . [2022-09-22T06:53:31.369Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 06:44 .. [2022-09-22T06:53:31.369Z] drwxr-xr-x 2 root root 4096 Sep 22 06:44 cost [2022-09-22T06:53:31.369Z] -rw-r--r-- 1 root root 86 Sep 22 06:44 cost.csv [2022-09-22T06:53:31.369Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-22T06:53:31.369Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-22T06:53:31.369Z] total 16 [2022-09-22T06:53:31.369Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 06:44 . [2022-09-22T06:53:31.369Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 06:44 .. [2022-09-22T06:53:31.369Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 06:44 cost [2022-09-22T06:53:31.369Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 06:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:31.660Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:32.526Z] ---> package-listing.sh [2022-09-22T06:53:32.526Z] ++ facter osfamily [2022-09-22T06:53:32.526Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T06:53:32.526Z] + OS_FAMILY=debian [2022-09-22T06:53:32.526Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-22T06:53:32.526Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T06:53:32.526Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T06:53:32.526Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T06:53:32.526Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T06:53:32.526Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-22T06:53:32.526Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T06:53:32.526Z] + case "${OS_FAMILY}" in [2022-09-22T06:53:32.526Z] + dpkg -l [2022-09-22T06:53:32.526Z] + grep '^ii' [2022-09-22T06:53:32.786Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T06:53:32.786Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T06:53:32.786Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T06:53:32.786Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-22T06:53:32.786Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-09-22T06:53:32.786Z] + 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-09-22T06:53:32.797Z] 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-09-22T06:53:33.081Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T06:53:33.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T06:53:33.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T06:53:33.696Z] prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container [2022-09-22T06:53:33.723Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T06:53:33.923Z] $ docker top ec32c15063a48c79d68b68ffb57a2bca816123e8ba71f2ec1712cfdb6ba84bfb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T06:53:34.261Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T06:53:34.542Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T06:53:34.824Z] + ls /var/log/sa-host [2022-09-22T06:53:34.824Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T06:53:34.959Z] provisioning config files... [2022-09-22T06:53:34.968Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config14795677918695894404tmp [Pipeline] { [Pipeline] echo [2022-09-22T06:53:34.982Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:35.264Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T06:53:35.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:35.595Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T06:53:35.603Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:35.885Z] ---> sudo-logs.sh [2022-09-22T06:53:35.885Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T06:53:35.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:36.190Z] ---> job-cost.sh [2022-09-22T06:53:36.191Z] lf-activate-venv: SKIPPING [2022-09-22T06:53:36.191Z] DEBUG: total: 0.2199999988079071 [2022-09-22T06:53:36.191Z] INFO: Retrieving Stack Cost... [2022-09-22T06:53:36.759Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T06:53:37.326Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T06:53:37.337Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T06:53:37.623Z] ---> logs-deploy.sh [2022-09-22T06:53:37.623Z] lf-activate-venv: SKIPPING [2022-09-22T06:53:37.623Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/9 [2022-09-22T06:53:37.623Z] INFO: archiving workspace using pattern(s): [2022-09-22T06:53:38.563Z] Archives upload complete. [2022-09-22T06:53:38.563Z] INFO: archiving logs to Nexus