Pull request #1379 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 80aabb1c874f424bf8d06b0cf54dc412a46b3c19+76ea4d1458b486cd84374d1f970a86ad0e64425c (c9ca7b8d80dacf6830355f08b6e8fd791101393e) 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-ssh7039700662299989167.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13307786590696844751.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1379/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-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6240628044599794005.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-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13555640292517756754.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1295723138442611885.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1379/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-1379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11282540110476287077.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-141 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [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-1379 # 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 > 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 Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 Merge succeeded, producing 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 Checking out Revision 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 (PR-1379) > 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/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 # 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 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 # timeout=10 Commit message: "feat: enable regex for executing GET command" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:31:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:31:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:31:57 ========================================================= 11:31:57 EdgeX Global Pipelines Version Info 11:31:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:31:58 ------------------- 11:31:58 stable info: 11:31:58 ------------------- 11:31:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:31:58 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:31:58 Message: update stable to v1.0.245 11:31:59 ------------------- 11:31:59 experimental info: 11:31:59 ------------------- 11:31:59 Commited By: **** collab-it+edgex@linuxfoundation.org 11:31:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:31:59 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:31:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1379 [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1379 [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1379 [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80aabb1 [Pipeline] echo 11:32:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:32:00 provisioning config files... 11:32:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config15232527857459099504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:01 ---> docker-login.sh 11:32:01 nexus3.edgexfoundry.org:10001 11:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:02 Configure a credential helper to remove this warning. See 11:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:02 11:32:02 Login Succeeded 11:32:02 nexus3.edgexfoundry.org:10002 11:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:02 Configure a credential helper to remove this warning. See 11:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:02 11:32:02 Login Succeeded 11:32:02 nexus3.edgexfoundry.org:10003 11:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:02 Configure a credential helper to remove this warning. See 11:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:02 11:32:02 Login Succeeded 11:32:02 nexus3.edgexfoundry.org:10004 11:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:02 Configure a credential helper to remove this warning. See 11:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:02 11:32:02 Login Succeeded 11:32:02 docker.io 11:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:02 Configure a credential helper to remove this warning. See 11:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:02 11:32:02 Login Succeeded 11:32:02 ---> docker-login.sh ends [Pipeline] } 11:32:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:32:03 + git rev-list -1 --merges 80aabb1c874f424bf8d06b0cf54dc412a46b3c19~1..80aabb1c874f424bf8d06b0cf54dc412a46b3c19 [Pipeline] echo 11:32:03 -----------> git rev-list -1 --merges 80aabb1c874f424bf8d06b0cf54dc412a46b3c19~1..80aabb1c874f424bf8d06b0cf54dc412a46b3c19 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 [false] [Pipeline] sh 11:32:03 + git log --format=format:%s -1 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 [Pipeline] echo 11:32:03 ========================================================= 11:32:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:32:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:04 + git log --format=format:%s -1 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 [Pipeline] echo 11:32:04 [semverPrep] GIT_COMMIT: 80aabb1c874f424bf8d06b0cf54dc412a46b3c19, Commit Message: feat: enable regex for executing GET command [Pipeline] echo 11:32:04 [semverPrep] This is not a build commit. [Pipeline] sh 11:32:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:32:04 + grep -v github /etc/ssh/ssh_known_hosts 11:32:04 + [ -e /tmp/ssh_known_hosts ] 11:32:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:32:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:32:04 + sudo tee -a /etc/ssh/ssh_known_hosts 11:32:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:05 11:32:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:05 0.1.4: Pulling from edgex-devops/py-git-semver 11:32:05 b85a868b505f: Pulling fs layer 11:32:05 e2be974225ed: Pulling fs layer 11:32:05 339a4e72a1f5: Pulling fs layer 11:32:05 988bab9f4d93: Pulling fs layer 11:32:05 1469e6f7b9e6: Pulling fs layer 11:32:05 eaf3925da568: Pulling fs layer 11:32:05 bab4dde63d76: Pulling fs layer 11:32:05 bde34c3a00c8: Pulling fs layer 11:32:05 b352a97aabf1: Pulling fs layer 11:32:05 4872d77fe225: Pulling fs layer 11:32:05 5851b861e8e6: Pulling fs layer 11:32:05 1469e6f7b9e6: Waiting 11:32:05 eaf3925da568: Waiting 11:32:05 bab4dde63d76: Waiting 11:32:05 bde34c3a00c8: Waiting 11:32:05 b352a97aabf1: Waiting 11:32:05 988bab9f4d93: Waiting 11:32:05 5851b861e8e6: Waiting 11:32:05 4872d77fe225: Waiting 11:32:05 e2be974225ed: Verifying Checksum 11:32:05 e2be974225ed: Download complete 11:32:05 988bab9f4d93: Verifying Checksum 11:32:05 988bab9f4d93: Download complete 11:32:06 1469e6f7b9e6: Verifying Checksum 11:32:06 1469e6f7b9e6: Download complete 11:32:06 339a4e72a1f5: Verifying Checksum 11:32:06 339a4e72a1f5: Download complete 11:32:06 eaf3925da568: Download complete 11:32:06 bde34c3a00c8: Verifying Checksum 11:32:06 bde34c3a00c8: Download complete 11:32:06 b352a97aabf1: Download complete 11:32:06 4872d77fe225: Verifying Checksum 11:32:06 4872d77fe225: Download complete 11:32:06 5851b861e8e6: Verifying Checksum 11:32:06 5851b861e8e6: Download complete 11:32:06 b85a868b505f: Verifying Checksum 11:32:06 b85a868b505f: Download complete 11:32:06 bab4dde63d76: Verifying Checksum 11:32:06 bab4dde63d76: Download complete 11:32:07 b85a868b505f: Pull complete 11:32:07 e2be974225ed: Pull complete 11:32:08 339a4e72a1f5: Pull complete 11:32:08 988bab9f4d93: Pull complete 11:32:08 1469e6f7b9e6: Pull complete 11:32:08 eaf3925da568: Pull complete 11:32:10 bab4dde63d76: Pull complete 11:32:10 bde34c3a00c8: Pull complete 11:32:10 b352a97aabf1: Pull complete 11:32:10 4872d77fe225: Pull complete 11:32:10 5851b861e8e6: Pull complete 11:32:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:32:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:32:11 prd-ubuntu20.04-docker-8c-8g-141 does not seem to be running inside a container 11:32:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:32:14 $ docker top 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c -eo pid,comm 11:32:14 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). 11:32:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:32:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:32:14 [ssh-agent] Looking for ssh-agent implementation... 11:32:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:32:15 $ docker exec 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c ssh-agent 11:32:15 SSH_AUTH_SOCK=/tmp/ssh-gsKp6zYvLoDT/agent.31 11:32:15 SSH_AGENT_PID=37 11:32:15 Running ssh-add (command line suppressed) 11:32:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_6596953505608836172.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_6596953505608836172.key) 11:32:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:32:15 + git tag --points-at HEAD [Pipeline] } 11:32:15 $ docker exec --env ******** --env ******** 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c ssh-agent -k 11:32:15 unset SSH_AUTH_SOCK; 11:32:15 unset SSH_AGENT_PID; 11:32:15 echo Agent pid 37 killed; 11:32:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:32:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:32:15 [ssh-agent] Looking for ssh-agent implementation... 11:32:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:32:15 $ docker exec 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c ssh-agent 11:32:16 SSH_AUTH_SOCK=/tmp/ssh-mhvxKRrPgouy/agent.69 11:32:16 SSH_AGENT_PID=75 11:32:16 Running ssh-add (command line suppressed) 11:32:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_11680909482500642214.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_11680909482500642214.key) 11:32:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:32:16 + git semver init 11:32:16 2023-03-14 11:32:16,729 [run_init] DEBUG init version:0.0.0 force:False 11:32:16 2023-03-14 11:32:16,730 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver 11:32:16 2023-03-14 11:32:16,730 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver 11:32:16 2023-03-14 11:32:16,730 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379, universal_newlines=False, shell=None, istream=None) 11:32:18 2023-03-14 11:32:17,830 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.git/info/exclude 11:32:18 2023-03-14 11:32:17,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 with force:False 11:32:18 2023-03-14 11:32:17,830 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 11:32:18 2023-03-14 11:32:17,832 [execute] INFO git cat-file --batch-check 11:32:18 2023-03-14 11:32:17,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) 11:32:18 2023-03-14 11:32:17,837 [execute] INFO git cat-file --batch 11:32:18 2023-03-14 11:32:17,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) 11:32:18 2023-03-14 11:32:17,843 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 11:32:18 0.0.0 [Pipeline] } 11:32:18 $ docker exec --env ******** --env ******** 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c ssh-agent -k 11:32:18 unset SSH_AUTH_SOCK; 11:32:18 unset SSH_AGENT_PID; 11:32:18 echo Agent pid 75 killed; 11:32:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:32:18 + git semver [Pipeline] } 11:32:19 $ docker stop --time=1 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c 11:32:20 $ docker rm -f --volumes 292679c9c18a55f8bf35bb8f1f2dbf7103cf3a275be7d14bbbf2a5fe26b16f6c [Pipeline] // withDockerContainer [Pipeline] sh 11:32:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:32:21 Stashed 1 file(s) [Pipeline] echo 11:32:21 [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 11:32:21 provisioning config files... 11:32:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config10190946305112564322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:22 ---> docker-login.sh 11:32:22 nexus3.edgexfoundry.org:10001 11:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:22 Configure a credential helper to remove this warning. See 11:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:22 11:32:22 Login Succeeded 11:32:22 nexus3.edgexfoundry.org:10002 11:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:22 Configure a credential helper to remove this warning. See 11:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:22 11:32:22 Login Succeeded 11:32:22 nexus3.edgexfoundry.org:10003 11:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:22 Configure a credential helper to remove this warning. See 11:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:22 11:32:22 Login Succeeded 11:32:22 nexus3.edgexfoundry.org:10004 11:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:22 Configure a credential helper to remove this warning. See 11:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:22 11:32:22 Login Succeeded 11:32:22 docker.io 11:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:23 Configure a credential helper to remove this warning. See 11:32:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:23 11:32:23 Login Succeeded 11:32:23 ---> docker-login.sh ends [Pipeline] } 11:32:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:32:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:32:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:32:23 ========================================================= 11:32:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:32:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:23 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 11:32:23 Sending build context to Docker daemon 10.81MB 11:32:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 11:32:23 Step 2/10 : FROM ${BASE} AS builder 11:32:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:32:24 63b65145d645: Pulling fs layer 11:32:24 a2d21d5440eb: Pulling fs layer 11:32:24 935e6c44a52c: Pulling fs layer 11:32:24 94cc34f8dd06: Pulling fs layer 11:32:24 30dea6a524f1: Pulling fs layer 11:32:24 94cc34f8dd06: Waiting 11:32:24 30dea6a524f1: Waiting 11:32:24 a2aff8979fd8: Pulling fs layer 11:32:24 6808be2612f2: Pulling fs layer 11:32:24 f25807f1079a: Pulling fs layer 11:32:24 6808be2612f2: Waiting 11:32:24 a2aff8979fd8: Waiting 11:32:24 f25807f1079a: Waiting 11:32:24 a2d21d5440eb: Download complete 11:32:24 94cc34f8dd06: Verifying Checksum 11:32:24 94cc34f8dd06: Download complete 11:32:24 30dea6a524f1: Verifying Checksum 11:32:24 30dea6a524f1: Download complete 11:32:24 63b65145d645: Verifying Checksum 11:32:24 63b65145d645: Download complete 11:32:24 a2aff8979fd8: Verifying Checksum 11:32:24 a2aff8979fd8: Download complete 11:32:24 63b65145d645: Pull complete 11:32:24 a2d21d5440eb: Pull complete 11:32:24 f25807f1079a: Verifying Checksum 11:32:24 f25807f1079a: Download complete 11:32:24 935e6c44a52c: Verifying Checksum 11:32:24 935e6c44a52c: Download complete 11:32:25 6808be2612f2: Verifying Checksum 11:32:25 6808be2612f2: Download complete 11:32:28 935e6c44a52c: Pull complete 11:32:28 94cc34f8dd06: Pull complete 11:32:28 30dea6a524f1: Pull complete 11:32:28 a2aff8979fd8: Pull complete 11:32:31 6808be2612f2: Pull complete 11:32:31 f25807f1079a: Pull complete 11:32:31 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 11:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:32:31 ---> 3b553350e43f 11:32:31 Step 3/10 : ARG MAKE=make build 11:32:36 Still waiting to schedule task 11:32:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:32:36 ---> Running in a64e4a17bc75 11:32:36 Removing intermediate container a64e4a17bc75 11:32:36 ---> b1f82db3a8d2 11:32:36 Step 4/10 : WORKDIR /device-sdk-go 11:32:37 ---> Running in ed14e1b2e59d 11:32:37 Removing intermediate container ed14e1b2e59d 11:32:37 ---> ebb9574c3b79 11:32:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:32:37 ---> Running in b5a4221c0d0c 11:32:37 Removing intermediate container b5a4221c0d0c 11:32:37 ---> 6eff1e6f4836 11:32:37 Step 6/10 : RUN apk add --update --no-cache make git 11:32:37 ---> Running in 775a7218eb57 11:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:32:37 OK: 265 MiB in 53 packages 11:32:38 Removing intermediate container 775a7218eb57 11:32:38 ---> 368c2411ad06 11:32:38 Step 7/10 : COPY go.mod vendor* ./ 11:32:38 ---> e9c38d6d4497 11:32:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:32:38 ---> Running in d9ef66bd8ff8 11:33:10 Removing intermediate container d9ef66bd8ff8 11:33:10 ---> d1013457e2c7 11:33:10 Step 9/10 : COPY . . 11:33:10 ---> 2f579c7e467e 11:33:10 Step 10/10 : RUN ${MAKE} 11:33:10 ---> Running in 9e70dd37e34f 11:33:10 noop 11:33:11 Removing intermediate container 9e70dd37e34f 11:33:11 ---> 27dd4797c384 11:33:11 Successfully built 27dd4797c384 11:33:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:11 + docker inspect -f . ci-base-image-x86_64 11:33:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:11 prd-ubuntu20.04-docker-8c-8g-141 does not seem to be running inside a container 11:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** ci-base-image-x86_64 cat 11:33:12 $ docker top d57c5c7201d4a6bb5ddb0a3ba514ac7ddcd868ddfb2250cfa62a33f9267ae43c -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:12 + go version 11:33:12 go version go1.20.2 linux/amd64 [Pipeline] } 11:33:12 $ docker stop --time=1 d57c5c7201d4a6bb5ddb0a3ba514ac7ddcd868ddfb2250cfa62a33f9267ae43c 11:33:13 $ docker rm -f --volumes d57c5c7201d4a6bb5ddb0a3ba514ac7ddcd868ddfb2250cfa62a33f9267ae43c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:14 + docker inspect -f . ci-base-image-x86_64 11:33:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:14 prd-ubuntu20.04-docker-8c-8g-141 does not seem to be running inside a container 11:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** ci-base-image-x86_64 cat 11:33:15 $ docker top 55b97dfd2ede4cc70c4434444678596c17e95805545b9b00ae96b819eb5edd88 -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] fileExists [Pipeline] sh 11:33:15 + make test 11:33:15 go test -race -coverprofile=coverage.out ./... 11:33:22 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:33:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 11:33:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 78.9% of statements 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:33:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:33:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 75.7% of statements 11:33:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:33:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:33:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:33:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:33:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.093s coverage: 14.9% of statements 11:33:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 65.7% of statements 11:33:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.519s coverage: 89.2% of statements 11:33:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 11:34:03 internal/application/command.go:67:8: ineffectual assignment to err (ineffassign) 11:34:03 res, err = readRegexDeviceResources(device, commandName, queryParams, dic) 11:34:03 ^ 11:34:03 make: *** [Makefile:39: lint] Error 1 [Pipeline] } 11:34:03 $ docker stop --time=1 55b97dfd2ede4cc70c4434444678596c17e95805545b9b00ae96b819eb5edd88 11:34:07 $ docker rm -f --volumes 55b97dfd2ede4cc70c4434444678596c17e95805545b9b00ae96b819eb5edd88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:34:08 11:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:34:09 latest: Pulling from edgex-lftools-log-publisher 11:34:09 5eb5b503b376: Pulling fs layer 11:34:09 5c69ac0246d0: Pulling fs layer 11:34:09 ec43610c2a17: Pulling fs layer 11:34:09 3a2ae6a8a46f: Pulling fs layer 11:34:09 33b1e0a273af: Pulling fs layer 11:34:09 5d3b04190fa2: Pulling fs layer 11:34:09 3a2ae6a8a46f: Waiting 11:34:09 33b1e0a273af: Waiting 11:34:09 5d3b04190fa2: Waiting 11:34:09 2f39f015ded8: Pulling fs layer 11:34:09 2f39f015ded8: Waiting 11:34:09 5c69ac0246d0: Verifying Checksum 11:34:09 5c69ac0246d0: Download complete 11:34:09 3a2ae6a8a46f: Verifying Checksum 11:34:09 3a2ae6a8a46f: Download complete 11:34:09 33b1e0a273af: Verifying Checksum 11:34:09 33b1e0a273af: Download complete 11:34:09 ec43610c2a17: Verifying Checksum 11:34:09 ec43610c2a17: Download complete 11:34:09 5d3b04190fa2: Verifying Checksum 11:34:09 5d3b04190fa2: Download complete 11:34:09 5eb5b503b376: Verifying Checksum 11:34:09 5eb5b503b376: Download complete 11:34:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-142 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] { [Pipeline] ws 11:34:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 11:34:10 The recommended git tool is: git 11:34:10 2f39f015ded8: Verifying Checksum 11:34:10 2f39f015ded8: Download complete 11:34:10 5eb5b503b376: Pull complete 11:34:10 5c69ac0246d0: Pull complete 11:34:11 ec43610c2a17: Pull complete 11:34:11 3a2ae6a8a46f: Pull complete 11:34:11 33b1e0a273af: Pull complete 11:34:11 5d3b04190fa2: Pull complete 11:34:15 using credential edgex-jenkins-ssh 11:34:15 Cloning the remote Git repository 11:34:15 2f39f015ded8: Pull complete 11:34:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:34:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:16 prd-ubuntu20.04-docker-8c-8g-141 does not seem to be running inside a container 11:34:16 $ 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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 11:34:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:34:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 11:34:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:34:15 > git --version # timeout=10 11:34:15 > git --version # 'git version 2.25.1' 11:34:15 using GIT_SSH to set credentials SSH Credentials for GitHub 11:34:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:34:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:34:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:34:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:34:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:34:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:34:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:34:19 Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 11:34:19 Merge succeeded, producing 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 11:34:19 Checking out Revision 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 (PR-1379) 11:34:19 $ docker top 551ce09c45f9d1df7c1e0c27622e07c74f4b734ea561a9e51ba360a2d4b9f6f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:19 > git config core.sparsecheckout # timeout=10 11:34:19 > git checkout -f 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 # timeout=10 11:34:19 > git remote # timeout=10 11:34:19 > git config --get remote.origin.url # timeout=10 11:34:19 using GIT_SSH to set credentials SSH Credentials for GitHub 11:34:19 > git merge 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 11:34:19 > git rev-parse HEAD^{commit} # timeout=10 11:34:19 > git config core.sparsecheckout # timeout=10 11:34:19 > git checkout -f 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 # timeout=10 11:34:20 ---> job-cost.sh 11:34:20 lf-activate-venv: SKIPPING 11:34:20 INFO: No Stack... 11:34:20 INFO: Retrieving Pricing Info for: v3-standard-8 11:34:20 INFO: Archiving Costs [Pipeline] sh 11:34:21 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/cost.csv 11:34:21 + cut -d, -f6 [Pipeline] lock 11:34:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] 11:34:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] did not exist. Created. 11:34:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:34:21 + echo total: 0.2199999988079071 [Pipeline] stash 11:34:21 Stashed 1 file(s) [Pipeline] } 11:34:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:34:21 $ docker stop --time=1 551ce09c45f9d1df7c1e0c27622e07c74f4b734ea561a9e51ba360a2d4b9f6f7 11:34:22 Commit message: "feat: enable regex for executing GET command" 11:34:22 > git --version # timeout=10 11:34:22 > git --version # 'git version 2.25.1' 11:34:22 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 11:34:23 $ docker rm -f --volumes 551ce09c45f9d1df7c1e0c27622e07c74f4b734ea561a9e51ba360a2d4b9f6f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:34:23 11:34:23 GitHub has been notified of this commit’s build result 11:34:23 [Pipeline] // stage [Pipeline] } 11:34:23 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:34:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:34:24 % Total % Received % Xferd Average Speed Time Time Time Current 11:34:24 Dload Upload Total Spent Left Speed 11:34:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 11:34:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:34:25 + sudo tee /etc/docker/daemon.new 11:34:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:34:25 { 11:34:25 "registry-mirrors": [ 11:34:25 "https://nexus3.edgexfoundry.org:10001" 11:34:25 ], 11:34:25 "bip": "10.250.0.254/24", 11:34:25 "hosts": [ 11:34:25 "tcp://0.0.0.0:5555", 11:34:25 "unix:///var/run/docker.sock" 11:34:25 ], 11:34:25 "mtu": 1458, 11:34:25 "selinux-enabled": true, 11:34:25 "seccomp-profile": "/etc/docker/seccomp.json" 11:34:25 } [Pipeline] sh 11:34:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:34:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:34:44 provisioning config files... 11:34:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1891517984910941358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:44 ---> docker-login.sh 11:34:44 nexus3.edgexfoundry.org:10001 11:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:45 Configure a credential helper to remove this warning. See 11:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:45 11:34:45 Login Succeeded 11:34:45 nexus3.edgexfoundry.org:10002 11:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:45 Configure a credential helper to remove this warning. See 11:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:45 11:34:45 Login Succeeded 11:34:45 nexus3.edgexfoundry.org:10003 11:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:45 Configure a credential helper to remove this warning. See 11:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:45 11:34:45 Login Succeeded 11:34:45 nexus3.edgexfoundry.org:10004 11:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:46 Configure a credential helper to remove this warning. See 11:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:46 11:34:46 Login Succeeded 11:34:46 docker.io 11:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:46 Configure a credential helper to remove this warning. See 11:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:46 11:34:46 Login Succeeded 11:34:46 ---> docker-login.sh ends [Pipeline] } 11:34:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:34:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:34:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:34:47 ========================================================= 11:34:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:34:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:47 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 11:34:47 Sending build context to Docker daemon 5.827MB 11:34:48 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 11:34:48 Step 2/10 : FROM ${BASE} AS builder 11:34:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:34:48 af6eaf76a39c: Pulling fs layer 11:34:48 55522c791124: Pulling fs layer 11:34:48 ce5c4a1c91eb: Pulling fs layer 11:34:48 169dfbe0d373: Pulling fs layer 11:34:48 e1ff8fa3b103: Pulling fs layer 11:34:48 52ebb69f0ebf: Pulling fs layer 11:34:48 5abe8eddf0d5: Pulling fs layer 11:34:48 e1ff8fa3b103: Waiting 11:34:48 52ebb69f0ebf: Waiting 11:34:48 5abe8eddf0d5: Waiting 11:34:48 169dfbe0d373: Waiting 11:34:48 55522c791124: Verifying Checksum 11:34:48 55522c791124: Download complete 11:34:48 169dfbe0d373: Verifying Checksum 11:34:48 169dfbe0d373: Download complete 11:34:48 e1ff8fa3b103: Verifying Checksum 11:34:48 e1ff8fa3b103: Download complete 11:34:48 af6eaf76a39c: Verifying Checksum 11:34:49 af6eaf76a39c: Pull complete 11:34:49 5abe8eddf0d5: Verifying Checksum 11:34:49 5abe8eddf0d5: Download complete 11:34:49 55522c791124: Pull complete 11:34:50 ce5c4a1c91eb: Verifying Checksum 11:34:50 ce5c4a1c91eb: Download complete 11:34:50 52ebb69f0ebf: Verifying Checksum 11:34:50 52ebb69f0ebf: Download complete 11:35:00 ce5c4a1c91eb: Pull complete 11:35:00 169dfbe0d373: Pull complete 11:35:01 e1ff8fa3b103: Pull complete 11:35:07 52ebb69f0ebf: Pull complete 11:35:09 5abe8eddf0d5: Pull complete 11:35:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 11:35:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:35:09 ---> 6cb57ee374ae 11:35:09 Step 3/10 : ARG MAKE=make build 11:35:11 ---> Running in 2a162b1db1fb 11:35:11 Removing intermediate container 2a162b1db1fb 11:35:11 ---> be625cba024e 11:35:11 Step 4/10 : WORKDIR /device-sdk-go 11:35:11 ---> Running in c8f1d247d461 11:35:11 Removing intermediate container c8f1d247d461 11:35:11 ---> fbb471b9d90e 11:35:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:35:12 ---> Running in 5c23fd24a97f 11:35:12 Removing intermediate container 5c23fd24a97f 11:35:12 ---> 1cc11408d5dd 11:35:12 Step 6/10 : RUN apk add --update --no-cache make git 11:35:12 ---> Running in 2699606d67e6 11:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:35:14 OK: 263 MiB in 53 packages 11:35:15 Removing intermediate container 2699606d67e6 11:35:15 ---> 97ebb5019f6e 11:35:15 Step 7/10 : COPY go.mod vendor* ./ 11:35:16 ---> c1ed7b464f97 11:35:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:35:16 ---> Running in 5c77cb9bd487 11:36:24 Removing intermediate container 5c77cb9bd487 11:36:24 ---> 7f6be2bdcbe0 11:36:24 Step 9/10 : COPY . . 11:36:24 ---> 387a6bbdfa6c 11:36:24 Step 10/10 : RUN ${MAKE} 11:36:24 ---> Running in 7fcf294daf0d 11:36:24 noop 11:36:24 Removing intermediate container 7fcf294daf0d 11:36:24 ---> 8efe37306efb 11:36:24 Successfully built 8efe37306efb 11:36:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:24 + docker inspect -f . ci-base-image-arm64 11:36:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:25 prd-ubuntu20.04-docker-arm64-4c-16g-142 does not seem to be running inside a container 11:36:25 $ 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 ******** ci-base-image-arm64 cat 11:36:26 $ docker top 1d7c0dd4208514c0766868fc1e0ac2fb578a1298d1300a05ab3fe039d48abd6c -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:27 + go version 11:36:27 go version go1.20.2 linux/arm64 [Pipeline] } 11:36:27 $ docker stop --time=1 1d7c0dd4208514c0766868fc1e0ac2fb578a1298d1300a05ab3fe039d48abd6c 11:36:28 $ docker rm -f --volumes 1d7c0dd4208514c0766868fc1e0ac2fb578a1298d1300a05ab3fe039d48abd6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:29 + docker inspect -f . ci-base-image-arm64 11:36:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:29 prd-ubuntu20.04-docker-arm64-4c-16g-142 does not seem to be running inside a container 11:36:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:36:31 $ docker top e9b1590f1e114b3099f9e65f998623eebff24823fcf889f3f3d9c20cd29426c5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:32 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 11:36:32 + make test 11:36:32 go test -race -coverprofile=coverage.out ./... 11:37:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:39:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:39:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:39:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:39:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:39:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:39:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.214s coverage: 27.6% of statements 11:39:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.279s coverage: 78.9% of statements 11:39:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:39:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:39:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.409s coverage: 86.0% of statements 11:39:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:39:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.427s coverage: 75.7% of statements 11:39:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:39:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:39:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:39:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.242s coverage: 14.9% of statements 11:39:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.400s coverage: 65.7% of statements 11:39:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:39:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.532s coverage: 89.2% of statements 11:39:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements 11:39:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:39:54 GO111MODULE=on go vet ./... 11:42:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:42:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:42:17 ./bin/test-attribution-txt.sh [Pipeline] echo 11:42:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:42:17 $ docker stop --time=1 e9b1590f1e114b3099f9e65f998623eebff24823fcf889f3f3d9c20cd29426c5 11:42:19 $ docker rm -f --volumes e9b1590f1e114b3099f9e65f998623eebff24823fcf889f3f3d9c20cd29426c5 [Pipeline] // withDockerContainer [Pipeline] sh 11:42:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:42:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:42:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:42:22 + ls -al . 11:42:22 total 272 11:42:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 11:36 . 11:42:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 11:34 .. 11:42:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 11:34 .dockerignore 11:42:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 11:34 .git 11:42:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 11:34 .github 11:42:22 -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 11:34 .gitignore 11:42:22 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 11:34 .golangci.yml 11:42:22 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 11:34 CHANGELOG.md 11:42:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 11:34 GOVERNANCE.md 11:42:22 -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 11:34 Jenkinsfile 11:42:22 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 11:34 LICENSE 11:42:22 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 11:34 Makefile 11:42:22 -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 11:34 OWNERS.md 11:42:22 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 11:34 README.md 11:42:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 11:32 VERSION 11:42:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 11:34 bin 11:42:22 -rw-r--r-- 1 jenkins jenkins 109922 Mar 14 11:39 coverage.out 11:42:22 drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 11:34 example 11:42:22 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 11:34 go.mod 11:42:22 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 11:34 go.sum 11:42:22 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 11:34 internal 11:42:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 11:34 openapi 11:42:22 drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 11:34 pkg 11:42:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 11:34 snap 11:42:22 -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 11:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:22 + 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=80aabb1c874f424bf8d06b0cf54dc412a46b3c19 --label arch=arm64 --label version=0.0.0 . 11:42:22 Sending build context to Docker daemon 5.937MB 11:42:23 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 11:42:23 Step 2/23 : FROM ${BASE} AS builder 11:42:23 ---> 8efe37306efb 11:42:23 Step 3/23 : ARG MAKE=make build 11:42:23 ---> Running in 707e54160a15 11:42:23 Removing intermediate container 707e54160a15 11:42:23 ---> c4fc402732bb 11:42:23 Step 4/23 : WORKDIR /device-sdk-go 11:42:23 ---> Running in c0e09daea693 11:42:24 Removing intermediate container c0e09daea693 11:42:24 ---> 4e044aa3ea6b 11:42:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:42:24 ---> Running in 94eda5d0a299 11:42:24 Removing intermediate container 94eda5d0a299 11:42:24 ---> 93f19c6c611b 11:42:24 Step 6/23 : RUN apk add --update --no-cache make git 11:42:24 ---> Running in f004d17e49b8 11:42:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:42:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:42:26 OK: 263 MiB in 53 packages 11:42:27 Removing intermediate container f004d17e49b8 11:42:27 ---> a55cdd7039d0 11:42:27 Step 7/23 : COPY go.mod vendor* ./ 11:42:28 ---> 395581810676 11:42:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:42:28 ---> Running in 7bac661fda55 11:42:31 Removing intermediate container 7bac661fda55 11:42:31 ---> 767199a7c1c8 11:42:31 Step 9/23 : COPY . . 11:42:31 ---> 9a58bc8202da 11:42:31 Step 10/23 : RUN ${MAKE} 11:42:32 ---> Running in e8f6aa2825ba 11:42:33 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:44:39 Removing intermediate container e8f6aa2825ba 11:44:39 ---> fa64ede6acfc 11:44:39 Step 11/23 : FROM alpine:3.16 11:44:39 3.16: Pulling from library/alpine 11:44:39 3760b48202b3: Pulling fs layer 11:44:39 3760b48202b3: Download complete 11:44:39 3760b48202b3: Pull complete 11:44:39 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 11:44:39 Status: Downloaded newer image for alpine:3.16 11:44:39 ---> 4c81e5bf8899 11:44:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:44:39 ---> Running in 82e65c0c6f5c 11:44:39 Removing intermediate container 82e65c0c6f5c 11:44:39 ---> b2da22dd13c8 11:44:39 Step 13/23 : RUN apk add --update --no-cache 11:44:39 ---> Running in 6cf78f7d6aa1 11:44:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:44:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:44:41 OK: 5 MiB in 14 packages 11:44:45 Removing intermediate container 6cf78f7d6aa1 11:44:45 ---> 816e883018d3 11:44:45 Step 14/23 : WORKDIR / 11:44:45 ---> Running in 950b91c4de7a 11:44:45 Removing intermediate container 950b91c4de7a 11:44:45 ---> cf9a91b209bd 11:44:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:44:45 ---> fab94b7ff554 11:44:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:44:47 ---> 2151d4ac9a8e 11:44:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:44:47 ---> 4593c1eb30e0 11:44:47 Step 18/23 : EXPOSE 59999 11:44:47 ---> Running in 5592b3f9cffb 11:44:47 Removing intermediate container 5592b3f9cffb 11:44:47 ---> 87a2e2d5477c 11:44:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:44:47 ---> Running in cef3e711d8ef 11:44:48 Removing intermediate container cef3e711d8ef 11:44:48 ---> 738738ea2892 11:44:48 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:44:48 ---> Running in 03236be26877 11:44:48 Removing intermediate container 03236be26877 11:44:48 ---> 6f8c78ba7313 11:44:48 Step 21/23 : LABEL arch=arm64 11:44:48 ---> Running in 857e2fafb0ce 11:44:48 Removing intermediate container 857e2fafb0ce 11:44:48 ---> 8babeec4d9b6 11:44:48 Step 22/23 : LABEL git_sha=80aabb1c874f424bf8d06b0cf54dc412a46b3c19 11:44:48 ---> Running in 42423ff46c84 11:44:49 Removing intermediate container 42423ff46c84 11:44:49 ---> bf3cfa0f4a4f 11:44:49 Step 23/23 : LABEL version=0.0.0 11:44:49 ---> Running in a86d5f296d4d 11:44:49 Removing intermediate container a86d5f296d4d 11:44:49 ---> 71bc3758d3f9 11:44:49 [Warning] One or more build-args [ARCH] were not consumed 11:44:49 Successfully built 71bc3758d3f9 11:44:49 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 11:44:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:44:50 11:44:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:44:50 arm64: Pulling from edgex-lftools-log-publisher 11:44:50 8998bd30e6a1: Pulling fs layer 11:44:50 04944245beec: Pulling fs layer 11:44:50 699f458cf7ca: Pulling fs layer 11:44:50 765212b225bb: Pulling fs layer 11:44:50 f23df028b6ca: Pulling fs layer 11:44:50 d65c8cfc05b1: Pulling fs layer 11:44:50 2437ff75d9bd: Pulling fs layer 11:44:50 f23df028b6ca: Waiting 11:44:50 d65c8cfc05b1: Waiting 11:44:50 2437ff75d9bd: Waiting 11:44:50 765212b225bb: Waiting 11:44:51 04944245beec: Verifying Checksum 11:44:51 04944245beec: Download complete 11:44:51 765212b225bb: Verifying Checksum 11:44:51 765212b225bb: Download complete 11:44:51 f23df028b6ca: Verifying Checksum 11:44:51 f23df028b6ca: Download complete 11:44:51 d65c8cfc05b1: Verifying Checksum 11:44:51 d65c8cfc05b1: Download complete 11:44:51 699f458cf7ca: Verifying Checksum 11:44:51 699f458cf7ca: Download complete 11:44:51 8998bd30e6a1: Verifying Checksum 11:44:51 8998bd30e6a1: Download complete 11:44:53 2437ff75d9bd: Verifying Checksum 11:44:53 2437ff75d9bd: Download complete 11:44:55 8998bd30e6a1: Pull complete 11:44:55 04944245beec: Pull complete 11:44:57 699f458cf7ca: Pull complete 11:44:57 765212b225bb: Pull complete 11:44:57 f23df028b6ca: Pull complete 11:44:58 d65c8cfc05b1: Pull complete 11:45:13 2437ff75d9bd: Pull complete 11:45:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:45:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:13 prd-ubuntu20.04-docker-arm64-4c-16g-142 does not seem to be running inside a container 11:45:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:45:16 $ docker top f2f63c96ae3b710432290e612877d5323f645e72419da8c20ab91637ae1dbf37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:45:16 ---> job-cost.sh 11:45:17 lf-activate-venv: SKIPPING 11:45:17 INFO: No Stack... 11:45:17 INFO: Retrieving Pricing Info for: v3-standard-4 11:45:18 INFO: Archiving Costs [Pipeline] sh 11:45:19 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 11:45:19 + cut -d, -f6 [Pipeline] lock 11:45:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] 11:45:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] did not exist. Created. 11:45:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:45:19 /w/workspace/device-sdk-go/1@tmp/durable-d24fde2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:45:20 + echo total: 0.10999999940395355 [Pipeline] stash 11:45:20 Warning: overwriting stash ‘stack-cost’ 11:45:20 Stashed 1 file(s) [Pipeline] } 11:45:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:45:20 $ docker stop --time=1 f2f63c96ae3b710432290e612877d5323f645e72419da8c20ab91637ae1dbf37 11:45:21 $ docker rm -f --volumes f2f63c96ae3b710432290e612877d5323f645e72419da8c20ab91637ae1dbf37 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:45:24 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives ] 11:45:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives 11:45:24 total 16 11:45:24 drwxr-xr-x 3 root root 4096 Mar 14 11:34 . 11:45:24 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 11:34 .. 11:45:24 drwxr-xr-x 2 root root 4096 Mar 14 11:34 cost 11:45:24 -rw-r--r-- 1 root root 86 Mar 14 11:34 cost.csv 11:45:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives 11:45:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives 11:45:24 total 16 11:45:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 11:34 . 11:45:24 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 11:34 .. 11:45:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 11:34 cost 11:45:24 -rw-r--r-- 1 jenkins jenkins 86 Mar 14 11:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:45:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:45:25 ---> package-listing.sh 11:45:25 ++ facter osfamily 11:45:25 ++ tr '[:upper:]' '[:lower:]' 11:45:25 + OS_FAMILY=debian 11:45:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1379 11:45:25 + START_PACKAGES=/tmp/packages_start.txt 11:45:25 + END_PACKAGES=/tmp/packages_end.txt 11:45:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:45:25 + PACKAGES=/tmp/packages_start.txt 11:45:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' 11:45:25 + PACKAGES=/tmp/packages_end.txt 11:45:25 + case "${OS_FAMILY}" in 11:45:25 + dpkg -l 11:45:25 + grep '^ii' 11:45:25 + '[' -f /tmp/packages_start.txt ']' 11:45:25 + '[' -f /tmp/packages_end.txt ']' 11:45:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:45:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' 11:45:25 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ 11:45:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [Pipeline] echo 11:45:25 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-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:45:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:26 prd-ubuntu20.04-docker-8c-8g-141 does not seem to be running inside a container 11:45:26 $ 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-1379/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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:45:26 $ docker top b3953b4fb6b0e30f87503caf528380533e27ecc3a7141df36d68080f34a43d85 -eo pid,comm [Pipeline] { [Pipeline] sh 11:45:27 + touch /tmp/pre-build-complete [Pipeline] sh 11:45:27 + mkdir -p /var/log/sysstat [Pipeline] sh 11:45:27 + ls /var/log/sa-host 11:45:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:45:28 provisioning config files... 11:45:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config17911836199390557257tmp [Pipeline] { [Pipeline] echo 11:45:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:45:28 ---> create-netrc.sh [Pipeline] } 11:45:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:45:28 ---> python-tools-install.sh [Pipeline] echo 11:45:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:45:29 ---> sudo-logs.sh 11:45:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:45:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:45:29 ---> job-cost.sh 11:45:29 lf-activate-venv: SKIPPING 11:45:29 DEBUG: total: 0.2199999988079071 11:45:29 INFO: Retrieving Stack Cost... 11:45:29 INFO: Retrieving Pricing Info for: v3-standard-8 11:45:30 INFO: Archiving Costs [Pipeline] echo 11:45:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:45:30 ---> logs-deploy.sh 11:45:30 lf-activate-venv: SKIPPING 11:45:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1379/1 11:45:30 INFO: archiving workspace using pattern(s): 11:45:31 Archives upload complete. 11:45:31 INFO: archiving logs to Nexus