Pull request #1203 opened 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 ff1b5b02c8f314790bf5be564bfc978a145e3053+ad939af23b2d854541ed37c0929478efa4c7d7f6 (8d42cf6b8470c7c200674a225f37b8469896e886) 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-ssh9432437237174913765.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16041950944411607239.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7433698609547588514.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8619365016074875671.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13144790031002407444.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2100573575212610466.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ubuntu18.04-docker-8c-8g-21331’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-21359’ is offline ‘prd-ubuntu20.04-docker-8c-8g-21361’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-21358’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-21360’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21362 in /w/workspace/gexfoundry_device-sdk-go_PR-1203 [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-1203 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit ff1b5b02c8f314790bf5be564bfc978a145e3053 Merge succeeded, producing ff1b5b02c8f314790bf5be564bfc978a145e3053 Checking out Revision ff1b5b02c8f314790bf5be564bfc978a145e3053 (PR-1203) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1203/head:refs/remotes/origin/PR-1203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 Commit message: "fix: fix empty device name when updating device's serviceName" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:33:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:33:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:33:17 ========================================================= 07:33:17 EdgeX Global Pipelines Version Info 07:33:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:33:18 ------------------- 07:33:18 stable info: 07:33:18 ------------------- 07:33:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:33:18 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 07:33:18 Message: update stable to v1.0.238 07:33:19 ------------------- 07:33:19 experimental info: 07:33:19 ------------------- 07:33:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:33:19 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 07:33:19 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:33:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1203 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1203 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1203 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff1b5b0 [Pipeline] echo 07:33:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:21 provisioning config files... 07:33:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config7759284858485477719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:33:21 ---> docker-login.sh 07:33:21 nexus3.edgexfoundry.org:10001 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:21 Configure a credential helper to remove this warning. See 07:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:21 07:33:21 Login Succeeded 07:33:21 nexus3.edgexfoundry.org:10002 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:21 Configure a credential helper to remove this warning. See 07:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:21 07:33:21 Login Succeeded 07:33:21 nexus3.edgexfoundry.org:10003 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:22 Configure a credential helper to remove this warning. See 07:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:22 07:33:22 Login Succeeded 07:33:22 nexus3.edgexfoundry.org:10004 07:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:22 Configure a credential helper to remove this warning. See 07:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:22 07:33:22 Login Succeeded 07:33:22 docker.io 07:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:22 Configure a credential helper to remove this warning. See 07:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:22 07:33:22 Login Succeeded 07:33:22 ---> docker-login.sh ends [Pipeline] } 07:33:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:33:23 + git rev-list -1 --merges ff1b5b02c8f314790bf5be564bfc978a145e3053~1..ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo 07:33:23 -----------> git rev-list -1 --merges ff1b5b02c8f314790bf5be564bfc978a145e3053~1..ff1b5b02c8f314790bf5be564bfc978a145e3053 ff1b5b02c8f314790bf5be564bfc978a145e3053 [false] [Pipeline] sh 07:33:23 + git log --format=format:%s -1 ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo 07:33:23 ========================================================= 07:33:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:33:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:24 + git log --format=format:%s -1 ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] echo 07:33:24 [semverPrep] GIT_COMMIT: ff1b5b02c8f314790bf5be564bfc978a145e3053, Commit Message: fix: fix empty device name when updating device's serviceName [Pipeline] echo 07:33:24 [semverPrep] This is not a build commit. [Pipeline] sh 07:33:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:24 + grep -v github /etc/ssh/ssh_known_hosts 07:33:24 + [ -e /tmp/ssh_known_hosts ] 07:33:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:33:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:33:24 + sudo tee -a /etc/ssh/ssh_known_hosts 07:33:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:25 07:33:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:25 0.1.4: Pulling from edgex-devops/py-git-semver 07:33:25 b85a868b505f: Pulling fs layer 07:33:25 e2be974225ed: Pulling fs layer 07:33:25 339a4e72a1f5: Pulling fs layer 07:33:25 988bab9f4d93: Pulling fs layer 07:33:25 1469e6f7b9e6: Pulling fs layer 07:33:25 eaf3925da568: Pulling fs layer 07:33:25 bab4dde63d76: Pulling fs layer 07:33:25 bde34c3a00c8: Pulling fs layer 07:33:25 b352a97aabf1: Pulling fs layer 07:33:25 4872d77fe225: Pulling fs layer 07:33:25 5851b861e8e6: Pulling fs layer 07:33:25 988bab9f4d93: Waiting 07:33:25 1469e6f7b9e6: Waiting 07:33:25 b352a97aabf1: Waiting 07:33:25 4872d77fe225: Waiting 07:33:25 eaf3925da568: Waiting 07:33:25 5851b861e8e6: Waiting 07:33:25 bab4dde63d76: Waiting 07:33:25 bde34c3a00c8: Waiting 07:33:25 e2be974225ed: Verifying Checksum 07:33:25 e2be974225ed: Download complete 07:33:25 988bab9f4d93: Download complete 07:33:25 1469e6f7b9e6: Verifying Checksum 07:33:25 1469e6f7b9e6: Download complete 07:33:25 339a4e72a1f5: Verifying Checksum 07:33:25 339a4e72a1f5: Download complete 07:33:25 eaf3925da568: Verifying Checksum 07:33:25 eaf3925da568: Download complete 07:33:25 bde34c3a00c8: Download complete 07:33:25 b352a97aabf1: Download complete 07:33:25 4872d77fe225: Verifying Checksum 07:33:25 4872d77fe225: Download complete 07:33:25 5851b861e8e6: Verifying Checksum 07:33:25 5851b861e8e6: Download complete 07:33:25 b85a868b505f: Verifying Checksum 07:33:25 b85a868b505f: Download complete 07:33:26 bab4dde63d76: Verifying Checksum 07:33:26 bab4dde63d76: Download complete 07:33:27 b85a868b505f: Pull complete 07:33:27 e2be974225ed: Pull complete 07:33:28 339a4e72a1f5: Pull complete 07:33:28 988bab9f4d93: Pull complete 07:33:28 1469e6f7b9e6: Pull complete 07:33:28 eaf3925da568: Pull complete 07:33:30 bab4dde63d76: Pull complete 07:33:30 bde34c3a00c8: Pull complete 07:33:30 b352a97aabf1: Pull complete 07:33:30 4872d77fe225: Pull complete 07:33:30 5851b861e8e6: Pull complete 07:33:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:31 prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container 07:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:33:33 $ docker top dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 -eo pid,comm 07:33:33 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). 07:33:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:33 [ssh-agent] Looking for ssh-agent implementation... 07:33:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:33 $ docker exec dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent 07:33:34 SSH_AUTH_SOCK=/tmp/ssh-jyXxKZcN6E72/agent.32 07:33:34 SSH_AGENT_PID=38 07:33:34 Running ssh-add (command line suppressed) 07:33:34 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_8468093619068910296.key (/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_8468093619068910296.key) 07:33:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:34 + git tag --points-at HEAD [Pipeline] } 07:33:34 $ docker exec --env ******** --env ******** dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent -k 07:33:34 unset SSH_AUTH_SOCK; 07:33:34 unset SSH_AGENT_PID; 07:33:34 echo Agent pid 38 killed; 07:33:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:33:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:34 [ssh-agent] Looking for ssh-agent implementation... 07:33:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:35 $ docker exec dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent 07:33:35 SSH_AUTH_SOCK=/tmp/ssh-SYD7l3YvMaNI/agent.71 07:33:35 SSH_AGENT_PID=78 07:33:35 Running ssh-add (command line suppressed) 07:33:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_7616016416485054983.key (/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_7616016416485054983.key) 07:33:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:35 + git semver init 07:33:35 2022-07-28 07:33:35,803 [run_init] DEBUG init version:0.0.0 force:False 07:33:35 2022-07-28 07:33:35,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver 07:33:35 2022-07-28 07:33:35,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver 07:33:35 2022-07-28 07:33:35,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203, universal_newlines=False, shell=None, istream=None) 07:33:36 2022-07-28 07:33:36,612 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.git/info/exclude 07:33:36 2022-07-28 07:33:36,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 with force:False 07:33:36 2022-07-28 07:33:36,613 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 07:33:36 2022-07-28 07:33:36,617 [execute] INFO git cat-file --batch-check 07:33:36 2022-07-28 07:33:36,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver, universal_newlines=False, shell=None, istream=) 07:33:36 2022-07-28 07:33:36,624 [execute] INFO git cat-file --batch 07:33:36 2022-07-28 07:33:36,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver, universal_newlines=False, shell=None, istream=) 07:33:36 2022-07-28 07:33:36,630 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 07:33:36 0.0.0 [Pipeline] } 07:33:36 $ docker exec --env ******** --env ******** dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 ssh-agent -k 07:33:36 unset SSH_AUTH_SOCK; 07:33:36 unset SSH_AGENT_PID; 07:33:36 echo Agent pid 78 killed; 07:33:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:37 + git semver [Pipeline] } 07:33:37 $ docker stop --time=1 dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 07:33:39 $ docker rm -f dd9bf94fdfdd0677e336bccf87671bdbfe9e241dc6ee3d02c2d3e7cb89e9b736 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:33:39 Stashed 1 file(s) [Pipeline] echo 07:33:39 [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 07:33:40 provisioning config files... 07:33:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config2071797192370542940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:33:40 ---> docker-login.sh 07:33:40 nexus3.edgexfoundry.org:10001 07:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:40 Configure a credential helper to remove this warning. See 07:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:40 07:33:40 Login Succeeded 07:33:40 nexus3.edgexfoundry.org:10002 07:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:41 Configure a credential helper to remove this warning. See 07:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:41 07:33:41 Login Succeeded 07:33:41 nexus3.edgexfoundry.org:10003 07:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:41 Configure a credential helper to remove this warning. See 07:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:41 07:33:41 Login Succeeded 07:33:41 nexus3.edgexfoundry.org:10004 07:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:41 Configure a credential helper to remove this warning. See 07:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:41 07:33:41 Login Succeeded 07:33:41 docker.io 07:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:41 Configure a credential helper to remove this warning. See 07:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:41 07:33:41 Login Succeeded 07:33:41 ---> docker-login.sh ends [Pipeline] } 07:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:33:41 ========================================================= 07:33:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:33:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:42 + 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 . 07:33:42 Sending build context to Docker daemon 9.776MB 07:33:42 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:33:42 Step 2/11 : FROM ${BASE} AS builder 07:33:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:33:42 2408cc74d12b: Pulling fs layer 07:33:42 ea60b727a1ce: Pulling fs layer 07:33:42 30c4a7721957: Pulling fs layer 07:33:42 370296b7ddb6: Pulling fs layer 07:33:42 370296b7ddb6: Waiting 07:33:42 7c6cee850709: Pulling fs layer 07:33:42 39a5fcdaea64: Pulling fs layer 07:33:42 7c6cee850709: Waiting 07:33:42 39a5fcdaea64: Waiting 07:33:42 d94ebbe4e438: Pulling fs layer 07:33:42 bcfd1f05c69d: Pulling fs layer 07:33:42 bcfd1f05c69d: Waiting 07:33:42 59ccb84bbe0f: Pulling fs layer 07:33:42 59ccb84bbe0f: Waiting 07:33:42 30c4a7721957: Verifying Checksum 07:33:42 30c4a7721957: Download complete 07:33:42 ea60b727a1ce: Verifying Checksum 07:33:42 ea60b727a1ce: Download complete 07:33:42 7c6cee850709: Download complete 07:33:42 39a5fcdaea64: Verifying Checksum 07:33:42 39a5fcdaea64: Download complete 07:33:42 2408cc74d12b: Verifying Checksum 07:33:42 2408cc74d12b: Download complete 07:33:42 d94ebbe4e438: Verifying Checksum 07:33:42 d94ebbe4e438: Download complete 07:33:42 2408cc74d12b: Pull complete 07:33:42 ea60b727a1ce: Pull complete 07:33:43 30c4a7721957: Pull complete 07:33:43 59ccb84bbe0f: Verifying Checksum 07:33:43 59ccb84bbe0f: Download complete 07:33:43 bcfd1f05c69d: Verifying Checksum 07:33:43 bcfd1f05c69d: Download complete 07:33:43 370296b7ddb6: Verifying Checksum 07:33:43 370296b7ddb6: Download complete 07:33:47 370296b7ddb6: Pull complete 07:33:47 7c6cee850709: Pull complete 07:33:47 39a5fcdaea64: Pull complete 07:33:47 d94ebbe4e438: Pull complete 07:33:50 bcfd1f05c69d: Pull complete 07:33:51 59ccb84bbe0f: Pull complete 07:33:51 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 07:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:33:51 ---> a4fb48ad2a94 07:33:51 Step 3/11 : ARG MAKE=make build 07:33:54 ---> Running in d0d73b1b08fc 07:33:54 Removing intermediate container d0d73b1b08fc 07:33:54 ---> 6e3521a99a8b 07:33:54 Step 4/11 : WORKDIR /device-sdk-go 07:33:54 ---> Running in b1ae8d6ba5fc 07:33:54 Removing intermediate container b1ae8d6ba5fc 07:33:54 ---> 6e44a9e4f6f7 07:33:54 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:33:54 ---> Running in 8d94e35f111a 07:33:54 Removing intermediate container 8d94e35f111a 07:33:54 ---> 8a3e223de43c 07:33:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:54 ---> Running in 1ac53d955357 07:33:55 Removing intermediate container 1ac53d955357 07:33:55 ---> 8af306c60ca2 07:33:55 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:33:55 ---> Running in 0ac0288b7060 07:33:55 Still waiting to schedule task 07:33:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21360’ 07:33:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:33:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:33:56 OK: 211 MiB in 51 packages 07:33:57 Removing intermediate container 0ac0288b7060 07:33:57 ---> 473b1fcc0211 07:33:57 Step 8/11 : COPY go.mod vendor* ./ 07:33:57 ---> 29e3b9e29c6b 07:33:57 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:57 ---> Running in 9fb26ab546cb 07:34:23 Removing intermediate container 9fb26ab546cb 07:34:23 ---> eb1d9092f803 07:34:23 Step 10/11 : COPY . . 07:34:23 ---> 7144f336473f 07:34:23 Step 11/11 : RUN ${MAKE} 07:34:23 ---> Running in 7f6675c7f7cc 07:34:23 noop 07:34:23 Removing intermediate container 7f6675c7f7cc 07:34:23 ---> 7418353cd111 07:34:23 Successfully built 7418353cd111 07:34:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:24 + docker inspect -f . ci-base-image-x86_64 07:34:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:24 prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container 07:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:34:24 $ docker top 55c84b591a82d93b0f34b7ae40445056ab302386bc70f30de8225e2e8b34337f -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:25 + go version 07:34:25 go version go1.18.3 linux/amd64 [Pipeline] } 07:34:25 $ docker stop --time=1 55c84b591a82d93b0f34b7ae40445056ab302386bc70f30de8225e2e8b34337f 07:34:26 $ docker rm -f 55c84b591a82d93b0f34b7ae40445056ab302386bc70f30de8225e2e8b34337f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:27 + docker inspect -f . ci-base-image-x86_64 07:34:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:27 prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container 07:34:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:34:27 $ docker top 25c37b22da3efe379d88a9eec9cafeb74e48a3d8c0ee30146aa20ee864093455 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1203 [Pipeline] fileExists [Pipeline] sh 07:34:28 + make test 07:34:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:34:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.6% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.130s coverage: 10.8% of statements 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 34.8% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.075s coverage: 85.4% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.776s coverage: 89.2% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 07:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:35:08 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." 07:35:08 GO111MODULE=on go vet ./... 07:35:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:35:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:35:10 ./bin/test-attribution-txt.sh 07:35:10 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 07:35:10 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 07:35:10 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 07:35:10 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:35:10 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:35:10 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 07:35:10 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 07:35:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:35:10 $ docker stop --time=1 25c37b22da3efe379d88a9eec9cafeb74e48a3d8c0ee30146aa20ee864093455 07:35:14 $ docker rm -f 25c37b22da3efe379d88a9eec9cafeb74e48a3d8c0ee30146aa20ee864093455 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:15 + ls -al . 07:35:15 total 304 07:35:15 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 07:34 . 07:35:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:33 .. 07:35:15 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 07:33 .dockerignore 07:35:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 07:34 .git 07:35:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:33 .github 07:35:15 -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 07:33 .gitignore 07:35:15 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 07:33 .golangci.yml 07:35:15 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 07:33 .semver 07:35:15 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 07:33 CHANGELOG.md 07:35:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 07:33 GOVERNANCE.md 07:35:15 -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 07:33 Jenkinsfile 07:35:15 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 07:33 LICENSE 07:35:15 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 07:33 Makefile 07:35:15 -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 07:33 OWNERS.md 07:35:15 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 07:33 README.md 07:35:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 07:33 VERSION 07:35:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:33 bin 07:35:15 -rw-r--r-- 1 jenkins jenkins 131678 Jul 28 07:34 coverage.out 07:35:15 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 07:33 example 07:35:15 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 07:33 go.mod 07:35:15 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 07:33 go.sum 07:35:15 drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 07:33 internal 07:35:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 07:33 openapi 07:35:15 drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 07:33 pkg 07:35:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:33 snap 07:35:15 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 07:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:16 + 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=ff1b5b02c8f314790bf5be564bfc978a145e3053 --label arch=amd64 --label version=0.0.0 . 07:35:16 Sending build context to Docker daemon 9.908MB 07:35:16 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:35:16 Step 2/25 : FROM ${BASE} AS builder 07:35:16 ---> 7418353cd111 07:35:16 Step 3/25 : ARG MAKE=make build 07:35:16 ---> Running in 4f4fb69c7913 07:35:16 Removing intermediate container 4f4fb69c7913 07:35:16 ---> 82f092188312 07:35:16 Step 4/25 : WORKDIR /device-sdk-go 07:35:16 ---> Running in 8a30ef7ec36b 07:35:16 Removing intermediate container 8a30ef7ec36b 07:35:16 ---> ead945d9a713 07:35:16 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:35:16 ---> Running in 7678ce77b957 07:35:16 Removing intermediate container 7678ce77b957 07:35:16 ---> f0a6d5835fed 07:35:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:16 ---> Running in 1f3abadb51fd 07:35:17 Removing intermediate container 1f3abadb51fd 07:35:17 ---> 51b3c8d340f2 07:35:17 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:35:17 ---> Running in 6e3fa5c44e8d 07:35:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:35:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:35:18 OK: 211 MiB in 51 packages 07:35:18 Removing intermediate container 6e3fa5c44e8d 07:35:18 ---> b92d761c5c63 07:35:18 Step 8/25 : COPY go.mod vendor* ./ 07:35:18 ---> 7001826ca28e 07:35:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:18 ---> Running in 4c9a2f8bf001 07:35:19 Removing intermediate container 4c9a2f8bf001 07:35:19 ---> 2f99803c1d48 07:35:19 Step 10/25 : COPY . . 07:35:20 ---> 811305d64249 07:35:20 Step 11/25 : RUN ${MAKE} 07:35:20 ---> Running in 281cbcd685a5 07:35:20 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 07:35:38 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:35:42 Removing intermediate container 281cbcd685a5 07:35:42 ---> 327d3ec6ed78 07:35:42 Step 12/25 : FROM alpine:3.16 07:35:42 3.16: Pulling from library/alpine 07:35:42 530afca65e2e: Pulling fs layer 07:35:42 530afca65e2e: Verifying Checksum 07:35:42 530afca65e2e: Download complete 07:35:43 530afca65e2e: Pull complete 07:35:43 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 07:35:43 Status: Downloaded newer image for alpine:3.16 07:35:43 ---> d7d3d98c851f 07:35:43 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:35:43 ---> Running in 884094e2de66 07:35:43 Removing intermediate container 884094e2de66 07:35:43 ---> 8e0abcf3a807 07:35:43 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:43 ---> Running in 91f13f777078 07:35:43 Removing intermediate container 91f13f777078 07:35:43 ---> 278992e28fff 07:35:43 Step 15/25 : RUN apk add --update --no-cache zeromq 07:35:43 ---> Running in b0e77e2e18b4 07:35:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:35:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:35:45 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:35:45 (2/5) Installing libsodium (1.0.18-r0) 07:35:45 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:35:45 (4/5) Installing libzmq (4.3.4-r0) 07:35:45 (5/5) Installing zeromq (4.3.4-r0) 07:35:46 Executing busybox-1.35.0-r15.trigger 07:35:46 OK: 8 MiB in 19 packages 07:35:46 Removing intermediate container b0e77e2e18b4 07:35:46 ---> 9e326ac82bea 07:35:46 Step 16/25 : WORKDIR / 07:35:46 ---> Running in 16343ae9f415 07:35:46 Removing intermediate container 16343ae9f415 07:35:46 ---> 651f89e17efe 07:35:46 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:35:46 ---> ed62a9c9a5c7 07:35:46 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:35:47 ---> 2f43772fb133 07:35:47 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:35:47 ---> 53d078d1ccd8 07:35:47 Step 20/25 : EXPOSE 59999 07:35:47 ---> Running in 4f92f656defc 07:35:47 Removing intermediate container 4f92f656defc 07:35:47 ---> f7153a5bb7aa 07:35:47 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:35:47 ---> Running in 332e1152113a 07:35:47 Removing intermediate container 332e1152113a 07:35:47 ---> c5bccae4d926 07:35:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:35:47 ---> Running in d7d69c42d275 07:35:47 Removing intermediate container d7d69c42d275 07:35:47 ---> 73685819d256 07:35:47 Step 23/25 : LABEL arch=amd64 07:35:47 ---> Running in e76c19db6192 07:35:47 Removing intermediate container e76c19db6192 07:35:47 ---> a97282b8fcb3 07:35:47 Step 24/25 : LABEL git_sha=ff1b5b02c8f314790bf5be564bfc978a145e3053 07:35:47 ---> Running in 0e78f3a9b628 07:35:48 Removing intermediate container 0e78f3a9b628 07:35:48 ---> ed6e636d156e 07:35:48 Step 25/25 : LABEL version=0.0.0 07:35:48 ---> Running in f51bbe9ca14e 07:35:48 Removing intermediate container f51bbe9ca14e 07:35:48 ---> ecc091ffb8dd 07:35:48 [Warning] One or more build-args [ARCH] were not consumed 07:35:48 Successfully built ecc091ffb8dd 07:35:48 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 07:35:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:48 07:35:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:49 latest: Pulling from edgex-lftools-log-publisher 07:35:49 5eb5b503b376: Pulling fs layer 07:35:49 5c69ac0246d0: Pulling fs layer 07:35:49 ec43610c2a17: Pulling fs layer 07:35:49 3a2ae6a8a46f: Pulling fs layer 07:35:49 33b1e0a273af: Pulling fs layer 07:35:49 5d3b04190fa2: Pulling fs layer 07:35:49 2f39f015ded8: Pulling fs layer 07:35:49 5d3b04190fa2: Waiting 07:35:49 2f39f015ded8: Waiting 07:35:49 3a2ae6a8a46f: Waiting 07:35:49 5c69ac0246d0: Verifying Checksum 07:35:49 5c69ac0246d0: Download complete 07:35:49 3a2ae6a8a46f: Verifying Checksum 07:35:49 3a2ae6a8a46f: Download complete 07:35:49 33b1e0a273af: Verifying Checksum 07:35:49 33b1e0a273af: Download complete 07:35:49 5d3b04190fa2: Verifying Checksum 07:35:49 5d3b04190fa2: Download complete 07:35:49 ec43610c2a17: Verifying Checksum 07:35:49 ec43610c2a17: Download complete 07:35:49 5eb5b503b376: Verifying Checksum 07:35:49 5eb5b503b376: Download complete 07:35:50 2f39f015ded8: Download complete 07:35:51 5eb5b503b376: Pull complete 07:35:51 5c69ac0246d0: Pull complete 07:35:51 ec43610c2a17: Pull complete 07:35:51 3a2ae6a8a46f: Pull complete 07:35:51 33b1e0a273af: Pull complete 07:35:51 5d3b04190fa2: Pull complete 07:35:57 2f39f015ded8: Pull complete 07:35:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:57 prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container 07:35:57 $ 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-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:36:00 $ docker top 0923a84fe420e65a0fb7273e8788dcc3e5dffbd41ad9e74a2a177488ca38d760 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:00 ---> job-cost.sh 07:36:00 lf-activate-venv: SKIPPING 07:36:00 INFO: No Stack... 07:36:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:36:01 INFO: Archiving Costs [Pipeline] sh 07:36:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/cost.csv 07:36:01 + cut -d, -f6 [Pipeline] lock 07:36:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] 07:36:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] did not exist. Created. 07:36:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:02 + echo total: 0.2199999988079071 [Pipeline] stash 07:36:02 Stashed 1 file(s) [Pipeline] } 07:36:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:02 $ docker stop --time=1 0923a84fe420e65a0fb7273e8788dcc3e5dffbd41ad9e74a2a177488ca38d760 07:36:03 $ docker rm -f 0923a84fe420e65a0fb7273e8788dcc3e5dffbd41ad9e74a2a177488ca38d760 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:37:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21363 in /w/workspace/gexfoundry_device-sdk-go_PR-1203 [Pipeline] { [Pipeline] ws 07:37:00 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:37:00 The recommended git tool is: git 07:37:05 using credential edgex-jenkins-ssh 07:37:05 Cloning the remote Git repository 07:37:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:37:05 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:37:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:37:05 > git --version # timeout=10 07:37:05 > git --version # 'git version 2.25.1' 07:37:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:37:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:37:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:37:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:37:07 Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit ff1b5b02c8f314790bf5be564bfc978a145e3053 07:37:08 Merge succeeded, producing ff1b5b02c8f314790bf5be564bfc978a145e3053 07:37:08 Checking out Revision ff1b5b02c8f314790bf5be564bfc978a145e3053 (PR-1203) 07:37:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1203/head:refs/remotes/origin/PR-1203 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:37:07 > git config core.sparsecheckout # timeout=10 07:37:07 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 07:37:07 > git remote # timeout=10 07:37:07 > git config --get remote.origin.url # timeout=10 07:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:07 > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 07:37:08 > git rev-parse HEAD^{commit} # timeout=10 07:37:08 > git config core.sparsecheckout # timeout=10 07:37:08 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 07:37:12 Commit message: "fix: fix empty device name when updating device's serviceName" 07:37:12 > git --version # timeout=10 07:37:12 > git --version # 'git version 2.25.1' 07:37:12 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:37:13 % Total % Received % Xferd Average Speed Time Time Time Current 07:37:13 Dload Upload Total Spent Left Speed 07:37:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 78050 0 --:--:-- --:--:-- --:--:-- 78547 [Pipeline] sh 07:37:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:37:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:37:14 + sudo tee /etc/docker/daemon.new 07:37:14 { 07:37:14 "registry-mirrors": [ 07:37:14 "https://nexus3.edgexfoundry.org:10001" 07:37:14 ], 07:37:14 "bip": "10.250.0.254/24", 07:37:14 "hosts": [ 07:37:14 "tcp://0.0.0.0:5555", 07:37:14 "unix:///var/run/docker.sock" 07:37:14 ], 07:37:14 "mtu": 1458, 07:37:14 "selinux-enabled": true, 07:37:14 "seccomp-profile": "/etc/docker/seccomp.json" 07:37:14 } [Pipeline] sh 07:37:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:37:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:33 provisioning config files... 07:37:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4609330506486275025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:34 ---> docker-login.sh 07:37:34 nexus3.edgexfoundry.org:10001 07:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:35 Configure a credential helper to remove this warning. See 07:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:35 07:37:35 Login Succeeded 07:37:35 nexus3.edgexfoundry.org:10002 07:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:35 Configure a credential helper to remove this warning. See 07:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:35 07:37:35 Login Succeeded 07:37:36 nexus3.edgexfoundry.org:10003 07:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:36 Configure a credential helper to remove this warning. See 07:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:36 07:37:36 Login Succeeded 07:37:36 nexus3.edgexfoundry.org:10004 07:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:37 Configure a credential helper to remove this warning. See 07:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:37 07:37:37 Login Succeeded 07:37:37 docker.io 07:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:37 Configure a credential helper to remove this warning. See 07:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:37 07:37:37 Login Succeeded 07:37:37 ---> docker-login.sh ends [Pipeline] } 07:37:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:38 ========================================================= 07:37:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:37:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:38 + 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 . 07:37:38 Sending build context to Docker daemon 5.25MB 07:37:39 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:37:39 Step 2/11 : FROM ${BASE} AS builder 07:37:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:37:39 b3c136eddcbf: Pulling fs layer 07:37:39 c0a3192eca97: Pulling fs layer 07:37:39 a050256f5b6f: Pulling fs layer 07:37:39 656be50a0ddc: Pulling fs layer 07:37:39 2bbca73fdf42: Pulling fs layer 07:37:39 46d945488cbd: Pulling fs layer 07:37:39 8a5474983e97: Pulling fs layer 07:37:39 329c88fbcd65: Pulling fs layer 07:37:39 656be50a0ddc: Waiting 07:37:39 2bbca73fdf42: Waiting 07:37:39 46d945488cbd: Waiting 07:37:39 8a5474983e97: Waiting 07:37:39 329c88fbcd65: Waiting 07:37:39 a050256f5b6f: Verifying Checksum 07:37:39 a050256f5b6f: Download complete 07:37:39 c0a3192eca97: Verifying Checksum 07:37:39 c0a3192eca97: Download complete 07:37:39 2bbca73fdf42: Verifying Checksum 07:37:39 2bbca73fdf42: Download complete 07:37:39 b3c136eddcbf: Download complete 07:37:39 46d945488cbd: Verifying Checksum 07:37:39 46d945488cbd: Download complete 07:37:40 b3c136eddcbf: Pull complete 07:37:40 329c88fbcd65: Verifying Checksum 07:37:40 329c88fbcd65: Download complete 07:37:41 c0a3192eca97: Pull complete 07:37:41 a050256f5b6f: Pull complete 07:37:41 8a5474983e97: Verifying Checksum 07:37:41 8a5474983e97: Download complete 07:37:42 656be50a0ddc: Verifying Checksum 07:37:42 656be50a0ddc: Download complete 07:37:57 656be50a0ddc: Pull complete 07:37:57 2bbca73fdf42: Pull complete 07:37:57 46d945488cbd: Pull complete 07:38:02 8a5474983e97: Pull complete 07:38:04 329c88fbcd65: Pull complete 07:38:04 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 07:38:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:38:04 ---> ff4287adb874 07:38:04 Step 3/11 : ARG MAKE=make build 07:38:05 ---> Running in 2cec8459edbc 07:38:05 Removing intermediate container 2cec8459edbc 07:38:05 ---> 9852b78db7e0 07:38:05 Step 4/11 : WORKDIR /device-sdk-go 07:38:06 ---> Running in 77708a2b1588 07:38:06 Removing intermediate container 77708a2b1588 07:38:06 ---> 7e7b4751540d 07:38:06 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:38:06 ---> Running in 8dbcbea6bdb1 07:38:06 Removing intermediate container 8dbcbea6bdb1 07:38:06 ---> ccfbe9f33a71 07:38:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:38:06 ---> Running in 02820355483a 07:38:08 Removing intermediate container 02820355483a 07:38:08 ---> 6b32263443fa 07:38:08 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:38:08 ---> Running in 7bd028a74773 07:38:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:38:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:38:12 OK: 221 MiB in 51 packages 07:38:12 Removing intermediate container 7bd028a74773 07:38:12 ---> d26942886fc6 07:38:12 Step 8/11 : COPY go.mod vendor* ./ 07:38:13 ---> 386187055a5f 07:38:13 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:13 ---> Running in 9df7c4d6e941 07:39:00 Removing intermediate container 9df7c4d6e941 07:39:00 ---> c6f5906a5a6d 07:39:00 Step 10/11 : COPY . . 07:39:01 ---> d32992b38f02 07:39:01 Step 11/11 : RUN ${MAKE} 07:39:01 ---> Running in 9c42dc52c692 07:39:02 noop 07:39:02 Removing intermediate container 9c42dc52c692 07:39:02 ---> 09894de8b4f9 07:39:02 Successfully built 09894de8b4f9 07:39:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:03 + docker inspect -f . ci-base-image-arm64 07:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:03 prd-ubuntu20.04-docker-arm64-4c-16g-21363 does not seem to be running inside a container 07:39:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:39:04 $ docker top bf7b2c58b281d3089516125385aba954d16c58f448eebb7f494b00d25c67e544 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:05 + go version 07:39:05 go version go1.18.3 linux/arm64 [Pipeline] } 07:39:05 $ docker stop --time=1 bf7b2c58b281d3089516125385aba954d16c58f448eebb7f494b00d25c67e544 07:39:07 $ docker rm -f bf7b2c58b281d3089516125385aba954d16c58f448eebb7f494b00d25c67e544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:08 + docker inspect -f . ci-base-image-arm64 07:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:08 prd-ubuntu20.04-docker-arm64-4c-16g-21363 does not seem to be running inside a container 07:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:39:10 $ docker top 990cb3d2b84ae5c567b45d117a4d48b9abd50e0f40205f6e85432b84f5886249 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:11 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 07:39:11 + make test 07:39:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:39:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.393s coverage: 23.6% of statements 07:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements 07:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.295s coverage: 78.9% of statements 07:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 10.8% of statements 07:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.486s coverage: 60.0% of statements 07:41:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:41:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.484s coverage: 34.8% of statements 07:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:41:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.258s coverage: 85.4% of statements 07:41:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:41:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:41:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.449s coverage: 65.1% of statements 07:41:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:41:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:41:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.991s coverage: 89.2% of statements 07:41:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:41:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.215s coverage: 4.7% of statements 07:41:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:41:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:41:50 GO111MODULE=on go vet ./... 07:43:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:12 ./bin/test-attribution-txt.sh 07:43:12 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 07:43:12 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 07:43:12 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 07:43:12 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:43:12 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:43:12 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 07:43:12 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 07:43:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:43:12 $ docker stop --time=1 990cb3d2b84ae5c567b45d117a4d48b9abd50e0f40205f6e85432b84f5886249 07:43:14 $ docker rm -f 990cb3d2b84ae5c567b45d117a4d48b9abd50e0f40205f6e85432b84f5886249 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:15 Warning: overwriting stash ‘coverage-report’ 07:43:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:17 + ls -al . 07:43:17 total 300 07:43:17 drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 07:39 . 07:43:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:37 .. 07:43:17 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 07:37 .dockerignore 07:43:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 07:37 .git 07:43:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:37 .github 07:43:17 -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 07:37 .gitignore 07:43:17 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 07:37 .golangci.yml 07:43:17 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 07:37 CHANGELOG.md 07:43:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 07:37 GOVERNANCE.md 07:43:17 -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 07:37 Jenkinsfile 07:43:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 07:37 LICENSE 07:43:17 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 07:37 Makefile 07:43:17 -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 07:37 OWNERS.md 07:43:17 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 07:37 README.md 07:43:17 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 07:33 VERSION 07:43:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 07:37 bin 07:43:17 -rw-r--r-- 1 jenkins jenkins 131678 Jul 28 07:41 coverage.out 07:43:17 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 07:37 example 07:43:17 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 07:37 go.mod 07:43:17 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 07:37 go.sum 07:43:17 drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 07:37 internal 07:43:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 07:37 openapi 07:43:17 drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 07:37 pkg 07:43:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 07:37 snap 07:43:17 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:17 + 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=ff1b5b02c8f314790bf5be564bfc978a145e3053 --label arch=arm64 --label version=0.0.0 . 07:43:18 Sending build context to Docker daemon 5.383MB 07:43:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:43:18 Step 2/25 : FROM ${BASE} AS builder 07:43:18 ---> 09894de8b4f9 07:43:18 Step 3/25 : ARG MAKE=make build 07:43:18 ---> Running in 8f3cf7faf19a 07:43:18 Removing intermediate container 8f3cf7faf19a 07:43:18 ---> 328133bc0c78 07:43:18 Step 4/25 : WORKDIR /device-sdk-go 07:43:18 ---> Running in d88bb9b25659 07:43:18 Removing intermediate container d88bb9b25659 07:43:18 ---> 4925c33f76d3 07:43:18 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:43:19 ---> Running in 74a0192ce02e 07:43:19 Removing intermediate container 74a0192ce02e 07:43:19 ---> bf0ca3288877 07:43:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:43:19 ---> Running in 72ac1eee32dc 07:43:20 Removing intermediate container 72ac1eee32dc 07:43:20 ---> 5ad591ecf81e 07:43:20 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:43:21 ---> Running in 8955bc8874b1 07:43:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:43:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:43:23 OK: 221 MiB in 51 packages 07:43:24 Removing intermediate container 8955bc8874b1 07:43:24 ---> 3016a3d878ad 07:43:24 Step 8/25 : COPY go.mod vendor* ./ 07:43:24 ---> 0631ef0a6251 07:43:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:25 ---> Running in cee42c603e1f 07:43:27 Removing intermediate container cee42c603e1f 07:43:27 ---> 30c5b93eee12 07:43:27 Step 10/25 : COPY . . 07:43:28 ---> b4d2be8db4ba 07:43:28 Step 11/25 : RUN ${MAKE} 07:43:28 ---> Running in 2705a28dbe6e 07:43:29 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 07:45:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:45:36 Removing intermediate container 2705a28dbe6e 07:45:36 ---> 21a80295b97b 07:45:36 Step 12/25 : FROM alpine:3.16 07:45:36 3.16: Pulling from library/alpine 07:45:36 f97344484467: Pulling fs layer 07:45:36 f97344484467: Download complete 07:45:36 f97344484467: Pull complete 07:45:36 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 07:45:36 Status: Downloaded newer image for alpine:3.16 07:45:36 ---> 3d81c46cd875 07:45:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:45:36 ---> Running in f72397dc65b0 07:45:36 Removing intermediate container f72397dc65b0 07:45:36 ---> 649bacf75a0f 07:45:36 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:36 ---> Running in dbd40a8ccc09 07:45:36 Removing intermediate container dbd40a8ccc09 07:45:36 ---> 41b4ceb9e754 07:45:36 Step 15/25 : RUN apk add --update --no-cache zeromq 07:45:36 ---> Running in 75da89e143a5 07:45:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:45:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:45:36 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:45:36 (2/5) Installing libsodium (1.0.18-r0) 07:45:36 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:45:36 (4/5) Installing libzmq (4.3.4-r0) 07:45:36 (5/5) Installing zeromq (4.3.4-r0) 07:45:36 Executing busybox-1.35.0-r15.trigger 07:45:36 OK: 8 MiB in 19 packages 07:45:36 Removing intermediate container 75da89e143a5 07:45:36 ---> 210d5728a02c 07:45:36 Step 16/25 : WORKDIR / 07:45:36 ---> Running in 3600445fce24 07:45:36 Removing intermediate container 3600445fce24 07:45:36 ---> cad28cfc980e 07:45:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:45:37 ---> 42e89bdfc05b 07:45:37 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:45:38 ---> 6067d7ddc612 07:45:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:45:39 ---> 6b2446cda367 07:45:39 Step 20/25 : EXPOSE 59999 07:45:39 ---> Running in f063deee4b91 07:45:39 Removing intermediate container f063deee4b91 07:45:39 ---> af45b693225f 07:45:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:45:39 ---> Running in 672a39c15363 07:45:39 Removing intermediate container 672a39c15363 07:45:39 ---> d57e8813e230 07:45:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:45:39 ---> Running in 1bca9c8b4a43 07:45:40 Removing intermediate container 1bca9c8b4a43 07:45:40 ---> f5e527ca156a 07:45:40 Step 23/25 : LABEL arch=arm64 07:45:40 ---> Running in ed4cac45176a 07:45:40 Removing intermediate container ed4cac45176a 07:45:40 ---> b1188e1aba24 07:45:40 Step 24/25 : LABEL git_sha=ff1b5b02c8f314790bf5be564bfc978a145e3053 07:45:40 ---> Running in d364a940cd82 07:45:40 Removing intermediate container d364a940cd82 07:45:40 ---> 3616fafeaaed 07:45:40 Step 25/25 : LABEL version=0.0.0 07:45:40 ---> Running in 4f3570fb3c0d 07:45:41 Removing intermediate container 4f3570fb3c0d 07:45:41 ---> 8eb1bca87b85 07:45:41 [Warning] One or more build-args [ARCH] were not consumed 07:45:41 Successfully built 8eb1bca87b85 07:45:41 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 07:45:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:45:42 07:45:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:45:42 arm64: Pulling from edgex-lftools-log-publisher 07:45:42 8998bd30e6a1: Pulling fs layer 07:45:42 04944245beec: Pulling fs layer 07:45:42 699f458cf7ca: Pulling fs layer 07:45:42 765212b225bb: Pulling fs layer 07:45:42 f23df028b6ca: Pulling fs layer 07:45:42 d65c8cfc05b1: Pulling fs layer 07:45:42 2437ff75d9bd: Pulling fs layer 07:45:42 765212b225bb: Waiting 07:45:42 f23df028b6ca: Waiting 07:45:42 d65c8cfc05b1: Waiting 07:45:42 2437ff75d9bd: Waiting 07:45:42 04944245beec: Verifying Checksum 07:45:42 04944245beec: Download complete 07:45:42 765212b225bb: Verifying Checksum 07:45:42 765212b225bb: Download complete 07:45:42 f23df028b6ca: Verifying Checksum 07:45:42 f23df028b6ca: Download complete 07:45:42 d65c8cfc05b1: Verifying Checksum 07:45:42 d65c8cfc05b1: Download complete 07:45:43 699f458cf7ca: Verifying Checksum 07:45:43 699f458cf7ca: Download complete 07:45:43 8998bd30e6a1: Verifying Checksum 07:45:43 8998bd30e6a1: Download complete 07:45:45 2437ff75d9bd: Verifying Checksum 07:45:45 2437ff75d9bd: Download complete 07:45:47 8998bd30e6a1: Pull complete 07:45:47 04944245beec: Pull complete 07:45:49 699f458cf7ca: Pull complete 07:45:49 765212b225bb: Pull complete 07:45:50 f23df028b6ca: Pull complete 07:45:50 d65c8cfc05b1: Pull complete 07:46:05 2437ff75d9bd: Pull complete 07:46:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:46:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:06 prd-ubuntu20.04-docker-arm64-4c-16g-21363 does not seem to be running inside a container 07:46:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:46:08 $ docker top 6387dce5351b1f50b4bb98006f9bd531fd279bf03da83bbf5b3348f8b3528abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:09 ---> job-cost.sh 07:46:09 lf-activate-venv: SKIPPING 07:46:09 INFO: No Stack... 07:46:10 INFO: Retrieving Pricing Info for: v3-standard-4 07:46:11 INFO: Archiving Costs [Pipeline] sh 07:46:11 + cat /w/workspace/device-sdk-go/1/archives/cost.csv+ cut -d, -f6 07:46:11 [Pipeline] lock 07:46:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] 07:46:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] did not exist. Created. 07:46:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:46:12 /w/workspace/device-sdk-go/1@tmp/durable-7f06e36a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:46:13 + echo total: 0.10999999940395355 [Pipeline] stash 07:46:13 Warning: overwriting stash ‘stack-cost’ 07:46:13 Stashed 1 file(s) [Pipeline] } 07:46:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:46:13 $ docker stop --time=1 6387dce5351b1f50b4bb98006f9bd531fd279bf03da83bbf5b3348f8b3528abe 07:46:14 $ docker rm -f 6387dce5351b1f50b4bb98006f9bd531fd279bf03da83bbf5b3348f8b3528abe [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 07:46:15 provisioning config files... 07:46:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config4581429532532430203tmp [Pipeline] { [Pipeline] sh 07:46:16 + set +x 07:46:16 + curl -s https://codecov.io/bash 07:46:16 + bash -s -- 07:46:16 07:46:16 _____ _ 07:46:16 / ____| | | 07:46:16 | | ___ __| | ___ ___ _____ __ 07:46:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:46:16 | |___| (_) | (_| | __/ (_| (_) \ V / 07:46:16 \_____\___/ \__,_|\___|\___\___/ \_/ 07:46:16 Bash-1.0.6 07:46:16 07:46:16 07:46:16 ==> git version 2.25.1 found 07:46:16 ==> 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 07:46:16 Release-Date: 2020-01-08 07:46:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:46:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:46:16 ==> Jenkins CI detected. 07:46:16 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1203 07:46:16 project root: . 07:46:16 --> token set from env 07:46:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:46:16 ==> Running gcov in . (disable via -X gcov) 07:46:16 ==> Python coveragepy not found 07:46:16 ==> Searching for coverage reports in: 07:46:16 + . 07:46:16 -> Found 1 reports 07:46:16 ==> Detecting git/mercurial file structure 07:46:16 ==> Reading reports 07:46:16 + ./coverage.out bytes=131678 07:46:16 ==> Appending adjustments 07:46:16 https://docs.codecov.io/docs/fixing-reports 07:46:16 + Found adjustments 07:46:16 ==> Gzipping contents 07:46:16 20K /tmp/codecov.j78Fxs.gz 07:46:16 ==> Uploading reports 07:46:16 url: https://codecov.io 07:46:16 query: branch=PR-1203&commit=ff1b5b02c8f314790bf5be564bfc978a145e3053&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1203&job=&cmd_args= 07:46:16 -> Pinging Codecov 07:46:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1203&commit=ff1b5b02c8f314790bf5be564bfc978a145e3053&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1203&job=&cmd_args= 07:46:17 -> Uploading to 07:46:17 https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/ff1b5b02c8f314790bf5be564bfc978a145e3053/3ad86909-a6d9-4c69-ab40-50aa5d60b3f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T074617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c5258d38f1133aa8feae910ba622580bdd5e8b9cc52f38c78ed4de437274449 07:46:17 % Total % Received % Xferd Average Speed Time Time Time Current 07:46:17 Dload Upload Total Spent Left Speed 07:46:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17306 0 0 100 17306 0 59470 --:--:-- --:--:-- --:--:-- 59470 07:46:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ff1b5b02c8f314790bf5be564bfc978a145e3053 [Pipeline] } 07:46:17 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 07:46:19 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives ] 07:46:19 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives 07:46:19 total 16 07:46:19 drwxr-xr-x 3 root root 4096 Jul 28 07:36 . 07:46:19 drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 07:36 .. 07:46:19 drwxr-xr-x 2 root root 4096 Jul 28 07:36 cost 07:46:19 -rw-r--r-- 1 root root 86 Jul 28 07:36 cost.csv 07:46:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives 07:46:19 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives 07:46:19 total 16 07:46:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 07:36 . 07:46:19 drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 07:36 .. 07:46:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 07:36 cost 07:46:19 -rw-r--r-- 1 jenkins jenkins 86 Jul 28 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:46:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:46:20 ---> package-listing.sh 07:46:20 ++ tr '[:upper:]' '[:lower:]' 07:46:20 ++ facter osfamily 07:46:20 + OS_FAMILY=debian 07:46:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1203 07:46:20 + START_PACKAGES=/tmp/packages_start.txt 07:46:20 + END_PACKAGES=/tmp/packages_end.txt 07:46:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:46:20 + PACKAGES=/tmp/packages_start.txt 07:46:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1203 ']' 07:46:20 + PACKAGES=/tmp/packages_end.txt 07:46:20 + case "${OS_FAMILY}" in 07:46:20 + dpkg -l 07:46:20 + grep '^ii' 07:46:20 + '[' -f /tmp/packages_start.txt ']' 07:46:20 + '[' -f /tmp/packages_end.txt ']' 07:46:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:46:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1203 ']' 07:46:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/ 07:46:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/ [Pipeline] echo 07:46:20 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-1203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:46:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:46:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:22 prd-ubuntu20.04-docker-8c-8g-21362 does not seem to be running inside a container 07:46:22 $ 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-1203/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-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:46:22 $ docker top dfbf45f5307452e62ebc248595c4a10f6c770242efbedf4ab0bfafd800571cb1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:46:22 + touch /tmp/pre-build-complete [Pipeline] sh 07:46:23 + mkdir -p /var/log/sysstat [Pipeline] sh 07:46:23 + ls /var/log/sa-host 07:46:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:23 provisioning config files... 07:46:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config410311994087328726tmp [Pipeline] { [Pipeline] echo 07:46:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:46:23 ---> create-netrc.sh [Pipeline] } 07:46:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:46:24 ---> python-tools-install.sh [Pipeline] echo 07:46:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:46:24 ---> sudo-logs.sh 07:46:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:46:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:46:25 ---> job-cost.sh 07:46:25 lf-activate-venv: SKIPPING 07:46:25 DEBUG: total: 0.2199999988079071 07:46:25 INFO: Retrieving Stack Cost... 07:46:25 INFO: Retrieving Pricing Info for: v3-standard-8 07:46:25 INFO: Archiving Costs [Pipeline] echo 07:46:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:46:26 ---> logs-deploy.sh 07:46:26 lf-activate-venv: SKIPPING 07:46:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1203/1 07:46:26 INFO: archiving workspace using pattern(s): 07:46:27 Archives upload complete. 07:46:27 INFO: archiving logs to Nexus 07:46:28 ---> uname -a: 07:46:28 Linux prd-ubuntu20-04-docker-8c-8g-21362 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 07:46:28 07:46:28