hahattan commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4784eae9ccf763c7ae31f1170af2777237b51f1a+98b98247f9133d8f7aed6314c982956ab2f73d9e (5143dffceb0afb33ce51a725b9f6504cd2c62285) 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-ssh9677115881795282166.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-ssh10112627364020695562.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-1210/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-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7405308611629525002.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-ssh9861726442081516103.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-1210/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-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17739213678995613836.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 ‘prd-ubuntu20.04-docker-8c-8g-3’ is offline Running on prd-ubuntu20.04-docker-8c-8g-419 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [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-1210 # 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/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit 4784eae9ccf763c7ae31f1170af2777237b51f1a Merge succeeded, producing 4784eae9ccf763c7ae31f1170af2777237b51f1a Checking out Revision 4784eae9ccf763c7ae31f1170af2777237b51f1a (PR-1210) > git config core.sparsecheckout # timeout=10 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # 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 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 Commit message: "refactor: refactor device command application layer" > git rev-list --no-walk 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:43 ========================================================= 05:04:43 EdgeX Global Pipelines Version Info 05:04:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:44 ------------------- 05:04:44 stable info: 05:04:44 ------------------- 05:04:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:44 Message: update stable to v1.0.239 05:04:44 ------------------- 05:04:44 experimental info: 05:04:44 ------------------- 05:04:44 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:44 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1210 [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1210 [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1210 [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4784eae [Pipeline] echo 05:04:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:45 provisioning config files... 05:04:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config14183551702597024977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:45 ---> docker-login.sh 05:04:45 nexus3.edgexfoundry.org:10001 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:46 Configure a credential helper to remove this warning. See 05:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:46 05:04:46 Login Succeeded 05:04:46 nexus3.edgexfoundry.org:10002 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:46 Configure a credential helper to remove this warning. See 05:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:46 05:04:46 Login Succeeded 05:04:46 nexus3.edgexfoundry.org:10003 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:46 Configure a credential helper to remove this warning. See 05:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:46 05:04:46 Login Succeeded 05:04:46 nexus3.edgexfoundry.org:10004 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:46 Configure a credential helper to remove this warning. See 05:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:46 05:04:46 Login Succeeded 05:04:46 docker.io 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:46 Configure a credential helper to remove this warning. See 05:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:46 05:04:46 Login Succeeded 05:04:46 ---> docker-login.sh ends [Pipeline] } 05:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:47 + git rev-list -1 --merges 4784eae9ccf763c7ae31f1170af2777237b51f1a~1..4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo 05:04:47 -----------> git rev-list -1 --merges 4784eae9ccf763c7ae31f1170af2777237b51f1a~1..4784eae9ccf763c7ae31f1170af2777237b51f1a 4784eae9ccf763c7ae31f1170af2777237b51f1a [false] [Pipeline] sh 05:04:47 + git log --format=format:%s -1 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo 05:04:47 ========================================================= 05:04:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:47 + git log --format=format:%s -1 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo 05:04:47 [semverPrep] GIT_COMMIT: 4784eae9ccf763c7ae31f1170af2777237b51f1a, Commit Message: refactor: refactor device command application layer [Pipeline] echo 05:04:47 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:48 + grep -v github /etc/ssh/ssh_known_hosts 05:04:48 + [ -e /tmp/ssh_known_hosts ] 05:04:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:48 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:48 05:04:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:49 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:49 b85a868b505f: Pulling fs layer 05:04:49 e2be974225ed: Pulling fs layer 05:04:49 339a4e72a1f5: Pulling fs layer 05:04:49 988bab9f4d93: Pulling fs layer 05:04:49 1469e6f7b9e6: Pulling fs layer 05:04:49 eaf3925da568: Pulling fs layer 05:04:49 bab4dde63d76: Pulling fs layer 05:04:49 bde34c3a00c8: Pulling fs layer 05:04:49 b352a97aabf1: Pulling fs layer 05:04:49 4872d77fe225: Pulling fs layer 05:04:49 5851b861e8e6: Pulling fs layer 05:04:49 bab4dde63d76: Waiting 05:04:49 4872d77fe225: Waiting 05:04:49 5851b861e8e6: Waiting 05:04:49 eaf3925da568: Waiting 05:04:49 988bab9f4d93: Waiting 05:04:49 b352a97aabf1: Waiting 05:04:49 1469e6f7b9e6: Waiting 05:04:49 bde34c3a00c8: Waiting 05:04:49 e2be974225ed: Download complete 05:04:49 988bab9f4d93: Verifying Checksum 05:04:49 988bab9f4d93: Download complete 05:04:49 1469e6f7b9e6: Download complete 05:04:49 339a4e72a1f5: Verifying Checksum 05:04:49 339a4e72a1f5: Download complete 05:04:49 eaf3925da568: Verifying Checksum 05:04:49 eaf3925da568: Download complete 05:04:49 bde34c3a00c8: Verifying Checksum 05:04:49 bde34c3a00c8: Download complete 05:04:49 b352a97aabf1: Verifying Checksum 05:04:49 b352a97aabf1: Download complete 05:04:49 4872d77fe225: Verifying Checksum 05:04:49 4872d77fe225: Download complete 05:04:49 5851b861e8e6: Verifying Checksum 05:04:49 5851b861e8e6: Download complete 05:04:49 b85a868b505f: Verifying Checksum 05:04:49 b85a868b505f: Download complete 05:04:49 bab4dde63d76: Verifying Checksum 05:04:49 bab4dde63d76: Download complete 05:04:50 b85a868b505f: Pull complete 05:04:50 e2be974225ed: Pull complete 05:04:51 339a4e72a1f5: Pull complete 05:04:51 988bab9f4d93: Pull complete 05:04:51 1469e6f7b9e6: Pull complete 05:04:51 eaf3925da568: Pull complete 05:04:53 bab4dde63d76: Pull complete 05:04:53 bde34c3a00c8: Pull complete 05:04:53 b352a97aabf1: Pull complete 05:04:53 4872d77fe225: Pull complete 05:04:53 5851b861e8e6: Pull complete 05:04:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:53 prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container 05:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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-devops/py-git-semver:0.1.4 cat 05:04:55 $ docker top 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 -eo pid,comm 05:04:55 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). 05:04:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:55 [ssh-agent] Looking for ssh-agent implementation... 05:04:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:55 $ docker exec 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent 05:04:56 SSH_AUTH_SOCK=/tmp/ssh-CcsFYZkzOoRG/agent.32 05:04:56 SSH_AGENT_PID=38 05:04:56 Running ssh-add (command line suppressed) 05:04:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_12233081569228014104.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_12233081569228014104.key) 05:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:56 + git tag --points-at HEAD [Pipeline] } 05:04:56 $ docker exec --env ******** --env ******** 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent -k 05:04:56 unset SSH_AUTH_SOCK; 05:04:56 unset SSH_AGENT_PID; 05:04:56 echo Agent pid 38 killed; 05:04:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:56 [ssh-agent] Looking for ssh-agent implementation... 05:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:56 $ docker exec 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent 05:04:56 SSH_AUTH_SOCK=/tmp/ssh-gTh49pnrHCDT/agent.71 05:04:56 SSH_AGENT_PID=77 05:04:56 Running ssh-add (command line suppressed) 05:04:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_8380407724310401273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_8380407724310401273.key) 05:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:57 + git semver init 05:04:57 2022-09-21 05:04:57,506 [run_init] DEBUG init version:0.0.0 force:False 05:04:57 2022-09-21 05:04:57,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver 05:04:57 2022-09-21 05:04:57,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver 05:04:57 2022-09-21 05:04:57,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210, universal_newlines=False, shell=None, istream=None) 05:04:58 2022-09-21 05:04:58,462 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.git/info/exclude 05:04:58 2022-09-21 05:04:58,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 with force:False 05:04:58 2022-09-21 05:04:58,463 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 05:04:58 2022-09-21 05:04:58,468 [execute] INFO git cat-file --batch-check 05:04:58 2022-09-21 05:04:58,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) 05:04:58 2022-09-21 05:04:58,475 [execute] INFO git cat-file --batch 05:04:58 2022-09-21 05:04:58,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) 05:04:58 2022-09-21 05:04:58,482 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 05:04:58 0.0.0 [Pipeline] } 05:04:58 $ docker exec --env ******** --env ******** 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent -k 05:04:58 unset SSH_AUTH_SOCK; 05:04:58 unset SSH_AGENT_PID; 05:04:58 echo Agent pid 77 killed; 05:04:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:59 + git semver [Pipeline] } 05:04:59 $ docker stop --time=1 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 05:05:00 $ docker rm -f 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:01 Stashed 1 file(s) [Pipeline] echo 05:05:01 [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 05:05:01 provisioning config files... 05:05:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config1020538270321281216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> docker-login.sh 05:05:01 nexus3.edgexfoundry.org:10001 05:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:01 Configure a credential helper to remove this warning. See 05:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:01 05:05:01 Login Succeeded 05:05:01 nexus3.edgexfoundry.org:10002 05:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:01 Configure a credential helper to remove this warning. See 05:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:01 05:05:01 Login Succeeded 05:05:01 nexus3.edgexfoundry.org:10003 05:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:01 Configure a credential helper to remove this warning. See 05:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:01 05:05:01 Login Succeeded 05:05:01 nexus3.edgexfoundry.org:10004 05:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:01 Configure a credential helper to remove this warning. See 05:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:01 05:05:01 Login Succeeded 05:05:01 docker.io 05:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:02 Configure a credential helper to remove this warning. See 05:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:02 05:05:02 Login Succeeded 05:05:02 ---> docker-login.sh ends [Pipeline] } 05:05:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:02 ========================================================= 05:05:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:05:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:02 + 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 . 05:05:02 Sending build context to Docker daemon 9.866MB 05:05:02 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:05:02 Step 2/11 : FROM ${BASE} AS builder 05:05:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:03 2408cc74d12b: Pulling fs layer 05:05:03 ea60b727a1ce: Pulling fs layer 05:05:03 30c4a7721957: Pulling fs layer 05:05:03 370296b7ddb6: Pulling fs layer 05:05:03 7c6cee850709: Pulling fs layer 05:05:03 39a5fcdaea64: Pulling fs layer 05:05:03 d94ebbe4e438: Pulling fs layer 05:05:03 bcfd1f05c69d: Pulling fs layer 05:05:03 59ccb84bbe0f: Pulling fs layer 05:05:03 bcfd1f05c69d: Waiting 05:05:03 7c6cee850709: Waiting 05:05:03 39a5fcdaea64: Waiting 05:05:03 59ccb84bbe0f: Waiting 05:05:03 d94ebbe4e438: Waiting 05:05:03 370296b7ddb6: Waiting 05:05:03 30c4a7721957: Download complete 05:05:03 ea60b727a1ce: Verifying Checksum 05:05:03 ea60b727a1ce: Download complete 05:05:03 7c6cee850709: Verifying Checksum 05:05:03 7c6cee850709: Download complete 05:05:03 39a5fcdaea64: Download complete 05:05:03 2408cc74d12b: Download complete 05:05:03 d94ebbe4e438: Verifying Checksum 05:05:03 d94ebbe4e438: Download complete 05:05:03 2408cc74d12b: Pull complete 05:05:03 ea60b727a1ce: Pull complete 05:05:03 30c4a7721957: Pull complete 05:05:03 59ccb84bbe0f: Verifying Checksum 05:05:03 59ccb84bbe0f: Download complete 05:05:03 370296b7ddb6: Verifying Checksum 05:05:03 370296b7ddb6: Download complete 05:05:03 bcfd1f05c69d: Verifying Checksum 05:05:03 bcfd1f05c69d: Download complete 05:05:08 370296b7ddb6: Pull complete 05:05:08 7c6cee850709: Pull complete 05:05:08 39a5fcdaea64: Pull complete 05:05:08 d94ebbe4e438: Pull complete 05:05:10 bcfd1f05c69d: Pull complete 05:05:10 59ccb84bbe0f: Pull complete 05:05:10 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:05:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:05:10 ---> a4fb48ad2a94 05:05:10 Step 3/11 : ARG MAKE=make build 05:05:14 ---> Running in 71a685932296 05:05:14 Removing intermediate container 71a685932296 05:05:14 ---> 15f22ce76820 05:05:14 Step 4/11 : WORKDIR /device-sdk-go 05:05:14 ---> Running in 8db875f42d2f 05:05:14 Removing intermediate container 8db875f42d2f 05:05:14 ---> 86b996fb54f8 05:05:14 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:05:14 ---> Running in 28528e9991ea 05:05:14 Removing intermediate container 28528e9991ea 05:05:14 ---> 35ab20ad6214 05:05:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:14 ---> Running in 096a6bf22d68 05:05:14 Removing intermediate container 096a6bf22d68 05:05:14 ---> d5b354d5274a 05:05:14 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:05:14 ---> Running in 71fad5a5c155 05:05:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:16 Still waiting to schedule task 05:05:16 ‘prd-ubuntu20.04-docker-arm64-4c-16g-418’ is offline 05:05:16 OK: 211 MiB in 51 packages 05:05:16 Removing intermediate container 71fad5a5c155 05:05:16 ---> 30ba8b5bd4ff 05:05:16 Step 8/11 : COPY go.mod vendor* ./ 05:05:17 ---> 577caaccd664 05:05:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:17 ---> Running in 7102d320141a 05:05:35 Removing intermediate container 7102d320141a 05:05:35 ---> 8debb9cbe1b4 05:05:35 Step 10/11 : COPY . . 05:05:35 ---> 5c0d8cba1b0e 05:05:35 Step 11/11 : RUN ${MAKE} 05:05:35 ---> Running in e4afb45ca0f9 05:05:36 noop 05:05:36 Removing intermediate container e4afb45ca0f9 05:05:36 ---> e88861712914 05:05:36 Successfully built e88861712914 05:05:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:36 + docker inspect -f . ci-base-image-x86_64 05:05:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:36 prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container 05:05:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:37 $ docker top a33a38a6f02b881f7e2a3335bbf645aa339f93f3d2601c0fda59eb72d896bd93 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:37 + go version 05:05:37 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:37 $ docker stop --time=1 a33a38a6f02b881f7e2a3335bbf645aa339f93f3d2601c0fda59eb72d896bd93 05:05:38 $ docker rm -f a33a38a6f02b881f7e2a3335bbf645aa339f93f3d2601c0fda59eb72d896bd93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:39 + docker inspect -f . ci-base-image-x86_64 05:05:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:39 prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container 05:05:39 $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:39 $ docker top 3c638ff52222f9c9bbcb9c093f3da9a1b0b80db6e6216ce057caf043354a1581 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] fileExists [Pipeline] sh 05:05:40 + make test 05:05:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:05:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:05:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements 05:05:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:05:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 60.0% of statements 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:05:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:05:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:05:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:05:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:05:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.5% of statements 05:05:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:06:17 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." 05:06:17 GO111MODULE=on go vet ./... 05:06:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:19 ./bin/test-attribution-txt.sh 05:06:19 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:06:19 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 05:06:19 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 05:06:19 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 05:06:19 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:06:19 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:06:19 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 05:06:19 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 05:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:19 $ docker stop --time=1 3c638ff52222f9c9bbcb9c093f3da9a1b0b80db6e6216ce057caf043354a1581 05:06:22 $ docker rm -f 3c638ff52222f9c9bbcb9c093f3da9a1b0b80db6e6216ce057caf043354a1581 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:23 + ls -al . 05:06:23 total 276 05:06:23 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 05:05 . 05:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:04 .. 05:06:23 -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 05:04 .dockerignore 05:06:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 05:06 .git 05:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:04 .github 05:06:23 -rw-rw-r-- 1 jenkins jenkins 131 Sep 21 05:04 .gitignore 05:06:23 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 05:04 .golangci.yml 05:06:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 05:04 .semver 05:06:23 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 21 05:04 CHANGELOG.md 05:06:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 05:04 GOVERNANCE.md 05:06:23 -rw-rw-r-- 1 jenkins jenkins 880 Sep 21 05:04 Jenkinsfile 05:06:23 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 05:04 LICENSE 05:06:23 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 21 05:04 Makefile 05:06:23 -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 05:04 OWNERS.md 05:06:23 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 21 05:04 README.md 05:06:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 05:05 VERSION 05:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:04 bin 05:06:23 -rw-r--r-- 1 jenkins jenkins 101642 Sep 21 05:05 coverage.out 05:06:23 drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 05:04 example 05:06:23 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 21 05:04 go.mod 05:06:23 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 21 05:04 go.sum 05:06:23 drwxrwxr-x 14 jenkins jenkins 4096 Sep 21 05:04 internal 05:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 05:04 openapi 05:06:23 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 05:04 pkg 05:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:04 snap 05:06:23 -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:24 + 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=4784eae9ccf763c7ae31f1170af2777237b51f1a --label arch=amd64 --label version=0.0.0 . 05:06:24 Sending build context to Docker daemon 9.968MB 05:06:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:06:24 Step 2/25 : FROM ${BASE} AS builder 05:06:24 ---> e88861712914 05:06:24 Step 3/25 : ARG MAKE=make build 05:06:24 ---> Running in 858ee9224008 05:06:24 Removing intermediate container 858ee9224008 05:06:24 ---> f20554bc3b24 05:06:24 Step 4/25 : WORKDIR /device-sdk-go 05:06:24 ---> Running in 32fcdf4db31a 05:06:24 Removing intermediate container 32fcdf4db31a 05:06:24 ---> 77a657d1f089 05:06:24 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:06:24 ---> Running in 54ecb9c60d46 05:06:24 Removing intermediate container 54ecb9c60d46 05:06:24 ---> 6dc9f0965b20 05:06:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:24 ---> Running in f73ed0edc2fb 05:06:25 Removing intermediate container f73ed0edc2fb 05:06:25 ---> 891193b944c0 05:06:25 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:06:25 ---> Running in c581d296b788 05:06:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:26 OK: 211 MiB in 51 packages 05:06:27 Removing intermediate container c581d296b788 05:06:27 ---> 90647bf8e4d4 05:06:27 Step 8/25 : COPY go.mod vendor* ./ 05:06:27 ---> 1332da9632e0 05:06:27 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:27 ---> Running in b0299dc7bf63 05:06:27 Removing intermediate container b0299dc7bf63 05:06:27 ---> 787bd3cb6214 05:06:27 Step 10/25 : COPY . . 05:06:28 ---> 1c0f32abf55a 05:06:28 Step 11/25 : RUN ${MAKE} 05:06:28 ---> Running in f01e086ccd19 05:06:28 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 05:06:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:06:50 Removing intermediate container f01e086ccd19 05:06:50 ---> 097726beb0bd 05:06:50 Step 12/25 : FROM alpine:3.16 05:06:50 3.16: Pulling from library/alpine 05:06:50 213ec9aee27d: Pulling fs layer 05:06:50 213ec9aee27d: Verifying Checksum 05:06:50 213ec9aee27d: Download complete 05:06:50 213ec9aee27d: Pull complete 05:06:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:06:50 Status: Downloaded newer image for alpine:3.16 05:06:50 ---> 9c6f07244728 05:06:50 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:06:50 ---> Running in 2a53d8c52ad7 05:06:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-420 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] { [Pipeline] ws 05:06:51 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 05:06:51 The recommended git tool is: git 05:06:51 Removing intermediate container 2a53d8c52ad7 05:06:51 ---> 214e9083385c 05:06:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:51 ---> Running in 4eb71b570b27 05:06:51 Removing intermediate container 4eb71b570b27 05:06:51 ---> cd1e35b66fca 05:06:51 Step 15/25 : RUN apk add --update --no-cache zeromq 05:06:51 ---> Running in 078156a89d80 05:06:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:53 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:06:53 (2/5) Installing libsodium (1.0.18-r0) 05:06:53 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:06:53 (4/5) Installing libzmq (4.3.4-r0) 05:06:53 (5/5) Installing zeromq (4.3.4-r0) 05:06:54 Executing busybox-1.35.0-r17.trigger 05:06:54 OK: 8 MiB in 19 packages 05:06:54 Removing intermediate container 078156a89d80 05:06:54 ---> 08db9da46000 05:06:54 Step 16/25 : WORKDIR / 05:06:54 ---> Running in e91eac397939 05:06:54 Removing intermediate container e91eac397939 05:06:54 ---> 9890f2a18ead 05:06:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:06:54 ---> 7abfec214bc3 05:06:54 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:06:55 ---> d7edef288f17 05:06:55 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:06:55 ---> 3b94bf2f0051 05:06:55 Step 20/25 : EXPOSE 59999 05:06:55 ---> Running in 5e6a3fe46670 05:06:55 Removing intermediate container 5e6a3fe46670 05:06:55 ---> c28bfd5da437 05:06:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:06:55 ---> Running in a518bfa5cd94 05:06:55 Removing intermediate container a518bfa5cd94 05:06:55 ---> 7259653f049c 05:06:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:55 ---> Running in d9d80d08036a 05:06:55 Removing intermediate container d9d80d08036a 05:06:55 ---> 17f4befbee42 05:06:55 Step 23/25 : LABEL arch=amd64 05:06:55 ---> Running in 1f3efbed41e1 05:06:56 Removing intermediate container 1f3efbed41e1 05:06:56 ---> ab7f17da13ac 05:06:56 Step 24/25 : LABEL git_sha=4784eae9ccf763c7ae31f1170af2777237b51f1a 05:06:56 ---> Running in 70ee2a9e65b0 05:06:56 Removing intermediate container 70ee2a9e65b0 05:06:56 ---> e4b5772bb956 05:06:56 Step 25/25 : LABEL version=0.0.0 05:06:56 ---> Running in d65605d659cb 05:06:56 using credential edgex-jenkins-ssh 05:06:56 Cloning the remote Git repository 05:06:56 Removing intermediate container d65605d659cb 05:06:56 ---> 739ff2e7166c 05:06:56 [Warning] One or more build-args [ARCH] were not consumed 05:06:56 Successfully built 739ff2e7166c 05:06:56 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 05:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:56 05:06:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:57 latest: Pulling from edgex-lftools-log-publisher 05:06:57 5eb5b503b376: Pulling fs layer 05:06:57 5c69ac0246d0: Pulling fs layer 05:06:57 ec43610c2a17: Pulling fs layer 05:06:57 3a2ae6a8a46f: Pulling fs layer 05:06:57 33b1e0a273af: Pulling fs layer 05:06:57 5d3b04190fa2: Pulling fs layer 05:06:57 2f39f015ded8: Pulling fs layer 05:06:57 3a2ae6a8a46f: Waiting 05:06:57 33b1e0a273af: Waiting 05:06:57 5d3b04190fa2: Waiting 05:06:57 2f39f015ded8: Waiting 05:06:57 5c69ac0246d0: Verifying Checksum 05:06:57 5c69ac0246d0: Download complete 05:06:57 3a2ae6a8a46f: Verifying Checksum 05:06:57 3a2ae6a8a46f: Download complete 05:06:57 33b1e0a273af: Verifying Checksum 05:06:57 33b1e0a273af: Download complete 05:06:57 5d3b04190fa2: Verifying Checksum 05:06:57 5d3b04190fa2: Download complete 05:06:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:06:56 > git init /w/workspace/device-sdk-go/6 # timeout=10 05:06:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:06:56 > git --version # timeout=10 05:06:56 > git --version # 'git version 2.25.1' 05:06:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:56 Verifying host key using known hosts file 05:06:56 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. 05:06:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:57 ec43610c2a17: Verifying Checksum 05:06:57 ec43610c2a17: Download complete 05:06:57 5eb5b503b376: Verifying Checksum 05:06:57 5eb5b503b376: Download complete 05:06:57 2f39f015ded8: Download complete 05:06:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:06:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:58 5eb5b503b376: Pull complete 05:06:58 5c69ac0246d0: Pull complete 05:06:59 ec43610c2a17: Pull complete 05:06:59 3a2ae6a8a46f: Pull complete 05:06:59 33b1e0a273af: Pull complete 05:06:59 5d3b04190fa2: Pull complete 05:06:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:06:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:59 Verifying host key using known hosts file 05:06:59 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. 05:06:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:00 Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit 4784eae9ccf763c7ae31f1170af2777237b51f1a 05:07:00 Merge succeeded, producing 4784eae9ccf763c7ae31f1170af2777237b51f1a 05:07:00 Checking out Revision 4784eae9ccf763c7ae31f1170af2777237b51f1a (PR-1210) 05:07:00 > git config core.sparsecheckout # timeout=10 05:07:00 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 05:07:00 > git remote # timeout=10 05:07:00 > git config --get remote.origin.url # timeout=10 05:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:00 Verifying host key using known hosts file 05:07:00 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. 05:07:00 > git merge 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 05:07:00 > git rev-parse HEAD^{commit} # timeout=10 05:07:00 > git config core.sparsecheckout # timeout=10 05:07:00 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 05:07:04 Commit message: "refactor: refactor device command application layer" 05:07:04 05:07:04 GitHub has been notified of this commit’s build result 05:07:04 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:04 2f39f015ded8: Pull complete 05:07:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:05 prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container 05:07:05 $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:07:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:05 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:05 Dload Upload Total Spent Left Speed 05:07:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81831 0 --:--:-- --:--:-- --:--:-- 81831 05:07:08 $ docker top a1f6551b7cd016e7e7be2844d74321cacd13f49cc48d2b8cf6e04b7313bd1ec9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 05:07:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:08 ---> job-cost.sh 05:07:08 lf-activate-venv: SKIPPING 05:07:08 INFO: No Stack... 05:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:09 + sudo tee /etc/docker/daemon.new 05:07:09 { 05:07:09 "registry-mirrors": [ 05:07:09 "https://nexus3.edgexfoundry.org:10001" 05:07:09 ], 05:07:09 "bip": "10.250.0.254/24", 05:07:09 "hosts": [ 05:07:09 "tcp://0.0.0.0:5555", 05:07:09 "unix:///var/run/docker.sock" 05:07:09 ], 05:07:09 "mtu": 1458, 05:07:09 "selinux-enabled": true, 05:07:09 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:09 } [Pipeline] sh 05:07:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:09 INFO: Archiving Costs [Pipeline] sh 05:07:09 + sudo service docker restart 05:07:10 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/cost.csv 05:07:10 + cut -d, -f6 [Pipeline] lock 05:07:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] 05:07:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] did not exist. Created. 05:07:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:10 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:10 Stashed 1 file(s) [Pipeline] } 05:07:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:10 $ docker stop --time=1 a1f6551b7cd016e7e7be2844d74321cacd13f49cc48d2b8cf6e04b7313bd1ec9 05:07:11 $ docker rm -f a1f6551b7cd016e7e7be2844d74321cacd13f49cc48d2b8cf6e04b7313bd1ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:28 provisioning config files... 05:07:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config13942537724629067094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:28 ---> docker-login.sh 05:07:28 nexus3.edgexfoundry.org:10001 05:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 nexus3.edgexfoundry.org:10002 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 nexus3.edgexfoundry.org:10003 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 nexus3.edgexfoundry.org:10004 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:30 Configure a credential helper to remove this warning. See 05:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:30 05:07:30 Login Succeeded 05:07:30 docker.io 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 ---> docker-login.sh ends [Pipeline] } 05:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:31 ========================================================= 05:07:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:31 + 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 . 05:07:31 Sending build context to Docker daemon 5.327MB 05:07:31 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:07:31 Step 2/11 : FROM ${BASE} AS builder 05:07:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:32 b3c136eddcbf: Pulling fs layer 05:07:32 c0a3192eca97: Pulling fs layer 05:07:32 a050256f5b6f: Pulling fs layer 05:07:32 656be50a0ddc: Pulling fs layer 05:07:32 2bbca73fdf42: Pulling fs layer 05:07:32 46d945488cbd: Pulling fs layer 05:07:32 8a5474983e97: Pulling fs layer 05:07:32 329c88fbcd65: Pulling fs layer 05:07:32 2bbca73fdf42: Waiting 05:07:32 46d945488cbd: Waiting 05:07:32 8a5474983e97: Waiting 05:07:32 656be50a0ddc: Waiting 05:07:32 329c88fbcd65: Waiting 05:07:32 a050256f5b6f: Verifying Checksum 05:07:32 a050256f5b6f: Download complete 05:07:32 c0a3192eca97: Verifying Checksum 05:07:32 c0a3192eca97: Download complete 05:07:32 2bbca73fdf42: Verifying Checksum 05:07:32 2bbca73fdf42: Download complete 05:07:32 46d945488cbd: Verifying Checksum 05:07:32 46d945488cbd: Download complete 05:07:32 b3c136eddcbf: Verifying Checksum 05:07:32 b3c136eddcbf: Download complete 05:07:33 b3c136eddcbf: Pull complete 05:07:33 329c88fbcd65: Verifying Checksum 05:07:33 329c88fbcd65: Download complete 05:07:33 c0a3192eca97: Pull complete 05:07:34 a050256f5b6f: Pull complete 05:07:34 8a5474983e97: Verifying Checksum 05:07:34 8a5474983e97: Download complete 05:07:35 656be50a0ddc: Verifying Checksum 05:07:35 656be50a0ddc: Download complete 05:07:47 656be50a0ddc: Pull complete 05:07:47 2bbca73fdf42: Pull complete 05:07:47 46d945488cbd: Pull complete 05:07:52 8a5474983e97: Pull complete 05:07:54 329c88fbcd65: Pull complete 05:07:54 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:07:54 ---> ff4287adb874 05:07:54 Step 3/11 : ARG MAKE=make build 05:07:56 ---> Running in 2aad0f10e910 05:07:57 Removing intermediate container 2aad0f10e910 05:07:57 ---> ddfaf7d1bf6a 05:07:57 Step 4/11 : WORKDIR /device-sdk-go 05:07:57 ---> Running in 5debae3a0318 05:07:57 Removing intermediate container 5debae3a0318 05:07:57 ---> d4730b4459a6 05:07:57 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:07:57 ---> Running in 44a3b5d8bfd6 05:07:57 Removing intermediate container 44a3b5d8bfd6 05:07:57 ---> 62065dca6920 05:07:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:57 ---> Running in b8718ca92f97 05:07:59 Removing intermediate container b8718ca92f97 05:07:59 ---> 486d5d866f41 05:07:59 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:07:59 ---> Running in 46bac4abc103 05:08:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:02 OK: 221 MiB in 51 packages 05:08:03 Removing intermediate container 46bac4abc103 05:08:03 ---> 1536962e84da 05:08:03 Step 8/11 : COPY go.mod vendor* ./ 05:08:03 ---> e7f8c737ad00 05:08:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:03 ---> Running in 50697b8106ec 05:08:50 Removing intermediate container 50697b8106ec 05:08:50 ---> 50243f071969 05:08:50 Step 10/11 : COPY . . 05:08:50 ---> 75108f995c59 05:08:50 Step 11/11 : RUN ${MAKE} 05:08:51 ---> Running in e566a4891b2f 05:08:52 noop 05:08:52 Removing intermediate container e566a4891b2f 05:08:52 ---> 44535d163a9f 05:08:52 Successfully built 44535d163a9f 05:08:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:52 + docker inspect -f . ci-base-image-arm64 05:08:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:53 prd-ubuntu20.04-docker-arm64-4c-16g-420 does not seem to be running inside a container 05:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** ci-base-image-arm64 cat 05:08:54 $ docker top 7f58b2c25d3b6bc26cc2f4db1f0d51076b496510beebf40ccb0ba2b566c67b7b -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:55 + go version 05:08:55 go version go1.18.3 linux/arm64 [Pipeline] } 05:08:55 $ docker stop --time=1 7f58b2c25d3b6bc26cc2f4db1f0d51076b496510beebf40ccb0ba2b566c67b7b 05:08:56 $ docker rm -f 7f58b2c25d3b6bc26cc2f4db1f0d51076b496510beebf40ccb0ba2b566c67b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:57 + docker inspect -f . ci-base-image-arm64 05:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:57 prd-ubuntu20.04-docker-arm64-4c-16g-420 does not seem to be running inside a container 05:08:57 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** ci-base-image-arm64 cat 05:08:58 $ docker top d217d4eba4659b010500b787e7cf1c220e73df3987f3ed1165809846355d6ba8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh 05:09:00 + make test 05:09:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:09:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:11:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:11:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:11:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:11:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:11:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:11:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.457s coverage: 27.6% of statements 05:11:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.420s coverage: 78.9% of statements 05:11:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:11:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.569s coverage: 60.0% of statements 05:11:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:11:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:12:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.737s coverage: 54.4% of statements 05:12:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:12:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:12:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:12:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.609s coverage: 65.1% of statements 05:12:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:12:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:12:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.537s coverage: 89.2% of statements 05:12:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:12:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.372s coverage: 4.5% of statements 05:12:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:12:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:12:08 GO111MODULE=on go vet ./... 05:13:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:44 ./bin/test-attribution-txt.sh 05:13:44 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:13:44 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 05:13:44 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 05:13:44 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 05:13:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:13:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:13:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 05:13:44 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 05:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:13:44 $ docker stop --time=1 d217d4eba4659b010500b787e7cf1c220e73df3987f3ed1165809846355d6ba8 05:13:46 $ docker rm -f d217d4eba4659b010500b787e7cf1c220e73df3987f3ed1165809846355d6ba8 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:47 Warning: overwriting stash ‘coverage-report’ 05:13:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:49 + ls -al . 05:13:49 total 272 05:13:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 05:09 . 05:13:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:06 .. 05:13:49 -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 05:07 .dockerignore 05:13:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 05:07 .git 05:13:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:07 .github 05:13:49 -rw-rw-r-- 1 jenkins jenkins 131 Sep 21 05:07 .gitignore 05:13:49 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 05:07 .golangci.yml 05:13:49 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 21 05:07 CHANGELOG.md 05:13:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 05:07 GOVERNANCE.md 05:13:49 -rw-rw-r-- 1 jenkins jenkins 880 Sep 21 05:07 Jenkinsfile 05:13:49 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 05:07 LICENSE 05:13:49 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 21 05:07 Makefile 05:13:49 -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 05:07 OWNERS.md 05:13:49 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 21 05:07 README.md 05:13:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 05:05 VERSION 05:13:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:07 bin 05:13:49 -rw-r--r-- 1 jenkins jenkins 101642 Sep 21 05:12 coverage.out 05:13:49 drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 05:07 example 05:13:49 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 21 05:07 go.mod 05:13:49 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 21 05:07 go.sum 05:13:49 drwxrwxr-x 14 jenkins jenkins 4096 Sep 21 05:07 internal 05:13:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 05:07 openapi 05:13:49 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 05:07 pkg 05:13:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:07 snap 05:13:49 -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:49 + 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=4784eae9ccf763c7ae31f1170af2777237b51f1a --label arch=arm64 --label version=0.0.0 . 05:13:49 Sending build context to Docker daemon 5.429MB 05:13:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:13:50 Step 2/25 : FROM ${BASE} AS builder 05:13:50 ---> 44535d163a9f 05:13:50 Step 3/25 : ARG MAKE=make build 05:13:50 ---> Running in f92f7e4fc494 05:13:50 Removing intermediate container f92f7e4fc494 05:13:50 ---> b63b7a9410b4 05:13:50 Step 4/25 : WORKDIR /device-sdk-go 05:13:50 ---> Running in f28f736c108f 05:13:50 Removing intermediate container f28f736c108f 05:13:50 ---> c636ecdfb72e 05:13:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:13:50 ---> Running in ffccc149c6ba 05:13:51 Removing intermediate container ffccc149c6ba 05:13:51 ---> f7ef227651ad 05:13:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:51 ---> Running in 6cad5f018497 05:13:53 Removing intermediate container 6cad5f018497 05:13:53 ---> 182911005631 05:13:53 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:13:53 ---> Running in e4e9db40e35c 05:13:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:13:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:13:56 OK: 221 MiB in 51 packages 05:13:57 Removing intermediate container e4e9db40e35c 05:13:57 ---> e9e590caeb3c 05:13:57 Step 8/25 : COPY go.mod vendor* ./ 05:13:57 ---> fcb1bbcea07f 05:13:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:57 ---> Running in 5b382dfe1b2d 05:13:59 Removing intermediate container 5b382dfe1b2d 05:13:59 ---> ff6a677f64b8 05:13:59 Step 10/25 : COPY . . 05:14:00 ---> ba831e290fcc 05:14:00 Step 11/25 : RUN ${MAKE} 05:14:01 ---> Running in cdd021917d07 05:14:02 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 05:16:23 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:16:23 Removing intermediate container cdd021917d07 05:16:23 ---> 87fa6b6303a9 05:16:23 Step 12/25 : FROM alpine:3.16 05:16:23 3.16: Pulling from library/alpine 05:16:23 9b18e9b68314: Pulling fs layer 05:16:23 9b18e9b68314: Verifying Checksum 05:16:23 9b18e9b68314: Download complete 05:16:23 9b18e9b68314: Pull complete 05:16:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:16:23 Status: Downloaded newer image for alpine:3.16 05:16:23 ---> a6215f271958 05:16:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:16:23 ---> Running in 73ebb7117f91 05:16:24 Removing intermediate container 73ebb7117f91 05:16:24 ---> 873d7e53fd2a 05:16:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:24 ---> Running in 477b6440c6e2 05:16:26 Removing intermediate container 477b6440c6e2 05:16:26 ---> c566965e0157 05:16:26 Step 15/25 : RUN apk add --update --no-cache zeromq 05:16:26 ---> Running in 941740b9b718 05:16:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:16:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:16:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:16:29 (2/5) Installing libsodium (1.0.18-r0) 05:16:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:16:29 (4/5) Installing libzmq (4.3.4-r0) 05:16:29 (5/5) Installing zeromq (4.3.4-r0) 05:16:29 Executing busybox-1.35.0-r17.trigger 05:16:29 OK: 8 MiB in 19 packages 05:16:30 Removing intermediate container 941740b9b718 05:16:30 ---> 43185da55448 05:16:30 Step 16/25 : WORKDIR / 05:16:30 ---> Running in 8f9006085a9b 05:16:31 Removing intermediate container 8f9006085a9b 05:16:31 ---> 3f2bd2aef370 05:16:31 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:16:31 ---> e3ee4e23cfa2 05:16:31 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:16:33 ---> 6d1d533323a9 05:16:33 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:16:33 ---> 4f3f4db21247 05:16:33 Step 20/25 : EXPOSE 59999 05:16:33 ---> Running in 48f817fc3ca4 05:16:33 Removing intermediate container 48f817fc3ca4 05:16:33 ---> 5e752ab53a30 05:16:33 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:16:33 ---> Running in 002a001c1ffb 05:16:34 Removing intermediate container 002a001c1ffb 05:16:34 ---> 6e4dcd60454d 05:16:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:16:34 ---> Running in 6e6b622479dd 05:16:34 Removing intermediate container 6e6b622479dd 05:16:34 ---> 93e456924b61 05:16:34 Step 23/25 : LABEL arch=arm64 05:16:34 ---> Running in 4cda2a6da865 05:16:34 Removing intermediate container 4cda2a6da865 05:16:34 ---> cd5e53dfd8b9 05:16:34 Step 24/25 : LABEL git_sha=4784eae9ccf763c7ae31f1170af2777237b51f1a 05:16:34 ---> Running in ace4b22f6420 05:16:35 Removing intermediate container ace4b22f6420 05:16:35 ---> b311f05ec595 05:16:35 Step 25/25 : LABEL version=0.0.0 05:16:35 ---> Running in 089016ceecf2 05:16:35 Removing intermediate container 089016ceecf2 05:16:35 ---> fcb5524b1175 05:16:35 [Warning] One or more build-args [ARCH] were not consumed 05:16:35 Successfully built fcb5524b1175 05:16:35 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 05:16:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:36 05:16:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:36 arm64: Pulling from edgex-lftools-log-publisher 05:16:36 8998bd30e6a1: Pulling fs layer 05:16:36 04944245beec: Pulling fs layer 05:16:36 699f458cf7ca: Pulling fs layer 05:16:36 765212b225bb: Pulling fs layer 05:16:36 f23df028b6ca: Pulling fs layer 05:16:36 d65c8cfc05b1: Pulling fs layer 05:16:36 2437ff75d9bd: Pulling fs layer 05:16:36 765212b225bb: Waiting 05:16:36 f23df028b6ca: Waiting 05:16:36 d65c8cfc05b1: Waiting 05:16:36 2437ff75d9bd: Waiting 05:16:36 04944245beec: Verifying Checksum 05:16:36 04944245beec: Download complete 05:16:36 765212b225bb: Verifying Checksum 05:16:36 765212b225bb: Download complete 05:16:36 f23df028b6ca: Verifying Checksum 05:16:36 f23df028b6ca: Download complete 05:16:36 d65c8cfc05b1: Verifying Checksum 05:16:36 d65c8cfc05b1: Download complete 05:16:37 699f458cf7ca: Download complete 05:16:37 8998bd30e6a1: Verifying Checksum 05:16:37 8998bd30e6a1: Download complete 05:16:39 2437ff75d9bd: Verifying Checksum 05:16:39 2437ff75d9bd: Download complete 05:16:41 8998bd30e6a1: Pull complete 05:16:41 04944245beec: Pull complete 05:16:43 699f458cf7ca: Pull complete 05:16:43 765212b225bb: Pull complete 05:16:44 f23df028b6ca: Pull complete 05:16:44 d65c8cfc05b1: Pull complete 05:16:56 2437ff75d9bd: Pull complete 05:16:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:56 prd-ubuntu20.04-docker-arm64-4c-16g-420 does not seem to be running inside a container 05:16:56 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:16:59 $ docker top 72245e43b9de84f69b187d7dee0e412b43489fcf63b6a8156304b9e398e26ece -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:00 ---> job-cost.sh 05:17:00 lf-activate-venv: SKIPPING 05:17:00 INFO: No Stack... 05:17:00 INFO: Retrieving Pricing Info for: v3-standard-4 05:17:01 INFO: Archiving Costs [Pipeline] sh 05:17:02 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 05:17:02 + cut -d, -f6 [Pipeline] lock 05:17:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] 05:17:02 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] did not exist. Created. 05:17:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:17:03 /w/workspace/device-sdk-go/6@tmp/durable-65742b23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:17:03 + echo total: 0.10999999940395355 [Pipeline] stash 05:17:03 Warning: overwriting stash ‘stack-cost’ 05:17:03 Stashed 1 file(s) [Pipeline] } 05:17:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] // lock [Pipeline] } 05:17:03 $ docker stop --time=1 72245e43b9de84f69b187d7dee0e412b43489fcf63b6a8156304b9e398e26ece 05:17:05 $ docker rm -f 72245e43b9de84f69b187d7dee0e412b43489fcf63b6a8156304b9e398e26ece [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 05:17:05 provisioning config files... 05:17:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config16145964839178411654tmp [Pipeline] { [Pipeline] sh 05:17:05 + set +x 05:17:05 + curl -s https://codecov.io/bash 05:17:05 + bash -s -- 05:17:06 05:17:06 _____ _ 05:17:06 / ____| | | 05:17:06 | | ___ __| | ___ ___ _____ __ 05:17:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:17:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:17:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:17:06 Bash-1.0.6 05:17:06 05:17:06 05:17:06 ==> git version 2.25.1 found 05:17:06 ==> 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 05:17:06 Release-Date: 2020-01-08 05:17:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:17:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:17:06 ==> Jenkins CI detected. 05:17:06 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1210 05:17:06 project root: . 05:17:06 --> token set from env 05:17:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:17:06 ==> Running gcov in . (disable via -X gcov) 05:17:06 ==> Python coveragepy not found 05:17:06 ==> Searching for coverage reports in: 05:17:06 + . 05:17:06 -> Found 1 reports 05:17:06 ==> Detecting git/mercurial file structure 05:17:06 ==> Reading reports 05:17:06 + ./coverage.out bytes=101642 05:17:06 ==> Appending adjustments 05:17:06 https://docs.codecov.io/docs/fixing-reports 05:17:06 + Found adjustments 05:17:06 ==> Gzipping contents 05:17:06 16K /tmp/codecov.10vBZ0.gz 05:17:06 ==> Uploading reports 05:17:06 url: https://codecov.io 05:17:06 query: branch=PR-1210&commit=4784eae9ccf763c7ae31f1170af2777237b51f1a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= 05:17:06 -> Pinging Codecov 05:17:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1210&commit=4784eae9ccf763c7ae31f1170af2777237b51f1a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= 05:17:06 -> Uploading to 05:17:06 https://storage.googleapis.com/codecov/v4/raw/2022-09-21/7E55EF52A471D76F132DFD9A03CDDE97/4784eae9ccf763c7ae31f1170af2777237b51f1a/5a31cb9d-ea3e-4daf-a15c-775dd201315a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T051706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2d55ed933064eda37da7487cc7310eccc826e936f1c4b26a3487326f8e60149 05:17:06 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:06 Dload Upload Total Spent Left Speed 05:17:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14491 0 0 100 14491 0 65868 --:--:-- --:--:-- --:--:-- 65570 100 14491 0 0 100 14491 0 57733 --:--:-- --:--:-- --:--:-- 57733 05:17:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] } 05:17:07 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 05:17:07 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives ] 05:17:07 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives 05:17:07 total 16 05:17:07 drwxr-xr-x 3 root root 4096 Sep 21 05:07 . 05:17:07 drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 05:07 .. 05:17:07 drwxr-xr-x 2 root root 4096 Sep 21 05:07 cost 05:17:07 -rw-r--r-- 1 root root 86 Sep 21 05:07 cost.csv 05:17:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives 05:17:07 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives 05:17:07 total 16 05:17:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 05:07 . 05:17:07 drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 05:07 .. 05:17:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 05:07 cost 05:17:07 -rw-r--r-- 1 jenkins jenkins 86 Sep 21 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:17:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:17:08 ---> package-listing.sh 05:17:08 ++ facter osfamily 05:17:08 ++ tr '[:upper:]' '[:lower:]' 05:17:09 + OS_FAMILY=debian 05:17:09 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1210 05:17:09 + START_PACKAGES=/tmp/packages_start.txt 05:17:09 + END_PACKAGES=/tmp/packages_end.txt 05:17:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:17:09 + PACKAGES=/tmp/packages_start.txt 05:17:09 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' 05:17:09 + PACKAGES=/tmp/packages_end.txt 05:17:09 + case "${OS_FAMILY}" in 05:17:09 + dpkg -l 05:17:09 + grep '^ii' 05:17:09 + '[' -f /tmp/packages_start.txt ']' 05:17:09 + '[' -f /tmp/packages_end.txt ']' 05:17:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:17:09 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' 05:17:09 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ 05:17:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [Pipeline] echo 05:17:09 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-1210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:17:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:17:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:09 prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container 05:17:09 $ 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-1210/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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:17:10 $ docker top a5d7b7b6dc982b3b708106adbc71aa471702a8ada35a040bbeb3d96eea69888f -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:10 + touch /tmp/pre-build-complete [Pipeline] sh 05:17:10 + mkdir -p /var/log/sysstat [Pipeline] sh 05:17:11 + ls /var/log/sa-host 05:17:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:11 provisioning config files... 05:17:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config8898119716596142742tmp [Pipeline] { [Pipeline] echo 05:17:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:11 ---> create-netrc.sh [Pipeline] } 05:17:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:17:11 ---> python-tools-install.sh [Pipeline] echo 05:17:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:17:12 ---> sudo-logs.sh 05:17:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:17:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:17:12 ---> job-cost.sh 05:17:12 lf-activate-venv: SKIPPING 05:17:12 DEBUG: total: 0.2199999988079071 05:17:12 INFO: Retrieving Stack Cost... 05:17:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:17:13 INFO: Archiving Costs [Pipeline] echo 05:17:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:13 ---> logs-deploy.sh 05:17:13 lf-activate-venv: SKIPPING 05:17:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1210/6 05:17:13 INFO: archiving workspace using pattern(s): 05:17:14 Archives upload complete. 05:17:14 INFO: archiving logs to Nexus 05:17:15 ---> uname -a: 05:17:15 Linux prd-ubuntu20-04-docker-8c-8g-419 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:17:15 05:17:15 05:17:15 ---> lscpu: 05:17:15 Architecture: x86_64 05:17:15 CPU op-mode(s): 32-bit, 64-bit 05:17:15 Byte Order: Little Endian 05:17:15 Address sizes: 40 bits physical, 48 bits virtual 05:17:15 CPU(s): 8 05:17:15 On-line CPU(s) list: 0-7 05:17:15 Thread(s) per core: 1 05:17:15 Core(s) per socket: 1 05:17:15 Socket(s): 8 05:17:15 NUMA node(s): 1 05:17:15 Vendor ID: AuthenticAMD 05:17:15 CPU family: 23 05:17:15 Model: 49 05:17:15 Model name: AMD EPYC-Rome Processor 05:17:15 Stepping: 0 05:17:15 CPU MHz: 2800.002 05:17:15 BogoMIPS: 5600.00 05:17:15 Virtualization: AMD-V 05:17:15 Hypervisor vendor: KVM 05:17:15 Virtualization type: full 05:17:15 L1d cache: 256 KiB 05:17:15 L1i cache: 256 KiB 05:17:15 L2 cache: 4 MiB 05:17:15 L3 cache: 128 MiB 05:17:15 NUMA node0 CPU(s): 0-7 05:17:15 Vulnerability Itlb multihit: Not affected 05:17:15 Vulnerability L1tf: Not affected 05:17:15 Vulnerability Mds: Not affected 05:17:15 Vulnerability Meltdown: Not affected 05:17:15 Vulnerability Mmio stale data: Not affected 05:17:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:17:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:17:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:17:15 Vulnerability Srbds: Not affected 05:17:15 Vulnerability Tsx async abort: Not affected 05:17:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:17:15 05:17:15 05:17:15 ---> nproc: 05:17:15 8 05:17:15 05:17:15 05:17:15 ---> df -h: 05:17:15 Filesystem Size Used Avail Use% Mounted on 05:17:15 overlay 155G 12G 144G 8% / 05:17:15 tmpfs 64M 0 64M 0% /dev 05:17:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:17:15 shm 64M 0 64M 0% /dev/shm 05:17:15 /dev/vda1 155G 12G 144G 8% /facter-os 05:17:15 05:17:15